kanban 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/api-contract.d.ts +6 -0
- package/dist/core/api-contract.d.ts.map +1 -1
- package/dist/core/api-contract.js +5 -0
- package/dist/core/api-contract.js.map +1 -1
- package/dist/prompts/append-system-prompt.d.ts.map +1 -1
- package/dist/prompts/append-system-prompt.js +1 -0
- package/dist/prompts/append-system-prompt.js.map +1 -1
- package/dist/server/runtime-server.d.ts.map +1 -1
- package/dist/server/runtime-server.js +27 -2
- package/dist/server/runtime-server.js.map +1 -1
- package/dist/terminal/agent-registry.d.ts.map +1 -1
- package/dist/terminal/agent-registry.js +9 -0
- package/dist/terminal/agent-registry.js.map +1 -1
- package/dist/trpc/app-router.d.ts +15 -2
- package/dist/trpc/app-router.d.ts.map +1 -1
- package/dist/trpc/app-router.js +9 -2
- package/dist/trpc/app-router.js.map +1 -1
- package/dist/trpc/runtime-api.d.ts +2 -0
- package/dist/trpc/runtime-api.d.ts.map +1 -1
- package/dist/trpc/runtime-api.js +43 -13
- package/dist/trpc/runtime-api.js.map +1 -1
- package/dist/web-ui/assets/{index-KLXQMO6O.js → index-Db3gt6Wf.js} +14206 -14127
- package/dist/web-ui/assets/{index-DfDz587V.css → index-PutNB71C.css} +11 -0
- package/dist/web-ui/index.html +2 -2
- package/package.json +1 -1
|
@@ -1826,6 +1826,11 @@ export declare const runtimeCommandRunResponseSchema: z.ZodObject<{
|
|
|
1826
1826
|
durationMs: z.ZodNumber;
|
|
1827
1827
|
}, z.core.$strip>;
|
|
1828
1828
|
export type RuntimeCommandRunResponse = z.infer<typeof runtimeCommandRunResponseSchema>;
|
|
1829
|
+
export declare const runtimeDebugResetAllStateResponseSchema: z.ZodObject<{
|
|
1830
|
+
ok: z.ZodBoolean;
|
|
1831
|
+
clearedPaths: z.ZodArray<z.ZodString>;
|
|
1832
|
+
}, z.core.$strip>;
|
|
1833
|
+
export type RuntimeDebugResetAllStateResponse = z.infer<typeof runtimeDebugResetAllStateResponseSchema>;
|
|
1829
1834
|
export declare const runtimeAgentDefinitionSchema: z.ZodObject<{
|
|
1830
1835
|
id: z.ZodEnum<{
|
|
1831
1836
|
claude: "claude";
|
|
@@ -1854,6 +1859,7 @@ export declare const runtimeConfigResponseSchema: z.ZodObject<{
|
|
|
1854
1859
|
}>;
|
|
1855
1860
|
selectedShortcutLabel: z.ZodNullable<z.ZodString>;
|
|
1856
1861
|
agentAutonomousModeEnabled: z.ZodBoolean;
|
|
1862
|
+
debugModeEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1857
1863
|
effectiveCommand: z.ZodNullable<z.ZodString>;
|
|
1858
1864
|
globalConfigPath: z.ZodString;
|
|
1859
1865
|
projectConfigPath: z.ZodNullable<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-contract.d.ts","sourceRoot":"","sources":["../../src/core/api-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gCAAgC;;;;;;;;EAQ3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;iBAQ3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,oCAAoC;;;;;;;iBAI/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,iCAAiC;;;EAAwC,CAAC;AACvF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,eAAO,MAAM,qCAAqC;;;;;;;;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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -447,6 +447,10 @@ export const runtimeCommandRunResponseSchema = z.object({
|
|
|
447
447
|
combinedOutput: z.string(),
|
|
448
448
|
durationMs: z.number(),
|
|
449
449
|
});
|
|
450
|
+
export const runtimeDebugResetAllStateResponseSchema = z.object({
|
|
451
|
+
ok: z.boolean(),
|
|
452
|
+
clearedPaths: z.array(z.string()),
|
|
453
|
+
});
|
|
450
454
|
export const runtimeAgentDefinitionSchema = z.object({
|
|
451
455
|
id: runtimeAgentIdSchema,
|
|
452
456
|
label: z.string(),
|
|
@@ -460,6 +464,7 @@ export const runtimeConfigResponseSchema = z.object({
|
|
|
460
464
|
selectedAgentId: runtimeAgentIdSchema,
|
|
461
465
|
selectedShortcutLabel: z.string().nullable(),
|
|
462
466
|
agentAutonomousModeEnabled: z.boolean(),
|
|
467
|
+
debugModeEnabled: z.boolean().optional(),
|
|
463
468
|
effectiveCommand: z.string().nullable(),
|
|
464
469
|
globalConfigPath: z.string(),
|
|
465
470
|
projectConfigPath: z.string().nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-contract.js","sourceRoot":"","sources":["../../src/core/api-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,UAAU;IACV,OAAO;IACP,SAAS;IACT,SAAS;IACT,QAAQ;IACR,WAAW;IACX,SAAS;CACT,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB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n\t\"copied\",\n\t\"untracked\",\n\t\"unknown\",\n]);\nexport type RuntimeWorkspaceFileStatus = z.infer<typeof runtimeWorkspaceFileStatusSchema>;\n\nexport const runtimeWorkspaceFileChangeSchema = z.object({\n\tpath: z.string(),\n\tpreviousPath: z.string().optional(),\n\tstatus: runtimeWorkspaceFileStatusSchema,\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\toldText: z.string().nullable(),\n\tnewText: z.string().nullable(),\n});\nexport type RuntimeWorkspaceFileChange = z.infer<typeof runtimeWorkspaceFileChangeSchema>;\n\nexport const runtimeWorkspaceChangesRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n\tmode: z.enum([\"working_copy\", \"last_turn\"]).optional(),\n});\nexport type RuntimeWorkspaceChangesRequest = z.infer<typeof runtimeWorkspaceChangesRequestSchema>;\n\nexport const runtimeWorkspaceChangesModeSchema = z.enum([\"working_copy\", \"last_turn\"]);\nexport type RuntimeWorkspaceChangesMode = z.infer<typeof runtimeWorkspaceChangesModeSchema>;\n\nexport const runtimeWorkspaceChangesResponseSchema = z.object({\n\trepoRoot: z.string(),\n\tgeneratedAt: z.number(),\n\tfiles: z.array(runtimeWorkspaceFileChangeSchema),\n});\nexport type RuntimeWorkspaceChangesResponse = z.infer<typeof runtimeWorkspaceChangesResponseSchema>;\n\nexport const runtimeWorkspaceFileSearchRequestSchema = z.object({\n\tquery: z.string(),\n\tlimit: z.number().int().positive().optional(),\n});\nexport type RuntimeWorkspaceFileSearchRequest = z.infer<typeof runtimeWorkspaceFileSearchRequestSchema>;\n\nexport const runtimeWorkspaceFileSearchMatchSchema = z.object({\n\tpath: z.string(),\n\tname: z.string(),\n\tchanged: z.boolean(),\n});\nexport type RuntimeWorkspaceFileSearchMatch = z.infer<typeof runtimeWorkspaceFileSearchMatchSchema>;\n\nexport const runtimeWorkspaceFileSearchResponseSchema = z.object({\n\tquery: z.string(),\n\tfiles: z.array(runtimeWorkspaceFileSearchMatchSchema),\n});\nexport type RuntimeWorkspaceFileSearchResponse = z.infer<typeof runtimeWorkspaceFileSearchResponseSchema>;\n\nexport const runtimeAgentIdSchema = z.enum([\"claude\", \"codex\", \"gemini\", \"opencode\", \"droid\", \"cline\"]);\nexport type RuntimeAgentId = z.infer<typeof runtimeAgentIdSchema>;\n\nexport const runtimeBoardColumnIdSchema = z.enum([\"backlog\", \"in_progress\", \"review\", \"trash\"]);\nexport type RuntimeBoardColumnId = z.infer<typeof runtimeBoardColumnIdSchema>;\n\nexport const runtimeTaskAutoReviewModeSchema = z.enum([\"commit\", \"pr\", \"move_to_trash\"]);\nexport type RuntimeTaskAutoReviewMode = z.infer<typeof runtimeTaskAutoReviewModeSchema>;\n\nexport const runtimeTaskImageSchema = z.object({\n\tid: z.string(),\n\tdata: z.string(),\n\tmimeType: z.string(),\n\tname: z.string().optional(),\n});\nexport type RuntimeTaskImage = z.infer<typeof runtimeTaskImageSchema>;\n\nexport const runtimeBoardCardSchema = z.object({\n\tid: z.string(),\n\tprompt: z.string(),\n\tstartInPlanMode: z.boolean(),\n\tautoReviewEnabled: z.boolean().optional(),\n\tautoReviewMode: runtimeTaskAutoReviewModeSchema.optional(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tbaseRef: z.string(),\n\tcreatedAt: z.number(),\n\tupdatedAt: z.number(),\n});\nexport type RuntimeBoardCard = z.infer<typeof runtimeBoardCardSchema>;\n\nexport const runtimeBoardColumnSchema = z.object({\n\tid: runtimeBoardColumnIdSchema,\n\ttitle: z.string(),\n\tcards: z.array(runtimeBoardCardSchema),\n});\nexport type RuntimeBoardColumn = z.infer<typeof runtimeBoardColumnSchema>;\n\nexport const runtimeBoardDependencySchema = z.object({\n\tid: z.string(),\n\tfromTaskId: z.string(),\n\ttoTaskId: z.string(),\n\tcreatedAt: z.number(),\n});\nexport type RuntimeBoardDependency = z.infer<typeof runtimeBoardDependencySchema>;\n\nexport const runtimeBoardDataSchema = z.object({\n\tcolumns: z.array(runtimeBoardColumnSchema),\n\tdependencies: z.array(runtimeBoardDependencySchema).default([]),\n});\nexport type RuntimeBoardData = z.infer<typeof runtimeBoardDataSchema>;\n\nexport const runtimeGitRepositoryInfoSchema = z.object({\n\tcurrentBranch: z.string().nullable(),\n\tdefaultBranch: z.string().nullable(),\n\tbranches: z.array(z.string()),\n});\nexport type RuntimeGitRepositoryInfo = z.infer<typeof runtimeGitRepositoryInfoSchema>;\n\nexport const runtimeGitSyncActionSchema = z.enum([\"fetch\", \"pull\", \"push\"]);\nexport type RuntimeGitSyncAction = z.infer<typeof runtimeGitSyncActionSchema>;\n\nexport const runtimeGitSyncSummarySchema = z.object({\n\tcurrentBranch: z.string().nullable(),\n\tupstreamBranch: z.string().nullable(),\n\tchangedFiles: z.number(),\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\taheadCount: z.number(),\n\tbehindCount: z.number(),\n});\nexport type RuntimeGitSyncSummary = z.infer<typeof runtimeGitSyncSummarySchema>;\n\nexport const runtimeGitSummaryResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeGitSyncSummarySchema,\n\terror: z.string().optional(),\n});\nexport type RuntimeGitSummaryResponse = z.infer<typeof runtimeGitSummaryResponseSchema>;\n\nexport const runtimeGitSyncResponseSchema = z.object({\n\tok: z.boolean(),\n\taction: runtimeGitSyncActionSchema,\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitSyncResponse = z.infer<typeof runtimeGitSyncResponseSchema>;\n\nexport const runtimeGitCheckoutRequestSchema = z.object({\n\tbranch: z.string(),\n});\nexport type RuntimeGitCheckoutRequest = z.infer<typeof runtimeGitCheckoutRequestSchema>;\n\nexport const runtimeGitCheckoutResponseSchema = z.object({\n\tok: z.boolean(),\n\tbranch: z.string(),\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitCheckoutResponse = z.infer<typeof runtimeGitCheckoutResponseSchema>;\n\nexport const runtimeGitDiscardResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitDiscardResponse = z.infer<typeof runtimeGitDiscardResponseSchema>;\n\nexport const runtimeTaskSessionStateSchema = z.enum([\"idle\", \"running\", \"awaiting_review\", \"failed\", \"interrupted\"]);\nexport type RuntimeTaskSessionState = z.infer<typeof runtimeTaskSessionStateSchema>;\n\nexport const runtimeTaskSessionModeSchema = z.enum([\"act\", \"plan\"]);\nexport type RuntimeTaskSessionMode = z.infer<typeof runtimeTaskSessionModeSchema>;\n\nexport const runtimeTaskSessionReviewReasonSchema = z\n\t.enum([\"attention\", \"exit\", \"error\", \"interrupted\", \"hook\"])\n\t.nullable();\nexport type RuntimeTaskSessionReviewReason = z.infer<typeof runtimeTaskSessionReviewReasonSchema>;\n\nexport const runtimeTaskHookActivitySchema = z.object({\n\tactivityText: z.string().nullable().default(null),\n\ttoolName: z.string().nullable().default(null),\n\ttoolInputSummary: z.string().nullable().default(null),\n\tfinalMessage: z.string().nullable().default(null),\n\thookEventName: z.string().nullable().default(null),\n\tnotificationType: z.string().nullable().default(null),\n\tsource: z.string().nullable().default(null),\n});\nexport type RuntimeTaskHookActivity = z.infer<typeof runtimeTaskHookActivitySchema>;\n\nexport const runtimeTaskTurnCheckpointSchema = z.object({\n\tturn: z.number().int().positive(),\n\tref: z.string(),\n\tcommit: z.string(),\n\tcreatedAt: z.number(),\n});\nexport type RuntimeTaskTurnCheckpoint = z.infer<typeof runtimeTaskTurnCheckpointSchema>;\n\nexport const runtimeTaskSessionSummarySchema = z.object({\n\ttaskId: z.string(),\n\tstate: runtimeTaskSessionStateSchema,\n\tagentId: runtimeAgentIdSchema.nullable(),\n\tworkspacePath: z.string().nullable(),\n\tpid: z.number().nullable(),\n\tstartedAt: z.number().nullable(),\n\tupdatedAt: z.number(),\n\tlastOutputAt: z.number().nullable(),\n\treviewReason: runtimeTaskSessionReviewReasonSchema,\n\texitCode: z.number().nullable(),\n\tlastHookAt: z.number().nullable().default(null),\n\tlatestHookActivity: runtimeTaskHookActivitySchema.nullable().default(null),\n\twarningMessage: z.string().nullable().optional(),\n\tlatestTurnCheckpoint: runtimeTaskTurnCheckpointSchema.nullable().optional(),\n\tpreviousTurnCheckpoint: runtimeTaskTurnCheckpointSchema.nullable().optional(),\n});\nexport type RuntimeTaskSessionSummary = z.infer<typeof runtimeTaskSessionSummarySchema>;\n\nexport const runtimeWorkspaceStateResponseSchema = z.object({\n\trepoPath: z.string(),\n\tstatePath: z.string(),\n\tgit: runtimeGitRepositoryInfoSchema,\n\tboard: runtimeBoardDataSchema,\n\tsessions: z.record(z.string(), runtimeTaskSessionSummarySchema),\n\trevision: z.number(),\n});\nexport type RuntimeWorkspaceStateResponse = z.infer<typeof runtimeWorkspaceStateResponseSchema>;\n\nexport const runtimeWorkspaceStateSaveRequestSchema = z.object({\n\tboard: runtimeBoardDataSchema,\n\tsessions: z.record(z.string(), runtimeTaskSessionSummarySchema),\n\texpectedRevision: z.number().int().nonnegative().optional(),\n});\nexport type RuntimeWorkspaceStateSaveRequest = z.infer<typeof runtimeWorkspaceStateSaveRequestSchema>;\n\nexport const runtimeWorkspaceStateConflictResponseSchema = z.object({\n\terror: z.string(),\n\tcurrentRevision: z.number(),\n});\nexport type RuntimeWorkspaceStateConflictResponse = z.infer<typeof runtimeWorkspaceStateConflictResponseSchema>;\n\nexport const runtimeWorkspaceStateNotifyResponseSchema = z.object({\n\tok: z.boolean(),\n});\nexport type RuntimeWorkspaceStateNotifyResponse = z.infer<typeof runtimeWorkspaceStateNotifyResponseSchema>;\n\nexport const runtimeProjectTaskCountsSchema = z.object({\n\tbacklog: z.number(),\n\tin_progress: z.number(),\n\treview: z.number(),\n\ttrash: z.number(),\n});\nexport type RuntimeProjectTaskCounts = z.infer<typeof runtimeProjectTaskCountsSchema>;\n\nexport const runtimeProjectSummarySchema = z.object({\n\tid: z.string(),\n\tpath: z.string(),\n\tname: z.string(),\n\ttaskCounts: runtimeProjectTaskCountsSchema,\n});\nexport type RuntimeProjectSummary = z.infer<typeof runtimeProjectSummarySchema>;\n\nexport const runtimeTaskWorkspaceMetadataSchema = z.object({\n\ttaskId: z.string(),\n\tpath: z.string(),\n\texists: z.boolean(),\n\tbaseRef: z.string(),\n\tbranch: z.string().nullable(),\n\tisDetached: z.boolean(),\n\theadCommit: z.string().nullable(),\n\tchangedFiles: z.number().nullable(),\n\tadditions: z.number().nullable(),\n\tdeletions: z.number().nullable(),\n\tstateVersion: z.number().int().nonnegative(),\n});\nexport type RuntimeTaskWorkspaceMetadata = z.infer<typeof runtimeTaskWorkspaceMetadataSchema>;\n\nexport const runtimeWorkspaceMetadataSchema = z.object({\n\thomeGitSummary: runtimeGitSyncSummarySchema.nullable(),\n\thomeGitStateVersion: z.number().int().nonnegative(),\n\ttaskWorkspaces: z.array(runtimeTaskWorkspaceMetadataSchema),\n});\nexport type RuntimeWorkspaceMetadata = z.infer<typeof runtimeWorkspaceMetadataSchema>;\n\nexport const runtimeStateStreamSnapshotMessageSchema = z.object({\n\ttype: z.literal(\"snapshot\"),\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n\tworkspaceState: runtimeWorkspaceStateResponseSchema.nullable(),\n\tworkspaceMetadata: runtimeWorkspaceMetadataSchema.nullable(),\n});\nexport type RuntimeStateStreamSnapshotMessage = z.infer<typeof runtimeStateStreamSnapshotMessageSchema>;\n\nexport const runtimeStateStreamWorkspaceStateMessageSchema = z.object({\n\ttype: z.literal(\"workspace_state_updated\"),\n\tworkspaceId: z.string(),\n\tworkspaceState: runtimeWorkspaceStateResponseSchema,\n});\nexport type RuntimeStateStreamWorkspaceStateMessage = z.infer<typeof runtimeStateStreamWorkspaceStateMessageSchema>;\n\nexport const runtimeStateStreamTaskSessionsMessageSchema = z.object({\n\ttype: z.literal(\"task_sessions_updated\"),\n\tworkspaceId: z.string(),\n\tsummaries: z.array(runtimeTaskSessionSummarySchema),\n});\nexport type RuntimeStateStreamTaskSessionsMessage = z.infer<typeof runtimeStateStreamTaskSessionsMessageSchema>;\n\nexport const runtimeStateStreamProjectsMessageSchema = z.object({\n\ttype: z.literal(\"projects_updated\"),\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n});\nexport type RuntimeStateStreamProjectsMessage = z.infer<typeof runtimeStateStreamProjectsMessageSchema>;\n\nexport const runtimeStateStreamWorkspaceMetadataMessageSchema = z.object({\n\ttype: z.literal(\"workspace_metadata_updated\"),\n\tworkspaceId: z.string(),\n\tworkspaceMetadata: runtimeWorkspaceMetadataSchema,\n});\nexport type RuntimeStateStreamWorkspaceMetadataMessage = z.infer<\n\ttypeof runtimeStateStreamWorkspaceMetadataMessageSchema\n>;\n\nexport const runtimeStateStreamTaskReadyForReviewMessageSchema = z.object({\n\ttype: z.literal(\"task_ready_for_review\"),\n\tworkspaceId: z.string(),\n\ttaskId: z.string(),\n\ttriggeredAt: z.number(),\n});\nexport type RuntimeStateStreamTaskReadyForReviewMessage = z.infer<\n\ttypeof runtimeStateStreamTaskReadyForReviewMessageSchema\n>;\n\nexport const runtimeStateStreamTaskChatMessageSchema = z.object({\n\ttype: z.literal(\"task_chat_message\"),\n\tworkspaceId: z.string(),\n\ttaskId: z.string(),\n\tmessage: z.lazy(() => runtimeTaskChatMessageSchema),\n});\nexport type RuntimeStateStreamTaskChatMessage = z.infer<typeof runtimeStateStreamTaskChatMessageSchema>;\n\nexport const runtimeStateStreamErrorMessageSchema = z.object({\n\ttype: z.literal(\"error\"),\n\tmessage: z.string(),\n});\nexport type RuntimeStateStreamErrorMessage = z.infer<typeof runtimeStateStreamErrorMessageSchema>;\n\nexport const runtimeStateStreamMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeStateStreamSnapshotMessageSchema,\n\truntimeStateStreamWorkspaceStateMessageSchema,\n\truntimeStateStreamTaskSessionsMessageSchema,\n\truntimeStateStreamProjectsMessageSchema,\n\truntimeStateStreamWorkspaceMetadataMessageSchema,\n\truntimeStateStreamTaskReadyForReviewMessageSchema,\n\truntimeStateStreamTaskChatMessageSchema,\n\truntimeStateStreamErrorMessageSchema,\n]);\nexport type RuntimeStateStreamMessage = z.infer<typeof runtimeStateStreamMessageSchema>;\n\nexport const runtimeProjectsResponseSchema = z.object({\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n});\nexport type RuntimeProjectsResponse = z.infer<typeof runtimeProjectsResponseSchema>;\n\nexport const runtimeProjectAddRequestSchema = z.object({\n\tpath: z.string(),\n\tinitializeGit: z.boolean().optional(),\n});\nexport type RuntimeProjectAddRequest = z.infer<typeof runtimeProjectAddRequestSchema>;\n\nexport const runtimeProjectAddResponseSchema = z.object({\n\tok: z.boolean(),\n\tproject: runtimeProjectSummarySchema.nullable(),\n\trequiresGitInitialization: z.boolean().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectAddResponse = z.infer<typeof runtimeProjectAddResponseSchema>;\n\nexport const runtimeProjectDirectoryPickerResponseSchema = z.object({\n\tok: z.boolean(),\n\tpath: z.string().nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectDirectoryPickerResponse = z.infer<typeof runtimeProjectDirectoryPickerResponseSchema>;\n\nexport const runtimeProjectRemoveRequestSchema = z.object({\n\tprojectId: z.string(),\n});\nexport type RuntimeProjectRemoveRequest = z.infer<typeof runtimeProjectRemoveRequestSchema>;\n\nexport const runtimeProjectRemoveResponseSchema = z.object({\n\tok: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectRemoveResponse = z.infer<typeof runtimeProjectRemoveResponseSchema>;\n\nexport const runtimeWorktreeEnsureRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeWorktreeEnsureRequest = z.infer<typeof runtimeWorktreeEnsureRequestSchema>;\n\nexport const runtimeWorktreeEnsureResponseSchema = z.union([\n\tz.object({\n\t\tok: z.literal(true),\n\t\tpath: z.string(),\n\t\tbaseRef: z.string(),\n\t\tbaseCommit: z.string(),\n\t\twarning: z.string().optional(),\n\t\terror: z.string().optional(),\n\t}),\n\tz.object({\n\t\tok: z.literal(false),\n\t\tpath: z.null(),\n\t\tbaseRef: z.string(),\n\t\tbaseCommit: z.null(),\n\t\terror: z.string().optional(),\n\t}),\n]);\nexport type RuntimeWorktreeEnsureResponse = z.infer<typeof runtimeWorktreeEnsureResponseSchema>;\n\nexport const runtimeWorktreeDeleteRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeWorktreeDeleteRequest = z.infer<typeof runtimeWorktreeDeleteRequestSchema>;\n\nexport const runtimeWorktreeDeleteResponseSchema = z.object({\n\tok: z.boolean(),\n\tremoved: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeWorktreeDeleteResponse = z.infer<typeof runtimeWorktreeDeleteResponseSchema>;\n\nexport const runtimeTaskWorkspaceInfoRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeTaskWorkspaceInfoRequest = z.infer<typeof runtimeTaskWorkspaceInfoRequestSchema>;\n\nexport const runtimeTaskWorkspaceInfoResponseSchema = z.object({\n\ttaskId: z.string(),\n\tpath: z.string(),\n\texists: z.boolean(),\n\tbaseRef: z.string(),\n\tbranch: z.string().nullable(),\n\tisDetached: z.boolean(),\n\theadCommit: z.string().nullable(),\n});\nexport type RuntimeTaskWorkspaceInfoResponse = z.infer<typeof runtimeTaskWorkspaceInfoResponseSchema>;\n\nexport const runtimeProjectShortcutSchema = z.object({\n\tlabel: z.string(),\n\tcommand: z.string(),\n\ticon: z.string().optional(),\n});\nexport type RuntimeProjectShortcut = z.infer<typeof runtimeProjectShortcutSchema>;\n\nexport const runtimeClineOauthProviderSchema = z.enum([\"cline\", \"oca\", \"openai-codex\"]);\nexport type RuntimeClineOauthProvider = z.infer<typeof runtimeClineOauthProviderSchema>;\n\nexport const runtimeClineProviderSettingsSchema = z.object({\n\tproviderId: z.string().nullable(),\n\tmodelId: z.string().nullable(),\n\tbaseUrl: z.string().nullable(),\n\tapiKeyConfigured: z.boolean(),\n\toauthProvider: runtimeClineOauthProviderSchema.nullable(),\n\toauthAccessTokenConfigured: z.boolean(),\n\toauthRefreshTokenConfigured: z.boolean(),\n\toauthAccountId: z.string().nullable(),\n\toauthExpiresAt: z.number().int().positive().nullable(),\n});\nexport type RuntimeClineProviderSettings = z.infer<typeof runtimeClineProviderSettingsSchema>;\n\nexport const runtimeClineProviderCatalogItemSchema = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\toauthSupported: z.boolean(),\n\tenabled: z.boolean(),\n\tdefaultModelId: z.string().nullable(),\n});\nexport type RuntimeClineProviderCatalogItem = z.infer<typeof runtimeClineProviderCatalogItemSchema>;\n\nexport const runtimeClineProviderCatalogResponseSchema = z.object({\n\tproviders: z.array(runtimeClineProviderCatalogItemSchema),\n});\nexport type RuntimeClineProviderCatalogResponse = z.infer<typeof runtimeClineProviderCatalogResponseSchema>;\n\nexport const runtimeClineProviderModelsRequestSchema = z.object({\n\tproviderId: z.string(),\n});\nexport type RuntimeClineProviderModelsRequest = z.infer<typeof runtimeClineProviderModelsRequestSchema>;\n\nexport const runtimeClineProviderModelSchema = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\tsupportsVision: z.boolean().optional(),\n\tsupportsAttachments: z.boolean().optional(),\n});\nexport type RuntimeClineProviderModel = z.infer<typeof runtimeClineProviderModelSchema>;\n\nexport const runtimeClineProviderModelsResponseSchema = z.object({\n\tproviderId: z.string(),\n\tmodels: z.array(runtimeClineProviderModelSchema),\n});\nexport type RuntimeClineProviderModelsResponse = z.infer<typeof runtimeClineProviderModelsResponseSchema>;\n\nexport const runtimeClineOauthLoginRequestSchema = z.object({\n\tprovider: runtimeClineOauthProviderSchema,\n\tbaseUrl: z.string().nullable().optional(),\n});\nexport type RuntimeClineOauthLoginRequest = z.infer<typeof runtimeClineOauthLoginRequestSchema>;\n\nexport const runtimeClineOauthLoginResponseSchema = z.object({\n\tok: z.boolean(),\n\tprovider: runtimeClineOauthProviderSchema,\n\tsettings: runtimeClineProviderSettingsSchema.optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeClineOauthLoginResponse = z.infer<typeof runtimeClineOauthLoginResponseSchema>;\n\nexport const runtimeClineProviderSettingsSaveRequestSchema = z.object({\n\tproviderId: z.string(),\n\tmodelId: z.string().nullable().optional(),\n\tapiKey: z.string().nullable().optional(),\n\tbaseUrl: z.string().nullable().optional(),\n});\nexport type RuntimeClineProviderSettingsSaveRequest = z.infer<typeof runtimeClineProviderSettingsSaveRequestSchema>;\n\nexport const runtimeClineProviderSettingsSaveResponseSchema = runtimeClineProviderSettingsSchema;\nexport type RuntimeClineProviderSettingsSaveResponse = z.infer<typeof runtimeClineProviderSettingsSaveResponseSchema>;\n\nexport const runtimeClineMcpServerStdioTransportSchema = z.object({\n\ttype: z.literal(\"stdio\"),\n\tcommand: z.string(),\n\targs: z.array(z.string()).optional(),\n\tcwd: z.string().optional(),\n\tenv: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerStdioTransport = z.infer<typeof runtimeClineMcpServerStdioTransportSchema>;\n\nexport const runtimeClineMcpServerSseTransportSchema = z.object({\n\ttype: z.literal(\"sse\"),\n\turl: z.string().url(),\n\theaders: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerSseTransport = z.infer<typeof runtimeClineMcpServerSseTransportSchema>;\n\nexport const runtimeClineMcpServerStreamableHttpTransportSchema = z.object({\n\ttype: z.literal(\"streamableHttp\"),\n\turl: z.string().url(),\n\theaders: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerStreamableHttpTransport = z.infer<\n\ttypeof runtimeClineMcpServerStreamableHttpTransportSchema\n>;\n\nexport const runtimeClineMcpServerTransportSchema = z.discriminatedUnion(\"type\", [\n\truntimeClineMcpServerStdioTransportSchema,\n\truntimeClineMcpServerSseTransportSchema,\n\truntimeClineMcpServerStreamableHttpTransportSchema,\n]);\nexport type RuntimeClineMcpServerTransport = z.infer<typeof runtimeClineMcpServerTransportSchema>;\n\nexport const runtimeClineMcpServerSchema = z.object({\n\tname: z.string(),\n\tdisabled: z.boolean(),\n\ttransport: runtimeClineMcpServerTransportSchema,\n});\nexport type RuntimeClineMcpServer = z.infer<typeof runtimeClineMcpServerSchema>;\n\nexport const runtimeClineMcpSettingsResponseSchema = z.object({\n\tpath: z.string(),\n\tservers: z.array(runtimeClineMcpServerSchema),\n});\nexport type RuntimeClineMcpSettingsResponse = z.infer<typeof runtimeClineMcpSettingsResponseSchema>;\n\nexport const runtimeClineMcpSettingsSaveRequestSchema = z.object({\n\tservers: z.array(runtimeClineMcpServerSchema),\n});\nexport type RuntimeClineMcpSettingsSaveRequest = z.infer<typeof runtimeClineMcpSettingsSaveRequestSchema>;\n\nexport const runtimeClineMcpSettingsSaveResponseSchema = runtimeClineMcpSettingsResponseSchema;\nexport type RuntimeClineMcpSettingsSaveResponse = z.infer<typeof runtimeClineMcpSettingsSaveResponseSchema>;\n\nexport const runtimeClineMcpServerAuthStatusSchema = z.object({\n\tserverName: z.string(),\n\toauthSupported: z.boolean(),\n\toauthConfigured: z.boolean(),\n\tlastError: z.string().nullable(),\n\tlastAuthenticatedAt: z.number().nullable(),\n});\nexport type RuntimeClineMcpServerAuthStatus = z.infer<typeof runtimeClineMcpServerAuthStatusSchema>;\n\nexport const runtimeClineMcpAuthStatusResponseSchema = z.object({\n\tstatuses: z.array(runtimeClineMcpServerAuthStatusSchema),\n});\nexport type RuntimeClineMcpAuthStatusResponse = z.infer<typeof runtimeClineMcpAuthStatusResponseSchema>;\n\nexport const runtimeClineMcpOAuthRequestSchema = z.object({\n\tserverName: z.string(),\n});\nexport type RuntimeClineMcpOAuthRequest = z.infer<typeof runtimeClineMcpOAuthRequestSchema>;\n\nexport const runtimeClineMcpOAuthResponseSchema = z.object({\n\tserverName: z.string(),\n\tauthorized: z.literal(true),\n\tmessage: z.string(),\n});\nexport type RuntimeClineMcpOAuthResponse = z.infer<typeof runtimeClineMcpOAuthResponseSchema>;\n\nexport const runtimeCommandRunRequestSchema = z.object({\n\tcommand: z.string(),\n});\nexport type RuntimeCommandRunRequest = z.infer<typeof runtimeCommandRunRequestSchema>;\n\nexport const runtimeCommandRunResponseSchema = z.object({\n\texitCode: z.number(),\n\tstdout: z.string(),\n\tstderr: z.string(),\n\tcombinedOutput: z.string(),\n\tdurationMs: z.number(),\n});\nexport type RuntimeCommandRunResponse = z.infer<typeof runtimeCommandRunResponseSchema>;\n\nexport const runtimeAgentDefinitionSchema = z.object({\n\tid: runtimeAgentIdSchema,\n\tlabel: z.string(),\n\tbinary: z.string(),\n\tcommand: z.string(),\n\tdefaultArgs: z.array(z.string()),\n\tinstalled: z.boolean(),\n\tconfigured: z.boolean(),\n});\nexport type RuntimeAgentDefinition = z.infer<typeof runtimeAgentDefinitionSchema>;\n\nexport const runtimeConfigResponseSchema = z.object({\n\tselectedAgentId: runtimeAgentIdSchema,\n\tselectedShortcutLabel: z.string().nullable(),\n\tagentAutonomousModeEnabled: z.boolean(),\n\teffectiveCommand: z.string().nullable(),\n\tglobalConfigPath: z.string(),\n\tprojectConfigPath: z.string().nullable(),\n\treadyForReviewNotificationsEnabled: z.boolean(),\n\tdetectedCommands: z.array(z.string()),\n\tagents: z.array(runtimeAgentDefinitionSchema),\n\tshortcuts: z.array(runtimeProjectShortcutSchema),\n\tclineProviderSettings: runtimeClineProviderSettingsSchema,\n\tcommitPromptTemplate: z.string(),\n\topenPrPromptTemplate: z.string(),\n\tcommitPromptTemplateDefault: z.string(),\n\topenPrPromptTemplateDefault: z.string(),\n});\nexport type RuntimeConfigResponse = z.infer<typeof runtimeConfigResponseSchema>;\n\nexport const runtimeConfigSaveRequestSchema = z.object({\n\tselectedAgentId: runtimeAgentIdSchema.optional(),\n\tselectedShortcutLabel: z.string().nullable().optional(),\n\tagentAutonomousModeEnabled: z.boolean().optional(),\n\tshortcuts: z.array(runtimeProjectShortcutSchema).optional(),\n\treadyForReviewNotificationsEnabled: z.boolean().optional(),\n\tcommitPromptTemplate: z.string().optional(),\n\topenPrPromptTemplate: z.string().optional(),\n});\nexport type RuntimeConfigSaveRequest = z.infer<typeof runtimeConfigSaveRequestSchema>;\n\nexport const runtimeTaskSessionStartRequestSchema = z.object({\n\ttaskId: z.string(),\n\tprompt: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tstartInPlanMode: z.boolean().optional(),\n\tmode: runtimeTaskSessionModeSchema.optional(),\n\tresumeFromTrash: z.boolean().optional(),\n\tbaseRef: z.string(),\n\tcols: z.number().int().positive().optional(),\n\trows: z.number().int().positive().optional(),\n});\nexport type RuntimeTaskSessionStartRequest = z.infer<typeof runtimeTaskSessionStartRequestSchema>;\n\nexport const runtimeTaskSessionStartResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionStartResponse = z.infer<typeof runtimeTaskSessionStartResponseSchema>;\n\nexport const runtimeTaskSessionStopRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskSessionStopRequest = z.infer<typeof runtimeTaskSessionStopRequestSchema>;\n\nexport const runtimeTaskSessionStopResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionStopResponse = z.infer<typeof runtimeTaskSessionStopResponseSchema>;\n\nexport const runtimeTaskSessionInputRequestSchema = z.object({\n\ttaskId: z.string(),\n\ttext: z.string(),\n\tappendNewline: z.boolean().optional(),\n});\nexport type RuntimeTaskSessionInputRequest = z.infer<typeof runtimeTaskSessionInputRequestSchema>;\n\nexport const runtimeTaskSessionInputResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionInputResponse = z.infer<typeof runtimeTaskSessionInputResponseSchema>;\n\nexport const runtimeTaskChatMessageSchema = z.object({\n\tid: z.string(),\n\trole: z.enum([\"user\", \"assistant\", \"system\", \"tool\", \"reasoning\", \"status\"]),\n\tcontent: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tcreatedAt: z.number(),\n\tmeta: z\n\t\t.object({\n\t\t\ttoolName: z.string().nullable().optional(),\n\t\t\thookEventName: z.string().nullable().optional(),\n\t\t\ttoolCallId: z.string().nullable().optional(),\n\t\t\tstreamType: z.string().nullable().optional(),\n\t\t\tmessageKind: z.string().nullable().optional(),\n\t\t\tdisplayRole: z.string().nullable().optional(),\n\t\t\treason: z.string().nullable().optional(),\n\t\t})\n\t\t.nullable()\n\t\t.optional(),\n});\nexport type RuntimeTaskChatMessage = z.infer<typeof runtimeTaskChatMessageSchema>;\n\nexport const runtimeTaskChatMessagesRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatMessagesRequest = z.infer<typeof runtimeTaskChatMessagesRequestSchema>;\n\nexport const runtimeTaskChatMessagesResponseSchema = z.object({\n\tok: z.boolean(),\n\tmessages: z.array(runtimeTaskChatMessageSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatMessagesResponse = z.infer<typeof runtimeTaskChatMessagesResponseSchema>;\n\nexport const runtimeTaskChatSendRequestSchema = z.object({\n\ttaskId: z.string(),\n\ttext: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tmode: runtimeTaskSessionModeSchema.optional(),\n});\nexport type RuntimeTaskChatSendRequest = z.infer<typeof runtimeTaskChatSendRequestSchema>;\n\nexport const runtimeTaskChatSendResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\tmessage: runtimeTaskChatMessageSchema.nullable().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatSendResponse = z.infer<typeof runtimeTaskChatSendResponseSchema>;\n\nexport const runtimeTaskChatAbortRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatAbortRequest = z.infer<typeof runtimeTaskChatAbortRequestSchema>;\n\nexport const runtimeTaskChatAbortResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatAbortResponse = z.infer<typeof runtimeTaskChatAbortResponseSchema>;\n\nexport const runtimeTaskChatCancelRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatCancelRequest = z.infer<typeof runtimeTaskChatCancelRequestSchema>;\n\nexport const runtimeTaskChatCancelResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatCancelResponse = z.infer<typeof runtimeTaskChatCancelResponseSchema>;\n\nexport const runtimeShellSessionStartRequestSchema = z.object({\n\ttaskId: z.string(),\n\tcols: z.number().int().positive().optional(),\n\trows: z.number().int().positive().optional(),\n\tworkspaceTaskId: z.string().optional(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeShellSessionStartRequest = z.infer<typeof runtimeShellSessionStartRequestSchema>;\n\nexport const runtimeShellSessionStartResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\tshellBinary: z.string().nullable().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeShellSessionStartResponse = z.infer<typeof runtimeShellSessionStartResponseSchema>;\n\nexport const runtimeTerminalWsResizeMessageSchema = z.object({\n\ttype: z.literal(\"resize\"),\n\tcols: z.number().int().positive(),\n\trows: z.number().int().positive(),\n\tpixelWidth: z.number().int().positive().optional(),\n\tpixelHeight: z.number().int().positive().optional(),\n});\nexport type RuntimeTerminalWsResizeMessage = z.infer<typeof runtimeTerminalWsResizeMessageSchema>;\n\nexport const runtimeTerminalWsStopMessageSchema = z.object({\n\ttype: z.literal(\"stop\"),\n});\nexport type RuntimeTerminalWsStopMessage = z.infer<typeof runtimeTerminalWsStopMessageSchema>;\n\nexport const runtimeTerminalWsClientMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeTerminalWsResizeMessageSchema,\n\truntimeTerminalWsStopMessageSchema,\n]);\nexport type RuntimeTerminalWsClientMessage = z.infer<typeof runtimeTerminalWsClientMessageSchema>;\n\nexport const runtimeTerminalWsStateMessageSchema = z.object({\n\ttype: z.literal(\"state\"),\n\tsummary: runtimeTaskSessionSummarySchema,\n});\nexport type RuntimeTerminalWsStateMessage = z.infer<typeof runtimeTerminalWsStateMessageSchema>;\n\nexport const runtimeTerminalWsErrorMessageSchema = z.object({\n\ttype: z.literal(\"error\"),\n\tmessage: z.string(),\n});\nexport type RuntimeTerminalWsErrorMessage = z.infer<typeof runtimeTerminalWsErrorMessageSchema>;\n\nexport const runtimeTerminalWsExitMessageSchema = z.object({\n\ttype: z.literal(\"exit\"),\n\tcode: z.number().nullable(),\n});\nexport type RuntimeTerminalWsExitMessage = z.infer<typeof runtimeTerminalWsExitMessageSchema>;\n\nexport const runtimeTerminalWsServerMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeTerminalWsStateMessageSchema,\n\truntimeTerminalWsErrorMessageSchema,\n\truntimeTerminalWsExitMessageSchema,\n]);\nexport type RuntimeTerminalWsServerMessage = z.infer<typeof runtimeTerminalWsServerMessageSchema>;\n\nexport const runtimeGitCommitSchema = z.object({\n\thash: z.string(),\n\tshortHash: z.string(),\n\tauthorName: z.string(),\n\tauthorEmail: z.string(),\n\tdate: z.string(),\n\tmessage: z.string(),\n\tparentHashes: z.array(z.string()),\n\trelation: z.enum([\"selected\", \"upstream\", \"shared\"]).optional(),\n});\nexport type RuntimeGitCommit = z.infer<typeof runtimeGitCommitSchema>;\n\nexport const runtimeGitRefSchema = z.object({\n\tname: z.string(),\n\ttype: z.enum([\"branch\", \"remote\", \"detached\"]),\n\thash: z.string(),\n\tisHead: z.boolean(),\n\tupstreamName: z.string().optional(),\n\tahead: z.number().optional(),\n\tbehind: z.number().optional(),\n});\nexport type RuntimeGitRef = z.infer<typeof runtimeGitRefSchema>;\n\nexport const runtimeGitLogRequestSchema = z.object({\n\tref: z.string().nullable().optional(),\n\trefs: z.array(z.string()).optional(),\n\tmaxCount: z.number().int().positive().optional(),\n\tskip: z.number().int().nonnegative().optional(),\n\ttaskScope: runtimeTaskWorkspaceInfoRequestSchema.nullable().optional(),\n});\nexport type RuntimeGitLogRequest = z.infer<typeof runtimeGitLogRequestSchema>;\n\nexport const runtimeGitLogResponseSchema = z.object({\n\tok: z.boolean(),\n\tcommits: z.array(runtimeGitCommitSchema),\n\ttotalCount: z.number(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitLogResponse = z.infer<typeof runtimeGitLogResponseSchema>;\n\nexport const runtimeGitCommitDiffFileSchema = z.object({\n\tpath: z.string(),\n\tpreviousPath: z.string().optional(),\n\tstatus: z.enum([\"modified\", \"added\", \"deleted\", \"renamed\"]),\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\tpatch: z.string(),\n});\nexport type RuntimeGitCommitDiffFile = z.infer<typeof runtimeGitCommitDiffFileSchema>;\n\nexport const runtimeGitCommitDiffRequestSchema = z.object({\n\tcommitHash: z.string(),\n\ttaskScope: runtimeTaskWorkspaceInfoRequestSchema.nullable().optional(),\n});\nexport type RuntimeGitCommitDiffRequest = z.infer<typeof runtimeGitCommitDiffRequestSchema>;\n\nexport const runtimeGitCommitDiffResponseSchema = z.object({\n\tok: z.boolean(),\n\tcommitHash: z.string(),\n\tfiles: z.array(runtimeGitCommitDiffFileSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitCommitDiffResponse = z.infer<typeof runtimeGitCommitDiffResponseSchema>;\n\nexport const runtimeGitRefsResponseSchema = z.object({\n\tok: z.boolean(),\n\trefs: z.array(runtimeGitRefSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitRefsResponse = z.infer<typeof runtimeGitRefsResponseSchema>;\n\nexport const runtimeHookEventSchema = z.enum([\"to_review\", \"to_in_progress\", \"activity\"]);\nexport type RuntimeHookEvent = z.infer<typeof runtimeHookEventSchema>;\n\nexport const runtimeHookIngestRequestSchema = z.object({\n\ttaskId: z.string(),\n\tworkspaceId: z.string(),\n\tevent: runtimeHookEventSchema,\n\tmetadata: runtimeTaskHookActivitySchema.partial().optional(),\n});\nexport type RuntimeHookIngestRequest = z.infer<typeof runtimeHookIngestRequestSchema>;\n\nexport const runtimeHookIngestResponseSchema = z.object({\n\tok: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeHookIngestResponse = z.infer<typeof runtimeHookIngestResponseSchema>;\n"]}
|
|
1
|
+
{"version":3,"file":"api-contract.js","sourceRoot":"","sources":["../../src/core/api-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,UAAU;IACV,OAAO;IACP,SAAS;IACT,SAAS;IACT,QAAQ;IACR,WAAW;IACX,SAAS;CACT,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,gCAAgC;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,MAAM,EAAE,CAAC,CA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,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;IAClC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,EAAE,UAAU,CAAC,CAAC,CAAC;AAG1F,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,KAAK,EAAE,sBAAsB;IAC7B,QAAQ,EAAE,6BAA6B,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nexport const runtimeWorkspaceFileStatusSchema = z.enum([\n\t\"modified\",\n\t\"added\",\n\t\"deleted\",\n\t\"renamed\",\n\t\"copied\",\n\t\"untracked\",\n\t\"unknown\",\n]);\nexport type RuntimeWorkspaceFileStatus = z.infer<typeof runtimeWorkspaceFileStatusSchema>;\n\nexport const runtimeWorkspaceFileChangeSchema = z.object({\n\tpath: z.string(),\n\tpreviousPath: z.string().optional(),\n\tstatus: runtimeWorkspaceFileStatusSchema,\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\toldText: z.string().nullable(),\n\tnewText: z.string().nullable(),\n});\nexport type RuntimeWorkspaceFileChange = z.infer<typeof runtimeWorkspaceFileChangeSchema>;\n\nexport const runtimeWorkspaceChangesRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n\tmode: z.enum([\"working_copy\", \"last_turn\"]).optional(),\n});\nexport type RuntimeWorkspaceChangesRequest = z.infer<typeof runtimeWorkspaceChangesRequestSchema>;\n\nexport const runtimeWorkspaceChangesModeSchema = z.enum([\"working_copy\", \"last_turn\"]);\nexport type RuntimeWorkspaceChangesMode = z.infer<typeof runtimeWorkspaceChangesModeSchema>;\n\nexport const runtimeWorkspaceChangesResponseSchema = z.object({\n\trepoRoot: z.string(),\n\tgeneratedAt: z.number(),\n\tfiles: z.array(runtimeWorkspaceFileChangeSchema),\n});\nexport type RuntimeWorkspaceChangesResponse = z.infer<typeof runtimeWorkspaceChangesResponseSchema>;\n\nexport const runtimeWorkspaceFileSearchRequestSchema = z.object({\n\tquery: z.string(),\n\tlimit: z.number().int().positive().optional(),\n});\nexport type RuntimeWorkspaceFileSearchRequest = z.infer<typeof runtimeWorkspaceFileSearchRequestSchema>;\n\nexport const runtimeWorkspaceFileSearchMatchSchema = z.object({\n\tpath: z.string(),\n\tname: z.string(),\n\tchanged: z.boolean(),\n});\nexport type RuntimeWorkspaceFileSearchMatch = z.infer<typeof runtimeWorkspaceFileSearchMatchSchema>;\n\nexport const runtimeWorkspaceFileSearchResponseSchema = z.object({\n\tquery: z.string(),\n\tfiles: z.array(runtimeWorkspaceFileSearchMatchSchema),\n});\nexport type RuntimeWorkspaceFileSearchResponse = z.infer<typeof runtimeWorkspaceFileSearchResponseSchema>;\n\nexport const runtimeAgentIdSchema = z.enum([\"claude\", \"codex\", \"gemini\", \"opencode\", \"droid\", \"cline\"]);\nexport type RuntimeAgentId = z.infer<typeof runtimeAgentIdSchema>;\n\nexport const runtimeBoardColumnIdSchema = z.enum([\"backlog\", \"in_progress\", \"review\", \"trash\"]);\nexport type RuntimeBoardColumnId = z.infer<typeof runtimeBoardColumnIdSchema>;\n\nexport const runtimeTaskAutoReviewModeSchema = z.enum([\"commit\", \"pr\", \"move_to_trash\"]);\nexport type RuntimeTaskAutoReviewMode = z.infer<typeof runtimeTaskAutoReviewModeSchema>;\n\nexport const runtimeTaskImageSchema = z.object({\n\tid: z.string(),\n\tdata: z.string(),\n\tmimeType: z.string(),\n\tname: z.string().optional(),\n});\nexport type RuntimeTaskImage = z.infer<typeof runtimeTaskImageSchema>;\n\nexport const runtimeBoardCardSchema = z.object({\n\tid: z.string(),\n\tprompt: z.string(),\n\tstartInPlanMode: z.boolean(),\n\tautoReviewEnabled: z.boolean().optional(),\n\tautoReviewMode: runtimeTaskAutoReviewModeSchema.optional(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tbaseRef: z.string(),\n\tcreatedAt: z.number(),\n\tupdatedAt: z.number(),\n});\nexport type RuntimeBoardCard = z.infer<typeof runtimeBoardCardSchema>;\n\nexport const runtimeBoardColumnSchema = z.object({\n\tid: runtimeBoardColumnIdSchema,\n\ttitle: z.string(),\n\tcards: z.array(runtimeBoardCardSchema),\n});\nexport type RuntimeBoardColumn = z.infer<typeof runtimeBoardColumnSchema>;\n\nexport const runtimeBoardDependencySchema = z.object({\n\tid: z.string(),\n\tfromTaskId: z.string(),\n\ttoTaskId: z.string(),\n\tcreatedAt: z.number(),\n});\nexport type RuntimeBoardDependency = z.infer<typeof runtimeBoardDependencySchema>;\n\nexport const runtimeBoardDataSchema = z.object({\n\tcolumns: z.array(runtimeBoardColumnSchema),\n\tdependencies: z.array(runtimeBoardDependencySchema).default([]),\n});\nexport type RuntimeBoardData = z.infer<typeof runtimeBoardDataSchema>;\n\nexport const runtimeGitRepositoryInfoSchema = z.object({\n\tcurrentBranch: z.string().nullable(),\n\tdefaultBranch: z.string().nullable(),\n\tbranches: z.array(z.string()),\n});\nexport type RuntimeGitRepositoryInfo = z.infer<typeof runtimeGitRepositoryInfoSchema>;\n\nexport const runtimeGitSyncActionSchema = z.enum([\"fetch\", \"pull\", \"push\"]);\nexport type RuntimeGitSyncAction = z.infer<typeof runtimeGitSyncActionSchema>;\n\nexport const runtimeGitSyncSummarySchema = z.object({\n\tcurrentBranch: z.string().nullable(),\n\tupstreamBranch: z.string().nullable(),\n\tchangedFiles: z.number(),\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\taheadCount: z.number(),\n\tbehindCount: z.number(),\n});\nexport type RuntimeGitSyncSummary = z.infer<typeof runtimeGitSyncSummarySchema>;\n\nexport const runtimeGitSummaryResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeGitSyncSummarySchema,\n\terror: z.string().optional(),\n});\nexport type RuntimeGitSummaryResponse = z.infer<typeof runtimeGitSummaryResponseSchema>;\n\nexport const runtimeGitSyncResponseSchema = z.object({\n\tok: z.boolean(),\n\taction: runtimeGitSyncActionSchema,\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitSyncResponse = z.infer<typeof runtimeGitSyncResponseSchema>;\n\nexport const runtimeGitCheckoutRequestSchema = z.object({\n\tbranch: z.string(),\n});\nexport type RuntimeGitCheckoutRequest = z.infer<typeof runtimeGitCheckoutRequestSchema>;\n\nexport const runtimeGitCheckoutResponseSchema = z.object({\n\tok: z.boolean(),\n\tbranch: z.string(),\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitCheckoutResponse = z.infer<typeof runtimeGitCheckoutResponseSchema>;\n\nexport const runtimeGitDiscardResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeGitSyncSummarySchema,\n\toutput: z.string(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitDiscardResponse = z.infer<typeof runtimeGitDiscardResponseSchema>;\n\nexport const runtimeTaskSessionStateSchema = z.enum([\"idle\", \"running\", \"awaiting_review\", \"failed\", \"interrupted\"]);\nexport type RuntimeTaskSessionState = z.infer<typeof runtimeTaskSessionStateSchema>;\n\nexport const runtimeTaskSessionModeSchema = z.enum([\"act\", \"plan\"]);\nexport type RuntimeTaskSessionMode = z.infer<typeof runtimeTaskSessionModeSchema>;\n\nexport const runtimeTaskSessionReviewReasonSchema = z\n\t.enum([\"attention\", \"exit\", \"error\", \"interrupted\", \"hook\"])\n\t.nullable();\nexport type RuntimeTaskSessionReviewReason = z.infer<typeof runtimeTaskSessionReviewReasonSchema>;\n\nexport const runtimeTaskHookActivitySchema = z.object({\n\tactivityText: z.string().nullable().default(null),\n\ttoolName: z.string().nullable().default(null),\n\ttoolInputSummary: z.string().nullable().default(null),\n\tfinalMessage: z.string().nullable().default(null),\n\thookEventName: z.string().nullable().default(null),\n\tnotificationType: z.string().nullable().default(null),\n\tsource: z.string().nullable().default(null),\n});\nexport type RuntimeTaskHookActivity = z.infer<typeof runtimeTaskHookActivitySchema>;\n\nexport const runtimeTaskTurnCheckpointSchema = z.object({\n\tturn: z.number().int().positive(),\n\tref: z.string(),\n\tcommit: z.string(),\n\tcreatedAt: z.number(),\n});\nexport type RuntimeTaskTurnCheckpoint = z.infer<typeof runtimeTaskTurnCheckpointSchema>;\n\nexport const runtimeTaskSessionSummarySchema = z.object({\n\ttaskId: z.string(),\n\tstate: runtimeTaskSessionStateSchema,\n\tagentId: runtimeAgentIdSchema.nullable(),\n\tworkspacePath: z.string().nullable(),\n\tpid: z.number().nullable(),\n\tstartedAt: z.number().nullable(),\n\tupdatedAt: z.number(),\n\tlastOutputAt: z.number().nullable(),\n\treviewReason: runtimeTaskSessionReviewReasonSchema,\n\texitCode: z.number().nullable(),\n\tlastHookAt: z.number().nullable().default(null),\n\tlatestHookActivity: runtimeTaskHookActivitySchema.nullable().default(null),\n\twarningMessage: z.string().nullable().optional(),\n\tlatestTurnCheckpoint: runtimeTaskTurnCheckpointSchema.nullable().optional(),\n\tpreviousTurnCheckpoint: runtimeTaskTurnCheckpointSchema.nullable().optional(),\n});\nexport type RuntimeTaskSessionSummary = z.infer<typeof runtimeTaskSessionSummarySchema>;\n\nexport const runtimeWorkspaceStateResponseSchema = z.object({\n\trepoPath: z.string(),\n\tstatePath: z.string(),\n\tgit: runtimeGitRepositoryInfoSchema,\n\tboard: runtimeBoardDataSchema,\n\tsessions: z.record(z.string(), runtimeTaskSessionSummarySchema),\n\trevision: z.number(),\n});\nexport type RuntimeWorkspaceStateResponse = z.infer<typeof runtimeWorkspaceStateResponseSchema>;\n\nexport const runtimeWorkspaceStateSaveRequestSchema = z.object({\n\tboard: runtimeBoardDataSchema,\n\tsessions: z.record(z.string(), runtimeTaskSessionSummarySchema),\n\texpectedRevision: z.number().int().nonnegative().optional(),\n});\nexport type RuntimeWorkspaceStateSaveRequest = z.infer<typeof runtimeWorkspaceStateSaveRequestSchema>;\n\nexport const runtimeWorkspaceStateConflictResponseSchema = z.object({\n\terror: z.string(),\n\tcurrentRevision: z.number(),\n});\nexport type RuntimeWorkspaceStateConflictResponse = z.infer<typeof runtimeWorkspaceStateConflictResponseSchema>;\n\nexport const runtimeWorkspaceStateNotifyResponseSchema = z.object({\n\tok: z.boolean(),\n});\nexport type RuntimeWorkspaceStateNotifyResponse = z.infer<typeof runtimeWorkspaceStateNotifyResponseSchema>;\n\nexport const runtimeProjectTaskCountsSchema = z.object({\n\tbacklog: z.number(),\n\tin_progress: z.number(),\n\treview: z.number(),\n\ttrash: z.number(),\n});\nexport type RuntimeProjectTaskCounts = z.infer<typeof runtimeProjectTaskCountsSchema>;\n\nexport const runtimeProjectSummarySchema = z.object({\n\tid: z.string(),\n\tpath: z.string(),\n\tname: z.string(),\n\ttaskCounts: runtimeProjectTaskCountsSchema,\n});\nexport type RuntimeProjectSummary = z.infer<typeof runtimeProjectSummarySchema>;\n\nexport const runtimeTaskWorkspaceMetadataSchema = z.object({\n\ttaskId: z.string(),\n\tpath: z.string(),\n\texists: z.boolean(),\n\tbaseRef: z.string(),\n\tbranch: z.string().nullable(),\n\tisDetached: z.boolean(),\n\theadCommit: z.string().nullable(),\n\tchangedFiles: z.number().nullable(),\n\tadditions: z.number().nullable(),\n\tdeletions: z.number().nullable(),\n\tstateVersion: z.number().int().nonnegative(),\n});\nexport type RuntimeTaskWorkspaceMetadata = z.infer<typeof runtimeTaskWorkspaceMetadataSchema>;\n\nexport const runtimeWorkspaceMetadataSchema = z.object({\n\thomeGitSummary: runtimeGitSyncSummarySchema.nullable(),\n\thomeGitStateVersion: z.number().int().nonnegative(),\n\ttaskWorkspaces: z.array(runtimeTaskWorkspaceMetadataSchema),\n});\nexport type RuntimeWorkspaceMetadata = z.infer<typeof runtimeWorkspaceMetadataSchema>;\n\nexport const runtimeStateStreamSnapshotMessageSchema = z.object({\n\ttype: z.literal(\"snapshot\"),\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n\tworkspaceState: runtimeWorkspaceStateResponseSchema.nullable(),\n\tworkspaceMetadata: runtimeWorkspaceMetadataSchema.nullable(),\n});\nexport type RuntimeStateStreamSnapshotMessage = z.infer<typeof runtimeStateStreamSnapshotMessageSchema>;\n\nexport const runtimeStateStreamWorkspaceStateMessageSchema = z.object({\n\ttype: z.literal(\"workspace_state_updated\"),\n\tworkspaceId: z.string(),\n\tworkspaceState: runtimeWorkspaceStateResponseSchema,\n});\nexport type RuntimeStateStreamWorkspaceStateMessage = z.infer<typeof runtimeStateStreamWorkspaceStateMessageSchema>;\n\nexport const runtimeStateStreamTaskSessionsMessageSchema = z.object({\n\ttype: z.literal(\"task_sessions_updated\"),\n\tworkspaceId: z.string(),\n\tsummaries: z.array(runtimeTaskSessionSummarySchema),\n});\nexport type RuntimeStateStreamTaskSessionsMessage = z.infer<typeof runtimeStateStreamTaskSessionsMessageSchema>;\n\nexport const runtimeStateStreamProjectsMessageSchema = z.object({\n\ttype: z.literal(\"projects_updated\"),\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n});\nexport type RuntimeStateStreamProjectsMessage = z.infer<typeof runtimeStateStreamProjectsMessageSchema>;\n\nexport const runtimeStateStreamWorkspaceMetadataMessageSchema = z.object({\n\ttype: z.literal(\"workspace_metadata_updated\"),\n\tworkspaceId: z.string(),\n\tworkspaceMetadata: runtimeWorkspaceMetadataSchema,\n});\nexport type RuntimeStateStreamWorkspaceMetadataMessage = z.infer<\n\ttypeof runtimeStateStreamWorkspaceMetadataMessageSchema\n>;\n\nexport const runtimeStateStreamTaskReadyForReviewMessageSchema = z.object({\n\ttype: z.literal(\"task_ready_for_review\"),\n\tworkspaceId: z.string(),\n\ttaskId: z.string(),\n\ttriggeredAt: z.number(),\n});\nexport type RuntimeStateStreamTaskReadyForReviewMessage = z.infer<\n\ttypeof runtimeStateStreamTaskReadyForReviewMessageSchema\n>;\n\nexport const runtimeStateStreamTaskChatMessageSchema = z.object({\n\ttype: z.literal(\"task_chat_message\"),\n\tworkspaceId: z.string(),\n\ttaskId: z.string(),\n\tmessage: z.lazy(() => runtimeTaskChatMessageSchema),\n});\nexport type RuntimeStateStreamTaskChatMessage = z.infer<typeof runtimeStateStreamTaskChatMessageSchema>;\n\nexport const runtimeStateStreamErrorMessageSchema = z.object({\n\ttype: z.literal(\"error\"),\n\tmessage: z.string(),\n});\nexport type RuntimeStateStreamErrorMessage = z.infer<typeof runtimeStateStreamErrorMessageSchema>;\n\nexport const runtimeStateStreamMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeStateStreamSnapshotMessageSchema,\n\truntimeStateStreamWorkspaceStateMessageSchema,\n\truntimeStateStreamTaskSessionsMessageSchema,\n\truntimeStateStreamProjectsMessageSchema,\n\truntimeStateStreamWorkspaceMetadataMessageSchema,\n\truntimeStateStreamTaskReadyForReviewMessageSchema,\n\truntimeStateStreamTaskChatMessageSchema,\n\truntimeStateStreamErrorMessageSchema,\n]);\nexport type RuntimeStateStreamMessage = z.infer<typeof runtimeStateStreamMessageSchema>;\n\nexport const runtimeProjectsResponseSchema = z.object({\n\tcurrentProjectId: z.string().nullable(),\n\tprojects: z.array(runtimeProjectSummarySchema),\n});\nexport type RuntimeProjectsResponse = z.infer<typeof runtimeProjectsResponseSchema>;\n\nexport const runtimeProjectAddRequestSchema = z.object({\n\tpath: z.string(),\n\tinitializeGit: z.boolean().optional(),\n});\nexport type RuntimeProjectAddRequest = z.infer<typeof runtimeProjectAddRequestSchema>;\n\nexport const runtimeProjectAddResponseSchema = z.object({\n\tok: z.boolean(),\n\tproject: runtimeProjectSummarySchema.nullable(),\n\trequiresGitInitialization: z.boolean().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectAddResponse = z.infer<typeof runtimeProjectAddResponseSchema>;\n\nexport const runtimeProjectDirectoryPickerResponseSchema = z.object({\n\tok: z.boolean(),\n\tpath: z.string().nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectDirectoryPickerResponse = z.infer<typeof runtimeProjectDirectoryPickerResponseSchema>;\n\nexport const runtimeProjectRemoveRequestSchema = z.object({\n\tprojectId: z.string(),\n});\nexport type RuntimeProjectRemoveRequest = z.infer<typeof runtimeProjectRemoveRequestSchema>;\n\nexport const runtimeProjectRemoveResponseSchema = z.object({\n\tok: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeProjectRemoveResponse = z.infer<typeof runtimeProjectRemoveResponseSchema>;\n\nexport const runtimeWorktreeEnsureRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeWorktreeEnsureRequest = z.infer<typeof runtimeWorktreeEnsureRequestSchema>;\n\nexport const runtimeWorktreeEnsureResponseSchema = z.union([\n\tz.object({\n\t\tok: z.literal(true),\n\t\tpath: z.string(),\n\t\tbaseRef: z.string(),\n\t\tbaseCommit: z.string(),\n\t\twarning: z.string().optional(),\n\t\terror: z.string().optional(),\n\t}),\n\tz.object({\n\t\tok: z.literal(false),\n\t\tpath: z.null(),\n\t\tbaseRef: z.string(),\n\t\tbaseCommit: z.null(),\n\t\terror: z.string().optional(),\n\t}),\n]);\nexport type RuntimeWorktreeEnsureResponse = z.infer<typeof runtimeWorktreeEnsureResponseSchema>;\n\nexport const runtimeWorktreeDeleteRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeWorktreeDeleteRequest = z.infer<typeof runtimeWorktreeDeleteRequestSchema>;\n\nexport const runtimeWorktreeDeleteResponseSchema = z.object({\n\tok: z.boolean(),\n\tremoved: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeWorktreeDeleteResponse = z.infer<typeof runtimeWorktreeDeleteResponseSchema>;\n\nexport const runtimeTaskWorkspaceInfoRequestSchema = z.object({\n\ttaskId: z.string(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeTaskWorkspaceInfoRequest = z.infer<typeof runtimeTaskWorkspaceInfoRequestSchema>;\n\nexport const runtimeTaskWorkspaceInfoResponseSchema = z.object({\n\ttaskId: z.string(),\n\tpath: z.string(),\n\texists: z.boolean(),\n\tbaseRef: z.string(),\n\tbranch: z.string().nullable(),\n\tisDetached: z.boolean(),\n\theadCommit: z.string().nullable(),\n});\nexport type RuntimeTaskWorkspaceInfoResponse = z.infer<typeof runtimeTaskWorkspaceInfoResponseSchema>;\n\nexport const runtimeProjectShortcutSchema = z.object({\n\tlabel: z.string(),\n\tcommand: z.string(),\n\ticon: z.string().optional(),\n});\nexport type RuntimeProjectShortcut = z.infer<typeof runtimeProjectShortcutSchema>;\n\nexport const runtimeClineOauthProviderSchema = z.enum([\"cline\", \"oca\", \"openai-codex\"]);\nexport type RuntimeClineOauthProvider = z.infer<typeof runtimeClineOauthProviderSchema>;\n\nexport const runtimeClineProviderSettingsSchema = z.object({\n\tproviderId: z.string().nullable(),\n\tmodelId: z.string().nullable(),\n\tbaseUrl: z.string().nullable(),\n\tapiKeyConfigured: z.boolean(),\n\toauthProvider: runtimeClineOauthProviderSchema.nullable(),\n\toauthAccessTokenConfigured: z.boolean(),\n\toauthRefreshTokenConfigured: z.boolean(),\n\toauthAccountId: z.string().nullable(),\n\toauthExpiresAt: z.number().int().positive().nullable(),\n});\nexport type RuntimeClineProviderSettings = z.infer<typeof runtimeClineProviderSettingsSchema>;\n\nexport const runtimeClineProviderCatalogItemSchema = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\toauthSupported: z.boolean(),\n\tenabled: z.boolean(),\n\tdefaultModelId: z.string().nullable(),\n});\nexport type RuntimeClineProviderCatalogItem = z.infer<typeof runtimeClineProviderCatalogItemSchema>;\n\nexport const runtimeClineProviderCatalogResponseSchema = z.object({\n\tproviders: z.array(runtimeClineProviderCatalogItemSchema),\n});\nexport type RuntimeClineProviderCatalogResponse = z.infer<typeof runtimeClineProviderCatalogResponseSchema>;\n\nexport const runtimeClineProviderModelsRequestSchema = z.object({\n\tproviderId: z.string(),\n});\nexport type RuntimeClineProviderModelsRequest = z.infer<typeof runtimeClineProviderModelsRequestSchema>;\n\nexport const runtimeClineProviderModelSchema = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\tsupportsVision: z.boolean().optional(),\n\tsupportsAttachments: z.boolean().optional(),\n});\nexport type RuntimeClineProviderModel = z.infer<typeof runtimeClineProviderModelSchema>;\n\nexport const runtimeClineProviderModelsResponseSchema = z.object({\n\tproviderId: z.string(),\n\tmodels: z.array(runtimeClineProviderModelSchema),\n});\nexport type RuntimeClineProviderModelsResponse = z.infer<typeof runtimeClineProviderModelsResponseSchema>;\n\nexport const runtimeClineOauthLoginRequestSchema = z.object({\n\tprovider: runtimeClineOauthProviderSchema,\n\tbaseUrl: z.string().nullable().optional(),\n});\nexport type RuntimeClineOauthLoginRequest = z.infer<typeof runtimeClineOauthLoginRequestSchema>;\n\nexport const runtimeClineOauthLoginResponseSchema = z.object({\n\tok: z.boolean(),\n\tprovider: runtimeClineOauthProviderSchema,\n\tsettings: runtimeClineProviderSettingsSchema.optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeClineOauthLoginResponse = z.infer<typeof runtimeClineOauthLoginResponseSchema>;\n\nexport const runtimeClineProviderSettingsSaveRequestSchema = z.object({\n\tproviderId: z.string(),\n\tmodelId: z.string().nullable().optional(),\n\tapiKey: z.string().nullable().optional(),\n\tbaseUrl: z.string().nullable().optional(),\n});\nexport type RuntimeClineProviderSettingsSaveRequest = z.infer<typeof runtimeClineProviderSettingsSaveRequestSchema>;\n\nexport const runtimeClineProviderSettingsSaveResponseSchema = runtimeClineProviderSettingsSchema;\nexport type RuntimeClineProviderSettingsSaveResponse = z.infer<typeof runtimeClineProviderSettingsSaveResponseSchema>;\n\nexport const runtimeClineMcpServerStdioTransportSchema = z.object({\n\ttype: z.literal(\"stdio\"),\n\tcommand: z.string(),\n\targs: z.array(z.string()).optional(),\n\tcwd: z.string().optional(),\n\tenv: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerStdioTransport = z.infer<typeof runtimeClineMcpServerStdioTransportSchema>;\n\nexport const runtimeClineMcpServerSseTransportSchema = z.object({\n\ttype: z.literal(\"sse\"),\n\turl: z.string().url(),\n\theaders: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerSseTransport = z.infer<typeof runtimeClineMcpServerSseTransportSchema>;\n\nexport const runtimeClineMcpServerStreamableHttpTransportSchema = z.object({\n\ttype: z.literal(\"streamableHttp\"),\n\turl: z.string().url(),\n\theaders: z.record(z.string(), z.string()).optional(),\n});\nexport type RuntimeClineMcpServerStreamableHttpTransport = z.infer<\n\ttypeof runtimeClineMcpServerStreamableHttpTransportSchema\n>;\n\nexport const runtimeClineMcpServerTransportSchema = z.discriminatedUnion(\"type\", [\n\truntimeClineMcpServerStdioTransportSchema,\n\truntimeClineMcpServerSseTransportSchema,\n\truntimeClineMcpServerStreamableHttpTransportSchema,\n]);\nexport type RuntimeClineMcpServerTransport = z.infer<typeof runtimeClineMcpServerTransportSchema>;\n\nexport const runtimeClineMcpServerSchema = z.object({\n\tname: z.string(),\n\tdisabled: z.boolean(),\n\ttransport: runtimeClineMcpServerTransportSchema,\n});\nexport type RuntimeClineMcpServer = z.infer<typeof runtimeClineMcpServerSchema>;\n\nexport const runtimeClineMcpSettingsResponseSchema = z.object({\n\tpath: z.string(),\n\tservers: z.array(runtimeClineMcpServerSchema),\n});\nexport type RuntimeClineMcpSettingsResponse = z.infer<typeof runtimeClineMcpSettingsResponseSchema>;\n\nexport const runtimeClineMcpSettingsSaveRequestSchema = z.object({\n\tservers: z.array(runtimeClineMcpServerSchema),\n});\nexport type RuntimeClineMcpSettingsSaveRequest = z.infer<typeof runtimeClineMcpSettingsSaveRequestSchema>;\n\nexport const runtimeClineMcpSettingsSaveResponseSchema = runtimeClineMcpSettingsResponseSchema;\nexport type RuntimeClineMcpSettingsSaveResponse = z.infer<typeof runtimeClineMcpSettingsSaveResponseSchema>;\n\nexport const runtimeClineMcpServerAuthStatusSchema = z.object({\n\tserverName: z.string(),\n\toauthSupported: z.boolean(),\n\toauthConfigured: z.boolean(),\n\tlastError: z.string().nullable(),\n\tlastAuthenticatedAt: z.number().nullable(),\n});\nexport type RuntimeClineMcpServerAuthStatus = z.infer<typeof runtimeClineMcpServerAuthStatusSchema>;\n\nexport const runtimeClineMcpAuthStatusResponseSchema = z.object({\n\tstatuses: z.array(runtimeClineMcpServerAuthStatusSchema),\n});\nexport type RuntimeClineMcpAuthStatusResponse = z.infer<typeof runtimeClineMcpAuthStatusResponseSchema>;\n\nexport const runtimeClineMcpOAuthRequestSchema = z.object({\n\tserverName: z.string(),\n});\nexport type RuntimeClineMcpOAuthRequest = z.infer<typeof runtimeClineMcpOAuthRequestSchema>;\n\nexport const runtimeClineMcpOAuthResponseSchema = z.object({\n\tserverName: z.string(),\n\tauthorized: z.literal(true),\n\tmessage: z.string(),\n});\nexport type RuntimeClineMcpOAuthResponse = z.infer<typeof runtimeClineMcpOAuthResponseSchema>;\n\nexport const runtimeCommandRunRequestSchema = z.object({\n\tcommand: z.string(),\n});\nexport type RuntimeCommandRunRequest = z.infer<typeof runtimeCommandRunRequestSchema>;\n\nexport const runtimeCommandRunResponseSchema = z.object({\n\texitCode: z.number(),\n\tstdout: z.string(),\n\tstderr: z.string(),\n\tcombinedOutput: z.string(),\n\tdurationMs: z.number(),\n});\nexport type RuntimeCommandRunResponse = z.infer<typeof runtimeCommandRunResponseSchema>;\n\nexport const runtimeDebugResetAllStateResponseSchema = z.object({\n\tok: z.boolean(),\n\tclearedPaths: z.array(z.string()),\n});\nexport type RuntimeDebugResetAllStateResponse = z.infer<typeof runtimeDebugResetAllStateResponseSchema>;\n\nexport const runtimeAgentDefinitionSchema = z.object({\n\tid: runtimeAgentIdSchema,\n\tlabel: z.string(),\n\tbinary: z.string(),\n\tcommand: z.string(),\n\tdefaultArgs: z.array(z.string()),\n\tinstalled: z.boolean(),\n\tconfigured: z.boolean(),\n});\nexport type RuntimeAgentDefinition = z.infer<typeof runtimeAgentDefinitionSchema>;\n\nexport const runtimeConfigResponseSchema = z.object({\n\tselectedAgentId: runtimeAgentIdSchema,\n\tselectedShortcutLabel: z.string().nullable(),\n\tagentAutonomousModeEnabled: z.boolean(),\n\tdebugModeEnabled: z.boolean().optional(),\n\teffectiveCommand: z.string().nullable(),\n\tglobalConfigPath: z.string(),\n\tprojectConfigPath: z.string().nullable(),\n\treadyForReviewNotificationsEnabled: z.boolean(),\n\tdetectedCommands: z.array(z.string()),\n\tagents: z.array(runtimeAgentDefinitionSchema),\n\tshortcuts: z.array(runtimeProjectShortcutSchema),\n\tclineProviderSettings: runtimeClineProviderSettingsSchema,\n\tcommitPromptTemplate: z.string(),\n\topenPrPromptTemplate: z.string(),\n\tcommitPromptTemplateDefault: z.string(),\n\topenPrPromptTemplateDefault: z.string(),\n});\nexport type RuntimeConfigResponse = z.infer<typeof runtimeConfigResponseSchema>;\n\nexport const runtimeConfigSaveRequestSchema = z.object({\n\tselectedAgentId: runtimeAgentIdSchema.optional(),\n\tselectedShortcutLabel: z.string().nullable().optional(),\n\tagentAutonomousModeEnabled: z.boolean().optional(),\n\tshortcuts: z.array(runtimeProjectShortcutSchema).optional(),\n\treadyForReviewNotificationsEnabled: z.boolean().optional(),\n\tcommitPromptTemplate: z.string().optional(),\n\topenPrPromptTemplate: z.string().optional(),\n});\nexport type RuntimeConfigSaveRequest = z.infer<typeof runtimeConfigSaveRequestSchema>;\n\nexport const runtimeTaskSessionStartRequestSchema = z.object({\n\ttaskId: z.string(),\n\tprompt: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tstartInPlanMode: z.boolean().optional(),\n\tmode: runtimeTaskSessionModeSchema.optional(),\n\tresumeFromTrash: z.boolean().optional(),\n\tbaseRef: z.string(),\n\tcols: z.number().int().positive().optional(),\n\trows: z.number().int().positive().optional(),\n});\nexport type RuntimeTaskSessionStartRequest = z.infer<typeof runtimeTaskSessionStartRequestSchema>;\n\nexport const runtimeTaskSessionStartResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionStartResponse = z.infer<typeof runtimeTaskSessionStartResponseSchema>;\n\nexport const runtimeTaskSessionStopRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskSessionStopRequest = z.infer<typeof runtimeTaskSessionStopRequestSchema>;\n\nexport const runtimeTaskSessionStopResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionStopResponse = z.infer<typeof runtimeTaskSessionStopResponseSchema>;\n\nexport const runtimeTaskSessionInputRequestSchema = z.object({\n\ttaskId: z.string(),\n\ttext: z.string(),\n\tappendNewline: z.boolean().optional(),\n});\nexport type RuntimeTaskSessionInputRequest = z.infer<typeof runtimeTaskSessionInputRequestSchema>;\n\nexport const runtimeTaskSessionInputResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskSessionInputResponse = z.infer<typeof runtimeTaskSessionInputResponseSchema>;\n\nexport const runtimeTaskChatMessageSchema = z.object({\n\tid: z.string(),\n\trole: z.enum([\"user\", \"assistant\", \"system\", \"tool\", \"reasoning\", \"status\"]),\n\tcontent: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tcreatedAt: z.number(),\n\tmeta: z\n\t\t.object({\n\t\t\ttoolName: z.string().nullable().optional(),\n\t\t\thookEventName: z.string().nullable().optional(),\n\t\t\ttoolCallId: z.string().nullable().optional(),\n\t\t\tstreamType: z.string().nullable().optional(),\n\t\t\tmessageKind: z.string().nullable().optional(),\n\t\t\tdisplayRole: z.string().nullable().optional(),\n\t\t\treason: z.string().nullable().optional(),\n\t\t})\n\t\t.nullable()\n\t\t.optional(),\n});\nexport type RuntimeTaskChatMessage = z.infer<typeof runtimeTaskChatMessageSchema>;\n\nexport const runtimeTaskChatMessagesRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatMessagesRequest = z.infer<typeof runtimeTaskChatMessagesRequestSchema>;\n\nexport const runtimeTaskChatMessagesResponseSchema = z.object({\n\tok: z.boolean(),\n\tmessages: z.array(runtimeTaskChatMessageSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatMessagesResponse = z.infer<typeof runtimeTaskChatMessagesResponseSchema>;\n\nexport const runtimeTaskChatSendRequestSchema = z.object({\n\ttaskId: z.string(),\n\ttext: z.string(),\n\timages: z.array(runtimeTaskImageSchema).optional(),\n\tmode: runtimeTaskSessionModeSchema.optional(),\n});\nexport type RuntimeTaskChatSendRequest = z.infer<typeof runtimeTaskChatSendRequestSchema>;\n\nexport const runtimeTaskChatSendResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\tmessage: runtimeTaskChatMessageSchema.nullable().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatSendResponse = z.infer<typeof runtimeTaskChatSendResponseSchema>;\n\nexport const runtimeTaskChatAbortRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatAbortRequest = z.infer<typeof runtimeTaskChatAbortRequestSchema>;\n\nexport const runtimeTaskChatAbortResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatAbortResponse = z.infer<typeof runtimeTaskChatAbortResponseSchema>;\n\nexport const runtimeTaskChatCancelRequestSchema = z.object({\n\ttaskId: z.string(),\n});\nexport type RuntimeTaskChatCancelRequest = z.infer<typeof runtimeTaskChatCancelRequestSchema>;\n\nexport const runtimeTaskChatCancelResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\terror: z.string().optional(),\n});\nexport type RuntimeTaskChatCancelResponse = z.infer<typeof runtimeTaskChatCancelResponseSchema>;\n\nexport const runtimeShellSessionStartRequestSchema = z.object({\n\ttaskId: z.string(),\n\tcols: z.number().int().positive().optional(),\n\trows: z.number().int().positive().optional(),\n\tworkspaceTaskId: z.string().optional(),\n\tbaseRef: z.string(),\n});\nexport type RuntimeShellSessionStartRequest = z.infer<typeof runtimeShellSessionStartRequestSchema>;\n\nexport const runtimeShellSessionStartResponseSchema = z.object({\n\tok: z.boolean(),\n\tsummary: runtimeTaskSessionSummarySchema.nullable(),\n\tshellBinary: z.string().nullable().optional(),\n\terror: z.string().optional(),\n});\nexport type RuntimeShellSessionStartResponse = z.infer<typeof runtimeShellSessionStartResponseSchema>;\n\nexport const runtimeTerminalWsResizeMessageSchema = z.object({\n\ttype: z.literal(\"resize\"),\n\tcols: z.number().int().positive(),\n\trows: z.number().int().positive(),\n\tpixelWidth: z.number().int().positive().optional(),\n\tpixelHeight: z.number().int().positive().optional(),\n});\nexport type RuntimeTerminalWsResizeMessage = z.infer<typeof runtimeTerminalWsResizeMessageSchema>;\n\nexport const runtimeTerminalWsStopMessageSchema = z.object({\n\ttype: z.literal(\"stop\"),\n});\nexport type RuntimeTerminalWsStopMessage = z.infer<typeof runtimeTerminalWsStopMessageSchema>;\n\nexport const runtimeTerminalWsClientMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeTerminalWsResizeMessageSchema,\n\truntimeTerminalWsStopMessageSchema,\n]);\nexport type RuntimeTerminalWsClientMessage = z.infer<typeof runtimeTerminalWsClientMessageSchema>;\n\nexport const runtimeTerminalWsStateMessageSchema = z.object({\n\ttype: z.literal(\"state\"),\n\tsummary: runtimeTaskSessionSummarySchema,\n});\nexport type RuntimeTerminalWsStateMessage = z.infer<typeof runtimeTerminalWsStateMessageSchema>;\n\nexport const runtimeTerminalWsErrorMessageSchema = z.object({\n\ttype: z.literal(\"error\"),\n\tmessage: z.string(),\n});\nexport type RuntimeTerminalWsErrorMessage = z.infer<typeof runtimeTerminalWsErrorMessageSchema>;\n\nexport const runtimeTerminalWsExitMessageSchema = z.object({\n\ttype: z.literal(\"exit\"),\n\tcode: z.number().nullable(),\n});\nexport type RuntimeTerminalWsExitMessage = z.infer<typeof runtimeTerminalWsExitMessageSchema>;\n\nexport const runtimeTerminalWsServerMessageSchema = z.discriminatedUnion(\"type\", [\n\truntimeTerminalWsStateMessageSchema,\n\truntimeTerminalWsErrorMessageSchema,\n\truntimeTerminalWsExitMessageSchema,\n]);\nexport type RuntimeTerminalWsServerMessage = z.infer<typeof runtimeTerminalWsServerMessageSchema>;\n\nexport const runtimeGitCommitSchema = z.object({\n\thash: z.string(),\n\tshortHash: z.string(),\n\tauthorName: z.string(),\n\tauthorEmail: z.string(),\n\tdate: z.string(),\n\tmessage: z.string(),\n\tparentHashes: z.array(z.string()),\n\trelation: z.enum([\"selected\", \"upstream\", \"shared\"]).optional(),\n});\nexport type RuntimeGitCommit = z.infer<typeof runtimeGitCommitSchema>;\n\nexport const runtimeGitRefSchema = z.object({\n\tname: z.string(),\n\ttype: z.enum([\"branch\", \"remote\", \"detached\"]),\n\thash: z.string(),\n\tisHead: z.boolean(),\n\tupstreamName: z.string().optional(),\n\tahead: z.number().optional(),\n\tbehind: z.number().optional(),\n});\nexport type RuntimeGitRef = z.infer<typeof runtimeGitRefSchema>;\n\nexport const runtimeGitLogRequestSchema = z.object({\n\tref: z.string().nullable().optional(),\n\trefs: z.array(z.string()).optional(),\n\tmaxCount: z.number().int().positive().optional(),\n\tskip: z.number().int().nonnegative().optional(),\n\ttaskScope: runtimeTaskWorkspaceInfoRequestSchema.nullable().optional(),\n});\nexport type RuntimeGitLogRequest = z.infer<typeof runtimeGitLogRequestSchema>;\n\nexport const runtimeGitLogResponseSchema = z.object({\n\tok: z.boolean(),\n\tcommits: z.array(runtimeGitCommitSchema),\n\ttotalCount: z.number(),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitLogResponse = z.infer<typeof runtimeGitLogResponseSchema>;\n\nexport const runtimeGitCommitDiffFileSchema = z.object({\n\tpath: z.string(),\n\tpreviousPath: z.string().optional(),\n\tstatus: z.enum([\"modified\", \"added\", \"deleted\", \"renamed\"]),\n\tadditions: z.number(),\n\tdeletions: z.number(),\n\tpatch: z.string(),\n});\nexport type RuntimeGitCommitDiffFile = z.infer<typeof runtimeGitCommitDiffFileSchema>;\n\nexport const runtimeGitCommitDiffRequestSchema = z.object({\n\tcommitHash: z.string(),\n\ttaskScope: runtimeTaskWorkspaceInfoRequestSchema.nullable().optional(),\n});\nexport type RuntimeGitCommitDiffRequest = z.infer<typeof runtimeGitCommitDiffRequestSchema>;\n\nexport const runtimeGitCommitDiffResponseSchema = z.object({\n\tok: z.boolean(),\n\tcommitHash: z.string(),\n\tfiles: z.array(runtimeGitCommitDiffFileSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitCommitDiffResponse = z.infer<typeof runtimeGitCommitDiffResponseSchema>;\n\nexport const runtimeGitRefsResponseSchema = z.object({\n\tok: z.boolean(),\n\trefs: z.array(runtimeGitRefSchema),\n\terror: z.string().optional(),\n});\nexport type RuntimeGitRefsResponse = z.infer<typeof runtimeGitRefsResponseSchema>;\n\nexport const runtimeHookEventSchema = z.enum([\"to_review\", \"to_in_progress\", \"activity\"]);\nexport type RuntimeHookEvent = z.infer<typeof runtimeHookEventSchema>;\n\nexport const runtimeHookIngestRequestSchema = z.object({\n\ttaskId: z.string(),\n\tworkspaceId: z.string(),\n\tevent: runtimeHookEventSchema,\n\tmetadata: runtimeTaskHookActivitySchema.partial().optional(),\n});\nexport type RuntimeHookIngestRequest = z.infer<typeof runtimeHookIngestRequestSchema>;\n\nexport const runtimeHookIngestResponseSchema = z.object({\n\tok: z.boolean(),\n\terror: z.string().optional(),\n});\nexport type RuntimeHookIngestResponse = z.infer<typeof runtimeHookIngestResponseSchema>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-system-prompt.d.ts","sourceRoot":"","sources":["../../src/prompts/append-system-prompt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAS9D,MAAM,WAAW,6CAA6C;IAC7D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,+BAA+B;IAC/C,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC;AA8CD,wBAAgB,sCAAsC,CACrD,OAAO,GAAE,6CAAkD,GACzD,MAAM,CAiDR;AAED,wBAAgB,wBAAwB,CACvC,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE,+BAAoC,GAC3C,MAAM,
|
|
1
|
+
{"version":3,"file":"append-system-prompt.d.ts","sourceRoot":"","sources":["../../src/prompts/append-system-prompt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAS9D,MAAM,WAAW,6CAA6C;IAC7D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,+BAA+B;IAC/C,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC;AA8CD,wBAAgB,sCAAsC,CACrD,OAAO,GAAE,6CAAkD,GACzD,MAAM,CAiDR;AAED,wBAAgB,wBAAwB,CACvC,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE,+BAAoC,GAC3C,MAAM,CAqKR;AAED,wBAAgB,kCAAkC,CACjD,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,6CAAkD,GACzD,MAAM,GAAG,IAAI,CAOf"}
|
|
@@ -101,6 +101,7 @@ Kanban is a CLI tool for orchestrating multiple coding agents working on tasks i
|
|
|
101
101
|
- If the user asks to add tasks to kb, ask kb, kanban, or says add tasks without other context, they likely want to add tasks in Kanban. This includes phrases like "create tasks", "make 3 tasks", "add a task", "break down into tasks", "split into tasks", "decompose into tasks", and "turn into tasks".
|
|
102
102
|
- Kanban also supports linking tasks. Linking is useful both for parallelization and for dependencies: when work is easy to decompose into multiple pieces that can be done in parallel, link multiple backlog tasks to the same dependency so they all become ready to start once that dependency finishes; when one piece of work depends on another, use links to represent that follow-on dependency. If both linked tasks are in backlog, Kanban preserves the order you pass to the command: \`--task-id\` waits on \`--linked-task-id\`, and on the board the arrow points into \`--linked-task-id\`. Once only one linked task remains in backlog, Kanban reorients the saved dependency so the backlog task is the waiting dependent task and the other task is the prerequisite. The board arrow points into the prerequisite task so the user can see what must finish first. A link requires at least one backlog task, and when the linked review task is moved to trash, that backlog task becomes ready to start.
|
|
103
103
|
- Tasks can also enable automatic review actions: auto-commit, auto-open-pr, or auto-move-to-trash once completed, sending the task to trash and kicking off any linked tasks.
|
|
104
|
+
- If your current working directory is inside \`.cline/worktrees/\`, you are inside a Kanban task worktree. In that case, create or manage tasks against the main workspace path, not the task worktree path. Pass the main workspace with \`--project-path\`.
|
|
104
105
|
- If a task command fails because the runtime is unavailable, tell the user to start Kanban in that workspace first with \`${kanbanCommand}\`, then retry the task command.
|
|
105
106
|
|
|
106
107
|
# Command Prefix
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-system-prompt.js","sourceRoot":"","sources":["../../src/prompts/append-system-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAGnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAElG,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,WAAW,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AAe/F,MAAM,uBAAuB,GAA8B;IAC1D,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;IACR,UAAU;CACV,CAAC;AAEF,SAAS,gBAAgB,CAAC,KAAa;IACtC,OAAO,uBAAuB,CAAC,QAAQ,CAAC,KAAuB,CAAC,C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Aa,GAAG,aAAa,CAAC,IAAI,EAAE,IAAI,sBAAsB,CAAC;IACrE,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC;IAChD,OAAO;;;;;;;;;6HASqH,aAAa;;;;;IAKtI,aAAa;;;;;;;;;;;;;;;;0BAgBS,eAAe,IAAI,SAAS;EACpD,iCAAiC,CAAC,eAAe,CAAC;;;;;;;;;;;;;IAahD,aAAa;;;;;;;;;;;IAWb,aAAa;;;;;;;;;;;;;;;IAeb,aAAa;;;;;;;;;;;;;;;;;;;IAmBb,aAAa;;;;;;;;;;;;;;;;IAgBb,aAAa;;;;;;;;;;;;;;;;IAgBb,aAAa;;;;;;;;;;;;;;;;;;IAkBb,aAAa;;;;;;;;;;;IAWb,aAAa;;;;;;;;;;CAUhB,CAAC;AACF,CAAC;AAED,MAAM,UAAU,kCAAkC,CACjD,MAAc,EACd,UAAyD,EAAE;IAE3D,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACb,CAAC;IACD,OAAO,wBAAwB,CAAC,sCAAsC,CAAC,OAAO,CAAC,EAAE;QAChF,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC;KACnC,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { realpathSync } from \"node:fs\";\n\nimport packageJson from \"../../package.json\" with { type: \"json\" };\n\nimport type { RuntimeAgentId } from \"../core/api-contract.js\";\nimport { resolveKanbanCommandParts } from \"../core/kanban-command.js\";\nimport { buildShellCommandLine } from \"../core/shell.js\";\nimport { isHomeAgentSessionId } from \"../core/home-agent-session.js\";\nimport { AutoUpdatePackageManager, detectAutoUpdateInstallation } from \"../update/auto-update.js\";\n\nconst DEFAULT_COMMAND_PREFIX = \"kanban\";\nconst KANBAN_VERSION = typeof packageJson.version === \"string\" ? packageJson.version : \"0.1.0\";\n\nexport interface ResolveAppendSystemPromptCommandPrefixOptions {\n\tcurrentVersion?: string;\n\targv?: string[];\n\texecArgv?: string[];\n\texecPath?: string;\n\tcwd?: string;\n\tresolveRealPath?: (path: string) => string;\n}\n\nexport interface RenderAppendSystemPromptOptions {\n\tagentId?: RuntimeAgentId | null;\n}\n\nconst APPEND_PROMPT_AGENT_IDS: readonly RuntimeAgentId[] = [\n\t\"claude\",\n\t\"codex\",\n\t\"cline\",\n\t\"droid\",\n\t\"gemini\",\n\t\"opencode\",\n];\n\nfunction isRuntimeAgentId(value: string): value is RuntimeAgentId {\n\treturn APPEND_PROMPT_AGENT_IDS.includes(value as RuntimeAgentId);\n}\n\nfunction resolveHomeAgentId(taskId: string): RuntimeAgentId | null {\n\tif (!isHomeAgentSessionId(taskId)) {\n\t\treturn null;\n\t}\n\tconst parts = taskId.split(\":\");\n\tconst maybeAgentId = parts.at(-2) ?? null;\n\tif (!maybeAgentId || !isRuntimeAgentId(maybeAgentId)) {\n\t\treturn null;\n\t}\n\treturn maybeAgentId;\n}\n\nfunction renderLinearSetupGuidanceForAgent(agentId: RuntimeAgentId | null): string {\n\tswitch (agentId) {\n\t\tcase \"cline\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Cline), open MCP settings in the app, add server name `linear`, URL `https://mcp.linear.app/mcp`, transport `http`, then complete OAuth.\";\n\t\tcase \"claude\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Claude Code), run: `claude mcp add --transport http --scope user linear https://mcp.linear.app/mcp`\";\n\t\tcase \"codex\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (OpenAI Codex), run: `codex mcp add linear --url https://mcp.linear.app/mcp`\";\n\t\tcase \"gemini\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Gemini CLI), run: `gemini mcp add linear https://mcp.linear.app/mcp --transport http --scope user`\";\n\t\tcase \"opencode\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (OpenCode), run `opencode mcp add`, then use name `linear` and URL `https://mcp.linear.app/mcp`.\";\n\t\tcase \"droid\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Droid), run: `droid mcp add linear https://mcp.linear.app/mcp --type http`\";\n\t\tdefault:\n\t\t\treturn \"- If Linear MCP is not available, provide setup instructions for the active agent only, then continue once OAuth is complete.\";\n\t}\n}\n\nexport function resolveAppendSystemPromptCommandPrefix(\n\toptions: ResolveAppendSystemPromptCommandPrefixOptions = {},\n): string {\n\tconst argv = options.argv ?? process.argv;\n\tconst fallbackCommandParts = resolveKanbanCommandParts({\n\t\texecPath: options.execPath ?? process.execPath,\n\t\targv,\n\t\texecArgv: options.execArgv ?? process.execArgv,\n\t});\n\tconst fallbackCommandPrefix = buildShellCommandLine(\n\t\tfallbackCommandParts[0] ?? DEFAULT_COMMAND_PREFIX,\n\t\tfallbackCommandParts.slice(1),\n\t);\n\tconst entrypointArg = argv[1];\n\tif (!entrypointArg) {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tconst resolveRealPath = options.resolveRealPath ?? realpathSync;\n\tlet entrypointPath: string;\n\ttry {\n\t\tentrypointPath = resolveRealPath(entrypointArg);\n\t} catch {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tconst installation = detectAutoUpdateInstallation({\n\t\tcurrentVersion: options.currentVersion ?? KANBAN_VERSION,\n\t\tpackageName: \"kanban\",\n\t\tentrypointPath,\n\t\tcwd: options.cwd ?? process.cwd(),\n\t});\n\n\tif (installation.updateTiming !== \"shutdown\") {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tif (installation.packageManager === AutoUpdatePackageManager.NPX) {\n\t\treturn \"npx -y kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.PNPM) {\n\t\treturn \"pnpm dlx kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.YARN) {\n\t\treturn \"yarn dlx kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.BUN) {\n\t\treturn \"bun x kanban\";\n\t}\n\n\treturn fallbackCommandPrefix;\n}\n\nexport function renderAppendSystemPrompt(\n\tcommandPrefix: string,\n\toptions: RenderAppendSystemPromptOptions = {},\n): string {\n\tconst kanbanCommand = commandPrefix.trim() || DEFAULT_COMMAND_PREFIX;\n\tconst selectedAgentId = options.agentId ?? null;\n\treturn `# Kanban Sidebar\n\nYou are the Kanban sidebar agent for this workspace. Help the user interact with their Kanban board directly from this side panel. When the user asks to add tasks, create tasks, break work down, link tasks, or start tasks, prefer using the Kanban CLI yourself instead of describing manual steps.\n\nKanban is a CLI tool for orchestrating multiple coding agents working on tasks in parallel on a kanban board. It manages git worktrees automatically so that each task can run a dedicated CLI agent in its own worktree.\n\n- If the user asks to add tasks to kb, ask kb, kanban, or says add tasks without other context, they likely want to add tasks in Kanban. This includes phrases like \"create tasks\", \"make 3 tasks\", \"add a task\", \"break down into tasks\", \"split into tasks\", \"decompose into tasks\", and \"turn into tasks\".\n- Kanban also supports linking tasks. Linking is useful both for parallelization and for dependencies: when work is easy to decompose into multiple pieces that can be done in parallel, link multiple backlog tasks to the same dependency so they all become ready to start once that dependency finishes; when one piece of work depends on another, use links to represent that follow-on dependency. If both linked tasks are in backlog, Kanban preserves the order you pass to the command: \\`--task-id\\` waits on \\`--linked-task-id\\`, and on the board the arrow points into \\`--linked-task-id\\`. Once only one linked task remains in backlog, Kanban reorients the saved dependency so the backlog task is the waiting dependent task and the other task is the prerequisite. The board arrow points into the prerequisite task so the user can see what must finish first. A link requires at least one backlog task, and when the linked review task is moved to trash, that backlog task becomes ready to start.\n- Tasks can also enable automatic review actions: auto-commit, auto-open-pr, or auto-move-to-trash once completed, sending the task to trash and kicking off any linked tasks.\n- If a task command fails because the runtime is unavailable, tell the user to start Kanban in that workspace first with \\`${kanbanCommand}\\`, then retry the task command.\n\n# Command Prefix\n\nUse this prefix for every Kanban command in this session:\n\\`${kanbanCommand}\\`\n\n# Tool Invocation Notes\n\n- When using the \\`run_commands\\` tool, always pass \\`commands\\` as an array, even when running only one command.\n\n# GitHub and Linear Guidance\n\n- If the user asks for GitHub work (issues, PRs, repos, comments, labels, milestones) or includes a \\`github.com\\` URL, prefer the \\`gh\\` CLI first.\n- Prefer native GitHub commands over manual browser walkthroughs when possible, for example: \\`gh issue view\\`, \\`gh pr view\\`, \\`gh repo view\\`, \\`gh pr checks\\`, \\`gh pr diff\\`.\n- If \\`gh\\` is missing, guide installation based on platform:\n - macOS: \\`brew install gh\\`\n - Windows: \\`winget install --id GitHub.cli\\`\n - Linux: use the distro package or official instructions at \\`https://cli.github.com/\\`\n\n- If the user references Linear (Linear links, Linear issue IDs, or Linear workflows), prefer Linear MCP tools when available.\n- Current home agent: \\`${selectedAgentId ?? \"unknown\"}\\`\n${renderLinearSetupGuidanceForAgent(selectedAgentId)}\n- After setup, run the agent MCP auth flow (often \\`/mcp\\`) and complete OAuth before using Linear tools.\n- Linear MCP docs: \\`https://linear.app/docs/mcp\\`\n\n# CLI Reference\n\nAll commands return JSON.\n\n## task list\n\nPurpose: list Kanban tasks for a workspace, including auto-review settings and dependency links.\n\nCommand:\n\\`${kanbanCommand} task list [--project-path <path>] [--column backlog|in_progress|review|trash]\\`\n\nParameters:\n- \\`--project-path <path>\\` optional workspace path. If omitted, uses the current working directory workspace.\n- \\`--column <value>\\` optional filter. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n\n## task create\n\nPurpose: create a new task in \\`backlog\\`, with optional plan mode and auto-review behavior.\n\nCommand:\n\\`${kanbanCommand} task create --prompt \"<text>\" [--project-path <path>] [--base-ref <branch>] [--start-in-plan-mode <true|false>] [--auto-review-enabled <true|false>] [--auto-review-mode commit|pr|move_to_trash]\\`\n\nParameters:\n- \\`--prompt \"<text>\"\\` required task prompt text.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n- \\`--base-ref <branch>\\` optional base branch/worktree ref. Defaults to current branch, then default branch, then first known branch.\n- \\`--start-in-plan-mode <true|false>\\` optional. Default false. Set true only when explicitly requested.\n- \\`--auto-review-enabled <true|false>\\` optional. Default false. Enables automatic action once task reaches review.\n- \\`--auto-review-mode commit|pr|move_to_trash\\` optional auto-review action. Default \\`commit\\`.\n\n## task update\n\nPurpose: update an existing task, including prompt, base ref, plan mode, and auto-review behavior.\n\nCommand:\n\\`${kanbanCommand} task update --task-id <task_id> [--prompt \"<text>\"] [--project-path <path>] [--base-ref <branch>] [--start-in-plan-mode <true|false>] [--auto-review-enabled <true|false>] [--auto-review-mode commit|pr|move_to_trash]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required task ID.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n- \\`--prompt \"<text>\"\\` optional replacement prompt text.\n- \\`--base-ref <branch>\\` optional replacement base ref.\n- \\`--start-in-plan-mode <true|false>\\` optional replacement of plan-mode behavior.\n- \\`--auto-review-enabled <true|false>\\` optional replacement of auto-review toggle. Set false to cancel pending automatic review actions.\n- \\`--auto-review-mode commit|pr|move_to_trash\\` optional replacement auto-review action.\n\nNotes:\n- Provide at least one field to change in addition to \\`--task-id\\`.\n\n## task trash\n\nPurpose: move a task or an entire column to \\`trash\\`, stop active sessions if needed, clean up task worktrees, and auto-start any linked backlog tasks that become ready.\n\nCommand:\n\\`${kanbanCommand} task trash (--task-id <task_id> | --column backlog|in_progress|review|trash) [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` optional single-task target.\n- \\`--column <value>\\` optional bulk target. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- Provide exactly one of \\`--task-id\\` or \\`--column\\`.\n- \\`task trash --column trash\\` is a no-op for tasks already in trash.\n\n## task delete\n\nPurpose: permanently delete a task or every task in a column, removing cards, dependency links, and task worktrees.\n\nCommand:\n\\`${kanbanCommand} task delete (--task-id <task_id> | --column backlog|in_progress|review|trash) [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` optional single-task target.\n- \\`--column <value>\\` optional bulk target. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- Provide exactly one of \\`--task-id\\` or \\`--column\\`.\n- \\`task delete --column trash\\` is the way to clear the trash column.\n\n## task link\n\nPurpose: link two tasks so one task waits on another. At least one linked task must be in backlog.\n\nCommand:\n\\`${kanbanCommand} task link --task-id <task_id> --linked-task-id <task_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required one of the two task IDs to link.\n- \\`--linked-task-id <task_id>\\` required the other task ID to link.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- If both linked tasks are in backlog, Kanban preserves the order you pass: \\`--task-id\\` waits on \\`--linked-task-id\\`.\n- On the board, the dependency arrow points into the task that must finish first.\n- Once only one linked task remains in backlog, Kanban reorients the saved dependency so the backlog task is the waiting dependent task and the other task is the prerequisite.\n- When the prerequisite task finishes review and is moved to trash, the waiting backlog task becomes ready to start.\n\n## task unlink\n\nPurpose: remove an existing task link (dependency) by dependency ID.\n\nCommand:\n\\`${kanbanCommand} task unlink --dependency-id <dependency_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--dependency-id <dependency_id>\\` required dependency ID. Use \\`task list\\` to inspect existing links.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\n## task start\n\nPurpose: start a task by ensuring its worktree, launching its agent session, and moving it to \\`in_progress\\`.\n\nCommand:\n\\`${kanbanCommand} task start --task-id <task_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required task ID.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\n# Workflow Notes\n\n- Prefer \\`task list\\` first when task IDs or dependency IDs are needed.\n- To create multiple linked tasks, create tasks first, then call \\`task link\\` for each dependency edge.\n`;\n}\n\nexport function resolveHomeAgentAppendSystemPrompt(\n\ttaskId: string,\n\toptions: ResolveAppendSystemPromptCommandPrefixOptions = {},\n): string | null {\n\tif (!isHomeAgentSessionId(taskId)) {\n\t\treturn null;\n\t}\n\treturn renderAppendSystemPrompt(resolveAppendSystemPromptCommandPrefix(options), {\n\t\tagentId: resolveHomeAgentId(taskId),\n\t});\n}\n"]}
|
|
1
|
+
{"version":3,"file":"append-system-prompt.js","sourceRoot":"","sources":["../../src/prompts/append-system-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAGnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAElG,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,WAAW,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AAe/F,MAAM,uBAAuB,GAA8B;IAC1D,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;IACR,UAAU;CACV,CAAC;AAEF,SAAS,gBAAgB,CAAC,KAAa;IACtC,OAAO,uBAAuB,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAC;AAClE,CAAC;AAED,SAAS,kBAAkB,CAAC,MAAc;IACzC,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACb,CAAC;IACD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChC,MAA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EACpD,iCAAiC,CAAC,eAAe,CAAC;;;;;;;;;;;;;IAahD,aAAa;;;;;;;;;;;IAWb,aAAa;;;;;;;;;;;;;;;IAeb,aAAa;;;;;;;;;;;;;;;;;;;IAmBb,aAAa;;;;;;;;;;;;;;;;IAgBb,aAAa;;;;;;;;;;;;;;;;IAgBb,aAAa;;;;;;;;;;;;;;;;;;IAkBb,aAAa;;;;;;;;;;;IAWb,aAAa;;;;;;;;;;CAUhB,CAAC;AACF,CAAC;AAED,MAAM,UAAU,kCAAkC,CACjD,MAAc,EACd,UAAyD,EAAE;IAE3D,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACb,CAAC;IACD,OAAO,wBAAwB,CAAC,sCAAsC,CAAC,OAAO,CAAC,EAAE;QAChF,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC;KACnC,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { realpathSync } from \"node:fs\";\n\nimport packageJson from \"../../package.json\" with { type: \"json\" };\n\nimport type { RuntimeAgentId } from \"../core/api-contract.js\";\nimport { resolveKanbanCommandParts } from \"../core/kanban-command.js\";\nimport { buildShellCommandLine } from \"../core/shell.js\";\nimport { isHomeAgentSessionId } from \"../core/home-agent-session.js\";\nimport { AutoUpdatePackageManager, detectAutoUpdateInstallation } from \"../update/auto-update.js\";\n\nconst DEFAULT_COMMAND_PREFIX = \"kanban\";\nconst KANBAN_VERSION = typeof packageJson.version === \"string\" ? packageJson.version : \"0.1.0\";\n\nexport interface ResolveAppendSystemPromptCommandPrefixOptions {\n\tcurrentVersion?: string;\n\targv?: string[];\n\texecArgv?: string[];\n\texecPath?: string;\n\tcwd?: string;\n\tresolveRealPath?: (path: string) => string;\n}\n\nexport interface RenderAppendSystemPromptOptions {\n\tagentId?: RuntimeAgentId | null;\n}\n\nconst APPEND_PROMPT_AGENT_IDS: readonly RuntimeAgentId[] = [\n\t\"claude\",\n\t\"codex\",\n\t\"cline\",\n\t\"droid\",\n\t\"gemini\",\n\t\"opencode\",\n];\n\nfunction isRuntimeAgentId(value: string): value is RuntimeAgentId {\n\treturn APPEND_PROMPT_AGENT_IDS.includes(value as RuntimeAgentId);\n}\n\nfunction resolveHomeAgentId(taskId: string): RuntimeAgentId | null {\n\tif (!isHomeAgentSessionId(taskId)) {\n\t\treturn null;\n\t}\n\tconst parts = taskId.split(\":\");\n\tconst maybeAgentId = parts.at(-2) ?? null;\n\tif (!maybeAgentId || !isRuntimeAgentId(maybeAgentId)) {\n\t\treturn null;\n\t}\n\treturn maybeAgentId;\n}\n\nfunction renderLinearSetupGuidanceForAgent(agentId: RuntimeAgentId | null): string {\n\tswitch (agentId) {\n\t\tcase \"cline\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Cline), open MCP settings in the app, add server name `linear`, URL `https://mcp.linear.app/mcp`, transport `http`, then complete OAuth.\";\n\t\tcase \"claude\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Claude Code), run: `claude mcp add --transport http --scope user linear https://mcp.linear.app/mcp`\";\n\t\tcase \"codex\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (OpenAI Codex), run: `codex mcp add linear --url https://mcp.linear.app/mcp`\";\n\t\tcase \"gemini\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Gemini CLI), run: `gemini mcp add linear https://mcp.linear.app/mcp --transport http --scope user`\";\n\t\tcase \"opencode\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (OpenCode), run `opencode mcp add`, then use name `linear` and URL `https://mcp.linear.app/mcp`.\";\n\t\tcase \"droid\":\n\t\t\treturn \"- If Linear MCP is not available in the current agent (Droid), run: `droid mcp add linear https://mcp.linear.app/mcp --type http`\";\n\t\tdefault:\n\t\t\treturn \"- If Linear MCP is not available, provide setup instructions for the active agent only, then continue once OAuth is complete.\";\n\t}\n}\n\nexport function resolveAppendSystemPromptCommandPrefix(\n\toptions: ResolveAppendSystemPromptCommandPrefixOptions = {},\n): string {\n\tconst argv = options.argv ?? process.argv;\n\tconst fallbackCommandParts = resolveKanbanCommandParts({\n\t\texecPath: options.execPath ?? process.execPath,\n\t\targv,\n\t\texecArgv: options.execArgv ?? process.execArgv,\n\t});\n\tconst fallbackCommandPrefix = buildShellCommandLine(\n\t\tfallbackCommandParts[0] ?? DEFAULT_COMMAND_PREFIX,\n\t\tfallbackCommandParts.slice(1),\n\t);\n\tconst entrypointArg = argv[1];\n\tif (!entrypointArg) {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tconst resolveRealPath = options.resolveRealPath ?? realpathSync;\n\tlet entrypointPath: string;\n\ttry {\n\t\tentrypointPath = resolveRealPath(entrypointArg);\n\t} catch {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tconst installation = detectAutoUpdateInstallation({\n\t\tcurrentVersion: options.currentVersion ?? KANBAN_VERSION,\n\t\tpackageName: \"kanban\",\n\t\tentrypointPath,\n\t\tcwd: options.cwd ?? process.cwd(),\n\t});\n\n\tif (installation.updateTiming !== \"shutdown\") {\n\t\treturn fallbackCommandPrefix;\n\t}\n\n\tif (installation.packageManager === AutoUpdatePackageManager.NPX) {\n\t\treturn \"npx -y kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.PNPM) {\n\t\treturn \"pnpm dlx kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.YARN) {\n\t\treturn \"yarn dlx kanban\";\n\t}\n\tif (installation.packageManager === AutoUpdatePackageManager.BUN) {\n\t\treturn \"bun x kanban\";\n\t}\n\n\treturn fallbackCommandPrefix;\n}\n\nexport function renderAppendSystemPrompt(\n\tcommandPrefix: string,\n\toptions: RenderAppendSystemPromptOptions = {},\n): string {\n\tconst kanbanCommand = commandPrefix.trim() || DEFAULT_COMMAND_PREFIX;\n\tconst selectedAgentId = options.agentId ?? null;\n\treturn `# Kanban Sidebar\n\nYou are the Kanban sidebar agent for this workspace. Help the user interact with their Kanban board directly from this side panel. When the user asks to add tasks, create tasks, break work down, link tasks, or start tasks, prefer using the Kanban CLI yourself instead of describing manual steps.\n\nKanban is a CLI tool for orchestrating multiple coding agents working on tasks in parallel on a kanban board. It manages git worktrees automatically so that each task can run a dedicated CLI agent in its own worktree.\n\n- If the user asks to add tasks to kb, ask kb, kanban, or says add tasks without other context, they likely want to add tasks in Kanban. This includes phrases like \"create tasks\", \"make 3 tasks\", \"add a task\", \"break down into tasks\", \"split into tasks\", \"decompose into tasks\", and \"turn into tasks\".\n- Kanban also supports linking tasks. Linking is useful both for parallelization and for dependencies: when work is easy to decompose into multiple pieces that can be done in parallel, link multiple backlog tasks to the same dependency so they all become ready to start once that dependency finishes; when one piece of work depends on another, use links to represent that follow-on dependency. If both linked tasks are in backlog, Kanban preserves the order you pass to the command: \\`--task-id\\` waits on \\`--linked-task-id\\`, and on the board the arrow points into \\`--linked-task-id\\`. Once only one linked task remains in backlog, Kanban reorients the saved dependency so the backlog task is the waiting dependent task and the other task is the prerequisite. The board arrow points into the prerequisite task so the user can see what must finish first. A link requires at least one backlog task, and when the linked review task is moved to trash, that backlog task becomes ready to start.\n- Tasks can also enable automatic review actions: auto-commit, auto-open-pr, or auto-move-to-trash once completed, sending the task to trash and kicking off any linked tasks.\n- If your current working directory is inside \\`.cline/worktrees/\\`, you are inside a Kanban task worktree. In that case, create or manage tasks against the main workspace path, not the task worktree path. Pass the main workspace with \\`--project-path\\`.\n- If a task command fails because the runtime is unavailable, tell the user to start Kanban in that workspace first with \\`${kanbanCommand}\\`, then retry the task command.\n\n# Command Prefix\n\nUse this prefix for every Kanban command in this session:\n\\`${kanbanCommand}\\`\n\n# Tool Invocation Notes\n\n- When using the \\`run_commands\\` tool, always pass \\`commands\\` as an array, even when running only one command.\n\n# GitHub and Linear Guidance\n\n- If the user asks for GitHub work (issues, PRs, repos, comments, labels, milestones) or includes a \\`github.com\\` URL, prefer the \\`gh\\` CLI first.\n- Prefer native GitHub commands over manual browser walkthroughs when possible, for example: \\`gh issue view\\`, \\`gh pr view\\`, \\`gh repo view\\`, \\`gh pr checks\\`, \\`gh pr diff\\`.\n- If \\`gh\\` is missing, guide installation based on platform:\n - macOS: \\`brew install gh\\`\n - Windows: \\`winget install --id GitHub.cli\\`\n - Linux: use the distro package or official instructions at \\`https://cli.github.com/\\`\n\n- If the user references Linear (Linear links, Linear issue IDs, or Linear workflows), prefer Linear MCP tools when available.\n- Current home agent: \\`${selectedAgentId ?? \"unknown\"}\\`\n${renderLinearSetupGuidanceForAgent(selectedAgentId)}\n- After setup, run the agent MCP auth flow (often \\`/mcp\\`) and complete OAuth before using Linear tools.\n- Linear MCP docs: \\`https://linear.app/docs/mcp\\`\n\n# CLI Reference\n\nAll commands return JSON.\n\n## task list\n\nPurpose: list Kanban tasks for a workspace, including auto-review settings and dependency links.\n\nCommand:\n\\`${kanbanCommand} task list [--project-path <path>] [--column backlog|in_progress|review|trash]\\`\n\nParameters:\n- \\`--project-path <path>\\` optional workspace path. If omitted, uses the current working directory workspace.\n- \\`--column <value>\\` optional filter. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n\n## task create\n\nPurpose: create a new task in \\`backlog\\`, with optional plan mode and auto-review behavior.\n\nCommand:\n\\`${kanbanCommand} task create --prompt \"<text>\" [--project-path <path>] [--base-ref <branch>] [--start-in-plan-mode <true|false>] [--auto-review-enabled <true|false>] [--auto-review-mode commit|pr|move_to_trash]\\`\n\nParameters:\n- \\`--prompt \"<text>\"\\` required task prompt text.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n- \\`--base-ref <branch>\\` optional base branch/worktree ref. Defaults to current branch, then default branch, then first known branch.\n- \\`--start-in-plan-mode <true|false>\\` optional. Default false. Set true only when explicitly requested.\n- \\`--auto-review-enabled <true|false>\\` optional. Default false. Enables automatic action once task reaches review.\n- \\`--auto-review-mode commit|pr|move_to_trash\\` optional auto-review action. Default \\`commit\\`.\n\n## task update\n\nPurpose: update an existing task, including prompt, base ref, plan mode, and auto-review behavior.\n\nCommand:\n\\`${kanbanCommand} task update --task-id <task_id> [--prompt \"<text>\"] [--project-path <path>] [--base-ref <branch>] [--start-in-plan-mode <true|false>] [--auto-review-enabled <true|false>] [--auto-review-mode commit|pr|move_to_trash]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required task ID.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n- \\`--prompt \"<text>\"\\` optional replacement prompt text.\n- \\`--base-ref <branch>\\` optional replacement base ref.\n- \\`--start-in-plan-mode <true|false>\\` optional replacement of plan-mode behavior.\n- \\`--auto-review-enabled <true|false>\\` optional replacement of auto-review toggle. Set false to cancel pending automatic review actions.\n- \\`--auto-review-mode commit|pr|move_to_trash\\` optional replacement auto-review action.\n\nNotes:\n- Provide at least one field to change in addition to \\`--task-id\\`.\n\n## task trash\n\nPurpose: move a task or an entire column to \\`trash\\`, stop active sessions if needed, clean up task worktrees, and auto-start any linked backlog tasks that become ready.\n\nCommand:\n\\`${kanbanCommand} task trash (--task-id <task_id> | --column backlog|in_progress|review|trash) [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` optional single-task target.\n- \\`--column <value>\\` optional bulk target. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- Provide exactly one of \\`--task-id\\` or \\`--column\\`.\n- \\`task trash --column trash\\` is a no-op for tasks already in trash.\n\n## task delete\n\nPurpose: permanently delete a task or every task in a column, removing cards, dependency links, and task worktrees.\n\nCommand:\n\\`${kanbanCommand} task delete (--task-id <task_id> | --column backlog|in_progress|review|trash) [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` optional single-task target.\n- \\`--column <value>\\` optional bulk target. Allowed values: \\`backlog\\`, \\`in_progress\\`, \\`review\\`, \\`trash\\`.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- Provide exactly one of \\`--task-id\\` or \\`--column\\`.\n- \\`task delete --column trash\\` is the way to clear the trash column.\n\n## task link\n\nPurpose: link two tasks so one task waits on another. At least one linked task must be in backlog.\n\nCommand:\n\\`${kanbanCommand} task link --task-id <task_id> --linked-task-id <task_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required one of the two task IDs to link.\n- \\`--linked-task-id <task_id>\\` required the other task ID to link.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\nNotes:\n- If both linked tasks are in backlog, Kanban preserves the order you pass: \\`--task-id\\` waits on \\`--linked-task-id\\`.\n- On the board, the dependency arrow points into the task that must finish first.\n- Once only one linked task remains in backlog, Kanban reorients the saved dependency so the backlog task is the waiting dependent task and the other task is the prerequisite.\n- When the prerequisite task finishes review and is moved to trash, the waiting backlog task becomes ready to start.\n\n## task unlink\n\nPurpose: remove an existing task link (dependency) by dependency ID.\n\nCommand:\n\\`${kanbanCommand} task unlink --dependency-id <dependency_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--dependency-id <dependency_id>\\` required dependency ID. Use \\`task list\\` to inspect existing links.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\n## task start\n\nPurpose: start a task by ensuring its worktree, launching its agent session, and moving it to \\`in_progress\\`.\n\nCommand:\n\\`${kanbanCommand} task start --task-id <task_id> [--project-path <path>]\\`\n\nParameters:\n- \\`--task-id <task_id>\\` required task ID.\n- \\`--project-path <path>\\` optional workspace path. If not already registered in Kanban, it is auto-added for git repos.\n\n# Workflow Notes\n\n- Prefer \\`task list\\` first when task IDs or dependency IDs are needed.\n- To create multiple linked tasks, create tasks first, then call \\`task link\\` for each dependency edge.\n`;\n}\n\nexport function resolveHomeAgentAppendSystemPrompt(\n\ttaskId: string,\n\toptions: ResolveAppendSystemPromptCommandPrefixOptions = {},\n): string | null {\n\tif (!isHomeAgentSessionId(taskId)) {\n\t\treturn null;\n\t}\n\treturn renderAppendSystemPrompt(resolveAppendSystemPromptCommandPrefix(options), {\n\t\tagentId: resolveHomeAgentId(taskId),\n\t});\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-server.d.ts","sourceRoot":"","sources":["../../src/server/runtime-server.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,yBAAyB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAQxG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAQ7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,UAAU,6BAA6B;IACtC,eAAe,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC/C,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,+BAA+B;IAC/C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,iCAAiC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC9G,8BAA8B,EAAE,MAAM;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IACzE,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,uBAAuB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACzE,qBAAqB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,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,CAAC,sBAAsB,CAAC,CAAC;IAC9G,8BAA8B,EAAE,MAAM;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IACzE,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,uBAAuB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACzE,qBAAqB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,gBAAgB,EAAE,CACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE;QACT,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAC/B,KACG,6BAA6B,CAAC;IACnC,uCAAuC,EAAE,CAAC,KAAK,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,MAAM,CAAC,CAAC;IACxG,iCAAiC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,WAAW,aAAa;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAqBD,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,+BAA+B,GAAG,OAAO,CAAC,aAAa,CAAC,CAgPvG"}
|
|
@@ -72,13 +72,36 @@ export async function createRuntimeServer(deps) {
|
|
|
72
72
|
}
|
|
73
73
|
return service;
|
|
74
74
|
};
|
|
75
|
-
const
|
|
75
|
+
const disposeClineTaskSessionServiceAsync = async (workspaceId) => {
|
|
76
76
|
const service = clineTaskSessionServiceByWorkspaceId.get(workspaceId);
|
|
77
77
|
if (!service) {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
clineTaskSessionServiceByWorkspaceId.delete(workspaceId);
|
|
81
|
-
|
|
81
|
+
await service.dispose();
|
|
82
|
+
};
|
|
83
|
+
const disposeClineTaskSessionService = (workspaceId) => {
|
|
84
|
+
void disposeClineTaskSessionServiceAsync(workspaceId);
|
|
85
|
+
};
|
|
86
|
+
const prepareForStateReset = async () => {
|
|
87
|
+
const workspaceIds = new Set();
|
|
88
|
+
for (const { workspaceId } of deps.workspaceRegistry.listManagedWorkspaces()) {
|
|
89
|
+
workspaceIds.add(workspaceId);
|
|
90
|
+
}
|
|
91
|
+
for (const workspaceId of clineTaskSessionServiceByWorkspaceId.keys()) {
|
|
92
|
+
workspaceIds.add(workspaceId);
|
|
93
|
+
}
|
|
94
|
+
const activeWorkspaceId = deps.workspaceRegistry.getActiveWorkspaceId();
|
|
95
|
+
if (activeWorkspaceId) {
|
|
96
|
+
workspaceIds.add(activeWorkspaceId);
|
|
97
|
+
}
|
|
98
|
+
for (const workspaceId of workspaceIds) {
|
|
99
|
+
await disposeClineTaskSessionServiceAsync(workspaceId);
|
|
100
|
+
deps.disposeWorkspace(workspaceId, {
|
|
101
|
+
stopTerminalSessions: true,
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
deps.workspaceRegistry.clearActiveWorkspace();
|
|
82
105
|
};
|
|
83
106
|
const createTrpcContext = async (req) => {
|
|
84
107
|
const requestUrl = new URL(req.url ?? "/", "http://localhost");
|
|
@@ -95,6 +118,8 @@ export async function createRuntimeServer(deps) {
|
|
|
95
118
|
getScopedClineTaskSessionService,
|
|
96
119
|
resolveInteractiveShellCommand: deps.resolveInteractiveShellCommand,
|
|
97
120
|
runCommand: deps.runCommand,
|
|
121
|
+
prepareForStateReset,
|
|
122
|
+
warn: deps.warn,
|
|
98
123
|
}),
|
|
99
124
|
workspaceApi: createWorkspaceApi({
|
|
100
125
|
ensureTerminalManagerForWorkspace: deps.ensureTerminalManagerForWorkspace,
|