2026-02-18 14:23:16 -06:00
|
|
|
export const type = "claude_local";
|
|
|
|
|
export const label = "Claude Code (local)";
|
|
|
|
|
|
|
|
|
|
export const models = [
|
|
|
|
|
{ id: "claude-opus-4-6", label: "Claude Opus 4.6" },
|
2026-03-07 21:57:06 -05:00
|
|
|
{ id: "claude-sonnet-4-6", label: "Claude Sonnet 4.6" },
|
|
|
|
|
{ id: "claude-haiku-4-6", label: "Claude Haiku 4.6" },
|
2026-02-18 14:23:16 -06:00
|
|
|
{ id: "claude-sonnet-4-5-20250929", label: "Claude Sonnet 4.5" },
|
|
|
|
|
{ id: "claude-haiku-4-5-20251001", label: "Claude Haiku 4.5" },
|
|
|
|
|
];
|
2026-02-19 13:02:53 -06:00
|
|
|
|
|
|
|
|
export const agentConfigurationDoc = `# claude_local agent configuration
|
|
|
|
|
|
|
|
|
|
Adapter: claude_local
|
|
|
|
|
|
|
|
|
|
Core fields:
|
2026-03-03 12:29:32 -06:00
|
|
|
- cwd (string, optional): default absolute working directory fallback for the agent process (created if missing when possible)
|
2026-02-26 16:34:29 -06:00
|
|
|
- instructionsFilePath (string, optional): absolute path to a markdown instructions file injected at runtime
|
2026-02-19 13:02:53 -06:00
|
|
|
- model (string, optional): Claude model id
|
2026-02-20 10:32:07 -06:00
|
|
|
- effort (string, optional): reasoning effort passed via --effort (low|medium|high)
|
2026-02-26 16:33:10 -06:00
|
|
|
- chrome (boolean, optional): pass --chrome when running Claude
|
2026-02-19 13:02:53 -06:00
|
|
|
- promptTemplate (string, optional): run prompt template
|
|
|
|
|
- maxTurnsPerRun (number, optional): max turns for one run
|
|
|
|
|
- dangerouslySkipPermissions (boolean, optional): pass --dangerously-skip-permissions to claude
|
|
|
|
|
- command (string, optional): defaults to "claude"
|
|
|
|
|
- extraArgs (string[], optional): additional CLI args
|
|
|
|
|
- env (object, optional): KEY=VALUE environment variables
|
2026-03-10 10:58:38 -05:00
|
|
|
- workspaceStrategy (object, optional): execution workspace strategy; currently supports { type: "git_worktree", baseRef?, branchTemplate?, worktreeParentDir? }
|
|
|
|
|
- workspaceRuntime (object, optional): workspace runtime service intents; local host-managed services are realized before Claude starts and exposed back via context/env
|
2026-02-19 13:02:53 -06:00
|
|
|
|
|
|
|
|
Operational fields:
|
|
|
|
|
- timeoutSec (number, optional): run timeout in seconds
|
|
|
|
|
- graceSec (number, optional): SIGTERM grace period in seconds
|
2026-03-10 10:58:38 -05:00
|
|
|
|
|
|
|
|
Notes:
|
|
|
|
|
- When Paperclip realizes a workspace/runtime for a run, it injects PAPERCLIP_WORKSPACE_* and PAPERCLIP_RUNTIME_* env vars for agent-side tooling.
|
2026-02-19 13:02:53 -06:00
|
|
|
`;
|