zidane 7.0.31 → 7.0.32
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/README.md +2 -2
- package/dist/{acp-m3TLCY_C.js → acp-bBDF-dhy.js} +2 -2
- package/dist/{acp-m3TLCY_C.js.map → acp-bBDF-dhy.js.map} +1 -1
- package/dist/acp-cli.js +3 -3
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-9gf8ZlBR.js → agent-BCG9JcZl.js} +147 -17
- package/dist/agent-BCG9JcZl.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{approvals-DaCEPCTV.js → approvals-DkwGBMZ9.js} +27 -12
- package/dist/approvals-DkwGBMZ9.js.map +1 -0
- package/dist/{auth-CJogE9q7.js → auth-D0BHBb02.js} +2 -2
- package/dist/{auth-CJogE9q7.js.map → auth-D0BHBb02.js.map} +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat/pure.js +1 -1
- package/dist/chat.d.ts +6 -6
- package/dist/chat.js +5 -5
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-hd4zLhp8.d.ts → index-CCB05-JZ.d.ts} +53 -9
- package/dist/index-CCB05-JZ.d.ts.map +1 -0
- package/dist/{index-JkEO3MBV.d.ts → index-Ogi2CeHf.d.ts} +25 -6
- package/dist/index-Ogi2CeHf.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{ipc-BtN5SIc0.js → ipc-C10lnS-a.js} +2 -2
- package/dist/{ipc-BtN5SIc0.js.map → ipc-C10lnS-a.js.map} +1 -1
- package/dist/ipc.d.ts +5 -5
- package/dist/ipc.js +3 -3
- package/dist/mcp.d.ts +1 -1
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/arcee.d.ts +1 -1
- package/dist/providers/baseten.d.ts +1 -1
- package/dist/providers/cerebras.d.ts +1 -1
- package/dist/providers/local.d.ts +1 -1
- package/dist/providers/openai-compat.d.ts +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/openrouter.d.ts +1 -1
- package/dist/providers/xai.d.ts +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/restate.d.ts +1 -1
- package/dist/restate.js +1 -1
- package/dist/{server-ktOMu5gk.js → server--mwNA7oC.js} +6 -6
- package/dist/{server-ktOMu5gk.js.map → server--mwNA7oC.js.map} +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{tool-formatters-C4QIFCNa.d.ts → tool-formatters-Bu4repDJ.d.ts} +2 -2
- package/dist/{tool-formatters-C4QIFCNa.d.ts.map → tool-formatters-Bu4repDJ.d.ts.map} +1 -1
- package/dist/tools/fetch-url.d.ts +1 -1
- package/dist/tools/web-search.d.ts +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +1 -1
- package/dist/{transcript-anchors-Bbn1HX5D.d.ts → transcript-anchors-CJCxyVE-.d.ts} +2 -2
- package/dist/{transcript-anchors-Bbn1HX5D.d.ts.map → transcript-anchors-CJCxyVE-.d.ts.map} +1 -1
- package/dist/tui.d.ts +3 -3
- package/dist/tui.js +43 -11
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-BgqpLlOG.js → turn-operations-HX3g3XIc.js} +11 -1
- package/dist/{turn-operations-BgqpLlOG.js.map → turn-operations-HX3g3XIc.js.map} +1 -1
- package/dist/{turn-operations-BhHCpCkP.d.ts → turn-operations-qcv9UFcL.d.ts} +3 -3
- package/dist/{turn-operations-BhHCpCkP.d.ts.map → turn-operations-qcv9UFcL.d.ts.map} +1 -1
- package/dist/types-CWgENVLY.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/docs/ARCHITECTURE.md +11 -2
- package/docs/CHAT.md +1 -0
- package/docs/INTERACTIONS.md +14 -2
- package/docs/SKILL.md +3 -1
- package/package.json +1 -1
- package/dist/agent-9gf8ZlBR.js.map +0 -1
- package/dist/approvals-DaCEPCTV.js.map +0 -1
- package/dist/index-JkEO3MBV.d.ts.map +0 -1
- package/dist/index-hd4zLhp8.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ createAgent({
|
|
|
82
82
|
mediaKeepTurns: undefined, // age old image/document base64 off the wire; chat profiles use 8
|
|
83
83
|
autoCompact: false, // loop-native LLM summary at N% of the window; chat profiles enable it
|
|
84
84
|
toolDisclosure: 'eager', // 'eager' | 'lazy' (hide MCP schemas behind tool_search)
|
|
85
|
-
toolSearch: { tool: true, limit: 20 },
|
|
85
|
+
toolSearch: { tool: true, limit: 20, mode: 'unlock' }, // 'dispatch' = stable tool list via call_tool
|
|
86
86
|
},
|
|
87
87
|
execution: createProcessContext(),
|
|
88
88
|
mcpServers: [],
|
|
@@ -669,7 +669,7 @@ const agent = createAgent({
|
|
|
669
669
|
|
|
670
670
|
System prompt gains `<searchable_tools>` with `name + description` per lazy tool. `tool_search` accepts `query` (substring), `names`, `server`, `limit` — matches unlock for the rest of the run. A `tool:gate` middleware refuses dispatch on un-surfaced lazy tools (covers custom/mock providers; production providers also refuse server-side). Catalog + search results show the **wire** name; the unlock set keys on canonical so dispatch and `session.turns` stay alias-stable.
|
|
671
671
|
|
|
672
|
-
Cost: one cache
|
|
672
|
+
Cost in the default `toolSearch.mode: 'unlock'`: one **full** prompt-cache rewrite per discovery wave. Providers hash `tools → system → messages`, so growing the tool list (even at the tail) re-bills the system prompt and every message. `toolSearch.mode: 'dispatch'` removes that: surfaced tools are never added to the tool list. A fixed native `call_tool { name, arguments }` is added to the eager set instead, `tool_search` still returns the schema into the transcript, and the loop unwraps the envelope before dispatch, so gating, argument validation against the inner tool's schema, hooks, telemetry and transcript events all see the inner tool exactly as a direct call (the persisted assistant turn keeps the wire-valid envelope). Only lazy catalog tools ride the envelope; eager tools are always called directly. In the chat hosts this is `Settings.stableToolList`. Opt out of discovery via `behavior.toolSearch.tool: false` (catalog still emits, call-to-action drops). A pre-existing host tool named `tool_search` shadows the auto-injection; a pre-existing `call_tool` disables dispatch mode.
|
|
673
673
|
|
|
674
674
|
## Skills
|
|
675
675
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { P as defaultPromptMessage } from "./openai-compat-Dy56weK8.js";
|
|
2
2
|
import { u as toolResultToText } from "./types-CWgENVLY.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Ct as basic_default, lr as readStateKey, or as hashContent, t as createAgent, ur as resolveReadStateMap } from "./agent-BCG9JcZl.js";
|
|
4
4
|
import { r as createProcessContext } from "./contexts-BSFQVclW.js";
|
|
5
5
|
import { u as errorMessage } from "./errors-DKiMrOKq.js";
|
|
6
6
|
import { o as loadSession, t as createSession } from "./session-CVy-2mAy.js";
|
|
@@ -1764,4 +1764,4 @@ function runAcpStdioServer(options) {
|
|
|
1764
1764
|
//#endregion
|
|
1765
1765
|
export { wrapToolsForAcpClient as a, sessionBlocksToAcp as c, StartUsageError as d, buildStartLocalOptions as f, startProviderNames as h, withAcpDefaultTools as i, stopReasonFromRun as l, startLocalArgOptions as m, AcpProtocolError as n, acpMcpServersToZidane as o, parseStartArgValues as p, createAcpServer as r, acpPromptToPromptParts as s, runAcpStdioServer as t, toolResultToAcpContent as u };
|
|
1766
1766
|
|
|
1767
|
-
//# sourceMappingURL=acp-
|
|
1767
|
+
//# sourceMappingURL=acp-bBDF-dhy.js.map
|