@rayss-dev/openclaude 0.28.3-by-rayss → 0.29.1-by-rayss

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
@@ -88,11 +88,29 @@ OpenClaude is also mirrored to GitLawb:
88
88
  </picture>
89
89
  </a>
90
90
  </td>
91
+ <td align="center" width="150" height="80">
92
+ <a href="https://concentrate.ai/">
93
+ <picture>
94
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/concentrate-logo-dark.svg">
95
+ <img src="docs/assets/concentrate-logo.svg" alt="Concentrate logo" width="64">
96
+ </picture>
97
+ </a>
98
+ </td>
99
+ <td align="center" width="150" height="80">
100
+ <a href="https://exa.ai/">
101
+ <picture>
102
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/exa-logo-dark.svg">
103
+ <img src="docs/assets/exa-logo.svg" alt="Exa logo" width="110">
104
+ </picture>
105
+ </a>
106
+ </td>
91
107
  </tr>
92
108
  <tr>
93
109
  <td align="center"><a href="https://aimlapi.com/"><strong>AI/ML API</strong></a></td>
94
110
  <td align="center"><a href="https://novita.ai/"><strong>Novita AI</strong></a></td>
95
111
  <td align="center"><a href="https://www.apismart.ai"><strong>ApiSmart</strong></a></td>
112
+ <td align="center"><a href="https://concentrate.ai/"><strong>Concentrate</strong></a></td>
113
+ <td align="center"><a href="https://exa.ai/"><strong>Exa</strong></a></td>
96
114
  </tr>
97
115
  </table>
98
116
 
@@ -185,7 +203,17 @@ usually `~/.openclaude/bg-sessions/`; `OPENCLAUDE_CONFIG_DIR` can point
185
203
  OpenClaude somewhere else. `CLAUDE_CONFIG_DIR` is ignored for OpenClaude
186
204
  background-session storage. Session names can be reused after older sessions
187
205
  reach a terminal state; use the session ID to inspect older logs with the same
188
- name.
206
+ name. A naturally finished session is recorded as `exited` when its process
207
+ returns zero and `failed` when it returns nonzero or handles a termination
208
+ signal. `stale` remains the conservative result when the process disappears
209
+ without an observed outcome; an explicit successful `openclaude kill` is
210
+ recorded as `killed`, and `killed` takes precedence over a natural `exited` or
211
+ `failed` outcome for the same process. Terminal outcomes are stored separately
212
+ under `bg-sessions/terminal/`; deleting that directory makes finished sessions
213
+ fall back to liveness-derived status. OpenClaude does not infer POSIX signal
214
+ names on Windows.
215
+ Unobservable force termination, host crashes, and power loss remain `stale` on
216
+ every platform.
189
217
 
190
218
  `openclaude attach <id-or-name>` currently reports the matching session and
191
219
  points to `openclaude logs <id> -f`; full terminal reattach is not implemented
@@ -280,6 +308,7 @@ Advanced and source-build guides:
280
308
  | OpenAI-compatible | `/provider` or env vars | Works with OpenAI, OpenRouter, DeepSeek, Groq, Mistral, LM Studio, and other compatible `/v1` servers |
281
309
  | Z.AI GLM Coding Plan | `/provider` or OpenAI-compatible env vars | Uses `OPENAI_API_KEY` at `https://api.z.ai/api/coding/paas/v4` and defaults to `glm-5.2` |
282
310
  | AI/ML API | `/provider` or `AIMLAPI_API_KEY` ([setup guide](docs/aimlapi-setup.md)) | Uses `https://api.aimlapi.com/v1`, auto-detects the OpenAI-compatible route from `AIMLAPI_API_KEY`, sends OpenClaude attribution headers, and discovers chat-capable models from the public `/models` catalog |
311
+ | Concentrate | `/provider` or `CONCENTRATE_API_KEY` | Unified OpenAI-compatible gateway at `https://api.concentrate.ai/v1`; defaults to `deepseek-v4-flash` and auto-discovers the chat model catalog |
283
312
  | ApiSmart | `/provider` or `APISMART_API_KEY` | Uses `https://gw.apismart.ai/v1`, defaults to `DEEPSEEK_V4_FLASH`, and supports optional `APISMART_MODEL` plus authenticated model discovery |
284
313
  | Hicap | `/provider` or OpenAI-compatible env vars | Uses `api-key` auth, discovers models from unauthenticated `/models`, and supports Responses mode for `gpt-` models |
285
314
  | Fireworks AI | `/provider` or env vars | First-class provider with 276 curated models (DeepSeek, Qwen, Llama, Gemma, and more); uses `FIREWORKS_API_KEY` |
