Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(agent): add task minLength validation, remove unused parentSessionId
yushen1cd778b84570
diff --git a/src/agent/tools/sessions-spawn.ts b/src/agent/tools/sessions-spawn.tsindex a8ca4f96be..0dfb5c8c12 100644--- a/src/agent/tools/sessions-spawn.ts+++ b/src/agent/tools/sessions-spawn.ts@@ -13,7 +13,7 @@ import { buildSubagentSystemPrompt } from "../subagent/announce.js";import { registerSubagentRun } from "../subagent/registry.js";const SessionsSpawnSchema = Type.Object({- task: Type.String({ description: "The task for the subagent to perform." }),+ task: Type.String({ description: "The task for the subagent to perform.", minLength: 1 }),label: Type.Optional(Type.String({ description: "Human-readable label for this background task." }),),diff --git a/src/agent/types.ts b/src/agent/types.tsindex 06ffb21704..75e53ad1da 100644--- a/src/agent/types.ts+++ b/src/agent/types.ts@@ -66,8 +66,6 @@ export type AgentOptions = {tools?: ToolsConfig | undefined;/** Whether this is a subagent (applies restricted tool set) */isSubagent?: boolean | undefined;- /** Parent session ID (for subagent lineage tracking) */- parentSessionId?: string | undefined;};export interface Message {