zidane 6.1.4 → 6.1.6

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.
Files changed (70) hide show
  1. package/dist/{acp-CO1EGSwh.js → acp-D-k-L0DX.js} +2 -2
  2. package/dist/{acp-CO1EGSwh.js.map → acp-D-k-L0DX.js.map} +1 -1
  3. package/dist/acp-cli.js +2 -2
  4. package/dist/acp.d.ts +1 -1
  5. package/dist/acp.js +1 -1
  6. package/dist/{agent-CZKpBI1X.js → agent-BJ1NC1pA.js} +47 -8
  7. package/dist/agent-BJ1NC1pA.js.map +1 -0
  8. package/dist/agent.d.ts +1 -1
  9. package/dist/agent.js +1 -1
  10. package/dist/chat/pure.d.ts +3 -3
  11. package/dist/chat.d.ts +10 -4
  12. package/dist/chat.d.ts.map +1 -1
  13. package/dist/chat.js +2 -2
  14. package/dist/contexts/daytona.d.ts +1 -1
  15. package/dist/contexts/e2b.d.ts +1 -1
  16. package/dist/eval.d.ts +1 -1
  17. package/dist/extensions.d.ts +2 -2
  18. package/dist/extensions.js +1 -1
  19. package/dist/generate-data-WL_yGVL6.js.map +1 -1
  20. package/dist/headless.d.ts +1 -1
  21. package/dist/headless.js +1 -1
  22. package/dist/{index-DC9Iy3Vn.d.ts → index-CR6uvJ3m.d.ts} +190 -7
  23. package/dist/index-CR6uvJ3m.d.ts.map +1 -0
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +1 -1
  26. package/dist/mcp.d.ts +1 -1
  27. package/dist/output/stream-json.d.ts +1 -1
  28. package/dist/output/terminal.d.ts +1 -1
  29. package/dist/presets.d.ts +1 -1
  30. package/dist/presets.js +1 -1
  31. package/dist/providers/anthropic.d.ts +1 -1
  32. package/dist/providers/arcee.d.ts +1 -1
  33. package/dist/providers/baseten.d.ts +1 -1
  34. package/dist/providers/cerebras.d.ts +1 -1
  35. package/dist/providers/local.d.ts +1 -1
  36. package/dist/providers/openai-compat.d.ts +1 -1
  37. package/dist/providers/openai.d.ts +1 -1
  38. package/dist/providers/openrouter.d.ts +1 -1
  39. package/dist/providers/xai.d.ts +1 -1
  40. package/dist/providers.d.ts +1 -1
  41. package/dist/restate.d.ts +1 -1
  42. package/dist/session/sqlite.d.ts +1 -1
  43. package/dist/session.d.ts +1 -1
  44. package/dist/skills.d.ts +1 -1
  45. package/dist/{tool-formatters-D7AQW80Z.d.ts → tool-formatters-D8w27pin.d.ts} +60 -3
  46. package/dist/tool-formatters-D8w27pin.d.ts.map +1 -0
  47. package/dist/tools/fetch-url.d.ts +1 -1
  48. package/dist/tools/web-search.d.ts +1 -1
  49. package/dist/tools.d.ts +2 -2
  50. package/dist/tools.js +1 -1
  51. package/dist/{transcript-anchors-hv97ejJn.js → transcript-anchors-C8l8zDzs.js} +20 -4
  52. package/dist/{transcript-anchors-hv97ejJn.js.map → transcript-anchors-C8l8zDzs.js.map} +1 -1
  53. package/dist/{transcript-anchors-ClIlrGxh.d.ts → transcript-anchors-DtV7fmmw.d.ts} +2 -2
  54. package/dist/{transcript-anchors-ClIlrGxh.d.ts.map → transcript-anchors-DtV7fmmw.d.ts.map} +1 -1
  55. package/dist/tui.d.ts +26 -5
  56. package/dist/tui.d.ts.map +1 -1
  57. package/dist/tui.js +658 -64
  58. package/dist/tui.js.map +1 -1
  59. package/dist/{turn-operations-mvM38tP-.d.ts → turn-operations-BsTP7T1w.d.ts} +4 -61
  60. package/dist/turn-operations-BsTP7T1w.d.ts.map +1 -0
  61. package/dist/types.d.ts +1 -1
  62. package/docs/CHAT.md +2 -0
  63. package/docs/EXTENSIONS.md +5 -2
  64. package/docs/INTERACTIONS.md +5 -1
  65. package/docs/TUI.md +3 -2
  66. package/package.json +1 -1
  67. package/dist/agent-CZKpBI1X.js.map +0 -1
  68. package/dist/index-DC9Iy3Vn.d.ts.map +0 -1
  69. package/dist/tool-formatters-D7AQW80Z.d.ts.map +0 -1
  70. package/dist/turn-operations-mvM38tP-.d.ts.map +0 -1
