zidane 5.1.13 → 5.1.14
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-skiQGYs2.d.ts → agent-BuGxYfqh.d.ts} +11 -4
- package/dist/agent-BuGxYfqh.d.ts.map +1 -0
- package/dist/chat.d.ts +172 -6
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +2 -2
- package/dist/{index-CjPh6CRE.d.ts → index-Aaa1tP6E.d.ts} +2 -2
- package/dist/{index-CjPh6CRE.d.ts.map → index-Aaa1tP6E.d.ts.map} +1 -1
- package/dist/{index-YM7SipFz.d.ts → index-Cv5wED8j.d.ts} +2 -2
- package/dist/{index-YM7SipFz.d.ts.map → index-Cv5wED8j.d.ts.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/{login-Cc6Q-Fpu.js → login-DJscx_sS.js} +4 -4
- package/dist/{login-Cc6Q-Fpu.js.map → login-DJscx_sS.js.map} +1 -1
- package/dist/{mcp-CUt-N8zn.js → mcp-Bq_rD6e9.js} +2 -2
- package/dist/{mcp-CUt-N8zn.js.map → mcp-Bq_rD6e9.js.map} +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/{presets-Ce79MK4J.js → presets-BEruW0Ji.js} +2 -2
- package/dist/{presets-Ce79MK4J.js.map → presets-BEruW0Ji.js.map} +1 -1
- package/dist/presets.d.ts +2 -2
- package/dist/presets.js +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/skills.d.ts +2 -2
- package/dist/{tools-BG2wMa3X.js → tools-BBFu1UsV.js} +3 -3
- package/dist/{tools-BG2wMa3X.js.map → tools-BBFu1UsV.js.map} +1 -1
- package/dist/tools.d.ts +2 -2
- package/dist/tools.js +1 -1
- package/dist/{tool-formatters-0aOMYbH-.d.ts → transcript-anchors-FJMZyLS4.d.ts} +242 -97
- package/dist/transcript-anchors-FJMZyLS4.d.ts.map +1 -0
- package/dist/tui.d.ts +55 -39
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +335 -314
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-CDmQ2h-T.js → turn-operations-CeLlc7jt.js} +572 -91
- package/dist/turn-operations-CeLlc7jt.js.map +1 -0
- package/dist/{types-Bx_F8jet.js → types-IcokUOyC.js} +11 -4
- package/dist/{types-Bx_F8jet.js.map → types-IcokUOyC.js.map} +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/dist/agent-skiQGYs2.d.ts.map +0 -1
- package/dist/tool-formatters-0aOMYbH-.d.ts.map +0 -1
- package/dist/turn-operations-CDmQ2h-T.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as resolvePersistDir, _ as PERSISTED_STUB_PREFIX, a as multiEdit, b as cleanupPersistedSession, c as grep, d as createAgent, g as validateToolArgs, h as createSkillsReadTool, l as glob, m as createSkillsRunScriptTool, n as createSpawnTool, p as createSkillsUseTool, s as createInteractionTool, u as edit, v as PERSISTENCE_PREVIEW_BYTES, x as maybePersistToolResult, y as buildPersistedStub } from "./tools-
|
|
1
|
+
import { S as resolvePersistDir, _ as PERSISTED_STUB_PREFIX, a as multiEdit, b as cleanupPersistedSession, c as grep, d as createAgent, g as validateToolArgs, h as createSkillsReadTool, l as glob, m as createSkillsRunScriptTool, n as createSpawnTool, p as createSkillsUseTool, s as createInteractionTool, u as edit, v as PERSISTENCE_PREVIEW_BYTES, x as maybePersistToolResult, y as buildPersistedStub } from "./tools-BBFu1UsV.js";
|
|
2
2
|
import { n as createProcessContext, t as createSandboxContext } from "./contexts-BwiHIr2w.js";
|
|
3
3
|
import { a as CONTEXT_EXCEEDED_MESSAGE_PATTERNS, i as AgentToolNotAllowedError, n as AgentContextExceededError, o as matchesContextExceeded, r as AgentProviderError, s as toTypedError, t as AgentAbortedError } from "./errors-D1lhd6mX.js";
|
|
4
|
-
import { n as toolResultToText, t as toolOutputByteLength } from "./types-
|
|
4
|
+
import { n as toolResultToText, t as toolOutputByteLength } from "./types-IcokUOyC.js";
|
|
5
5
|
import { a as toAnthropic, d as openaiCompat, l as classifyOpenAICompatError, n as fromAnthropic, o as toOpenAI, r as fromOpenAI, s as OpenAICompatHttpError, t as autoDetectAndConvert, u as mapOAIFinishReason } from "./messages-CIkO_aCH.js";
|
|
6
|
-
import { c as createMemoryMcpCredentialStore, i as resultToString, l as hasAuthorizationHeader, n as normalizeMcpBlocks, r as normalizeMcpServers, s as McpOAuthProvider, t as connectMcpServers } from "./mcp-
|
|
6
|
+
import { c as createMemoryMcpCredentialStore, i as resultToString, l as hasAuthorizationHeader, n as normalizeMcpBlocks, r as normalizeMcpServers, s as McpOAuthProvider, t as connectMcpServers } from "./mcp-Bq_rD6e9.js";
|
|
7
7
|
import { _ as validateResourcePath, a as discoverSkills, b as createSkillActivationState, f as IMPLICITLY_ALLOWED_SKILL_TOOLS, g as parseAllowedToolPattern, h as matchesAllowedTool, i as writeSkillsToDisk, l as parseSkillFile, m as isToolAllowedByUnion, n as resolveSkills, p as installAllowedToolsGate, r as writeSkillToDisk, t as interpolateShellCommands, u as buildCatalog, v as validateSkillForWrite, y as validateSkillName } from "./interpolate-BI6ovwag.js";
|
|
8
|
-
import { C as summaryToTurn, E as CompactPromptTooLongError, S as stripImagesFromTurns, T as CompactInvalidInputError, _ as buildTailCompactPrompt, a as selectFilesFromSession, b as anchorPreviewFor, c as BYTES_PER_TOKEN, d as BASE_INSTRUCTIONS, f as NO_TOOLS_PREAMBLE, g as buildFullCompactPrompt, h as buildFromCompactPrompt, i as selectFilesFromReadState, l as estimateTokens, m as buildCompactPrompt, n as startOAuthCallback, o as selectRecentFiles, p as TRAILER, r as buildPostCompactAttachments, s as compactConversation, t as loginMcpServer, u as utf8ByteLength, v as buildUpToCompactPrompt, w as truncateHeadForPtlRetry, x as sliceForCompaction, y as ANCHOR_PREVIEW_MAX_CHARS } from "./login-
|
|
8
|
+
import { C as summaryToTurn, E as CompactPromptTooLongError, S as stripImagesFromTurns, T as CompactInvalidInputError, _ as buildTailCompactPrompt, a as selectFilesFromSession, b as anchorPreviewFor, c as BYTES_PER_TOKEN, d as BASE_INSTRUCTIONS, f as NO_TOOLS_PREAMBLE, g as buildFullCompactPrompt, h as buildFromCompactPrompt, i as selectFilesFromReadState, l as estimateTokens, m as buildCompactPrompt, n as startOAuthCallback, o as selectRecentFiles, p as TRAILER, r as buildPostCompactAttachments, s as compactConversation, t as loginMcpServer, u as utf8ByteLength, v as buildUpToCompactPrompt, w as truncateHeadForPtlRetry, x as sliceForCompaction, y as ANCHOR_PREVIEW_MAX_CHARS } from "./login-DJscx_sS.js";
|
|
9
9
|
import { r as statsByModel, t as flattenTurns } from "./stats-DgOvY7wd.js";
|
|
10
|
-
import { i as basic_default, n as definePreset, r as basicTools } from "./presets-
|
|
10
|
+
import { i as basic_default, n as definePreset, r as basicTools } from "./presets-BEruW0Ji.js";
|
|
11
11
|
import { i as anthropic, n as openai, r as cerebras, t as openrouter } from "./providers-CvriFHFU.js";
|
|
12
12
|
import { a as createFileMapStore, i as createMemoryStore, n as loadSession, r as createRemoteStore, t as createSession } from "./session-DtLD1Sl1.js";
|
|
13
13
|
import { defineSkill } from "./skills.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as getReadState } from "./tools-
|
|
2
|
-
import { t as toolOutputByteLength } from "./types-
|
|
3
|
-
import { a as createTolerantClient, o as sseToJsonFetchIfNeeded, s as McpOAuthProvider } from "./mcp-
|
|
1
|
+
import { C as getReadState } from "./tools-BBFu1UsV.js";
|
|
2
|
+
import { t as toolOutputByteLength } from "./types-IcokUOyC.js";
|
|
3
|
+
import { a as createTolerantClient, o as sseToJsonFetchIfNeeded, s as McpOAuthProvider } from "./mcp-Bq_rD6e9.js";
|
|
4
4
|
import { createServer } from "node:http";
|
|
5
5
|
//#region src/compact/errors.ts
|
|
6
6
|
/**
|
|
@@ -1274,4 +1274,4 @@ async function raceLoginCallback(handle, timeoutMs, signal) {
|
|
|
1274
1274
|
//#endregion
|
|
1275
1275
|
export { summaryToTurn as C, CompactPromptTooLongError as E, stripImagesFromTurns as S, CompactInvalidInputError as T, buildTailCompactPrompt as _, selectFilesFromSession as a, anchorPreviewFor as b, BYTES_PER_TOKEN as c, BASE_INSTRUCTIONS as d, NO_TOOLS_PREAMBLE as f, buildFullCompactPrompt as g, buildFromCompactPrompt as h, selectFilesFromReadState as i, estimateTokens as l, buildCompactPrompt as m, startOAuthCallback as n, selectRecentFiles as o, TRAILER as p, buildPostCompactAttachments as r, compactConversation as s, loginMcpServer as t, utf8ByteLength as u, buildUpToCompactPrompt as v, truncateHeadForPtlRetry as w, sliceForCompaction as x, ANCHOR_PREVIEW_MAX_CHARS as y };
|
|
1276
1276
|
|
|
1277
|
-
//# sourceMappingURL=login-
|
|
1277
|
+
//# sourceMappingURL=login-DJscx_sS.js.map
|