Skip to content

craft-hub / StartAgentTaskInput

Interface: StartAgentTaskInput ​

Defined in: packages/craft-hub/src/agent-tasks.ts:13

Input accepted by a host-provided agent task adapter.

Extended by ​

Properties ​

actionId? ​

optional actionId?: "improve-project-config"

Defined in: packages/craft-hub/src/agent-tasks.ts:20


capabilityId? ​

optional capabilityId?: string

Defined in: packages/craft-hub/src/agent-tasks.ts:19


parentTaskId? ​

optional parentTaskId?: string

Defined in: packages/craft-hub/src/agent-tasks.ts:22


primaryProjectId ​

primaryProjectId: string

Defined in: packages/craft-hub/src/agent-tasks.ts:16


primaryProjectRelativePath? ​

optional primaryProjectRelativePath?: string

Defined in: packages/craft-hub/src/agent-tasks.ts:18

Project-relative package selected as the task working directory.


projectIds ​

projectIds: string[]

Defined in: packages/craft-hub/src/agent-tasks.ts:15


prompt ​

prompt: string

Defined in: packages/craft-hub/src/agent-tasks.ts:14


sandboxMode? ​

optional sandboxMode?: "read-only" | "workspace-write"

Defined in: packages/craft-hub/src/agent-tasks.ts:24

Least filesystem access the host adapter should grant to this task.


workspaceId? ​

optional workspaceId?: string

Defined in: packages/craft-hub/src/agent-tasks.ts:21

Released under the MIT License.