From 225d3ea65cfc35d211fc66e30cf05cbc693d37e4 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sat, 23 May 2026 05:25:03 +0900 Subject: feat: relative working directory support and subagent tab cwd propagation - Resolve relative cwd paths (e.g. ./subtask) against parent's working directory at runtime - check-dir endpoint resolves relative paths and returns the resolved absolute path - AgentBuilder shows resolved path below input for relative paths, updated helper text - tab-created event now includes workingDirectory so subagent tabs display their cwd in sidebar - Add workingDirectory to tab-created AgentEvent type definition - spawnChildAgent stores resolved absolute path instead of raw relative path --- packages/core/src/types/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/core') diff --git a/packages/core/src/types/index.ts b/packages/core/src/types/index.ts index ff47f49..c301822 100644 --- a/packages/core/src/types/index.ts +++ b/packages/core/src/types/index.ts @@ -47,6 +47,7 @@ export type AgentEvent = keyId: string | null; modelId: string | null; parentTabId: string | null; + workingDirectory: string | null; } | { type: "message-queued"; tabId: string; messageId: string; message: string } | { type: "message-consumed"; tabId: string; messageIds: string[] } -- cgit v1.2.3