-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Currently, slash commands (/run, /chain, /parallel) have no way to specify a working directory for the subagent run. This makes it difficult to use these commands with a <TASK_DIR>/ workflow pattern where all artifacts should be isolated within a task-specific directory, for manual inspection
Proposed Solution
Add an optional --dir <path> flag to /run, /chain, and /parallel slash commands that allows users to specify a working directory for the run.
Desired Behavior
/run ... --dir <path>: Setscwdparameter in the tool call/chain ... --dir <path>: InjectschainDirparameter for chain artifacts/parallel ... --dir <path>: InjectschainDirparameter for parallel artifacts- Relative paths are resolved against
ctx.cwd - When
--diris omitted, existing default behavior is preserved
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels