zidane 6.2.32 → 6.2.34
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-BOXBhzMv.js → acp-DxXRKWib.js} +4 -4
- package/dist/{acp-BOXBhzMv.js.map → acp-DxXRKWib.js.map} +1 -1
- package/dist/acp-cli.js +6 -6
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-CHtfwiSc.js → agent-BMVp4byv.js} +56 -26
- package/dist/{agent-CHtfwiSc.js.map → agent-BMVp4byv.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{anthropic--S5Wg4Oy.js → anthropic-BI-Ukg2w.js} +64 -38
- package/dist/anthropic-BI-Ukg2w.js.map +1 -0
- package/dist/{auth-up7hgE9H.js → auth-Wb2AlCCp.js} +4 -4
- package/dist/{auth-up7hgE9H.js.map → auth-Wb2AlCCp.js.map} +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +4 -4
- package/dist/chat.js +3 -3
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/eval.js +1 -1
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +3 -3
- package/dist/{index-DZxVqh6L.d.ts → index-LLXx0VRf.d.ts} +3 -2
- package/dist/index-LLXx0VRf.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/mcp.d.ts +1 -1
- package/dist/{messages-t5Sv-vyv.js → messages-Cpb4g_KV.js} +2 -2
- package/dist/{messages-t5Sv-vyv.js.map → messages-Cpb4g_KV.js.map} +1 -1
- package/dist/{openai-compat-pHI0kBWH.js → openai-compat-C77gOaHh.js} +7 -1
- package/dist/openai-compat-C77gOaHh.js.map +1 -0
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/anthropic.js +1 -1
- package/dist/providers/arcee.d.ts +1 -1
- package/dist/providers/arcee.js +1 -1
- package/dist/providers/baseten.d.ts +1 -1
- package/dist/providers/baseten.js +1 -1
- package/dist/providers/cerebras.d.ts +1 -1
- package/dist/providers/cerebras.js +1 -1
- package/dist/providers/local.d.ts +1 -1
- package/dist/providers/local.js +1 -1
- package/dist/providers/openai-compat.d.ts +1 -1
- package/dist/providers/openai-compat.js +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/openai.js +2 -2
- package/dist/providers/openrouter.d.ts +1 -1
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/xai.d.ts +1 -1
- package/dist/providers/xai.js +1 -1
- package/dist/{providers-D9Y2RndM.js → providers-BWsicxOG.js} +3 -3
- package/dist/{providers-D9Y2RndM.js.map → providers-BWsicxOG.js.map} +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +4 -4
- package/dist/restate.d.ts +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/{session-DtRtNDBz.js → session-DpDBnktP.js} +2 -2
- package/dist/{session-DtRtNDBz.js.map → session-DpDBnktP.js.map} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.js +2 -2
- package/dist/skills.d.ts +1 -1
- package/dist/{tool-formatters-BCA9SPQy.d.ts → tool-formatters-DtUL8zcF.d.ts} +2 -2
- package/dist/{tool-formatters-BCA9SPQy.d.ts.map → tool-formatters-DtUL8zcF.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-vVG3xyD0.js → transcript-anchors-A9qh0UUo.js} +3 -3
- package/dist/{transcript-anchors-vVG3xyD0.js.map → transcript-anchors-A9qh0UUo.js.map} +1 -1
- package/dist/{transcript-anchors-BaU0gkGA.d.ts → transcript-anchors-Cmn6Apac.d.ts} +2 -2
- package/dist/{transcript-anchors-BaU0gkGA.d.ts.map → transcript-anchors-Cmn6Apac.d.ts.map} +1 -1
- package/dist/tui.d.ts +3 -3
- package/dist/tui.js +4 -4
- package/dist/{turn-operations-BofuxNtk.d.ts → turn-operations-PPSEo4C3.d.ts} +3 -3
- package/dist/{turn-operations-BofuxNtk.d.ts.map → turn-operations-PPSEo4C3.d.ts.map} +1 -1
- package/dist/types-BIarq1qE.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{xai-BwhzoehX.js → xai-CPZBj_WJ.js} +2 -2
- package/dist/{xai-BwhzoehX.js.map → xai-CPZBj_WJ.js.map} +1 -1
- package/package.json +1 -1
- package/dist/anthropic--S5Wg4Oy.js.map +0 -1
- package/dist/index-DZxVqh6L.d.ts.map +0 -1
- package/dist/openai-compat-pHI0kBWH.js.map +0 -1
package/dist/acp-cli.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { It as resolveStorageDirs, ut as basic_default } from "./agent-
|
|
2
|
+
import { It as resolveStorageDirs, ut as basic_default } from "./agent-BMVp4byv.js";
|
|
3
3
|
import { r as createProcessContext } from "./contexts-o8y5B3Tm.js";
|
|
4
4
|
import { createSandboxContext } from "./contexts/sandbox.js";
|
|
5
|
-
import { m as openaiCompat } from "./openai-compat-
|
|
6
|
-
import { t as anthropic } from "./anthropic
|
|
5
|
+
import { m as openaiCompat } from "./openai-compat-C77gOaHh.js";
|
|
6
|
+
import { t as anthropic } from "./anthropic-BI-Ukg2w.js";
|
|
7
7
|
import { arcee } from "./providers/arcee.js";
|
|
8
8
|
import { baseten } from "./providers/baseten.js";
|
|
9
9
|
import { cerebras } from "./providers/cerebras.js";
|
|
10
|
-
import { t as xai } from "./xai-
|
|
10
|
+
import { t as xai } from "./xai-CPZBj_WJ.js";
|
|
11
11
|
import { openai } from "./providers/openai.js";
|
|
12
12
|
import { openrouter } from "./providers/openrouter.js";
|
|
13
|
-
import { d as StartUsageError, f as buildStartLocalOptions, h as startProviderNames, i as withAcpDefaultTools, m as startLocalArgOptions, p as parseStartArgValues, t as runAcpStdioServer } from "./acp-
|
|
14
|
-
import { f as credKeyOf, i as readCredentials, l as BUILTIN_PROVIDERS, r as credentialsPath, t as detectAuth, y as modelsForDescriptor } from "./auth-
|
|
13
|
+
import { d as StartUsageError, f as buildStartLocalOptions, h as startProviderNames, i as withAcpDefaultTools, m as startLocalArgOptions, p as parseStartArgValues, t as runAcpStdioServer } from "./acp-DxXRKWib.js";
|
|
14
|
+
import { f as credKeyOf, i as readCredentials, l as BUILTIN_PROVIDERS, r as credentialsPath, t as detectAuth, y as modelsForDescriptor } from "./auth-Wb2AlCCp.js";
|
|
15
15
|
import { createDaytonaProvider } from "./contexts/daytona.js";
|
|
16
16
|
import { createDockerContext } from "./contexts/docker.js";
|
|
17
17
|
import { createE2BProvider } from "./contexts/e2b.js";
|
package/dist/acp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ef as SessionContentBlock, Gd as AgentBehavior, Qf as ToolDef, Rf as ToolResultContent, Sm as Provider, Wi as Agent, _f as PromptPart, _p as Session, of as McpServerConfig, qf as TurnUsage, qi as AgentOptions, t as Preset, xp as SessionStore } from "./index-
|
|
1
|
+
import { Ef as SessionContentBlock, Gd as AgentBehavior, Qf as ToolDef, Rf as ToolResultContent, Sm as Provider, Wi as Agent, _f as PromptPart, _p as Session, of as McpServerConfig, qf as TurnUsage, qi as AgentOptions, t as Preset, xp as SessionStore } from "./index-LLXx0VRf.js";
|
|
2
2
|
import { c as ExecutionContext } from "./types-BDccavwj.js";
|
|
3
3
|
import { Readable, Writable } from "node:stream";
|
|
4
4
|
|
package/dist/acp.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as createJsonRpcConnection, a as wrapToolsForAcpClient, c as sessionBlocksToAcp, g as JsonRpcRemoteError, 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-
|
|
1
|
+
import { _ as createJsonRpcConnection, a as wrapToolsForAcpClient, c as sessionBlocksToAcp, g as JsonRpcRemoteError, 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-DxXRKWib.js";
|
|
2
2
|
export { AcpProtocolError, JsonRpcRemoteError, acpMcpServersToZidane, acpPromptToPromptParts, createAcpServer, createJsonRpcConnection, runAcpStdioServer, sessionBlocksToAcp, stopReasonFromRun, toolResultToAcpContent, withAcpDefaultTools, wrapToolsForAcpClient };
|
|
@@ -15,10 +15,10 @@ import { n as writeFileAtomicAsync, t as writeFileAtomic } from "./atomic-write-
|
|
|
15
15
|
import { r as createLogger, t as consoleSink } from "./logger-DBX9uYOw.js";
|
|
16
16
|
import { n as reconcileImageMediaType } from "./media-sniff-Bn76JxAu.js";
|
|
17
17
|
import { n as connectMcpServers, o as nonOwningMcpView, r as deriveMcpToolMeta, u as wrapDiscoveredMcpTools } from "./mcp-Ct5tF4oj.js";
|
|
18
|
-
import { C as canonicalizePrompt, S as buildPromptMessage } from "./openai-compat-
|
|
18
|
+
import { C as canonicalizePrompt, S as buildPromptMessage } from "./openai-compat-C77gOaHh.js";
|
|
19
19
|
import { appendStaticSection, renderSystemForWire } from "./prompt.js";
|
|
20
|
-
import { a as detectTurnInterruption, c as ensureToolResultPairing, l as filterUnresolvedToolUses, m as resolveContentRefsInMessages, n as SYNTHETIC_TOOL_RESULT_PLACEHOLDER, p as remintDuplicateToolCallIds, s as ensureEndsWithUserMessage } from "./messages-
|
|
21
|
-
import { a as getExtensionSessionState, c as setExtensionSessionState, l as withExtensionSession, n as currentExtensionSession, r as deleteExtensionSessionState, s as resumeChainRunIds } from "./session-
|
|
20
|
+
import { a as detectTurnInterruption, c as ensureToolResultPairing, l as filterUnresolvedToolUses, m as resolveContentRefsInMessages, n as SYNTHETIC_TOOL_RESULT_PLACEHOLDER, p as remintDuplicateToolCallIds, s as ensureEndsWithUserMessage } from "./messages-Cpb4g_KV.js";
|
|
21
|
+
import { a as getExtensionSessionState, c as setExtensionSessionState, l as withExtensionSession, n as currentExtensionSession, r as deleteExtensionSessionState, s as resumeChainRunIds } from "./session-DpDBnktP.js";
|
|
22
22
|
import { n as flattenTurns, r as formatTokenUsage, t as effectiveInputFromTurn } from "./stats-DAKBEKjc.js";
|
|
23
23
|
import { a as withInactivityTimeout, i as settleWithinTimeout, n as linkAbortSignal, o as withTimeout$1, r as resolveTimeoutMs, t as OperationTimeoutError } from "./timeout-BDetbuN6.js";
|
|
24
24
|
import { createRequire } from "node:module";
|
|
@@ -10881,6 +10881,18 @@ function wrapProviderError(err, ctx) {
|
|
|
10881
10881
|
}
|
|
10882
10882
|
return wrapped;
|
|
10883
10883
|
}
|
|
10884
|
+
/**
|
|
10885
|
+
* Operation names carried by watchdog `OperationTimeoutError`s. Shared
|
|
10886
|
+
* between the watchdog racer (`streamWithWatchdogs`) and the retry
|
|
10887
|
+
* classifier so the retry carve-out can't silently detach from the errors
|
|
10888
|
+
* it targets when a label is renamed.
|
|
10889
|
+
*/
|
|
10890
|
+
const PROVIDER_WATCHDOG_OPERATIONS = {
|
|
10891
|
+
"first response": "provider first response",
|
|
10892
|
+
"total stream": "provider total stream",
|
|
10893
|
+
"stream inactivity": "provider stream inactivity"
|
|
10894
|
+
};
|
|
10895
|
+
const PROVIDER_WATCHDOG_OPERATION_SET = new Set(Object.values(PROVIDER_WATCHDOG_OPERATIONS));
|
|
10884
10896
|
function providerWatchdogTimeouts(ctx) {
|
|
10885
10897
|
return {
|
|
10886
10898
|
startTimeoutMs: resolveTimeoutMs(ctx.providerStreamStartTimeoutMs, DEFAULT_PROVIDER_STREAM_START_TIMEOUT_MS, ctx.maxWallMs),
|
|
@@ -11030,10 +11042,22 @@ async function streamWithWatchdogs(ctx, options, callbacks, turnId, opts) {
|
|
|
11030
11042
|
if (idleTimer) clearTimeout(idleTimer);
|
|
11031
11043
|
unlinkParentAbort();
|
|
11032
11044
|
};
|
|
11045
|
+
let lastActivityAt = 0;
|
|
11046
|
+
const armIdleTimer = (delayMs) => {
|
|
11047
|
+
idleTimer = setTimeout(() => {
|
|
11048
|
+
if (settled) return;
|
|
11049
|
+
const idleMs = Date.now() - lastActivityAt;
|
|
11050
|
+
if (idleMs < idleTimeoutMs) {
|
|
11051
|
+
armIdleTimer(idleTimeoutMs - idleMs);
|
|
11052
|
+
return;
|
|
11053
|
+
}
|
|
11054
|
+
onIdleTimeout?.();
|
|
11055
|
+
}, delayMs);
|
|
11056
|
+
};
|
|
11033
11057
|
const recordActivity = () => {
|
|
11034
11058
|
if (idleTimeoutMs <= 0 || settled) return;
|
|
11035
|
-
|
|
11036
|
-
idleTimer
|
|
11059
|
+
lastActivityAt = Date.now();
|
|
11060
|
+
if (idleTimer === void 0) armIdleTimer(idleTimeoutMs);
|
|
11037
11061
|
};
|
|
11038
11062
|
const markFirstObserved = () => {
|
|
11039
11063
|
recordActivity();
|
|
@@ -11056,21 +11080,23 @@ async function streamWithWatchdogs(ctx, options, callbacks, turnId, opts) {
|
|
|
11056
11080
|
markFirstObserved();
|
|
11057
11081
|
callbacks.onText(delta);
|
|
11058
11082
|
},
|
|
11059
|
-
|
|
11083
|
+
onThinking(delta) {
|
|
11060
11084
|
if (settled) return;
|
|
11061
11085
|
markFirstObserved();
|
|
11062
11086
|
callbacks.onThinking?.(delta);
|
|
11063
|
-
}
|
|
11064
|
-
|
|
11087
|
+
},
|
|
11088
|
+
onServerToolUse(block) {
|
|
11089
|
+
opts?.onServerToolActivity?.();
|
|
11065
11090
|
if (settled) return;
|
|
11066
11091
|
markFirstObserved();
|
|
11067
11092
|
callbacks.onServerToolUse?.(block);
|
|
11068
|
-
}
|
|
11069
|
-
|
|
11093
|
+
},
|
|
11094
|
+
onServerToolResult(block) {
|
|
11095
|
+
opts?.onServerToolActivity?.();
|
|
11070
11096
|
if (settled) return;
|
|
11071
11097
|
markFirstObserved();
|
|
11072
11098
|
callbacks.onServerToolResult?.(block);
|
|
11073
|
-
}
|
|
11099
|
+
},
|
|
11074
11100
|
onToolCallDelta() {
|
|
11075
11101
|
if (settled) return;
|
|
11076
11102
|
markFirstObserved();
|
|
@@ -11078,7 +11104,7 @@ async function streamWithWatchdogs(ctx, options, callbacks, turnId, opts) {
|
|
|
11078
11104
|
}
|
|
11079
11105
|
});
|
|
11080
11106
|
} catch (err) {
|
|
11081
|
-
|
|
11107
|
+
cleanup();
|
|
11082
11108
|
throw err;
|
|
11083
11109
|
}
|
|
11084
11110
|
streamPromise.catch(() => {});
|
|
@@ -11086,7 +11112,7 @@ async function streamWithWatchdogs(ctx, options, callbacks, turnId, opts) {
|
|
|
11086
11112
|
const failTimeout = (kind, timeoutMs) => {
|
|
11087
11113
|
if (settled) return;
|
|
11088
11114
|
settled = true;
|
|
11089
|
-
const err = new OperationTimeoutError(
|
|
11115
|
+
const err = new OperationTimeoutError(PROVIDER_WATCHDOG_OPERATIONS[kind], timeoutMs, kind === "stream inactivity" ? `Provider stream timed out: no stream events for ${timeoutMs}ms (turn ${turnId}).` : `Provider stream timed out waiting for ${kind} after ${timeoutMs}ms (turn ${turnId}).`);
|
|
11090
11116
|
attemptAbort.abort(err);
|
|
11091
11117
|
cleanup();
|
|
11092
11118
|
reject(err);
|
|
@@ -11131,11 +11157,12 @@ const ERROR_PLACEHOLDER_MAX = 280;
|
|
|
11131
11157
|
* suffix. Falls back to the original generic placeholder when no message
|
|
11132
11158
|
* can be extracted.
|
|
11133
11159
|
*/
|
|
11134
|
-
function buildStreamErrorPlaceholder(err) {
|
|
11160
|
+
function buildStreamErrorPlaceholder(err, midOutput = false) {
|
|
11161
|
+
const prefix = midOutput ? "Streaming failed mid-output" : "Streaming failed before any output";
|
|
11135
11162
|
const raw = errorMessage(err).trim();
|
|
11136
|
-
if (raw.length === 0) return
|
|
11163
|
+
if (raw.length === 0) return `[✗ ${prefix}.]`;
|
|
11137
11164
|
const oneLine = raw.replace(/\s+/g, " ");
|
|
11138
|
-
return `[✗
|
|
11165
|
+
return `[✗ ${prefix}: ${oneLine.length > ERROR_PLACEHOLDER_MAX ? `${oneLine.slice(0, ERROR_PLACEHOLDER_MAX - 1).trimEnd()}…` : oneLine}]`;
|
|
11139
11166
|
}
|
|
11140
11167
|
function buildCumulativeUsage(prior, turnUsage) {
|
|
11141
11168
|
const cost = prior.priorCost + (turnUsage.cost ?? 0);
|
|
@@ -11588,6 +11615,7 @@ async function executeTurn(ctx, turn, priorUsage) {
|
|
|
11588
11615
|
streamOptions.messages = ensureEndsWithUserMessage(streamOptions.messages, ctx.provider);
|
|
11589
11616
|
let currentText = "";
|
|
11590
11617
|
let currentThinking = "";
|
|
11618
|
+
let serverToolActivity = false;
|
|
11591
11619
|
const streamStartedAt = Date.now();
|
|
11592
11620
|
let turnTtftMs;
|
|
11593
11621
|
const markTurnTtft = () => {
|
|
@@ -11650,15 +11678,20 @@ async function executeTurn(ctx, turn, priorUsage) {
|
|
|
11650
11678
|
onOAuthRefresh(refreshCtx) {
|
|
11651
11679
|
return ctx.hooks.callHook("oauth:refresh", refreshCtx);
|
|
11652
11680
|
}
|
|
11653
|
-
}, turnId,
|
|
11681
|
+
}, turnId, {
|
|
11682
|
+
...attempt > 1 ? { startTimeoutCapMs: RETRY_STREAM_START_TIMEOUT_CAP_MS } : {},
|
|
11683
|
+
onServerToolActivity: () => {
|
|
11684
|
+
serverToolActivity = true;
|
|
11685
|
+
}
|
|
11686
|
+
});
|
|
11654
11687
|
break;
|
|
11655
11688
|
} catch (caught) {
|
|
11656
11689
|
let terminalErr = caught;
|
|
11657
11690
|
let wasAborted = ctx.signal.aborted || caught instanceof Error && caught.name === "AbortError";
|
|
11658
11691
|
const classified = !wasAborted ? ctx.provider.classifyError?.(caught) : null;
|
|
11659
11692
|
const isRetryable = classified?.kind === "provider_error" && classified.retryable === true;
|
|
11660
|
-
const cleanSlate = currentText === "" && currentThinking === "";
|
|
11661
|
-
const isStreamWatchdogTimeout = !wasAborted && caught instanceof OperationTimeoutError && (caught.operation
|
|
11693
|
+
const cleanSlate = currentText === "" && currentThinking === "" && !serverToolActivity;
|
|
11694
|
+
const isStreamWatchdogTimeout = !wasAborted && caught instanceof OperationTimeoutError && PROVIDER_WATCHDOG_OPERATION_SET.has(caught.operation);
|
|
11662
11695
|
const canRetry = !wasAborted && (isRetryable || isStreamWatchdogTimeout) && cleanSlate && attempt < retryCfg.maxAttempts;
|
|
11663
11696
|
const retryAfterMs = canRetry ? extractRetryAfterMs(caught) : void 0;
|
|
11664
11697
|
const hasNextTarget = ctx.targets !== void 0 && (ctx.activeTargetIndex ?? 0) + 1 < ctx.targets.length;
|
|
@@ -11766,13 +11799,10 @@ async function executeTurn(ctx, turn, priorUsage) {
|
|
|
11766
11799
|
input: 0,
|
|
11767
11800
|
output: 0
|
|
11768
11801
|
};
|
|
11769
|
-
const placeholderText = wasAborted ? "[⏹ Streaming was aborted.]" : buildStreamErrorPlaceholder(terminalErr);
|
|
11770
|
-
const errorContent =
|
|
11771
|
-
type: "text",
|
|
11772
|
-
text: currentText
|
|
11773
|
-
}] : [{
|
|
11802
|
+
const placeholderText = wasAborted ? "[⏹ Streaming was aborted.]" : buildStreamErrorPlaceholder(terminalErr, currentText !== "");
|
|
11803
|
+
const errorContent = [{
|
|
11774
11804
|
type: "text",
|
|
11775
|
-
text: placeholderText
|
|
11805
|
+
text: currentText ? `${currentText}\n\n${placeholderText}` : placeholderText
|
|
11776
11806
|
}];
|
|
11777
11807
|
const errorTurn = {
|
|
11778
11808
|
id: turnId,
|
|
@@ -15500,4 +15530,4 @@ function createAgent(rawOptions) {
|
|
|
15500
15530
|
//#endregion
|
|
15501
15531
|
export { buildExtensionRegistry as $, defaultExtensionScanPaths as $t, buildUpToCompactPrompt as A, listFiles as At, createExtensionPromptBridge as B, KEYBINDING_KEY_COL_WIDTH as Bt, BASE_INSTRUCTIONS as C, tailTruncate as Ct, buildFromCompactPrompt as D, createModelSearchTool as Dt, buildCompactPrompt as E, multiEdit as Et, summaryToTurn as F, validateToolArgs as Ft, parseExtensionInstallSource as G, matchesBinding as Gt, fetchExtensionSource as H, formatBindingForDisplay as Ht, truncateHeadForPtlRetry as I, resolveStorageDirs as It, updateInstalledExtension as J, readKeybindings as Jt, readExtensionInstallProvenance as K, mergeKeybindings as Kt, CompactInvalidInputError as L, DEFAULT_KEYBINDINGS as Lt, anchorPreviewFor as M, grep as Mt, sliceForCompaction as N, glob as Nt, buildFullCompactPrompt as O, formatModelLine as Ot, stripImagesFromTurns as P, edit as Pt, buildExtensionPreset as Q, ENTRY_CANDIDATES as Qt, CompactPromptTooLongError as R, KEYBINDING_DEFS as Rt, compactConversation as S, shell as St, TRAILER as T, looksBinary as Tt, installExtensionFromSpec as U, groupBindings as Ut, ExtensionInstallError as V, ensureKeybindingsFile as Vt, listExtensionCandidates as W, keybindingsPath as Wt, registerExtensionHostModules as X, resolveExtensionKeybindings as Xt, createExtensionHud as Y, readKeybindingsRaw as Yt, discoverAndBuildExtensionRegistry as Z, stripJsonComments as Zt, resolveTasksDir as _, shouldAutoCompact as _n, createSkillsUseTool as _t, SHELL_CASCADE_CANCEL_MESSAGE as a, defineExtension as an, createExtensionHostRuntimeBridge as at, selectFilesFromSession as b, normalizeShellCommand as bn, shellKill as bt, applyCompactSummaryCutoff as c, isValidExtensionConfigItem as cn, definePreset as ct, buildPersistedStub as d, resolveExtensionConfigValue as dn, writeFile$1 as dt, discoverExtensions as en, composeExtensionPreset as et, cleanupPersistedSession as f, sanitizeExtensionConfigActionPatch as fn, WAIT_TASK_TIMED_OUT_PREFIX as ft, resolvePersistDir as g, effectiveContextWindow as gn, isSpawnTool as gt, resolveMcpWarningsDir as h, OUTPUT_RESERVE_TOKENS as hn, createSpawnTool as ht, INTERRUPT_MESSAGE_FOR_TOOL_USE as i, scanExtensionDirectories as in, partitionExtensionCatalog as it, ANCHOR_PREVIEW_MAX_CHARS as j, createInteractionTool as jt, buildTailCompactPrompt as k, matchModelEntries as kt, PERSISTED_STUB_PREFIX as l, isValidExtensionConfigValue as ln, basicTools as lt, rehomePersistedStubs as m, AUTO_COMPACT_MIN_GROWTH_FRACTION as mn, createToolSearchTool as mt, normalizeProviders as n, isExtensionDefinition as nn, filterExtensionRegistry as nt, TOOL_USE_CANCELLED_MESSAGE as o, clampExtensionConfigNumber as on, createWorkspaceSurface as ot, maybePersistToolResult as p, toWireConfigSchema as pn, waitTask as pt, removeInstalledExtension as q, parseBindingSpec as qt, resolveModelTargets as r, parseExtensionScanPathEnv as rn, mergeContributions as rt, TOOL_USE_SKIPPED_MESSAGE as s, coerceExtensionConfigInput as sn, composePresets as st, createAgent as t, inlineLoadedExtension as tn, disposeExtensionRegistry as tt, PERSISTENCE_PREVIEW_BYTES as u, resolveExtensionConfig as un, basic_default as ut, buildPostCompactAttachments as v, defaultRepeatGuardNormalize as vn, createSkillsRunScriptTool as vt, NO_TOOLS_PREAMBLE as w, readFile$1 as wt, selectRecentFiles as x, stableStringify as xn, createShellTool as xt, selectFilesFromReadState as y, defaultRepeatGuardTracked as yn, createSkillsReadTool as yt, EMPTY_EXTENSION_REGISTRY as z, KEYBINDING_DEF_BY_ACTION as zt };
|
|
15502
15532
|
|
|
15503
|
-
//# sourceMappingURL=agent-
|
|
15533
|
+
//# sourceMappingURL=agent-BMVp4byv.js.map
|