@livx.cc/agentx 0.99.63 → 0.99.64

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.
@@ -1,4 +1,4 @@
1
- import { A as AgentTool } from './tools-HsbxgqjF.js';
1
+ import { A as AgentTool } from './tools-DV4SkkQs.js';
2
2
 
3
3
  /**
4
4
  * MCP bridge — adapt a Model Context Protocol tool list into the agent's AgentTool[],
@@ -1,5 +1,5 @@
1
- import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-CSLRyvEp.js';
2
- import { A as AgentTool } from './tools-HsbxgqjF.js';
1
+ import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-DGd2If0Z.js';
2
+ import { A as AgentTool } from './tools-DV4SkkQs.js';
3
3
  import '@livx.cc/wcli/core';
4
4
 
5
5
  /** Hard cap for `tools/call`. NOT the 30s protocol timeout: a tool call is real work (an image render, a crawl)
@@ -32,6 +32,9 @@ interface Message {
32
32
  tool_calls?: ToolCall[];
33
33
  /** The assistant step's reasoning, kept ONLY for providers that need it passed back (see passesBackReasoning). */
34
34
  reasoning_content?: string;
35
+ /** Concrete model this assistant step actually ran. Aliases (`claude-code/opus`) resolve to a real id
36
+ * (e.g. `claude-opus-5-5`) reported by the backend; recorded so the transcript shows what truly ran. */
37
+ model?: string;
35
38
  }
36
39
  /** Flatten any message content to its text (string as-is; parts → concatenated text) — for length
37
40
  * estimation, summaries, and display. Non-text parts (images) contribute a short placeholder. */
@@ -181,6 +184,9 @@ interface StreamChunk {
181
184
  content: string;
182
185
  finishReason?: string;
183
186
  index?: number;
187
+ /** Concrete model the backend actually ran, when it differs from the requested alias (e.g. a
188
+ * `claude-code/opus` request runs `claude-opus-5-5`). Mirrors ai.libx.js's StreamChunk.model. */
189
+ model?: string;
184
190
  toolCalls?: ToolCall[];
185
191
  reasoningContent?: string;
186
192
  /** Display-only tool activity from a self-executing backend (Cursor CLI) — surfaced as a host
@@ -1,4 +1,4 @@
1
- import { k as JobRegistry, A as AgentTool } from './tools-HsbxgqjF.js';
1
+ import { k as JobRegistry, A as AgentTool } from './tools-DV4SkkQs.js';
2
2
  import '@livx.cc/wcli/core';
3
3
 
4
4
  /**