package/dist/skills.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $s as parseFrontmatter, As as validateResourcePath, Bf as SkillResource, Bs as SkillInstallError, Cs as writeSkillToDisk, Ds as isToolAllowedByUnion, Es as SkillValidationResult, Fs as InterpolateShellCommandsOptions, Gs as installSkillFromSpec, Hf as SkillsConfig, Hs as SkillInstallOptions, Is as interpolateShellCommands, Js as readSkillProvenance, Ks as listSkillCandidates, Lf as ShellInterpolationApproval, Ls as stripShellInterpolations, Ms as validateSkillForWrite, Ns as validateSkillName, Os as matchesAllowedTool, Ps as resolveSkills, Qs as inferSource, Rf as SkillConfig, Rs as SKILL_PROVENANCE_FILE, Ss as defineSkill, Ts as SkillValidationIssue, Us as SkillInstallResult, Vf as SkillSource, Vs as SkillInstallErrorCode, Ws as SkillInstallSpec, Xs as discoverSkills, Ys as SourcedScanPath, Zs as getDefaultScanPaths, ac as ActiveSkill, cc as SkillActivationStateOptions, ec as parseSkillFile, ic as ActivationVia, js as validateResourcePathReal, ks as parseAllowedToolPattern, lc as createSkillActivationState, nc as IMPLICITLY_ALLOWED_SKILL_TOOLS, oc as DeactivationReason, qs as parseSkillInstallSpec, rc as installAllowedToolsGate, sc as SkillActivationState, tc as buildCatalog, ws as writeSkillsToDisk, zf as SkillDiagnostic, zs as SkillInstallCandidate } from "./index-DC9Iy3Vn.js";
1
+ import { $s as SourcedScanPath, As as SkillValidationResult, Bs as interpolateShellCommands, Ds as writeSkillToDisk, Es as defineSkill, Fs as validateResourcePathReal, Gf as ShellInterpolationApproval, Gs as SkillInstallErrorCode, Hs as SKILL_PROVENANCE_FILE, Is as validateSkillForWrite, Jf as SkillResource, Js as SkillInstallSpec, Kf as SkillConfig, Ks as SkillInstallOptions, Ls as validateSkillName, Ms as matchesAllowedTool, Ns as parseAllowedToolPattern, Os as writeSkillsToDisk, Ps as validateResourcePath, Qs as readSkillProvenance, Rs as resolveSkills, Us as SkillInstallCandidate, Vs as stripShellInterpolations, Ws as SkillInstallError, Xf as SkillsConfig, Xs as listSkillCandidates, Yf as SkillSource, Ys as installSkillFromSpec, Zs as parseSkillInstallSpec, ac as buildCatalog, cc as ActivationVia, dc as SkillActivationState, ec as discoverSkills, fc as SkillActivationStateOptions, ic as parseSkillFile, js as isToolAllowedByUnion, ks as SkillValidationIssue, lc as ActiveSkill, nc as inferSource, oc as IMPLICITLY_ALLOWED_SKILL_TOOLS, pc as createSkillActivationState, qf as SkillDiagnostic, qs as SkillInstallResult, rc as parseFrontmatter, sc as installAllowedToolsGate, tc as getDefaultScanPaths, uc as DeactivationReason, zs as InterpolateShellCommandsOptions } from "./index-CR6uvJ3m.js";
2
2
  export { type ActivationVia, type ActiveSkill, type DeactivationReason, IMPLICITLY_ALLOWED_SKILL_TOOLS, type InterpolateShellCommandsOptions, SKILL_PROVENANCE_FILE, type ShellInterpolationApproval, type SkillActivationState, type SkillActivationStateOptions, type SkillConfig, type SkillDiagnostic, type SkillInstallCandidate, SkillInstallError, type SkillInstallErrorCode, type SkillInstallOptions, type SkillInstallResult, type SkillInstallSpec, type SkillResource, type SkillSource, type SkillValidationIssue, type SkillValidationResult, type SkillsConfig, type SourcedScanPath, buildCatalog, createSkillActivationState, defineSkill, discoverSkills, getDefaultScanPaths, inferSource, installAllowedToolsGate, installSkillFromSpec, interpolateShellCommands, isToolAllowedByUnion, listSkillCandidates, matchesAllowedTool, parseAllowedToolPattern, parseFrontmatter, parseSkillFile, parseSkillInstallSpec, readSkillProvenance, resolveSkills, stripShellInterpolations, validateResourcePath, validateResourcePathReal, validateSkillForWrite, validateSkillName, writeSkillToDisk, writeSkillsToDisk };
