@oneciel-ai/claude-any 0.1.29 → 0.1.31

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 CHANGED
@@ -44,7 +44,7 @@ arguments through unchanged.
44
44
 
45
45
  Credits: One Ciel LLC
46
46
 
47
- Current version: `0.1.29`
47
+ Current version: `0.1.31`
48
48
 
49
49
  ## Why This Exists
50
50
 
@@ -92,6 +92,40 @@ npm install -g @oneciel-ai/claude-any
92
92
  claude-any
93
93
  ```
94
94
 
95
+ ## Run Claude Code Headlessly
96
+
97
+ Use headless mode when a script, SSH session, CI job, or parent agent needs to
98
+ launch Claude Code directly without opening the pre-launch menu. `claude-any`
99
+ consumes `--ca-*` options, starts the required local router, and passes the
100
+ remaining arguments to Claude Code.
101
+
102
+ ```sh
103
+ claude-any --ca-provider nvidia-hosted --ca-model z-ai/glm-4.7
104
+ ```
105
+
106
+ ```sh
107
+ claude-any --ca-provider ollama-cloud --ca-model glm-5.1
108
+ ```
109
+
110
+ ```sh
111
+ claude-any --ca-provider ollama --ca-base-url http://127.0.0.1:11434 --ca-model qwen3-coder
112
+ ```
113
+
114
+ Run one non-interactive Claude Code prompt:
115
+
116
+ ```sh
117
+ 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
118
+ ```
119
+
120
+ Use the saved provider/model and only skip the menu:
121
+
122
+ ```sh
123
+ CLAUDE_ANY_SKIP_MENU=1 claude-any -p "Summarize this repository." --output-format text
124
+ ```
125
+
126
+ More examples are in [Headless Examples](#headless-examples) and
127
+ [the full manual](docs/manual.md#headless-usage).
128
+
95
129
  **Upgrade:**
96
130
 
97
131
  ```sh
@@ -300,17 +334,33 @@ steps under that larger model's supervision.
300
334
 
301
335
  ## Changelog
302
336
 
303
- ### 0.1.29
337
+ ### 0.1.31
304
338
 
305
- - **NVIDIA compatibility test fix**: `claude-any test` now restarts the local
306
- router before router-mode tests, so upgraded installs do not accidentally use
307
- an old long-running router that still expects `nvd-claude-proxy`.
308
- - **Clear NVIDIA router wording**: menu status now describes NVIDIA hosted as
309
- using the local claude-any router instead of the retired local proxy path.
339
+ - **5-minute default upstream timeout**: existing saved 10/30-minute defaults
340
+ are migrated to 300000 ms so gateway stalls fail faster.
341
+ - **Localized gateway retries**: 502/503/504 and socket timeout responses are
342
+ retried automatically, with retry progress shown in the selected UI language.
310
343
 
311
- ### 0.1.28
344
+ ### 0.1.30
312
345
 
313
- - **Plan Mode + Advisor headline**: document Claude Any's Plan Mode support for
346
+ - **Headless launch docs moved up**: README now shows copy-ready examples for
347
+ launching Claude Code directly with `--ca-provider`, `--ca-model`, `-p`, and
348
+ `CLAUDE_ANY_SKIP_MENU=1` immediately after install.
349
+ - **NVIDIA hosted wording cleanup**: provider and lifecycle docs now describe
350
+ NVIDIA hosted as using the Claude Any local router, with no separate hosted
351
+ API Catalog proxy requirement.
352
+
353
+ ### 0.1.29
354
+
355
+ - **NVIDIA compatibility test fix**: `claude-any test` now restarts the local
356
+ router before router-mode tests, so upgraded installs do not accidentally use
357
+ an old long-running router that still expects `nvd-claude-proxy`.
358
+ - **Clear NVIDIA router wording**: menu status now describes NVIDIA hosted as
359
+ using the local claude-any router instead of the retired local proxy path.
360
+
361
+ ### 0.1.28
362
+
363
+ - **Plan Mode + Advisor headline**: document Claude Any's Plan Mode support for
314
364
  router-backed non-Anthropic providers and the `/advisor` slash command backed
315
365
  by a selected long-context Advisor Model.
316
366
  - **Status-line RPM telemetry**: Claude Any installs a Claude Code `statusLine`
@@ -466,7 +516,7 @@ steps under that larger model's supervision.
466
516
  | Ollama | Native when available, router otherwise | Local Ollama normally needs no API key. Cloud models through local Ollama require `ollama signin` on the Ollama host. |
467
517
  | Ollama Cloud | Router | Calls `https://ollama.com/api`; requires an Ollama API key. |
468
518
  | vLLM | Native Anthropic-compatible endpoint | Use a vLLM endpoint that exposes Anthropic-compatible `/v1/messages`; match `--tool-call-parser` to the model family. |
469
- | NVIDIA hosted | Router/proxy | Uses NVIDIA hosted API through the compatibility path. |
519
+ | NVIDIA hosted | Router | Uses the NVIDIA hosted API Catalog through the Claude Any local router. |
470
520
  | self-hosted NIM | Native Anthropic-compatible endpoint | Use the self-hosted NIM Anthropic-compatible endpoint. |
471
521
 
472
522
  ## Service Lifecycle
@@ -474,17 +524,16 @@ steps under that larger model's supervision.
474
524
  Claude Any does not keep every possible backend helper running all the time. The
475
525
  normal lifecycle is:
476
526
 
477
- - Before launch, managed router/proxy processes can be stopped with
527
+ - Before launch, managed router processes can be stopped with
478
528
  `claude-any stop`.
479
529
  - When `claude-any` starts Claude Code, it starts only the services required by
480
530
  the selected provider.
481
531
  - Ollama and Ollama Cloud router mode use the Claude Any router on
482
532
  `127.0.0.1:8799`.
483
- - NVIDIA hosted router mode uses the Claude Any router on `127.0.0.1:8799` and
484
- starts `nvd-claude-proxy` on `127.0.0.1:8788` only when that provider needs it.
485
- - Switching away from NVIDIA hosted does not require keeping the NVIDIA proxy
486
- alive; stale sessions should be cleaned with `claude-any stop` before a fresh
487
- test or launch.
533
+ - NVIDIA hosted router mode uses the Claude Any router on `127.0.0.1:8799`;
534
+ hosted API Catalog models do not require a separate NVIDIA proxy.
535
+ - Run `claude-any stop` before a fresh provider-switch test if an old router is
536
+ still bound to the local port.
488
537
 
489
538
  This keeps Claude Code pointed at one stable Claude Any entry point while still
490
539
  letting provider-specific helpers start on demand.
@@ -512,7 +561,7 @@ vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct \
512
561
  ## Headless Examples
513
562
 
514
563
  Headless commands skip the pre-launch menu and launch Claude Code immediately.
515
- Claude Any consumes `--ca-*` setup flags, starts the required router/proxy
564
+ Claude Any consumes `--ca-*` setup flags, starts the required router
516
565
  services, then passes the remaining arguments to Claude Code.
517
566
 
518
567
  ```sh