@oneciel-ai/claude-any 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -9
- package/claude_any.py +441 -160
- package/docs/README.ja.md +64 -8
- package/docs/README.ko.md +65 -9
- package/docs/README.zh.md +63 -8
- package/docs/manual.md +138 -33
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ arguments through unchanged.
|
|
|
48
48
|
|
|
49
49
|
Credits: One Ciel LLC
|
|
50
50
|
|
|
51
|
-
Current version: `0.1.
|
|
51
|
+
Current version: `0.1.35`
|
|
52
52
|
|
|
53
53
|
## Why This Exists
|
|
54
54
|
|
|
@@ -121,14 +121,57 @@ Run one non-interactive Claude Code prompt:
|
|
|
121
121
|
claude-any --ca-provider nvidia-hosted --ca-model z-ai/glm-4.7 --ca-no-update-check -p "Reply with OK only." --output-format text
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
Use the saved provider/model and only skip the menu:
|
|
125
|
-
|
|
126
|
-
```sh
|
|
127
|
-
CLAUDE_ANY_SKIP_MENU=1 claude-any -p "Summarize this repository." --output-format text
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
124
|
+
Use the saved provider/model and only skip the menu:
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
CLAUDE_ANY_SKIP_MENU=1 claude-any -p "Summarize this repository." --output-format text
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Configure every launch option with flags:
|
|
131
|
+
|
|
132
|
+
```sh
|
|
133
|
+
claude-any --ca-provider nvidia-hosted --ca-base-url https://integrate.api.nvidia.com/v1 --ca-model z-ai/glm-4.7 --ca-advisor-model deepseek-ai/deepseek-v4-pro --ca-api-key-env NVIDIA_API_KEY --ca-max-output-tokens 4096 --ca-context-window 65536 --ca-request-timeout-ms 300000 --ca-rate-limit-rpm 40 --ca-rate-limit-status on --ca-no-update-check -p "Reply with OK only." --output-format text
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Or put the same values in environment variables:
|
|
137
|
+
|
|
138
|
+
```sh
|
|
139
|
+
export CLAUDE_ANY_SKIP_MENU=1
|
|
140
|
+
export CLAUDE_ANY_PROVIDER=nvidia-hosted
|
|
141
|
+
export CLAUDE_ANY_BASE_URL=https://integrate.api.nvidia.com/v1
|
|
142
|
+
export CLAUDE_ANY_MODEL=z-ai/glm-4.7
|
|
143
|
+
export CLAUDE_ANY_ADVISOR_MODEL=deepseek-ai/deepseek-v4-pro
|
|
144
|
+
export CLAUDE_ANY_API_KEY_ENV=NVIDIA_API_KEY
|
|
145
|
+
export CLAUDE_ANY_MAX_OUTPUT_TOKENS=4096
|
|
146
|
+
export CLAUDE_ANY_CONTEXT_WINDOW=65536
|
|
147
|
+
export CLAUDE_ANY_REQUEST_TIMEOUT_MS=300000
|
|
148
|
+
export CLAUDE_ANY_RATE_LIMIT_RPM=40
|
|
149
|
+
export CLAUDE_ANY_RATE_LIMIT_STATUS=on
|
|
150
|
+
claude-any -p "Reply with OK only." --output-format text
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
For `.env` driven runs, save the same `CLAUDE_ANY_*` values in a file and pass
|
|
154
|
+
it explicitly:
|
|
155
|
+
|
|
156
|
+
```sh
|
|
157
|
+
claude-any --ca-env-file .env.claude-any -p "Reply with OK only." --output-format text
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Override order is deterministic: saved user choices from the menu are the
|
|
161
|
+
baseline, OS environment variables override them, `--ca-env-file` values
|
|
162
|
+
override the OS environment, CLI `--ca-*` parameters override the env file, and
|
|
163
|
+
`--ca-menu` lets the final interactive menu choice override everything.
|
|
164
|
+
|
|
165
|
+
Headless coverage checklist: provider, base URL, model, Advisor model, API key
|
|
166
|
+
or API-key environment variable, max output, context window, request timeout,
|
|
167
|
+
RPM limit, RPM status display, streaming, web search, web fetch, Claude skills,
|
|
168
|
+
update check, language, Ollama context/options, and normal Claude Code
|
|
169
|
+
passthrough arguments are all configurable without opening the menu. API keys
|
|
170
|
+
can be passed directly with `--ca-api-key`, but `--ca-api-key-env` is safer for
|
|
171
|
+
scripts because the secret does not appear in shell history.
|
|
172
|
+
|
|
173
|
+
More examples are in [Headless Examples](#headless-examples) and
|
|
174
|
+
[the full manual](docs/manual.md#headless-usage).
|
|
132
175
|
|
|
133
176
|
**Upgrade:**
|
|
134
177
|
|
|
@@ -338,6 +381,23 @@ steps under that larger model's supervision.
|
|
|
338
381
|
|
|
339
382
|
## Changelog
|
|
340
383
|
|
|
384
|
+
### 0.1.35
|
|
385
|
+
|
|
386
|
+
- **NVIDIA router context guard**: NVIDIA hosted now defaults to a 32K router
|
|
387
|
+
context window and LLM presets may tune that cap, reducing timeout-prone
|
|
388
|
+
payload growth in long Claude Code sessions.
|
|
389
|
+
- **Upstream activity status**: the router records current request, retry,
|
|
390
|
+
success, and error state with estimated token/byte size so the statusline can
|
|
391
|
+
distinguish active upstream waits from idle sessions.
|
|
392
|
+
|
|
393
|
+
### 0.1.34
|
|
394
|
+
|
|
395
|
+
- **Complete headless configuration path**: add `--ca-env-file`,
|
|
396
|
+
environment-variable mapping, Advisor model, rate-limit, streaming, language,
|
|
397
|
+
and web-fetch headless controls.
|
|
398
|
+
- **Documented override order**: saved menu choices < OS environment <
|
|
399
|
+
`.env` file < CLI parameters < final interactive menu choice via `--ca-menu`.
|
|
400
|
+
|
|
341
401
|
### 0.1.33
|
|
342
402
|
|
|
343
403
|
- **Logo branding in every README**: add the Claude Any logo at the top of the
|