zidane 7.1.8 → 7.1.10
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-BxRfclPQ.js → acp-Bt-eb5Z8.js} +2 -2
- package/dist/{acp-BxRfclPQ.js.map → acp-Bt-eb5Z8.js.map} +1 -1
- package/dist/acp-cli.js +3 -3
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-CJbmpTmA.js → agent-B6etKd_o.js} +44 -10
- package/dist/agent-B6etKd_o.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{approvals-DMxUgyVd.js → approvals-CIKGWmiU.js} +6 -6
- package/dist/{approvals-DMxUgyVd.js.map → approvals-CIKGWmiU.js.map} +1 -1
- package/dist/{auth-DvMdkpGD.js → auth-CDDNbEmd.js} +2 -2
- package/dist/{auth-DvMdkpGD.js.map → auth-CDDNbEmd.js.map} +1 -1
- package/dist/{cache-telemetry-ehVdWsg2.js → cache-telemetry-D0xemhgK.js} +2 -2
- package/dist/{cache-telemetry-ehVdWsg2.js.map → cache-telemetry-D0xemhgK.js.map} +1 -1
- package/dist/chat/pure.d.ts +57 -4
- package/dist/chat/pure.d.ts.map +1 -1
- package/dist/chat/pure.js +4 -4
- package/dist/chat.d.ts +5 -5
- package/dist/chat.js +5 -5
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/extensions.d.ts +2 -2
- package/dist/extensions.js +3 -2
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-BMOl2Bog.d.ts → index-C45NxBZm.d.ts} +5 -5
- package/dist/{index-BMOl2Bog.d.ts.map → index-C45NxBZm.d.ts.map} +1 -1
- package/dist/{index-DCYh6lOp.d.ts → index-dXnPmqFx.d.ts} +129 -17
- package/dist/index-dXnPmqFx.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{ipc-BqEflvqC.js → ipc-CNRlwg7u.js} +2 -2
- package/dist/{ipc-BqEflvqC.js.map → ipc-CNRlwg7u.js.map} +1 -1
- package/dist/ipc.d.ts +5 -5
- package/dist/ipc.js +3 -3
- 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/{cred-keys-BbbBr4q3.js → panels-B6gRk4bf.js} +174 -2
- package/dist/panels-B6gRk4bf.js.map +1 -0
- package/dist/plugins.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/restate.js +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/{shell-path-DeSQjoHJ.js → shell-path-Db04cLEP.js} +6 -6
- package/dist/{shell-path-DeSQjoHJ.js.map → shell-path-Db04cLEP.js.map} +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{todo-edits-Dw2oO2ON.js → todo-edits-PxMJvYIX.js} +91 -2
- package/dist/todo-edits-PxMJvYIX.js.map +1 -0
- package/dist/{tool-formatters-BDm0tjgy.d.ts → tool-formatters-Bl1afA8N.d.ts} +2 -2
- package/dist/{tool-formatters-BDm0tjgy.d.ts.map → tool-formatters-Bl1afA8N.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-DjcEsOYq.d.ts → transcript-anchors-BfI3ZXh1.d.ts} +3 -3
- package/dist/transcript-anchors-BfI3ZXh1.d.ts.map +1 -0
- package/dist/tui.d.ts +3 -3
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +425 -67
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-Rqk3E0Ue.d.ts → turn-operations-D0x_g6XQ.d.ts} +14 -8
- package/dist/turn-operations-D0x_g6XQ.d.ts.map +1 -0
- package/dist/{turn-operations-JynC5ODZ.js → turn-operations-D_k_FEur.js} +21 -10
- package/dist/{turn-operations-JynC5ODZ.js.map → turn-operations-D_k_FEur.js.map} +1 -1
- package/dist/types.d.ts +1 -1
- package/docs/EXTENSIONS.md +27 -6
- package/docs/PANELS.md +86 -0
- package/docs/README.md +2 -0
- package/package.json +1 -1
- package/dist/agent-CJbmpTmA.js.map +0 -1
- package/dist/cred-keys-BbbBr4q3.js.map +0 -1
- package/dist/index-DCYh6lOp.d.ts.map +0 -1
- package/dist/todo-edits-Dw2oO2ON.js.map +0 -1
- package/dist/transcript-anchors-DjcEsOYq.d.ts.map +0 -1
- package/dist/turn-operations-Rqk3E0Ue.d.ts.map +0 -1
package/dist/acp-cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { m as openaiCompat } from "./openai-compat-Dy56weK8.js";
|
|
3
|
-
import { Ct as basic_default } from "./agent-
|
|
3
|
+
import { Ct as basic_default } from "./agent-B6etKd_o.js";
|
|
4
4
|
import { r as createProcessContext } from "./contexts-CRE9pw07.js";
|
|
5
5
|
import { createSandboxContext } from "./contexts/sandbox.js";
|
|
6
6
|
import { p as resolveStorageDirs } from "./plugins-gbI7SBA6.js";
|
|
@@ -11,8 +11,8 @@ import { cerebras } from "./providers/cerebras.js";
|
|
|
11
11
|
import { openai } from "./providers/openai.js";
|
|
12
12
|
import { openrouter } from "./providers/openrouter.js";
|
|
13
13
|
import { xai } from "./providers/xai.js";
|
|
14
|
-
import { d as StartUsageError, f as buildStartLocalOptions, h as startProviderNames, i as withAcpDefaultTools, m as startLocalArgOptions, p as parseStartArgValues, t as runAcpStdioServer } from "./acp-
|
|
15
|
-
import { T as modelsForDescriptor, h as BUILTIN_PROVIDERS, i as readCredentials, r as credentialsPath, t as detectAuth, v as credKeyOf } from "./auth-
|
|
14
|
+
import { d as StartUsageError, f as buildStartLocalOptions, h as startProviderNames, i as withAcpDefaultTools, m as startLocalArgOptions, p as parseStartArgValues, t as runAcpStdioServer } from "./acp-Bt-eb5Z8.js";
|
|
15
|
+
import { T as modelsForDescriptor, h as BUILTIN_PROVIDERS, i as readCredentials, r as credentialsPath, t as detectAuth, v as credKeyOf } from "./auth-CDDNbEmd.js";
|
|
16
16
|
import { createDaytonaProvider } from "./contexts/daytona.js";
|
|
17
17
|
import { createDockerContext } from "./contexts/docker.js";
|
|
18
18
|
import { createE2BProvider } from "./contexts/e2b.js";
|
package/dist/acp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kg as McpServerConfig, Pm as Provider, R_ as TurnUsage, U_ as ToolDef, Xi as AgentOptions, bv as Session, f_ as SessionContentBlock, k_ as ToolResultContent, kg as AgentBehavior, qi as Agent, r_ as PromptPart, t as Preset, wv as SessionStore } from "./index-dXnPmqFx.js";
|
|
2
2
|
import { m as ExecutionContext } from "./isolation-Kfoof0MM.js";
|
|
3
3
|
import { Readable, Writable } from "node:stream";
|
|
4
4
|
|
package/dist/acp.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as JsonRpcRemoteError, r as createJsonRpcConnection } from "./json-rpc-rSWMUh9b.js";
|
|
2
|
-
import { a as wrapToolsForAcpClient, c as sessionBlocksToAcp, i as withAcpDefaultTools, l as stopReasonFromRun, n as AcpProtocolError, o as acpMcpServersToZidane, r as createAcpServer, s as acpPromptToPromptParts, t as runAcpStdioServer, u as toolResultToAcpContent } from "./acp-
|
|
2
|
+
import { a as wrapToolsForAcpClient, c as sessionBlocksToAcp, i as withAcpDefaultTools, l as stopReasonFromRun, n as AcpProtocolError, o as acpMcpServersToZidane, r as createAcpServer, s as acpPromptToPromptParts, t as runAcpStdioServer, u as toolResultToAcpContent } from "./acp-Bt-eb5Z8.js";
|
|
3
3
|
export { AcpProtocolError, JsonRpcRemoteError, acpMcpServersToZidane, acpPromptToPromptParts, createAcpServer, createJsonRpcConnection, runAcpStdioServer, sessionBlocksToAcp, stopReasonFromRun, toolResultToAcpContent, withAcpDefaultTools, wrapToolsForAcpClient };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as rewriteMessagesToWire, H as toWireName, I as augmentMcpDoubleUnderscoreAliases, L as buildAliasMaps, M as buildPromptMessage, N as canonicalizePrompt, R as buildSanitizedWireAliases, V as toCanonicalName, w as fillEstimatedCost, z as rewriteContentToCanonical } from "./openai-compat-Dy56weK8.js";
|
|
2
2
|
import { a as documentBlockMarker, c as toolOutputBudgetByteLength, l as toolOutputByteLength, o as isWireTurn, s as sanitizeToolResultMetadata, t as DEFAULT_AGENT_CLOCK, u as toolResultToText } from "./types-CWgENVLY.js";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as resolveOldString, d as isReservedCredKey, g as describeVia, h as buildContextBreakdown, m as buildContextSegments, v as stripLineNumberPrefixes, y as styleReplacementForVia } from "./panels-B6gRk4bf.js";
|
|
4
4
|
import { n as estimateTokens, r as utf8ByteLength } from "./utils-ngQzYzZD.js";
|
|
5
5
|
import { a as formatDuration, c as previewLine, o as formatTaskStatus, s as formatTaskSummary } from "./format-BF745pLL.js";
|
|
6
6
|
import { r as createProcessContext, t as resolveDetachedTasksCapability } from "./contexts-CRE9pw07.js";
|
|
@@ -2924,8 +2924,22 @@ const KEYBINDING_DEFS = [
|
|
|
2924
2924
|
{
|
|
2925
2925
|
action: "openArtifacts",
|
|
2926
2926
|
default: "ctrl+shift+a",
|
|
2927
|
-
label: "
|
|
2928
|
-
description: "toggle the
|
|
2927
|
+
label: "panel",
|
|
2928
|
+
description: "toggle the side panel (artifacts the session produced, plus extension panels) — same as clicking the ▢ chip on the title bar",
|
|
2929
|
+
group: "Global"
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
action: "panelNext",
|
|
2933
|
+
default: "ctrl+shift+]",
|
|
2934
|
+
label: "next panel",
|
|
2935
|
+
description: "cycle to the next side-panel tab (opens the panel)",
|
|
2936
|
+
group: "Global"
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
action: "panelPrev",
|
|
2940
|
+
default: "ctrl+shift+[",
|
|
2941
|
+
label: "previous panel",
|
|
2942
|
+
description: "cycle to the previous side-panel tab (opens the panel)",
|
|
2929
2943
|
group: "Global"
|
|
2930
2944
|
},
|
|
2931
2945
|
{
|
|
@@ -7755,7 +7769,8 @@ function captureContributions(perExtSinks) {
|
|
|
7755
7769
|
toolRenderers: perExtSinks.toolRenderers,
|
|
7756
7770
|
artifactRenderers: perExtSinks.artifactRenderers
|
|
7757
7771
|
},
|
|
7758
|
-
gui: { panels: perExtSinks.guiPanels }
|
|
7772
|
+
gui: { panels: perExtSinks.guiPanels },
|
|
7773
|
+
panels: perExtSinks.guiPanels
|
|
7759
7774
|
};
|
|
7760
7775
|
}
|
|
7761
7776
|
async function setupExtension(candidate) {
|
|
@@ -7916,7 +7931,7 @@ function mergeContributions(active, inactive = [], options = {}) {
|
|
|
7916
7931
|
seenArtifactRendererKinds.add(renderer.kind);
|
|
7917
7932
|
artifactRenderers.push(renderer);
|
|
7918
7933
|
}
|
|
7919
|
-
guiPanels.push(...c.
|
|
7934
|
+
guiPanels.push(...c.panels);
|
|
7920
7935
|
}
|
|
7921
7936
|
for (const entry of inactive) {
|
|
7922
7937
|
const c = entry.contributions;
|
|
@@ -7967,6 +7982,7 @@ function mergeContributions(active, inactive = [], options = {}) {
|
|
|
7967
7982
|
artifactRenderers
|
|
7968
7983
|
},
|
|
7969
7984
|
guiContributions: { panels: guiPanels },
|
|
7985
|
+
panels: guiPanels,
|
|
7970
7986
|
dispose: options.dispose ?? (async () => {})
|
|
7971
7987
|
};
|
|
7972
7988
|
}
|
|
@@ -8765,12 +8781,28 @@ function makeContext(opts) {
|
|
|
8765
8781
|
});
|
|
8766
8782
|
};
|
|
8767
8783
|
const registerPanel = (panel) => {
|
|
8768
|
-
if (!guardOpen("
|
|
8769
|
-
if (!panel || typeof panel.id !== "string") {
|
|
8770
|
-
logger.warn("
|
|
8784
|
+
if (!guardOpen("registerPanel")) return;
|
|
8785
|
+
if (!panel || typeof panel.id !== "string" || !panel.id.trim()) {
|
|
8786
|
+
logger.warn("registerPanel: missing id");
|
|
8771
8787
|
return;
|
|
8772
8788
|
}
|
|
8773
|
-
|
|
8789
|
+
if (typeof panel.label !== "string" || !panel.label.trim()) {
|
|
8790
|
+
logger.warn("registerPanel: missing label", { id: panel.id });
|
|
8791
|
+
return;
|
|
8792
|
+
}
|
|
8793
|
+
if (typeof panel.load !== "function") {
|
|
8794
|
+
logger.warn("registerPanel: load must be a function", { id: panel.id });
|
|
8795
|
+
return;
|
|
8796
|
+
}
|
|
8797
|
+
const id = panel.id.includes("/") ? panel.id : `${definition.name}/${panel.id}`;
|
|
8798
|
+
const idx = sinks.guiPanels.findIndex((p) => p.id === id);
|
|
8799
|
+
const entry = {
|
|
8800
|
+
...panel,
|
|
8801
|
+
id,
|
|
8802
|
+
owner: definition.name
|
|
8803
|
+
};
|
|
8804
|
+
if (idx === -1) sinks.guiPanels.push(entry);
|
|
8805
|
+
else sinks.guiPanels[idx] = entry;
|
|
8774
8806
|
};
|
|
8775
8807
|
return {
|
|
8776
8808
|
name: definition.name,
|
|
@@ -8832,6 +8864,7 @@ function makeContext(opts) {
|
|
|
8832
8864
|
hudWriter?.setBanner(lines, opts);
|
|
8833
8865
|
}
|
|
8834
8866
|
},
|
|
8867
|
+
registerPanel,
|
|
8835
8868
|
gui: { registerPanel },
|
|
8836
8869
|
submitPrompt: (text, submitOpts) => promptBridge?.submit(text, submitOpts) ?? false,
|
|
8837
8870
|
runtime: {
|
|
@@ -9480,6 +9513,7 @@ const EMPTY_EXTENSION_REGISTRY = Object.freeze({
|
|
|
9480
9513
|
artifactRenderers: Object.freeze([])
|
|
9481
9514
|
}),
|
|
9482
9515
|
guiContributions: Object.freeze({ panels: Object.freeze([]) }),
|
|
9516
|
+
panels: Object.freeze([]),
|
|
9483
9517
|
dispose: async () => {}
|
|
9484
9518
|
});
|
|
9485
9519
|
//#endregion
|
|
@@ -18411,4 +18445,4 @@ function createAgent(rawOptions) {
|
|
|
18411
18445
|
//#endregion
|
|
18412
18446
|
export { ExtensionInstallError as $, defaultRepeatGuardTracked as $n, DEFAULT_KEYBINDINGS as $t, buildPostCompactAttachments as A, resolveExtensionConfigValue as An, reserveChildLabel as At, buildFullCompactPrompt as B, fileKind as Bn, multiEdit as Bt, rehomePersistedStubs as C, setDebugLogSink as Cn, basic_default as Ct, resolvePersistDir as D, isValidExtensionConfigItem as Dn, createToolSearchTool as Dt, resolveMcpWarningsDir as E, coerceExtensionConfigInput as En, waitTask as Et, BASE_INSTRUCTIONS as F, serializedPayloadBytes as Fn, createShellTool as Ft, sliceForCompaction as G, renderArtifactRow as Gn, createInteractionTool as Gt, buildUpToCompactPrompt as H, parseShortstat as Hn, formatModelLine as Ht, NO_TOOLS_PREAMBLE as I, BUILTIN_ARTIFACT_KINDS as In, shell as It, truncateHeadForPtlRetry as J, AUTO_COMPACT_MIN_GROWTH_FRACTION as Jn, edit as Jt, stripImagesFromTurns as K, resolveArtifactKind as Kn, grep as Kt, TRAILER as L, artifactKindLabel as Ln, tailTruncate as Lt, selectFilesFromSession as M, toWireConfigSchema as Mn, createSkillsRunScriptTool as Mt, selectRecentFiles as N, EXTENSION_BUS_MAX_PAYLOAD_BYTES as Nn, createSkillsReadTool as Nt, resolveSessionDir as O, isValidExtensionConfigValue as On, createSpawnTool as Ot, compactConversation as P, createExtensionBus as Pn, shellKill as Pt, createExtensionPromptBridge as Q, defaultRepeatGuardNormalize as Qn, recordArtifact as Qt, buildCompactPrompt as R, branchKind as Rn, readFile$1 as Rt, migrateSessionArtifactDirs as S, createDebugLog as Sn, basicTools as St, resolveLegacySessionDir as T, clampExtensionConfigNumber as Tn, WAIT_TASK_TIMED_OUT_PREFIX as Tt, ANCHOR_PREVIEW_MAX_CHARS as U, pullRequestKind as Un, matchModelEntries as Ut, buildTailCompactPrompt as V, githubTokenSource as Vn, createModelSearchTool as Vt, anchorPreviewFor as W, refreshArtifact as Wn, listFiles as Wt, CompactPromptTooLongError as X, effectiveContextWindow as Xn, artifacts_default as Xt, CompactInvalidInputError as Y, OUTPUT_RESERVE_TOKENS as Yn, validateToolArgs as Yt, EMPTY_EXTENSION_REGISTRY as Z, shouldAutoCompact as Zn, RECORD_ARTIFACT_TOOL as Zt, PERSISTED_STUB_PREFIX as _, discoverExtensions as _n, createArtifactsSurface as _t, stagedToolState as a, groupBindings as an, hydrateReadStateFromSessionAsync as ar, removeInstalledExtension as at, cleanupPersistedSession as b, parseExtensionScanPathEnv as bn, composePresets as bt, INTERRUPT_MESSAGE_FOR_TOOL_USE as c, mergeKeybindings as cn, discoverAndBuildExtensionRegistry as ct, TOOL_USE_SKIPPED_MESSAGE as d, readKeybindingsRaw as dn, composeExtensionPreset as dt, KEYBINDING_DEFS as en, normalizeShellCommand as er, fetchExtensionSource as et, applyCompactSummaryCutoff as f, resolveExtensionKeybindings as fn, disposeExtensionRegistry as ft, unwrapCallTool as g, defaultExtensionScanPaths as gn, partitionExtensionCatalog as gt, CALL_TOOL_NAME as h, ENTRY_CANDIDATES as hn, mergeContributions as ht, isToolStateOps as i, formatBindingForDisplay as in, hydrateReadStateFromSession as ir, readExtensionInstallProvenance as it, selectFilesFromReadState as j, sanitizeExtensionConfigActionPatch as jn, createSkillsUseTool as jt, resolveTasksDir as k, resolveExtensionConfig as kn, isSpawnTool as kt, SHELL_CASCADE_CANCEL_MESSAGE as l, parseBindingSpec as ln, buildExtensionPreset as lt, renderStaleReadNotice as m, registerExtensionHostModules as mn, filterRegistryPlugins as mt, DEFAULT_MAX_VALUE_BYTES as n, KEYBINDING_KEY_COL_WIDTH as nn, getReadState as nr, listExtensionCandidates as nt, normalizeProviders as o, keybindingsPath as on, readStateKey as or, updateInstalledExtension as ot, collectNewlyStaleReadPaths as p, stripJsonComments as pn, filterExtensionRegistry as pt, summaryToTurn as q, createArtifactDetectHook as qn, glob as qt, createToolStateController as r, ensureKeybindingsFile as rn, hashContent as rr, parseExtensionInstallSource as rt, resolveModelTargets as s, matchesBinding as sn, resolveReadStateMap as sr, createExtensionHud as st, createAgent as t, KEYBINDING_DEF_BY_ACTION as tn, stableStringify as tr, installExtensionFromSpec as tt, TOOL_USE_CANCELLED_MESSAGE as u, readKeybindings as un, buildExtensionRegistry as ut, PERSISTENCE_PREVIEW_BYTES as v, inlineLoadedExtension as vn, createExtensionHostRuntimeBridge as vt, resolveLegacyPersistDir as w, defineExtension as wn, writeFile$1 as wt, maybePersistToolResult as x, scanExtensionDirectories as xn, definePreset as xt, buildPersistedStub as y, isExtensionDefinition as yn, createWorkspaceSurface as yt, buildFromCompactPrompt as z, commitKind as zn, looksBinary as zt };
|
|
18413
18447
|
|
|
18414
|
-
//# sourceMappingURL=agent-
|
|
18448
|
+
//# sourceMappingURL=agent-B6etKd_o.js.map
|