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.
Files changed (72) hide show
  1. package/dist/{acp-BqfKqQ9x.js → acp-0JO-UBEv.js} +2 -2
  2. package/dist/{acp-BqfKqQ9x.js.map → acp-0JO-UBEv.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-CZ3WSWqR.js → agent-25moybsj.js} +73 -11
  7. package/dist/agent-25moybsj.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/pure.js +1 -1
  12. package/dist/chat.d.ts +5 -5
  13. package/dist/chat.d.ts.map +1 -1
  14. package/dist/chat.js +5 -5
  15. package/dist/{completion-core-CXYSVhZo.js → completion-core-BRo86R_L.js} +23 -10
  16. package/dist/completion-core-BRo86R_L.js.map +1 -0
  17. package/dist/contexts/daytona.d.ts +1 -1
  18. package/dist/contexts/e2b.d.ts +1 -1
  19. package/dist/eval.d.ts +1 -1
  20. package/dist/extensions.d.ts +2 -2
  21. package/dist/extensions.js +2 -2
  22. package/dist/headless.d.ts +1 -1
  23. package/dist/headless.js +1 -1
  24. package/dist/{index-X02SI0nt.d.ts → index-mUT8TI9j.d.ts} +248 -13
  25. package/dist/index-mUT8TI9j.d.ts.map +1 -0
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +4 -4
  28. package/dist/{generate-data-WL_yGVL6.js → inline-autocomplete-w_O3SVtN.js} +186 -6
  29. package/dist/inline-autocomplete-w_O3SVtN.js.map +1 -0
  30. package/dist/mcp.d.ts +1 -1
  31. package/dist/output/stream-json.d.ts +1 -1
  32. package/dist/output/terminal.d.ts +1 -1
  33. package/dist/presets.d.ts +1 -1
  34. package/dist/presets.js +1 -1
  35. package/dist/providers/anthropic.d.ts +1 -1
  36. package/dist/providers/arcee.d.ts +1 -1
  37. package/dist/providers/baseten.d.ts +1 -1
  38. package/dist/providers/cerebras.d.ts +1 -1
  39. package/dist/providers/local.d.ts +1 -1
  40. package/dist/providers/openai-compat.d.ts +1 -1
  41. package/dist/providers/openai.d.ts +1 -1
  42. package/dist/providers/openrouter.d.ts +1 -1
  43. package/dist/providers/xai.d.ts +1 -1
  44. package/dist/providers.d.ts +1 -1
  45. package/dist/restate.d.ts +1 -1
  46. package/dist/session/sqlite.d.ts +1 -1
  47. package/dist/session.d.ts +1 -1
  48. package/dist/skills.d.ts +1 -1
  49. package/dist/{tool-formatters-kg8O6wHZ.d.ts → tool-formatters-DOcJz_J9.d.ts} +2 -2
  50. package/dist/{tool-formatters-kg8O6wHZ.d.ts.map → tool-formatters-DOcJz_J9.d.ts.map} +1 -1
  51. package/dist/tools/fetch-url.d.ts +1 -1
  52. package/dist/tools/web-search.d.ts +1 -1
  53. package/dist/tools.d.ts +1 -1
  54. package/dist/tools.js +1 -1
  55. package/dist/{transcript-anchors-DAf0Mr_9.js → transcript-anchors-CO-WnuYQ.js} +13 -6
  56. package/dist/transcript-anchors-CO-WnuYQ.js.map +1 -0
  57. package/dist/{transcript-anchors-DAF4RbyU.d.ts → transcript-anchors-CzMMNrhJ.d.ts} +2 -2
  58. package/dist/{transcript-anchors-DAF4RbyU.d.ts.map → transcript-anchors-CzMMNrhJ.d.ts.map} +1 -1
  59. package/dist/tui.d.ts +11 -4
  60. package/dist/tui.d.ts.map +1 -1
  61. package/dist/tui.js +339 -31
  62. package/dist/tui.js.map +1 -1
  63. package/dist/{turn-operations-zkZ1L0eb.d.ts → turn-operations-CrCrJnvo.d.ts} +3 -3
  64. package/dist/{turn-operations-zkZ1L0eb.d.ts.map → turn-operations-CrCrJnvo.d.ts.map} +1 -1
  65. package/dist/types.d.ts +1 -1
  66. package/docs/EXTENSIONS.md +37 -1
  67. package/package.json +1 -1
  68. package/dist/agent-CZ3WSWqR.js.map +0 -1
  69. package/dist/completion-core-CXYSVhZo.js.map +0 -1
  70. package/dist/generate-data-WL_yGVL6.js.map +0 -1
  71. package/dist/index-X02SI0nt.d.ts.map +0 -1
  72. package/dist/transcript-anchors-DAf0Mr_9.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { Bc as CompletionProvider, Du as StreamEvent, Kf as SkillConfig, Su as Owner, Vc as CompletionReference, bf as ToolResultContent, ff as SessionTurn, kf as TurnUsage, xu as EditPayload, yu as EditOutcome } from "./index-X02SI0nt.js";
