@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.
@@ -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 — grounded in the cli-bridge adapters (NOT the canonical ladder):
119
- * - codex: `model_reasoning_effort` accepts `minimal|low|medium|high|xhigh|max|ultra`; canonical
120
- * `ultracode` maps to native `ultra`. Per-model catalog data narrows this list.
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
- * - pi: `--thinking` accepts `off|minimal|low|medium|high|xhigh`; canonical `none` maps to `off`.
124
- * - openclaw: `--thinking` accepts `off|minimal|low|medium|high|xhigh|max`; canonical `none` maps
125
- * to `off` and `ultracode` maps to `max`.
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",