zidane 6.4.4 → 6.5.0
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 +1 -0
- package/dist/{acp-BLO58K3F.js → acp-B-AOovHz.js} +2 -2
- package/dist/{acp-BLO58K3F.js.map → acp-B-AOovHz.js.map} +1 -1
- package/dist/acp-cli.js +3 -2
- package/dist/acp-cli.js.map +1 -1
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-8sUadp5M.js → agent-SQ6rxfpT.js} +231 -106
- package/dist/agent-SQ6rxfpT.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +13 -44
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +5 -4
- package/dist/chat.js.map +1 -1
- package/dist/{context-transport-D29WvHcm.js → context-transport-CDBatvQc.js} +3 -3
- package/dist/{context-transport-D29WvHcm.js.map → context-transport-CDBatvQc.js.map} +1 -1
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/extensions.d.ts +2 -2
- package/dist/extensions.js +2 -2
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-C-Nd2ZbV.d.ts → index-CWBSrqI6.d.ts} +676 -3
- package/dist/index-CWBSrqI6.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/{login-CMVVnAHS.js → login-XZDS4K2o.js} +3 -3
- package/dist/{login-CMVVnAHS.js.map → login-XZDS4K2o.js.map} +1 -1
- package/dist/{mcp-3GXUBwur.js → mcp-D27rP47I.js} +87 -6
- package/dist/mcp-D27rP47I.js.map +1 -0
- package/dist/mcp.d.ts +2 -2
- package/dist/mcp.js +3 -2
- package/dist/origin-pinned-fetch-CqG8VZIq.js +159 -0
- package/dist/origin-pinned-fetch-CqG8VZIq.js.map +1 -0
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/plugins-2PMTVcp-.js +1174 -0
- package/dist/plugins-2PMTVcp-.js.map +1 -0
- package/dist/plugins.d.ts +2 -0
- package/dist/plugins.js +2 -0
- 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 +5 -3
- package/dist/restate.js.map +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/{resolve-CZJxds85.js → skills-Cp9vnBwd.js} +1430 -1006
- package/dist/skills-Cp9vnBwd.js.map +1 -0
- package/dist/skills.d.ts +1 -1
- package/dist/skills.js +1 -2
- package/dist/{stdio-BvL8HGYW.js → stdio-O-m9WVkE.js} +2 -2
- package/dist/{stdio-BvL8HGYW.js.map → stdio-O-m9WVkE.js.map} +1 -1
- package/dist/{stdio-loader-CjfoqBle.js → stdio-loader-BSGQmG4L.js} +2 -2
- package/dist/{stdio-loader-CjfoqBle.js.map → stdio-loader-BSGQmG4L.js.map} +1 -1
- package/dist/{tool-formatters-DPQjso_C.d.ts → tool-formatters-gFqQbzPY.d.ts} +2 -2
- package/dist/{tool-formatters-DPQjso_C.d.ts.map → tool-formatters-gFqQbzPY.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-CgDzYin1.js → transcript-anchors-D4IxJifV.js} +42 -5
- package/dist/transcript-anchors-D4IxJifV.js.map +1 -0
- package/dist/{transcript-anchors-BCUpbNxc.d.ts → transcript-anchors-qCs3wZpu.d.ts} +98 -92
- package/dist/transcript-anchors-qCs3wZpu.d.ts.map +1 -0
- package/dist/tui.d.ts +38 -4
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +839 -105
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-Bu2Hkinw.d.ts → turn-operations-M9-jUyDd.d.ts} +3 -3
- package/dist/{turn-operations-Bu2Hkinw.d.ts.map → turn-operations-M9-jUyDd.d.ts.map} +1 -1
- package/dist/types-BIarq1qE.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/docs/PLUGINS.md +340 -0
- package/docs/RESTATE.md +69 -3
- package/docs/SKILL.md +24 -8
- package/package.json +6 -1
- package/dist/agent-8sUadp5M.js.map +0 -1
- package/dist/index-C-Nd2ZbV.d.ts.map +0 -1
- package/dist/mcp-3GXUBwur.js.map +0 -1
- package/dist/resolve-CZJxds85.js.map +0 -1
- package/dist/skills-Dd6XCi4s.js +0 -420
- package/dist/skills-Dd6XCi4s.js.map +0 -1
- package/dist/transcript-anchors-BCUpbNxc.d.ts.map +0 -1
- package/dist/transcript-anchors-CgDzYin1.js.map +0 -1
|
@@ -174,6 +174,49 @@ declare function setModelCatalog(catalog: ModelCatalog | null): void;
|
|
|
174
174
|
/** The process-wide catalog, normalized to source form. */
|
|
175
175
|
declare function getModelCatalog(): ModelCatalogSource | undefined;
|
|
176
176
|
//#endregion
|
|
177
|
+
//#region src/mcp/origin-pinned-fetch.d.ts
|
|
178
|
+
/**
|
|
179
|
+
* The transport-reachability rule for a remote MCP endpoint: HTTPS anywhere,
|
|
180
|
+
* plaintext HTTP only when it stays on the machine, nothing else.
|
|
181
|
+
*
|
|
182
|
+
* THE single encoding of that policy. It's enforced at two points on opposite
|
|
183
|
+
* sides of the plugin boundary — once when validating a plugin's `mcp.json`
|
|
184
|
+
* (`plugins/mcp.ts`), and again per redirect hop inside
|
|
185
|
+
* {@link originPinnedFetch} — and those two must never disagree. If they did,
|
|
186
|
+
* a URL the loader refused could still be reached by redirect, which is the
|
|
187
|
+
* exact hole the pinning exists to close. Relaxing the rule (private ranges,
|
|
188
|
+
* `*.localhost`, …) is then a one-line change that both sites inherit.
|
|
189
|
+
*
|
|
190
|
+
* Scheme and host only. Authoring rules that apply to a CONFIGURED url but
|
|
191
|
+
* have no meaning for a redirect target — no userinfo, no fragment — stay with
|
|
192
|
+
* the loader.
|
|
193
|
+
*/
|
|
194
|
+
declare function isAllowedRemoteUrl(url: URL): boolean;
|
|
195
|
+
/**
|
|
196
|
+
* The fetch shape this wrapper supports — deliberately narrower than
|
|
197
|
+
* `typeof fetch`, matching the MCP SDK's `FetchLike`.
|
|
198
|
+
*
|
|
199
|
+
* A `Request` input is NOT accepted: the wrapper rebuilds each hop from
|
|
200
|
+
* `init`, so it would silently drop a Request's method, headers and body and
|
|
201
|
+
* issue a bare credential-less GET. Narrowing the type makes that shape
|
|
202
|
+
* unrepresentable rather than a quiet failure on a security-relevant helper.
|
|
203
|
+
* Both SDK transports only ever pass a URL plus init.
|
|
204
|
+
*/
|
|
205
|
+
type PinnedFetch = (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
206
|
+
/**
|
|
207
|
+
* Wrap `baseFetch` so `headerNames` are dropped on any hop that leaves the
|
|
208
|
+
* origin of `configuredUrl`, and so a redirect cannot downgrade the session
|
|
209
|
+
* to cleartext.
|
|
210
|
+
*
|
|
211
|
+
* `authorization` is ALWAYS protected, whether or not the caller listed it.
|
|
212
|
+
* The MCP SDK's OAuth provider injects that header per request rather than
|
|
213
|
+
* through `McpServerConfig.headers` — `bootstrapServer` attaches a provider to
|
|
214
|
+
* a flagless server whenever stored tokens exist — so a strip list derived
|
|
215
|
+
* only from the configured header names would leave the bearer token exposed
|
|
216
|
+
* on exactly the servers that have one.
|
|
217
|
+
*/
|
|
218
|
+
declare function originPinnedFetch(configuredUrl: string, headerNames: readonly string[], baseFetch?: PinnedFetch): PinnedFetch;
|
|
219
|
+
//#endregion
|
|
177
220
|
//#region src/mcp/index.d.ts
|
|
178
221
|
interface McpConnection {
|
|
179
222
|
tools: Record<string, ToolDef>;
|
|
@@ -228,6 +271,21 @@ declare function deriveMcpToolMeta(namespacedName: string, servers: readonly Mcp
|
|
|
228
271
|
* `AgentOptions.mcpToolWrap` hook to discovered tools.
|
|
229
272
|
*/
|
|
230
273
|
declare function wrapDiscoveredMcpTools(tools: Record<string, ToolDef>, wrap: McpToolWrap, servers: readonly McpServerConfig[]): Record<string, ToolDef>;
|
|
274
|
+
/**
|
|
275
|
+
* The config a transport is actually built from.
|
|
276
|
+
*
|
|
277
|
+
* `${VAR}` placeholders resolve HERE, not at normalize time — see
|
|
278
|
+
* {@link expandMcpConfigEnv} for why (config writers round-trip normalized
|
|
279
|
+
* configs to disk; expanded secrets must never ride along).
|
|
280
|
+
*
|
|
281
|
+
* A `preExpanded` config skips the pass entirely. The Agent Plugins loader
|
|
282
|
+
* has already substituted the only two placeholders that spec permits, in
|
|
283
|
+
* only the three fields it permits, so a second pass would both widen the
|
|
284
|
+
* scope (into `command` / `url` / `headers`) and let an ambient
|
|
285
|
+
* `PLUGIN_ROOT` env var reach text the spec says stays literal. See
|
|
286
|
+
* {@link McpServerConfig.preExpanded}.
|
|
287
|
+
*/
|
|
288
|
+
declare function resolveTransportConfig(config: McpServerConfig): McpServerConfig;
|
|
231
289
|
/**
|
|
232
290
|
* Expand environment-variable placeholders in one config string. The
|
|
233
291
|
* `:-default` form follows shell semantics — the default substitutes when
|
|
@@ -1891,6 +1949,14 @@ interface ToolContext {
|
|
|
1891
1949
|
* directly off the context instead of resolving via the session.
|
|
1892
1950
|
*/
|
|
1893
1951
|
parentRunId?: string;
|
|
1952
|
+
/**
|
|
1953
|
+
* Tool-call id of the `spawn` call that created the run owning this tool
|
|
1954
|
+
* call. Set for every child the built-in `spawn` tool starts (it forwards
|
|
1955
|
+
* its own `callId`), absent on top-level runs and on host-rolled subagents
|
|
1956
|
+
* that don't pass `AgentRunOptions.parentCallId`. Unlike `parentRunId` it
|
|
1957
|
+
* does not depend on a shared session — see `ToolHookContext.parentCallId`.
|
|
1958
|
+
*/
|
|
1959
|
+
parentCallId?: string;
|
|
1894
1960
|
/**
|
|
1895
1961
|
* The agent's session, when one was provided to `createAgent`. Tools that
|
|
1896
1962
|
* want to persist their own state (or, in the case of `spawn`, inherit the
|
|
@@ -1995,6 +2061,20 @@ interface ToolDef {
|
|
|
1995
2061
|
* should leave it unset.
|
|
1996
2062
|
*/
|
|
1997
2063
|
isConcurrencySafe?: boolean | ((input: Record<string, unknown>) => boolean);
|
|
2064
|
+
/**
|
|
2065
|
+
* Whether this tool runs a full nested agent loop inside its `execute`
|
|
2066
|
+
* (the built-in `spawn` tool, or any host orchestrator tool that calls
|
|
2067
|
+
* `agent.run`). Purely declarative — the loop treats such tools like any
|
|
2068
|
+
* other; it exists for durable-execution adapters.
|
|
2069
|
+
*
|
|
2070
|
+
* Why adapters care: a nested agent drives its OWN provider and tools,
|
|
2071
|
+
* which under a durable runtime are already journaled. Wrapping the outer
|
|
2072
|
+
* tool would nest those journal entries inside the outer tool's journaled
|
|
2073
|
+
* closure, which durable runtimes forbid. `wrapAgentTools` therefore leaves
|
|
2074
|
+
* these tools unwrapped so the child's own steps journal directly — see
|
|
2075
|
+
* `docs/RESTATE.md`.
|
|
2076
|
+
*/
|
|
2077
|
+
runsNestedAgent?: boolean;
|
|
1998
2078
|
}
|
|
1999
2079
|
type ToolMap = Map<string, ToolDef>;
|
|
2000
2080
|
//#endregion
|
|
@@ -2042,6 +2122,18 @@ interface AgentClock {
|
|
|
2042
2122
|
* RFC-4122 v4 UUID string. Always sync.
|
|
2043
2123
|
*/
|
|
2044
2124
|
randomUUID: () => string;
|
|
2125
|
+
/**
|
|
2126
|
+
* Set by durable-execution adapters whose `now()` is journaled (e.g.
|
|
2127
|
+
* `restateClock`), i.e. one that replays byte-identical values instead of
|
|
2128
|
+
* advancing with real time. Absent / `false` on the native clock.
|
|
2129
|
+
*
|
|
2130
|
+
* Consumers use it to avoid branching on wall-clock time inside a journaled
|
|
2131
|
+
* region — a `setTimeout` race decides differently on a replay than it did
|
|
2132
|
+
* live, which diverges control flow. The built-in `spawn` tool reads it to
|
|
2133
|
+
* enforce its per-child timeout through the loop's journaled `maxWallMs`
|
|
2134
|
+
* deadline instead of a timer.
|
|
2135
|
+
*/
|
|
2136
|
+
journaled?: boolean;
|
|
2045
2137
|
}
|
|
2046
2138
|
/** Native clock backing the default (Date.now + crypto.randomUUID). */
|
|
2047
2139
|
declare const DEFAULT_AGENT_CLOCK: AgentClock;
|
|
@@ -2272,6 +2364,34 @@ interface McpServerConfig {
|
|
|
2272
2364
|
* eligible to succeed once the upstream is reachable again.
|
|
2273
2365
|
*/
|
|
2274
2366
|
lazyConnect?: boolean;
|
|
2367
|
+
/**
|
|
2368
|
+
* Suppress `${VAR}` expansion at the transport boundary.
|
|
2369
|
+
*
|
|
2370
|
+
* Set by the Agent Plugins loader (`plugins/mcp.ts`), whose placeholder
|
|
2371
|
+
* rules are DELIBERATELY narrower than zidane's: the spec expands only
|
|
2372
|
+
* `${PLUGIN_ROOT}` / `${PLUGIN_DATA}`, and only inside `args`, `env`
|
|
2373
|
+
* values and `cwd` — never in `command`, `url` or `headers`. Those two
|
|
2374
|
+
* placeholders are already substituted by the time the config gets here,
|
|
2375
|
+
* so a second pass would (a) expand the wrong fields and (b) let an
|
|
2376
|
+
* ambient `PLUGIN_ROOT` env var reach fields the spec says must keep the
|
|
2377
|
+
* literal text.
|
|
2378
|
+
*
|
|
2379
|
+
* Hand-written `mcps.json` entries leave this unset and keep the full
|
|
2380
|
+
* `${VAR}` / `${VAR:-default}` / `${env:VAR}` behavior.
|
|
2381
|
+
*/
|
|
2382
|
+
preExpanded?: boolean;
|
|
2383
|
+
/**
|
|
2384
|
+
* Pin {@link McpServerConfig.headers} to the configured URL's origin
|
|
2385
|
+
* (sse / streamable-http only).
|
|
2386
|
+
*
|
|
2387
|
+
* When set, redirects are followed manually and the configured headers
|
|
2388
|
+
* are STRIPPED the moment a hop leaves the original origin, so a
|
|
2389
|
+
* cooperating-then-redirecting server cannot harvest a plugin's bearer
|
|
2390
|
+
* token. Set by the Agent Plugins loader, which must satisfy the spec's
|
|
2391
|
+
* "never forward configured headers to a different origin" rule; opt in
|
|
2392
|
+
* manually for any other server whose headers carry a secret.
|
|
2393
|
+
*/
|
|
2394
|
+
pinHeaderOrigin?: boolean;
|
|
2275
2395
|
}
|
|
2276
2396
|
/**
|
|
2277
2397
|
* Configuration for the loop's retry-with-backoff policy around
|
|
@@ -4516,6 +4636,21 @@ interface AgentRunOptions {
|
|
|
4516
4636
|
* parent↔child run tree can be reconstructed from a persisted session.
|
|
4517
4637
|
*/
|
|
4518
4638
|
parentRunId?: string;
|
|
4639
|
+
/**
|
|
4640
|
+
* Tool-call id of the `spawn` call that created this run. The built-in
|
|
4641
|
+
* `spawn` tool populates it from its own `ToolContext.callId` for every
|
|
4642
|
+
* child it starts — no `persist` / shared session needed, unlike
|
|
4643
|
+
* `parentRunId`. Hosts that roll their own subagent (calling `agent.run`
|
|
4644
|
+
* with `depth` set from inside a tool) must pass it themselves; nothing
|
|
4645
|
+
* derives it, so `depth >= 1` alone does not imply it is set.
|
|
4646
|
+
*
|
|
4647
|
+
* Lands on every `ToolContext` / `ToolHookContext` / `McpToolHookContext`
|
|
4648
|
+
* of the run, so a host can attribute a subagent's tool call to the spawn
|
|
4649
|
+
* call that owns it — see {@link ToolHookContext.parentCallId}. Not
|
|
4650
|
+
* persisted onto `SessionRun`: it names a call in the spawning agent's
|
|
4651
|
+
* live turn, not a row in the run tree.
|
|
4652
|
+
*/
|
|
4653
|
+
parentCallId?: string;
|
|
4519
4654
|
/**
|
|
4520
4655
|
* Resume a prior run's conversation: seed this run's turns from the
|
|
4521
4656
|
* session turns tagged with this `runId` (filtered through
|
|
@@ -4717,6 +4852,12 @@ interface AgentStats {
|
|
|
4717
4852
|
interface ChildRunStats {
|
|
4718
4853
|
id: string;
|
|
4719
4854
|
task: string;
|
|
4855
|
+
/**
|
|
4856
|
+
* Tool-call id of the `spawn` call that produced this child — see
|
|
4857
|
+
* {@link SpawnHookContext.callId}. Lets a `spawn:complete` listener close
|
|
4858
|
+
* out the same grouping key it opened on `spawn:before`.
|
|
4859
|
+
*/
|
|
4860
|
+
callId?: string;
|
|
4720
4861
|
/**
|
|
4721
4862
|
* The child agent's full {@link AgentStats}. Cumulative for that child's
|
|
4722
4863
|
* own subtree (child loop + its grandchildren). Do **not** sum
|
|
@@ -4779,6 +4920,29 @@ interface ToolHookContext {
|
|
|
4779
4920
|
* without resolving the run row.
|
|
4780
4921
|
*/
|
|
4781
4922
|
parentRunId?: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* Tool-call id of the `spawn` call that created the run this tool call
|
|
4925
|
+
* belongs to. Absent on top-level runs.
|
|
4926
|
+
*
|
|
4927
|
+
* Set for every child the built-in `spawn` tool starts — it comes from the
|
|
4928
|
+
* spawn tool's own call rather than from session-backed run bookkeeping,
|
|
4929
|
+
* so unlike `parentRunId` it survives `persist: false` spawns. It is NOT
|
|
4930
|
+
* an invariant of `depth >= 1`: a host that spawns by calling `agent.run`
|
|
4931
|
+
* with `depth` itself sees a subagent with no `parentCallId` unless it
|
|
4932
|
+
* passes `AgentRunOptions.parentCallId` too. Treat it as present-or-absent,
|
|
4933
|
+
* not as derivable from depth.
|
|
4934
|
+
*
|
|
4935
|
+
* Hosts mirroring subagent activity into a client protocol use it as the
|
|
4936
|
+
* "parent tool use" grouping key: absent at depth 0, and at depth >= 1 a
|
|
4937
|
+
* real tool-call id rather than a synthetic label. Where it *resolves*
|
|
4938
|
+
* depends on depth — at depth 1 it names a call the parent's own `tool:*`
|
|
4939
|
+
* events already carried, while at depth >= 2 it names a call in the
|
|
4940
|
+
* child's turn, which a top-level listener only ever saw as
|
|
4941
|
+
* `child:tool:*`. So it always groups correctly, but a lookup against the
|
|
4942
|
+
* top-level tool stream alone only hits for depth 1. This mirrors the
|
|
4943
|
+
* ancestry semantics of `childId` / `depth` on `child:*` events.
|
|
4944
|
+
*/
|
|
4945
|
+
parentCallId?: string;
|
|
4782
4946
|
/**
|
|
4783
4947
|
* Subagent depth for this tool call. 0 = top-level, 1 = first-level
|
|
4784
4948
|
* child, etc. Mirrors `ToolContext.depth` so hook consumers don't
|
|
@@ -4809,6 +4973,8 @@ interface McpToolHookContext {
|
|
|
4809
4973
|
runId?: string;
|
|
4810
4974
|
/** Parent run id when this tool call's agent is a subagent — see `ToolHookContext.parentRunId`. */
|
|
4811
4975
|
parentRunId?: string;
|
|
4976
|
+
/** Spawning tool call's id when this tool call's agent is a subagent — see `ToolHookContext.parentCallId`. */
|
|
4977
|
+
parentCallId?: string;
|
|
4812
4978
|
/** Subagent depth — see `ToolHookContext.depth`. */
|
|
4813
4979
|
depth?: number;
|
|
4814
4980
|
}
|
|
@@ -4820,6 +4986,19 @@ interface SessionHookContext {
|
|
|
4820
4986
|
interface SpawnHookContext {
|
|
4821
4987
|
id: string;
|
|
4822
4988
|
task: string;
|
|
4989
|
+
/**
|
|
4990
|
+
* Tool-call id of the `spawn` call this event belongs to — the same value
|
|
4991
|
+
* the child's own tool events carry as `ToolHookContext.parentCallId`.
|
|
4992
|
+
* Gives hosts the `childId` -> spawn-call mapping at spawn time, which is
|
|
4993
|
+
* the only place to learn it for a child that never dispatches a tool (and
|
|
4994
|
+
* the only place at all under parallel spawns, where `tool:before` for two
|
|
4995
|
+
* spawn calls and their `spawn:before` events interleave).
|
|
4996
|
+
*
|
|
4997
|
+
* Absent for hand-fired payloads and for spawn-style tools invoked with a
|
|
4998
|
+
* `ToolContext` that carries no `callId`. Not persisted — see
|
|
4999
|
+
* `AgentRunOptions.parentCallId`.
|
|
5000
|
+
*/
|
|
5001
|
+
callId?: string;
|
|
4823
5002
|
/**
|
|
4824
5003
|
* Child label of the prior run this spawn continues (e.g. `"child-2"`),
|
|
4825
5004
|
* set when the spawn was invoked with `resume`. Hosts render it next to
|
|
@@ -8767,6 +8946,30 @@ interface Settings {
|
|
|
8767
8946
|
* list on the next toggle (consistent with skills / MCPs).
|
|
8768
8947
|
*/
|
|
8769
8948
|
enabledExtensions?: readonly string[];
|
|
8949
|
+
/**
|
|
8950
|
+
* Allowlist of Agent Plugin names — everything discovered under
|
|
8951
|
+
* `.agents/plugins/<name>/` or `.{prefix}/plugins/<name>/` (project +
|
|
8952
|
+
* user), plus plugins an extension loaded via `ctx.loadAgentPlugin`. Same
|
|
8953
|
+
* polarity + semantics as `enabledSkills` / `enabledMcps`:
|
|
8954
|
+
*
|
|
8955
|
+
* - `undefined` → every discovered plugin loads (fresh-install default).
|
|
8956
|
+
* - `[]` → no plugins load.
|
|
8957
|
+
* - `[names]` → allowlist; only those load.
|
|
8958
|
+
*
|
|
8959
|
+
* The key is the plugin's MANIFEST name (its identity per the Agent
|
|
8960
|
+
* Plugins spec), falling back to the directory basename for a plugin whose
|
|
8961
|
+
* manifest was rejected — so a broken plugin still has a stable row.
|
|
8962
|
+
*
|
|
8963
|
+
* A plugin's skills and MCP servers are gated by this list. Its skills are
|
|
8964
|
+
* additionally force-included into `enabledSkills` when the user has an
|
|
8965
|
+
* allowlist there, since enabling the plugin IS the consent.
|
|
8966
|
+
*
|
|
8967
|
+
* The gate is plugin-level only: a plugin's skills do not appear in the
|
|
8968
|
+
* Skills tab (that list is a disk scan of the skill scan paths, which plugin
|
|
8969
|
+
* skills deliberately bypass), so there is no per-skill toggle for them.
|
|
8970
|
+
* Turning off one skill of a plugin means disabling the plugin.
|
|
8971
|
+
*/
|
|
8972
|
+
enabledPlugins?: readonly string[];
|
|
8770
8973
|
/**
|
|
8771
8974
|
* Per-server **deny-list** of tool names to hide from the model. Maps
|
|
8772
8975
|
* 1:1 onto `McpServerConfig.disabledTools` at agent-construction
|
|
@@ -10373,6 +10576,94 @@ declare const BUILTIN_THEMES: Readonly<Record<string, Theme>>;
|
|
|
10373
10576
|
/** Resolve a theme id to its full `Theme`, falling back to default on unknown ids. */
|
|
10374
10577
|
declare function resolveTheme(id: string | undefined, extraThemes?: Readonly<Record<string, Theme>>): Theme;
|
|
10375
10578
|
//#endregion
|
|
10579
|
+
//#region src/chat/xdg.d.ts
|
|
10580
|
+
/**
|
|
10581
|
+
* XDG Base Directory resolution for zidane.
|
|
10582
|
+
*
|
|
10583
|
+
* The user's storage spreads across four logical slots:
|
|
10584
|
+
*
|
|
10585
|
+
* - **config** — credentials, mcp-credentials, keybindings, config.json,
|
|
10586
|
+
* mcps.json, skills (user-editable surface).
|
|
10587
|
+
* - **data** — sessions.db (long-lived chat history).
|
|
10588
|
+
* - **state** — state.json (per-machine UI bookkeeping: last provider,
|
|
10589
|
+
* last model, last agent, settings).
|
|
10590
|
+
* - **cache** — persisted tool results, background-task logs,
|
|
10591
|
+
* auto-update registry cache (regenerable, safe to wipe).
|
|
10592
|
+
*
|
|
10593
|
+
* Historically all four collapsed to `~/.zidane/`. This module adds
|
|
10594
|
+
* XDG-Base-Directory-aware defaults so a Linux user with no existing
|
|
10595
|
+
* `~/.zidane/` lands in the conventional `~/.config/zidane/`,
|
|
10596
|
+
* `~/.local/share/zidane/`, `~/.local/state/zidane/`, `~/.cache/zidane/`
|
|
10597
|
+
* trio. Existing setups (anyone with a `~/.zidane/` directory or
|
|
10598
|
+
* `ZIDANE_STORAGE_DIR` set) keep the single-dir layout unchanged.
|
|
10599
|
+
*
|
|
10600
|
+
* Resolution flow — applied in this order:
|
|
10601
|
+
*
|
|
10602
|
+
* 1. Caller passed an explicit `storageDir` (`ChatOptions.storageDir`)
|
|
10603
|
+
* OR `ZIDANE_STORAGE_DIR` is set → **legacy-explicit** single-dir
|
|
10604
|
+
* layout under `<storageDir>/<prefix>`. The four slots collapse to
|
|
10605
|
+
* the same directory.
|
|
10606
|
+
* 2. `~/<prefix>/` already exists on disk → **legacy-existing**
|
|
10607
|
+
* single-dir layout under that directory. Upgrades never silently
|
|
10608
|
+
* shift files around.
|
|
10609
|
+
* 3. Any `XDG_*_HOME` env var is set OR `process.platform === 'linux'`
|
|
10610
|
+
* → **XDG split**. Each slot lands in its own dir. Per-slot
|
|
10611
|
+
* `ZIDANE_{CONFIG,DATA,CACHE,STATE}_DIR` overrides beat the XDG
|
|
10612
|
+
* vars for surgical tweaks.
|
|
10613
|
+
* 4. Otherwise (macOS/Windows, no XDG signal, no existing dir) →
|
|
10614
|
+
* **default** single-dir layout at `~/<prefix>/`. Day-one behavior
|
|
10615
|
+
* on these platforms is unchanged.
|
|
10616
|
+
*
|
|
10617
|
+
* The `userDir` legacy alias always equals `configDir` so existing code
|
|
10618
|
+
* that still references `paths.userDir` keeps reading credentials, mcps,
|
|
10619
|
+
* etc. from the right place.
|
|
10620
|
+
*/
|
|
10621
|
+
/** The four slot kinds we resolve. Names match the XDG spec. */
|
|
10622
|
+
type StorageSlot = 'config' | 'data' | 'state' | 'cache';
|
|
10623
|
+
/** Which resolution branch produced the layout — surfaced for debugging + tests. */
|
|
10624
|
+
type StorageMode = 'legacy-explicit' | 'legacy-existing' | 'xdg' | 'default';
|
|
10625
|
+
/**
|
|
10626
|
+
* Per-slot directories. In legacy / default modes the four fields all
|
|
10627
|
+
* point at the same path; in XDG mode they fan out into their
|
|
10628
|
+
* spec-conventional locations.
|
|
10629
|
+
*
|
|
10630
|
+
* `mode` carries the resolution branch so a host that wants to print
|
|
10631
|
+
* a startup banner ("zidane is using XDG paths") can detect the
|
|
10632
|
+
* layout without re-running the logic.
|
|
10633
|
+
*/
|
|
10634
|
+
interface StorageDirs {
|
|
10635
|
+
configDir: string;
|
|
10636
|
+
dataDir: string;
|
|
10637
|
+
stateDir: string;
|
|
10638
|
+
cacheDir: string;
|
|
10639
|
+
mode: StorageMode;
|
|
10640
|
+
}
|
|
10641
|
+
interface ResolveStorageDirsOptions {
|
|
10642
|
+
/** Storage prefix. Leading dot tolerated. Default: `'.zidane'`. */
|
|
10643
|
+
prefix?: string;
|
|
10644
|
+
/**
|
|
10645
|
+
* Explicit storage root (`ChatOptions.storageDir`). When set, forces
|
|
10646
|
+
* legacy-explicit mode regardless of the platform / XDG signals.
|
|
10647
|
+
*/
|
|
10648
|
+
storageDir?: string;
|
|
10649
|
+
/** Override `os.homedir()` for tests. */
|
|
10650
|
+
home?: string;
|
|
10651
|
+
/** Override `process.platform` for tests. */
|
|
10652
|
+
platform?: NodeJS.Platform;
|
|
10653
|
+
/** Override `process.env` for tests. */
|
|
10654
|
+
env?: Readonly<Record<string, string | undefined>>;
|
|
10655
|
+
}
|
|
10656
|
+
/**
|
|
10657
|
+
* Resolve the four storage slots according to the precedence above.
|
|
10658
|
+
*
|
|
10659
|
+
* Pure aside from one filesystem probe (`existsSync(home/<prefix>)`)
|
|
10660
|
+
* — the same probe `resolveStoragePaths` would do anyway when
|
|
10661
|
+
* computing `paths.userDir`. No directories are created here; the
|
|
10662
|
+
* relevant write paths (state store, credentials writer, persist
|
|
10663
|
+
* dir) handle their own lazy `mkdirSync` already.
|
|
10664
|
+
*/
|
|
10665
|
+
declare function resolveStorageDirs(opts?: ResolveStorageDirsOptions): StorageDirs;
|
|
10666
|
+
//#endregion
|
|
10376
10667
|
//#region src/skills/activation.d.ts
|
|
10377
10668
|
/** How a skill was activated. Surfaced in `skills:activate` hook ctx. */
|
|
10378
10669
|
type ActivationVia = 'model' | 'explicit' | 'resume';
|
|
@@ -10963,6 +11254,264 @@ declare function defineSkill(config: Omit<SkillConfig, 'source'> & {
|
|
|
10963
11254
|
source?: SkillConfig['source'];
|
|
10964
11255
|
}): SkillConfig;
|
|
10965
11256
|
//#endregion
|
|
11257
|
+
//#region src/plugins/types.d.ts
|
|
11258
|
+
/**
|
|
11259
|
+
* Agent Plugins spec versions this loader implements, newest first.
|
|
11260
|
+
*
|
|
11261
|
+
* The spec requires clients to select validation rules from the manifest's
|
|
11262
|
+
* `$schema` WITHOUT retrieving it, and to let plugins keep targeting older
|
|
11263
|
+
* versions under a locally supported compatibility policy. Our policy: a
|
|
11264
|
+
* version is supported iff it appears in this list. Adding `1.1.0` later
|
|
11265
|
+
* means adding it here plus any rule deltas in `./manifest` — never
|
|
11266
|
+
* reinterpreting an already-published identifier, which the spec forbids.
|
|
11267
|
+
*/
|
|
11268
|
+
declare const SUPPORTED_AGENT_PLUGINS_VERSIONS: readonly ["1.0.0"];
|
|
11269
|
+
type AgentPluginsVersion = typeof SUPPORTED_AGENT_PLUGINS_VERSIONS[number];
|
|
11270
|
+
/** Which canonical schema a `$schema` identifier selects. */
|
|
11271
|
+
type PluginSchemaKind = 'plugin' | 'mcp';
|
|
11272
|
+
/**
|
|
11273
|
+
* Canonical schema identifier for a given document kind + version. Built
|
|
11274
|
+
* rather than hardcoded so the two call sites (manifest, mcp.json) can't
|
|
11275
|
+
* drift, and so the version cross-check the spec requires between
|
|
11276
|
+
* `plugin.json` and `mcp.json` is a plain string comparison.
|
|
11277
|
+
*/
|
|
11278
|
+
declare function agentPluginsSchemaId(kind: PluginSchemaKind, version: string): string;
|
|
11279
|
+
/**
|
|
11280
|
+
* Split a canonical `$schema` identifier into its document kind + version.
|
|
11281
|
+
* Returns `null` for anything that isn't a canonical identifier; the caller
|
|
11282
|
+
* decides whether that's fatal (manifest) or component-scoped (mcp.json).
|
|
11283
|
+
*
|
|
11284
|
+
* Purely syntactic: it never fetches. The spec forbids retrieving a schema
|
|
11285
|
+
* during load, so version support is a lookup against
|
|
11286
|
+
* {@link SUPPORTED_AGENT_PLUGINS_VERSIONS}, not a download.
|
|
11287
|
+
*/
|
|
11288
|
+
declare function parseSchemaId(value: string): {
|
|
11289
|
+
kind: PluginSchemaKind;
|
|
11290
|
+
version: string;
|
|
11291
|
+
} | null;
|
|
11292
|
+
/** True when this loader implements the given Agent Plugins version. */
|
|
11293
|
+
declare function isSupportedAgentPluginsVersion(version: string): version is AgentPluginsVersion;
|
|
11294
|
+
/** Optional author block. Closed: only these three keys, all strings. */
|
|
11295
|
+
interface PluginAuthor {
|
|
11296
|
+
name?: string;
|
|
11297
|
+
email?: string;
|
|
11298
|
+
url?: string;
|
|
11299
|
+
}
|
|
11300
|
+
/**
|
|
11301
|
+
* A validated `plugin.json`. Only spec fields survive validation —
|
|
11302
|
+
* unknown top-level keys are reported and dropped, so consumers can
|
|
11303
|
+
* never accidentally depend on a non-portable field.
|
|
11304
|
+
*
|
|
11305
|
+
* `version` here is the PLUGIN's own version string; the spec version
|
|
11306
|
+
* selected by `$schema` lands on {@link PluginManifest.specVersion}.
|
|
11307
|
+
*/
|
|
11308
|
+
interface PluginManifest {
|
|
11309
|
+
/** Agent Plugins version selected by the manifest's `$schema`. */
|
|
11310
|
+
specVersion: AgentPluginsVersion;
|
|
11311
|
+
/** Plugin name + package identifier (1-64 chars, see `./manifest`). */
|
|
11312
|
+
name: string;
|
|
11313
|
+
version?: string;
|
|
11314
|
+
description?: string;
|
|
11315
|
+
author?: PluginAuthor;
|
|
11316
|
+
homepage?: string;
|
|
11317
|
+
repository?: string;
|
|
11318
|
+
license?: string;
|
|
11319
|
+
keywords?: string[];
|
|
11320
|
+
/**
|
|
11321
|
+
* Client-owned data keyed by reverse-domain namespace. Values are
|
|
11322
|
+
* deliberately `unknown`: the spec says to ignore namespaces the client
|
|
11323
|
+
* does not implement WITHOUT validating their contents, so this loader
|
|
11324
|
+
* never inspects a member it doesn't own.
|
|
11325
|
+
*/
|
|
11326
|
+
extensions?: Record<string, unknown>;
|
|
11327
|
+
}
|
|
11328
|
+
/**
|
|
11329
|
+
* A load-time finding. Mirrors `SkillDiagnostic`'s shape (severity + stable
|
|
11330
|
+
* code + message) so host UIs already rendering skill diagnostics can
|
|
11331
|
+
* render these with no new plumbing.
|
|
11332
|
+
*
|
|
11333
|
+
* `severity: 'error'` on a returned plugin means a narrow boundary fired
|
|
11334
|
+
* (a component type disabled, a skill skipped) — NOT that the whole plugin
|
|
11335
|
+
* failed. Plugin-level rejection is signalled by `LoadedPlugin.ok === false`.
|
|
11336
|
+
*/
|
|
11337
|
+
interface PluginDiagnostic {
|
|
11338
|
+
severity: 'warning' | 'error';
|
|
11339
|
+
/** Stable machine-readable code (e.g. `manifest-unknown-field`). */
|
|
11340
|
+
code: string;
|
|
11341
|
+
message: string;
|
|
11342
|
+
/** Manifest field the finding relates to, when applicable. */
|
|
11343
|
+
field?: string;
|
|
11344
|
+
/** Filesystem path the finding relates to, when applicable. */
|
|
11345
|
+
path?: string;
|
|
11346
|
+
}
|
|
11347
|
+
/**
|
|
11348
|
+
* Per-component-type outcome. The spec insists a missing fixed location is
|
|
11349
|
+
* NOT an error, and that an invalid one disables only its own component
|
|
11350
|
+
* type — so these four states are load-bearing, not cosmetic:
|
|
11351
|
+
*
|
|
11352
|
+
* - `absent` fixed location not present. Valid.
|
|
11353
|
+
* - `loaded` discovered (possibly zero entries, e.g. an empty `skills/`).
|
|
11354
|
+
* - `invalid` wrong filesystem kind, or the location escaped the root.
|
|
11355
|
+
* - `unsupported` never discovered — not implemented by this client,
|
|
11356
|
+
* disabled by the caller, or the plugin was rejected
|
|
11357
|
+
* before component discovery ran.
|
|
11358
|
+
*/
|
|
11359
|
+
type PluginComponentStatus = 'absent' | 'loaded' | 'invalid' | 'unsupported';
|
|
11360
|
+
/**
|
|
11361
|
+
* Result of {@link loadAgentPlugin}. Never thrown — a rejected plugin comes
|
|
11362
|
+
* back as `ok: false` with the reason in `diagnostics`, because one bad
|
|
11363
|
+
* plugin must not take down a host that's loading several.
|
|
11364
|
+
*/
|
|
11365
|
+
interface LoadedPlugin {
|
|
11366
|
+
/**
|
|
11367
|
+
* `false` when a fatal manifest or boundary violation rejected the whole
|
|
11368
|
+
* plugin. Components are empty in that case and were never discovered —
|
|
11369
|
+
* the spec requires rejection to happen BEFORE component discovery.
|
|
11370
|
+
*/
|
|
11371
|
+
ok: boolean;
|
|
11372
|
+
/** Plugin root as requested, resolved to an absolute path. */
|
|
11373
|
+
dir: string;
|
|
11374
|
+
/**
|
|
11375
|
+
* Symlink-resolved plugin root. Every package path a caller touches must
|
|
11376
|
+
* stay under this — it's the boundary the spec defines. Falls back to
|
|
11377
|
+
* `dir` when the root itself could not be resolved.
|
|
11378
|
+
*/
|
|
11379
|
+
root: string;
|
|
11380
|
+
/** Validated manifest. Absent iff `ok === false`. */
|
|
11381
|
+
manifest?: PluginManifest;
|
|
11382
|
+
/** Skills discovered under `skills/`. */
|
|
11383
|
+
skills: SkillConfig[];
|
|
11384
|
+
/** MCP servers declared by `mcp.json`. */
|
|
11385
|
+
mcpServers: McpServerConfig[];
|
|
11386
|
+
/** Per-component-type outcome — see {@link PluginComponentStatus}. */
|
|
11387
|
+
components: {
|
|
11388
|
+
skills: PluginComponentStatus;
|
|
11389
|
+
mcp: PluginComponentStatus;
|
|
11390
|
+
};
|
|
11391
|
+
/** Everything worth reporting: rejections, disabled components, skipped skills. */
|
|
11392
|
+
diagnostics: PluginDiagnostic[];
|
|
11393
|
+
}
|
|
11394
|
+
interface LoadAgentPluginOptions {
|
|
11395
|
+
/**
|
|
11396
|
+
* Source tag stamped onto every discovered skill, driving collision
|
|
11397
|
+
* precedence and the `trustProjectSkills` gate downstream. Defaults to
|
|
11398
|
+
* `'project'` — the conservative choice, since a plugin sitting in a
|
|
11399
|
+
* repo is exactly the untrusted-input case that gate exists for.
|
|
11400
|
+
*/
|
|
11401
|
+
source?: SkillSource;
|
|
11402
|
+
/**
|
|
11403
|
+
* Prefix applied to discovered skill names as `<prefix>-<name>`.
|
|
11404
|
+
*
|
|
11405
|
+
* Agent Plugins leaves naming to the client, and zidane's skill catalog
|
|
11406
|
+
* is a single flat namespace (`discoverSkills` dedupes by name), so two
|
|
11407
|
+
* plugins shipping a `deploy` skill would silently shadow one another.
|
|
11408
|
+
* Opt in to prefixing when loading untrusted or multiple plugins.
|
|
11409
|
+
*/
|
|
11410
|
+
namePrefix?: string;
|
|
11411
|
+
/** Discover `skills/`. Default `true`. */
|
|
11412
|
+
skills?: boolean;
|
|
11413
|
+
/** Discover `mcp.json`. Default `true`. */
|
|
11414
|
+
mcp?: boolean;
|
|
11415
|
+
/**
|
|
11416
|
+
* Exact directory exposed to MCP servers as `${PLUGIN_DATA}`.
|
|
11417
|
+
*
|
|
11418
|
+
* Must live outside the plugin root: the spec requires this directory to
|
|
11419
|
+
* persist across plugin updates, and an update replaces the package tree.
|
|
11420
|
+
* Prefer {@link LoadAgentPluginOptions.dataRoot} unless you need to pin one
|
|
11421
|
+
* specific plugin's directory.
|
|
11422
|
+
*/
|
|
11423
|
+
dataDir?: string;
|
|
11424
|
+
/**
|
|
11425
|
+
* Parent directory under which `${PLUGIN_DATA}` is created as
|
|
11426
|
+
* `<dataRoot>/<plugin-name>/`.
|
|
11427
|
+
*
|
|
11428
|
+
* Exists because the plugin name comes from the manifest, which the caller
|
|
11429
|
+
* hasn't read yet — a host that wants its own namespace (the extensions
|
|
11430
|
+
* seam puts plugin data inside the loading extension's storage root) can
|
|
11431
|
+
* supply the parent and let the loader append the name.
|
|
11432
|
+
*
|
|
11433
|
+
* Defaults to `<dataDir>/plugin-data` from `resolveStorageDirs`. Ignored
|
|
11434
|
+
* when {@link LoadAgentPluginOptions.dataDir} is set.
|
|
11435
|
+
*/
|
|
11436
|
+
dataRoot?: string;
|
|
11437
|
+
}
|
|
11438
|
+
//#endregion
|
|
11439
|
+
//#region src/plugins/load.d.ts
|
|
11440
|
+
/** Fixed location of the plugin manifest. */
|
|
11441
|
+
declare const PLUGIN_MANIFEST_FILE = "plugin.json";
|
|
11442
|
+
/**
|
|
11443
|
+
* Default parent of every plugin's `${PLUGIN_DATA}` directory.
|
|
11444
|
+
*
|
|
11445
|
+
* Deliberately OUTSIDE any plugin root: the spec requires the data directory
|
|
11446
|
+
* to persist across plugin updates, and an update replaces the package tree.
|
|
11447
|
+
* Keyed by plugin name so two copies of the same plugin (project + user)
|
|
11448
|
+
* share state, which is what an author storing a cache or a token expects.
|
|
11449
|
+
*
|
|
11450
|
+
* Routed through `resolveStorageDirs` rather than hardcoding `~/.zidane` so it
|
|
11451
|
+
* honours `ZIDANE_STORAGE_DIR` and the XDG dirs like every other persisted
|
|
11452
|
+
* location — otherwise an XDG-mode install would scatter plugin data into a
|
|
11453
|
+
* `~/.zidane` nothing else in the app touches.
|
|
11454
|
+
*
|
|
11455
|
+
* NB: `resolveStorageDirs` does NOT read `ZIDANE_PREFIX`; it defaults `prefix`
|
|
11456
|
+
* to `.zidane`. Callers with a configured prefix must pass it, or plugin data
|
|
11457
|
+
* lands beside a prefix the rest of the install doesn't use.
|
|
11458
|
+
*/
|
|
11459
|
+
declare function defaultPluginDataRoot(opts?: ResolveStorageDirsOptions): string;
|
|
11460
|
+
/**
|
|
11461
|
+
* Load an Agent Plugin from `dir`.
|
|
11462
|
+
*
|
|
11463
|
+
* @returns A {@link LoadedPlugin}. Check `ok` before trusting `manifest`;
|
|
11464
|
+
* check `components` to tell "the plugin ships no skills" (`absent`) from
|
|
11465
|
+
* "its skills were rejected" (`invalid`).
|
|
11466
|
+
*/
|
|
11467
|
+
declare function loadAgentPlugin(dir: string, opts?: LoadAgentPluginOptions): Promise<LoadedPlugin>;
|
|
11468
|
+
//#endregion
|
|
11469
|
+
//#region src/plugins/manifest.d.ts
|
|
11470
|
+
type ManifestValidation = {
|
|
11471
|
+
ok: true;
|
|
11472
|
+
manifest: PluginManifest;
|
|
11473
|
+
diagnostics: PluginDiagnostic[];
|
|
11474
|
+
} | {
|
|
11475
|
+
ok: false;
|
|
11476
|
+
diagnostics: PluginDiagnostic[];
|
|
11477
|
+
};
|
|
11478
|
+
/**
|
|
11479
|
+
* Parse manifest text, then validate it.
|
|
11480
|
+
*
|
|
11481
|
+
* A JSON syntax error is fatal — unlike `mcps.json` (where
|
|
11482
|
+
* `parseJsonTolerant` repairs copy-paste whitespace artifacts), a plugin
|
|
11483
|
+
* manifest is a package file produced by a build or an author's editor, not
|
|
11484
|
+
* pasted into a settings box. Repairing it would mean guessing at the
|
|
11485
|
+
* contents of a third-party package.
|
|
11486
|
+
*/
|
|
11487
|
+
declare function parsePluginManifest(text: string): ManifestValidation;
|
|
11488
|
+
/**
|
|
11489
|
+
* Validate an already-parsed manifest value against the closed 1.0.0 schema.
|
|
11490
|
+
*
|
|
11491
|
+
* Fatal violations short-circuit: `$schema` and `name` are checked first
|
|
11492
|
+
* because without them there is no contract to validate against and no
|
|
11493
|
+
* identity to report problems under.
|
|
11494
|
+
*/
|
|
11495
|
+
declare function validatePluginManifest(raw: unknown): ManifestValidation;
|
|
11496
|
+
//#endregion
|
|
11497
|
+
//#region src/plugins/mcp.d.ts
|
|
11498
|
+
/** Fixed location for the MCP component type. */
|
|
11499
|
+
declare const PLUGIN_MCP_FILE = "mcp.json";
|
|
11500
|
+
/**
|
|
11501
|
+
* Substitute the two reserved placeholders in one string.
|
|
11502
|
+
*
|
|
11503
|
+
* Single-pass by construction (`String.replace` never re-scans its own
|
|
11504
|
+
* output), so a `${PLUGIN_ROOT}` whose value somehow contained
|
|
11505
|
+
* `${PLUGIN_DATA}` cannot expand twice. Unknown `${...}` text is left
|
|
11506
|
+
* verbatim: the spec defines exactly two placeholders, and silently
|
|
11507
|
+
* blanking anything else would corrupt legitimate literals.
|
|
11508
|
+
*/
|
|
11509
|
+
declare function expandPluginVars(value: string, vars: Record<string, string>): string;
|
|
11510
|
+
//#endregion
|
|
11511
|
+
//#region src/plugins/skills.d.ts
|
|
11512
|
+
/** Fixed location for the skills component type. */
|
|
11513
|
+
declare const PLUGIN_SKILLS_DIR = "skills";
|
|
11514
|
+
//#endregion
|
|
10966
11515
|
//#region src/tools/model-search.d.ts
|
|
10967
11516
|
/**
|
|
10968
11517
|
* A {@link ModelInfo} paired with the runtime `Provider.name` that serves
|
|
@@ -11101,6 +11650,27 @@ interface SpawnToolOptions {
|
|
|
11101
11650
|
* tools resolve via `ctx.readState ?? getReadState(ctx.session)`.
|
|
11102
11651
|
*/
|
|
11103
11652
|
shareReadState?: boolean;
|
|
11653
|
+
/**
|
|
11654
|
+
* Run children on the parent's execution handle instead of letting each
|
|
11655
|
+
* child mint (and destroy) its own. Default: `false` — an isolated handle
|
|
11656
|
+
* per child.
|
|
11657
|
+
*
|
|
11658
|
+
* Why you'd turn it on: for a remote context (sandbox / container), a child
|
|
11659
|
+
* calling `execution.spawn()` is a real allocation. Under a durable runtime
|
|
11660
|
+
* that allocation is NOT a journaled side effect, so a replayed attempt
|
|
11661
|
+
* mints a FRESH sandbox and orphans the first — one leak per child per
|
|
11662
|
+
* attempt (see `docs/RESTATE.md` § Re-attach to the execution context). It
|
|
11663
|
+
* also removes a per-child spawn/destroy round-trip on the hot path.
|
|
11664
|
+
*
|
|
11665
|
+
* The trade: children see the parent's filesystem and background-task
|
|
11666
|
+
* namespace directly, so an isolated scratch space per child is gone. The
|
|
11667
|
+
* child never destroys a shared handle (that's `AgentOptions.handle`
|
|
11668
|
+
* semantics — host owns the lifecycle), and teardown skips background-task
|
|
11669
|
+
* reassignment entirely since there is no child handle to promote from.
|
|
11670
|
+
*
|
|
11671
|
+
* No effect when the parent has no handle (`ctx.handle` absent).
|
|
11672
|
+
*/
|
|
11673
|
+
shareHandle?: boolean;
|
|
11104
11674
|
/**
|
|
11105
11675
|
* Forward a curated subset of child hook events (`stream:*`, `tool:*`,
|
|
11106
11676
|
* `turn:after`) onto the parent's hook bus as `child:*` events. Default:
|
|
@@ -11585,7 +12155,7 @@ type ExtensionSource = 'project' | 'user' | 'inline' | 'builtin';
|
|
|
11585
12155
|
/** Stable extension API version supported by this runtime. */
|
|
11586
12156
|
type ExtensionApiVersion = 1;
|
|
11587
12157
|
/** Declarative capability labels surfaced by discovery/settings UIs. */
|
|
11588
|
-
type ExtensionCapability = 'tools' | 'hooks' | 'mcps' | 'skills' | 'providers' | 'themes' | 'agents' | 'completions' | 'context' | 'tui' | 'gui' | 'storage' | 'session' | 'metadata' | 'transforms';
|
|
12158
|
+
type ExtensionCapability = 'tools' | 'hooks' | 'mcps' | 'skills' | 'plugins' | 'providers' | 'themes' | 'agents' | 'completions' | 'context' | 'tui' | 'gui' | 'storage' | 'session' | 'metadata' | 'transforms';
|
|
11589
12159
|
/** Descriptive permission labels. These document intent; they are not a sandbox. */
|
|
11590
12160
|
type ExtensionPermission = 'session:read' | 'session:write' | 'storage:read' | 'storage:write' | 'mcp:configure' | 'provider:wrap' | 'tools:transform' | 'skills:activate';
|
|
11591
12161
|
interface ExtensionManifest {
|
|
@@ -11596,6 +12166,24 @@ interface ExtensionManifest {
|
|
|
11596
12166
|
permissions?: readonly ExtensionPermission[];
|
|
11597
12167
|
capabilities?: readonly ExtensionCapability[];
|
|
11598
12168
|
}
|
|
12169
|
+
/**
|
|
12170
|
+
* Options for `ctx.loadAgentPlugin`. Pass a bare string for the common case
|
|
12171
|
+
* (`ctx.loadAgentPlugin('./vendor/my-plugin')`).
|
|
12172
|
+
*/
|
|
12173
|
+
interface ExtensionAgentPluginOptions {
|
|
12174
|
+
/** Plugin root. Absolute, or relative to the extension's own directory. */
|
|
12175
|
+
dir: string;
|
|
12176
|
+
/** Register the plugin's `skills/`. Default `true`. */
|
|
12177
|
+
skills?: boolean;
|
|
12178
|
+
/** Register the plugin's `mcp.json` servers. Default `true`. */
|
|
12179
|
+
mcp?: boolean;
|
|
12180
|
+
/**
|
|
12181
|
+
* Rename discovered skills to `<prefix>-<name>`. zidane's skill catalog is
|
|
12182
|
+
* a single flat namespace, so set this when loading several plugins that
|
|
12183
|
+
* might ship same-named skills. Defaults to no prefix.
|
|
12184
|
+
*/
|
|
12185
|
+
namePrefix?: string;
|
|
12186
|
+
}
|
|
11599
12187
|
type ExtensionStorageScope = 'user' | 'project' | 'session' | 'cache' | 'data';
|
|
11600
12188
|
interface ExtensionPaths {
|
|
11601
12189
|
cwd: string;
|
|
@@ -11963,6 +12551,27 @@ interface ExtensionContext {
|
|
|
11963
12551
|
* allowlist the user authored before installing the extension.
|
|
11964
12552
|
*/
|
|
11965
12553
|
registerSkill: (skill: SkillConfig) => void;
|
|
12554
|
+
/**
|
|
12555
|
+
* Load an Agent Plugin (agent-plugins.org) and register everything it
|
|
12556
|
+
* ships — one call replaces hand-rolling `registerSkill` /
|
|
12557
|
+
* `registerMcpServer` per component.
|
|
12558
|
+
*
|
|
12559
|
+
* `dir` may be absolute, or relative to the extension's own directory
|
|
12560
|
+
* (so an extension can vendor plugins inside itself and load them with
|
|
12561
|
+
* `ctx.loadAgentPlugin('./vendor/deploy-tools')`). Inline extensions
|
|
12562
|
+
* with no directory resolve relative to `ctx.paths.cwd`.
|
|
12563
|
+
*
|
|
12564
|
+
* Never throws for plugin-level problems: a malformed manifest, an
|
|
12565
|
+
* escaping symlink or an invalid skill comes back as diagnostics on the
|
|
12566
|
+
* returned {@link LoadedPlugin} (and is logged to the extension's
|
|
12567
|
+
* logger), so one bad package can't fail your `setup()`. Check `ok`
|
|
12568
|
+
* before trusting `manifest`.
|
|
12569
|
+
*
|
|
12570
|
+
* Must be awaited INSIDE `setup()` — registration closes when `setup()`
|
|
12571
|
+
* resolves, and a load still in flight at that point is dropped with a
|
|
12572
|
+
* warning rather than mutating an already-published registry.
|
|
12573
|
+
*/
|
|
12574
|
+
loadAgentPlugin: (spec: string | ExtensionAgentPluginOptions) => Promise<LoadedPlugin>;
|
|
11966
12575
|
/**
|
|
11967
12576
|
* Register a prompt-completion provider — same shape used by the
|
|
11968
12577
|
* built-in `@` (files) and `/` (skills) providers. Triggers must
|
|
@@ -12278,12 +12887,33 @@ interface LoadedExtension {
|
|
|
12278
12887
|
/** True once `setup()` was invoked, even if it later failed or timed out. */
|
|
12279
12888
|
setupRan?: boolean;
|
|
12280
12889
|
}
|
|
12890
|
+
/**
|
|
12891
|
+
* One Agent Plugin an extension loaded through `ctx.loadAgentPlugin`.
|
|
12892
|
+
*
|
|
12893
|
+
* The plugin's skills and MCP servers are already folded into the
|
|
12894
|
+
* surrounding {@link ExtensionContributions}; this record exists so hosts can
|
|
12895
|
+
* still see that a PLUGIN was involved. Without it a plugin's contributions
|
|
12896
|
+
* are indistinguishable from ones the extension author wrote by hand, and the
|
|
12897
|
+
* settings UI has nothing to show a row or a toggle for.
|
|
12898
|
+
*/
|
|
12899
|
+
interface LoadedPluginRecord {
|
|
12900
|
+
/** Manifest name, or the plugin root's basename when it was rejected. */
|
|
12901
|
+
name: string;
|
|
12902
|
+
/** Name of the extension that loaded it. */
|
|
12903
|
+
extensionName: string;
|
|
12904
|
+
/** Plugin root as requested by the extension. */
|
|
12905
|
+
dir: string;
|
|
12906
|
+
/** Load result, including `manifest`, `components` and `diagnostics`. */
|
|
12907
|
+
plugin: LoadedPlugin;
|
|
12908
|
+
}
|
|
12281
12909
|
/** Per-extension contributions recorded during `setup`. */
|
|
12282
12910
|
interface ExtensionContributions {
|
|
12283
12911
|
tools: Readonly<Record<string, ToolDef>>;
|
|
12284
12912
|
hooks: { readonly [E in keyof AgentHooks]?: ReadonlyArray<AgentHooks[E]> };
|
|
12285
12913
|
mcpServers: readonly McpServerConfig[];
|
|
12286
12914
|
skills: readonly SkillConfig[];
|
|
12915
|
+
/** Agent Plugins loaded via `ctx.loadAgentPlugin`, in load order. */
|
|
12916
|
+
plugins: readonly LoadedPluginRecord[];
|
|
12287
12917
|
systemFragments: readonly string[];
|
|
12288
12918
|
contextBreakdownSections: readonly ContextBreakdownContributor[];
|
|
12289
12919
|
contextPanelSections: readonly ContextBreakdownContributor[];
|
|
@@ -12351,6 +12981,14 @@ interface ExtensionRegistry {
|
|
|
12351
12981
|
mcpServers: readonly McpServerConfig[];
|
|
12352
12982
|
/** Programmatic skills. */
|
|
12353
12983
|
skills: readonly SkillConfig[];
|
|
12984
|
+
/**
|
|
12985
|
+
* Agent Plugins loaded by extensions, across every active extension.
|
|
12986
|
+
*
|
|
12987
|
+
* Informational — the plugins' own skills / servers already appear in
|
|
12988
|
+
* `skills` and `mcpServers`. This is what lets the settings list show an
|
|
12989
|
+
* extension-loaded plugin as its own row with its origin.
|
|
12990
|
+
*/
|
|
12991
|
+
plugins: readonly LoadedPluginRecord[];
|
|
12354
12992
|
/** System-prompt fragments, in registration order. */
|
|
12355
12993
|
systemFragments: readonly string[];
|
|
12356
12994
|
/** Extension-owned context panel contributors. */
|
|
@@ -13208,6 +13846,41 @@ declare function composeExtensionPreset(registry: ExtensionRegistry, explicitPre
|
|
|
13208
13846
|
* nothing has changed.
|
|
13209
13847
|
*/
|
|
13210
13848
|
declare function filterExtensionRegistry(registry: ExtensionRegistry, enabled: readonly string[] | undefined): ExtensionRegistry;
|
|
13849
|
+
/**
|
|
13850
|
+
* Drop the contributions of Agent Plugins the user has disabled.
|
|
13851
|
+
*
|
|
13852
|
+
* `filterExtensionRegistry` keys on EXTENSION names, so it can't express
|
|
13853
|
+
* "this extension runs, but the plugin it loaded does not". Plugin skills and
|
|
13854
|
+
* MCP servers are fanned into the loading extension's sinks by
|
|
13855
|
+
* `ctx.loadAgentPlugin`, which means without this pass `enabledPlugins` would
|
|
13856
|
+
* render a checkbox that changes nothing for extension-loaded plugins.
|
|
13857
|
+
*
|
|
13858
|
+
* Skills are matched by `metadata['zidane.plugin']` (stamped by the loader);
|
|
13859
|
+
* MCP servers carry no such marker, so they're matched by identity against
|
|
13860
|
+
* the server list on each {@link LoadedPluginRecord}.
|
|
13861
|
+
*
|
|
13862
|
+
* Returns the input registry unchanged when nothing is disabled, so callers
|
|
13863
|
+
* can compare identity to skip recomposing.
|
|
13864
|
+
*/
|
|
13865
|
+
declare function filterRegistryPlugins(registry: ExtensionRegistry, enabledPlugins: readonly string[] | undefined,
|
|
13866
|
+
/**
|
|
13867
|
+
* Plugin names already provided by another source (in practice: disk
|
|
13868
|
+
* discovery). Pruned regardless of the allowlist.
|
|
13869
|
+
*
|
|
13870
|
+
* The settings list dedupes a plugin found both on disk and inside an
|
|
13871
|
+
* extension down to ONE row, preferring the disk copy. Contributions have to
|
|
13872
|
+
* agree, or that single checkbox governs two live copies: both sets of skills
|
|
13873
|
+
* reach the catalog, where one shadows the other and earns a spurious
|
|
13874
|
+
* `name-collision-shadowed` warning about a collision the user never created.
|
|
13875
|
+
*
|
|
13876
|
+
* The MCP half is less severe but the same shape — both configs reach the
|
|
13877
|
+
* merge, where `dedupMcpServers` (app.tsx, first-wins by name) collapses them
|
|
13878
|
+
* to one. So there's no double spawn; what's wrong is that one checkbox
|
|
13879
|
+
* nominally governs two records, and which copy survives is decided by merge
|
|
13880
|
+
* order rather than by anything the user chose.
|
|
13881
|
+
*/
|
|
13882
|
+
|
|
13883
|
+
shadowed?: ReadonlySet<string>): ExtensionRegistry;
|
|
13211
13884
|
/** Dispose resources owned by an extension registry. Idempotent per registry. */
|
|
13212
13885
|
declare function disposeExtensionRegistry(registry: ExtensionRegistry): Promise<void>;
|
|
13213
13886
|
/** Shape returned by {@link partitionExtensionCatalog}. */
|
|
@@ -18296,5 +18969,5 @@ declare function definePreset(config: Preset): Preset;
|
|
|
18296
18969
|
*/
|
|
18297
18970
|
declare function composePresets(...presets: Preset[]): Preset;
|
|
18298
18971
|
//#endregion
|
|
18299
|
-
export { SessionArtifactDirMigration as $, ExtensionConfigSurface as $a, CompletionItem as $c, hashMessages as $d, planMistralReasoning as $f, ReasoningWireAction as $h, ExtensionCatalogPartition as $i, isInteractionTool as $l, ToolDef as $m, HeadlessResult as $n, ExtensionToolResultTransform as $o, DEFAULT_AGENT_CLOCK as $p, createRunSummaryCollector as $r, resolveSkills as $s, EvalRunUsage as $t, restoreChainFallbacks as $u, Meter as A, inlineLoadedExtension as Aa, BUILTIN_THEMES as Ac, shouldAutoCompact as Ad, OpenAICompatParams as Af, normalizeMcpServers as Ag, SessionRun as Ah, CompactionSlice as Ai, ConfirmQuestion as Al, StaleReadPolicy as Am, efficiencyMetricValues as An, ExtensionModal as Ao, OAuthParams as Ap, createSkillsReadTool as Ar, SpawnToolOptions as As, resolveExtensionDocsDir as At, DEFAULT_PERSIST_EXCLUDE_TOOLS as Au, McpCredentialStore as B, ExtensionConfigActionItem as Ba, resolveChipColor as Bc, ContextItem as Bd, mapOAIFinishReason as Bf, withExtensionSession as Bh, defaultRepeatGuardTracked as Bi, PlanRequest as Bl, ToolResultDocumentContent as Bm, functionalityMetric as Bn, ExtensionSessionStateSurface as Bo, OAuthProviderInterface as Bp, grep as Br, matchModelEntries as Bs, EvalAgentStats as Bt, Owner as Bu, SuccessfulMutationOutcome as C, removeInstalledExtension as Ca, installAllowedToolsGate as Cc, piIdOf as Cd, normalizeOpenRouterModelId as Cf, connectMcpServers as Cg, SkillSource as Ch, buildCompactPrompt as Ci, commandBlockToEvent as Cl, RunHookMap as Cm, clearRegisteredEvals as Cn, ExtensionFooterHint as Co, resolveAnthropicAuthShape as Cp, ToolSearchToolOptions as Cr, createExtensionHostRuntimeBridge as Cs, ZIDANE_SKILL_EDIT_SKILL_NAME as Ct, AgentAccent as Cu, Counter as D, ExtensionScanEntry as Da, SkillActivationState as Dc, AutoCompactInput as Dd, OAITool as Df, expandMcpConfigEnv as Dg, Session as Dh, buildUpToCompactPrompt as Di, parseCommandInvocation as Dl, SessionMessage as Dm, createReusableExecutionContext as Dn, ExtensionKeybindingDispatchContext as Do, PromptCacheKeyOption as Dp, SkillsRunScriptToolOptions as Dr, SpawnTaskInput as Ds, extensionDirForCwd as Dt, BUILTIN_AGENTS as Du, resolveModelTargets as E, ENTRY_CANDIDATES as Ea, DeactivationReason as Ec, AutoCompactDecision as Ed, OAIMessage as Ef, expandEnvPlaceholders as Eg, LoadSessionOptions as Eh, buildTailCompactPrompt as Ei, executeCommand as El, SessionHookContext as Em, createEvalRunReporter as En, ExtensionKeybinding as Eo, PromptCacheKeyContext as Ep, createSkillsUseTool as Er, ExtensionSubagentDef as Es, editSessionMetadata as Et, BUILD_AGENT as Eu, createMetricsHooks as F, discoverAndBuildExtensionRegistry as Fa, SyntaxTokenStyle as Fc, ContextCategory as Fd, assistantMessage as Ff, ModelCatalogSource as Fg, demoteStaleRunningStatus as Fh, summaryToTurn as Fi, InteractionsProvider as Fl, ToolBatchExecutor as Fm, fileExistsOneOf as Fn, ExtensionPromptTransform as Fo, isOAuthAccessToken as Fp, readFile as Fr, createSpawnTool as Fs, EvalAgent as Ft, EditDiffDisplay as Fu, OAuthCallbackHandle as G, ExtensionConfigChangeBehavior as Ga, createPathAutocompleteProvider as Gc, CacheBreakInfo as Gd, userMessage as Gf, FileMapStoreOptions as Gh, AgentHookMap as Gi, QuestionPayload as Gl, ToolResultTextContent as Gm, runEvalCase as Gn, ExtensionToolCatalogTransform as Go, AutoCompact as Gp, RunSummaryBudget as Gr, SkillValidationResult as Gs, EvalDefinitionContext as Gt, StreamEvent as Gu, McpOAuthProviderOptions as H, ExtensionConfigActionStatus as Ha, InlineAutocompleteContext as Hc, ContextSnapshot as Hd, openaiCompat as Hf, createRemoteStore as Hh, stableStringify as Hi, PlanStep as Hl, ToolResultImageContent as Hm, normalizeMetric as Hn, ExtensionSource as Ho, AgentClock as Hp, edit as Hr, writeSkillToDisk as Hs, EvalCaseOptions as Ht, Screen as Hu, LoginMcpServerOptions as I, ExtensionPromptBridge as Ia, Theme as Ic, ContextCategoryId as Id, buildAssistantContent as If, getModelCatalog as Ig, getExtensionSessionState as Ih, truncateHeadForPtlRetry as Ii, PRESENT_PLAN_TOOL as Il, ToolHookContext as Im, finalizeEvalMetrics as In, ExtensionProviderMiddleware as Io, readOAuthCredentials as Ip, multiEdit as Ir, isSpawnTool as Is, EvalAgentMcpServers as It, EditHunk as Iu, startOAuthCallback as J, ExtensionConfigItemBase as Ja, tokenEndingAtCursor as Jc, CacheDimensionName as Jd, mapCodexStopReason as Jf, ORPHANED_TOOL_RESULT_MARKER as Jh, McpConnector as Ji, QuestionType as Jl, TurnUsage as Jm, FormattedHeadlessTurnEvent as Jn, ExtensionToolRenderer as Jo, ChildRunStats as Jp, RunSummaryCollectorOptions as Jr, parseAllowedToolPattern as Js, EvalRunMetricAggregate as Jt, buildRunModel as Ju, OAuthCallbackOptions as K, ExtensionConfigEnumItem as Ka, patchInlineGhost as Kc, CacheBreakLoggerOptions as Kd, OpenAIParams as Kf, createFileMapStore as Kh, AgentHooks as Ki, QuestionRequest as Kl, ToolResultVideoContent as Km, statusCompleted as Kn, ExtensionToolPolicy as Ko, AutoCompactConfig as Kp, RunSummaryByModel as Kr, isToolAllowedByUnion as Ks, EvalMetric as Kt, ToolCallDisplay as Ku, LoginMcpServerResult as L, ExtensionPromptDelivery as La, ThemeColors as Lc, ContextExactCounts as Ld, classifyOpenAICompatError as Lf, setModelCatalog as Lg, loadSession as Lh, GenerateStructuredDataOptions as Li, PendingInteractionEntry as Ll, ToolOutcome as Lm, formatEvalCaseSummary as Ln, ExtensionRegistry as Lo, registerCustomOAuthProvider as Lp, listFiles as Lr, SpawnModelEntry as Ls, EvalAgentRunOptions as Lt, EditOutcome as Lu, MetricsHookSet as M, parseExtensionScanPathEnv as Ma, ChipColorMap as Mc, ContextBreakdownContributionContext as Md, TOOL_RESULTS_TAG as Mf, wrapDiscoveredMcpTools as Mg, createSession as Mh, anchorPreviewFor as Mi, InteractionRequest as Ml, StreamHookContext as Mm, fileContains as Mn, ExtensionOrderedContribution as Mo, credentialsFilePath as Mp, CreateShellToolOptions as Mr, SubagentDef as Ms, withZidaneSkillEditSkill as Mt, accentColor as Mu, MetricsHooksOptions as N, scanExtensionDirectories as Na, DEFAULT_THEME as Nc, ContextBreakdownContributor as Nd, applyOAICacheBreakpoints as Nf, ModelCatalog as Ng, currentExtensionSession as Nh, sliceForCompaction as Ni, InteractionResponse as Nl, ThinkingDecay as Nm, fileContentQuality as Nn, ExtensionPaths as No, credentialsFromParams as Np, createShellTool as Nr, SubagentOverride as Ns, CreateEvalAgentOptions as Nt, resolveAgentId as Nu, Histogram as O, defaultExtensionScanPaths as Oa, SkillActivationStateOptions as Oc, OUTPUT_RESERVE_TOKENS as Od, OpenAICompatAuthHeader as Of, nonOwningMcpView as Og, SessionData as Oh, ANCHOR_PREVIEW_MAX_CHARS as Oi, ASK_USER_TOOL as Ol, SessionTurn as Om, defineEval as On, ExtensionManifest as Oo, derivePromptCacheKey as Op, createSkillsRunScriptTool as Or, SpawnTaskOutcome as Os, extensionScaffold as Ot, DEFAULT_AGENT_ID as Ou, UpDownCounter as P, DiscoverAndBuildExtensionRegistryOptions as Pa, SyntaxStyles as Pc, ContextBreakdownOptions as Pd, applyOAIToolCacheBreakpoint as Pf, ModelCatalogEntry as Pg, deleteExtensionSessionState as Ph, stripImagesFromTurns as Pi, InteractionsActions as Pl, ThinkingLevel as Pm, fileExists as Pn, ExtensionPermission as Po, extractRuntimeCredentials as Pp, shell as Pr, SubagentRegistry as Ps, EFFICIENCY_METRICS as Pt, singleAgentRegistry as Pu, PersistOutcome as Q, ExtensionConfigStringItem as Qa, CompletionContext as Qc, fnv1a32 as Qd, mistral as Qf, PairingRepairMode as Qh, BuildExtensionRegistryOptions as Qi, createInteractionTools as Ql, ToolContext as Qm, HeadlessOutputFormat as Qn, ExtensionToolResultPatch as Qo, CompactStartHookContext as Qp, RunSummaryValidation as Qr, validateSkillName as Qs, EvalRunSummaryCase as Qt, providerKeySetChanged as Qu, loginMcpServer as R, createExtensionPromptBridge as Ra, ThemeSelect as Rc, ContextExtensionRow as Rd, consumeSSE as Rf, resumeChainRunIds as Rh, generateStructuredData as Ri, PlanDecision as Rl, ToolResultAudioContent as Rm, formatEvalRunSummary as Rn, ExtensionRunTransform as Ro, resolveOAuthApiKey as Rp, InteractionToolOptions as Rr, createModelSearchTool as Rs, EvalAgentRunResult as Rt, EditOutcomeKind as Ru, MutationValidationResult as S, readExtensionInstallProvenance as Sa, IMPLICITLY_ALLOWED_SKILL_TOOLS as Sc, openrouterDescriptor as Sd, OpenRouterParams as Sf, attachStderrWarnPump as Sg, SkillResource as Sh, TRAILER as Si, CommandStepFn as Sl, RetryConfig as Sm, buildTrajectory as Sn, ExtensionDefinition as So, planAnthropicThinking as Sp, LazyToolEntry as Sr, ExtensionWorkspaceSurface as Ss, ZIDANE_EXTENSION_SKILL_NAME as St, jsonSink as Su, normalizeProviders as T, registerExtensionHostModules as Ta, ActiveSkill as Tc, AUTO_COMPACT_MIN_GROWTH_FRACTION as Td, ASSISTANT_TOOL_CALLS_TAG as Tf, deriveMcpToolMeta as Tg, CreateSessionOptions as Th, buildFullCompactPrompt as Ti, commandSteps as Tl, SessionEndStatus as Tm, createEvalAgent as Tn, ExtensionGuiSurface as To, resolveAnthropicMaxOutput as Tp, SkillsUseToolOptions as Tr, ChildAgent as Ts, buildZidaneSkillEditSkill as Tt, AgentRegistry as Tu, createMemoryMcpCredentialStore as U, ExtensionConfigBooleanItem as Ua, InlineAutocompleteProvider as Uc, ContextUsageSplit as Ud, toOAIMessages as Uf, createMemoryStore as Uh, localReliabilityBehavior as Ui, Question as Ul, ToolResultImageRefContent as Um, registerEvalTests as Un, ExtensionStorageScope as Uo, AgentRunOptions as Up, RunSummary as Ur, writeSkillsToDisk as Us, EvalCaseResult as Ut, SessionMeta as Uu, McpOAuthProvider as V, ExtensionConfigActionResult as Va, resolveTheme as Vc, ContextMcpGroup as Vd, openAICompatPromptMessage as Vf, RemoteStoreOptions as Vh, normalizeShellCommand as Vi, PlanResponse as Vl, ToolResultDocumentRefContent as Vm, llmJudge as Vn, ExtensionSkillPolicy as Vo, AgentBehavior as Vp, glob as Vr, defineSkill as Vs, EvalArtifacts as Vt, Picked as Vu, hasAuthorizationHeader as W, ExtensionConfigCategory as Wa, InlineGhost as Wc, buildContextBreakdown as Wd, toolResultsMessage as Wf, FileMapAdapter as Wh, Agent as Wi, QuestionChoice as Wl, ToolResultMetadata as Wm, relativeArtifactPath as Wn, ExtensionStorageSurface as Wo, AgentStats as Wp, RunSummaryBlock as Wr, SkillValidationIssue as Ws, EvalDefinition as Wt, Settings as Wu, PERSISTENCE_PREVIEW_BYTES as X, ExtensionConfigNumberItem as Xa, useCompletion as Xc, CacheDriftInfo as Xd, toPiMessages as Xf, PairingDropKind as Xh, McpToolWrap as Xi, TextQuestion as Xl, toolOutputByteLength as Xm, HeadlessEvent as Xn, ExtensionToolRendererRegistration as Xo, CompactFunction as Xp, RunSummaryRepeatGuard as Xr, validateResourcePathReal as Xs, EvalRunReporterOptions as Xt, chainsEqual as Xu, PERSISTED_STUB_PREFIX as Y, ExtensionConfigModelItem as Ya, CompletionState as Yc, CacheDimensionSnapshot as Yd, openai as Yf, PairingDrop as Yh, McpToolMeta as Yi, SelectQuestion as Yl, toolOutputBudgetByteLength as Ym, HeadlessErrorInfo as Yn, ExtensionToolRendererEntry as Yo, CompactEndHookContext as Yp, RunSummaryError as Yr, validateResourcePath as Ys, EvalRunReporter as Yt, chainPositionOf as Yu, PersistInput as Z, ExtensionConfigScope as Za, ActiveTrigger as Zc, diffCacheDimensions as Zd, MistralParams as Zf, PairingRepair as Zh, createAgent as Zi, buildResumedToolResultsTurn as Zl, toolResultToText as Zm, HeadlessOptions as Zn, ExtensionToolResultMetadataRegistration as Zo, CompactHookContext as Zp, RunSummaryTokens as Zr, validateSkillForWrite as Zs, EvalRunSummary as Zt, filterChainFallbacks as Zu, statsByModel as _, InstalledExtensionTargetOptions as _a, getDefaultScanPaths as _c, localDescriptor as _d, SchemaSanitizeOptions as _f, toOpenAI as _g, isToolStateOps as _h, BASE_INSTRUCTIONS as _i, CommandOutputBlock as _l, PromptVideoPart as _m, TrajectoryStep as _n, ExtensionContext as _o, applyAnthropicCacheBreakpoints as _p, waitTask as _r, ExtensionModelEntry as _s, EXTENSION_EDIT_METADATA_KEY as _t, LoggingHooksOptions as _u, basicTools as a, mergeContributions as aa, SkillInstallCandidate as ac, detectAuth as ad, StreamCallbacks as af, autoDetectAndConvert as ag, hashContent as ah, RecentFile as ai, findActiveTrigger as al, McpToolHookContext as am, EvalWorkspaceFile as an, clampExtensionConfigNumber as ao, cerebras as ap, exitCodeForHeadlessResult as ar, ExtensionBannerOptions as as, resolveLegacySessionDir as at, InferSchemaOutput as au, MutationValidationHooksOptions as b, listExtensionCandidates as ba, parseSkillFile as bc, modelsForDescriptor as bd, sanitizeToolSchema as bf, McpConnection as bg, SkillConfig as bh, CompactPromptOptions as bi, CommandStep as bl, ResolveContentRef as bm, buildEvalRunSummary as bn, ExtensionCustomRenderer as bo, credentialIdentity as bp, TailTruncateOptions as br, ExtensionSessionsSurface as bs, SKILL_EDIT_METADATA_KEY as bt, createLogger as bu, StartSpan as c, ExtensionInstallCandidate as ca, SkillInstallOptions as cc, ModelInfo as cd, ToolCall as cf, ensureEndsWithUserMessage as cg, readStateKey as ch, selectFilesFromSession as ci, resolveCompletionSubmit as cl, ModelTargetSpec as cm, LlmJudgeOptions as cn, isValidExtensionConfigValue as co, planBasetenReasoning as cp, formattedHeadlessTurnEventToJsonl as cr, ExtensionHudStatus as cs, resolveSessionDir as ct, isStandardSchema as cu, TracingHooksOptions as d, ExtensionInstallIo as da, installSkillFromSpec as dc, anthropicDescriptor as dd, TurnResult as df, fromAnthropic as dg, StagedToolState as dh, CompactOptions as di, CommandArgSuggestion as dl, ProgressNudgeMessage as dm, MetricSpec as dn, sanitizeExtensionConfigActionPatch as do, AnthropicBedrockConfig as dp, providerTranscriptFormatForProvider as dr, ExtensionNotifyOptions as ds, SHELL_CASCADE_CANCEL_MESSAGE as dt, ConsoleSinkOptions as du, buildExtensionPreset as ea, InterpolateShellCommandsOptions as ec, sanitizeModelChain as ed, installCacheBreakLogger as ef, RemintResult as eg, ToolMap as eh, BYTES_PER_TOKEN as ei, CompletionProvider as el, DedupHasher as em, EvalScore as en, ExtensionConfigValue as eo, LocalParams as ep, HeadlessStatus as er, ExtensionToolVerdict as es, buildPersistedStub as et, makeRequestInteraction as eu, createTracingHooks as f, ExtensionInstallProvenance as fa, listSkillCandidates as fc, cerebrasDescriptor as fd, ZaiParams as ff, fromOpenAI as fg, ToolStateController as fh, CompactResult as fi, CommandAttachment as fl, PromptAudioPart as fm, MetricSpecMap as fn, toWireConfigSchema as fo, AnthropicContextManagement as fp, runHeadless as fr, ExtensionNotifyTone as fs, TOOL_USE_CANCELLED_MESSAGE as ft, LogLevel as fu, formatTokenUsage as g, InstallExtensionFromSpecOptions as ga, discoverSkills as gc, getModelInfo as gd, xai as gf, toAnthropic as gg, createToolStateController as gh, CompactPromptTooLongError as gi, CommandInvocation as gl, PromptTextPart as gm, Trajectory as gn, ExtensionCapability as go, anthropic as gp, WAIT_TASK_TIMED_OUT_PREFIX as gr, ExtensionHostRuntimeImpl as gs, renderStaleReadNotice as gt, LoggingHookSet as gu, flattenTurns as h, ExtensionInstallSource as ha, SourcedScanPath as hc, getContextWindow as hd, XaiParams as hf, sanitizeHistoryForProvider as hg, ToolStateView as hh, CompactInvalidInputError as hi, CommandInteraction as hl, PromptPart as hm, ReusableExecutionContext as hn, ExtensionBehaviorTransform as ho, EXTENDED_CACHE_TTL_BETA as hp, writeFile as hr, ExtensionHostRuntimeBridge as hs, collectNewlyStaleReadPaths as ht, Logger as hu, _default as i, filterExtensionRegistry as ia, SkillCandidateDetail as ic, ProviderKey as id, ProviderCapabilities as if, TurnInterruptionState as ig, getReadState as ih, PostCompactRestoreOptions as ii, collectReferences as il, McpServerConfig as im, EvalVariantSummary as in, WireExtensionConfigSchema as io, CerebrasParams as ip, ProviderTranscriptFormat as ir, TuiContributions as is, resolveLegacyPersistDir as it, useInteractionsQueue as iu, MetricAttributes as j, isExtensionDefinition as ja, ChipColor as jc, ContextBreakdown as jd, OpenAICompatStreamError as jf, resultToString as jg, SessionStore as jh, SummaryToTurnInput as ji, CreateInteractionToolsOptions as jl, StepThinkingDecay as jm, emitEfficiencyMetrics as jn, ExtensionModalNode as jo, ResolveOAuthApiKeyOptions as jp, shellKill as jr, SpawnToolState as js, withZidaneExtensionSkill as jt, PLAN_AGENT as ju, InstrumentOptions as k, discoverExtensions as ka, createSkillActivationState as kc, effectiveContextWindow as kd, OpenAICompatHttpError as kf, normalizeMcpBlocks as kg, SessionMetaRow as kh, CompactScope as ki, AnswerValue as kl, SpawnHookContext as km, defineMetrics as kn, ExtensionMcpConfigTransform as ko, resolvePromptCacheKey as kp, SkillsReadToolOptions as kr, SpawnTool as ks, readSkillEditMarker as kt, DEFAULT_BUDGET_EXCLUDE_TOOLS as ku, TracingConventions as l, ExtensionInstallError as la, SkillInstallResult as lc, ModelOption as ld, ToolResult as lf, ensureToolResultPairing as lg, resolveReadStateMap as lh, selectRecentFiles as li, Command as ll, OAuthRefreshHookContext as lm, MetricDirection as ln, resolveExtensionConfig as lo, ArceeParams as lp, headlessEventToJsonl as lr, ExtensionHudWriter as ls, resolveTasksDir as lt, resolveSchemaInput as lu, TokenUsageLike as m, ExtensionInstallScope as ma, readSkillProvenance as mc, enabledModelOptions as md, zai as mf, remintDuplicateToolCallIds as mg, ToolStateStore as mh, compactConversation as mi, CommandGenerateDataOptions as ml, PromptImagePart as mm, RegisterEvalTestsOptions as mn, ExtensionApiVersion as mo, AnthropicThinkingPlan as mp, transcriptToProviderMessages as mr, createExtensionHud as ms, applyCompactSummaryCutoff as mt, LogSink as mu, composePresets as n, composeExtensionPreset as na, stripShellInterpolations as nc, AuthMethod as nd, HistoryRepair as nf, TOOL_USE_INTERRUPTED_MARKER as ng, ReadStateEntry as nh, utf8ByteLength as ni, CompletionSubmitContext as nl, GeometricThinkingDecay as nm, EvalScorerContext as nn, StoredExtensionConfigItem as no, CursorParams as np, OpenAIChatContentPart as nr, GuiContributions as ns, maybePersistToolResult as nt, serializeInteractionResponse as nu, GEN_AI_ATTRIBUTES as o, partitionExtensionCatalog as oa, SkillInstallError as oc, BUILTIN_PROVIDERS as od, StreamOptions as of, detectTurnInterruption as og, hydrateReadStateFromSession as oh, buildPostCompactAttachments as oi, mergeReferences as ol, McpToolSchema as om, EvalWorkspaceOptions as on, coerceExtensionConfigInput as oo, BasetenParams as op, formatHeadlessResult as or, ExtensionHud as os, resolveMcpWarningsDir as ot, SchemaInput as ou, ModelUsage as p, ExtensionInstallResult as pa, parseSkillInstallSpec as pc, credKeyOf as pd, planZaiReasoning as pf, reasoningWireAction as pg, ToolStateOp as ph, CompactStartEvent as pi, CommandExecution as pl, PromptDocumentPart as pm, MetricStats as pn, EMPTY_EXTENSION_REGISTRY as po, AnthropicParams as pp, transcriptToOpenAIMessages as pr, ExtensionStatusOptions as ps, TOOL_USE_SKIPPED_MESSAGE as pt, LogRecord as pu, OAuthCallbackResult as q, ExtensionConfigItem as qa, resolveInlineSuggestion as qc, CacheDimensionDiff as qd, classifyOpenAIError as qf, EnsureToolResultPairingOptions as qh, AgentOptions as qi, QuestionResponse as ql, TurnFinishReason as qm, FormattedHeadlessResult as qn, ExtensionToolRenderProps as qo, CacheTtl as qp, RunSummaryCollector as qr, matchesAllowedTool as qs, EvalMetricError as qt, ModelChainEntry as qu, definePreset as r, disposeExtensionRegistry as ra, SKILL_PROVENANCE_FILE as rc, ProviderAuth as rd, Provider as rf, ToWireMessagesOptions as rg, ReadStateMap as rh, PostCompactAttachments as ri, applyInsert as rl, JsonValue as rm, EvalTestRunner as rn, WireExtensionConfigItem as ro, cursor as rp, OpenAIChatMessage as rr, LoadedExtension as rs, migrateSessionArtifactDirs as rt, useInteractionsActions as ru, Span as s, ExtensionFetchResult as sa, SkillInstallErrorCode as sc, CustomField as sd, TokenCountPayload as sf, dropInvalidToolPairings as sg, hydrateReadStateFromSessionAsync as sh, selectFilesFromReadState as si, mergeSuggestions as sl, ModelTarget as sm, EvalWorkspaceSnapshot as sn, isValidExtensionConfigItem as so, baseten as sp, formatHeadlessTurnEvent as sr, ExtensionHudState as ss, resolvePersistDir as st, StandardSchemaLike as su, Preset as t, buildExtensionRegistry as ta, interpolateShellCommands as tc, toggleChainEntry as td, snapshotCacheDimensions as tf, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as tg, HydrateReadStateOptions as th, estimateTokens as ti, CompletionReference as tl, DedupToolConfig as tm, EvalScorer as tn, ExtensionConfigValueItem as to, local as tp, HeadlessUsage as tr, ExtensionTuiSurface as ts, cleanupPersistedSession as tt, pendingInteractionsFromTurns as tu, TracingHookSet as u, ExtensionInstallErrorCode as ua, SkillInstallSpec as uc, ProviderDescriptor as ud, ToolSpec as uf, filterUnresolvedToolUses as ug, DEFAULT_MAX_VALUE_BYTES as uh, CompactEndEvent as ui, CommandAgentResult as ul, ProgressNudgeKind as um, MetricEmitter as un, resolveExtensionConfigValue as uo, arcee as up, installHeadlessEventAdapter as ur, ExtensionNotification as us, INTERRUPT_MESSAGE_FOR_TOOL_USE as ut, zodToJsonSchema as uu, MutationValidationBatch as v, fetchExtensionSource as va, inferSource as vc, modelOptionsFor as vd, SchemaSanitizeProfile as vf, toWireMessages as vg, stagedToolState as vh, CompactDirection as vi, CommandSpawnResult as vl, RepeatGuardConfig as vm, TrajectoryStepKind as vn, ExtensionContextTransform as vo, buildAnthropicClientOptions as vp, ValidationResult as vr, ExtensionRuntimeSurface as vs, EditSessionTarget as vt, RingBufferSink as vu, createMutationValidationHooks as w, updateInstalledExtension as wa, ActivationVia as wc, restoreModelOptions as wd, openrouter as wf, createStderrLineEmitter as wg, SkillsConfig as wh, buildFromCompactPrompt as wi, commandBlocksToContent as wl, SessionContentBlock as wm, computeEvalTagScores as wn, ExtensionGuiPanel as wo, resolveAnthropicBetas as wp, createToolSearchTool as wr, createWorkspaceSurface as ws, buildZidaneExtensionSkill as wt, AgentProfile as wu, MutationValidationMutation as x, parseExtensionInstallSource as xa, buildCatalog as xc, openaiDescriptor as xd, sanitizeToolSpecs as xf, McpExecutionBinding as xg, SkillDiagnostic as xh, NO_TOOLS_PREAMBLE as xi, CommandStepContext as xl, ResolveContentRefBlock as xm, buildRegisteredEvals as xn, ExtensionCustomRendererEntry as xo, defaultAnthropicMaxTokens as xp, tailTruncate as xr, ExtensionWorkspacePair as xs, SkillEditMarker as xt, createLoggingHooks as xu, MutationValidationFailure as y, installExtensionFromSpec as ya, parseFrontmatter as yc, modelSupportsReasoning as yd, SchemaSanitizeResult as yf, ConnectMcpServersOptions as yg, ShellInterpolationApproval as yh, CompactPromptBuilder as yi, CommandSpawnTask as yl, RepeatGuardToolMatcher as ym, artifactPath as yn, ExtensionContributions as yo, classifyAnthropicError as yp, validateToolArgs as yr, ExtensionSessionSummary as ys, ExtensionEditMarker as yt, consoleSink as yu, McpCredentialEntry as z, defineExtension as za, ThemeSurfaces as zc, ContextExtensionSection as zd, formatTools as zf, setExtensionSessionState as zh, defaultRepeatGuardNormalize as zi, PlanPayload as zl, ToolResultContent as zm, formatTrajectoryLine as zn, ExtensionRuntimeEnv as zo, writeOAuthCredentials as zp, createInteractionTool as zr, formatModelLine as zs, EvalAgentRunStats as zt, EditPayload as zu };
|
|
18300
|
-
//# sourceMappingURL=index-
|
|
18972
|
+
export { SessionArtifactDirMigration as $, ExtensionConfigStringItem as $a, createSkillActivationState as $c, restoreModelOptions as $d, openrouter as $f, createStderrLineEmitter as $g, SkillsConfig as $h, ExtensionCatalogPartition as $i, commandBlocksToContent as $l, SessionContentBlock as $m, HeadlessResult as $n, ExtensionToolResultMetadataRegistration as $o, resolveAnthropicBetas as $p, createRunSummaryCollector as $r, AgentPluginsVersion as $s, EvalRunUsage as $t, AgentProfile as $u, Meter as A, discoverExtensions as Aa, SkillInstallError as Ac, toggleChainEntry as Ad, snapshotCacheDimensions as Af, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as Ag, HydrateReadStateOptions as Ah, CompactionSlice as Ai, CompletionReference as Al, DedupToolConfig as Am, efficiencyMetricValues as An, ExtensionManifest as Ao, local as Ap, createSkillsReadTool as Ar, SpawnTaskInput as As, resolveExtensionDocsDir as At, pendingInteractionsFromTurns as Au, McpCredentialStore as B, defineExtension as Ba, discoverSkills as Bc, anthropicDescriptor as Bd, TurnResult as Bf, fromAnthropic as Bg, StagedToolState as Bh, defaultRepeatGuardTracked as Bi, CommandArgSuggestion as Bl, ProgressNudgeMessage as Bm, functionalityMetric as Bn, ExtensionRunTransform as Bo, AnthropicBedrockConfig as Bp, grep as Br, SpawnModelEntry as Bs, EvalAgentStats as Bt, ConsoleSinkOptions as Bu, SuccessfulMutationOutcome as C, readExtensionInstallProvenance as Ca, resolveSkills as Cc, buildRunModel as Cd, CacheDimensionName as Cf, ORPHANED_TOOL_RESULT_MARKER as Cg, TurnUsage as Ch, buildCompactPrompt as Ci, tokenEndingAtCursor as Cl, ChildRunStats as Cm, clearRegisteredEvals as Cn, ExtensionCustomRendererEntry as Co, mapCodexStopReason as Cp, ToolSearchToolOptions as Cr, ExtensionSessionsSurface as Cs, ZIDANE_SKILL_EDIT_SKILL_NAME as Ct, QuestionType as Cu, Counter as D, ENTRY_CANDIDATES as Da, SKILL_PROVENANCE_FILE as Dc, providerKeySetChanged as Dd, fnv1a32 as Df, PairingRepairMode as Dg, ToolContext as Dh, buildUpToCompactPrompt as Di, CompletionContext as Dl, CompactStartHookContext as Dm, createReusableExecutionContext as Dn, ExtensionGuiSurface as Do, mistral as Dp, SkillsRunScriptToolOptions as Dr, createWorkspaceSurface as Ds, extensionDirForCwd as Dt, createInteractionTools as Du, resolveModelTargets as E, registerExtensionHostModules as Ea, stripShellInterpolations as Ec, filterChainFallbacks as Ed, diffCacheDimensions as Ef, PairingRepair as Eg, toolResultToText as Eh, buildTailCompactPrompt as Ei, ActiveTrigger as El, CompactHookContext as Em, createEvalRunReporter as En, ExtensionGuiPanel as Eo, MistralParams as Ep, createSkillsUseTool as Er, createExtensionHostRuntimeBridge as Es, editSessionMetadata as Et, buildResumedToolResultsTurn as Eu, createMetricsHooks as F, DiscoverAndBuildExtensionRegistryOptions as Fa, installSkillFromSpec as Fc, BUILTIN_PROVIDERS as Fd, StreamOptions as Ff, detectTurnInterruption as Fg, hydrateReadStateFromSession as Fh, summaryToTurn as Fi, mergeReferences as Fl, McpToolSchema as Fm, fileExistsOneOf as Fn, ExtensionPaths as Fo, BasetenParams as Fp, readFile as Fr, SubagentDef as Fs, EvalAgent as Ft, SchemaInput as Fu, OAuthCallbackHandle as G, ExtensionConfigCategory as Ga, buildCatalog as Gc, getModelInfo as Gd, xai as Gf, toAnthropic as Gg, createToolStateController as Gh, AgentHookMap as Gi, CommandInvocation as Gl, PromptTextPart as Gm, runEvalCase as Gn, ExtensionStorageScope as Go, anthropic as Gp, RunSummaryBudget as Gr, PLUGIN_MCP_FILE as Gs, EvalDefinitionContext as Gt, LoggingHookSet as Gu, McpOAuthProviderOptions as H, ExtensionConfigActionResult as Ha, inferSource as Hc, credKeyOf as Hd, planZaiReasoning as Hf, reasoningWireAction as Hg, ToolStateOp as Hh, stableStringify as Hi, CommandExecution as Hl, PromptDocumentPart as Hm, normalizeMetric as Hn, ExtensionSessionStateSurface as Ho, AnthropicParams as Hp, edit as Hr, formatModelLine as Hs, EvalCaseOptions as Ht, LogRecord as Hu, LoginMcpServerOptions as I, discoverAndBuildExtensionRegistry as Ia, listSkillCandidates as Ic, CustomField as Id, TokenCountPayload as If, dropInvalidToolPairings as Ig, hydrateReadStateFromSessionAsync as Ih, truncateHeadForPtlRetry as Ii, mergeSuggestions as Il, ModelTarget as Im, finalizeEvalMetrics as In, ExtensionPermission as Io, baseten as Ip, multiEdit as Ir, SubagentOverride as Is, EvalAgentMcpServers as It, StandardSchemaLike as Iu, startOAuthCallback as J, ExtensionConfigItem as Ja, ActivationVia as Jc, modelSupportsReasoning as Jd, SchemaSanitizeResult as Jf, ConnectMcpServersOptions as Jg, ShellInterpolationApproval as Jh, McpConnector as Ji, CommandSpawnTask as Jl, RepeatGuardToolMatcher as Jm, FormattedHeadlessTurnEvent as Jn, ExtensionToolPolicy as Jo, classifyAnthropicError as Jp, RunSummaryCollectorOptions as Jr, parsePluginManifest as Js, EvalRunMetricAggregate as Jt, consoleSink as Ju, OAuthCallbackOptions as K, ExtensionConfigChangeBehavior as Ka, IMPLICITLY_ALLOWED_SKILL_TOOLS as Kc, localDescriptor as Kd, SchemaSanitizeOptions as Kf, toOpenAI as Kg, isToolStateOps as Kh, AgentHooks as Ki, CommandOutputBlock as Kl, PromptVideoPart as Km, statusCompleted as Kn, ExtensionStorageSurface as Ko, applyAnthropicCacheBreakpoints as Kp, RunSummaryByModel as Kr, expandPluginVars as Ks, EvalMetric as Kt, LoggingHooksOptions as Ku, LoginMcpServerResult as L, ExtensionPromptBridge as La, parseSkillInstallSpec as Lc, ModelInfo as Ld, ToolCall as Lf, ensureEndsWithUserMessage as Lg, readStateKey as Lh, GenerateStructuredDataOptions as Li, resolveCompletionSubmit as Ll, ModelTargetSpec as Lm, formatEvalCaseSummary as Ln, ExtensionPromptTransform as Lo, planBasetenReasoning as Lp, listFiles as Lr, SubagentRegistry as Ls, EvalAgentRunOptions as Lt, isStandardSchema as Lu, MetricsHookSet as M, isExtensionDefinition as Ma, SkillInstallOptions as Mc, ProviderAuth as Md, Provider as Mf, ToWireMessagesOptions as Mg, ReadStateMap as Mh, anchorPreviewFor as Mi, applyInsert as Ml, JsonValue as Mm, fileContains as Mn, ExtensionModal as Mo, cursor as Mp, CreateShellToolOptions as Mr, SpawnTool as Ms, withZidaneSkillEditSkill as Mt, useInteractionsActions as Mu, MetricsHooksOptions as N, parseExtensionScanPathEnv as Na, SkillInstallResult as Nc, ProviderKey as Nd, ProviderCapabilities as Nf, TurnInterruptionState as Ng, getReadState as Nh, sliceForCompaction as Ni, collectReferences as Nl, McpServerConfig as Nm, fileContentQuality as Nn, ExtensionModalNode as No, CerebrasParams as Np, createShellTool as Nr, SpawnToolOptions as Ns, CreateEvalAgentOptions as Nt, useInteractionsQueue as Nu, Histogram as O, ExtensionScanEntry as Oa, SkillCandidateDetail as Oc, restoreChainFallbacks as Od, hashMessages as Of, ReasoningWireAction as Og, ToolDef as Oh, ANCHOR_PREVIEW_MAX_CHARS as Oi, CompletionItem as Ol, DEFAULT_AGENT_CLOCK as Om, defineEval as On, ExtensionKeybinding as Oo, planMistralReasoning as Op, createSkillsRunScriptTool as Or, ChildAgent as Os, extensionScaffold as Ot, isInteractionTool as Ou, UpDownCounter as P, scanExtensionDirectories as Pa, SkillInstallSpec as Pc, detectAuth as Pd, StreamCallbacks as Pf, autoDetectAndConvert as Pg, hashContent as Ph, stripImagesFromTurns as Pi, findActiveTrigger as Pl, McpToolHookContext as Pm, fileExists as Pn, ExtensionOrderedContribution as Po, cerebras as Pp, shell as Pr, SpawnToolState as Ps, EFFICIENCY_METRICS as Pt, InferSchemaOutput as Pu, PersistOutcome as Q, ExtensionConfigScope as Qa, SkillActivationStateOptions as Qc, piIdOf as Qd, normalizeOpenRouterModelId as Qf, connectMcpServers as Qg, SkillSource as Qh, BuildExtensionRegistryOptions as Qi, commandBlockToEvent as Ql, RunHookMap as Qm, HeadlessOutputFormat as Qn, ExtensionToolRendererRegistration as Qo, resolveAnthropicAuthShape as Qp, RunSummaryValidation as Qr, loadAgentPlugin as Qs, EvalRunSummaryCase as Qt, AgentAccent as Qu, loginMcpServer as R, ExtensionPromptDelivery as Ra, readSkillProvenance as Rc, ModelOption as Rd, ToolResult as Rf, ensureToolResultPairing as Rg, resolveReadStateMap as Rh, generateStructuredData as Ri, Command as Rl, OAuthRefreshHookContext as Rm, formatEvalRunSummary as Rn, ExtensionProviderMiddleware as Ro, ArceeParams as Rp, InteractionToolOptions as Rr, createSpawnTool as Rs, EvalAgentRunResult as Rt, resolveSchemaInput as Ru, MutationValidationResult as S, parseExtensionInstallSource as Sa, validateSkillName as Sc, ModelChainEntry as Sd, CacheDimensionDiff as Sf, EnsureToolResultPairingOptions as Sg, TurnFinishReason as Sh, TRAILER as Si, resolveInlineSuggestion as Sl, CacheTtl as Sm, buildTrajectory as Sn, ExtensionCustomRenderer as So, classifyOpenAIError as Sp, LazyToolEntry as Sr, ExtensionSessionSummary as Ss, ZIDANE_EXTENSION_SKILL_NAME as St, QuestionResponse as Su, normalizeProviders as T, updateInstalledExtension as Ta, interpolateShellCommands as Tc, chainsEqual as Td, CacheDriftInfo as Tf, PairingDropKind as Tg, toolOutputByteLength as Th, buildFullCompactPrompt as Ti, useCompletion as Tl, CompactFunction as Tm, createEvalAgent as Tn, ExtensionFooterHint as To, toPiMessages as Tp, SkillsUseToolOptions as Tr, ExtensionWorkspaceSurface as Ts, buildZidaneSkillEditSkill as Tt, TextQuestion as Tu, createMemoryMcpCredentialStore as U, ExtensionConfigActionStatus as Ua, parseFrontmatter as Uc, enabledModelOptions as Ud, zai as Uf, remintDuplicateToolCallIds as Ug, ToolStateStore as Uh, localReliabilityBehavior as Ui, CommandGenerateDataOptions as Ul, PromptImagePart as Um, registerEvalTests as Un, ExtensionSkillPolicy as Uo, AnthropicThinkingPlan as Up, RunSummary as Ur, matchModelEntries as Us, EvalCaseResult as Ut, LogSink as Uu, McpOAuthProvider as V, ExtensionConfigActionItem as Va, getDefaultScanPaths as Vc, cerebrasDescriptor as Vd, ZaiParams as Vf, fromOpenAI as Vg, ToolStateController as Vh, normalizeShellCommand as Vi, CommandAttachment as Vl, PromptAudioPart as Vm, llmJudge as Vn, ExtensionRuntimeEnv as Vo, AnthropicContextManagement as Vp, glob as Vr, createModelSearchTool as Vs, EvalArtifacts as Vt, LogLevel as Vu, hasAuthorizationHeader as W, ExtensionConfigBooleanItem as Wa, parseSkillFile as Wc, getContextWindow as Wd, XaiParams as Wf, sanitizeHistoryForProvider as Wg, ToolStateView as Wh, Agent as Wi, CommandInteraction as Wl, PromptPart as Wm, relativeArtifactPath as Wn, ExtensionSource as Wo, EXTENDED_CACHE_TTL_BETA as Wp, RunSummaryBlock as Wr, PLUGIN_SKILLS_DIR as Ws, EvalDefinition as Wt, Logger as Wu, PERSISTENCE_PREVIEW_BYTES as X, ExtensionConfigModelItem as Xa, DeactivationReason as Xc, openaiDescriptor as Xd, sanitizeToolSpecs as Xf, McpExecutionBinding as Xg, SkillDiagnostic as Xh, McpToolWrap as Xi, CommandStepContext as Xl, ResolveContentRefBlock as Xm, HeadlessEvent as Xn, ExtensionToolRenderer as Xo, defaultAnthropicMaxTokens as Xp, RunSummaryRepeatGuard as Xr, PLUGIN_MANIFEST_FILE as Xs, EvalRunReporterOptions as Xt, createLoggingHooks as Xu, PERSISTED_STUB_PREFIX as Y, ExtensionConfigItemBase as Ya, ActiveSkill as Yc, modelsForDescriptor as Yd, sanitizeToolSchema as Yf, McpConnection as Yg, SkillConfig as Yh, McpToolMeta as Yi, CommandStep as Yl, ResolveContentRef as Ym, HeadlessErrorInfo as Yn, ExtensionToolRenderProps as Yo, credentialIdentity as Yp, RunSummaryError as Yr, validatePluginManifest as Ys, EvalRunReporter as Yt, createLogger as Yu, PersistInput as Z, ExtensionConfigNumberItem as Za, SkillActivationState as Zc, openrouterDescriptor as Zd, OpenRouterParams as Zf, attachStderrWarnPump as Zg, SkillResource as Zh, createAgent as Zi, CommandStepFn as Zl, RetryConfig as Zm, HeadlessOptions as Zn, ExtensionToolRendererEntry as Zo, planAnthropicThinking as Zp, RunSummaryTokens as Zr, defaultPluginDataRoot as Zs, EvalRunSummary as Zt, jsonSink as Zu, statsByModel as _, InstallExtensionFromSpecOptions as _a, matchesAllowedTool as _c, Screen as _d, ContextSnapshot as _f, createRemoteStore as _g, ToolResultImageContent as _h, BASE_INSTRUCTIONS as _i, InlineAutocompleteContext as _l, AgentClock as _m, TrajectoryStep as _n, ExtensionBehaviorTransform as _o, openaiCompat as _p, waitTask as _r, createExtensionHud as _s, EXTENSION_EDIT_METADATA_KEY as _t, PlanStep as _u, basicTools as a, normalizeMcpServers as a_, filterRegistryPlugins as aa, PluginManifest as ac, DEFAULT_PERSIST_EXCLUDE_TOOLS as ad, shouldAutoCompact as af, SessionRun as ag, StaleReadPolicy as ah, RecentFile as ai, BUILTIN_THEMES as al, OAuthParams as am, EvalWorkspaceFile as an, WireExtensionConfigSchema as ao, OpenAICompatParams as ap, exitCodeForHeadlessResult as ar, LoadedExtension as as, resolveLegacySessionDir as at, ConfirmQuestion as au, MutationValidationHooksOptions as b, installExtensionFromSpec as ba, validateResourcePathReal as bc, StreamEvent as bd, CacheBreakInfo as bf, FileMapStoreOptions as bg, ToolResultTextContent as bh, CompactPromptOptions as bi, createPathAutocompleteProvider as bl, AutoCompact as bm, buildEvalRunSummary as bn, ExtensionContextTransform as bo, userMessage as bp, TailTruncateOptions as br, ExtensionModelEntry as bs, SKILL_EDIT_METADATA_KEY as bt, QuestionPayload as bu, StartSpan as c, wrapDiscoveredMcpTools as c_, ExtensionFetchResult as ca, agentPluginsSchemaId as cc, resolveAgentId as cd, ContextBreakdownContributor as cf, currentExtensionSession as cg, ThinkingDecay as ch, selectFilesFromSession as ci, DEFAULT_THEME as cl, credentialsFromParams as cm, LlmJudgeOptions as cn, isValidExtensionConfigItem as co, applyOAICacheBreakpoints as cp, formattedHeadlessTurnEventToJsonl as cr, ExtensionBannerOptions as cs, resolveSessionDir as ct, InteractionResponse as cu, TracingHooksOptions as d, originPinnedFetch as d_, ExtensionInstallErrorCode as da, defineSkill as dc, EditHunk as dd, ContextCategoryId as df, getExtensionSessionState as dg, ToolHookContext as dh, CompactOptions as di, Theme as dl, readOAuthCredentials as dm, MetricSpec as dn, resolveExtensionConfigValue as do, buildAssistantContent as dp, providerTranscriptFormatForProvider as dr, ExtensionHudStatus as ds, SHELL_CASCADE_CANCEL_MESSAGE as dt, PRESENT_PLAN_TOOL as du, deriveMcpToolMeta as e_, buildExtensionPreset as ea, LoadAgentPluginOptions as ec, AgentRegistry as ed, AUTO_COMPACT_MIN_GROWTH_FRACTION as ef, CreateSessionOptions as eg, SessionEndStatus as eh, BYTES_PER_TOKEN as ei, ResolveStorageDirsOptions as el, resolveAnthropicMaxOutput as em, EvalScore as en, ExtensionConfigSurface as eo, ASSISTANT_TOOL_CALLS_TAG as ep, HeadlessStatus as er, ExtensionToolResultPatch as es, buildPersistedStub as et, commandSteps as eu, createTracingHooks as f, ModelCatalog as f_, ExtensionInstallIo as fa, writeSkillToDisk as fc, EditOutcome as fd, ContextExactCounts as ff, loadSession as fg, ToolOutcome as fh, CompactResult as fi, ThemeColors as fl, registerCustomOAuthProvider as fm, MetricSpecMap as fn, sanitizeExtensionConfigActionPatch as fo, classifyOpenAICompatError as fp, runHeadless as fr, ExtensionHudWriter as fs, TOOL_USE_CANCELLED_MESSAGE as ft, PendingInteractionEntry as fu, formatTokenUsage as g, setModelCatalog as g_, ExtensionInstallSource as ga, isToolAllowedByUnion as gc, Picked as gd, ContextMcpGroup as gf, RemoteStoreOptions as gg, ToolResultDocumentRefContent as gh, CompactPromptTooLongError as gi, resolveTheme as gl, AgentBehavior as gm, Trajectory as gn, ExtensionApiVersion as go, openAICompatPromptMessage as gp, WAIT_TASK_TIMED_OUT_PREFIX as gr, ExtensionStatusOptions as gs, renderStaleReadNotice as gt, PlanResponse as gu, flattenTurns as h, getModelCatalog as h_, ExtensionInstallScope as ha, SkillValidationResult as hc, Owner as hd, ContextItem as hf, withExtensionSession as hg, ToolResultDocumentContent as hh, CompactInvalidInputError as hi, resolveChipColor as hl, OAuthProviderInterface as hm, ReusableExecutionContext as hn, ExtensionAgentPluginOptions as ho, mapOAIFinishReason as hp, writeFile as hr, ExtensionNotifyTone as hs, collectNewlyStaleReadPaths as ht, PlanRequest as hu, _default as i, normalizeMcpBlocks as i_, filterExtensionRegistry as ia, PluginDiagnostic as ic, DEFAULT_BUDGET_EXCLUDE_TOOLS as id, effectiveContextWindow as if, SessionMetaRow as ig, SpawnHookContext as ih, PostCompactRestoreOptions as ii, resolveStorageDirs as il, resolvePromptCacheKey as im, EvalVariantSummary as in, WireExtensionConfigItem as io, OpenAICompatHttpError as ip, ProviderTranscriptFormat as ir, GuiContributions as is, resolveLegacyPersistDir as it, AnswerValue as iu, MetricAttributes as j, inlineLoadedExtension as ja, SkillInstallErrorCode as jc, AuthMethod as jd, HistoryRepair as jf, TOOL_USE_INTERRUPTED_MARKER as jg, ReadStateEntry as jh, SummaryToTurnInput as ji, CompletionSubmitContext as jl, GeometricThinkingDecay as jm, emitEfficiencyMetrics as jn, ExtensionMcpConfigTransform as jo, CursorParams as jp, shellKill as jr, SpawnTaskOutcome as js, withZidaneExtensionSkill as jt, serializeInteractionResponse as ju, InstrumentOptions as k, defaultExtensionScanPaths as ka, SkillInstallCandidate as kc, sanitizeModelChain as kd, installCacheBreakLogger as kf, RemintResult as kg, ToolMap as kh, CompactScope as ki, CompletionProvider as kl, DedupHasher as km, defineMetrics as kn, ExtensionKeybindingDispatchContext as ko, LocalParams as kp, SkillsReadToolOptions as kr, ExtensionSubagentDef as ks, readSkillEditMarker as kt, makeRequestInteraction as ku, TracingConventions as l, PinnedFetch as l_, ExtensionInstallCandidate as la, isSupportedAgentPluginsVersion as lc, singleAgentRegistry as ld, ContextBreakdownOptions as lf, deleteExtensionSessionState as lg, ThinkingLevel as lh, selectRecentFiles as li, SyntaxStyles as ll, extractRuntimeCredentials as lm, MetricDirection as ln, isValidExtensionConfigValue as lo, applyOAIToolCacheBreakpoint as lp, headlessEventToJsonl as lr, ExtensionHud as ls, resolveTasksDir as lt, InteractionsActions as lu, TokenUsageLike as m, ModelCatalogSource as m_, ExtensionInstallResult as ma, SkillValidationIssue as mc, EditPayload as md, ContextExtensionSection as mf, setExtensionSessionState as mg, ToolResultContent as mh, compactConversation as mi, ThemeSurfaces as ml, writeOAuthCredentials as mm, RegisterEvalTestsOptions as mn, EMPTY_EXTENSION_REGISTRY as mo, formatTools as mp, transcriptToProviderMessages as mr, ExtensionNotifyOptions as ms, applyCompactSummaryCutoff as mt, PlanPayload as mu, composePresets as n, expandMcpConfigEnv as n_, composeExtensionPreset as na, PluginAuthor as nc, BUILTIN_AGENTS as nd, AutoCompactInput as nf, Session as ng, SessionMessage as nh, utf8ByteLength as ni, StorageMode as nl, PromptCacheKeyOption as nm, EvalScorerContext as nn, ExtensionConfigValueItem as no, OAITool as np, OpenAIChatContentPart as nr, ExtensionToolVerdict as ns, maybePersistToolResult as nt, parseCommandInvocation as nu, GEN_AI_ATTRIBUTES as o, resolveTransportConfig as o_, mergeContributions as oa, PluginSchemaKind as oc, PLAN_AGENT as od, ContextBreakdown as of, SessionStore as og, StepThinkingDecay as oh, buildPostCompactAttachments as oi, ChipColor as ol, ResolveOAuthApiKeyOptions as om, EvalWorkspaceOptions as on, clampExtensionConfigNumber as oo, OpenAICompatStreamError as op, formatHeadlessResult as or, LoadedPluginRecord as os, resolveMcpWarningsDir as ot, CreateInteractionToolsOptions as ou, ModelUsage as p, ModelCatalogEntry as p_, ExtensionInstallProvenance as pa, writeSkillsToDisk as pc, EditOutcomeKind as pd, ContextExtensionRow as pf, resumeChainRunIds as pg, ToolResultAudioContent as ph, CompactStartEvent as pi, ThemeSelect as pl, resolveOAuthApiKey as pm, MetricStats as pn, toWireConfigSchema as po, consumeSSE as pp, transcriptToOpenAIMessages as pr, ExtensionNotification as ps, TOOL_USE_SKIPPED_MESSAGE as pt, PlanDecision as pu, OAuthCallbackResult as q, ExtensionConfigEnumItem as qa, installAllowedToolsGate as qc, modelOptionsFor as qd, SchemaSanitizeProfile as qf, toWireMessages as qg, stagedToolState as qh, AgentOptions as qi, CommandSpawnResult as ql, RepeatGuardConfig as qm, FormattedHeadlessResult as qn, ExtensionToolCatalogTransform as qo, buildAnthropicClientOptions as qp, RunSummaryCollector as qr, ManifestValidation as qs, EvalMetricError as qt, RingBufferSink as qu, definePreset as r, nonOwningMcpView as r_, disposeExtensionRegistry as ra, PluginComponentStatus as rc, DEFAULT_AGENT_ID as rd, OUTPUT_RESERVE_TOKENS as rf, SessionData as rg, SessionTurn as rh, PostCompactAttachments as ri, StorageSlot as rl, derivePromptCacheKey as rm, EvalTestRunner as rn, StoredExtensionConfigItem as ro, OpenAICompatAuthHeader as rp, OpenAIChatMessage as rr, ExtensionTuiSurface as rs, migrateSessionArtifactDirs as rt, ASK_USER_TOOL as ru, Span as s, resultToString as s_, partitionExtensionCatalog as sa, SUPPORTED_AGENT_PLUGINS_VERSIONS as sc, accentColor as sd, ContextBreakdownContributionContext as sf, createSession as sg, StreamHookContext as sh, selectFilesFromReadState as si, ChipColorMap as sl, credentialsFilePath as sm, EvalWorkspaceSnapshot as sn, coerceExtensionConfigInput as so, TOOL_RESULTS_TAG as sp, formatHeadlessTurnEvent as sr, TuiContributions as ss, resolvePersistDir as st, InteractionRequest as su, Preset as t, expandEnvPlaceholders as t_, buildExtensionRegistry as ta, LoadedPlugin as tc, BUILD_AGENT as td, AutoCompactDecision as tf, LoadSessionOptions as tg, SessionHookContext as th, estimateTokens as ti, StorageDirs as tl, PromptCacheKeyContext as tm, EvalScorer as tn, ExtensionConfigValue as to, OAIMessage as tp, HeadlessUsage as tr, ExtensionToolResultTransform as ts, cleanupPersistedSession as tt, executeCommand as tu, TracingHookSet as u, isAllowedRemoteUrl as u_, ExtensionInstallError as ua, parseSchemaId as uc, EditDiffDisplay as ud, ContextCategory as uf, demoteStaleRunningStatus as ug, ToolBatchExecutor as uh, CompactEndEvent as ui, SyntaxTokenStyle as ul, isOAuthAccessToken as um, MetricEmitter as un, resolveExtensionConfig as uo, assistantMessage as up, installHeadlessEventAdapter as ur, ExtensionHudState as us, INTERRUPT_MESSAGE_FOR_TOOL_USE as ut, InteractionsProvider as uu, MutationValidationBatch as v, InstalledExtensionTargetOptions as va, parseAllowedToolPattern as vc, SessionMeta as vd, ContextUsageSplit as vf, createMemoryStore as vg, ToolResultImageRefContent as vh, CompactDirection as vi, InlineAutocompleteProvider as vl, AgentRunOptions as vm, TrajectoryStepKind as vn, ExtensionCapability as vo, toOAIMessages as vp, ValidationResult as vr, ExtensionHostRuntimeBridge as vs, EditSessionTarget as vt, Question as vu, createMutationValidationHooks as w, removeInstalledExtension as wa, InterpolateShellCommandsOptions as wc, chainPositionOf as wd, CacheDimensionSnapshot as wf, PairingDrop as wg, toolOutputBudgetByteLength as wh, buildFromCompactPrompt as wi, CompletionState as wl, CompactEndHookContext as wm, computeEvalTagScores as wn, ExtensionDefinition as wo, openai as wp, createToolSearchTool as wr, ExtensionWorkspacePair as ws, buildZidaneExtensionSkill as wt, SelectQuestion as wu, MutationValidationMutation as x, listExtensionCandidates as xa, validateSkillForWrite as xc, ToolCallDisplay as xd, CacheBreakLoggerOptions as xf, createFileMapStore as xg, ToolResultVideoContent as xh, NO_TOOLS_PREAMBLE as xi, patchInlineGhost as xl, AutoCompactConfig as xm, buildRegisteredEvals as xn, ExtensionContributions as xo, OpenAIParams as xp, tailTruncate as xr, ExtensionRuntimeSurface as xs, SkillEditMarker as xt, QuestionRequest as xu, MutationValidationFailure as y, fetchExtensionSource as ya, validateResourcePath as yc, Settings as yd, buildContextBreakdown as yf, FileMapAdapter as yg, ToolResultMetadata as yh, CompactPromptBuilder as yi, InlineGhost as yl, AgentStats as ym, artifactPath as yn, ExtensionContext as yo, toolResultsMessage as yp, validateToolArgs as yr, ExtensionHostRuntimeImpl as ys, ExtensionEditMarker as yt, QuestionChoice as yu, McpCredentialEntry as z, createExtensionPromptBridge as za, SourcedScanPath as zc, ProviderDescriptor as zd, ToolSpec as zf, filterUnresolvedToolUses as zg, DEFAULT_MAX_VALUE_BYTES as zh, defaultRepeatGuardNormalize as zi, CommandAgentResult as zl, ProgressNudgeKind as zm, formatTrajectoryLine as zn, ExtensionRegistry as zo, arcee as zp, createInteractionTool as zr, isSpawnTool as zs, EvalAgentRunStats as zt, zodToJsonSchema as zu };
|
|
18973
|
+
//# sourceMappingURL=index-CWBSrqI6.d.ts.map
|