@@ -1,4 +1,4 @@
1
- import { vu as Settings, yu as StreamEvent } from "./index-DC9Iy3Vn.js";
1
+ import { Bu as ProviderKey, Du as StreamEvent, Eu as Settings, Wu as ModelInfo, zu as ProviderAuth } from "./index-CR6uvJ3m.js";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/chat/turn-selection.d.ts
@@ -238,6 +238,63 @@ declare const MARKDOWN_RENDER_CHUNK_TARGET_BYTES = 24576;
238
238
  */
239
239
  declare function chunkMarkdownForRender(text: string, targetBytes?: number): string[];
240
240
  //#endregion
241
+ //#region src/chat/model-catalog.d.ts
242
+ /** A model entry as displayed in the cross-provider picker. */
243
+ interface CatalogEntry {
244
+ providerKey: ProviderKey;
245
+ providerLabel: string;
246
+ model: ModelInfo;
247
+ /**
248
+ * Pre-computed lowercase corpus for substring search across the
249
+ * provider key, label, model id, and display name. Built once at
250
+ * catalog-assembly time so filtering on every keystroke is
251
+ * O(catalogSize × queryLength), not O(catalogSize × fieldCount ×
252
+ * lowercase-overhead × queryLength).
253
+ */
254
+ searchCorpus: string;
255
+ }
256
+ /**
257
+ * Build the unified catalog from a list of available providers.
258
+ *
259
+ * Provider order is preserved (callers typically pass the picker order
260
+ * — alphabetical, auth-detection order, etc.); model order inside each
261
+ * provider matches whatever `modelsFor` returns. The current selection
262
+ * (when set) is bubbled to the top of its provider's section so it
263
+ * shows first without disturbing relative ordering elsewhere.
264
+ *
265
+ * `modelsFor` is injected (not imported from `./providers`) so the same
266
+ * helper works with hosts that supply their own model resolver via
267
+ * `ResolvedConfig.modelsFor`.
268
+ */
269
+ declare function buildModelCatalog(opts: {
270
+ providers: readonly ProviderAuth[];
271
+ modelsFor: (key: ProviderKey) => readonly ModelInfo[]; /** Optional currently-selected pair — promoted to the top of its provider group. */
272
+ current?: {
273
+ providerKey: ProviderKey;
274
+ modelId: string;
275
+ } | null;
276
+ }): CatalogEntry[];
277
+ /**
278
+ * Filter `catalog` by a user query. Empty / whitespace-only queries
279
+ * pass everything through unchanged (`O(1)` short-circuit). Multi-term
280
+ * queries (space-separated) require EVERY term to appear somewhere in
281
+ * the entry's search corpus — so `"claude opus"` matches `claude-opus-4`
282
+ * regardless of how the words are interleaved with provider names.
283
+ *
284
+ * Match is case-insensitive (the corpus is pre-lowercased; the query
285
+ * is lowercased once per call).
286
+ */
287
+ declare function filterModelCatalog(catalog: readonly CatalogEntry[], query: string): CatalogEntry[];
288
+ /**
289
+ * Find a catalog entry's index by its `{providerKey, modelId}` tuple.
290
+ * Returns `-1` when not present. Useful when re-rendering the picker
291
+ * (a query just narrowed the list, where did the selection land?).
292
+ */
293
+ declare function indexOfEntry(catalog: readonly CatalogEntry[], target: {
294
+ providerKey: ProviderKey;
295
+ modelId: string;
296
+ } | null | undefined): number;
297
+ //#endregion
241
298
  //#region src/chat/prompt-segments.d.ts
242
299
  /**
243
300
  * Pure string + reference math for rendering a submitted prompt with chip
@@ -374,5 +431,5 @@ declare function displayNameFor(name: string, input?: Record<string, unknown>):
374
431
  */
375
432
  declare function formatToolCall(name: string, input: Record<string, unknown>): ToolFormatLine | null;
376
433
  //#endregion