2
- import { v as ApprovalDecision } from "./tool-formatters-kg8O6wHZ.js";
1
+ import { $c as CompletionReference, Mf as ToolResultContent, Nu as EditPayload, Pu as Owner, Qc as CompletionProvider, Vf as TurnUsage, ip as SkillConfig, ju as EditOutcome, wf as SessionTurn, zu as StreamEvent } from "./index-mUT8TI9j.js";
2
+ import { v as ApprovalDecision } from "./tool-formatters-DOcJz_J9.js";
3
3
 
4
4
  //#region src/chat/color-gradient.d.ts
5
5
  /**
@@ -672,4 +672,4 @@ declare function countNeighbors(turnIds: readonly string[], turnId: string): {
672
672
  } | null;
673
673
  //#endregion
674
674
  export { uniqueFilesFromReferences as $, buildUnifiedDiff as A, buildEditOutcomesAnnotation as B, EditSummary as C, PreviewResult as D, InlineSegment as E, previewEditPayload as F, rewriteMultiEditHeader as G, mergeApprovalAndBodyOutcomes as H, splitLines as I, SKILLS_TRIGGER as J, stripEditOutcomesAnnotation as K, summarizeEditPayload as L, computeLineDiff as M, extractEditPayload as N, applyEditPayload as O, filetypeFromPath as P, createFilesCompletionProvider as Q, tokenize as R, EditHunkSummary as S, InlineDiff as T, parseEditOutcomesFromResult as U, maskToOutcomeKinds as V, resolveApprovalForPayload as W, uniqueSkillNamesFromReferences as X, createSkillsCompletionProvider as Y, FILES_TRIGGER as Z, formatTaskSummary as _, MAX_TRANSCRIPT_EVENTS as a, ChatReferenceEntry as at, DiffLine as b, finalizeStreamingMarkdown as c, createChatsCompletionProvider as ct, ageString as d, buildLinearRamp as dt, FileEntry as et, compactPath as f, formatTaskStatus as g, formatDuration as h, turnAsText as i, ChatReferenceData as it, computeInlineDiff as j, buildContextualDiff as k, finalizeStreamingMarkdownForOwner as l, uniqueChatIdsFromReferences as lt, fmtTokens as m, deleteTurnSafely as n, listProjectFiles as nt, TRANSCRIPT_TRIM_TO_EVENTS as o, ChatReferenceScope as ot, fmtCost as p, summarizeOutcomes as q, truncateTurnsAt as r, CHATS_TRIGGER as rt, capTranscriptEvents as s, chatReferenceTokensFromText as st, countNeighbors as t, ListProjectFilesOptions as tt, turnContextSize as u, blendHsl as ut, previewLine as v, HunkResolution as w, DiffOp as x, shortId as y, ResolvedApproval as z };
675
- //# sourceMappingURL=turn-operations-zkZ1L0eb.d.ts.map
675
+ //# sourceMappingURL=turn-operations-CrCrJnvo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"turn-operations-zkZ1L0eb.d.ts","names":[],"sources":["../src/chat/color-gradient.ts","../src/chat/completion-chats.ts","../src/chat/files-discovery.ts","../src/chat/completion-files.ts","../src/chat/completion-skills.ts","../src/chat/edit-approval.ts","../src/tools/edit-utils.ts","../src/chat/edit-diff.ts","../src/chat/format.ts","../src/chat/streaming-pure.ts","../src/chat/turn-operations.ts"],"mappings":";;;;;;;;iBAmFgB,QAAA,CAAS,IAAA,UAAc,EAAA,UAAY,CAAA;;;;;;iBAuBnC,eAAA,CAAgB,IAAA,UAAc,EAAA,UAAY,CAAA;;;cCxF7C,aAAA;AAAA,KAKD,kBAAA;AAAA,UAEK,kBAAA;EACf,EAAA;EACA,KAAA;EACA,SAAA;EACA,gBAAA;EACA,QAAA;EACA,WAAA;EACA,SAAA;AAAA;AAAA,UAGe,iBAAA;EACf,KAAA,EAAO,kBAAkB;EACzB,KAAA;AAAA;AAAA,iBAwGc,6BAAA,CAA8B,IAAA;EAC5C,UAAA,iBAA2B,kBAAA;EAC3B,mBAAA,kBAAqC,kBAAA;EACrC,QAAA,SAAiB,kBAAA;EACjB,aAAA,SAAsB,OAA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WAAiB,WAAW;;;;;;;ATrBrF;AAwGP;iBS3BgB,UAAA,CAAW,IAAiB,EAAX,WAAW;;;;;;iBA+B5B,cAAA,CACd,OAAA,qBACA,MAAA;EACG,MAAA;EAAgB,KAAA;AAAA"}
1
+ {"version":3,"file":"turn-operations-CrCrJnvo.d.ts","names":[],"sources":["../src/chat/color-gradient.ts","../src/chat/completion-chats.ts","../src/chat/files-discovery.ts","../src/chat/completion-files.ts","../src/chat/completion-skills.ts","../src/chat/edit-approval.ts","../src/tools/edit-utils.ts","../src/chat/edit-diff.ts","../src/chat/format.ts","../src/chat/streaming-pure.ts","../src/chat/turn-operations.ts"],"mappings":";;;;;;;;iBAmFgB,QAAA,CAAS,IAAA,UAAc,EAAA,UAAY,CAAA;;;;;;iBAuBnC,eAAA,CAAgB,IAAA,UAAc,EAAA,UAAY,CAAA;;;cCxF7C,aAAA;AAAA,KAKD,kBAAA;AAAA,UAEK,kBAAA;EACf,EAAA;EACA,KAAA;EACA,SAAA;EACA,gBAAA;EACA,QAAA;EACA,WAAA;EACA,SAAA;AAAA;AAAA,UAGe,iBAAA;EACf,KAAA,EAAO,kBAAkB;EACzB,KAAA;AAAA;AAAA,iBAwGc,6BAAA,CAA8B,IAAA;EAC5C,UAAA,iBAA2B,kBAAA;EAC3B,mBAAA,kBAAqC,kBAAA;EACrC,QAAA,SAAiB,kBAAA;EACjB,aAAA,SAAsB,OAAA,UAAiB,kBAAA;EACvC,KAAA;AAAA,IACE,kBAAA,CAAmB,iBAAA;AAAA,iBAoDP,2BAAA,CACd,UAAmD,WAA9B,mBAAmB;AAAA,iBAe1B,2BAAA,CAA4B,IAAY;;;;;;;ADpIxD;;;;;;;;AAA4D;AAuB5D;AAAA,UErFiB,SAAA;;EAEf,IAAA;EFmF8B;EEjF9B,IAAA;EFiFwD;EE/ExD,MAAA;EF+EiE;;;;ACxFnE;;ECgBE,IAAA;AAAA;ADhBwB;AAAA,UC6DT,uBAAA;EDxDa;EC0D5B,GAAA;ED1D4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,GAAS,MAAA,CAAO,OAAO;AAAA;;;;;;;;;;;;iBAkBT,iBAAA,CAAkB,IAAA;EAChC,OAAA;EACA,MAAA;EACA,QAAA;EACA,MAAA,GAAS,MAAA,CAAO,OAAO;EACvB,UAAA;AAAA,GACC,eAAA;;;;APKqC;AAoDxC;;;;AACqD;AAerD;;;;AAAwD;iBOvDxC,WAAA,CAAY,IAAA,UAAc,QAAA,WAAmB,IAAA;;;;iBC5I7C,yBAAA,CAA0B,MAAA,EAAQ,WAAA,KAAgB,WAAW;ATsF7E;AAAA,iBSzEgB,iCAAA,CAAkC,MAAA,EAAQ,WAAA,IAAe,KAAA,EAAO,KAAA,GAAQ,WAAA;;;;;;;ATyErB;;;;ACxFnE;;iBQ2CgB,eAAA,CAAgB,KAA4B,EAArB,SAAS;;AR3CtB;AAK1B;;;;AAA8B;AAE9B;;;;;;cQyDa,qBAAA;;cAEA,yBAAA;;;;ARpDF;AAGX;;;;iBQ8EgB,mBAAA,CACd,MAAA,EAAQ,WAAA,IACR,GAAA,WACA,MAAA,YACC,WAAW;;;;;;;;;;ATXqD;;;;ACxFnE;;;;AAA0B;AAK1B;iBSUgB,eAAA,CAAgB,KAAA,WAAgB,WAAA,IAAe,MAAA,WAAiB,WAAW;;;ATV7D;AAE9B;;;;;;;;;;;;AAOW;AAGX;iBSuBgB,gBAAA,CAAiB,KAAA,WAAgB,WAAA,IAAe,MAAA,WAAiB,WAAW;;;;;;;ATrBrF;AAwGP;iBS3BgB,UAAA,CAAW,IAAiB,EAAX,WAAW;;;;;;iBA+B5B,cAAA,CACd,OAAA,qBACA,MAAA;EACG,MAAA;EAAgB,KAAA;AAAA"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as AgentProviderError, c as CONTEXT_EXCEEDED_MESSAGE_PATTERNS, f as matchesContextExceeded, i as AgentContextExceededError, l as ClassifiedError, n as AgentAbortedError, o as AgentToolNotAllowedError, r as AgentBudgetExceededError, u as ClassifiedErrorKind } from "./timeout-8vSIRjzl.js";
2
- import { $d as PromptPart, $f as SessionData, $p as OpenRouterParams, Ad as AgentStats, Af as toolOutputBudgetByteLength, Bm as AnthropicParams, Bp as StreamOptions, Cf as ToolResultImageContent, Cm as OpenAIParams, Dd as AgentBehavior, Df as ToolResultVideoContent, Ef as ToolResultTextContent, Ff as ToolMap, Fi as AgentHookMap, Gp as TurnResult, Hd as McpServerConfig, Hp as ToolCall, Ii as AgentHooks, Jd as ProgressNudgeKind, Jf as SkillResource, Kf as SkillConfig, Lf as ReadStateEntry, Li as AgentOptions, Lp as Provider, Mf as toolResultToText, Mm as CerebrasParams, Nd as ChildRunStats, Nf as ToolContext, Od as AgentClock, Of as TurnFinishReason, Pf as ToolDef, Pi as Agent, Qd as PromptImagePart, Qf as Session, Rd as DEFAULT_AGENT_CLOCK, Rf as ReadStateMap, Rp as ProviderCapabilities, Sf as ToolResultDocumentRefContent, Tf as ToolResultMetadata, Ud as McpToolHookContext, Up as ToolResult, Wp as ToolSpec, Xd as PromptAudioPart, Xf as SkillsConfig, Yd as ProgressNudgeMessage, Zd as PromptDocumentPart, Zf as CreateSessionOptions, _ as MutationValidationFailure, _f as ToolHookContext, af as ResolveContentRefBlock, b as MutationValidationResult, bf as ToolResultContent, br as InteractionToolOptions, cf as SessionContentBlock, df as SessionMessage, dp as RemoteStoreOptions, ef as PromptTextPart, er as ValidationResult, ff as SessionTurn, g as MutationValidationBatch, gs as SpawnToolState, h as statsByModel, hc as McpConnection, hf as ThinkingLevel, hs as SpawnToolOptions, if as ResolveContentRef, jf as toolOutputByteLength, kd as AgentRunOptions, kf as TurnUsage, lf as SessionEndStatus, m as flattenTurns, mf as StreamHookContext, nf as RepeatGuardConfig, np as SessionStore, of as RetryConfig, p as ModelUsage, pf as SpawnHookContext, qd as OAuthRefreshHookContext, rf as RepeatGuardToolMatcher, sf as RunHookMap, t as Preset, tf as PromptVideoPart, tp as SessionRun, uf as SessionHookContext, us as ChildAgent, v as MutationValidationHooksOptions, vf as ToolOutcome, wf as ToolResultImageRefContent, x as SuccessfulMutationOutcome, xf as ToolResultDocumentContent, y as MutationValidationMutation, yf as ToolResultAudioContent, zp as StreamCallbacks } from "./index-X02SI0nt.js";
2
+ import { Af as ToolOutcome, Bd as AgentClock, Bf as TurnFinishReason, Cf as SessionMessage, Cp as RemoteStoreOptions, Df as ThinkingLevel, Ef as StreamHookContext, Ff as ToolResultImageContent, Fi as AgentHookMap, Fm as OpenAIParams, Gd as ChildRunStats, Gf as ToolContext, Hd as AgentStats, Hf as toolOutputBudgetByteLength, If as ToolResultImageRefContent, Ii as AgentHooks, Kf as ToolDef, Lf as ToolResultMetadata, Li as AgentOptions, Mf as ToolResultContent, Nf as ToolResultDocumentContent, Pf as ToolResultDocumentRefContent, Pi as Agent, Qm as AnthropicParams, Qp as StreamOptions, Rf as ToolResultTextContent, Sf as SessionHookContext, Tf as SpawnHookContext, Uf as toolOutputByteLength, Vd as AgentRunOptions, Vf as TurnUsage, Wf as toolResultToText, Wm as CerebrasParams, Xd as DEFAULT_AGENT_CLOCK, Xf as ReadStateMap, Xp as ProviderCapabilities, Yf as ReadStateEntry, Yp as Provider, Zp as StreamCallbacks, _ as MutationValidationFailure, _f as ResolveContentRefBlock, af as OAuthRefreshHookContext, b as MutationValidationResult, bc as McpConnection, bf as SessionContentBlock, br as InteractionToolOptions, bs as SpawnToolOptions, cf as PromptAudioPart, cp as SkillsConfig, df as PromptPart, dm as OpenRouterParams, dp as SessionData, ef as McpServerConfig, em as ToolCall, er as ValidationResult, ff as PromptTextPart, g as MutationValidationBatch, gf as ResolveContentRef, h as statsByModel, hf as RepeatGuardToolMatcher, hs as ChildAgent, ip as SkillConfig, jf as ToolResultAudioContent, kf as ToolHookContext, lf as PromptDocumentPart, lp as CreateSessionOptions, m as flattenTurns, mf as RepeatGuardConfig, mp as SessionStore, nm as ToolSpec, of as ProgressNudgeKind, op as SkillResource, p as ModelUsage, pf as PromptVideoPart, pp as SessionRun, qf as ToolMap, rm as TurnResult, sf as ProgressNudgeMessage, t as Preset, tf as McpToolHookContext, tm as ToolResult, uf as PromptImagePart, up as Session, v as MutationValidationHooksOptions, vf as RetryConfig, wf as SessionTurn, x as SuccessfulMutationOutcome, xf as SessionEndStatus, xs as SpawnToolState, y as MutationValidationMutation, yf as RunHookMap, zd as AgentBehavior, zf as ToolResultVideoContent } from "./index-mUT8TI9j.js";
3
3
  import { _ as TaskStallInfo, a as ContextType, c as ExecutionContext, g as TaskHandle, h as TaskExitInfo, l as ExecutionHandle, m as TaskEntry, n as ContextCapabilities, o as DetachedTasksCapability, p as SpawnConfig, r as ContextHardening, s as ExecResult, t as BackgroundTaskStatus } from "./types-BDccavwj.js";
4
4
  import { t as SandboxProvider } from "./sandbox-CgjG2VvQ.js";
5
5
  export { type Agent, AgentAbortedError, type AgentBehavior, AgentBudgetExceededError, type AgentClock, AgentContextExceededError, type AgentHookMap, type AgentHooks, type AgentOptions, AgentProviderError, type AgentRunOptions, type AgentStats, AgentToolNotAllowedError, type AnthropicParams, type BackgroundTaskStatus, CONTEXT_EXCEEDED_MESSAGE_PATTERNS, type CerebrasParams, type ChildAgent, type ChildRunStats, type ClassifiedError, type ClassifiedErrorKind, type ContextCapabilities, type ContextHardening, type ContextType, type CreateSessionOptions, DEFAULT_AGENT_CLOCK, type DetachedTasksCapability, type ExecResult, type ExecutionContext, type ExecutionHandle, type InteractionToolOptions, type McpConnection, type McpServerConfig, type McpToolHookContext, type ModelUsage, type MutationValidationBatch, type MutationValidationFailure, type MutationValidationHooksOptions, type MutationValidationMutation, type MutationValidationResult, type OAuthRefreshHookContext, type OpenAIParams, type OpenRouterParams, type Preset, type ProgressNudgeKind, type ProgressNudgeMessage, type PromptAudioPart, type PromptDocumentPart, type PromptImagePart, type PromptPart, type PromptTextPart, type PromptVideoPart, type Provider, type ProviderCapabilities, type ReadStateEntry, type ReadStateMap, type RemoteStoreOptions, type RepeatGuardConfig, type RepeatGuardToolMatcher, type ResolveContentRef, type ResolveContentRefBlock, type RetryConfig, type RunHookMap, type SandboxProvider, type Session, type SessionContentBlock, type SessionData, type SessionEndStatus, type SessionHookContext, type SessionMessage, type SessionRun, type SessionStore, type SessionTurn, type SkillConfig, type SkillResource, type SkillsConfig, type SpawnConfig, type SpawnHookContext, type SpawnToolOptions, type SpawnToolState, type StreamCallbacks, type StreamHookContext, type StreamOptions, type SuccessfulMutationOutcome, type TaskEntry, type TaskExitInfo, type TaskHandle, type TaskStallInfo, type ThinkingLevel, type ToolCall, type ToolContext, type ToolDef, type ToolHookContext, type ToolMap, type ToolOutcome, type ToolResult, type ToolResultAudioContent, type ToolResultContent, type ToolResultDocumentContent, type ToolResultDocumentRefContent, type ToolResultImageContent, type ToolResultImageRefContent, type ToolResultMetadata, type ToolResultTextContent, type ToolResultVideoContent, type ToolSpec, type TurnFinishReason, type TurnResult, type TurnUsage, type ValidationResult, flattenTurns, matchesContextExceeded, statsByModel, toolOutputBudgetByteLength, toolOutputByteLength, toolResultToText };
@@ -127,6 +127,7 @@ ctx.registerHook(event, handler)
127
127
  ctx.registerMcpServer(serverConfig)
128
128
  ctx.registerSkill(skillConfig)
129
129
  ctx.registerCompletionProvider(provider)
130
+ ctx.registerInlineAutocompleteProvider(provider)
130
131
  ctx.registerCommand(command)
131
132
  ctx.registerTheme(theme)
132
133
  ctx.registerAgent(profile)
@@ -152,6 +153,7 @@ ctx.registerConfigItem(categoryId?, item)
152
153
  | `registerMcpServer(McpServerConfig)` | Programmatic MCP server (no `mcps.json` edit) | Discovered `mcps.json` wins on `name` collision. |
153
154
  | `registerSkill(SkillConfig)` | Programmatic `defineSkill()` injection | Force-included in the user's `enabledSkills` allowlist so an existing allowlist doesn't silently hide the extension's skill. |
154
155
  | `registerCompletionProvider(provider)` | New `/` `@` `!` triggers in the prompt | One-character trigger; collides with built-ins (`/` `@` `#`) → ignored. |
156
+ | `registerInlineAutocompleteProvider({ id, suggest })` | Ghost-text autocomplete in the prompt (no trigger — runs on every keystroke pause) | `suggest(ctx)` returns a suffix string, a candidate list (user rotates with up/down, Tab accepts), or null. Gated by the user's `inlineAutocomplete` setting (default off). Built-in path provider runs first; first non-empty answer wins; dedupe by `id`, first registration wins; 150 ms per-provider deadline. |
155
157
  | `registerCommand(Command)` | A `/<name>` workflow — ordered handler steps (or a bare `run`) that `emit` local output (full markdown, or collapsed diff-colorable `detail` blocks), call `ctx.runAgent` for interactive sub-runs, `ctx.generateData` for silent schema-pinned JSON (no turns, no transcript; takes a zod v4 schema — result type inferred — or a plain JSON Schema object; optional `model` pins a catalog model), or `ctx.spawnAgents?` for parallel ISOLATED child agents (own context windows, full tool set, per-task `model` pinning — rendered like `spawn`-tool children); `ctx.appendContext?` persists a compact model-visible context note; `ctx.session?` exposes a read-only live view of the surrounding session (`id`/`turns`/`runs`/`metadata`) and `ctx.interaction?` offers user interaction (`confirm` yes/no, `askUser` forms — selects support `multi: true` — `presentPlan` approval) — the optional surfaces are host-dependent, so guard for bare hosts | `emit` output is display-only (persisted, never sent to the model); `appendContext` is the sanctioned model-visible escape hatch. Names dedupe first-registration-wins. Extensions extend `/` here rather than via a raw completion provider. |
156
158
  | `registerTheme(Theme)` | New `Settings → Theme` option | The picker's option list folds extension themes in at render time; built-in theme ids (`default`, `catppuccin-mocha`, …) shadow extension ids on collision. |
157
159
  | `registerAgent(AgentProfile)` | A complete agent (preset = tools + system + behavior + hooks + mcpServers + skills) added to the registry. Appears in the `shift+tab` cycle alongside Build / Plan. | Built-in profiles (`build`, `plan`) win on id collision; host-supplied profiles win over extensions too. |
@@ -889,7 +891,41 @@ ctx.registerConfigItem('limits', {
889
891
 
890
892
  `scope` is currently host metadata; existing stores still persist values in the per-extension settings bag unless a host implements scoped writes. `onChange` is likewise advisory for hosts/UIs (`'live'`, `'agent-rebuild'`, or `'restart'`). `requiresRestart` remains accepted as a compatibility hint.
891
893
 
892
- Item types: `boolean` (toggle), `number` (input with `min`/`max`/`step`), `string` (input, optional `pattern`/`multiline`), `enum` (cycling choice over static `options`), and `model` — an inline searchable picker over the host's credentialed model catalog (the ctrl+m interaction: type to filter, `↵` picks; with `multi: true`, `↵` toggles and `esc` applies). `model` persists a plain id — or a comma-separated id list when `multi` — and degrades to the free string input on hosts without a catalog, so read it with a tolerant parser and validate ids against `ctx.runtime.models()` yourself.
894
+ Item types: `boolean` (toggle), `number` (input with `min`/`max`/`step`), `string` (input, optional `pattern`/`multiline`), `enum` (cycling choice over static `options`), `model` — an inline searchable picker over the host's credentialed model catalog (the ctrl+m interaction: type to filter, `↵` picks; with `multi: true`, `↵` toggles and `esc` applies) — and `action` (imperative row, below). `model` persists a plain id — or a comma-separated id list when `multi` — and degrades to the free string input on hosts without a catalog, so read it with a tolerant parser and validate ids against `ctx.runtime.models()` yourself.
895
+
896
+ ### Config actions (`type: 'action'`)
897
+
898
+ An `action` item renders as a **press ↵ to run** row instead of a value editor — use it for imperative setup steps that belong next to the settings they configure (start a service, log in, run a migration):
899
+
900
+ ```ts
901
+ ctx.registerConfigItem('headroom', {
902
+ type: 'action',
903
+ key: 'runContainer',
904
+ label: 'Run container',
905
+ description: 'Start the Headroom proxy in Docker and set Base URL to it.',
906
+ run: async () => {
907
+ const baseUrl = await startMyService() // throw on failure — the message lands on the row
908
+ return { message: `proxy running at ${baseUrl}`, config: { baseUrl } }
909
+ },
910
+ // Optional passive probe — no ↵ needed: called when the settings panel
911
+ // surfaces the row (and re-called after any action settles), so the row
912
+ // shows live state. Return undefined to stay quiet (e.g. tool missing).
913
+ status: async () => {
914
+ const url = await findMyService()
915
+ return url ? { state: 'ok', message: `running at ${url}` } : { state: 'off', message: 'not running' }
916
+ },
917
+ })
918
+ ```
919
+
920
+ The contract:
921
+
922
+ - **Success** — resolve with `{ message?, config? }` (or nothing). `message` becomes the row's feedback line; `config` names THIS extension's config keys to persist. Actions can't write settings directly — the host validates each returned entry against the registered item's schema (`sanitizeExtensionConfigActionPatch`) and drops anything unknown or invalid, so a buggy action degrades instead of corrupting settings.
923
+ - **Failure** — throw / reject; the error message renders on the row in the error color.
924
+ - **Runtime** — the host serializes actions (one in flight per settings panel) but imposes no timeout: bound your own work (`AbortSignal.timeout`, CLI timeouts) or the row shows `running…` until you settle.
925
+ - **No value** — action keys hold nothing: `ctx.config.get('runContainer')` is `undefined`, and action items are omitted from the GUI wire schema (`toWireConfigSchema`) because `run` can't cross IPC — today actions are TUI-only.
926
+ - **Status probe** — the optional `status` callback is passive decoration: it must be fast (the host caps each probe at ~3s and drops late results), must not mutate anything, and a throw is treated as "no status". `state` drives the row color: `ok` (accent), `off` (mute), `error` (error).
927
+
928
+ The bundled `headroom` extension uses this for a **Run container** / **Stop container** pair managing a `zidane-headroom` container (`ghcr.io/chopratejas/headroom`) on the host: run reuses/starts/creates the container published on an ephemeral loopback port and returns `config: { baseUrl }` so the proxy URL is re-synced on every run; its `status` probe shows `running at …` / `container stopped` when you open Settings; stop leaves `baseUrl` untouched so a later run picks up where you left off. Run also forwards any provider credentials present in the host environment (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, AWS / Google) into the container via `docker run -e KEY` (value read from the host env, never placed in argv), and warns in the result message when none are found — a proxy without credentials boots and answers `/stats` but fails open on compression.
893
929
 
894
930
  ## Limitations + gotchas (v1)
895
931
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zidane",
3
- "version": "6.1.13",
3
+ "version": "6.2.0",
4
4
  "description": "an agent that goes straight to the goal",
5
5
  "type": "module",
6
6
  "private": false,