zidane 6.1.13 → 6.2.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/dist/{acp-BqfKqQ9x.js → acp-0JO-UBEv.js} +2 -2
- package/dist/{acp-BqfKqQ9x.js.map → acp-0JO-UBEv.js.map} +1 -1
- package/dist/acp-cli.js +2 -2
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-CZ3WSWqR.js → agent-25moybsj.js} +73 -11
- package/dist/agent-25moybsj.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/pure.js +1 -1
- package/dist/chat.d.ts +5 -5
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +5 -5
- package/dist/{completion-core-CXYSVhZo.js → completion-core-BRo86R_L.js} +23 -10
- package/dist/completion-core-BRo86R_L.js.map +1 -0
- 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-X02SI0nt.d.ts → index-mUT8TI9j.d.ts} +248 -13
- package/dist/index-mUT8TI9j.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{generate-data-WL_yGVL6.js → inline-autocomplete-w_O3SVtN.js} +186 -6
- package/dist/inline-autocomplete-w_O3SVtN.js.map +1 -0
- package/dist/mcp.d.ts +1 -1
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/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/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{tool-formatters-kg8O6wHZ.d.ts → tool-formatters-DOcJz_J9.d.ts} +2 -2
- package/dist/{tool-formatters-kg8O6wHZ.d.ts.map → tool-formatters-DOcJz_J9.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-DAf0Mr_9.js → transcript-anchors-CO-WnuYQ.js} +13 -6
- package/dist/transcript-anchors-CO-WnuYQ.js.map +1 -0
- package/dist/{transcript-anchors-DAF4RbyU.d.ts → transcript-anchors-CzMMNrhJ.d.ts} +2 -2
- package/dist/{transcript-anchors-DAF4RbyU.d.ts.map → transcript-anchors-CzMMNrhJ.d.ts.map} +1 -1
- package/dist/tui.d.ts +11 -4
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +339 -31
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-zkZ1L0eb.d.ts → turn-operations-CrCrJnvo.d.ts} +3 -3
- package/dist/{turn-operations-zkZ1L0eb.d.ts.map → turn-operations-CrCrJnvo.d.ts.map} +1 -1
- package/dist/types.d.ts +1 -1
- package/docs/EXTENSIONS.md +37 -1
- package/package.json +1 -1
- package/dist/agent-CZ3WSWqR.js.map +0 -1
- package/dist/completion-core-CXYSVhZo.js.map +0 -1
- package/dist/generate-data-WL_yGVL6.js.map +0 -1
- package/dist/index-X02SI0nt.d.ts.map +0 -1
- package/dist/transcript-anchors-DAf0Mr_9.js.map +0 -1
|
@@ -6260,7 +6260,7 @@ type EditDiffDisplay = 'compact' | 'full';
|
|
|
6260
6260
|
* visible: bottom-bar hints (agent / model / skills / session /
|
|
6261
6261
|
* settings / sessions / update), the prompt-overlay shortcuts
|
|
6262
6262
|
* (`↵ send`, `shift+↵ newline`, `↑↓ history`, `ctrl+s messages`) +
|
|
6263
|
-
* the `@ files` / `/ skills` triggers, and the `ctrl+x session`
|
|
6263
|
+
* the `@ files` / `/ skills` triggers, and the `ctrl+shift+x session`
|
|
6264
6264
|
* chip on the title meta.
|
|
6265
6265
|
* - `'minimal'` — strip the chat session UI to just the controls a
|
|
6266
6266
|
* user actually keeps hands on:
|
|
@@ -6270,7 +6270,7 @@ type EditDiffDisplay = 'compact' | 'full';
|
|
|
6270
6270
|
* keybindings panel (`ctrl+y`).
|
|
6271
6271
|
* Prompt-overlay hints (idle): only the `@ files` / `/ skills`
|
|
6272
6272
|
* triggers — the resting send/newline/history line is dropped.
|
|
6273
|
-
* Title meta: drop the `ctrl+x session` chip. Cwd + message /
|
|
6273
|
+
* Title meta: drop the `ctrl+shift+x session` chip. Cwd + message /
|
|
6274
6274
|
* turn stats stay.
|
|
6275
6275
|
*
|
|
6276
6276
|
* Busy / pending / select-turn / queue / approval states keep their
|
|
@@ -6725,6 +6725,14 @@ interface Settings {
|
|
|
6725
6725
|
* Default: on.
|
|
6726
6726
|
*/
|
|
6727
6727
|
externalEditor: boolean;
|
|
6728
|
+
/**
|
|
6729
|
+
* Inline ghost-text autocomplete in the prompt: as you type, providers
|
|
6730
|
+
* (built-in path completion + extension-registered ones) suggest a dim
|
|
6731
|
+
* suffix at the cursor; Tab accepts it. Purely a prompt-composing
|
|
6732
|
+
* affordance — the agent sees the same final text either way.
|
|
6733
|
+
* Default: off.
|
|
6734
|
+
*/
|
|
6735
|
+
inlineAutocomplete: boolean;
|
|
6728
6736
|
/**
|
|
6729
6737
|
* What happens when the user presses Ctrl+C.
|
|
6730
6738
|
*
|
|
@@ -7557,6 +7565,20 @@ interface CommandArgSuggestion {
|
|
|
7557
7565
|
interface Command {
|
|
7558
7566
|
/** Invoked as `/<name>`. Lowercase, no whitespace. */
|
|
7559
7567
|
name: string;
|
|
7568
|
+
/**
|
|
7569
|
+
* Alternate invocation names (same constraints as `name`). `/alias`
|
|
7570
|
+
* dispatches to this command; the popover shows the canonical name and
|
|
7571
|
+
* lists aliases in the description. Aliases participate in the same
|
|
7572
|
+
* first-registration-wins dedupe as names.
|
|
7573
|
+
*/
|
|
7574
|
+
aliases?: readonly string[];
|
|
7575
|
+
/**
|
|
7576
|
+
* Grouping key for completion — the registry stamps the source
|
|
7577
|
+
* extension's name here, so typing `/<extension>` in the popover lists
|
|
7578
|
+
* every command that extension contributes. Not an invocation name:
|
|
7579
|
+
* `parseCommandInvocation` ignores it.
|
|
7580
|
+
*/
|
|
7581
|
+
group?: string;
|
|
7560
7582
|
/** One-line summary shown in the completion popover. */
|
|
7561
7583
|
description: string;
|
|
7562
7584
|
/** Single-step sugar. */
|
|
@@ -7587,10 +7609,11 @@ interface CommandInvocation {
|
|
|
7587
7609
|
* what keeps mid-prompt `/skill` mentions routed to the skills provider:
|
|
7588
7610
|
* `"summarize /research"` is not a command, `"/research foo"` is.
|
|
7589
7611
|
*
|
|
7590
|
-
* `
|
|
7591
|
-
*
|
|
7612
|
+
* `known` is matched case-insensitively; entries may be bare names or
|
|
7613
|
+
* `{ name, aliases }` records — an alias hit canonicalizes to the entry's
|
|
7614
|
+
* `name` (registered casing), so dispatch-by-name downstream just works.
|
|
7592
7615
|
*/
|
|
7593
|
-
declare function parseCommandInvocation(prompt: string,
|
|
7616
|
+
declare function parseCommandInvocation(prompt: string, known: readonly (string | Pick<Command, 'name' | 'aliases'>)[]): CommandInvocation | null;
|
|
7594
7617
|
/** Outcome of a command run. `error` is set when a step threw (pipeline stops). */
|
|
7595
7618
|
interface CommandExecution {
|
|
7596
7619
|
ok: boolean;
|
|
@@ -7652,6 +7675,13 @@ interface CompletionItem<TItem = unknown> {
|
|
|
7652
7675
|
* defaults it to the producing provider's `label` in {@link mergeSuggestions}.
|
|
7653
7676
|
*/
|
|
7654
7677
|
section?: string;
|
|
7678
|
+
/**
|
|
7679
|
+
* Id of the producing provider — stamped by {@link mergeSuggestions} so
|
|
7680
|
+
* renderers can apply provider-specific styling (e.g. chip-colored
|
|
7681
|
+
* titles) in a multi-provider popover. Items constructed outside the
|
|
7682
|
+
* merge path may leave it unset.
|
|
7683
|
+
*/
|
|
7684
|
+
providerId?: string;
|
|
7655
7685
|
/** Original provider-specific payload. */
|
|
7656
7686
|
data: TItem;
|
|
7657
7687
|
}
|
|
@@ -7845,6 +7875,113 @@ declare function useCompletion<TItem = unknown>(input: {
|
|
|
7845
7875
|
maxQueryLength?: number;
|
|
7846
7876
|
}): CompletionState<TItem>;
|
|
7847
7877
|
//#endregion
|
|
7878
|
+
//#region src/chat/inline-autocomplete.d.ts
|
|
7879
|
+
/**
|
|
7880
|
+
* Inline (ghost-text) autocomplete for the prompt.
|
|
7881
|
+
*
|
|
7882
|
+
* Distinct from the trigger-based completion popover (`@` files, `/`
|
|
7883
|
+
* commands): providers here suggest plain text SUFFIX candidates to
|
|
7884
|
+
* append at the cursor — the first renders as dim ghost text, up/down
|
|
7885
|
+
* rotates through the rest, Tab accepts. No popover.
|
|
7886
|
+
*
|
|
7887
|
+
* Providers are queried in registration order with a shared AbortSignal;
|
|
7888
|
+
* the engine returns the first provider's non-empty candidate list.
|
|
7889
|
+
* Extensions add providers via `ctx.registerInlineAutocompleteProvider`
|
|
7890
|
+
* — the built-in path provider ({@link createPathAutocompleteProvider})
|
|
7891
|
+
* is always first.
|
|
7892
|
+
*/
|
|
7893
|
+
interface InlineAutocompleteContext {
|
|
7894
|
+
/** Full prompt buffer. */
|
|
7895
|
+
text: string;
|
|
7896
|
+
/** Cursor offset into `text`. Suggestions complete the token ENDING here. */
|
|
7897
|
+
cursor: number;
|
|
7898
|
+
/** Workspace directory relative paths resolve against. */
|
|
7899
|
+
cwd: string;
|
|
7900
|
+
/** Aborted when the buffer changes before the provider resolves. */
|
|
7901
|
+
signal: AbortSignal;
|
|
7902
|
+
}
|
|
7903
|
+
interface InlineAutocompleteProvider {
|
|
7904
|
+
/** Stable id — used for first-wins dedupe across extensions. */
|
|
7905
|
+
id: string;
|
|
7906
|
+
/**
|
|
7907
|
+
* Return the ghost suffix (or an ordered list of candidate suffixes —
|
|
7908
|
+
* the host shows the first and lets the user rotate with up/down) to
|
|
7909
|
+
* append at the cursor, or null/''/[] for no suggestion. Must be cheap
|
|
7910
|
+
* or promptly abortable — it runs per keystroke (debounced by the
|
|
7911
|
+
* host).
|
|
7912
|
+
*/
|
|
7913
|
+
suggest: (ctx: InlineAutocompleteContext) => string | readonly string[] | null | Promise<string | readonly string[] | null>;
|
|
7914
|
+
}
|
|
7915
|
+
/**
|
|
7916
|
+
* Query `providers` in order; the first provider yielding a non-empty
|
|
7917
|
+
* candidate list wins (a bare string normalizes to a 1-element list).
|
|
7918
|
+
* Provider errors are swallowed (a broken extension provider must not
|
|
7919
|
+
* break typing), and each provider races a {@link PROVIDER_DEADLINE_MS}
|
|
7920
|
+
* deadline so one hung provider can't permanently suppress the ghosts of
|
|
7921
|
+
* providers behind it. Returns null when aborted or nothing matched.
|
|
7922
|
+
*/
|
|
7923
|
+
declare function resolveInlineSuggestion(providers: readonly InlineAutocompleteProvider[], ctx: InlineAutocompleteContext, deadlineMs?: number): Promise<{
|
|
7924
|
+
suffixes: readonly string[];
|
|
7925
|
+
providerId: string;
|
|
7926
|
+
} | null>;
|
|
7927
|
+
/**
|
|
7928
|
+
* Extract the whitespace-delimited token that ends at `cursor`. Returns
|
|
7929
|
+
* null when the cursor sits right after whitespace (nothing to complete).
|
|
7930
|
+
*/
|
|
7931
|
+
declare function tokenEndingAtCursor(text: string, cursor: number): string | null;
|
|
7932
|
+
/** Directory listing seam — injectable for tests. */
|
|
7933
|
+
interface PathProviderIo {
|
|
7934
|
+
readdir?: (dir: string) => {
|
|
7935
|
+
name: string;
|
|
7936
|
+
isDirectory: boolean;
|
|
7937
|
+
}[];
|
|
7938
|
+
}
|
|
7939
|
+
/**
|
|
7940
|
+
* Built-in provider: complete filesystem paths under `cwd` (or absolute /
|
|
7941
|
+
* `~` paths). Given the token `src/chat/comp`, lists `src/chat/` and
|
|
7942
|
+
* returns every matching continuation of `comp` as a candidate list —
|
|
7943
|
+
* directories first, alphabetical, `/`-terminated for directories so
|
|
7944
|
+
* typing can continue. The host ghosts the first candidate and rotates
|
|
7945
|
+
* through the rest on up/down.
|
|
7946
|
+
*
|
|
7947
|
+
* Bare tokens (no `/` yet) are matched against the cwd listing too, so
|
|
7948
|
+
* a directory ghost appears as soon as the first characters of `src`
|
|
7949
|
+
* are typed — but only from the second character on, so 1-letter prose
|
|
7950
|
+
* words don't ghost-spam.
|
|
7951
|
+
*
|
|
7952
|
+
* Dotfiles are only offered when the typed fragment itself starts with
|
|
7953
|
+
* `.` — the usual completion convention.
|
|
7954
|
+
*/
|
|
7955
|
+
declare function createPathAutocompleteProvider(opts?: {
|
|
7956
|
+
cwd?: () => string;
|
|
7957
|
+
io?: PathProviderIo;
|
|
7958
|
+
}): InlineAutocompleteProvider;
|
|
7959
|
+
interface InlineGhost {
|
|
7960
|
+
suffixes: readonly string[];
|
|
7961
|
+
index: number;
|
|
7962
|
+
text: string;
|
|
7963
|
+
cursor: number;
|
|
7964
|
+
}
|
|
7965
|
+
/**
|
|
7966
|
+
* Optimistically transform the current ghost across a buffer edit so it
|
|
7967
|
+
* stays visible while the debounced provider re-query is in flight —
|
|
7968
|
+
* without this, every keystroke inside a completable token blinks the
|
|
7969
|
+
* ghost (hide → 120 ms → reshow).
|
|
7970
|
+
*
|
|
7971
|
+
* Two edits are reconcilable (everything else returns null and waits for
|
|
7972
|
+
* the authoritative result):
|
|
7973
|
+
* - typing FORWARD along the suggestion (`bi` → `bin` with ghost
|
|
7974
|
+
* `n/`): candidates are filtered to those starting with the typed
|
|
7975
|
+
* chars and trimmed;
|
|
7976
|
+
* - deleting BACKWARD within the token (`bin` → `bi` with ghost `/`):
|
|
7977
|
+
* the deleted chars are re-prepended to every candidate. Guarded to
|
|
7978
|
+
* non-whitespace so crossing a token boundary drops the ghost.
|
|
7979
|
+
*
|
|
7980
|
+
* The patched ghost is provisional — the provider's answer replaces it
|
|
7981
|
+
* (and may add candidates the patch couldn't know about).
|
|
7982
|
+
*/
|
|
7983
|
+
declare function patchInlineGhost(prev: InlineGhost | null, text: string, cursor: number): InlineGhost | null;
|
|
7984
|
+
//#endregion
|
|
7848
7985
|
//#region src/chat/theme.d.ts
|
|
7849
7986
|
/**
|
|
7850
7987
|
* Renderer-agnostic theme system.
|
|
@@ -9712,6 +9849,15 @@ interface ExtensionContext {
|
|
|
9712
9849
|
* resolved (first registration wins in the TUI).
|
|
9713
9850
|
*/
|
|
9714
9851
|
registerCompletionProvider: (provider: CompletionProvider) => void;
|
|
9852
|
+
/**
|
|
9853
|
+
* Register an inline (ghost-text) autocomplete provider — suggests a
|
|
9854
|
+
* plain suffix at the prompt cursor, rendered dim and accepted with
|
|
9855
|
+
* Tab. Distinct from trigger-based completion popovers: no popup, no
|
|
9856
|
+
* list — first provider (built-in path completion, then extensions in
|
|
9857
|
+
* registration order) returning a suffix wins. Deduped by `id`,
|
|
9858
|
+
* first registration wins.
|
|
9859
|
+
*/
|
|
9860
|
+
registerInlineAutocompleteProvider: (provider: InlineAutocompleteProvider) => void;
|
|
9715
9861
|
/**
|
|
9716
9862
|
* Register a `/` command — a workflow invoked by typing `/<name> [args]`
|
|
9717
9863
|
* as the whole prompt. Names must be unique across the merged registry;
|
|
@@ -10018,6 +10164,7 @@ interface ExtensionContributions {
|
|
|
10018
10164
|
skillPolicies: readonly ExtensionOrderedContribution<ExtensionSkillPolicy>[];
|
|
10019
10165
|
promptTransforms: readonly ExtensionOrderedContribution<ExtensionPromptTransform>[];
|
|
10020
10166
|
completionProviders: readonly CompletionProvider[];
|
|
10167
|
+
inlineAutocompleteProviders: readonly InlineAutocompleteProvider[];
|
|
10021
10168
|
commands: readonly Command[];
|
|
10022
10169
|
themes: Readonly<Record<string, Theme>>;
|
|
10023
10170
|
agents: Readonly<Record<string, AgentProfile>>;
|
|
@@ -10089,6 +10236,8 @@ interface ExtensionRegistry {
|
|
|
10089
10236
|
promptTransforms: readonly ExtensionOrderedContribution<ExtensionPromptTransform>[];
|
|
10090
10237
|
/** Completion providers (TUI/GUI shared). */
|
|
10091
10238
|
completionProviders: readonly CompletionProvider[];
|
|
10239
|
+
/** Inline ghost-text autocomplete providers, deduped by id (first wins). */
|
|
10240
|
+
inlineAutocompleteProviders: readonly InlineAutocompleteProvider[];
|
|
10092
10241
|
/** `/` commands, deduped by name (first registration wins). */
|
|
10093
10242
|
commands: readonly Command[];
|
|
10094
10243
|
/** Themes contributed by extensions, keyed by theme id. */
|
|
@@ -10241,12 +10390,82 @@ interface ExtensionConfigModelItem extends ExtensionConfigItemBase {
|
|
|
10241
10390
|
/** Allow picking MORE than one model (comma-separated persisted value). */
|
|
10242
10391
|
multi?: boolean;
|
|
10243
10392
|
}
|
|
10393
|
+
/**
|
|
10394
|
+
* What a config ACTION reports back to the host after running. Actions
|
|
10395
|
+
* cannot write settings directly — there is deliberately no `config.set`
|
|
10396
|
+
* surface for extensions — so a successful run RETURNS the values it wants
|
|
10397
|
+
* persisted and the host writes them through its own validated settings
|
|
10398
|
+
* path ({@link sanitizeExtensionConfigActionPatch} gates the patch).
|
|
10399
|
+
*/
|
|
10400
|
+
interface ExtensionConfigActionResult {
|
|
10401
|
+
/** One-line feedback shown in the Settings UI (e.g. "proxy running at …"). */
|
|
10402
|
+
message?: string;
|
|
10403
|
+
/**
|
|
10404
|
+
* Config values of the DECLARING extension to persist on success, keyed
|
|
10405
|
+
* by item key. Entries naming unknown keys, action items, or values that
|
|
10406
|
+
* fail the item's schema are dropped (not errors) — a buggy action can
|
|
10407
|
+
* degrade but never corrupt the settings bag.
|
|
10408
|
+
*/
|
|
10409
|
+
config?: Record<string, ExtensionConfigValue>;
|
|
10410
|
+
}
|
|
10411
|
+
/**
|
|
10412
|
+
* An imperative config item — rendered as a "press ↵ to run" row instead
|
|
10413
|
+
* of a value editor. `run` executes in the extension's own process (it is
|
|
10414
|
+
* never serialized — {@link toWireConfigSchema} omits action items
|
|
10415
|
+
* entirely), so it can close over the extension's `setup(ctx)` scope.
|
|
10416
|
+
*
|
|
10417
|
+
* Contract for `run`:
|
|
10418
|
+
* - Resolve with an {@link ExtensionConfigActionResult} (or `void`) on
|
|
10419
|
+
* success — `message` becomes the row's feedback line, `config`
|
|
10420
|
+
* values are persisted by the host.
|
|
10421
|
+
* - Throw / reject on failure — the error message is shown on the row.
|
|
10422
|
+
* - Bound your own runtime: the host serializes actions (one in flight
|
|
10423
|
+
* per modal) but imposes no timeout, so a hanging `run` holds the
|
|
10424
|
+
* "running…" state until it settles.
|
|
10425
|
+
*
|
|
10426
|
+
* Actions hold no persisted value: `ctx.config.get(key)` returns
|
|
10427
|
+
* `undefined` for an action key and the resolver never yields a value.
|
|
10428
|
+
*/
|
|
10429
|
+
interface ExtensionConfigActionItem extends Pick<ExtensionConfigItemBase, 'key' | 'label' | 'description'> {
|
|
10430
|
+
type: 'action';
|
|
10431
|
+
run: () => ExtensionConfigActionResult | void | Promise<ExtensionConfigActionResult | void>;
|
|
10432
|
+
/**
|
|
10433
|
+
* Optional passive probe — called by the host when the settings panel
|
|
10434
|
+
* surfaces the row (and re-called after any action of the panel
|
|
10435
|
+
* settles), so the row can show live state ("running at …") WITHOUT
|
|
10436
|
+
* the user pressing ↵. Contract:
|
|
10437
|
+
*
|
|
10438
|
+
* - Resolve an {@link ExtensionConfigActionStatus} to show it, or
|
|
10439
|
+
* `undefined` for "no status" (e.g. the probed tool isn't
|
|
10440
|
+
* installed — stay quiet rather than nag).
|
|
10441
|
+
* - Throwing is treated as `undefined` — probes must be safe to call
|
|
10442
|
+
* at any time and MUST NOT mutate anything.
|
|
10443
|
+
* - Be fast: the host caps each probe (a few seconds) and discards
|
|
10444
|
+
* late results.
|
|
10445
|
+
*/
|
|
10446
|
+
status?: () => ExtensionConfigActionStatus | undefined | Promise<ExtensionConfigActionStatus | undefined>;
|
|
10447
|
+
}
|
|
10448
|
+
/**
|
|
10449
|
+
* Result of an action's passive `status` probe. `state` drives the row
|
|
10450
|
+
* color (`ok` accent / `off` mute / `error` error); `message` is the
|
|
10451
|
+
* one-line text rendered in the row's value slot.
|
|
10452
|
+
*/
|
|
10453
|
+
interface ExtensionConfigActionStatus {
|
|
10454
|
+
state: 'ok' | 'off' | 'error';
|
|
10455
|
+
message: string;
|
|
10456
|
+
}
|
|
10457
|
+
/**
|
|
10458
|
+
* The value-holding config items — everything except `action`. Functions
|
|
10459
|
+
* that produce or validate persisted VALUES take this narrower union;
|
|
10460
|
+
* {@link ExtensionConfigItem} is the full declarable set.
|
|
10461
|
+
*/
|
|
10462
|
+
type ExtensionConfigValueItem = ExtensionConfigBooleanItem | ExtensionConfigNumberItem | ExtensionConfigStringItem | ExtensionConfigEnumItem | ExtensionConfigModelItem;
|
|
10244
10463
|
/**
|
|
10245
10464
|
* Discriminated union of the typed config items an extension can declare.
|
|
10246
10465
|
* The `type` tag drives both validation ({@link resolveExtensionConfigValue})
|
|
10247
|
-
* and rendering (toggle / choice / input row).
|
|
10466
|
+
* and rendering (toggle / choice / input / action row).
|
|
10248
10467
|
*/
|
|
10249
|
-
type ExtensionConfigItem =
|
|
10468
|
+
type ExtensionConfigItem = ExtensionConfigValueItem | ExtensionConfigActionItem;
|
|
10250
10469
|
/**
|
|
10251
10470
|
* A config category — a labelled grouping the Settings UIs render as a
|
|
10252
10471
|
* sub-header. Declared via `ctx.registerConfigCategory`. An item that
|
|
@@ -10302,9 +10521,11 @@ declare function isValidExtensionConfigValue(item: ExtensionConfigItem, value: u
|
|
|
10302
10521
|
* Resolve the effective value of a config item from its persisted value.
|
|
10303
10522
|
* THE single place graceful degradation lives: a `persisted` that's
|
|
10304
10523
|
* `undefined` (never set) OR fails {@link isValidExtensionConfigValue}
|
|
10305
|
-
* collapses to `item.default`.
|
|
10524
|
+
* collapses to `item.default`. Action items hold no value and resolve to
|
|
10525
|
+
* `undefined` — the overloads keep value-item call sites exact.
|
|
10306
10526
|
*/
|
|
10307
|
-
declare function resolveExtensionConfigValue(item:
|
|
10527
|
+
declare function resolveExtensionConfigValue(item: ExtensionConfigValueItem, persisted: unknown): ExtensionConfigValue;
|
|
10528
|
+
declare function resolveExtensionConfigValue(item: ExtensionConfigItem, persisted: unknown): ExtensionConfigValue | undefined;
|
|
10308
10529
|
/**
|
|
10309
10530
|
* Clamp a number to the item's `[min, max]` and snap to `step` (when set).
|
|
10310
10531
|
* Used by the input-row commit paths so a user-typed value is coerced into
|
|
@@ -10327,6 +10548,18 @@ declare function coerceExtensionConfigInput(item: ExtensionConfigItem, raw: stri
|
|
|
10327
10548
|
* `(extName, key)` pair names no registered item.
|
|
10328
10549
|
*/
|
|
10329
10550
|
declare function resolveExtensionConfig(registry: Pick<ExtensionRegistry, 'configItems'>, settings: Pick<Settings, 'extensionConfig'> | undefined, extName: string, key: string): ExtensionConfigValue | undefined;
|
|
10551
|
+
/**
|
|
10552
|
+
* Gate the `config` patch an action returned before the host persists it.
|
|
10553
|
+
* Per-entry, an item is accepted only when it names a registered VALUE
|
|
10554
|
+
* item of the declaring extension and passes that item's schema
|
|
10555
|
+
* ({@link isValidExtensionConfigValue}); everything else lands in
|
|
10556
|
+
* `rejected` for logging. Pure — the host applies `accepted` through its
|
|
10557
|
+
* own settings write path.
|
|
10558
|
+
*/
|
|
10559
|
+
declare function sanitizeExtensionConfigActionPatch(items: Readonly<Record<string, StoredExtensionConfigItem>> | undefined, patch: Readonly<Record<string, ExtensionConfigValue>> | undefined): {
|
|
10560
|
+
accepted: Record<string, ExtensionConfigValue>;
|
|
10561
|
+
rejected: string[];
|
|
10562
|
+
};
|
|
10330
10563
|
/** Fields the wire shape adds on top of the authored item (minus `validate`). */
|
|
10331
10564
|
interface WireConfigExtras {
|
|
10332
10565
|
category: string;
|
|
@@ -10343,8 +10576,10 @@ interface WireExtensionConfigSchema {
|
|
|
10343
10576
|
* Project the merged registry's config schema into a wire-safe shape:
|
|
10344
10577
|
* categories as a flat array, items flattened to a single list carrying
|
|
10345
10578
|
* their `extension` + `category`, with the non-serializable `validate`
|
|
10346
|
-
* callback stripped.
|
|
10347
|
-
*
|
|
10579
|
+
* callback stripped. Action items are omitted entirely — their `run`
|
|
10580
|
+
* callback only exists in the main process, so a remote renderer (the
|
|
10581
|
+
* GUI) has nothing it could do with the row. Pure — factored out so its
|
|
10582
|
+
* serialization is unit testable without an Electron / IPC harness.
|
|
10348
10583
|
*/
|
|
10349
10584
|
declare function toWireConfigSchema(registry: Pick<ExtensionRegistry, 'configCategories' | 'configItems'>): WireExtensionConfigSchema;
|
|
10350
10585
|
//#endregion
|
|
@@ -15565,5 +15800,5 @@ declare function definePreset(config: Preset): Preset;
|
|
|
15565
15800
|
*/
|
|
15566
15801
|
declare function composePresets(...presets: Preset[]): Preset;
|
|
15567
15802
|
//#endregion
|
|
15568
|
-
export { maybePersistToolResult as $, ExtensionApiVersion as $a, CommandInteraction as $c, PromptPart as $d, SessionData as $f, ExtensionInstallError as $i, LoggingHooksOptions as $l, waitTask as $n, createExtensionHud as $o, OpenRouterParams as $p, BASE_INSTRUCTIONS as $r, SourcedScanPath as $s, TrajectoryStep as $t, localDescriptor as $u, MetricsHookSet as A, ExtensionConfigBooleanItem as Aa, ThemeColors as Ac, AgentStats as Ad, toolOutputBudgetByteLength as Af, defaultRepeatGuardTracked as Ai, QuestionType as Al, CursorParams as Am, FormattedHeadlessTurnEvent as An, ExtensionToolCatalogTransform as Ao, filterUnresolvedToolUses as Ap, RunSummaryCollectorOptions as Ar, SkillValidationResult as As, EvalRunMetricAggregate as At, buildRunModel as Au, loginMcpServer as B, ExtensionConfigSurface as Ba, CompletionProvider as Bc, DedupToolConfig as Bd, hashContent as Bf, McpToolWrap as Bi, useInteractionsQueue as Bl, AnthropicParams as Bm, ProviderTranscriptFormat as Bn, ExtensionTuiSurface as Bo, StreamOptions as Bp, PostCompactRestoreOptions as Br, interpolateShellCommands as Bs, EvalVariantSummary as Bt, ProviderKey as Bu, normalizeProviders as C, scanExtensionDirectories as Ca, BUILTIN_THEMES as Cc, ContextMcpGroup as Cd, ToolResultImageContent as Cf, CacheDimensionName as Ci, PlanResponse as Cl, OpenAIParams as Cm, llmJudge as Cn, ExtensionRunTransform as Co, TOOL_USE_INTERRUPTED_MARKER as Cp, glob as Cr, createModelSearchTool as Cs, EvalArtifacts as Ct, Picked as Cu, InstrumentOptions as D, ExtensionPromptDelivery as Da, SyntaxStyles as Dc, AgentBehavior as Dd, ToolResultVideoContent as Df, installCacheBreakLogger as Di, QuestionPayload as Dl, toPiMessages as Dm, runEvalCase as Dn, ExtensionSource as Do, detectTurnInterruption as Dp, RunSummaryBudget as Dr, writeSkillToDisk as Ds, EvalDefinitionContext as Dt, StreamEvent as Du, Histogram as E, ExtensionPromptBridge as Ea, DEFAULT_THEME as Ec, buildContextBreakdown as Ed, ToolResultTextContent as Ef, fnv1a32 as Ei, QuestionChoice as El, openai as Em, relativeArtifactPath as En, ExtensionSkillPolicy as Eo, autoDetectAndConvert as Ep, RunSummaryBlock as Er, defineSkill as Es, EvalDefinition as Et, Settings as Eu, OAuthCallbackOptions as F, ExtensionConfigItemBase as Fa, CompletionState as Fc, CompactFunction as Fd, ToolMap as Ff, AgentHookMap as Fi, isInteractionTool as Fl, baseten as Fm, HeadlessResult as Fn, ExtensionToolRendererRegistration as Fo, toOpenAI as Fp, createRunSummaryCollector as Fr, validateResourcePathReal as Fs, EvalRunUsage as Ft, restoreChainFallbacks as Fu, createMemoryMcpCredentialStore as G, clampExtensionConfigNumber as Ga, findActiveTrigger as Gc, ModelTarget as Gd, ShellInterpolationApproval as Gf, buildExtensionRegistry as Gi, resolveSchemaInput as Gl, defaultAnthropicMaxTokens as Gm, headlessEventToJsonl as Gn, ExtensionHud as Go, TurnResult as Gp, selectRecentFiles as Gr, SkillInstallErrorCode as Gs, MetricDirection as Gt, ModelOption as Gu, McpCredentialStore as H, StoredExtensionConfigItem as Ha, CompletionSubmitContext as Hc, McpServerConfig as Hd, hydrateReadStateFromSessionAsync as Hf, BuildExtensionRegistryOptions as Hi, SchemaInput as Hl, anthropic as Hm, formatHeadlessResult as Hn, LoadedExtension as Ho, ToolCall as Hp, buildPostCompactAttachments as Hr, SKILL_PROVENANCE_FILE as Hs, EvalWorkspaceOptions as Ht, BUILTIN_PROVIDERS as Hu, OAuthCallbackResult as I, ExtensionConfigModelItem as Ia, useCompletion as Ic, CompactHookContext as Id, HydrateReadStateOptions as If, AgentHooks as Ii, makeRequestInteraction as Il, planBasetenReasoning as Im, HeadlessStatus as In, ExtensionToolResultMetadataRegistration as Io, toWireMessages as Ip, BYTES_PER_TOKEN as Ir, validateSkillForWrite as Is, EvalScore as It, sanitizeModelChain as Iu, PERSISTENCE_PREVIEW_BYTES as J, isValidExtensionConfigValue as Ja, Command as Jc, ProgressNudgeKind as Jd, SkillResource as Jf, filterExtensionRegistry as Ji, LogLevel as Jl, resolveAnthropicMaxOutput as Jm, runHeadless as Jn, ExtensionHudWriter as Jo, SchemaSanitizeOptions as Jp, CompactResult as Jr, SkillInstallSpec as Js, MetricSpecMap as Jt, cerebrasDescriptor as Ju, hasAuthorizationHeader as K, coerceExtensionConfigInput as Ka, mergeReferences as Kc, ModelTargetSpec as Kd, SkillConfig as Kf, composeExtensionPreset as Ki, zodToJsonSchema as Kl, planAnthropicThinking as Km, installHeadlessEventAdapter as Kn, ExtensionHudState as Ko, XaiParams as Kp, CompactEndEvent as Kr, SkillInstallOptions as Ks, MetricEmitter as Kt, ProviderDescriptor as Ku, startOAuthCallback as L, ExtensionConfigNumberItem as La, ActiveTrigger as Lc, CompactStartHookContext as Ld, ReadStateEntry as Lf, AgentOptions as Li, pendingInteractionsFromTurns as Ll, ArceeParams as Lm, HeadlessUsage as Ln, ExtensionToolResultPatch as Lo, Provider as Lp, estimateTokens as Lr, validateSkillName as Ls, EvalScorer as Lt, toggleChainEntry as Lu, UpDownCounter as M, ExtensionConfigChangeBehavior as Ma, ThemeSurfaces as Mc, AutoCompactConfig as Md, toolResultToText as Mf, stableStringify as Mi, TextQuestion as Ml, CerebrasParams as Mm, HeadlessEvent as Mn, ExtensionToolRenderProps as Mo, fromOpenAI as Mp, RunSummaryRepeatGuard as Mr, matchesAllowedTool as Ms, EvalRunReporterOptions as Mt, chainsEqual as Mu, createMetricsHooks as N, ExtensionConfigEnumItem as Na, resolveChipColor as Nc, ChildRunStats as Nd, ToolContext as Nf, localReliabilityBehavior as Ni, buildResumedToolResultsTurn as Nl, cerebras as Nm, HeadlessOptions as Nn, ExtensionToolRenderer as No, remintDuplicateToolCallIds as Np, RunSummaryTokens as Nr, parseAllowedToolPattern as Ns, EvalRunSummary as Nt, filterChainFallbacks as Nu, Meter as O, createExtensionPromptBridge as Oa, SyntaxTokenStyle as Oc, AgentClock as Od, TurnFinishReason as Of, snapshotCacheDimensions as Oi, QuestionRequest as Ol, LocalParams as Om, statusCompleted as On, ExtensionStorageScope as Oo, ensureEndsWithUserMessage as Op, RunSummaryByModel as Or, writeSkillsToDisk as Os, EvalMetric as Ot, ToolCallDisplay as Ou, OAuthCallbackHandle as P, ExtensionConfigItem as Pa, resolveTheme as Pc, CompactEndHookContext as Pd, ToolDef as Pf, Agent as Pi, createInteractionTools as Pl, BasetenParams as Pm, HeadlessOutputFormat as Pn, ExtensionToolRendererEntry as Po, toAnthropic as Pp, RunSummaryValidation as Pr, validateResourcePath as Ps, EvalRunSummaryCase as Pt, providerKeySetChanged as Pu, cleanupPersistedSession as Q, EMPTY_EXTENSION_REGISTRY as Qa, CommandGenerateDataOptions as Qc, PromptImagePart as Qd, Session as Qf, ExtensionInstallCandidate as Qi, LoggingHookSet as Ql, WAIT_TASK_TIMED_OUT_PREFIX as Qn, ExtensionStatusOptions as Qo, sanitizeToolSpecs as Qp, CompactPromptTooLongError as Qr, readSkillProvenance as Qs, Trajectory as Qt, getModelInfo as Qu, LoginMcpServerOptions as R, ExtensionConfigScope as Ra, CompletionContext as Rc, DEFAULT_AGENT_CLOCK as Rd, ReadStateMap as Rf, McpConnector as Ri, serializeInteractionResponse as Rl, arcee as Rm, OpenAIChatContentPart as Rn, ExtensionToolResultTransform as Ro, ProviderCapabilities as Rp, utf8ByteLength as Rr, resolveSkills as Rs, EvalScorerContext as Rt, AuthMethod as Ru, createMutationValidationHooks as S, parseExtensionScanPathEnv as Sa, wrapDiscoveredMcpTools as Sc, ContextItem as Sd, ToolResultDocumentRefContent as Sf, CacheDimensionDiff as Si, PlanRequest as Sl, userMessage as Sm, functionalityMetric as Sn, ExtensionRegistry as So, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as Sp, grep as Sr, SpawnModelEntry as Ss, EvalAgentStats as St, Owner as Su, Counter as T, discoverAndBuildExtensionRegistry as Ta, ChipColorMap as Tc, ContextUsageSplit as Td, ToolResultMetadata as Tf, diffCacheDimensions as Ti, Question as Tl, mapCodexStopReason as Tm, registerEvalTests as Tn, ExtensionSessionStateSurface as To, TurnInterruptionState as Tp, RunSummary as Tr, matchModelEntries as Ts, EvalCaseResult as Tt, SessionMeta as Tu, McpOAuthProvider as U, WireExtensionConfigItem as Ua, applyInsert as Uc, McpToolHookContext as Ud, readStateKey as Uf, ExtensionCatalogPartition as Ui, StandardSchemaLike as Ul, applyAnthropicCacheBreakpoints as Um, formatHeadlessTurnEvent as Un, TuiContributions as Uo, ToolResult as Up, selectFilesFromReadState as Ur, SkillInstallCandidate as Us, EvalWorkspaceSnapshot as Ut, CustomField as Uu, McpCredentialEntry as V, ExtensionConfigValue as Va, CompletionReference as Vc, JsonValue as Vd, hydrateReadStateFromSession as Vf, createAgent as Vi, InferSchemaOutput as Vl, AnthropicThinkingPlan as Vm, exitCodeForHeadlessResult as Vn, GuiContributions as Vo, TokenCountPayload as Vp, RecentFile as Vr, stripShellInterpolations as Vs, EvalWorkspaceFile as Vt, detectAuth as Vu, McpOAuthProviderOptions as W, WireExtensionConfigSchema as Wa, collectReferences as Wc, McpToolSchema as Wd, resolveReadStateMap as Wf, buildExtensionPreset as Wi, isStandardSchema as Wl, classifyAnthropicError as Wm, formattedHeadlessTurnEventToJsonl as Wn, ExtensionBannerOptions as Wo, ToolSpec as Wp, selectFilesFromSession as Wr, SkillInstallError as Ws, LlmJudgeOptions as Wt, ModelInfo as Wu, PersistOutcome as X, resolveExtensionConfigValue as Xa, CommandArgSuggestion as Xc, PromptAudioPart as Xd, SkillsConfig as Xf, partitionExtensionCatalog as Xi, LogSink as Xl, transcriptToProviderMessages as Xn, ExtensionNotifyOptions as Xo, SchemaSanitizeResult as Xp, compactConversation as Xr, listSkillCandidates as Xs, RegisterEvalTestsOptions as Xt, enabledModelOptions as Xu, PersistInput as Y, resolveExtensionConfig as Ya, CommandAgentResult as Yc, ProgressNudgeMessage as Yd, SkillSource as Yf, mergeContributions as Yi, LogRecord as Yl, transcriptToOpenAIMessages as Yn, ExtensionNotification as Yo, SchemaSanitizeProfile as Yp, CompactStartEvent as Yr, installSkillFromSpec as Ys, MetricStats as Yt, credKeyOf as Yu, buildPersistedStub as Z, toWireConfigSchema as Za, CommandExecution as Zc, PromptDocumentPart as Zd, CreateSessionOptions as Zf, ExtensionFetchResult as Zi, Logger as Zl, writeFile as Zn, ExtensionNotifyTone as Zo, sanitizeToolSchema as Zp, CompactInvalidInputError as Zr, parseSkillInstallSpec as Zs, ReusableExecutionContext as Zt, getContextWindow as Zu, MutationValidationFailure as _, ExtensionScanEntry as _a, connectMcpServers as _c, ContextCategory as _d, ToolHookContext as _f, summaryToTurn as _i, InteractionsProvider as _l, mapOAIFinishReason as _m, fileExistsOneOf as _n, ExtensionOrderedContribution as _o, EnsureToolResultPairingOptions as _p, readFile as _r, SubagentDef as _s, EvalAgent as _t, EditDiffDisplay as _u, basicTools as a, ExtensionInstallSource as aa, buildCatalog as ac, piIdOf as ad, ResolveContentRefBlock as af, buildCompactPrompt as ai, CommandStepContext as al, OpenAICompatAuthHeader as am, clearRegisteredEvals as an, ExtensionCustomRenderer as ao, deleteExtensionSessionState as ap, ToolSearchToolOptions as ar, ExtensionSessionsSurface as as, TOOL_USE_SKIPPED_MESSAGE as at, AgentAccent as au, MutationValidationResult as b, inlineLoadedExtension as ba, normalizeMcpServers as bc, ContextExtensionRow as bd, ToolResultContent as bf, generateStructuredData as bi, PlanDecision as bl, toOAIMessages as bm, formatEvalRunSummary as bn, ExtensionPromptTransform as bo, PairingRepairMode as bp, InteractionToolOptions as br, createSpawnTool as bs, EvalAgentRunResult as bt, EditOutcomeKind as bu, StartSpan as c, fetchExtensionSource as ca, ActivationVia as cc, AutoCompactDecision as cd, SessionContentBlock as cf, buildTailCompactPrompt as ci, executeCommand as cl, OpenAICompatStreamError as cm, createEvalRunReporter as cn, ExtensionFooterHint as co, loadSession as cp, createSkillsUseTool as cr, createExtensionHostRuntimeBridge as cs, ExtensionEditMarker as ct, BUILD_AGENT as cu, TracingHooksOptions as d, parseExtensionInstallSource as da, SkillActivationState as dc, effectiveContextWindow as dd, SessionMessage as df, CompactScope as di, AnswerValue as dl, applyOAIToolCacheBreakpoint as dm, defineMetrics as dn, ExtensionKeybinding as do, RemoteStoreOptions as dp, SkillsReadToolOptions as dr, ExtensionSubagentDef as ds, extensionDirForCwd as dt, DEFAULT_BUDGET_EXCLUDE_TOOLS as du, ExtensionInstallErrorCode as ea, discoverSkills as ec, modelOptionsFor as ed, PromptTextPart as ef, CompactDirection as ei, CommandInvocation as el, normalizeOpenRouterModelId as em, TrajectoryStepKind as en, ExtensionBehaviorTransform as eo, SessionMetaRow as ep, ValidationResult as er, ExtensionHostRuntimeBridge as es, resolvePersistDir as et, RingBufferSink as eu, createTracingHooks as f, readExtensionInstallProvenance as fa, SkillActivationStateOptions as fc, shouldAutoCompact as fd, SessionTurn as ff, CompactionSlice as fi, ConfirmQuestion as fl, assistantMessage as fm, efficiencyMetricValues as fn, ExtensionKeybindingDispatchContext as fo, createRemoteStore as fp, createSkillsReadTool as fr, SpawnTaskInput as fs, extensionScaffold as ft, DEFAULT_PERSIST_EXCLUDE_TOOLS as fu, MutationValidationBatch as g, ENTRY_CANDIDATES as ga, attachStderrWarnPump as gc, ContextBreakdownOptions as gd, ToolBatchExecutor as gf, stripImagesFromTurns as gi, InteractionsActions as gl, formatTools as gm, fileExists as gn, ExtensionModalNode as go, createFileMapStore as gp, shell as gr, SpawnToolState as gs, EFFICIENCY_METRICS as gt, singleAgentRegistry as gu, statsByModel as h, registerExtensionHostModules as ha, McpConnection as hc, ContextBreakdownContributor as hd, ThinkingLevel as hf, sliceForCompaction as hi, InteractionResponse as hl, consumeSSE as hm, fileContentQuality as hn, ExtensionModal as ho, FileMapStoreOptions as hp, createShellTool as hr, SpawnToolOptions as hs, CreateEvalAgentOptions as ht, resolveAgentId as hu, _default as i, ExtensionInstallScope as ia, parseSkillFile as ic, openrouterDescriptor as id, ResolveContentRef as if, TRAILER as ii, CommandStep as il, OAITool as im, buildTrajectory as in, ExtensionContributions as io, currentExtensionSession as ip, LazyToolEntry as ir, ExtensionSessionSummary as is, TOOL_USE_CANCELLED_MESSAGE as it, jsonSink as iu, MetricsHooksOptions as j, ExtensionConfigCategory as ja, ThemeSelect as jc, AutoCompact as jd, toolOutputByteLength as jf, normalizeShellCommand as ji, SelectQuestion as jl, cursor as jm, HeadlessErrorInfo as jn, ExtensionToolPolicy as jo, fromAnthropic as jp, RunSummaryError as jr, isToolAllowedByUnion as js, EvalRunReporter as jt, chainPositionOf as ju, MetricAttributes as k, defineExtension as ka, Theme as kc, AgentRunOptions as kd, TurnUsage as kf, defaultRepeatGuardNormalize as ki, QuestionResponse as kl, local as km, FormattedHeadlessResult as kn, ExtensionStorageSurface as ko, ensureToolResultPairing as kp, RunSummaryCollector as kr, SkillValidationIssue as ks, EvalMetricError as kt, ModelChainEntry as ku, TracingConventions as l, installExtensionFromSpec as la, ActiveSkill as lc, AutoCompactInput as ld, SessionEndStatus as lf, buildUpToCompactPrompt as li, parseCommandInvocation as ll, TOOL_RESULTS_TAG as lm, createReusableExecutionContext as ln, ExtensionGuiPanel as lo, setExtensionSessionState as lp, SkillsRunScriptToolOptions as lr, createWorkspaceSurface as ls, ZIDANE_EXTENSION_SKILL_NAME as lt, BUILTIN_AGENTS as lu, flattenTurns as m, updateInstalledExtension as ma, ConnectMcpServersOptions as mc, ContextBreakdownContributionContext as md, StreamHookContext as mf, anchorPreviewFor as mi, InteractionRequest as ml, classifyOpenAICompatError as mm, fileContains as mn, ExtensionMcpConfigTransform as mo, FileMapAdapter as mp, CreateShellToolOptions as mr, SpawnTool as ms, withZidaneExtensionSkill as mt, accentColor as mu, composePresets as n, ExtensionInstallProvenance as na, inferSource as nc, modelsForDescriptor as nd, RepeatGuardConfig as nf, CompactPromptOptions as ni, CommandSpawnResult as nl, ASSISTANT_TOOL_CALLS_TAG as nm, buildEvalRunSummary as nn, ExtensionContext as no, SessionStore as np, TailTruncateOptions as nr, ExtensionModelEntry as ns, INTERRUPT_MESSAGE_FOR_TOOL_USE as nt, createLogger as nu, GEN_AI_ATTRIBUTES as o, InstallExtensionFromSpecOptions as oa, IMPLICITLY_ALLOWED_SKILL_TOOLS as oc, restoreModelOptions as od, RetryConfig as of, buildFromCompactPrompt as oi, CommandStepFn as ol, OpenAICompatHttpError as om, computeEvalTagScores as on, ExtensionCustomRendererEntry as oo, demoteStaleRunningStatus as op, createToolSearchTool as or, ExtensionWorkspacePair as os, applyCompactSummaryCutoff as ot, AgentProfile as ou, ModelUsage as p, removeInstalledExtension as pa, createSkillActivationState as pc, ContextBreakdown as pd, SpawnHookContext as pf, SummaryToTurnInput as pi, CreateInteractionToolsOptions as pl, buildAssistantContent as pm, emitEfficiencyMetrics as pn, ExtensionManifest as po, createMemoryStore as pp, shellKill as pr, SpawnTaskOutcome as ps, resolveExtensionDocsDir as pt, PLAN_AGENT as pu, PERSISTED_STUB_PREFIX as q, isValidExtensionConfigItem as qa, resolveCompletionSubmit as qc, OAuthRefreshHookContext as qd, SkillDiagnostic as qf, disposeExtensionRegistry as qi, ConsoleSinkOptions as ql, resolveAnthropicBetas as qm, providerTranscriptFormatForProvider as qn, ExtensionHudStatus as qo, xai as qp, CompactOptions as qr, SkillInstallResult as qs, MetricSpec as qt, anthropicDescriptor as qu, definePreset as r, ExtensionInstallResult as ra, parseFrontmatter as rc, openaiDescriptor as rd, RepeatGuardToolMatcher as rf, NO_TOOLS_PREAMBLE as ri, CommandSpawnTask as rl, OAIMessage as rm, buildRegisteredEvals as rn, ExtensionContextTransform as ro, createSession as rp, tailTruncate as rr, ExtensionRuntimeSurface as rs, SHELL_CASCADE_CANCEL_MESSAGE as rt, createLoggingHooks as ru, Span as s, InstalledExtensionTargetOptions as sa, installAllowedToolsGate as sc, AUTO_COMPACT_MIN_GROWTH_FRACTION as sd, RunHookMap as sf, buildFullCompactPrompt as si, commandSteps as sl, OpenAICompatParams as sm, createEvalAgent as sn, ExtensionDefinition as so, getExtensionSessionState as sp, SkillsUseToolOptions as sr, ExtensionWorkspaceSurface as ss, EXTENSION_EDIT_METADATA_KEY as st, AgentRegistry as su, Preset as t, ExtensionInstallIo as ta, getDefaultScanPaths as tc, modelSupportsReasoning as td, PromptVideoPart as tf, CompactPromptBuilder as ti, CommandOutputBlock as tl, openrouter as tm, artifactPath as tn, ExtensionCapability as to, SessionRun as tp, validateToolArgs as tr, ExtensionHostRuntimeImpl as ts, resolveTasksDir as tt, consoleSink as tu, TracingHookSet as u, listExtensionCandidates as ua, DeactivationReason as uc, OUTPUT_RESERVE_TOKENS as ud, SessionHookContext as uf, ANCHOR_PREVIEW_MAX_CHARS as ui, ASK_USER_TOOL as ul, applyOAICacheBreakpoints as um, defineEval as un, ExtensionGuiSurface as uo, withExtensionSession as up, createSkillsRunScriptTool as ur, ChildAgent as us, buildZidaneExtensionSkill as ut, DEFAULT_AGENT_ID as uu, MutationValidationHooksOptions as v, defaultExtensionScanPaths as va, deriveMcpToolMeta as vc, ContextCategoryId as vd, ToolOutcome as vf, truncateHeadForPtlRetry as vi, PRESENT_PLAN_TOOL as vl, openAICompatPromptMessage as vm, finalizeEvalMetrics as vn, ExtensionPaths as vo, ORPHANED_TOOL_RESULT_MARKER as vp, multiEdit as vr, SubagentOverride as vs, EvalAgentMcpServers as vt, EditHunk as vu, resolveModelTargets as w, DiscoverAndBuildExtensionRegistryOptions as wa, ChipColor as wc, ContextSnapshot as wd, ToolResultImageRefContent as wf, CacheDimensionSnapshot as wi, PlanStep as wl, classifyOpenAIError as wm, normalizeMetric as wn, ExtensionRuntimeEnv as wo, ToWireMessagesOptions as wp, edit as wr, formatModelLine as ws, EvalCaseOptions as wt, Screen as wu, SuccessfulMutationOutcome as x, isExtensionDefinition as xa, resultToString as xc, ContextExtensionSection as xd, ToolResultDocumentContent as xf, CacheBreakLoggerOptions as xi, PlanPayload as xl, toolResultsMessage as xm, formatTrajectoryLine as xn, ExtensionProviderMiddleware as xo, RemintResult as xp, createInteractionTool as xr, isSpawnTool as xs, EvalAgentRunStats as xt, EditPayload as xu, MutationValidationMutation as y, discoverExtensions as ya, normalizeMcpBlocks as yc, ContextExactCounts as yd, ToolResultAudioContent as yf, GenerateStructuredDataOptions as yi, PendingInteractionEntry as yl, openaiCompat as ym, formatEvalCaseSummary as yn, ExtensionPermission as yo, PairingRepair as yp, listFiles as yr, SubagentRegistry as ys, EvalAgentRunOptions as yt, EditOutcome as yu, LoginMcpServerResult as z, ExtensionConfigStringItem as za, CompletionItem as zc, DedupHasher as zd, getReadState as zf, McpToolMeta as zi, useInteractionsActions as zl, AnthropicContextManagement as zm, OpenAIChatMessage as zn, ExtensionToolVerdict as zo, StreamCallbacks as zp, PostCompactAttachments as zr, InterpolateShellCommandsOptions as zs, EvalTestRunner as zt, ProviderAuth as zu };
|
|
15569
|
-
//# sourceMappingURL=index-
|
|
15803
|
+
export { maybePersistToolResult as $, resolveExtensionConfig as $a, CompletionReference as $c, JsonValue as $d, hydrateReadStateFromSession as $f, ExtensionInstallError as $i, InferSchemaOutput as $l, AnthropicThinkingPlan as $m, waitTask as $n, ExtensionHudWriter as $o, TokenCountPayload as $p, BASE_INSTRUCTIONS as $r, SkillInstallSpec as $s, TrajectoryStep as $t, detectAuth as $u, MetricsHookSet as A, ExtensionConfigActionItem as Aa, ChipColorMap as Ac, ContextCategoryId as Ad, ToolOutcome as Af, defaultRepeatGuardTracked as Ai, PRESENT_PLAN_TOOL as Al, openAICompatPromptMessage as Am, FormattedHeadlessTurnEvent as An, ExtensionSessionStateSurface as Ao, ORPHANED_TOOL_RESULT_MARKER as Ap, RunSummaryCollectorOptions as Ar, matchModelEntries as As, EvalRunMetricAggregate as At, EditHunk as Au, loginMcpServer as B, ExtensionConfigNumberItem as Ba, InlineAutocompleteContext as Bc, AgentClock as Bd, TurnFinishReason as Bf, McpToolWrap as Bi, QuestionRequest as Bl, LocalParams as Bm, ProviderTranscriptFormat as Bn, ExtensionToolRendererRegistration as Bo, ensureEndsWithUserMessage as Bp, PostCompactRestoreOptions as Br, validateResourcePathReal as Bs, EvalVariantSummary as Bt, ToolCallDisplay as Bu, normalizeProviders as C, scanExtensionDirectories as Ca, deriveMcpToolMeta as Cc, effectiveContextWindow as Cd, SessionMessage as Cf, CacheDimensionName as Ci, AnswerValue as Cl, applyOAIToolCacheBreakpoint as Cm, llmJudge as Cn, ExtensionPaths as Co, RemoteStoreOptions as Cp, glob as Cr, SubagentOverride as Cs, EvalArtifacts as Ct, DEFAULT_BUDGET_EXCLUDE_TOOLS as Cu, InstrumentOptions as D, ExtensionPromptDelivery as Da, wrapDiscoveredMcpTools as Dc, ContextBreakdownContributor as Dd, ThinkingLevel as Df, installCacheBreakLogger as Di, InteractionResponse as Dl, consumeSSE as Dm, runEvalCase as Dn, ExtensionRegistry as Do, FileMapStoreOptions as Dp, RunSummaryBudget as Dr, SpawnModelEntry as Ds, EvalDefinitionContext as Dt, resolveAgentId as Du, Histogram as E, ExtensionPromptBridge as Ea, resultToString as Ec, ContextBreakdownContributionContext as Ed, StreamHookContext as Ef, fnv1a32 as Ei, InteractionRequest as El, classifyOpenAICompatError as Em, relativeArtifactPath as En, ExtensionProviderMiddleware as Eo, FileMapAdapter as Ep, RunSummaryBlock as Er, isSpawnTool as Es, EvalDefinition as Et, accentColor as Eu, OAuthCallbackOptions as F, ExtensionConfigChangeBehavior as Fa, ThemeColors as Fc, ContextMcpGroup as Fd, ToolResultImageContent as Ff, AgentHookMap as Fi, PlanResponse as Fl, OpenAIParams as Fm, HeadlessResult as Fn, ExtensionToolCatalogTransform as Fo, TOOL_USE_INTERRUPTED_MARKER as Fp, createRunSummaryCollector as Fr, SkillValidationResult as Fs, EvalRunUsage as Ft, Picked as Fu, createMemoryMcpCredentialStore as G, ExtensionConfigValueItem as Ga, resolveInlineSuggestion as Gc, ChildRunStats as Gd, ToolContext as Gf, buildExtensionRegistry as Gi, buildResumedToolResultsTurn as Gl, cerebras as Gm, headlessEventToJsonl as Gn, ExtensionTuiSurface as Go, remintDuplicateToolCallIds as Gp, selectRecentFiles as Gr, interpolateShellCommands as Gs, MetricDirection as Gt, filterChainFallbacks as Gu, McpCredentialStore as H, ExtensionConfigStringItem as Ha, InlineGhost as Hc, AgentStats as Hd, toolOutputBudgetByteLength as Hf, BuildExtensionRegistryOptions as Hi, QuestionType as Hl, CursorParams as Hm, formatHeadlessResult as Hn, ExtensionToolResultPatch as Ho, filterUnresolvedToolUses as Hp, buildPostCompactAttachments as Hr, validateSkillName as Hs, EvalWorkspaceOptions as Ht, buildRunModel as Hu, OAuthCallbackResult as I, ExtensionConfigEnumItem as Ia, ThemeSelect as Ic, ContextSnapshot as Id, ToolResultImageRefContent as If, AgentHooks as Ii, PlanStep as Il, classifyOpenAIError as Im, HeadlessStatus as In, ExtensionToolPolicy as Io, ToWireMessagesOptions as Ip, BYTES_PER_TOKEN as Ir, isToolAllowedByUnion as Is, EvalScore as It, Screen as Iu, PERSISTENCE_PREVIEW_BYTES as J, WireExtensionConfigSchema as Ja, useCompletion as Jc, CompactHookContext as Jd, HydrateReadStateOptions as Jf, filterExtensionRegistry as Ji, makeRequestInteraction as Jl, planBasetenReasoning as Jm, runHeadless as Jn, TuiContributions as Jo, toWireMessages as Jp, CompactResult as Jr, SkillInstallCandidate as Js, MetricSpecMap as Jt, sanitizeModelChain as Ju, hasAuthorizationHeader as K, StoredExtensionConfigItem as Ka, tokenEndingAtCursor as Kc, CompactEndHookContext as Kd, ToolDef as Kf, composeExtensionPreset as Ki, createInteractionTools as Kl, BasetenParams as Km, installHeadlessEventAdapter as Kn, GuiContributions as Ko, toAnthropic as Kp, CompactEndEvent as Kr, stripShellInterpolations as Ks, MetricEmitter as Kt, providerKeySetChanged as Ku, startOAuthCallback as L, ExtensionConfigItem as La, ThemeSurfaces as Lc, ContextUsageSplit as Ld, ToolResultMetadata as Lf, AgentOptions as Li, Question as Ll, mapCodexStopReason as Lm, HeadlessUsage as Ln, ExtensionToolRenderProps as Lo, TurnInterruptionState as Lp, estimateTokens as Lr, matchesAllowedTool as Ls, EvalScorer as Lt, SessionMeta as Lu, UpDownCounter as M, ExtensionConfigActionStatus as Ma, SyntaxStyles as Mc, ContextExtensionRow as Md, ToolResultContent as Mf, stableStringify as Mi, PlanDecision as Ml, toOAIMessages as Mm, HeadlessEvent as Mn, ExtensionSource as Mo, PairingRepairMode as Mp, RunSummaryRepeatGuard as Mr, writeSkillToDisk as Ms, EvalRunReporterOptions as Mt, EditOutcomeKind as Mu, createMetricsHooks as N, ExtensionConfigBooleanItem as Na, SyntaxTokenStyle as Nc, ContextExtensionSection as Nd, ToolResultDocumentContent as Nf, localReliabilityBehavior as Ni, PlanPayload as Nl, toolResultsMessage as Nm, HeadlessOptions as Nn, ExtensionStorageScope as No, RemintResult as Np, RunSummaryTokens as Nr, writeSkillsToDisk as Ns, EvalRunSummary as Nt, EditPayload as Nu, Meter as O, createExtensionPromptBridge as Oa, BUILTIN_THEMES as Oc, ContextBreakdownOptions as Od, ToolBatchExecutor as Of, snapshotCacheDimensions as Oi, InteractionsActions as Ol, formatTools as Om, statusCompleted as On, ExtensionRunTransform as Oo, createFileMapStore as Op, RunSummaryByModel as Or, createModelSearchTool as Os, EvalMetric as Ot, singleAgentRegistry as Ou, OAuthCallbackHandle as P, ExtensionConfigCategory as Pa, Theme as Pc, ContextItem as Pd, ToolResultDocumentRefContent as Pf, Agent as Pi, PlanRequest as Pl, userMessage as Pm, HeadlessOutputFormat as Pn, ExtensionStorageSurface as Po, SYNTHETIC_TOOL_RESULT_PLACEHOLDER as Pp, RunSummaryValidation as Pr, SkillValidationIssue as Ps, EvalRunSummaryCase as Pt, Owner as Pu, cleanupPersistedSession as Q, isValidExtensionConfigValue as Qa, CompletionProvider as Qc, DedupToolConfig as Qd, hashContent as Qf, ExtensionInstallCandidate as Qi, useInteractionsQueue as Ql, AnthropicParams as Qm, WAIT_TASK_TIMED_OUT_PREFIX as Qn, ExtensionHudStatus as Qo, StreamOptions as Qp, CompactPromptTooLongError as Qr, SkillInstallResult as Qs, Trajectory as Qt, ProviderKey as Qu, LoginMcpServerOptions as R, ExtensionConfigItemBase as Ra, resolveChipColor as Rc, buildContextBreakdown as Rd, ToolResultTextContent as Rf, McpConnector as Ri, QuestionChoice as Rl, openai as Rm, OpenAIChatContentPart as Rn, ExtensionToolRenderer as Ro, autoDetectAndConvert as Rp, utf8ByteLength as Rr, parseAllowedToolPattern as Rs, EvalScorerContext as Rt, Settings as Ru, createMutationValidationHooks as S, parseExtensionScanPathEnv as Sa, connectMcpServers as Sc, OUTPUT_RESERVE_TOKENS as Sd, SessionHookContext as Sf, CacheDimensionDiff as Si, ASK_USER_TOOL as Sl, applyOAICacheBreakpoints as Sm, functionalityMetric as Sn, ExtensionOrderedContribution as So, withExtensionSession as Sp, grep as Sr, SubagentDef as Ss, EvalAgentStats as St, DEFAULT_AGENT_ID as Su, Counter as T, discoverAndBuildExtensionRegistry as Ta, normalizeMcpServers as Tc, ContextBreakdown as Td, SpawnHookContext as Tf, diffCacheDimensions as Ti, CreateInteractionToolsOptions as Tl, buildAssistantContent as Tm, registerEvalTests as Tn, ExtensionPromptTransform as To, createMemoryStore as Tp, RunSummary as Tr, createSpawnTool as Ts, EvalCaseResult as Tt, PLAN_AGENT as Tu, McpOAuthProvider as U, ExtensionConfigSurface as Ua, createPathAutocompleteProvider as Uc, AutoCompact as Ud, toolOutputByteLength as Uf, ExtensionCatalogPartition as Ui, SelectQuestion as Ul, cursor as Um, formatHeadlessTurnEvent as Un, ExtensionToolResultTransform as Uo, fromAnthropic as Up, selectFilesFromReadState as Ur, resolveSkills as Us, EvalWorkspaceSnapshot as Ut, chainPositionOf as Uu, McpCredentialEntry as V, ExtensionConfigScope as Va, InlineAutocompleteProvider as Vc, AgentRunOptions as Vd, TurnUsage as Vf, createAgent as Vi, QuestionResponse as Vl, local as Vm, exitCodeForHeadlessResult as Vn, ExtensionToolResultMetadataRegistration as Vo, ensureToolResultPairing as Vp, RecentFile as Vr, validateSkillForWrite as Vs, EvalWorkspaceFile as Vt, ModelChainEntry as Vu, McpOAuthProviderOptions as W, ExtensionConfigValue as Wa, patchInlineGhost as Wc, AutoCompactConfig as Wd, toolResultToText as Wf, buildExtensionPreset as Wi, TextQuestion as Wl, CerebrasParams as Wm, formattedHeadlessTurnEventToJsonl as Wn, ExtensionToolVerdict as Wo, fromOpenAI as Wp, selectFilesFromSession as Wr, InterpolateShellCommandsOptions as Ws, LlmJudgeOptions as Wt, chainsEqual as Wu, PersistOutcome as X, coerceExtensionConfigInput as Xa, CompletionContext as Xc, DEFAULT_AGENT_CLOCK as Xd, ReadStateMap as Xf, partitionExtensionCatalog as Xi, serializeInteractionResponse as Xl, arcee as Xm, transcriptToProviderMessages as Xn, ExtensionHud as Xo, ProviderCapabilities as Xp, compactConversation as Xr, SkillInstallErrorCode as Xs, RegisterEvalTestsOptions as Xt, AuthMethod as Xu, PersistInput as Y, clampExtensionConfigNumber as Ya, ActiveTrigger as Yc, CompactStartHookContext as Yd, ReadStateEntry as Yf, mergeContributions as Yi, pendingInteractionsFromTurns as Yl, ArceeParams as Ym, transcriptToOpenAIMessages as Yn, ExtensionBannerOptions as Yo, Provider as Yp, CompactStartEvent as Yr, SkillInstallError as Ys, MetricStats as Yt, toggleChainEntry as Yu, buildPersistedStub as Z, isValidExtensionConfigItem as Za, CompletionItem as Zc, DedupHasher as Zd, getReadState as Zf, ExtensionFetchResult as Zi, useInteractionsActions as Zl, AnthropicContextManagement as Zm, writeFile as Zn, ExtensionHudState as Zo, StreamCallbacks as Zp, CompactInvalidInputError as Zr, SkillInstallOptions as Zs, ReusableExecutionContext as Zt, ProviderAuth as Zu, MutationValidationFailure as _, ExtensionScanEntry as _a, SkillActivationStateOptions as _c, piIdOf as _d, ResolveContentRefBlock as _f, summaryToTurn as _i, CommandStepContext as _l, OpenAICompatAuthHeader as _m, fileExistsOneOf as _n, ExtensionKeybindingDispatchContext as _o, deleteExtensionSessionState as _p, readFile as _r, SpawnTaskInput as _s, EvalAgent as _t, AgentAccent as _u, basicTools as a, ExtensionInstallSource as aa, discoverSkills as ac, anthropicDescriptor as ad, OAuthRefreshHookContext as af, resolveAnthropicBetas as ah, buildCompactPrompt as ai, resolveCompletionSubmit as al, xai as am, clearRegisteredEvals as an, ExtensionBehaviorTransform as ao, SkillDiagnostic as ap, ToolSearchToolOptions as ar, ExtensionHostRuntimeBridge as as, TOOL_USE_SKIPPED_MESSAGE as at, ConsoleSinkOptions as au, MutationValidationResult as b, inlineLoadedExtension as ba, McpConnection as bc, AutoCompactDecision as bd, SessionContentBlock as bf, generateStructuredData as bi, executeCommand as bl, OpenAICompatStreamError as bm, formatEvalRunSummary as bn, ExtensionModal as bo, loadSession as bp, InteractionToolOptions as br, SpawnToolOptions as bs, EvalAgentRunResult as bt, BUILD_AGENT as bu, StartSpan as c, fetchExtensionSource as ca, parseFrontmatter as cc, enabledModelOptions as cd, PromptAudioPart as cf, buildTailCompactPrompt as ci, CommandArgSuggestion as cl, SchemaSanitizeResult as cm, createEvalRunReporter as cn, ExtensionContextTransform as co, SkillsConfig as cp, createSkillsUseTool as cr, ExtensionRuntimeSurface as cs, ExtensionEditMarker as ct, LogSink as cu, TracingHooksOptions as d, parseExtensionInstallSource as da, IMPLICITLY_ALLOWED_SKILL_TOOLS as dc, localDescriptor as dd, PromptPart as df, CompactScope as di, CommandInteraction as dl, OpenRouterParams as dm, defineMetrics as dn, ExtensionCustomRendererEntry as do, SessionData as dp, SkillsReadToolOptions as dr, ExtensionWorkspacePair as ds, extensionDirForCwd as dt, LoggingHooksOptions as du, ExtensionInstallErrorCode as ea, installSkillFromSpec as ec, BUILTIN_PROVIDERS as ed, McpServerConfig as ef, anthropic as eh, CompactDirection as ei, CompletionSubmitContext as el, ToolCall as em, TrajectoryStepKind as en, resolveExtensionConfigValue as eo, hydrateReadStateFromSessionAsync as ep, ValidationResult as er, ExtensionNotification as es, resolvePersistDir as et, SchemaInput as eu, createTracingHooks as f, readExtensionInstallProvenance as fa, installAllowedToolsGate as fc, modelOptionsFor as fd, PromptTextPart as ff, CompactionSlice as fi, CommandInvocation as fl, normalizeOpenRouterModelId as fm, efficiencyMetricValues as fn, ExtensionDefinition as fo, SessionMetaRow as fp, createSkillsReadTool as fr, ExtensionWorkspaceSurface as fs, extensionScaffold as ft, RingBufferSink as fu, MutationValidationBatch as g, ENTRY_CANDIDATES as ga, SkillActivationState as gc, openrouterDescriptor as gd, ResolveContentRef as gf, stripImagesFromTurns as gi, CommandStep as gl, OAITool as gm, fileExists as gn, ExtensionKeybinding as go, currentExtensionSession as gp, shell as gr, ExtensionSubagentDef as gs, EFFICIENCY_METRICS as gt, jsonSink as gu, statsByModel as h, registerExtensionHostModules as ha, DeactivationReason as hc, openaiDescriptor as hd, RepeatGuardToolMatcher as hf, sliceForCompaction as hi, CommandSpawnTask as hl, OAIMessage as hm, fileContentQuality as hn, ExtensionGuiSurface as ho, createSession as hp, createShellTool as hr, ChildAgent as hs, CreateEvalAgentOptions as ht, createLoggingHooks as hu, _default as i, ExtensionInstallScope as ia, SourcedScanPath as ic, ProviderDescriptor as id, ModelTargetSpec as if, planAnthropicThinking as ih, TRAILER as ii, mergeReferences as il, XaiParams as im, buildTrajectory as in, ExtensionApiVersion as io, SkillConfig as ip, LazyToolEntry as ir, createExtensionHud as is, TOOL_USE_CANCELLED_MESSAGE as it, zodToJsonSchema as iu, MetricsHooksOptions as j, ExtensionConfigActionResult as ja, DEFAULT_THEME as jc, ContextExactCounts as jd, ToolResultAudioContent as jf, normalizeShellCommand as ji, PendingInteractionEntry as jl, openaiCompat as jm, HeadlessErrorInfo as jn, ExtensionSkillPolicy as jo, PairingRepair as jp, RunSummaryError as jr, defineSkill as js, EvalRunReporter as jt, EditOutcome as ju, MetricAttributes as k, defineExtension as ka, ChipColor as kc, ContextCategory as kd, ToolHookContext as kf, defaultRepeatGuardNormalize as ki, InteractionsProvider as kl, mapOAIFinishReason as km, FormattedHeadlessResult as kn, ExtensionRuntimeEnv as ko, EnsureToolResultPairingOptions as kp, RunSummaryCollector as kr, formatModelLine as ks, EvalMetricError as kt, EditDiffDisplay as ku, TracingConventions as l, installExtensionFromSpec as la, parseSkillFile as lc, getContextWindow as ld, PromptDocumentPart as lf, buildUpToCompactPrompt as li, CommandExecution as ll, sanitizeToolSchema as lm, createReusableExecutionContext as ln, ExtensionContributions as lo, CreateSessionOptions as lp, SkillsRunScriptToolOptions as lr, ExtensionSessionSummary as ls, ZIDANE_EXTENSION_SKILL_NAME as lt, Logger as lu, flattenTurns as m, updateInstalledExtension as ma, ActiveSkill as mc, modelsForDescriptor as md, RepeatGuardConfig as mf, anchorPreviewFor as mi, CommandSpawnResult as ml, ASSISTANT_TOOL_CALLS_TAG as mm, fileContains as mn, ExtensionGuiPanel as mo, SessionStore as mp, CreateShellToolOptions as mr, createWorkspaceSurface as ms, withZidaneExtensionSkill as mt, createLogger as mu, composePresets as n, ExtensionInstallProvenance as na, parseSkillInstallSpec as nc, ModelInfo as nd, McpToolSchema as nf, classifyAnthropicError as nh, CompactPromptOptions as ni, collectReferences as nl, ToolSpec as nm, buildEvalRunSummary as nn, toWireConfigSchema as no, resolveReadStateMap as np, TailTruncateOptions as nr, ExtensionNotifyTone as ns, INTERRUPT_MESSAGE_FOR_TOOL_USE as nt, isStandardSchema as nu, GEN_AI_ATTRIBUTES as o, InstallExtensionFromSpecOptions as oa, getDefaultScanPaths as oc, cerebrasDescriptor as od, ProgressNudgeKind as of, resolveAnthropicMaxOutput as oh, buildFromCompactPrompt as oi, Command as ol, SchemaSanitizeOptions as om, computeEvalTagScores as on, ExtensionCapability as oo, SkillResource as op, createToolSearchTool as or, ExtensionHostRuntimeImpl as os, applyCompactSummaryCutoff as ot, LogLevel as ou, ModelUsage as p, removeInstalledExtension as pa, ActivationVia as pc, modelSupportsReasoning as pd, PromptVideoPart as pf, SummaryToTurnInput as pi, CommandOutputBlock as pl, openrouter as pm, emitEfficiencyMetrics as pn, ExtensionFooterHint as po, SessionRun as pp, shellKill as pr, createExtensionHostRuntimeBridge as ps, resolveExtensionDocsDir as pt, consoleSink as pu, PERSISTED_STUB_PREFIX as q, WireExtensionConfigItem as qa, CompletionState as qc, CompactFunction as qd, ToolMap as qf, disposeExtensionRegistry as qi, isInteractionTool as ql, baseten as qm, providerTranscriptFormatForProvider as qn, LoadedExtension as qo, toOpenAI as qp, CompactOptions as qr, SKILL_PROVENANCE_FILE as qs, MetricSpec as qt, restoreChainFallbacks as qu, definePreset as r, ExtensionInstallResult as ra, readSkillProvenance as rc, ModelOption as rd, ModelTarget as rf, defaultAnthropicMaxTokens as rh, NO_TOOLS_PREAMBLE as ri, findActiveTrigger as rl, TurnResult as rm, buildRegisteredEvals as rn, EMPTY_EXTENSION_REGISTRY as ro, ShellInterpolationApproval as rp, tailTruncate as rr, ExtensionStatusOptions as rs, SHELL_CASCADE_CANCEL_MESSAGE as rt, resolveSchemaInput as ru, Span as s, InstalledExtensionTargetOptions as sa, inferSource as sc, credKeyOf as sd, ProgressNudgeMessage as sf, buildFullCompactPrompt as si, CommandAgentResult as sl, SchemaSanitizeProfile as sm, createEvalAgent as sn, ExtensionContext as so, SkillSource as sp, SkillsUseToolOptions as sr, ExtensionModelEntry as ss, EXTENSION_EDIT_METADATA_KEY as st, LogRecord as su, Preset as t, ExtensionInstallIo as ta, listSkillCandidates as tc, CustomField as td, McpToolHookContext as tf, applyAnthropicCacheBreakpoints as th, CompactPromptBuilder as ti, applyInsert as tl, ToolResult as tm, artifactPath as tn, sanitizeExtensionConfigActionPatch as to, readStateKey as tp, validateToolArgs as tr, ExtensionNotifyOptions as ts, resolveTasksDir as tt, StandardSchemaLike as tu, TracingHookSet as u, listExtensionCandidates as ua, buildCatalog as uc, getModelInfo as ud, PromptImagePart as uf, ANCHOR_PREVIEW_MAX_CHARS as ui, CommandGenerateDataOptions as ul, sanitizeToolSpecs as um, defineEval as un, ExtensionCustomRenderer as uo, Session as up, createSkillsRunScriptTool as ur, ExtensionSessionsSurface as us, buildZidaneExtensionSkill as ut, LoggingHookSet as uu, MutationValidationHooksOptions as v, defaultExtensionScanPaths as va, createSkillActivationState as vc, restoreModelOptions as vd, RetryConfig as vf, truncateHeadForPtlRetry as vi, CommandStepFn as vl, OpenAICompatHttpError as vm, finalizeEvalMetrics as vn, ExtensionManifest as vo, demoteStaleRunningStatus as vp, multiEdit as vr, SpawnTaskOutcome as vs, EvalAgentMcpServers as vt, AgentProfile as vu, resolveModelTargets as w, DiscoverAndBuildExtensionRegistryOptions as wa, normalizeMcpBlocks as wc, shouldAutoCompact as wd, SessionTurn as wf, CacheDimensionSnapshot as wi, ConfirmQuestion as wl, assistantMessage as wm, normalizeMetric as wn, ExtensionPermission as wo, createRemoteStore as wp, edit as wr, SubagentRegistry as ws, EvalCaseOptions as wt, DEFAULT_PERSIST_EXCLUDE_TOOLS as wu, SuccessfulMutationOutcome as x, isExtensionDefinition as xa, attachStderrWarnPump as xc, AutoCompactInput as xd, SessionEndStatus as xf, CacheBreakLoggerOptions as xi, parseCommandInvocation as xl, TOOL_RESULTS_TAG as xm, formatTrajectoryLine as xn, ExtensionModalNode as xo, setExtensionSessionState as xp, createInteractionTool as xr, SpawnToolState as xs, EvalAgentRunStats as xt, BUILTIN_AGENTS as xu, MutationValidationMutation as y, discoverExtensions as ya, ConnectMcpServersOptions as yc, AUTO_COMPACT_MIN_GROWTH_FRACTION as yd, RunHookMap as yf, GenerateStructuredDataOptions as yi, commandSteps as yl, OpenAICompatParams as ym, formatEvalCaseSummary as yn, ExtensionMcpConfigTransform as yo, getExtensionSessionState as yp, listFiles as yr, SpawnTool as ys, EvalAgentRunOptions as yt, AgentRegistry as yu, LoginMcpServerResult as z, ExtensionConfigModelItem as za, resolveTheme as zc, AgentBehavior as zd, ToolResultVideoContent as zf, McpToolMeta as zi, QuestionPayload as zl, toPiMessages as zm, OpenAIChatMessage as zn, ExtensionToolRendererEntry as zo, detectTurnInterruption as zp, PostCompactAttachments as zr, validateResourcePath as zs, EvalTestRunner as zt, StreamEvent as zu };
|
|
15804
|
+
//# sourceMappingURL=index-mUT8TI9j.d.ts.map
|