zidane 5.6.13 → 5.6.15
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/{agent-ClkpElCZ.d.ts → agent-CkJp_ZOR.d.ts} +2 -2
- package/dist/{agent-ClkpElCZ.d.ts.map → agent-CkJp_ZOR.d.ts.map} +1 -1
- package/dist/chat.d.ts +4 -4
- package/dist/chat.js +2 -2
- package/dist/contexts/docker.d.ts +1 -1
- package/dist/contexts.d.ts +2 -2
- package/dist/image-sniff-CmlNMPMr.js +90 -0
- package/dist/image-sniff-CmlNMPMr.js.map +1 -0
- package/dist/{index-v3Tzobqr.d.ts → index-BXQC3I4d.d.ts} +3 -3
- package/dist/{index-v3Tzobqr.d.ts.map → index-BXQC3I4d.d.ts.map} +1 -1
- package/dist/{index-CTDMMdIy.d.ts → index-CsWckg9p.d.ts} +3 -3
- package/dist/{index-CTDMMdIy.d.ts.map → index-CsWckg9p.d.ts.map} +1 -1
- package/dist/{index-CbS75MD3.d.ts → index-CtIS28mN.d.ts} +2 -2
- package/dist/{index-CbS75MD3.d.ts.map → index-CtIS28mN.d.ts.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +9 -9
- package/dist/{interpolate-DM1UcKeQ.js → interpolate-C55ZIcKz.js} +1 -1
- package/dist/{interpolate-DM1UcKeQ.js.map → interpolate-C55ZIcKz.js.map} +1 -1
- package/dist/{login-DS3sf6b5.js → login-CY9uShjX.js} +4 -4
- package/dist/{login-DS3sf6b5.js.map → login-CY9uShjX.js.map} +1 -1
- package/dist/{mcp-DGeB7-3D.js → mcp-DDOc8hOM.js} +6 -4
- package/dist/mcp-DDOc8hOM.js.map +1 -0
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/{messages-Dym8S_YH.js → messages-B-tuI2Ur.js} +27 -11
- package/dist/{messages-Dym8S_YH.js.map → messages-B-tuI2Ur.js.map} +1 -1
- package/dist/{presets-CZXS_87d.js → presets-CMkLtFFW.js} +2 -2
- package/dist/{presets-CZXS_87d.js.map → presets-CMkLtFFW.js.map} +1 -1
- package/dist/presets.d.ts +2 -2
- package/dist/presets.js +1 -1
- package/dist/{providers-beXyD9W9.js → providers-CRQQDuxx.js} +2 -2
- package/dist/{providers-beXyD9W9.js.map → providers-CRQQDuxx.js.map} +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +2 -2
- package/dist/restate.d.ts +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/{session-BRIsmBSY.js → session-BCT6eYxo.js} +2 -2
- package/dist/{session-BRIsmBSY.js.map → session-BCT6eYxo.js.map} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.js +2 -2
- package/dist/skills.d.ts +2 -2
- package/dist/skills.js +1 -1
- package/dist/{stats-Lc3zL3RM.js → stats-CIv4j3Sz.js} +1 -1
- package/dist/{stats-Lc3zL3RM.js.map → stats-CIv4j3Sz.js.map} +1 -1
- package/dist/{stdio-loader-EVAF5KlU.js → stdio-loader-OOOXzUvm.js} +1 -1
- package/dist/{stdio-loader-EVAF5KlU.js.map → stdio-loader-OOOXzUvm.js.map} +1 -1
- package/dist/{tools-DE9pR_NG.js → tools-0Kolu2bY.js} +15 -8
- package/dist/tools-0Kolu2bY.js.map +1 -0
- package/dist/tools.d.ts +2 -2
- package/dist/tools.js +1 -1
- package/dist/{transcript-anchors-D0TR6djV.d.ts → transcript-anchors-C8IqWH4x.d.ts} +3 -3
- package/dist/{transcript-anchors-D0TR6djV.d.ts.map → transcript-anchors-C8IqWH4x.d.ts.map} +1 -1
- package/dist/tui.d.ts +2 -2
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +9 -8
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-6Yls2HuG.js → turn-operations-DkLoiyF4.js} +12 -9
- package/dist/{turn-operations-6Yls2HuG.js.map → turn-operations-DkLoiyF4.js.map} +1 -1
- package/dist/{types-KukEp-mi.d.ts → types-2PMY5Rlc.d.ts} +1 -1
- package/dist/{types-KukEp-mi.d.ts.map → types-2PMY5Rlc.d.ts.map} +1 -1
- package/dist/types.d.ts +4 -4
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/dist/mcp-DGeB7-3D.js.map +0 -1
- package/dist/tools-DE9pR_NG.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { n as createProcessContext } from "./contexts-BOtMvzli.js";
|
|
2
2
|
import { c as errorMessage, i as AgentProviderError, n as AgentBudgetExceededError, o as AgentToolPairingError, t as AgentAbortedError, u as toTypedError } from "./errors-DdZXnyXE.js";
|
|
3
3
|
import { n as toolOutputByteLength, t as DEFAULT_AGENT_CLOCK } from "./types-oKPBdCmL.js";
|
|
4
|
-
import { E as appendStaticSection, a as detectTurnInterruption, c as filterUnresolvedToolUses, n as SYNTHETIC_TOOL_RESULT_PLACEHOLDER, o as ensureEndsWithUserMessage, s as ensureToolResultPairing } from "./messages-
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
4
|
+
import { E as appendStaticSection, a as detectTurnInterruption, c as filterUnresolvedToolUses, n as SYNTHETIC_TOOL_RESULT_PLACEHOLDER, o as ensureEndsWithUserMessage, s as ensureToolResultPairing } from "./messages-B-tuI2Ur.js";
|
|
5
|
+
import { t as reconcileImageMediaType } from "./image-sniff-CmlNMPMr.js";
|
|
6
|
+
import { t as connectMcpServers } from "./mcp-DDOc8hOM.js";
|
|
7
|
+
import { _ as validateResourcePath, b as createSkillActivationState, d as escapeXml, n as resolveSkills, p as installAllowedToolsGate, t as interpolateShellCommands, u as buildCatalog } from "./interpolate-C55ZIcKz.js";
|
|
8
|
+
import { n as formatTokenUsage, t as flattenTurns } from "./stats-CIv4j3Sz.js";
|
|
8
9
|
import { dirname, isAbsolute, join, resolve } from "node:path";
|
|
9
10
|
import { createHooks } from "hookable";
|
|
10
11
|
import { homedir } from "node:os";
|
|
@@ -3076,7 +3077,8 @@ function buildShellDescription({ allowBackground, registeredCanonicals, toolAlia
|
|
|
3076
3077
|
const lines = [
|
|
3077
3078
|
"Execute a shell command in the project root and return its combined stdout/stderr.",
|
|
3078
3079
|
"Output is tail-priority truncated at 32 KiB by default; errors and exit-code summaries live in the tail.",
|
|
3079
|
-
"By default each call appends a `(exit N, Nms)` footer and surfaces non-empty stderr in a separate section even on success — set `metadata: false` to return only stdout. Set maxOutputBytes=0 to disable truncation."
|
|
3080
|
+
"By default each call appends a `(exit N, Nms)` footer and surfaces non-empty stderr in a separate section even on success — set `metadata: false` to return only stdout. Set maxOutputBytes=0 to disable truncation.",
|
|
3081
|
+
"Pass a short `description` (5-10 words) explaining the intent of the command — it surfaces in the user-facing transcript so the human can follow your reasoning at a glance. Skip it only for trivial reads where the command speaks for itself."
|
|
3080
3082
|
];
|
|
3081
3083
|
if (registeredCanonicals && registeredCanonicals.size > 0) {
|
|
3082
3084
|
const swaps = [];
|
|
@@ -3105,6 +3107,10 @@ function buildShellInputSchema({ allowBackground }) {
|
|
|
3105
3107
|
type: "string",
|
|
3106
3108
|
description: "Shell command to run."
|
|
3107
3109
|
},
|
|
3110
|
+
description: {
|
|
3111
|
+
type: "string",
|
|
3112
|
+
description: "Short (5-10 words) human-readable intent of the command, e.g. \"list TypeScript sources in src\" or \"install project dependencies\". Surfaced in the transcript next to the command so the user can follow the agent's reasoning."
|
|
3113
|
+
},
|
|
3108
3114
|
timeout: {
|
|
3109
3115
|
type: "integer",
|
|
3110
3116
|
description: `Per-call timeout in milliseconds.${bgQualifier}`
|
|
@@ -5859,12 +5865,13 @@ const readFile$1 = {
|
|
|
5859
5865
|
}
|
|
5860
5866
|
},
|
|
5861
5867
|
async execute({ path, offset, limit, maxBytes, lineNumbers }, ctx) {
|
|
5862
|
-
const
|
|
5863
|
-
if (
|
|
5868
|
+
const extMedia = imageMediaTypeFor(path);
|
|
5869
|
+
if (extMedia) {
|
|
5864
5870
|
const sizeCap = maxBytes !== void 0 ? normalizeInteger(maxBytes, DEFAULT_IMAGE_BYTE_CAP) : DEFAULT_IMAGE_BYTE_CAP;
|
|
5865
5871
|
try {
|
|
5866
5872
|
const { base64, byteLength } = await readFileAsBase64(ctx.execution, ctx.handle, path);
|
|
5867
5873
|
if (sizeCap > 0 && byteLength > sizeCap) return `[image too large to inline: ${path}, ${byteLength} bytes (cap ${sizeCap}). Raise maxBytes, or use shell to inspect.]`;
|
|
5874
|
+
const imgMedia = reconcileImageMediaType(extMedia, base64);
|
|
5868
5875
|
return [{
|
|
5869
5876
|
type: "text",
|
|
5870
5877
|
text: `Image: ${path} (${byteLength} bytes, ${imgMedia})`
|
|
@@ -6519,4 +6526,4 @@ const writeFile$1 = {
|
|
|
6519
6526
|
//#endregion
|
|
6520
6527
|
export { resolvePersistDir as A, formatTaskStatus as B, TOOL_USE_SKIPPED_MESSAGE as C, buildPersistedStub as D, PERSISTENCE_PREVIEW_BYTES as E, resolveReadStateMap as F, previewLine as H, ageString as I, compactPath as L, getReadState as M, hashContent as N, cleanupPersistedSession as O, readStateKey as P, fmtTokens as R, TOOL_USE_CANCELLED_MESSAGE as S, PERSISTED_STUB_PREFIX as T, shortId as U, formatTaskSummary as V, createSkillsReadTool as _, multiEdit as a, INTERRUPT_MESSAGE_FOR_TOOL_USE as b, grep as c, resolveOldString as d, styleReplacementForVia as f, createSkillsRunScriptTool as g, createSkillsUseTool as h, readFile$1 as i, resolveTasksDir as j, maybePersistToolResult as k, glob$1 as l, createToolSearchTool as m, createSpawnTool as n, listFiles as o, createAgent as p, shellKill as r, createInteractionTool as s, writeFile$1 as t, edit as u, createShellTool as v, validateToolArgs as w, SHELL_CASCADE_CANCEL_MESSAGE as x, shell as y, formatDuration as z };
|
|
6521
6528
|
|
|
6522
|
-
//# sourceMappingURL=tools-
|
|
6529
|
+
//# sourceMappingURL=tools-0Kolu2bY.js.map
|