You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5635eda
Browse filesBrowse the repository at this point in the historyBrowse files
Add a validated claudeCode.subagentEffort setting and render it into generated ocx agent frontmatter. Claude Code 2.1.220 collapses xhigh and max custom-agent effort to a legacy thinking budget, so carry the exact value through an owned system directive and restore it at the routed inbound boundary. Invalid persisted values degrade without discarding unrelated provider or account configuration.
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/reference/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,7 @@ body-occupancy guard):
206
206
|`claudeCode.bodyMaxBytes?`|`number`|`67108864`| Native passthrough cumulative body byte cap (streamed SSE and buffered non-stream). Exactly `0` disables. |
207
207
|`claudeCode.authMode?`|`"proxy" \| "subscription"`| unset (auto) | How `ANTHROPIC_AUTH_TOKEN` is handled at launch. Unset means auto: opencodex detects Claude auth on every launch and picks subscription when it finds any, proxy when it finds none, and subscription with a warning when it cannot tell. An explicit value is never overridden by detection. See [Claude Code](/guides/claude-code/#auth-mode). |
208
208
|`claudeCode.authModeMigratedAt?`|`string`| unset | Internal one-time marker. Written once when an upgrade pins a pre-`auto` config to `subscription`, so a deliberate subscriber is not silently moved onto the proxy. Do not set by hand. |
209
+
|`claudeCode.subagentEffort?`|`"low" \| "medium" \| "high" \| "xhigh" \| "max"`| unset (inherit) | Effort written to every generated `~/.claude/agents/ocx-*.md` definition. Unset lets each subagent inherit the parent Claude Code session effort. This controls Claude Code custom-agent frontmatter; it is separate from Codex `injectionEffort` guidance and proxy-side effort caps. Regenerate the definitions by starting through `ocx claude` after changing it. |
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ru/reference/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ body-occupancy):
120
120
| --- | --- | --- | --- |
121
121
|`claudeCode.bodyStallSec?`|`number`|`90`| Бюджет неактивности тела нативного passthrough в секундах — тишина по сырым байтам от вышестоящей стороны, пока ожидается чтение, а не общая длительность. Минимум 1. Ровно `0` отключает. |
122
122
|`claudeCode.bodyMaxBytes?`|`number`|`67108864`| Ограничение суммарного размера тела нативного passthrough в байтах (потоковый SSE и буферизованный непотоковый ответ). Ровно `0` отключает. |
123
+
|`claudeCode.subagentEffort?`|`"low" \| "medium" \| "high" \| "xhigh" \| "max"`| не задано (наследуется) | Уровень effort, записываемый во все сгенерированные определения `~/.claude/agents/ocx-*.md`. Если значение не задано, subagent наследует effort родительской сессии Claude Code. Это поле управляет frontmatter пользовательского агента Claude Code и не связано с Codex `injectionEffort` или ограничениями effort на стороне proxy. После изменения запустите через `ocx claude`, чтобы пересоздать определения. |
console.warn(`⚠️ config.json claudeCode.subagentEffort ${JSON.stringify(rawEffort)} is invalid (expected ${CLAUDE_SUBAGENT_EFFORTS.join(", ")}) — ignoring it. Other settings were preserved.`);
0 commit comments