feat: resolve agent workspace from session/project/fallback
Heartbeat service resolves cwd from task session, project primary workspace, or agent home directory (~/.paperclip/instances/.../workspaces/). Adapters receive workspace context and forward it as env vars and session params. cwd is now optional in adapter config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ export const agentConfigurationDoc = `# claude_local agent configuration
|
||||
Adapter: claude_local
|
||||
|
||||
Core fields:
|
||||
- cwd (string, required): absolute working directory for the agent process
|
||||
- cwd (string, optional): default absolute working directory fallback for the agent process
|
||||
- model (string, optional): Claude model id
|
||||
- effort (string, optional): reasoning effort passed via --effort (low|medium|high)
|
||||
- promptTemplate (string, optional): run prompt template
|
||||
|
||||
Reference in New Issue
Block a user