@livx.cc/agentx 0.99.44 → 0.99.46
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-f4um2q8E.d.ts → Agent-OcAg2yxA.d.ts} +15 -1
- package/dist/cli.d.ts +5 -4
- package/dist/cli.js +68 -13
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +66 -12
- package/dist/index.js.map +1 -1
- package/dist/{mcp-D5eN0JyQ.d.ts → mcp-kgG6rtsd.d.ts} +1 -1
- package/dist/mcp.client.d.ts +2 -2
- package/dist/{tools-S-ArIR3o.d.ts → tools-BqL8Lk4J.d.ts} +4 -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-kgG6rtsd.js';
|
|
2
|
+
import { A as AgentTool } from './tools-BqL8Lk4J.js';
|
|
3
3
|
import '@livx.cc/wcli/core';
|
|
4
4
|
|
|
5
5
|
/** A JSON-RPC 2.0 transport: request (awaits a result), notify (fire-and-forget), close. */
|
|
@@ -30,6 +30,8 @@ interface Message {
|
|
|
30
30
|
name?: string;
|
|
31
31
|
tool_call_id?: string;
|
|
32
32
|
tool_calls?: ToolCall[];
|
|
33
|
+
/** The assistant step's reasoning, kept ONLY for providers that need it passed back (see passesBackReasoning). */
|
|
34
|
+
reasoning_content?: string;
|
|
33
35
|
}
|
|
34
36
|
/** Flatten any message content to its text (string as-is; parts → concatenated text) — for length
|
|
35
37
|
* estimation, summaries, and display. Non-text parts (images) contribute a short placeholder. */
|
|
@@ -151,6 +153,8 @@ interface ChatResponse {
|
|
|
151
153
|
completionTokens: number;
|
|
152
154
|
totalTokens: number;
|
|
153
155
|
};
|
|
156
|
+
/** The step's accumulated reasoning/thinking text (provider-dependent). */
|
|
157
|
+
reasoningContent?: string;
|
|
154
158
|
/** Tools a self-executing runtime (cursor/claude-code) ran inside its OWN loop — correlated from
|
|
155
159
|
* the display-only `toolActivity` stream. Not dispatched by us; persisted so the transcript keeps
|
|
156
160
|
* a faithful record (audit + resume) instead of being narration-only. */
|
package/dist/tools.shell.d.ts
CHANGED