@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.
- package/dist/{Agent-DbqXQy5q.d.ts → Agent-3eJ9N9hh.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/{mcp-CSLRyvEp.d.ts → mcp-DGd2If0Z.d.ts} +1 -1
- package/dist/mcp.client.d.ts +2 -2
- package/dist/{tools-HsbxgqjF.d.ts → tools-DV4SkkQs.d.ts} +6 -0
- package/dist/tools.shell.d.ts +1 -1
- package/dist/tools.shell.js.map +1 -1
- package/package.json +1 -1
package/dist/mcp.client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-
|
|
2
|
-
import { A as AgentTool } from './tools-
|
|
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
|
package/dist/tools.shell.d.ts
CHANGED