NoSlotWorkspaceOptions
Type, in @jr2/orchestrator/src/workspace.ts. The signature of an export, or a type that it names, names this type. The Authoring surface page lists each export. This type is not an export of @jr2/orchestrator, so a workflow module does not import it by name.
type NoSlotWorkspaceOptions<TSchema extends z.ZodObject> = Omit<SandboxOptions<never>, "repos"> & {
repos?: never;
input: TSchema;
spec?: (args: { input: WithoutEmptyIndex<z.infer<TSchema>> & HostInjectedInput }) => NoSlotSpec;
};The options of a workspace() with no Repo Slot that declares the input that starts a run. repos is left out, and spec is optional.
Fields: each field of SandboxOptions, except repos, and these:
repos(optional):neverNot present: the Workspace has no Repo Slot. Its Agents work in
/work.input:TSchemaThe input that starts a run, as a
z.object, as inWorkspaceOptions.spec(optional):(args: { input: WithoutEmptyIndex<z.infer<TSchema>> & HostInjectedInput; }) => NoSlotSpecA function from the run input to the Workspace's
NoSlotSpec: onlyworkGroup. Default: noworkGroup.