@livx.cc/agentx 0.99.23 → 0.99.25

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-hAKTlzty.js';
1
+ import { A as AgentTool } from './tools-CJAPSBhS.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-CM4Eq9Jf.js';
2
- import { A as AgentTool } from './tools-hAKTlzty.js';
1
+ import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-DiAiMiG5.js';
2
+ import { A as AgentTool } from './tools-CJAPSBhS.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. */
@@ -64,6 +64,9 @@ interface ChatResponse {
64
64
  output?: unknown;
65
65
  status: 'running' | 'completed' | 'error';
66
66
  }[];
67
+ /** A delegated runtime (cursor/claude-code) ended this turn on a tool with NO assistant text after it —
68
+ * it went silent post-work. Signals the loop's closure reflex (see AgentOptions.closeDelegatedTurns). */
69
+ endedOnToolNoText?: boolean;
67
70
  }
68
71
  /**
69
72
  * One incremental event from a streamed `chat({stream:true})` call — mirrors
@@ -1,4 +1,4 @@
1
- import { A as AgentTool } from './tools-hAKTlzty.js';
1
+ import { A as AgentTool } from './tools-CJAPSBhS.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.23",
3
+ "version": "0.99.25",
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",