apiKeyHelper and ANTHROPIC_BASE_URL. No wrapper, no SDK in your code.
Discover and report
Stop command hook into ~/.claude/settings.json and a launcher under ~/.claude/. Existing hooks stay. Uninstall removes only the Nasiko entries.
Session reporting always uses ~/.claude, even when $CLAUDE_CONFIG_DIR is set.
After install, use claude the way you always do. Each completed turn is queued under ~/.nasiko/integrations/queue/ and delivered in the background. See Session reporting.
Route models
connect claude edits ~/.claude/settings.json:
apiKeyHelperrunsnasiko __claude-token, which mints a one-hour JWT from your cluster.env.ANTHROPIC_BASE_URLpoints at the cluster. Claude Code keeps sending Anthropic-format/v1/messagesrequests; Nasiko translates and routes them.
x-api-key. The router accepts that header and Authorization: Bearer.
Connection state is stored in ~/.nasiko/integrations/claude.json.
If routing is configured under $CLAUDE_CONFIG_DIR, that directory is what connect and disconnect edit. Reporting still uses ~/.claude.
One-shot, no settings change
--agent is required.
Disconnect and uninstall
Identity in Nasiko
Registration creates a coding-agent identity named<username>-claude-code, labelled Claude Code (<your email>) in the dashboard. Reported sessions and routed calls are both attributed to it.
Troubleshooting
More: Troubleshooting and Route models.