377
- export { isTurnHighlighted as C, turnSelectionOwnership as E, isEditErrorResult as S, selectableTurnIds as T, SafeModeActions as _, formatToolCall as a, useSafeModeQueue as b, splitPromptSegments as c, chunkMarkdownForRender as d, normalizeMarkdownCodeFences as f, RequestApproval as g, ApprovalRequest as h, displayNameFor as i, MARKDOWN_RENDER_CHUNK_TARGET_BYTES as l, ApprovalDecision as m, ToolDisplayMeta as n, PromptSegment as o, splitMarkdownCodeBlocks as p, ToolFormatLine as r, PromptSegmentRef as s, TOOL_DISPLAY as t, MarkdownSegment as u, SafeModeProvider as v, isVisible as w, EDIT_TOOL_NAMES as x, useSafeModeActions as y };
378
- //# sourceMappingURL=tool-formatters-D7AQW80Z.d.ts.map
434
+ export { turnSelectionOwnership as A, useSafeModeActions as C, isTurnHighlighted as D, isEditErrorResult as E, isVisible as O, SafeModeProvider as S, EDIT_TOOL_NAMES as T, splitMarkdownCodeBlocks as _, formatToolCall as a, RequestApproval as b, splitPromptSegments as c, filterModelCatalog as d, indexOfEntry as f, normalizeMarkdownCodeFences as g, chunkMarkdownForRender as h, displayNameFor as i, selectableTurnIds as k, CatalogEntry as l, MarkdownSegment as m, ToolDisplayMeta as n, PromptSegment as o, MARKDOWN_RENDER_CHUNK_TARGET_BYTES as p, ToolFormatLine as r, PromptSegmentRef as s, TOOL_DISPLAY as t, buildModelCatalog as u, ApprovalDecision as v, useSafeModeQueue as w, SafeModeActions as x, ApprovalRequest as y };
435
+ //# sourceMappingURL=tool-formatters-D8w27pin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-formatters-D8w27pin.d.ts","names":[],"sources":["../src/chat/turn-selection.ts","../src/chat/safe-mode-context.tsx","../src/chat/markdown-segments.ts","../src/chat/model-catalog.ts","../src/chat/prompt-segments.ts","../src/chat/tool-formatters.ts"],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import { Ef as ToolDef } from "../index-DC9Iy3Vn.js";
1
+ import { Pf as ToolDef } from "../index-CR6uvJ3m.js";
2
2
 
3
3
  //#region src/tools/fetch-url.d.ts
4
4
  declare function isBlockedAddress(ip: string): boolean;
@@ -1,4 +1,4 @@
1
- import { Ef as ToolDef } from "../index-DC9Iy3Vn.js";
1
+ import { Pf as ToolDef } from "../index-CR6uvJ3m.js";
2
2
 
3
3
  //#region src/tools/web-search.d.ts
4
4
  declare const webSearch: ToolDef;
