zidane 6.2.31 → 6.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-C04z4yA7.js → acp-BOXBhzMv.js} +3 -3
- package/dist/{acp-C04z4yA7.js.map → acp-BOXBhzMv.js.map} +1 -1
- package/dist/acp-cli.js +4 -4
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-CbFirigA.js → agent-CHtfwiSc.js} +75 -6
- package/dist/agent-CHtfwiSc.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{anthropic-fUETpZNm.js → anthropic--S5Wg4Oy.js} +2 -2
- package/dist/{anthropic-fUETpZNm.js.map → anthropic--S5Wg4Oy.js.map} +1 -1
- package/dist/{auth-qXqkD--3.js → auth-up7hgE9H.js} +2 -2
- package/dist/{auth-qXqkD--3.js.map → auth-up7hgE9H.js.map} +1 -1
- package/dist/chat/pure.d.ts +4 -4
- package/dist/chat/pure.js +3 -3
- package/dist/chat.d.ts +112 -5
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +6 -6
- 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/eval.js +1 -1
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +3 -3
- package/dist/{index-5AFYbHjc.d.ts → index-DZxVqh6L.d.ts} +248 -3
- package/dist/index-DZxVqh6L.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/dist/{login-CEOlp1r6.js → login-CWwu9Sex.js} +114 -5
- package/dist/login-CWwu9Sex.js.map +1 -0
- package/dist/mcp.d.ts +1 -1
- package/dist/{messages-Dy9t7DbQ.js → messages-t5Sv-vyv.js} +161 -2
- package/dist/{messages-Dy9t7DbQ.js.map → messages-t5Sv-vyv.js.map} +1 -1
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/anthropic.js +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/openai.js +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/providers.js +1 -1
- package/dist/read-state-rDmfeLmz.js.map +1 -1
- package/dist/restate.d.ts +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/{session-DkVnYGm9.js → session-DtRtNDBz.js} +61 -5
- package/dist/session-DtRtNDBz.js.map +1 -0
- package/dist/session.d.ts +2 -2
- package/dist/session.js +3 -3
- package/dist/skills.d.ts +1 -1
- package/dist/{tool-formatters-Dft7YVHI.d.ts → tool-formatters-BCA9SPQy.d.ts} +14 -3
- package/dist/tool-formatters-BCA9SPQy.d.ts.map +1 -0
- 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-DcsjjcXp.d.ts → transcript-anchors-BaU0gkGA.d.ts} +12 -3
- package/dist/{transcript-anchors-DcsjjcXp.d.ts.map → transcript-anchors-BaU0gkGA.d.ts.map} +1 -1
- package/dist/{transcript-anchors-TsFlSKWp.js → transcript-anchors-vVG3xyD0.js} +3330 -2639
- package/dist/transcript-anchors-vVG3xyD0.js.map +1 -0
- package/dist/tui.d.ts +11 -3
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +241 -805
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-ScYurEvl.d.ts → turn-operations-BofuxNtk.d.ts} +16 -4
- package/dist/turn-operations-BofuxNtk.d.ts.map +1 -0
- package/dist/{turn-operations-4tnvKwfJ.js → turn-operations-CtEpeB_s.js} +99 -3
- package/dist/turn-operations-CtEpeB_s.js.map +1 -0
- package/dist/types-BIarq1qE.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/agent-CbFirigA.js.map +0 -1
- package/dist/index-5AFYbHjc.d.ts.map +0 -1
- package/dist/login-CEOlp1r6.js.map +0 -1
- package/dist/session-DkVnYGm9.js.map +0 -1
- package/dist/tool-formatters-Dft7YVHI.d.ts.map +0 -1
- package/dist/transcript-anchors-TsFlSKWp.js.map +0 -1
- package/dist/turn-operations-4tnvKwfJ.js.map +0 -1
- package/dist/turn-operations-ScYurEvl.d.ts.map +0 -1
|
@@ -1774,6 +1774,75 @@ declare function remintDuplicateToolCallIds(toolCalls: ReadonlyArray<{
|
|
|
1774
1774
|
name: string;
|
|
1775
1775
|
input: Record<string, unknown>;
|
|
1776
1776
|
}>, content: readonly SessionContentBlock[], priorIds: ReadonlySet<string>): RemintResult;
|
|
1777
|
+
/**
|
|
1778
|
+
* Classification of a single deletion {@link dropInvalidToolPairings}
|
|
1779
|
+
* performed. Surfaced via `onDrop` for telemetry.
|
|
1780
|
+
*/
|
|
1781
|
+
type PairingDropKind = 'duplicate-tool-call' | 'duplicate-tool-result' | 'orphan-tool-result' | 'empty-turn';
|
|
1782
|
+
interface PairingDrop {
|
|
1783
|
+
kind: PairingDropKind;
|
|
1784
|
+
/** Tool-call / tool-result id the drop concerns. Absent for empty-turn drops. */
|
|
1785
|
+
callId?: string;
|
|
1786
|
+
/** Zero-based index into the INPUT `turns` array. */
|
|
1787
|
+
index: number;
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* Drop-only normalization of persisted history: delete structurally invalid
|
|
1791
|
+
* tool blocks so the transcript never re-triggers wire-time pairing repairs
|
|
1792
|
+
* turn after turn.
|
|
1793
|
+
*
|
|
1794
|
+
* Unlike {@link ensureToolResultPairing} — which SYNTHESIZES placeholder
|
|
1795
|
+
* content and must therefore stay wire-only (fabricated results would poison
|
|
1796
|
+
* persisted history and training data) — this pass performs pure deletions of
|
|
1797
|
+
* blocks that are provably invalid regardless of interpretation:
|
|
1798
|
+
*
|
|
1799
|
+
* | Corruption | Action |
|
|
1800
|
+
* |------------|--------|
|
|
1801
|
+
* | duplicate `tool_call` id within one run lane (across or within turns) | drop the later instance |
|
|
1802
|
+
* | duplicate `tool_result.callId` within one turn | drop the later instance |
|
|
1803
|
+
* | `tool_result` with no matching `tool_call` in the immediately preceding same-lane assistant turn | drop the block |
|
|
1804
|
+
* | turn emptied by the drops above (reasoning-only remainders count as empty) | drop the whole turn |
|
|
1805
|
+
*
|
|
1806
|
+
* Duplicate detection is scoped to the WIRE-VIEW lane: tool_call ids only
|
|
1807
|
+
* collide when both instances reach one model request. By default a turn's
|
|
1808
|
+
* lane is its raw `runId` — correct for parent/subagent interleaving, where
|
|
1809
|
+
* providers minting per-conversation counter ids (`call_0`, `call_1`)
|
|
1810
|
+
* legitimately reuse the same id across lanes. Callers that know the run
|
|
1811
|
+
* topology (see `createSession`) pass `laneForRun` to widen lanes to true
|
|
1812
|
+
* wire views: all depth-0 runs share the main conversation view, and a
|
|
1813
|
+
* resumed subagent shares its resume-chain ancestors' view — duplicates
|
|
1814
|
+
* across those runIds DO reach a single request (wire-time
|
|
1815
|
+
* `ensureToolResultPairing` mode 4 would strip them on every send) and are
|
|
1816
|
+
* healed here.
|
|
1817
|
+
*
|
|
1818
|
+
* Orphan `tool_use` blocks (a call whose result was never persisted —
|
|
1819
|
+
* interrupted run) are deliberately KEPT: they are authentic model output,
|
|
1820
|
+
* and the wire-time pass patches them with a synthetic result on every send
|
|
1821
|
+
* without touching history.
|
|
1822
|
+
*
|
|
1823
|
+
* Deletions cascade by design: dropping a duplicate `tool_call` orphans its
|
|
1824
|
+
* `tool_result`, which is then dropped too; a turn emptied by either is
|
|
1825
|
+
* removed entirely.
|
|
1826
|
+
*
|
|
1827
|
+
* Safe to persist: deterministic, idempotent (re-running on healed output is
|
|
1828
|
+
* a no-op returning the same reference), and fabricates nothing.
|
|
1829
|
+
*
|
|
1830
|
+
* Pure: does not mutate input turns or their content arrays.
|
|
1831
|
+
*/
|
|
1832
|
+
declare function dropInvalidToolPairings<T extends {
|
|
1833
|
+
role: string;
|
|
1834
|
+
content: SessionContentBlock[];
|
|
1835
|
+
runId?: string;
|
|
1836
|
+
}>(turns: T[], options?: {
|
|
1837
|
+
onDrop?: (drop: PairingDrop) => void;
|
|
1838
|
+
/**
|
|
1839
|
+
* Map a turn's `runId` to its wire-view lane. Turns whose lanes differ
|
|
1840
|
+
* never share a model request, so their tool_call ids may legitimately
|
|
1841
|
+
* collide. Defaults to the raw `runId` (undefined runIds share one
|
|
1842
|
+
* lane) — the conservative choice when run topology is unknown.
|
|
1843
|
+
*/
|
|
1844
|
+
laneForRun?: (runId: string | undefined) => string;
|
|
1845
|
+
}): T[];
|
|
1777
1846
|
/**
|
|
1778
1847
|
* Drop ASSISTANT turns whose every `tool_call` block is unresolved
|
|
1779
1848
|
* (no matching `tool_result` block anywhere later in the transcript).
|
|
@@ -2338,6 +2407,22 @@ interface CreateSessionOptions {
|
|
|
2338
2407
|
metadata?: Record<string, unknown>;
|
|
2339
2408
|
/** Storage backend (optional, enables save/load) */
|
|
2340
2409
|
store?: SessionStore;
|
|
2410
|
+
/**
|
|
2411
|
+
* Observability hook for the load-time pairing heal: fired once per block
|
|
2412
|
+
* or turn `dropInvalidToolPairings` deleted while restoring `_data`.
|
|
2413
|
+
* Deletions are permanent once the session is saved, so hosts that alert
|
|
2414
|
+
* on wire-time `pairing:repair` events should wire this to the same sink.
|
|
2415
|
+
* Only fires on the `_data` restore path; fresh sessions never heal.
|
|
2416
|
+
*/
|
|
2417
|
+
onPairingDrop?: (drop: PairingDrop) => void;
|
|
2418
|
+
/**
|
|
2419
|
+
* @internal: restore from existing data (bypasses id/agentId/metadata
|
|
2420
|
+
* options). The session ALIASES this object for its lifetime — every
|
|
2421
|
+
* mutation (appendTurns, run records, updatedAt) writes through to it,
|
|
2422
|
+
* and the load-time pairing heal may replace its `turns` array in place
|
|
2423
|
+
* before the session is returned. Callers must not retain independent
|
|
2424
|
+
* ownership expectations.
|
|
2425
|
+
*/
|
|
2341
2426
|
_data?: SessionData;
|
|
2342
2427
|
}
|
|
2343
2428
|
/**
|
|
@@ -2362,10 +2447,14 @@ declare function createSession(options?: CreateSessionOptions): Promise<Session>
|
|
|
2362
2447
|
* perpetually-in-flight run.
|
|
2363
2448
|
*/
|
|
2364
2449
|
declare function demoteStaleRunningStatus(data: SessionData): SessionData;
|
|
2450
|
+
interface LoadSessionOptions {
|
|
2451
|
+
/** Forwarded to `createSession` — see {@link CreateSessionOptions.onPairingDrop}. */
|
|
2452
|
+
onPairingDrop?: (drop: PairingDrop) => void;
|
|
2453
|
+
}
|
|
2365
2454
|
/**
|
|
2366
2455
|
* Load an existing session from a store.
|
|
2367
2456
|
*/
|
|
2368
|
-
declare function loadSession(store: SessionStore, sessionId: string): Promise<Session | null>;
|
|
2457
|
+
declare function loadSession(store: SessionStore, sessionId: string, options?: LoadSessionOptions): Promise<Session | null>;
|
|
2369
2458
|
//#endregion
|
|
2370
2459
|
//#region src/skills/types.d.ts
|
|
2371
2460
|
/**
|
|
@@ -4070,6 +4159,12 @@ interface AgentBehavior {
|
|
|
4070
4159
|
* without dispatching the tool. The substitution flows through `tool:gate`
|
|
4071
4160
|
* `result` (Z20), so `tool:after` and `tool:transform` still fire.
|
|
4072
4161
|
*
|
|
4162
|
+
* Error results are NEVER recorded (and therefore never replayed): a
|
|
4163
|
+
* failure is a state-dependent verdict, and replaying it would freeze it —
|
|
4164
|
+
* e.g. an `edit` rejected by `requireReadBeforeEdit` would keep failing
|
|
4165
|
+
* with "has not been read" even after the model reads the file, as long
|
|
4166
|
+
* as the retry hashes to the same key. Failed calls always re-execute.
|
|
4167
|
+
*
|
|
4073
4168
|
* Requires a session (`createSession()`); without one, the map is a silent
|
|
4074
4169
|
* no-op since per-session state has nowhere to live. Tools with side
|
|
4075
4170
|
* effects or non-deterministic outputs (network, time, randomness) MUST
|
|
@@ -5232,6 +5327,15 @@ interface TurnUsage {
|
|
|
5232
5327
|
* a price (unknown / unbundled model).
|
|
5233
5328
|
*/
|
|
5234
5329
|
cost?: number;
|
|
5330
|
+
/**
|
|
5331
|
+
* Provider key that served this turn, stamped by `fillEstimatedCost`
|
|
5332
|
+
* alongside the cost fill. Authoritative where present — downstream
|
|
5333
|
+
* spend attribution (e.g. the GUI usage dashboard) previously had to
|
|
5334
|
+
* GUESS the provider from the model id's shape, which mis-attributes
|
|
5335
|
+
* proxied/rebranded models (a Claude model via Bedrock ≠ Anthropic).
|
|
5336
|
+
* Absent on turns persisted before this field existed.
|
|
5337
|
+
*/
|
|
5338
|
+
provider?: string;
|
|
5235
5339
|
/**
|
|
5236
5340
|
* Why the model stopped this turn. Providers normalize native stop reasons to this union.
|
|
5237
5341
|
* Absent when the provider did not surface a reason (e.g. mock turns).
|
|
@@ -6771,6 +6875,15 @@ interface Settings {
|
|
|
6771
6875
|
*/
|
|
6772
6876
|
toolCallDisplay: ToolCallDisplay;
|
|
6773
6877
|
showToolResults: boolean;
|
|
6878
|
+
/**
|
|
6879
|
+
* Collapse ALL tool-call rows within one exchange (the span between two
|
|
6880
|
+
* user prompts) into a single summary group row — like adjacency-based
|
|
6881
|
+
* tool batching, but exchange-wide. Separators and compaction summaries
|
|
6882
|
+
* also end a group. Subagent-owned tool rows stay inside their subagent
|
|
6883
|
+
* cluster. Expanding the group row shows the individual rows exactly as
|
|
6884
|
+
* without the setting. Default: off.
|
|
6885
|
+
*/
|
|
6886
|
+
groupToolCalls: boolean;
|
|
6774
6887
|
/**
|
|
6775
6888
|
* Render EVERY line of `!` shell-mode output in the transcript instead
|
|
6776
6889
|
* of the 10-line tail window. Display-only: the persisted / wire-visible
|
|
@@ -8152,6 +8265,25 @@ interface Command {
|
|
|
8152
8265
|
*/
|
|
8153
8266
|
completeArgs?: (argsPrefix: string) => readonly CommandArgSuggestion[] | undefined | Promise<readonly CommandArgSuggestion[] | undefined>;
|
|
8154
8267
|
}
|
|
8268
|
+
/**
|
|
8269
|
+
* Persisted form of output blocks inside a display-only `command` turn:
|
|
8270
|
+
* plain blocks → `text` content; `detail` blocks → `tool_result` content
|
|
8271
|
+
* with the label/syntax carried in namespaced metadata (rebuilt into the
|
|
8272
|
+
* collapsed rendering on reload). Shared by the command emit flush and
|
|
8273
|
+
* `ctx.appendNote` so both persist identically.
|
|
8274
|
+
*/
|
|
8275
|
+
declare function commandBlocksToContent(blocks: readonly CommandOutputBlock[]): SessionTurn['content'];
|
|
8276
|
+
/**
|
|
8277
|
+
* Map ONE command-output block to its LIVE transcript event — the
|
|
8278
|
+
* in-memory mirror of {@link commandBlocksToContent}'s persisted shape
|
|
8279
|
+
* (whose replay side lives in `eventsFromTurns`). One definition shared
|
|
8280
|
+
* by the command emit flush and the `ctx.appendNote` host impl so live
|
|
8281
|
+
* rendering can never drift from reloaded rendering — the exact drift
|
|
8282
|
+
* that shipped `custom` blocks rendering only after a reload.
|
|
8283
|
+
*
|
|
8284
|
+
* Precedence matches the persisted side: `custom` > `detail` > markdown.
|
|
8285
|
+
*/
|
|
8286
|
+
declare function commandBlockToEvent(block: CommandOutputBlock): StreamEvent;
|
|
8155
8287
|
/** Normalize a command to its ordered step list (`steps` wins over `run`). */
|
|
8156
8288
|
declare function commandSteps(command: Command): readonly CommandStep[];
|
|
8157
8289
|
/** Parsed `/<name> [args]` invocation. */
|
|
@@ -8366,6 +8498,23 @@ interface ActiveTrigger<TItem = unknown> {
|
|
|
8366
8498
|
declare function findActiveTrigger<TItem>(text: string, cursor: number, providers: readonly CompletionProvider<TItem>[], options?: {
|
|
8367
8499
|
maxQueryLength?: number;
|
|
8368
8500
|
}): ActiveTrigger<TItem> | null;
|
|
8501
|
+
/**
|
|
8502
|
+
* Flatten several providers' suggestion lists into one, stamping
|
|
8503
|
+
* `providerId` on every item (for provider-aware row styling) and
|
|
8504
|
+
* defaulting `section` to the producing provider's `label` so the popover
|
|
8505
|
+
* can render group headers.
|
|
8506
|
+
*
|
|
8507
|
+
* `section` is stamped only when the TRIGGER hosts ≥2 providers (see
|
|
8508
|
+
* `groupCount`), not when ≥2 happen to return items — so a query that
|
|
8509
|
+
* filters a shared trigger (`/`) down to one group still shows that
|
|
8510
|
+
* group's header, while a genuinely single-provider trigger (`@` files)
|
|
8511
|
+
* renders flat (the header would just duplicate the popup's border
|
|
8512
|
+
* title). Items that already carry a value keep it.
|
|
8513
|
+
*/
|
|
8514
|
+
declare function mergeSuggestions<TItem>(groups: readonly {
|
|
8515
|
+
provider: CompletionProvider<TItem>;
|
|
8516
|
+
items: readonly CompletionItem<TItem>[];
|
|
8517
|
+
}[], groupCount?: number): CompletionItem<TItem>[];
|
|
8369
8518
|
/**
|
|
8370
8519
|
* Replace `[span.start, span.end)` in `text` with `insertText`. Returns the
|
|
8371
8520
|
* mutated text and the new cursor position (end of insertion).
|
|
@@ -12147,6 +12296,13 @@ interface AgentHooks {
|
|
|
12147
12296
|
*/
|
|
12148
12297
|
'tool:after': (ctx: ToolHookContext & {
|
|
12149
12298
|
result: string | ToolResultContent[];
|
|
12299
|
+
/**
|
|
12300
|
+
* Final wire error bit for this result, post-`tool:transform` (a
|
|
12301
|
+
* transform can flip it in either direction). Middleware that caches
|
|
12302
|
+
* or replays results (e.g. `dedupTools`) must consult this: error
|
|
12303
|
+
* results are state-dependent verdicts, not stable payloads.
|
|
12304
|
+
*/
|
|
12305
|
+
isError: boolean;
|
|
12150
12306
|
outputBytes: number;
|
|
12151
12307
|
coercions?: readonly string[];
|
|
12152
12308
|
runToolCounts: Readonly<Record<string, number>>;
|
|
@@ -15370,11 +15526,50 @@ declare function relativeArtifactPath(root: string, path: string): string;
|
|
|
15370
15526
|
declare const EXTENSION_EDIT_METADATA_KEY = "zidane.extensionEdit";
|
|
15371
15527
|
/** Name of the inline docs skill auto-activated in extension edit sessions. */
|
|
15372
15528
|
declare const ZIDANE_EXTENSION_SKILL_NAME = "zidane-extension";
|
|
15529
|
+
/**
|
|
15530
|
+
* Session-metadata key marking an "edit skill" session — the skill-editing
|
|
15531
|
+
* counterpart of {@link EXTENSION_EDIT_METADATA_KEY}. The value is a
|
|
15532
|
+
* {@link SkillEditMarker}. Stamped at session creation by both hosts (via
|
|
15533
|
+
* {@link editSessionMetadata}); persisted metadata means it survives reload.
|
|
15534
|
+
*/
|
|
15535
|
+
declare const SKILL_EDIT_METADATA_KEY = "zidane.skillEdit";
|
|
15536
|
+
/** Name of the inline preset skill auto-activated in skill edit sessions. */
|
|
15537
|
+
declare const ZIDANE_SKILL_EDIT_SKILL_NAME = "zidane-skill";
|
|
15373
15538
|
/** Per-edit-session marker persisted on `session.metadata[EXTENSION_EDIT_METADATA_KEY]`. */
|
|
15374
15539
|
interface ExtensionEditMarker {
|
|
15375
15540
|
/** Absolute path to the extension's directory (the session's cwd). */
|
|
15376
15541
|
dir: string;
|
|
15377
15542
|
}
|
|
15543
|
+
/** Per-edit-session marker persisted on `session.metadata[SKILL_EDIT_METADATA_KEY]`. */
|
|
15544
|
+
interface SkillEditMarker {
|
|
15545
|
+
/** Absolute path to the skill's directory (the session's cwd). */
|
|
15546
|
+
dir: string;
|
|
15547
|
+
/** The skill's name (frontmatter-first, as discovered). */
|
|
15548
|
+
name: string;
|
|
15549
|
+
}
|
|
15550
|
+
/**
|
|
15551
|
+
* What an editing session targets. `dir` becomes the session's cwd; `name`
|
|
15552
|
+
* feeds the preset wording (and the skill marker).
|
|
15553
|
+
*/
|
|
15554
|
+
interface EditSessionTarget {
|
|
15555
|
+
kind: 'extension' | 'skill';
|
|
15556
|
+
name: string;
|
|
15557
|
+
dir: string;
|
|
15558
|
+
}
|
|
15559
|
+
/**
|
|
15560
|
+
* THE canonical seed for "open an editing session with preset context" —
|
|
15561
|
+
* the session metadata both hosts stamp at creation time. The engines read
|
|
15562
|
+
* the marker back and inject + auto-activate the matching inline preset
|
|
15563
|
+
* skill ({@link buildZidaneExtensionSkill} / {@link buildZidaneSkillEditSkill}),
|
|
15564
|
+
* so the preset rides as real conversation context from turn one.
|
|
15565
|
+
*/
|
|
15566
|
+
declare function editSessionMetadata(target: EditSessionTarget): Record<string, unknown>;
|
|
15567
|
+
/**
|
|
15568
|
+
* Parse a persisted {@link SkillEditMarker} back out of session metadata.
|
|
15569
|
+
* Tolerant: anything that isn't `{ dir: string, name: string }` → `null`
|
|
15570
|
+
* (older sessions, manual metadata edits, type drift).
|
|
15571
|
+
*/
|
|
15572
|
+
declare function readSkillEditMarker(raw: unknown): SkillEditMarker | null;
|
|
15378
15573
|
/**
|
|
15379
15574
|
* Minimal valid extension module for a freshly-created extension. `name` MUST
|
|
15380
15575
|
* equal the folder name or the loader rejects it (see `src/extensions/discovery`).
|
|
@@ -15428,6 +15623,23 @@ declare function buildZidaneExtensionSkill(opts?: {
|
|
|
15428
15623
|
declare function withZidaneExtensionSkill(skills: SkillsConfig, opts?: {
|
|
15429
15624
|
cwd?: string;
|
|
15430
15625
|
}): SkillsConfig;
|
|
15626
|
+
/**
|
|
15627
|
+
* The inline skill auto-activated in "edit skill" sessions. Body = the
|
|
15628
|
+
* session preset (which skill, which directory, what the next messages will
|
|
15629
|
+
* be about) + a compact SKILL.md authoring reference — the skill-editing
|
|
15630
|
+
* counterpart of {@link buildZidaneExtensionSkill}.
|
|
15631
|
+
*/
|
|
15632
|
+
declare function buildZidaneSkillEditSkill(marker: SkillEditMarker, opts?: {
|
|
15633
|
+
cwd?: string;
|
|
15634
|
+
}): SkillConfig;
|
|
15635
|
+
/**
|
|
15636
|
+
* Inject the skill-edit preset skill into an already-merged {@link SkillsConfig}.
|
|
15637
|
+
* Same contract as {@link withZidaneExtensionSkill} — call on the FINAL merged
|
|
15638
|
+
* skills object.
|
|
15639
|
+
*/
|
|
15640
|
+
declare function withZidaneSkillEditSkill(skills: SkillsConfig, marker: SkillEditMarker, opts?: {
|
|
15641
|
+
cwd?: string;
|
|
15642
|
+
}): SkillsConfig;
|
|
15431
15643
|
//#endregion
|
|
15432
15644
|
//#region src/loop.d.ts
|
|
15433
15645
|
/**
|
|
@@ -16098,6 +16310,39 @@ interface ModelUsage {
|
|
|
16098
16310
|
cacheCreation: number;
|
|
16099
16311
|
turns: number;
|
|
16100
16312
|
}
|
|
16313
|
+
/**
|
|
16314
|
+
* Common shape for token-usage helpers. Mirrors `AgentStats`'s cumulative
|
|
16315
|
+
* fields. Callers working with `TurnUsage` / `SessionRun.totalUsage`
|
|
16316
|
+
* (`input` / `output` / `cacheRead` / `cacheCreation`) map their fields in
|
|
16317
|
+
* at the call site — we don't accept both shapes here because
|
|
16318
|
+
* `AgentStats.output` is a structured-output payload (`Record<string,
|
|
16319
|
+
* unknown>`), not a token count, so the field name `output` is ambiguous.
|
|
16320
|
+
*/
|
|
16321
|
+
interface TokenUsageLike {
|
|
16322
|
+
totalIn?: number;
|
|
16323
|
+
totalOut?: number;
|
|
16324
|
+
totalCacheRead?: number;
|
|
16325
|
+
totalCacheCreation?: number;
|
|
16326
|
+
}
|
|
16327
|
+
/**
|
|
16328
|
+
* Render a one-line token summary suitable for spawn-end markers, child
|
|
16329
|
+
* tool-result text, and any other per-run "what did this cost?" surface.
|
|
16330
|
+
*
|
|
16331
|
+
* `in 52413 (cache 50000) / 4075 out`
|
|
16332
|
+
*
|
|
16333
|
+
* The `in` total includes cached reads and cache-creation tokens (see
|
|
16334
|
+
* {@link effectiveInputTokens}); the `(cache N)` parenthetical breaks out
|
|
16335
|
+
* the cached portion so the user can tell at a glance how much was reused
|
|
16336
|
+
* vs new. The parenthetical is omitted when its value is zero, so
|
|
16337
|
+
* non-caching providers and brand-new runs read simply as `in N / M out`.
|
|
16338
|
+
*
|
|
16339
|
+
* Output-side caching is not a concept any current provider exposes —
|
|
16340
|
+
* Anthropic's `cacheRead` / `cacheCreation` are both input-billed. If a
|
|
16341
|
+
* future provider ships an output cache, extend `TokenUsageLike` with
|
|
16342
|
+
* output-cache fields and add a parallel `(cache N)` slot on the `out`
|
|
16343
|
+
* side here; today the right side is always plain `${N} out`.
|
|
16344
|
+
*/
|
|
16345
|
+
declare function formatTokenUsage(stats: TokenUsageLike): string;
|
|
16101
16346
|
/**
|
|
16102
16347
|
* Depth-first walk over the stats tree, returning every `TurnUsage` entry
|
|
16103
16348
|
* — parent loop first, then each child subtree in completion order.
|
|
@@ -16423,5 +16668,5 @@ declare function definePreset(config: Preset): Preset;
|
|
|
16423
16668
|
*/
|
|
16424
16669
|
declare function composePresets(...presets: Preset[]): Preset;
|
|
16425
16670
|
//#endregion
|
|
16426
|
-
export { maybePersistToolResult as $, resolveExtensionConfig as $a, CommandAgentResult as $c, ProgressNudgeKind as $d, SkillResource as $f, ExtensionInstallError as $i, LogLevel as $l, cursor as $m, waitTask as $n, ExtensionHudWriter as $o, nonOwningMcpView as $p, BASE_INSTRUCTIONS as $r, SkillInstallResult as $s, TrajectoryStep as $t, cerebrasDescriptor as $u, MetricsHookSet as A, ExtensionConfigActionItem as Aa, resolveChipColor as Ac, ContextUsageSplit as Ad, ToolResultMetadata as Af, defaultRepeatGuardTracked as Ai, Question as Al, OpenAICompatStreamError as Am, FormattedHeadlessTurnEvent as An, ExtensionSessionStateSurface as Ao, TOOL_USE_INTERRUPTED_MARKER as Ap, RunSummaryCollectorOptions as Ar, matchModelEntries as As, EvalRunMetricAggregate as At, SessionMeta as Au, McpOAuthProviderOptions as B, ExtensionConfigNumberItem as Ba, useCompletion as Bc, CompactFunction as Bd, ToolMap as Bf, McpToolWrap as Bi, isInteractionTool as Bl, openAICompatPromptMessage as Bm, ProviderTranscriptFormat as Bn, ExtensionToolRendererRegistration as Bo, reasoningWireAction as Bp, PostCompactRestoreOptions as Br, validateResourcePathReal as Bs, EvalVariantSummary as Bt, restoreChainFallbacks as Bu, normalizeProviders as C, scanExtensionDirectories as Ca, DEFAULT_THEME as Cc, ContextCategoryId as Cd, ToolOutcome as Cf, CacheDimensionName as Ci, PRESENT_PLAN_TOOL as Cl, openrouter as Cm, llmJudge as Cn, ExtensionPaths as Co, EnsureToolResultPairingOptions as Cp, glob as Cr, SubagentOverride as Cs, EvalArtifacts as Ct, EditHunk as Cu, InstrumentOptions as D, ExtensionPromptDelivery as Da, ThemeColors as Dc, ContextItem as Dd, ToolResultDocumentRefContent as Df, installCacheBreakLogger as Di, PlanRequest as Dl, OpenAICompatAuthHeader as Dm, runEvalCase as Dn, ExtensionRegistry as Do, ReasoningWireAction as Dp, RunSummaryBudget as Dr, SpawnModelEntry as Ds, EvalDefinitionContext as Dt, Owner as Du, Histogram as E, ExtensionPromptBridge as Ea, Theme as Ec, ContextExtensionSection as Ed, ToolResultDocumentContent as Ef, fnv1a32 as Ei, PlanPayload as El, OAITool as Em, relativeArtifactPath as En, ExtensionProviderMiddleware as Eo, PairingRepairMode as Ep, RunSummaryBlock as Er, isSpawnTool as Es, EvalDefinition as Et, EditPayload as Eu, LoginMcpServerResult as F, ExtensionConfigChangeBehavior as Fa, createPathAutocompleteProvider as Fc, AgentStats as Fd, toolOutputBudgetByteLength as Ff, AgentHookMap as Fi, QuestionType as Fl, buildAssistantContent as Fm, HeadlessResult as Fn, ExtensionToolCatalogTransform as Fo, ensureEndsWithUserMessage as Fp, createRunSummaryCollector as Fr, SkillValidationResult as Fs, EvalRunUsage as Ft, buildRunModel as Fu, OAuthCallbackResult as G, ExtensionConfigValueItem as Ga, CompletionReference as Gc, DedupToolConfig as Gd, hashContent as Gf, buildExtensionRegistry as Gi, useInteractionsQueue as Gl, OpenAIParams as Gm, headlessEventToJsonl as Gn, ExtensionTuiSurface as Go, toWireMessages as Gp, selectRecentFiles as Gr, interpolateShellCommands as Gs, MetricDirection as Gt, ProviderKey as Gu, hasAuthorizationHeader as H, ExtensionConfigStringItem as Ha, CompletionContext as Hc, CompactStartHookContext as Hd, ReadStateEntry as Hf, BuildExtensionRegistryOptions as Hi, pendingInteractionsFromTurns as Hl, toOAIMessages as Hm, formatHeadlessResult as Hn, ExtensionToolResultPatch as Ho, sanitizeHistoryForProvider as Hp, buildPostCompactAttachments as Hr, validateSkillName as Hs, EvalWorkspaceOptions as Ht, toggleChainEntry as Hu, loginMcpServer as I, ExtensionConfigEnumItem as Ia, patchInlineGhost as Ic, AutoCompact as Id, toolOutputByteLength as If, AgentHooks as Ii, SelectQuestion as Il, classifyOpenAICompatError as Im, HeadlessStatus as In, ExtensionToolPolicy as Io, ensureToolResultPairing as Ip, BYTES_PER_TOKEN as Ir, isToolAllowedByUnion as Is, EvalScore as It, chainPositionOf as Iu, PERSISTENCE_PREVIEW_BYTES as J, WireExtensionConfigSchema as Ja, collectReferences as Jc, McpToolHookContext as Jd, readStateKey as Jf, filterExtensionRegistry as Ji, StandardSchemaLike as Jl, openai as Jm, runHeadless as Jn, TuiContributions as Jo, attachStderrWarnPump as Jp, CompactResult as Jr, SkillCandidateDetail as Js, MetricSpecMap as Jt, CustomField as Ju, startOAuthCallback as K, StoredExtensionConfigItem as Ka, CompletionSubmitContext as Kc, JsonValue as Kd, hydrateReadStateFromSession as Kf, composeExtensionPreset as Ki, InferSchemaOutput as Kl, classifyOpenAIError as Km, installHeadlessEventAdapter as Kn, GuiContributions as Ko, ConnectMcpServersOptions as Kp, CompactEndEvent as Kr, stripShellInterpolations as Ks, MetricEmitter as Kt, detectAuth as Ku, McpCredentialEntry as L, ExtensionConfigItem as La, resolveInlineSuggestion as Lc, AutoCompactConfig as Ld, toolResultToText as Lf, AgentOptions as Li, TextQuestion as Ll, consumeSSE as Lm, HeadlessUsage as Ln, ExtensionToolRenderProps as Lo, filterUnresolvedToolUses as Lp, estimateTokens as Lr, matchesAllowedTool as Ls, EvalScorer as Lt, chainsEqual as Lu, UpDownCounter as M, ExtensionConfigActionStatus as Ma, InlineAutocompleteContext as Mc, AgentBehavior as Md, ToolResultVideoContent as Mf, stableStringify as Mi, QuestionPayload as Ml, applyOAICacheBreakpoints as Mm, HeadlessEvent as Mn, ExtensionSource as Mo, TurnInterruptionState as Mp, RunSummaryRepeatGuard as Mr, writeSkillToDisk as Ms, EvalRunReporterOptions as Mt, StreamEvent as Mu, createMetricsHooks as N, ExtensionConfigBooleanItem as Na, InlineAutocompleteProvider as Nc, AgentClock as Nd, TurnFinishReason as Nf, localReliabilityBehavior as Ni, QuestionRequest as Nl, applyOAIToolCacheBreakpoint as Nm, HeadlessOptions as Nn, ExtensionStorageScope as No, autoDetectAndConvert as Np, RunSummaryTokens as Nr, writeSkillsToDisk as Ns, EvalRunSummary as Nt, ToolCallDisplay as Nu, Meter as O, createExtensionPromptBridge as Oa, ThemeSelect as Oc, ContextMcpGroup as Od, ToolResultImageContent as Of, snapshotCacheDimensions as Oi, PlanResponse as Ol, OpenAICompatHttpError as Om, statusCompleted as On, ExtensionRunTransform as Oo, RemintResult as Op, RunSummaryByModel as Or, createModelSearchTool as Os, EvalMetric as Ot, Picked as Ou, LoginMcpServerOptions as P, ExtensionConfigCategory as Pa, InlineGhost as Pc, AgentRunOptions as Pd, TurnUsage as Pf, Agent as Pi, QuestionResponse as Pl, assistantMessage as Pm, HeadlessOutputFormat as Pn, ExtensionStorageSurface as Po, detectTurnInterruption as Pp, RunSummaryValidation as Pr, SkillValidationIssue as Ps, EvalRunSummaryCase as Pt, ModelChainEntry as Pu, cleanupPersistedSession as Q, isValidExtensionConfigValue as Qa, Command as Qc, OAuthRefreshHookContext as Qd, SkillDiagnostic as Qf, ExtensionInstallCandidate as Qi, ConsoleSinkOptions as Ql, CursorParams as Qm, WAIT_TASK_TIMED_OUT_PREFIX as Qn, ExtensionHudStatus as Qo, expandMcpConfigEnv as Qp, CompactPromptTooLongError as Qr, SkillInstallOptions as Qs, Trajectory as Qt, anthropicDescriptor as Qu, McpCredentialStore as R, ExtensionConfigItemBase as Ra, tokenEndingAtCursor as Rc, ChildRunStats as Rd, ToolContext as Rf, McpConnector as Ri, buildResumedToolResultsTurn as Rl, formatTools as Rm, OpenAIChatContentPart as Rn, ExtensionToolRenderer as Ro, fromAnthropic as Rp, utf8ByteLength as Rr, parseAllowedToolPattern as Rs, EvalScorerContext as Rt, filterChainFallbacks as Ru, createMutationValidationHooks as S, parseExtensionScanPathEnv as Sa, ChipColorMap as Sc, ContextCategory as Sd, ToolHookContext as Sf, CacheDimensionDiff as Si, InteractionsProvider as Sl, normalizeOpenRouterModelId as Sm, functionalityMetric as Sn, ExtensionOrderedContribution as So, createFileMapStore as Sp, grep as Sr, SubagentDef as Ss, EvalAgentStats as St, EditDiffDisplay as Su, Counter as T, discoverAndBuildExtensionRegistry as Ta, SyntaxTokenStyle as Tc, ContextExtensionRow as Td, ToolResultContent as Tf, diffCacheDimensions as Ti, PlanDecision as Tl, OAIMessage as Tm, registerEvalTests as Tn, ExtensionPromptTransform as To, PairingRepair as Tp, RunSummary as Tr, createSpawnTool as Ts, EvalCaseResult as Tt, EditOutcomeKind as Tu, OAuthCallbackHandle as U, ExtensionConfigSurface as Ua, CompletionItem as Uc, DEFAULT_AGENT_CLOCK as Ud, ReadStateMap as Uf, ExtensionCatalogPartition as Ui, serializeInteractionResponse as Ul, toolResultsMessage as Um, formatHeadlessTurnEvent as Un, ExtensionToolResultTransform as Uo, toAnthropic as Up, selectFilesFromReadState as Ur, resolveSkills as Us, EvalWorkspaceSnapshot as Ut, AuthMethod as Uu, createMemoryMcpCredentialStore as V, ExtensionConfigScope as Va, ActiveTrigger as Vc, CompactHookContext as Vd, HydrateReadStateOptions as Vf, createAgent as Vi, makeRequestInteraction as Vl, openaiCompat as Vm, exitCodeForHeadlessResult as Vn, ExtensionToolResultMetadataRegistration as Vo, remintDuplicateToolCallIds as Vp, RecentFile as Vr, validateSkillForWrite as Vs, EvalWorkspaceFile as Vt, sanitizeModelChain as Vu, OAuthCallbackOptions as W, ExtensionConfigValue as Wa, CompletionProvider as Wc, DedupHasher as Wd, getReadState as Wf, buildExtensionPreset as Wi, useInteractionsActions as Wl, userMessage as Wm, formattedHeadlessTurnEventToJsonl as Wn, ExtensionToolVerdict as Wo, toOpenAI as Wp, selectFilesFromSession as Wr, InterpolateShellCommandsOptions as Ws, LlmJudgeOptions as Wt, ProviderAuth as Wu, PersistOutcome as X, coerceExtensionConfigInput as Xa, mergeReferences as Xc, ModelTarget as Xd, ShellInterpolationApproval as Xf, partitionExtensionCatalog as Xi, resolveSchemaInput as Xl, LocalParams as Xm, transcriptToProviderMessages as Xn, ExtensionHud as Xo, deriveMcpToolMeta as Xp, compactConversation as Xr, SkillInstallError as Xs, RegisterEvalTestsOptions as Xt, ModelOption as Xu, PersistInput as Y, clampExtensionConfigNumber as Ya, findActiveTrigger as Yc, McpToolSchema as Yd, resolveReadStateMap as Yf, mergeContributions as Yi, isStandardSchema as Yl, toPiMessages as Ym, transcriptToOpenAIMessages as Yn, ExtensionBannerOptions as Yo, connectMcpServers as Yp, CompactStartEvent as Yr, SkillInstallCandidate as Ys, MetricStats as Yt, ModelInfo as Yu, buildPersistedStub as Z, isValidExtensionConfigItem as Za, resolveCompletionSubmit as Zc, ModelTargetSpec as Zd, SkillConfig as Zf, ExtensionFetchResult as Zi, zodToJsonSchema as Zl, local as Zm, writeFile as Zn, ExtensionHudState as Zo, expandEnvPlaceholders as Zp, CompactInvalidInputError as Zr, SkillInstallErrorCode as Zs, ReusableExecutionContext as Zt, ProviderDescriptor as Zu, MutationValidationFailure as _, ExtensionScanEntry as _a, SkillActivationState as _c, shouldAutoCompact as _d, SessionTurn as _f, summaryToTurn as _i, ConfirmQuestion as _l, SchemaSanitizeProfile as _m, fileExistsOneOf as _n, ExtensionKeybindingDispatchContext as _o, RemoteStoreOptions as _p, readFile as _r, SpawnTaskInput as _s, EvalAgent as _t, DEFAULT_PERSIST_EXCLUDE_TOOLS as _u, basicTools as a, ExtensionInstallSource as aa, SourcedScanPath as ac, modelOptionsFor as ad, PromptTextPart as af, ArceeParams as ah, buildCompactPrompt as ai, CommandInvocation as al, Provider as am, clearRegisteredEvals as an, ExtensionBehaviorTransform as ao, SessionMetaRow as ap, ToolSearchToolOptions as ar, ExtensionHostRuntimeBridge as as, TOOL_USE_SKIPPED_MESSAGE as at, RingBufferSink as au, MutationValidationResult as b, inlineLoadedExtension as ba, BUILTIN_THEMES as bc, ContextBreakdownContributor as bd, ThinkingLevel as bf, generateStructuredData as bi, InteractionResponse as bl, sanitizeToolSpecs as bm, formatEvalRunSummary as bn, ExtensionModal as bo, FileMapAdapter as bp, InteractionToolOptions as br, SpawnToolOptions as bs, EvalAgentRunResult as bt, resolveAgentId as bu, StartSpan as c, fetchExtensionSource as ca, inferSource as cc, openaiDescriptor as cd, RepeatGuardToolMatcher as cf, AnthropicParams as ch, buildTailCompactPrompt as ci, CommandSpawnTask as cl, StreamOptions as cm, createEvalRunReporter as cn, ExtensionContextTransform as co, createSession as cp, createSkillsUseTool as cr, ExtensionRuntimeSurface as cs, ExtensionEditMarker as ct, createLoggingHooks as cu, TracingHooksOptions as d, parseExtensionInstallSource as da, buildCatalog as dc, restoreModelOptions as dd, RetryConfig as df, applyAnthropicCacheBreakpoints as dh, CompactScope as di, CommandStepFn as dl, ToolResult as dm, defineMetrics as dn, ExtensionCustomRendererEntry as do, demoteStaleRunningStatus as dp, SkillsReadToolOptions as dr, ExtensionWorkspacePair as ds, extensionDirForCwd as dt, AgentProfile as du, ExtensionInstallErrorCode as ea, SkillInstallSpec as ec, credKeyOf as ed, ProgressNudgeMessage as ef, CerebrasParams as eh, CompactDirection as ei, CommandArgSuggestion as el, normalizeMcpBlocks as em, TrajectoryStepKind as en, resolveExtensionConfigValue as eo, SkillSource as ep, ValidationResult as er, ExtensionNotification as es, resolvePersistDir as et, LogRecord as eu, createTracingHooks as f, readExtensionInstallProvenance as fa, IMPLICITLY_ALLOWED_SKILL_TOOLS as fc, AUTO_COMPACT_MIN_GROWTH_FRACTION as fd, RunHookMap as ff, classifyAnthropicError as fh, CompactionSlice as fi, commandSteps as fl, ToolSpec as fm, efficiencyMetricValues as fn, ExtensionDefinition as fo, getExtensionSessionState as fp, createSkillsReadTool as fr, ExtensionWorkspaceSurface as fs, extensionScaffold as ft, AgentRegistry as fu, MutationValidationBatch as g, ENTRY_CANDIDATES as ga, DeactivationReason as gc, effectiveContextWindow as gd, SessionMessage as gf, resolveAnthropicMaxOutput as gh, stripImagesFromTurns as gi, AnswerValue as gl, SchemaSanitizeOptions as gm, fileExists as gn, ExtensionKeybinding as go, withExtensionSession as gp, shell as gr, ExtensionSubagentDef as gs, EFFICIENCY_METRICS as gt, DEFAULT_BUDGET_EXCLUDE_TOOLS as gu, statsByModel as h, registerExtensionHostModules as ha, ActiveSkill as hc, OUTPUT_RESERVE_TOKENS as hd, SessionHookContext as hf, resolveAnthropicBetas as hh, sliceForCompaction as hi, ASK_USER_TOOL as hl, xai as hm, fileContentQuality as hn, ExtensionGuiSurface as ho, setExtensionSessionState as hp, createShellTool as hr, ChildAgent as hs, CreateEvalAgentOptions as ht, DEFAULT_AGENT_ID as hu, _default as i, ExtensionInstallScope as ia, readSkillProvenance as ic, localDescriptor as id, PromptPart as if, planBasetenReasoning as ih, TRAILER as ii, CommandInteraction as il, HistoryRepair as im, buildTrajectory as in, ExtensionApiVersion as io, SessionData as ip, LazyToolEntry as ir, createExtensionHud as is, TOOL_USE_CANCELLED_MESSAGE as it, LoggingHooksOptions as iu, MetricsHooksOptions as j, ExtensionConfigActionResult as ja, resolveTheme as jc, buildContextBreakdown as jd, ToolResultTextContent as jf, normalizeShellCommand as ji, QuestionChoice as jl, TOOL_RESULTS_TAG as jm, HeadlessErrorInfo as jn, ExtensionSkillPolicy as jo, ToWireMessagesOptions as jp, RunSummaryError as jr, defineSkill as js, EvalRunReporter as jt, Settings as ju, MetricAttributes as k, defineExtension as ka, ThemeSurfaces as kc, ContextSnapshot as kd, ToolResultImageRefContent as kf, defaultRepeatGuardNormalize as ki, PlanStep as kl, OpenAICompatParams as km, FormattedHeadlessResult as kn, ExtensionRuntimeEnv as ko, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as kp, RunSummaryCollector as kr, formatModelLine as ks, EvalMetricError as kt, Screen as ku, TracingConventions as l, installExtensionFromSpec as la, parseFrontmatter as lc, openrouterDescriptor as ld, ResolveContentRef as lf, AnthropicThinkingPlan as lh, buildUpToCompactPrompt as li, CommandStep as ll, TokenCountPayload as lm, createReusableExecutionContext as ln, ExtensionContributions as lo, currentExtensionSession as lp, SkillsRunScriptToolOptions as lr, ExtensionSessionSummary as ls, ZIDANE_EXTENSION_SKILL_NAME as lt, jsonSink as lu, flattenTurns as m, updateInstalledExtension as ma, ActivationVia as mc, AutoCompactInput as md, SessionEndStatus as mf, planAnthropicThinking as mh, anchorPreviewFor as mi, parseCommandInvocation as ml, XaiParams as mm, fileContains as mn, ExtensionGuiPanel as mo, resumeChainRunIds as mp, CreateShellToolOptions as mr, createWorkspaceSurface as ms, withZidaneExtensionSkill as mt, BUILTIN_AGENTS as mu, composePresets as n, ExtensionInstallProvenance as na, listSkillCandidates as nc, getContextWindow as nd, PromptDocumentPart as nf, BasetenParams as nh, CompactPromptOptions as ni, CommandExecution as nl, resultToString as nm, buildEvalRunSummary as nn, toWireConfigSchema as no, CreateSessionOptions as np, TailTruncateOptions as nr, ExtensionNotifyTone as ns, INTERRUPT_MESSAGE_FOR_TOOL_USE as nt, Logger as nu, GEN_AI_ATTRIBUTES as o, InstallExtensionFromSpecOptions as oa, discoverSkills as oc, modelSupportsReasoning as od, PromptVideoPart as of, arcee as oh, buildFromCompactPrompt as oi, CommandOutputBlock as ol, ProviderCapabilities as om, computeEvalTagScores as on, ExtensionCapability as oo, SessionRun as op, createToolSearchTool as or, ExtensionHostRuntimeImpl as os, applyCompactSummaryCutoff as ot, consoleSink as ou, ModelUsage as p, removeInstalledExtension as pa, installAllowedToolsGate as pc, AutoCompactDecision as pd, SessionContentBlock as pf, defaultAnthropicMaxTokens as ph, SummaryToTurnInput as pi, executeCommand as pl, TurnResult as pm, emitEfficiencyMetrics as pn, ExtensionFooterHint as po, loadSession as pp, shellKill as pr, createExtensionHostRuntimeBridge as ps, resolveExtensionDocsDir as pt, BUILD_AGENT as pu, PERSISTED_STUB_PREFIX as q, WireExtensionConfigItem as qa, applyInsert as qc, McpServerConfig as qd, hydrateReadStateFromSessionAsync as qf, disposeExtensionRegistry as qi, SchemaInput as ql, mapCodexStopReason as qm, providerTranscriptFormatForProvider as qn, LoadedExtension as qo, McpConnection as qp, CompactOptions as qr, SKILL_PROVENANCE_FILE as qs, MetricSpec as qt, BUILTIN_PROVIDERS as qu, definePreset as r, ExtensionInstallResult as ra, parseSkillInstallSpec as rc, getModelInfo as rd, PromptImagePart as rf, baseten as rh, NO_TOOLS_PREAMBLE as ri, CommandGenerateDataOptions as rl, wrapDiscoveredMcpTools as rm, buildRegisteredEvals as rn, EMPTY_EXTENSION_REGISTRY as ro, Session as rp, tailTruncate as rr, ExtensionStatusOptions as rs, SHELL_CASCADE_CANCEL_MESSAGE as rt, LoggingHookSet as ru, Span as s, InstalledExtensionTargetOptions as sa, getDefaultScanPaths as sc, modelsForDescriptor as sd, RepeatGuardConfig as sf, AnthropicContextManagement as sh, buildFullCompactPrompt as si, CommandSpawnResult as sl, StreamCallbacks as sm, createEvalAgent as sn, ExtensionContext as so, SessionStore as sp, SkillsUseToolOptions as sr, ExtensionModelEntry as ss, EXTENSION_EDIT_METADATA_KEY as st, createLogger as su, Preset as t, ExtensionInstallIo as ta, installSkillFromSpec as tc, enabledModelOptions as td, PromptAudioPart as tf, cerebras as th, CompactPromptBuilder as ti, CommandAttachment as tl, normalizeMcpServers as tm, artifactPath as tn, sanitizeExtensionConfigActionPatch as to, SkillsConfig as tp, validateToolArgs as tr, ExtensionNotifyOptions as ts, resolveTasksDir as tt, LogSink as tu, TracingHookSet as u, listExtensionCandidates as ua, parseSkillFile as uc, piIdOf as ud, ResolveContentRefBlock as uf, anthropic as uh, ANCHOR_PREVIEW_MAX_CHARS as ui, CommandStepContext as ul, ToolCall as um, defineEval as un, ExtensionCustomRenderer as uo, deleteExtensionSessionState as up, createSkillsRunScriptTool as ur, ExtensionSessionsSurface as us, buildZidaneExtensionSkill as ut, AgentAccent as uu, MutationValidationHooksOptions as v, defaultExtensionScanPaths as va, SkillActivationStateOptions as vc, ContextBreakdown as vd, SpawnHookContext as vf, truncateHeadForPtlRetry as vi, CreateInteractionToolsOptions as vl, SchemaSanitizeResult as vm, finalizeEvalMetrics as vn, ExtensionManifest as vo, createRemoteStore as vp, multiEdit as vr, SpawnTaskOutcome as vs, EvalAgentMcpServers as vt, PLAN_AGENT as vu, resolveModelTargets as w, DiscoverAndBuildExtensionRegistryOptions as wa, SyntaxStyles as wc, ContextExactCounts as wd, ToolResultAudioContent as wf, CacheDimensionSnapshot as wi, PendingInteractionEntry as wl, ASSISTANT_TOOL_CALLS_TAG as wm, normalizeMetric as wn, ExtensionPermission as wo, ORPHANED_TOOL_RESULT_MARKER as wp, edit as wr, SubagentRegistry as ws, EvalCaseOptions as wt, EditOutcome as wu, SuccessfulMutationOutcome as x, isExtensionDefinition as xa, ChipColor as xc, ContextBreakdownOptions as xd, ToolBatchExecutor as xf, CacheBreakLoggerOptions as xi, InteractionsActions as xl, OpenRouterParams as xm, formatTrajectoryLine as xn, ExtensionModalNode as xo, FileMapStoreOptions as xp, createInteractionTool as xr, SpawnToolState as xs, EvalAgentRunStats as xt, singleAgentRegistry as xu, MutationValidationMutation as y, discoverExtensions as ya, createSkillActivationState as yc, ContextBreakdownContributionContext as yd, StreamHookContext as yf, GenerateStructuredDataOptions as yi, InteractionRequest as yl, sanitizeToolSchema as ym, formatEvalCaseSummary as yn, ExtensionMcpConfigTransform as yo, createMemoryStore as yp, listFiles as yr, SpawnTool as ys, EvalAgentRunOptions as yt, accentColor as yu, McpOAuthProvider as z, ExtensionConfigModelItem as za, CompletionState as zc, CompactEndHookContext as zd, ToolDef as zf, McpToolMeta as zi, createInteractionTools as zl, mapOAIFinishReason as zm, OpenAIChatMessage as zn, ExtensionToolRendererEntry as zo, fromOpenAI as zp, PostCompactAttachments as zr, validateResourcePath as zs, EvalTestRunner as zt, providerKeySetChanged as zu };
|
|
16427
|
-
//# sourceMappingURL=index-
|
|
16671
|
+
export { buildPersistedStub as $, ExtensionConfigSurface as $a, CompletionItem as $c, CompactFunction as $d, ToolMap as $f, ExtensionCatalogPartition as $i, isInteractionTool as $l, classifyOpenAICompatError as $m, formatHeadlessTurnEvent as $n, ExtensionToolResultTransform as $o, ensureToolResultPairing as $p, selectFilesFromReadState as $r, resolveSkills as $s, EvalWorkspaceSnapshot as $t, restoreChainFallbacks as $u, Meter as A, inlineLoadedExtension as Aa, BUILTIN_THEMES as Ac, shouldAutoCompact as Ad, SessionTurn as Af, defaultAnthropicMaxTokens as Ah, generateStructuredData as Ai, ConfirmQuestion as Al, TurnResult as Am, formatEvalRunSummary as An, ExtensionModal as Ao, withExtensionSession as Ap, InteractionToolOptions as Ar, SpawnToolOptions as As, EvalAgentRunResult as At, DEFAULT_PERSIST_EXCLUDE_TOOLS as Au, McpCredentialStore as B, ExtensionConfigActionItem as Ba, resolveChipColor as Bc, ContextItem as Bd, ToolResultDocumentRefContent as Bf, defaultRepeatGuardTracked as Bi, PlanRequest as Bl, openrouter as Bm, FormattedHeadlessTurnEvent as Bn, ExtensionSessionStateSurface as Bo, PairingDropKind as Bp, RunSummaryCollectorOptions as Br, matchModelEntries as Bs, EvalRunMetricAggregate as Bt, Owner as Bu, SuccessfulMutationOutcome as C, removeInstalledExtension as Ca, installAllowedToolsGate as Cc, piIdOf as Cd, ResolveContentRefBlock as Cf, arcee as Ch, SummaryToTurnInput as Ci, commandBlockToEvent as Cl, ProviderCapabilities as Cm, emitEfficiencyMetrics as Cn, ExtensionFooterHint as Co, currentExtensionSession as Cp, shellKill as Cr, createExtensionHostRuntimeBridge as Cs, withZidaneExtensionSkill as Ct, AgentAccent as Cu, Counter as D, ExtensionScanEntry as Da, SkillActivationState as Dc, AutoCompactInput as Dd, SessionEndStatus as Df, anthropic as Dh, summaryToTurn as Di, parseCommandInvocation as Dl, ToolCall as Dm, fileExistsOneOf as Dn, ExtensionKeybindingDispatchContext as Do, loadSession as Dp, readFile as Dr, SpawnTaskInput as Ds, EvalAgent as Dt, BUILTIN_AGENTS as Du, resolveModelTargets as E, ENTRY_CANDIDATES as Ea, DeactivationReason as Ec, AutoCompactDecision as Ed, SessionContentBlock as Ef, AnthropicThinkingPlan as Eh, stripImagesFromTurns as Ei, executeCommand as El, TokenCountPayload as Em, fileExists as En, ExtensionKeybinding as Eo, getExtensionSessionState as Ep, shell as Er, ExtensionSubagentDef as Es, EFFICIENCY_METRICS as Et, BUILD_AGENT as Eu, createMetricsHooks as F, discoverAndBuildExtensionRegistry as Fa, SyntaxTokenStyle as Fc, ContextCategory as Fd, ToolHookContext as Ff, diffCacheDimensions as Fi, InteractionsProvider as Fl, SchemaSanitizeResult as Fm, registerEvalTests as Fn, ExtensionPromptTransform as Fo, FileMapStoreOptions as Fp, RunSummary as Fr, createSpawnTool as Fs, EvalCaseResult as Ft, EditDiffDisplay as Fu, OAuthCallbackHandle as G, ExtensionConfigChangeBehavior as Ga, createPathAutocompleteProvider as Gc, AgentBehavior as Gd, ToolResultVideoContent as Gf, AgentHookMap as Gi, QuestionPayload as Gl, OpenAICompatHttpError as Gm, HeadlessResult as Gn, ExtensionToolCatalogTransform as Go, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as Gp, createRunSummaryCollector as Gr, SkillValidationResult as Gs, EvalRunUsage as Gt, StreamEvent as Gu, McpOAuthProviderOptions as H, ExtensionConfigActionStatus as Ha, InlineAutocompleteContext as Hc, ContextSnapshot as Hd, ToolResultImageRefContent as Hf, stableStringify as Hi, PlanStep as Hl, OAIMessage as Hm, HeadlessEvent as Hn, ExtensionSource as Ho, PairingRepairMode as Hp, RunSummaryRepeatGuard as Hr, writeSkillToDisk as Hs, EvalRunReporterOptions as Ht, Screen as Hu, LoginMcpServerOptions as I, ExtensionPromptBridge as Ia, Theme as Ic, ContextCategoryId as Id, ToolOutcome as If, fnv1a32 as Ii, PRESENT_PLAN_TOOL as Il, sanitizeToolSchema as Im, relativeArtifactPath as In, ExtensionProviderMiddleware as Io, createFileMapStore as Ip, RunSummaryBlock as Ir, isSpawnTool as Is, EvalDefinition as It, EditHunk as Iu, startOAuthCallback as J, ExtensionConfigItemBase as Ja, tokenEndingAtCursor as Jc, AgentStats as Jd, toolOutputBudgetByteLength as Jf, McpConnector as Ji, QuestionType as Jl, TOOL_RESULTS_TAG as Jm, OpenAIChatContentPart as Jn, ExtensionToolRenderer as Jo, TurnInterruptionState as Jp, utf8ByteLength as Jr, parseAllowedToolPattern as Js, EvalScorerContext as Jt, buildRunModel as Ju, OAuthCallbackOptions as K, ExtensionConfigEnumItem as Ka, patchInlineGhost as Kc, AgentClock as Kd, TurnFinishReason as Kf, AgentHooks as Ki, QuestionRequest as Kl, OpenAICompatParams as Km, HeadlessStatus as Kn, ExtensionToolPolicy as Ko, TOOL_USE_INTERRUPTED_MARKER as Kp, BYTES_PER_TOKEN as Kr, isToolAllowedByUnion as Ks, EvalScore as Kt, ToolCallDisplay as Ku, LoginMcpServerResult as L, ExtensionPromptDelivery as La, ThemeColors as Lc, ContextExactCounts as Ld, ToolResultAudioContent as Lf, installCacheBreakLogger as Li, PendingInteractionEntry as Ll, sanitizeToolSpecs as Lm, runEvalCase as Ln, ExtensionRegistry as Lo, EnsureToolResultPairingOptions as Lp, RunSummaryBudget as Lr, SpawnModelEntry as Ls, EvalDefinitionContext as Lt, EditOutcome as Lu, MetricsHookSet as M, parseExtensionScanPathEnv as Ma, ChipColorMap as Mc, ContextBreakdownContributionContext as Md, StreamHookContext as Mf, resolveAnthropicBetas as Mh, CacheDimensionDiff as Mi, InteractionRequest as Ml, xai as Mm, functionalityMetric as Mn, ExtensionOrderedContribution as Mo, createRemoteStore as Mp, grep as Mr, SubagentDef as Ms, EvalAgentStats as Mt, accentColor as Mu, MetricsHooksOptions as N, scanExtensionDirectories as Na, DEFAULT_THEME as Nc, ContextBreakdownContributor as Nd, ThinkingLevel as Nf, resolveAnthropicMaxOutput as Nh, CacheDimensionName as Ni, InteractionResponse as Nl, SchemaSanitizeOptions as Nm, llmJudge as Nn, ExtensionPaths as No, createMemoryStore as Np, glob as Nr, SubagentOverride as Ns, EvalArtifacts as Nt, resolveAgentId as Nu, Histogram as O, defaultExtensionScanPaths as Oa, SkillActivationStateOptions as Oc, OUTPUT_RESERVE_TOKENS as Od, SessionHookContext as Of, applyAnthropicCacheBreakpoints as Oh, truncateHeadForPtlRetry as Oi, ASK_USER_TOOL as Ol, ToolResult as Om, finalizeEvalMetrics as On, ExtensionManifest as Oo, resumeChainRunIds as Op, multiEdit as Or, SpawnTaskOutcome as Os, EvalAgentMcpServers as Ot, DEFAULT_AGENT_ID as Ou, UpDownCounter as P, DiscoverAndBuildExtensionRegistryOptions as Pa, SyntaxStyles as Pc, ContextBreakdownOptions as Pd, ToolBatchExecutor as Pf, CacheDimensionSnapshot as Pi, InteractionsActions as Pl, SchemaSanitizeProfile as Pm, normalizeMetric as Pn, ExtensionPermission as Po, FileMapAdapter as Pp, edit as Pr, SubagentRegistry as Ps, EvalCaseOptions as Pt, singleAgentRegistry as Pu, PersistOutcome as Q, ExtensionConfigStringItem as Qa, CompletionContext as Qc, CompactEndHookContext as Qd, ToolDef as Qf, BuildExtensionRegistryOptions as Qi, createInteractionTools as Ql, buildAssistantContent as Qm, formatHeadlessResult as Qn, ExtensionToolResultPatch as Qo, ensureEndsWithUserMessage as Qp, buildPostCompactAttachments as Qr, validateSkillName as Qs, EvalWorkspaceOptions as Qt, providerKeySetChanged as Qu, loginMcpServer as R, createExtensionPromptBridge as Ra, ThemeSelect as Rc, ContextExtensionRow as Rd, ToolResultContent as Rf, snapshotCacheDimensions as Ri, PlanDecision as Rl, OpenRouterParams as Rm, statusCompleted as Rn, ExtensionRunTransform as Ro, ORPHANED_TOOL_RESULT_MARKER as Rp, RunSummaryByModel as Rr, createModelSearchTool as Rs, EvalMetric as Rt, EditOutcomeKind as Ru, MutationValidationResult as S, readExtensionInstallProvenance as Sa, IMPLICITLY_ALLOWED_SKILL_TOOLS as Sc, openrouterDescriptor as Sd, ResolveContentRef as Sf, ArceeParams as Sh, CompactionSlice as Si, CommandStepFn as Sl, Provider as Sm, efficiencyMetricValues as Sn, ExtensionDefinition as So, createSession as Sp, createSkillsReadTool as Sr, ExtensionWorkspaceSurface as Ss, resolveExtensionDocsDir as St, jsonSink as Su, normalizeProviders as T, registerExtensionHostModules as Ta, ActiveSkill as Tc, AUTO_COMPACT_MIN_GROWTH_FRACTION as Td, RunHookMap as Tf, AnthropicParams as Th, sliceForCompaction as Ti, commandSteps as Tl, StreamOptions as Tm, fileContentQuality as Tn, ExtensionGuiSurface as To, demoteStaleRunningStatus as Tp, createShellTool as Tr, ChildAgent as Ts, CreateEvalAgentOptions as Tt, AgentRegistry as Tu, createMemoryMcpCredentialStore as U, ExtensionConfigBooleanItem as Ua, InlineAutocompleteProvider as Uc, ContextUsageSplit as Ud, ToolResultMetadata as Uf, localReliabilityBehavior as Ui, Question as Ul, OAITool as Um, HeadlessOptions as Un, ExtensionStorageScope as Uo, ReasoningWireAction as Up, RunSummaryTokens as Ur, writeSkillsToDisk as Us, EvalRunSummary as Ut, SessionMeta as Uu, McpOAuthProvider as V, ExtensionConfigActionResult as Va, resolveTheme as Vc, ContextMcpGroup as Vd, ToolResultImageContent as Vf, normalizeShellCommand as Vi, PlanResponse as Vl, ASSISTANT_TOOL_CALLS_TAG as Vm, HeadlessErrorInfo as Vn, ExtensionSkillPolicy as Vo, PairingRepair as Vp, RunSummaryError as Vr, defineSkill as Vs, EvalRunReporter as Vt, Picked as Vu, hasAuthorizationHeader as W, ExtensionConfigCategory as Wa, InlineGhost as Wc, buildContextBreakdown as Wd, ToolResultTextContent as Wf, Agent as Wi, QuestionChoice as Wl, OpenAICompatAuthHeader as Wm, HeadlessOutputFormat as Wn, ExtensionStorageSurface as Wo, RemintResult as Wp, RunSummaryValidation as Wr, SkillValidationIssue as Ws, EvalRunSummaryCase as Wt, Settings as Wu, PERSISTENCE_PREVIEW_BYTES as X, ExtensionConfigNumberItem as Xa, useCompletion as Xc, AutoCompactConfig as Xd, toolResultToText as Xf, McpToolWrap as Xi, TextQuestion as Xl, applyOAIToolCacheBreakpoint as Xm, ProviderTranscriptFormat as Xn, ExtensionToolRendererRegistration as Xo, detectTurnInterruption as Xp, PostCompactRestoreOptions as Xr, validateResourcePathReal as Xs, EvalVariantSummary as Xt, chainsEqual as Xu, PERSISTED_STUB_PREFIX as Y, ExtensionConfigModelItem as Ya, CompletionState as Yc, AutoCompact as Yd, toolOutputByteLength as Yf, McpToolMeta as Yi, SelectQuestion as Yl, applyOAICacheBreakpoints as Ym, OpenAIChatMessage as Yn, ExtensionToolRendererEntry as Yo, autoDetectAndConvert as Yp, PostCompactAttachments as Yr, validateResourcePath as Ys, EvalTestRunner as Yt, chainPositionOf as Yu, PersistInput as Z, ExtensionConfigScope as Za, ActiveTrigger as Zc, ChildRunStats as Zd, ToolContext as Zf, createAgent as Zi, buildResumedToolResultsTurn as Zl, assistantMessage as Zm, exitCodeForHeadlessResult as Zn, ExtensionToolResultMetadataRegistration as Zo, dropInvalidToolPairings as Zp, RecentFile as Zr, validateSkillForWrite as Zs, EvalWorkspaceFile as Zt, filterChainFallbacks as Zu, statsByModel as _, InstalledExtensionTargetOptions as _a, getDefaultScanPaths as _c, localDescriptor as _d, PromptPart as _f, CerebrasParams as _h, buildFullCompactPrompt as _i, CommandOutputBlock as _l, normalizeMcpBlocks as _m, createEvalAgent as _n, ExtensionContext as _o, Session as _p, SkillsUseToolOptions as _r, ExtensionModelEntry as _s, buildZidaneSkillEditSkill as _t, LoggingHooksOptions as _u, basicTools as a, mergeContributions as aa, SkillInstallCandidate as ac, detectAuth as ad, JsonValue as af, toOAIMessages as ah, CompactStartEvent as ai, findActiveTrigger as al, sanitizeHistoryForProvider as am, MetricStats as an, clampExtensionConfigNumber as ao, hydrateReadStateFromSession as ap, transcriptToOpenAIMessages as ar, ExtensionBannerOptions as as, SHELL_CASCADE_CANCEL_MESSAGE as at, InferSchemaOutput as au, MutationValidationHooksOptions as b, listExtensionCandidates as ba, parseSkillFile as bc, modelsForDescriptor as bd, RepeatGuardConfig as bf, baseten as bh, ANCHOR_PREVIEW_MAX_CHARS as bi, CommandStep as bl, wrapDiscoveredMcpTools as bm, defineEval as bn, ExtensionCustomRenderer as bo, SessionRun as bp, createSkillsRunScriptTool as br, ExtensionSessionsSurface as bs, extensionScaffold as bt, createLogger as bu, StartSpan as c, ExtensionInstallCandidate as ca, SkillInstallOptions as cc, ModelInfo as cd, McpToolSchema as cf, OpenAIParams as ch, CompactPromptTooLongError as ci, resolveCompletionSubmit as cl, toWireMessages as cm, Trajectory as cn, isValidExtensionConfigValue as co, resolveReadStateMap as cp, WAIT_TASK_TIMED_OUT_PREFIX as cr, ExtensionHudStatus as cs, applyCompactSummaryCutoff as ct, isStandardSchema as cu, TracingHooksOptions as d, ExtensionInstallIo as da, installSkillFromSpec as dc, anthropicDescriptor as dd, OAuthRefreshHookContext as df, openai as dh, CompactPromptBuilder as di, CommandArgSuggestion as dl, attachStderrWarnPump as dm, artifactPath as dn, sanitizeExtensionConfigActionPatch as do, SkillDiagnostic as dp, validateToolArgs as dr, ExtensionNotifyOptions as ds, ExtensionEditMarker as dt, ConsoleSinkOptions as du, buildExtensionPreset as ea, InterpolateShellCommandsOptions as ec, sanitizeModelChain as ed, CompactHookContext as ef, consumeSSE as eh, selectFilesFromSession as ei, CompletionProvider as el, filterUnresolvedToolUses as em, LlmJudgeOptions as en, ExtensionConfigValue as eo, HydrateReadStateOptions as ep, formattedHeadlessTurnEventToJsonl as er, ExtensionToolVerdict as es, cleanupPersistedSession as et, makeRequestInteraction as eu, createTracingHooks as f, ExtensionInstallProvenance as fa, listSkillCandidates as fc, cerebrasDescriptor as fd, ProgressNudgeKind as ff, toPiMessages as fh, CompactPromptOptions as fi, CommandAttachment as fl, connectMcpServers as fm, buildEvalRunSummary as fn, toWireConfigSchema as fo, SkillResource as fp, TailTruncateOptions as fr, ExtensionNotifyTone as fs, SKILL_EDIT_METADATA_KEY as ft, LogLevel as fu, formatTokenUsage as g, InstallExtensionFromSpecOptions as ga, discoverSkills as gc, getModelInfo as gd, PromptImagePart as gf, cursor as gh, buildFromCompactPrompt as gi, CommandInvocation as gl, nonOwningMcpView as gm, computeEvalTagScores as gn, ExtensionCapability as go, LoadSessionOptions as gp, createToolSearchTool as gr, ExtensionHostRuntimeImpl as gs, buildZidaneExtensionSkill as gt, LoggingHookSet as gu, flattenTurns as h, ExtensionInstallSource as ha, SourcedScanPath as hc, getContextWindow as hd, PromptDocumentPart as hf, CursorParams as hh, buildCompactPrompt as hi, CommandInteraction as hl, expandMcpConfigEnv as hm, clearRegisteredEvals as hn, ExtensionBehaviorTransform as ho, CreateSessionOptions as hp, ToolSearchToolOptions as hr, ExtensionHostRuntimeBridge as hs, ZIDANE_SKILL_EDIT_SKILL_NAME as ht, Logger as hu, _default as i, filterExtensionRegistry as ia, SkillCandidateDetail as ic, ProviderKey as id, DedupToolConfig as if, openaiCompat as ih, CompactResult as ii, collectReferences as il, remintDuplicateToolCallIds as im, MetricSpecMap as in, WireExtensionConfigSchema as io, hashContent as ip, runHeadless as ir, TuiContributions as is, INTERRUPT_MESSAGE_FOR_TOOL_USE as it, useInteractionsQueue as iu, MetricAttributes as j, isExtensionDefinition as ja, ChipColor as jc, ContextBreakdown as jd, SpawnHookContext as jf, planAnthropicThinking as jh, CacheBreakLoggerOptions as ji, CreateInteractionToolsOptions as jl, XaiParams as jm, formatTrajectoryLine as jn, ExtensionModalNode as jo, RemoteStoreOptions as jp, createInteractionTool as jr, SpawnToolState as js, EvalAgentRunStats as jt, PLAN_AGENT as ju, InstrumentOptions as k, discoverExtensions as ka, createSkillActivationState as kc, effectiveContextWindow as kd, SessionMessage as kf, classifyAnthropicError as kh, GenerateStructuredDataOptions as ki, AnswerValue as kl, ToolSpec as km, formatEvalCaseSummary as kn, ExtensionMcpConfigTransform as ko, setExtensionSessionState as kp, listFiles as kr, SpawnTool as ks, EvalAgentRunOptions as kt, DEFAULT_BUDGET_EXCLUDE_TOOLS as ku, TracingConventions as l, ExtensionInstallError as la, SkillInstallResult as lc, ModelOption as ld, ModelTarget as lf, classifyOpenAIError as lh, BASE_INSTRUCTIONS as li, Command as ll, ConnectMcpServersOptions as lm, TrajectoryStep as ln, resolveExtensionConfig as lo, ShellInterpolationApproval as lp, waitTask as lr, ExtensionHudWriter as ls, EXTENSION_EDIT_METADATA_KEY as lt, resolveSchemaInput as lu, TokenUsageLike as m, ExtensionInstallScope as ma, readSkillProvenance as mc, enabledModelOptions as md, PromptAudioPart as mf, local as mh, TRAILER as mi, CommandGenerateDataOptions as ml, expandEnvPlaceholders as mm, buildTrajectory as mn, ExtensionApiVersion as mo, SkillsConfig as mp, LazyToolEntry as mr, createExtensionHud as ms, ZIDANE_EXTENSION_SKILL_NAME as mt, LogSink as mu, composePresets as n, composeExtensionPreset as na, stripShellInterpolations as nc, AuthMethod as nd, DEFAULT_AGENT_CLOCK as nf, mapOAIFinishReason as nh, CompactEndEvent as ni, CompletionSubmitContext as nl, fromOpenAI as nm, MetricEmitter as nn, StoredExtensionConfigItem as no, ReadStateMap as np, installHeadlessEventAdapter as nr, GuiContributions as ns, resolvePersistDir as nt, serializeInteractionResponse as nu, GEN_AI_ATTRIBUTES as o, partitionExtensionCatalog as oa, SkillInstallError as oc, BUILTIN_PROVIDERS as od, McpServerConfig as of, toolResultsMessage as oh, compactConversation as oi, mergeReferences as ol, toAnthropic as om, RegisterEvalTestsOptions as on, coerceExtensionConfigInput as oo, hydrateReadStateFromSessionAsync as op, transcriptToProviderMessages as or, ExtensionHud as os, TOOL_USE_CANCELLED_MESSAGE as ot, SchemaInput as ou, ModelUsage as p, ExtensionInstallResult as pa, parseSkillInstallSpec as pc, credKeyOf as pd, ProgressNudgeMessage as pf, LocalParams as ph, NO_TOOLS_PREAMBLE as pi, CommandExecution as pl, deriveMcpToolMeta as pm, buildRegisteredEvals as pn, EMPTY_EXTENSION_REGISTRY as po, SkillSource as pp, tailTruncate as pr, ExtensionStatusOptions as ps, SkillEditMarker as pt, LogRecord as pu, OAuthCallbackResult as q, ExtensionConfigItem as qa, resolveInlineSuggestion as qc, AgentRunOptions as qd, TurnUsage as qf, AgentOptions as qi, QuestionResponse as ql, OpenAICompatStreamError as qm, HeadlessUsage as qn, ExtensionToolRenderProps as qo, ToWireMessagesOptions as qp, estimateTokens as qr, matchesAllowedTool as qs, EvalScorer as qt, ModelChainEntry as qu, definePreset as r, disposeExtensionRegistry as ra, SKILL_PROVENANCE_FILE as rc, ProviderAuth as rd, DedupHasher as rf, openAICompatPromptMessage as rh, CompactOptions as ri, applyInsert as rl, reasoningWireAction as rm, MetricSpec as rn, WireExtensionConfigItem as ro, getReadState as rp, providerTranscriptFormatForProvider as rr, LoadedExtension as rs, resolveTasksDir as rt, useInteractionsActions as ru, Span as s, ExtensionFetchResult as sa, SkillInstallErrorCode as sc, CustomField as sd, McpToolHookContext as sf, userMessage as sh, CompactInvalidInputError as si, mergeSuggestions as sl, toOpenAI as sm, ReusableExecutionContext as sn, isValidExtensionConfigItem as so, readStateKey as sp, writeFile as sr, ExtensionHudState as ss, TOOL_USE_SKIPPED_MESSAGE as st, StandardSchemaLike as su, Preset as t, buildExtensionRegistry as ta, interpolateShellCommands as tc, toggleChainEntry as td, CompactStartHookContext as tf, formatTools as th, selectRecentFiles as ti, CompletionReference as tl, fromAnthropic as tm, MetricDirection as tn, ExtensionConfigValueItem as to, ReadStateEntry as tp, headlessEventToJsonl as tr, ExtensionTuiSurface as ts, maybePersistToolResult as tt, pendingInteractionsFromTurns as tu, TracingHookSet as u, ExtensionInstallErrorCode as ua, SkillInstallSpec as uc, ProviderDescriptor as ud, ModelTargetSpec as uf, mapCodexStopReason as uh, CompactDirection as ui, CommandAgentResult as ul, McpConnection as um, TrajectoryStepKind as un, resolveExtensionConfigValue as uo, SkillConfig as up, ValidationResult as ur, ExtensionNotification as us, EditSessionTarget as ut, zodToJsonSchema as uu, MutationValidationBatch as v, fetchExtensionSource as va, inferSource as vc, modelOptionsFor as vd, PromptTextPart as vf, cerebras as vh, buildTailCompactPrompt as vi, CommandSpawnResult as vl, normalizeMcpServers as vm, createEvalRunReporter as vn, ExtensionContextTransform as vo, SessionData as vp, createSkillsUseTool as vr, ExtensionRuntimeSurface as vs, editSessionMetadata as vt, RingBufferSink as vu, createMutationValidationHooks as w, updateInstalledExtension as wa, ActivationVia as wc, restoreModelOptions as wd, RetryConfig as wf, AnthropicContextManagement as wh, anchorPreviewFor as wi, commandBlocksToContent as wl, StreamCallbacks as wm, fileContains as wn, ExtensionGuiPanel as wo, deleteExtensionSessionState as wp, CreateShellToolOptions as wr, createWorkspaceSurface as ws, withZidaneSkillEditSkill as wt, AgentProfile as wu, MutationValidationMutation as x, parseExtensionInstallSource as xa, buildCatalog as xc, openaiDescriptor as xd, RepeatGuardToolMatcher as xf, planBasetenReasoning as xh, CompactScope as xi, CommandStepContext as xl, HistoryRepair as xm, defineMetrics as xn, ExtensionCustomRendererEntry as xo, SessionStore as xp, SkillsReadToolOptions as xr, ExtensionWorkspacePair as xs, readSkillEditMarker as xt, createLoggingHooks as xu, MutationValidationFailure as y, installExtensionFromSpec as ya, parseFrontmatter as yc, modelSupportsReasoning as yd, PromptVideoPart as yf, BasetenParams as yh, buildUpToCompactPrompt as yi, CommandSpawnTask as yl, resultToString as ym, createReusableExecutionContext as yn, ExtensionContributions as yo, SessionMetaRow as yp, SkillsRunScriptToolOptions as yr, ExtensionSessionSummary as ys, extensionDirForCwd as yt, consoleSink as yu, McpCredentialEntry as z, defineExtension as za, ThemeSurfaces as zc, ContextExtensionSection as zd, ToolResultDocumentContent as zf, defaultRepeatGuardNormalize as zi, PlanPayload as zl, normalizeOpenRouterModelId as zm, FormattedHeadlessResult as zn, ExtensionRuntimeEnv as zo, PairingDrop as zp, RunSummaryCollector as zr, formatModelLine as zs, EvalMetricError as zt, EditPayload as zu };
|
|
16672
|
+
//# sourceMappingURL=index-DZxVqh6L.d.ts.map
|