@tangle-network/agent-interface 0.7.0 → 0.8.0

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.
@@ -87,11 +87,14 @@ export interface AgentProfileResources {
87
87
  /**
88
88
  * Portable reasoning/thinking effort. Backends map it to their native control at materialization:
89
89
  * codex `model_reasoning_effort`, kimi `--thinking`/`--no-thinking`, claude thinking budget.
90
- * Ordered low→high: `none` = no extended thinking; `ultracode` = maximum (claude-code's
91
- * "ultracode" run mode). A backend without a matching native tier clamps to its nearest
92
- * (e.g. codex maps `xhigh`/`ultracode` `high`).
90
+ * Ordered low→high:
91
+ * - `none` — extended thinking OFF (no reasoning budget at all)
92
+ * - `minimal` — thinking ON, the lowest budget (distinct from `none`)
93
+ * - `low` / `medium` / `high` / `xhigh`
94
+ * - `ultracode` — maximum (claude-code's "ultracode" run mode; codex's `max` reconciles here).
95
+ * A backend without a matching native tier clamps to its nearest (e.g. codex maps `xhigh`/`ultracode` → `high`).
93
96
  */
94
- export type ReasoningEffort = 'none' | 'low' | 'medium' | 'high' | 'xhigh' | 'ultracode';
97
+ export type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'ultracode';
95
98
  /**
96
99
  * Model selection hints for backends.
97
100
  */
@@ -118,6 +118,7 @@ export declare const agentProfileModelHintsSchema: z.ZodObject<{
118
118
  provider: z.ZodOptional<z.ZodString>;
119
119
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
120
120
  none: "none";
121
+ minimal: "minimal";
121
122
  low: "low";
122
123
  medium: "medium";
123
124
  high: "high";
@@ -211,6 +212,7 @@ export declare const agentProfileSchema: z.ZodObject<{
211
212
  provider: z.ZodOptional<z.ZodString>;
212
213
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
213
214
  none: "none";
215
+ minimal: "minimal";
214
216
  low: "low";
215
217
  medium: "medium";
216
218
  high: "high";
@@ -37,7 +37,7 @@ export const agentProfileModelHintsSchema = z.object({
37
37
  default: z.string().optional(),
38
38
  small: z.string().optional(),
39
39
  provider: z.string().optional(),
40
- reasoningEffort: z.enum(['none', 'low', 'medium', 'high', 'xhigh', 'ultracode']).optional(),
40
+ reasoningEffort: z.enum(['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'ultracode']).optional(),
41
41
  metadata: z.record(z.string(), z.unknown()).optional(),
42
42
  });
43
43
  export const agentProfilePromptSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",