Skip to content

PermissiveNoSlotWorkspaceOptions ​

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.

ts
type PermissiveNoSlotWorkspaceOptions<TInput = unknown> = Omit<SandboxOptions<never>, "repos"> & {
  repos?: never;
  input?: never;
  spec?: (args: { input: TInput }) => NoSlotSpec;
};

The options of a workspace() with no Repo Slot and no input: it starts with any input.

Fields: each field of SandboxOptions, except repos, and these:

  • repos (optional): never

    Not present: the Workspace has no Repo Slot. Its Agents work in /work.

  • input (optional): never

    Not present: a workspace() without input starts with any input.

  • spec (optional): (args: { input: TInput; }) => NoSlotSpec

    A function from the input to the Workspace's NoSlotSpec: only workGroup. Default: no workGroup.

The docs of Kit version 0.5.1. Each page is also at its .md URL.