@@ -383,21 +412,24 @@ OpenClaude supports multiple providers, but behavior is not identical across all
383
412
  - Some providers impose lower output caps than the CLI defaults, and OpenClaude adapts where possible
384
413
  - AI/ML API uses the OpenAI-compatible route, defaults to `gpt-4o`, and only surfaces chat-capable models from its public catalog
385
414
  - Gitlawb Opengateway is the fresh-install startup default and requires an API key from https://gitlawb.com/opengateway/keys. It uses one OpenAI-compatible base URL; switch between `mimo-*` and `google/gemini-3.1-flash-lite-preview` with `/model`, and do not pin the base URL to `/v1/xiaomi-mimo`.
386
- - Z.AI GLM Coding Plan uses `https://api.z.ai/api/coding/paas/v4` with `glm-5.2` by default. Use `glm-5.2?reasoning=high` for enhanced reasoning, `glm-5.2?reasoning=xhigh` to request Z.AI `reasoning_effort=max`, or `glm-5.2?thinking=disabled` for faster direct answers.
415
+ - Z.AI GLM Coding Plan uses `https://api.z.ai/api/coding/paas/v4` with `glm-5.2` by default. GLM-5.3 is selectable as `glm-5.3`; use `glm-5.3?reasoning=low`, `glm-5.3?reasoning=high`, or `glm-5.3?reasoning=xhigh` to request its documented low, high, or maximum effort. The existing GLM-5.2 query controls remain supported.
387
416
  - Xiaomi MiMo uses `api-key` header auth on the direct OpenAI-compatible route and currently does not support `/usage` reporting in OpenClaude
388
417
  - GitHub Copilot serializes sub-agent execution by default to reduce Premium Request consumption — see [Agent Routing and Step Limits](docs/agent-routing.md#github-copilot-sub-agent-optimization) for tuning
389
418
 
390
419
  For best results, use models with strong tool/function calling support.
391
420
 
421
+
422
+
392
423
  ## Agents
393
424
 
394
425
  Route different agents to different models (cost optimization, splitting work
395
426
  by model strength), cap sub-agent tool steps with `maxSteps`, and tune GitHub
396
- Copilot sub-agent behavior. All settings-driven:
427
+ Copilot sub-agent behavior. Configured via settings, agent frontmatter, and
428
+ environment variables:
397
429
 
398
- - per-agent provider/model overrides via `agentModels` + `agentRouting` in `~/.openclaude.json`
430
+ - per-agent provider/model overrides via `agentModels` + `agentRouting` in `~/.openclaude/settings.json`
399
431
  - model-only routes that reuse your current provider's credentials
400
- - built-in agents (`Explore`, `Plan`, `verification`) routable by type name
432
+ - built-in agents (`Explore` and `Plan` [feature-gated], `verification` [feature-gated: requires `VERIFICATION_AGENT` + `tengu_hive_evidence`], `code-reviewer` [requires diff inline]) routable by type name
401
433
 
402
434
  See [Agent Routing and Step Limits](docs/agent-routing.md) for the full guide.
403
435
 
@@ -36,3 +36,16 @@
36
36
  - Break down large tasks into smaller steps
37
37
  - Verify results before moving to the next step
38
38
  - Don't skip errors — resolve them first
39
+
40
+ ## Response Discipline — ANTI-REPETITION (OVERRIDES VERBOSITY)
41
+
42
+ - Finish the task, write the final summary ONCE, then STOP. Do not repeat
43
+ or restate what was already said in this reply or earlier turns.
44
+ - The final summary must be at most 1-2 sentences unless the user asks for
45
+ details. Do not re-list every step, every verification, or every file.
46
+ - Do not end a completed answer by proposing follow-up steps the user did
47
+ not ask for, and never begin a new task on your own.
48
+ - Never repeat the same sentence, bullet, or claim twice in one response.
49
+ If restating is unavoidable, say it once and move on.
50
+ - Long tool-driven sessions: after the last tool call succeeds, summarize
51
+ once and stop. Do not emit a second "everything is done" recap.
@@ -69,7 +69,7 @@
69
69
  "type": "boolean"
70
70
  },
71
71
  "cleanupPeriodDays": {
72
- "description": "Number of days to retain chat transcripts (default: 30). Setting to 0 disables session persistence entirely: no transcripts are written and existing transcripts are deleted at startup.",
72
+ "description": "Number of days to retain chat transcripts. When unset (default), session transcripts are never deleted. A positive number deletes transcripts older than that many days. Setting 0 disables session persistence entirely: no transcripts are written and existing transcripts are deleted at startup.",
73
73
  "type": "integer",
74
74
  "minimum": -9007199254740991,
75
75
  "maximum": 9007199254740991