mirror of
https://github.com/dtzp555-max/ocp.git
synced 2026-07-21 21:15:09 +00:00
When the Claude Code OAuth token expires, /ocp usage showed 0% for all plan limits. OCP now detects expiry and triggers a refresh via Claude CLI, then re-reads the updated token from keychain. The 5-minute usage cache prevents excessive refresh attempts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
616 B
JSON
30 lines
616 B
JSON
{
|
|
"name": "openclaw-claude-proxy",
|
|
"version": "3.0.1",
|
|
"description": "OpenAI-compatible proxy for Claude CLI — plan usage monitoring, runtime settings, prompt truncation, OCP CLI",
|
|
"type": "module",
|
|
"bin": {
|
|
"openclaw-claude-proxy": "./server.mjs",
|
|
"ocp": "./ocp"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.mjs",
|
|
"setup": "node setup.mjs"
|
|
},
|
|
"keywords": [
|
|
"openclaw",
|
|
"claude",
|
|
"proxy",
|
|
"openai",
|
|
"anthropic"
|
|
],
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/dtzp555-max/ocp"
|
|
}
|
|
}
|