diff options
| author | Adam Malczewski <[email protected]> | 2026-05-23 05:25:03 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-05-23 05:25:03 +0900 |
| commit | 225d3ea65cfc35d211fc66e30cf05cbc693d37e4 (patch) | |
| tree | 1d765743942eb8c5d519fea37763ed6a36b90eec /packages/core/src | |
| parent | 9287cccb29d135ea19f2612c26f3090c94820d8c (diff) | |
| download | dispatch-225d3ea65cfc35d211fc66e30cf05cbc693d37e4.tar.gz dispatch-225d3ea65cfc35d211fc66e30cf05cbc693d37e4.zip | |
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
Diffstat (limited to 'packages/core/src')
| -rw-r--r-- | packages/core/src/types/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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[] } |