package/dist/tools.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $n as waitTask, Af as ReadStateMap, Cr as glob, Df as ToolMap, Ef as ToolDef, Ff as readStateKey, If as resolveReadStateMap, Mf as hashContent, Nf as hydrateReadStateFromSession, Of as HydrateReadStateOptions, Pf as hydrateReadStateFromSessionAsync, Qn as WAIT_TASK_TIMED_OUT_PREFIX, Sr as grep, Tf as ToolContext, Zn as writeFile, _r as readFile, _s as isSpawnTool, ar as ToolSearchToolOptions, br as InteractionToolOptions, bs as formatModelLine, cr as createSkillsUseTool, cs as ChildAgent, dr as SkillsReadToolOptions, ds as SpawnToolOptions, er as ValidationResult, fr as createSkillsReadTool, fs as SpawnToolState, gr as shell, gs as createSpawnTool, hr as createShellTool, hs as SubagentRegistry, ir as LazyToolEntry, jf as getReadState, kf as ReadStateEntry, lr as SkillsRunScriptToolOptions, ls as ExtensionSubagentDef, mr as CreateShellToolOptions, ms as SubagentOverride, nr as TailTruncateOptions, or as createToolSearchTool, pr as shellKill, ps as SubagentDef, rr as tailTruncate, sr as SkillsUseToolOptions, tr as validateToolArgs, ur as createSkillsRunScriptTool, us as SpawnTool, vr as multiEdit, vs as SpawnModelEntry, wr as edit, xr as createInteractionTool, xs as matchModelEntries, yr as listFiles, ys as createModelSearchTool } from "./index-DC9Iy3Vn.js";
2
- export { type ChildAgent, type CreateShellToolOptions, type ExtensionSubagentDef, type HydrateReadStateOptions, type InteractionToolOptions, type LazyToolEntry, type ReadStateEntry, type ReadStateMap, type SkillsReadToolOptions, type SkillsRunScriptToolOptions, type SkillsUseToolOptions, type SpawnModelEntry, type SpawnTool, type SpawnToolOptions, type SpawnToolState, type SubagentDef, type SubagentOverride, type SubagentRegistry, type TailTruncateOptions, type ToolContext, type ToolDef, type ToolMap, type ToolSearchToolOptions, type ValidationResult, WAIT_TASK_TIMED_OUT_PREFIX, createInteractionTool, createModelSearchTool, createShellTool, createSkillsReadTool, createSkillsRunScriptTool, createSkillsUseTool, createSpawnTool, createToolSearchTool, edit, formatModelLine, getReadState, glob, grep, hashContent, hydrateReadStateFromSession, hydrateReadStateFromSessionAsync, isSpawnTool, listFiles, matchModelEntries, multiEdit, readFile, readStateKey, resolveReadStateMap, shell, shellKill, tailTruncate, validateToolArgs, waitTask, writeFile };
1
+ import { $n as waitTask, Bf as hashContent, Cr as glob, Cs as createModelSearchTool, Ff as ToolMap, Hf as hydrateReadStateFromSessionAsync, If as HydrateReadStateOptions, Lf as ReadStateEntry, Nf as ToolContext, Pf as ToolDef, Qn as WAIT_TASK_TIMED_OUT_PREFIX, Rf as ReadStateMap, Sr as grep, Ss as SpawnModelEntry, Ts as matchModelEntries, Uf as readStateKey, Vf as hydrateReadStateFromSession, Wf as resolveReadStateMap, Zn as writeFile, _r as readFile, _s as SubagentDef, ar as ToolSearchToolOptions, br as InteractionToolOptions, bs as createSpawnTool, cr as createSkillsUseTool, dr as SkillsReadToolOptions, ds as ExtensionSubagentDef, er as ValidationResult, fr as createSkillsReadTool, fs as SpawnTaskInput, gr as shell, gs as SpawnToolState, hr as createShellTool, hs as SpawnToolOptions, ir as LazyToolEntry, lr as SkillsRunScriptToolOptions, mr as CreateShellToolOptions, ms as SpawnTool, nr as TailTruncateOptions, or as createToolSearchTool, pr as shellKill, ps as SpawnTaskOutcome, rr as tailTruncate, sr as SkillsUseToolOptions, tr as validateToolArgs, ur as createSkillsRunScriptTool, us as ChildAgent, vr as multiEdit, vs as SubagentOverride, wr as edit, ws as formatModelLine, xr as createInteractionTool, xs as isSpawnTool, yr as listFiles, ys as SubagentRegistry, zf as getReadState } from "./index-CR6uvJ3m.js";
2
+ export { type ChildAgent, type CreateShellToolOptions, type ExtensionSubagentDef, type HydrateReadStateOptions, type InteractionToolOptions, type LazyToolEntry, type ReadStateEntry, type ReadStateMap, type SkillsReadToolOptions, type SkillsRunScriptToolOptions, type SkillsUseToolOptions, type SpawnModelEntry, type SpawnTaskInput, type SpawnTaskOutcome, type SpawnTool, type SpawnToolOptions, type SpawnToolState, type SubagentDef, type SubagentOverride, type SubagentRegistry, type TailTruncateOptions, type ToolContext, type ToolDef, type ToolMap, type ToolSearchToolOptions, type ValidationResult, WAIT_TASK_TIMED_OUT_PREFIX, createInteractionTool, createModelSearchTool, createShellTool, createSkillsReadTool, createSkillsRunScriptTool, createSkillsUseTool, createSpawnTool, createToolSearchTool, edit, formatModelLine, getReadState, glob, grep, hashContent, hydrateReadStateFromSession, hydrateReadStateFromSessionAsync, isSpawnTool, listFiles, matchModelEntries, multiEdit, readFile, readStateKey, resolveReadStateMap, shell, shellKill, tailTruncate, validateToolArgs, waitTask, writeFile };
package/dist/tools.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { a as hydrateReadStateFromSessionAsync, c as resolveReadStateMap, i as hydrateReadStateFromSession, r as hashContent, s as readStateKey, t as getReadState } from "./read-state-Dq_TXUX1.js";
2
- import { At as createInteractionTool, Ct as readFile, Dt as formatModelLine, Et as createModelSearchTool, Mt as glob, Nt as edit, Ot as matchModelEntries, Pt as validateToolArgs, St as tailTruncate, Tt as multiEdit, _t as createSkillsRunScriptTool, bt as createShellTool, dt as WAIT_TASK_TIMED_OUT_PREFIX, ft as waitTask, gt as createSkillsUseTool, ht as isSpawnTool, jt as grep, kt as listFiles, mt as createSpawnTool, pt as createToolSearchTool, ut as writeFile, vt as createSkillsReadTool, xt as shell, yt as shellKill } from "./agent-CZKpBI1X.js";
2
+ import { At as createInteractionTool, Ct as readFile, Dt as formatModelLine, Et as createModelSearchTool, Mt as glob, Nt as edit, Ot as matchModelEntries, Pt as validateToolArgs, St as tailTruncate, Tt as multiEdit, _t as createSkillsRunScriptTool, bt as createShellTool, dt as WAIT_TASK_TIMED_OUT_PREFIX, ft as waitTask, gt as createSkillsUseTool, ht as isSpawnTool, jt as grep, kt as listFiles, mt as createSpawnTool, pt as createToolSearchTool, ut as writeFile, vt as createSkillsReadTool, xt as shell, yt as shellKill } from "./agent-BJ1NC1pA.js";
3
3
  export { WAIT_TASK_TIMED_OUT_PREFIX, createInteractionTool, createModelSearchTool, createShellTool, createSkillsReadTool, createSkillsRunScriptTool, createSkillsUseTool, createSpawnTool, createToolSearchTool, edit, formatModelLine, getReadState, glob, grep, hashContent, hydrateReadStateFromSession, hydrateReadStateFromSessionAsync, isSpawnTool, listFiles, matchModelEntries, multiEdit, readFile, readStateKey, resolveReadStateMap, shell, shellKill, tailTruncate, validateToolArgs, waitTask, writeFile };
