4abd4e68dc
Drop cli-proxy-api token handling, use only native Claude credentials. Simplify refresh to single endpoint (platform.claude.com) with scope. Add debug/refresh and debug/shutdown endpoints. Graceful shutdown.
32 lines
642 B
YAML
32 lines
642 B
YAML
port: 8082
|
|
api_keys:
|
|
- "your-proxy-api-key"
|
|
claude_credentials: "~/.claude/.credentials.json"
|
|
claude_binary: "claude"
|
|
|
|
sanitize:
|
|
tools:
|
|
- from: "bash"
|
|
to: "Bash"
|
|
- from: "read"
|
|
to: "Read"
|
|
- from: "glob"
|
|
to: "Glob"
|
|
- from: "grep"
|
|
to: "Grep"
|
|
- from: "edit"
|
|
to: "Edit"
|
|
- from: "write"
|
|
to: "Write"
|
|
- from: "webfetch"
|
|
to: "WebFetch"
|
|
- from: "skill"
|
|
to: "Skill"
|
|
- from: "todowrite"
|
|
to: "TodoWrite"
|
|
system:
|
|
- match: "Workspace root folder"
|
|
replace: "Working directory"
|
|
- match: "anomalyco/opencode"
|
|
replace: "anthropics/claude-code"
|