@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.
@@ -1,4 +1,4 @@
1
- import { A as AgentTool } from './tools-S-ArIR3o.js';
1
+ import { A as AgentTool } from './tools-BqL8Lk4J.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-D5eN0JyQ.js';
2
- import { A as AgentTool } from './tools-S-ArIR3o.js';
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. */
@@ -1,4 +1,4 @@
1
- import { A as AgentTool } from './tools-S-ArIR3o.js';
1
+ import { A as AgentTool } from './tools-BqL8Lk4J.js';
2
2
  import '@livx.cc/wcli/core';
3
3
 
4
4
  /**