@@ -1,5 +1,5 @@
1
1
  import { l as toolResultToText } from "./types-BIarq1qE.js";
2
- import { Ct as readFile$1, Ft as resolveStorageDirs, Gt as mergeKeybindings, Jt as readKeybindingsRaw, Mt as glob, Nt as edit, R as EMPTY_EXTENSION_REGISTRY, Tt as multiEdit, Yt as resolveExtensionKeybindings, Z as buildExtensionPreset, ft as waitTask, jt as grep, kt as listFiles, mt as createSpawnTool, ot as composePresets, st as definePreset, ut as writeFile$1, xt as shell, yt as shellKill } from "./agent-CZKpBI1X.js";
2
+ import { Ct as readFile$1, Ft as resolveStorageDirs, Gt as mergeKeybindings, Jt as readKeybindingsRaw, Mt as glob, Nt as edit, R as EMPTY_EXTENSION_REGISTRY, Tt as multiEdit, Yt as resolveExtensionKeybindings, Z as buildExtensionPreset, ft as waitTask, jt as grep, kt as listFiles, mt as createSpawnTool, ot as composePresets, st as definePreset, ut as writeFile$1, xt as shell, yt as shellKill } from "./agent-BJ1NC1pA.js";
3
3
  import { c as previewLine, i as fmtTokens, l as shortId } from "./format-BF745pLL.js";
4
4
  import { l as errorMessage } from "./errors-DJUxZg9b.js";
5
5
  import { M as findGitRoot$1, i as discoverSkills, j as projectUserPaths } from "./resolve-CC8Lmwcj.js";
