zidane 7.0.29 → 7.0.31
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-cli.js +3 -3
- package/dist/{acp-DcJRNtIr.js → acp-m3TLCY_C.js} +2 -2
- package/dist/{acp-DcJRNtIr.js.map → acp-m3TLCY_C.js.map} +1 -1
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-DSej5JPY.js → agent-9gf8ZlBR.js} +73 -16
- package/dist/agent-9gf8ZlBR.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{approvals-BOr8_M0D.js → approvals-DaCEPCTV.js} +367 -10
- package/dist/approvals-DaCEPCTV.js.map +1 -0
- package/dist/{auth-DaBtlC8B.js → auth-CJogE9q7.js} +2 -2
- package/dist/{auth-DaBtlC8B.js.map → auth-CJogE9q7.js.map} +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +6 -6
- package/dist/chat.js +5 -5
- package/dist/{context-transport-BqYwzJYE.js → context-transport-T_6AYIvy.js} +2 -2
- package/dist/{context-transport-BqYwzJYE.js.map → context-transport-T_6AYIvy.js.map} +1 -1
- 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 +2 -2
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-Co4Fddtj.d.ts → index-JkEO3MBV.d.ts} +191 -6
- package/dist/index-JkEO3MBV.d.ts.map +1 -0
- package/dist/{index-C0y2tSgk.d.ts → index-hd4zLhp8.d.ts} +52 -2
- package/dist/index-hd4zLhp8.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{ipc-Dmq3B7H6.js → ipc-BtN5SIc0.js} +2 -2
- package/dist/{ipc-Dmq3B7H6.js.map → ipc-BtN5SIc0.js.map} +1 -1
- package/dist/ipc.d.ts +17 -12
- package/dist/ipc.d.ts.map +1 -1
- package/dist/ipc.js +3 -3
- package/dist/{mcp-BIWa57eY.js → mcp-CgNd-f3F.js} +3 -3
- package/dist/{mcp-BIWa57eY.js.map → mcp-CgNd-f3F.js.map} +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- 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/{server-DM3yjH5O.js → server-ktOMu5gk.js} +18 -23
- package/dist/server-ktOMu5gk.js.map +1 -0
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{src-DzzhE2YO.js → src-CjkY6fBj.js} +2 -2
- package/dist/{src-DzzhE2YO.js.map → src-CjkY6fBj.js.map} +1 -1
- package/dist/{stdio-loader-CI4sPFve.js → stdio-loader-Bbx19dMZ.js} +2 -2
- package/dist/{stdio-loader-CI4sPFve.js.map → stdio-loader-Bbx19dMZ.js.map} +1 -1
- package/dist/{tool-formatters-bbgUM3zI.d.ts → tool-formatters-C4QIFCNa.d.ts} +2 -2
- package/dist/{tool-formatters-bbgUM3zI.d.ts.map → tool-formatters-C4QIFCNa.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-BHyrChoO.d.ts → transcript-anchors-Bbn1HX5D.d.ts} +8 -2
- package/dist/{transcript-anchors-BHyrChoO.d.ts.map → transcript-anchors-Bbn1HX5D.d.ts.map} +1 -1
- package/dist/tui.d.ts +3 -3
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +196 -87
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-ZP5-2OWi.d.ts → turn-operations-BhHCpCkP.d.ts} +3 -3
- package/dist/{turn-operations-ZP5-2OWi.d.ts.map → turn-operations-BhHCpCkP.d.ts.map} +1 -1
- package/dist/types.d.ts +2 -2
- package/docs/TUI.md +5 -3
- package/package.json +1 -1
- package/dist/agent-DSej5JPY.js.map +0 -1
- package/dist/approvals-BOr8_M0D.js.map +0 -1
- package/dist/index-C0y2tSgk.d.ts.map +0 -1
- package/dist/index-Co4Fddtj.d.ts.map +0 -1
- package/dist/server-DM3yjH5O.js.map +0 -1
package/dist/mcp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dg as
|
|
1
|
+
import { Dg as McpServerConfig, _y as PinnedFetch, ay as attachStderrWarnPump, cy as deriveMcpToolMeta, dy as nonOwningMcpView, fy as normalizeMcpBlocks, gy as wrapDiscoveredMcpTools, hy as resultToString, iy as McpExecutionBinding, kg as McpToolSchema, ly as expandEnvPlaceholders, my as resolveTransportConfig, ny as ConnectMcpServersOptions, oy as connectMcpServers, py as normalizeMcpServers, ry as McpConnection, sy as createStderrLineEmitter, uy as expandMcpConfigEnv, vy as isAllowedRemoteUrl, yy as originPinnedFetch } from "./index-hd4zLhp8.js";
|
|
2
2
|
export { ConnectMcpServersOptions, McpConnection, McpExecutionBinding, type McpServerConfig, type McpToolSchema, type PinnedFetch, attachStderrWarnPump, connectMcpServers, createStderrLineEmitter, deriveMcpToolMeta, expandEnvPlaceholders, expandMcpConfigEnv, isAllowedRemoteUrl, nonOwningMcpView, normalizeMcpBlocks, normalizeMcpServers, originPinnedFetch, resolveTransportConfig, resultToString, wrapDiscoveredMcpTools };
|
package/dist/mcp.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as originPinnedFetch, t as isAllowedRemoteUrl } from "./origin-pinned-fetch-CqG8VZIq.js";
|
|
2
|
-
import { a as expandEnvPlaceholders, c as normalizeMcpBlocks, d as resultToString, f as wrapDiscoveredMcpTools, i as deriveMcpToolMeta, l as normalizeMcpServers, n as connectMcpServers, o as expandMcpConfigEnv, r as createStderrLineEmitter, s as nonOwningMcpView, t as attachStderrWarnPump, u as resolveTransportConfig } from "./mcp-
|
|
2
|
+
import { a as expandEnvPlaceholders, c as normalizeMcpBlocks, d as resultToString, f as wrapDiscoveredMcpTools, i as deriveMcpToolMeta, l as normalizeMcpServers, n as connectMcpServers, o as expandMcpConfigEnv, r as createStderrLineEmitter, s as nonOwningMcpView, t as attachStderrWarnPump, u as resolveTransportConfig } from "./mcp-CgNd-f3F.js";
|
|
3
3
|
export { attachStderrWarnPump, connectMcpServers, createStderrLineEmitter, deriveMcpToolMeta, expandEnvPlaceholders, expandMcpConfigEnv, isAllowedRemoteUrl, nonOwningMcpView, normalizeMcpBlocks, normalizeMcpServers, originPinnedFetch, resolveTransportConfig, resultToString, wrapDiscoveredMcpTools };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Xn as HeadlessEvent, qi as Agent, qn as FormattedHeadlessResult } from "../index-
|
|
1
|
+
import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Xn as HeadlessEvent, qi as Agent, qn as FormattedHeadlessResult } from "../index-hd4zLhp8.js";
|
|
2
2
|
|
|
3
3
|
//#region src/output/stream-json.d.ts
|
|
4
4
|
type StreamJsonOutputFormat = HeadlessOutputFormat;
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ac as
|
|
1
|
+
import { Ac as parsePluginManifest, Bc as PluginDiagnostic, Dc as PLUGIN_MCP_FILE, Ec as PLUGIN_SKILLS_DIR, Fc as AgentPluginsVersion, Gc as isSupportedAgentPluginsVersion, Hc as PluginSchemaKind, Ic as LoadAgentPluginOptions, Kc as parseSchemaId, Lc as LoadedPlugin, Mc as PLUGIN_MANIFEST_FILE, Nc as defaultPluginDataRoot, Oc as expandPluginVars, Pc as loadAgentPlugin, Rc as PluginAuthor, Uc as SUPPORTED_AGENT_PLUGINS_VERSIONS, Vc as PluginManifest, Wc as agentPluginsSchemaId, jc as validatePluginManifest, kc as ManifestValidation, zc as PluginComponentStatus } from "./index-hd4zLhp8.js";
|
|
2
2
|
export { type AgentPluginsVersion, type LoadAgentPluginOptions, type LoadedPlugin, type ManifestValidation, PLUGIN_MANIFEST_FILE, PLUGIN_MCP_FILE, PLUGIN_SKILLS_DIR, type PluginAuthor, type PluginComponentStatus, type PluginDiagnostic, type PluginManifest, type PluginSchemaKind, SUPPORTED_AGENT_PLUGINS_VERSIONS, agentPluginsSchemaId, defaultPluginDataRoot, expandPluginVars, isSupportedAgentPluginsVersion, loadAgentPlugin, parsePluginManifest, parseSchemaId, validatePluginManifest };
|
package/dist/presets.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ji as AgentHookMap, Ki as _default, a as basicTools, i as _default$1, n as composePresets, r as definePreset, t as Preset } from "./index-
|
|
1
|
+
import { Ji as AgentHookMap, Ki as _default, a as basicTools, i as _default$1, n as composePresets, r as definePreset, t as Preset } from "./index-hd4zLhp8.js";
|
|
2
2
|
export { type AgentHookMap, Preset, _default as artifacts, _default$1 as basic, basicTools, composePresets, definePreset };
|
package/dist/presets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Jt as artifacts_default, bt as basicTools, vt as composePresets, xt as basic_default, yt as definePreset } from "./agent-
|
|
1
|
+
import { Jt as artifacts_default, bt as basicTools, vt as composePresets, xt as basic_default, yt as definePreset } from "./agent-9gf8ZlBR.js";
|
|
2
2
|
export { artifacts_default as artifacts, basic_default as basic, basicTools, composePresets, definePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ah as
|
|
1
|
+
import { Ah as AnthropicThinkingPlan, Bh as resolveAnthropicAuthShape, Dh as AnthropicBedrockConfig, Fh as cacheWriteTtlMultiplier, Hh as resolveAnthropicMaxOutput, Ih as classifyAnthropicError, Lh as credentialIdentity, Mh as anthropic, Nh as applyAnthropicCacheBreakpoints, Oh as AnthropicContextManagement, Ph as buildAnthropicClientOptions, Rh as defaultAnthropicMaxTokens, Vh as resolveAnthropicBetas, jh as EXTENDED_CACHE_TTL_BETA, kh as AnthropicParams, zh as planAnthropicThinking } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { AnthropicBedrockConfig, AnthropicContextManagement, AnthropicParams, AnthropicThinkingPlan, EXTENDED_CACHE_TTL_BETA, anthropic, applyAnthropicCacheBreakpoints, buildAnthropicClientOptions, cacheWriteTtlMultiplier, classifyAnthropicError, credentialIdentity, defaultAnthropicMaxTokens, planAnthropicThinking, resolveAnthropicAuthShape, resolveAnthropicBetas, resolveAnthropicMaxOutput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Eh as arcee, Th as ArceeParams } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { ArceeParams, arcee };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ch as baseten, Sh as BasetenParams, wh as planBasetenReasoning } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { BasetenParams, baseten, planBasetenReasoning };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bh as CerebrasParams, xh as cerebras } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { CerebrasParams, cerebras };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _h as local, gh as LocalParams } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { LocalParams, local };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $m as
|
|
1
|
+
import { $m as classifyOpenAICompatError, Gm as OpenAICompatHttpError, Hm as OAIMessage, Jm as TOOL_RESULTS_TAG, Km as OpenAICompatParams, Qm as buildAssistantContent, Um as OAITool, Vm as ASSISTANT_TOOL_CALLS_TAG, Wm as OpenAICompatAuthHeader, Xm as applyOAIToolCacheBreakpoint, Ym as applyOAICacheBreakpoints, Zm as assistantMessage, ah as toOAIMessages, eh as consumeSSE, ih as openaiCompat, nh as mapOAIFinishReason, oh as toolResultsMessage, qm as OpenAICompatStreamError, rh as openAICompatPromptMessage, sh as userMessage, th as formatTools } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { ASSISTANT_TOOL_CALLS_TAG, OAIMessage, OAITool, OpenAICompatAuthHeader, OpenAICompatHttpError, OpenAICompatParams, OpenAICompatStreamError, TOOL_RESULTS_TAG, applyOAICacheBreakpoints, applyOAIToolCacheBreakpoint, assistantMessage, buildAssistantContent, classifyOpenAICompatError, consumeSSE, formatTools, mapOAIFinishReason, openAICompatPromptMessage, openaiCompat, toOAIMessages, toolResultsMessage, userMessage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ch as
|
|
1
|
+
import { ch as OpenAIParams, dh as openai, fh as toPiMessages, lh as classifyOpenAIError, uh as mapCodexStopReason } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { OpenAIParams, classifyOpenAIError, mapCodexStopReason, openai, toPiMessages };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bm as openrouter, Rm as OpenRouterParams, zm as normalizeOpenRouterModelId } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { OpenRouterParams, normalizeOpenRouterModelId, openrouter };
|
package/dist/providers/xai.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Mm as xai, jm as XaiParams } from "../index-hd4zLhp8.js";
|
|
2
2
|
export { XaiParams, xai };
|
package/dist/providers.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $h as
|
|
1
|
+
import { $h as readOAuthCredentials, $m as classifyOpenAICompatError, Am as zai, Bm as openrouter, Ch as baseten, Cm as TokenCountPayload, Cy as getModelCatalog, Dm as TurnResult, Eh as arcee, Em as ToolSpec, Fm as SchemaSanitizeResult, Gh as derivePromptCacheKey, Gm as OpenAICompatHttpError, Im as sanitizeToolSchema, Jh as ResolveOAuthApiKeyOptions, Kh as resolvePromptCacheKey, Km as OpenAICompatParams, Lm as sanitizeToolSpecs, Mh as anthropic, Mm as xai, Nh as applyAnthropicCacheBreakpoints, Nm as SchemaSanitizeOptions, Om as ZaiParams, Pm as SchemaSanitizeProfile, Qh as isOAuthAccessToken, Rm as OpenRouterParams, Sh as BasetenParams, Sm as StreamOptions, Sy as ModelCatalogSource, Th as ArceeParams, Tm as ToolResult, Uh as PromptCacheKeyContext, Wh as PromptCacheKeyOption, Wm as OpenAICompatAuthHeader, Xh as credentialsFromParams, Yh as credentialsFilePath, Zh as extractRuntimeCredentials, _h as local, _m as HistoryRepair, ag as getOAuthApiKey, bh as CerebrasParams, bm as ProviderMeta, by as ModelCatalog, cg as refreshOpenAICodexToken, ch as OpenAIParams, dh as openai, eg as registerCustomOAuthProvider, gh as LocalParams, hh as planMistralReasoning, ig as ensureBundledOAuthFlows, ih as openaiCompat, jm as XaiParams, kh as AnthropicParams, km as planZaiReasoning, lg as registerOAuthProvider, mh as mistral, ng as writeOAuthCredentials, nh as mapOAIFinishReason, og as getOAuthProvider, ph as MistralParams, qh as OAuthParams, rg as OAuthProviderInterface, sg as refreshAnthropicToken, tg as resolveOAuthApiKey, vh as CursorParams, vm as Provider, wh as planBasetenReasoning, wm as ToolCall, wy as setModelCatalog, xh as cerebras, xm as StreamCallbacks, xy as ModelCatalogEntry, yh as cursor, ym as ProviderCapabilities } from "./index-hd4zLhp8.js";
|
|
2
2
|
export { type AnthropicParams, type ArceeParams, type BasetenParams, type CerebrasParams, type CursorParams, HistoryRepair, type LocalParams, type MistralParams, type ModelCatalog, type ModelCatalogEntry, type ModelCatalogSource, type OAuthParams, type OAuthProviderInterface, type OpenAICompatAuthHeader, OpenAICompatHttpError, type OpenAICompatParams, type OpenAIParams, type OpenRouterParams, type PromptCacheKeyContext, type PromptCacheKeyOption, Provider, ProviderCapabilities, ProviderMeta, type ResolveOAuthApiKeyOptions, type SchemaSanitizeOptions, type SchemaSanitizeProfile, type SchemaSanitizeResult, StreamCallbacks, StreamOptions, TokenCountPayload, ToolCall, ToolResult, ToolSpec, TurnResult, type XaiParams, type ZaiParams, anthropic, applyAnthropicCacheBreakpoints, arcee, baseten, cerebras, classifyOpenAICompatError, credentialsFilePath, credentialsFromParams, cursor, derivePromptCacheKey, ensureBundledOAuthFlows, extractRuntimeCredentials, getModelCatalog, getOAuthApiKey, getOAuthProvider, isOAuthAccessToken, local, mapOAIFinishReason, mistral, openai, openaiCompat, openrouter, planBasetenReasoning, planMistralReasoning, planZaiReasoning, readOAuthCredentials, refreshAnthropicToken, refreshOpenAICodexToken, registerCustomOAuthProvider, registerOAuthProvider, resolveOAuthApiKey, resolvePromptCacheKey, sanitizeToolSchema, sanitizeToolSpecs, setModelCatalog, writeOAuthCredentials, xai, zai };
|
package/dist/restate.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as McpToolMeta, C_ as ToolContext, Sm as StreamOptions, Zg as SessionTurn, dg as AgentClock, ea as McpToolWrap, nv as SessionStore, o_ as ToolBatchExecutor, pg as AgentStats, u_ as ToolResultContent, ug as AgentBehavior, vm as Provider, w_ as ToolDef, z_ as ToolStateStore } from "./index-hd4zLhp8.js";
|
|
2
2
|
import { g as TaskExitInfo, h as TaskEntry, l as ExecutionHandle, o as DetachedTasksCapability } from "./types-U-rIVUDw.js";
|
|
3
3
|
|
|
4
4
|
//#region src/restate/types.d.ts
|
package/dist/restate.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as buildAliasMaps } from "./openai-compat-Dy56weK8.js";
|
|
2
2
|
import { i as coerceToolResultContent, l as toolOutputByteLength, u as toolResultToText } from "./types-CWgENVLY.js";
|
|
3
|
-
import { Ot as reserveChildLabel, a as stagedToolState,
|
|
3
|
+
import { Ot as reserveChildLabel, a as stagedToolState, i as isToolStateOps, or as hydrateReadStateFromSessionAsync } from "./agent-9gf8ZlBR.js";
|
|
4
4
|
import { r as formatTokenUsage } from "./stats-DAKBEKjc.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
//#region src/restate/awakeable.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Fn as createExtensionBus, In as serializedPayloadBytes, at as createExtensionHud, gt as createExtensionHostRuntimeBridge, ot as discoverAndBuildExtensionRegistry } from "./agent-
|
|
2
|
-
import { S as resolveInlineSuggestion, b as createPathAutocompleteProvider } from "./src-
|
|
1
|
+
import { Fn as createExtensionBus, In as serializedPayloadBytes, at as createExtensionHud, gt as createExtensionHostRuntimeBridge, ot as discoverAndBuildExtensionRegistry } from "./agent-9gf8ZlBR.js";
|
|
2
|
+
import { S as resolveInlineSuggestion, b as createPathAutocompleteProvider } from "./src-CjkY6fBj.js";
|
|
3
3
|
import { l as normalizeArtifactInput } from "./artifacts-CV2hUKnL.js";
|
|
4
4
|
import { t as writeFileAtomic } from "./atomic-write-B7zr1ddF.js";
|
|
5
5
|
import { p as resolveStorageDirs } from "./plugins-B531Tz5b.js";
|
|
6
6
|
import { a as successResponse, i as errorResponse, n as JsonRpcRemoteError, r as createJsonRpcConnection } from "./json-rpc-rSWMUh9b.js";
|
|
7
7
|
import { It as isMainSession } from "./turn-operations-BgqpLlOG.js";
|
|
8
8
|
import { c as searchSessionHistoryIndexAsync, n as buildSessionSearchIndexAsync, u as searchSessionIndexAsync } from "./history-search-C4bk1Wz_.js";
|
|
9
|
-
import {
|
|
10
|
-
import { d as BUILTIN_PROVIDERS, n as applyApiKeyEnv, r as credentialsPath } from "./auth-
|
|
9
|
+
import { Ci as deriveSessionTitle, It as createChatHost, Ln as resolveConfig, Lt as toTodosSnapshot, ft as createFileMcpCredentialStore, gn as enforceSettingsInvariants, ln as DEFAULT_SETTINGS, pn as SETTINGS_TOGGLES, qt as sessionModelFallbacks, wi as eventsFromTurns } from "./approvals-DaCEPCTV.js";
|
|
10
|
+
import { d as BUILTIN_PROVIDERS, n as applyApiKeyEnv, r as credentialsPath } from "./auth-CJogE9q7.js";
|
|
11
11
|
import { basename, dirname, join } from "node:path";
|
|
12
12
|
import { chmodSync, existsSync, mkdirSync, readFileSync, readdirSync, statSync, unlinkSync } from "node:fs";
|
|
13
13
|
import { spawn } from "node:child_process";
|
|
@@ -26,7 +26,7 @@ import { connect, createServer } from "node:net";
|
|
|
26
26
|
* retires it, so an upgrade can never leave windows silently executing on a
|
|
27
27
|
* process started from the previous release.
|
|
28
28
|
*/
|
|
29
|
-
const ZIDANE_VERSION = "7.0.
|
|
29
|
+
const ZIDANE_VERSION = "7.0.31";
|
|
30
30
|
/**
|
|
31
31
|
* Compare two dotted versions (`7.0.19`, `7.1.0-beta.1`): negative when `a`
|
|
32
32
|
* is older, positive when newer, 0 when equal. Pre-release tags are ignored
|
|
@@ -234,7 +234,8 @@ async function startDaemon(options) {
|
|
|
234
234
|
* - `chat.pushQueued` result gained the `'queued'` delivered variant.
|
|
235
235
|
* - `sessions.setModel` now honors `fallbacks`: it persists the canonical
|
|
236
236
|
* `metadata.modelChain` and CLEARS a previously persisted chain when
|
|
237
|
-
* omitted/empty.
|
|
237
|
+
* omitted/empty. It also accepts `effort` / `modelOptions` and resets
|
|
238
|
+
* both when omitted (a pick is atomic — no stale per-model knobs).
|
|
238
239
|
* - additive: `extension.emit` notification + `extension:signal` fan-out
|
|
239
240
|
* (the permission-gated per-extension cross-window bus, `ctx.bus`).
|
|
240
241
|
* Older daemons ignore the unknown notification; older clients drop the
|
|
@@ -844,18 +845,7 @@ async function startIpcDaemon(options) {
|
|
|
844
845
|
* the row to the top of recency-sorted lists (mirrors the GUI).
|
|
845
846
|
*/
|
|
846
847
|
async function patchSessionMeta(sessionId, patch, opts = {}) {
|
|
847
|
-
|
|
848
|
-
broadcast({
|
|
849
|
-
kind: "sessions:changed",
|
|
850
|
-
op: "update",
|
|
851
|
-
sessionId
|
|
852
|
-
});
|
|
853
|
-
return;
|
|
854
|
-
}
|
|
855
|
-
const data = await loadOrThrow(sessionId);
|
|
856
|
-
for (const [key, value] of Object.entries(patch)) data.metadata[key] = value;
|
|
857
|
-
if (opts.bumpUpdatedAt !== false) data.updatedAt = Date.now();
|
|
858
|
-
await store.save(data);
|
|
848
|
+
await host.patchSessionMeta(sessionId, patch, opts);
|
|
859
849
|
broadcast({
|
|
860
850
|
kind: "sessions:changed",
|
|
861
851
|
op: "update",
|
|
@@ -1134,13 +1124,18 @@ async function startIpcDaemon(options) {
|
|
|
1134
1124
|
},
|
|
1135
1125
|
"sessions.setEffort": (p) => patchSessionMeta(p.sessionId, { effort: p.effort }),
|
|
1136
1126
|
"sessions.setModel": async (p) => {
|
|
1137
|
-
|
|
1138
|
-
await patchSessionMeta(p.sessionId, {
|
|
1127
|
+
await host.setSessionModel(p.sessionId, {
|
|
1139
1128
|
providerKey: p.providerKey,
|
|
1140
1129
|
modelId: p.modelId,
|
|
1141
|
-
...
|
|
1130
|
+
...p.fallbacks ? { fallbacks: p.fallbacks } : {},
|
|
1131
|
+
...p.effort ? { effort: p.effort } : {},
|
|
1132
|
+
...p.modelOptions ? { modelOptions: p.modelOptions } : {}
|
|
1133
|
+
});
|
|
1134
|
+
broadcast({
|
|
1135
|
+
kind: "sessions:changed",
|
|
1136
|
+
op: "update",
|
|
1137
|
+
sessionId: p.sessionId
|
|
1142
1138
|
});
|
|
1143
|
-
host.disposeAgentForRebuild(p.sessionId);
|
|
1144
1139
|
},
|
|
1145
1140
|
"sessions.setModelOptions": (p) => patchSessionMeta(p.sessionId, { modelOptions: p.options }),
|
|
1146
1141
|
"sessions.loadEvents": async (p) => {
|
|
@@ -1456,4 +1451,4 @@ async function startIpcDaemon(options) {
|
|
|
1456
1451
|
//#endregion
|
|
1457
1452
|
export { connectIpcClient as a, IpcErrorCode as c, defaultSocketPath as d, ensureDaemonRunning as f, IpcVersionMismatchError as i, IPC_BUILD_ID as l, selfDaemonSpawnCommand as m, createDaemonEnvironment as n, connectOrSpawnDaemon as o, probeSocket as p, createFileApprovalsStore as r, IPC_PROTOCOL_VERSION as s, startIpcDaemon as t, daemonSocketName as u };
|
|
1458
1453
|
|
|
1459
|
-
//# sourceMappingURL=server-
|
|
1454
|
+
//# sourceMappingURL=server-ktOMu5gk.js.map
|