@livx.cc/agentx 0.99.22 → 0.99.23

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-ClgFZjUr.js';
1
+ import { A as AgentTool } from './tools-hAKTlzty.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-2wyAAfPQ.js';
2
- import { A as AgentTool } from './tools-ClgFZjUr.js';
1
+ import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-CM4Eq9Jf.js';
2
+ import { A as AgentTool } from './tools-hAKTlzty.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. */
@@ -54,6 +54,16 @@ interface ChatResponse {
54
54
  completionTokens: number;
55
55
  totalTokens: number;
56
56
  };
57
+ /** Tools a self-executing runtime (cursor/claude-code) ran inside its OWN loop — correlated from
58
+ * the display-only `toolActivity` stream. Not dispatched by us; persisted so the transcript keeps
59
+ * a faithful record (audit + resume) instead of being narration-only. */
60
+ delegatedTools?: {
61
+ id: string;
62
+ name: string;
63
+ input?: unknown;
64
+ output?: unknown;
65
+ status: 'running' | 'completed' | 'error';
66
+ }[];
57
67
  }
58
68
  /**
59
69
  * One incremental event from a streamed `chat({stream:true})` call — mirrors
@@ -1,4 +1,4 @@
1
- import { A as AgentTool } from './tools-ClgFZjUr.js';
1
+ import { A as AgentTool } from './tools-hAKTlzty.js';
2
2
  import '@livx.cc/wcli/core';
3
3
 
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livx.cc/agentx",
3
- "version": "0.99.22",
3
+ "version": "0.99.23",
4
4
  "description": "Edge-native AI agent runtime — drives a virtual filesystem via any LLM (ai.libx.js). Same bytes run in node, browser, or edge.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",