@livx.cc/agentx 0.99.103 → 0.99.105

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-lC3jn60o.js';
1
+ import { A as AgentTool } from './tools-DZHZIyxh.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-BhTxN2I7.js';
2
- import { A as AgentTool } from './tools-lC3jn60o.js';
1
+ import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-CUo-9LUe.js';
2
+ import { A as AgentTool } from './tools-DZHZIyxh.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)
@@ -535,6 +535,10 @@ interface ToolContext {
535
535
  * the run with `finishReason:'needs_input'`, handing the question to the caller instead of letting
536
536
  * the agent guess. Cleared at the start of every run. */
537
537
  needsInput?: UserQuestion;
538
+ /** Set by a tool whose result IS the turn's outcome (e.g. the voice reflex's Hold: stay silent). The Agent ends the
539
+ * run cleanly ('stop', no further model step) after the batch — a model that keeps re-calling it would otherwise
540
+ * spend a step per call until the repeat kill-switch. Cleared at the start of every run. */
541
+ endTurn?: boolean;
538
542
  }
539
543
  interface AgentTool {
540
544
  name: string;
@@ -1,4 +1,4 @@
1
- import { k as JobRegistry, A as AgentTool } from './tools-lC3jn60o.js';
1
+ import { k as JobRegistry, A as AgentTool } from './tools-DZHZIyxh.js';
2
2
  import '@livx.cc/wcli/core';
3
3
 
4
4
  /**