API reference
ai-sdk-harness-workspace
The options of a workspace and of its sources, the shape of a session's checkouts, generated from the source.
createWorkspace(options)
Returns a Workspace: the repository of source checked out for each session, in its working directory.
Prop
Type
Or several repositories, each checked out in a directory of the session's working directory named after its key.
Prop
Type
Prop
Type
Workspace
Prop
Type
WorkspaceSession
The checkouts of a live session: workspace.session(id), or workspace.fromSandbox(sandbox) in a tool. With one repository, it has its base as well (SingleRepositoryWorkspaceSession).
Prop
Type
WorkspaceCheckout
The checkout of one repository: session.repository(name), or one of session.repositories.
Prop
Type
Prop
Type
Prop
Type
Sources
gitRepository(options)
Prop
Type
Prop
Type
hostRepository(options)
Prop
Type
sandboxRepository(options)
Prop
Type
WorkspaceSource
Write one for another origin of the code.
Prop
Type
Prop
Type