@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.
- package/dist/{Agent--Kxl9DXO.d.ts → Agent-BhOcPaxG.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +57 -13
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/dist/{mcp-BhTxN2I7.d.ts → mcp-CUo-9LUe.d.ts} +1 -1
- package/dist/mcp.client.d.ts +2 -2
- package/dist/{tools-lC3jn60o.d.ts → tools-DZHZIyxh.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-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;
|
package/dist/tools.shell.d.ts
CHANGED