@@ -5027,6 +5027,7 @@ const DEFAULT_SETTINGS = {
5027
5027
  showThinking: true,
5028
5028
  toolCallDisplay: "formatted",
5029
5029
  showToolResults: true,
5030
+ showFullShellOutput: false,
5030
5031
  safeMode: true,
5031
5032
  loadProjectExtensions: false,
5032
5033
  hideSubagentOutput: true,
@@ -5227,6 +5228,12 @@ const SETTINGS_TOGGLES = [
5227
5228
  label: "Tool outputs",
5228
5229
  description: "the ┃ result blocks under tool calls"
5229
5230
  },
5231
+ {
5232
+ category: "ui",
5233
+ key: "showFullShellOutput",
5234
+ label: "Full shell output",
5235
+ description: "show every line of ! shell output instead of the last 10 (display only — the model still gets the trimmed result)"
5236
+ },
5230
5237
  {
5231
5238
  category: "ui",
5232
5239
  key: "showEditDiffs",
@@ -5883,7 +5890,7 @@ function toEntries(paths, source, maxFiles) {
5883
5890
  * effort picker as a discoverable, in-place affordance.
5884
5891
  */
5885
5892
  function buildHints(options) {
5886
- const { screen, busy, pending, pendingInteractionLive, pendingInteractionResumed, currentSession, hasMultipleAgents, uiMode, modelLabel, modelColor, effortLabel, effortColor, effortKeyColor, modelOptionsLabel, agentLabel, agentColor, keybindings, inFlightToolCount, activeSkillCount, skillsChipColor, updateHint } = options;
5893
+ const { screen, busy, pending, pendingInteractionLive, pendingInteractionResumed, currentSession, hasMultipleAgents, uiMode, modelLabel, modelColor, effortLabel, effortColor, effortKeyColor, modelOptionsLabel, agentLabel, agentColor, keybindings, inFlightToolCount, activeSkillCount, skillsChipColor, updateHint, sessionsScopeAll } = options;
5887
5894
  if (pending) return [
5888
5895
  {
5889
5896
  key: "↑↓",
@@ -5961,6 +5968,10 @@ function buildHints(options) {
5961
5968
  key: "↵",
5962
5969
  label: "open"
5963
5970
  },
5971
+ {
5972
+ key: "tab",
5973
+ label: sessionsScopeAll ? "current project" : "all projects"
5974
+ },
5964
5975
  {
5965
5976
  key: keybindings.openSessionDetails,
5966
5977
  label: "session"
@@ -6133,6 +6144,10 @@ function serializeInteractionResponse(response) {
6133
6144
  const trimmed = value.trim();
6134
6145
  if (trimmed.length > 0) answers[id] = trimmed;
6135
6146
  } else if (typeof value === "boolean") answers[id] = value;
6147
+ else if (Array.isArray(value)) {
6148
+ const picked = value.map((v) => String(v).trim()).filter((v) => v.length > 0);
6149
+ if (picked.length > 0) answers[id] = picked;
6150
+ }
6136
6151
  return JSON.stringify({ answers });
6137
6152
  }
6138
6153
  /**
@@ -6319,7 +6334,8 @@ function parseQuestion(raw) {
6319
6334
  return {
6320
6335
  ...base,
6321
6336
  type,
6322
- choices
6337
+ choices,
6338
+ ...cast.multi === true ? { multi: true } : {}
6323
6339
  };
6324
6340
  }
6325
6341
  return {
@@ -8786,4 +8802,4 @@ function computeTurnAnchors(items) {
8786
8802
  //#endregion
8787
8803
  export { useMcpAuthState as $, buildPlanSystem as $n, restoreChainFallbacks as $t, runOAuthLogin as A, TODOWRITE_TOOL as An, DEFAULT_THEME as At, saveMcpToolsCache as B, setTodosForRun as Bn, createDiscoverySlot as Bt, projectsFilePath as C, DEFAULT_PERSIST_EXCLUDE_TOOLS as Cn, SETTINGS_CHOICES as Ct, formatPathForCwd as D, singleAgentRegistry as Dn, clampFps as Dt, writeProjects as E, resolveAgentId as En, SettingsProvider as Et, parseMcpsFile as F, getTodosForRun as Fn, GRUVBOX_LIGHT as Ft, buildVisibleMcpRows as G, IDENTITY_PREFIX as Gn, useConfig as Gt, buildToolToggle as H, ACTIONS_WITH_CARE_DOCTRINE as Hn, useDiscovery as Ht, clearMcpToolsCache as I, isTodoTool as In, CATPPUCCIN_FRAPPE as It, createFileMcpCredentialStore as J, PLAN_MODE_DOCTRINE as Jn, buildRunModel as Jt, indexOfServerRow as K, INTERACTION_GUIDANCE as Kn, resolveConfig as Kt, loadMcpToolsCache as L, pickActiveRunId as Ln, CATPPUCCIN_LATTE as Lt, buildMcpServers as M, TODO_WRITE_COUNTS_METADATA_KEY as Mn, resolveTheme as Mt, defaultMcpsConfigPaths as N, createTodoTools as Nn, VAPORWAVE_THEME as Nt, fetchOAuthRedirect as O, TODOREAD_TOOL as On, useSettings as Ot, discoverProjectMcps as P, getArchivedTodosForRun as Pn, GRUVBOX_DARK as Pt, useMcpAuthDispatch as Q, buildBuildSystem as Qn, providerKeySetChanged as Qt, mcpToolsCachePath as R, pruneTodosByRun as Rn, CATPPUCCIN_MACCHIATO as Rt, matchesSafelistEntry as S, DEFAULT_BUDGET_EXCLUDE_TOOLS as Sn, SETTINGS_CATEGORIES as St, suggestSafelistEntries as T, accentColor as Tn, SETTINGS_TOGGLES as Tt, useMcpToolToggleMap as U, COMMUNICATION_DOCTRINE as Un, useDiscoveryOptional as Ut, subscribeMcpToolsCache as V, useActiveTodos as Vn, DiscoveryProvider as Vt, useMcpToolToggleSet as W, DOING_TASKS_DOCTRINE as Wn, ConfigProvider as Wt, patchMcpCredential as X, SUBAGENT_GUIDANCE as Xn, chainsEqual as Xt, mcpCredentialsPath as Y, PLAN_MODE_DOCTRINE_NO_PROMPTS as Yn, chainPositionOf as Yt, McpAuthProvider as Z, TOKEN_DISCIPLINE_DOCTRINE as Zn, filterChainFallbacks as Zt, useSafeModeQueue as _, discoverAgentsMd as _n, toolCallPreview as _r, buildHints as _t, useSurfaces as a, bootTick as an, createStateStore as ar, buildResumedToolResultsTurn as at, getSafelist as b, BUILTIN_AGENTS as bn, usageByModel as br, useEnabledToggleSet as bt, useStreamBuffer as c, checkForUpdate as cn, lastContextSizeFromTurns as cr, makeRequestInteraction as ct, discoverProjectSkills as d, detectPackageManager as dn, marginTopFor as dr, useInteractionsActions as dt, sanitizeModelChain as en, envSection as er, getMcpAuthStatus as et, renderSession as f, parseSemver as fn, saveState as fr, useInteractionsQueue as ft, useSafeModeActions as g, chatAutoCompactBehavior as gn, titleFromTurns as gr, truncateTrailing as gt, SafeModeProvider as h, resolvePlatformPackage as hn, sumRunCosts as hr, hintsLength as ht, useSelectStyle as i, bootProfileEnabled as in, compactSummaryEvent as ir, PRESENT_PLAN_TOOL as it, supportsOAuth as j, TODO_STATUS_GLYPHS as jn, resolveChipColor as jt, oauthUsesManualCodePaste as k, TODOS_METADATA_KEY as kn, BUILTIN_THEMES as kt, buildSkillsConfig as l, compareSemver as ln, listSessionMeta as lr, pendingInteractionsFromTurns as lt, writeSessionExport as m, performSelfUpdate as mn, stripSpawnTokensLine as mr, clipHintsToWidth as mt, ThemeProvider as n, useCompletion as nn, createChatTurnsReadTool as nr, ASK_USER_TOOL as nt, useSyntaxStyles as o, buildUpdateHint as on, deriveSessionTitle as or, createInteractionTools as ot, resolveSessionExportTarget as p, performInPlaceSelfUpdate as pn, serverToolResultSummary as pr, EMPTY_HINTS as pt, parentServerName as q, INTERACTION_GUIDANCE_NO_PROMPTS as qn, resolveStoragePaths as qt, useColors as r, tryOpenBrowser as rn, DEFAULT_SESSION_TITLE as rr, InteractionsProvider as rt, useTheme as s, useUpdateCheck as sn, eventsFromTurns as sr, isInteractionTool as st, computeTurnAnchors as t, toggleChainEntry as tn, chatReferenceTokensForPrompt as tr, reduceMcpAuth as tt, defaultSkillScanPaths as u, detectLibc as un, loadState as ur, serializeInteractionResponse as ut, IMPLICITLY_SAFE_TOOLS as v, renderAgentsMdBlock as vn, toolResultText as vr, shortChord as vt, readProjects as w, PLAN_AGENT as wn, SETTINGS_INPUTS as wt, isOnSafelist as x, DEFAULT_AGENT_ID as xn, DEFAULT_SETTINGS as xt, addToSafelist as y, BUILD_AGENT as yn, updateToolEventOutcomes as yr, listProjectFiles as yt, refreshMcpToolsCatalog as z, selectActiveTodos as zn, CATPPUCCIN_MOCHA as zt };
8788
8804
 
8789
- //# sourceMappingURL=transcript-anchors-hv97ejJn.js.map
8805
+ //# sourceMappingURL=transcript-anchors-C8l8zDzs.js.map