@tangle-network/agent-interface 0.43.0 → 0.43.1
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/dist/harness-capabilities.js +13 -9
- package/package.json +1 -1
|
@@ -115,21 +115,25 @@ export function snapHarnessToModel(harness, modelId) {
|
|
|
115
115
|
// ── Reasoning-effort support ──────────────────────────────────────────────────
|
|
116
116
|
/**
|
|
117
117
|
* The explicit reasoning-effort set a harness's runtime accepts when it ISN'T a plain `none…ceiling`
|
|
118
|
-
* slice —
|
|
119
|
-
* - codex: `model_reasoning_effort` accepts `minimal|low|medium|high|xhigh|max
|
|
120
|
-
*
|
|
118
|
+
* slice — measured against the pinned CLI binaries, NOT inferred from the canonical ladder:
|
|
119
|
+
* - codex: `model_reasoning_effort` accepts `none|minimal|low|medium|high|xhigh|max`, plus `ultra`
|
|
120
|
+
* which the API's own enumeration omits but accepts end-to-end; canonical `ultracode` maps to
|
|
121
|
+
* native `ultra`. Per-model catalog data narrows this list.
|
|
121
122
|
* - claude-code: `--effort` accepts `low|medium|high|xhigh|max`; canonical `ultracode` maps to
|
|
122
|
-
* native `max`. It cannot express `none` or `minimal
|
|
123
|
-
*
|
|
124
|
-
* -
|
|
125
|
-
*
|
|
123
|
+
* native `max`. It cannot express `none` or `minimal`, and an unsupported value is warned about
|
|
124
|
+
* and silently replaced with the default rather than rejected — so the set must not overstate.
|
|
125
|
+
* - pi: `--thinking` accepts `off|minimal|low|medium|high|xhigh|max`; canonical `none` maps to
|
|
126
|
+
* `off` and `ultracode` to `max`.
|
|
127
|
+
* - openclaw: `--thinking` accepts `off|minimal|low|medium|high|xhigh|max` (and `adaptive`, which
|
|
128
|
+
* defers the choice rather than naming a rung); canonical `none` maps to `off` and `ultracode`
|
|
129
|
+
* to `max`.
|
|
126
130
|
* - kimi-code: `--thinking` is binary. Canonical `none` emits `--no-thinking`; any non-none level
|
|
127
131
|
* emits `--thinking`, represented here by `high`.
|
|
128
132
|
*/
|
|
129
133
|
const harnessReasoningEffortsOverride = {
|
|
130
|
-
codex: ["minimal", "low", "medium", "high", "xhigh", "ultracode"],
|
|
134
|
+
codex: ["none", "minimal", "low", "medium", "high", "xhigh", "ultracode"],
|
|
131
135
|
"claude-code": ["low", "medium", "high", "xhigh", "ultracode"],
|
|
132
|
-
pi: ["none", "minimal", "low", "medium", "high", "xhigh"],
|
|
136
|
+
pi: ["none", "minimal", "low", "medium", "high", "xhigh", "ultracode"],
|
|
133
137
|
openclaw: [
|
|
134
138
|
"none",
|
|
135
139
|
"minimal",
|