zidane 7.0.8 → 7.0.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-Wr8l4IDI.js → acp-bTPYx7Sd.js} +2 -2
- package/dist/{acp-Wr8l4IDI.js.map → acp-bTPYx7Sd.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-C-camKQW.js → agent-DRNT6DbC.js} +5 -2
- package/dist/agent-DRNT6DbC.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{approvals-BF15XIhM.js → approvals-B4PYwOnW.js} +333 -95
- package/dist/approvals-B4PYwOnW.js.map +1 -0
- package/dist/{auth-BdwDROYg.js → auth-BcG1Y3QL.js} +2 -2
- package/dist/{auth-BdwDROYg.js.map → auth-BcG1Y3QL.js.map} +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +6 -6
- package/dist/chat.js +4 -4
- 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 +1 -1
- package/dist/extensions.js +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-B-FSaM3_.d.ts → index-DFGECPfm.d.ts} +13 -1
- package/dist/{index-B-FSaM3_.d.ts.map → index-DFGECPfm.d.ts.map} +1 -1
- package/dist/{index-Dju2gu3w.d.ts → index-DP7xYXr9.d.ts} +74 -7
- package/dist/index-DP7xYXr9.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{ipc-3Pb7G8JY.js → ipc-CB6NoNxG.js} +2 -2
- package/dist/{ipc-3Pb7G8JY.js.map → ipc-CB6NoNxG.js.map} +1 -1
- package/dist/ipc.d.ts +25 -7
- package/dist/ipc.d.ts.map +1 -1
- package/dist/ipc.js +4 -4
- 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/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-CcqxlLf3.js → server-BuqLVgQA.js} +27 -12
- package/dist/server-BuqLVgQA.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/{tool-formatters-DO56YBBw.d.ts → tool-formatters-C-s_-u0v.d.ts} +2 -2
- package/dist/{tool-formatters-DO56YBBw.d.ts.map → tool-formatters-C-s_-u0v.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-DXqWWGbq.d.ts → transcript-anchors-D1ToF-EW.d.ts} +2 -2
- package/dist/{transcript-anchors-DXqWWGbq.d.ts.map → transcript-anchors-D1ToF-EW.d.ts.map} +1 -1
- package/dist/tui.d.ts +3 -3
- package/dist/tui.js +4 -4
- package/dist/{turn-operations-DKFYWP3O.d.ts → turn-operations-Bp5-BAki.d.ts} +3 -3
- package/dist/{turn-operations-DKFYWP3O.d.ts.map → turn-operations-Bp5-BAki.d.ts.map} +1 -1
- package/dist/types.d.ts +1 -1
- package/docs/IPC.md +5 -0
- package/package.json +1 -1
- package/dist/agent-C-camKQW.js.map +0 -1
- package/dist/approvals-BF15XIhM.js.map +0 -1
- package/dist/index-Dju2gu3w.d.ts.map +0 -1
- package/dist/server-CcqxlLf3.js.map +0 -1
package/dist/ipc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipc.d.ts","names":[],"sources":["../src/ipc/attach.ts","../src/ipc/daemon/lifecycle.ts","../src/ipc/protocol.ts","../src/ipc/client.ts","../src/ipc/daemon/environment.ts","../src/ipc/daemon/server.ts"],"mappings":";;;;;;;UA6BiB,aAAA;EACf,UAAA;;EAEA,SAAA;;EAEA,SAAA;EACA,GAAA;EACA,UAAA;EAP4B;EAS5B,YAAA;EAG8B;EAD9B,KAAA,GAAQ,MAAA,CAAO,cAAA;EACf,MAAA,GAAS,MAAA,CAAO,cAAc;AAAA;AAAA,iBAOV,SAAA,CAAU,OAAA,GAAS,aAAA,GAAqB,OAAO;;;;;;;;;;AAnBrE;;;;;;;cCEa,YAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"ipc.d.ts","names":[],"sources":["../src/ipc/attach.ts","../src/ipc/daemon/lifecycle.ts","../src/ipc/protocol.ts","../src/ipc/client.ts","../src/ipc/daemon/environment.ts","../src/ipc/daemon/server.ts"],"mappings":";;;;;;;UA6BiB,aAAA;EACf,UAAA;;EAEA,SAAA;;EAEA,SAAA;EACA,GAAA;EACA,UAAA;EAP4B;EAS5B,YAAA;EAG8B;EAD9B,KAAA,GAAQ,MAAA,CAAO,cAAA;EACf,MAAA,GAAS,MAAA,CAAO,cAAc;AAAA;AAAA,iBAOV,SAAA,CAAU,OAAA,GAAS,aAAA,GAAqB,OAAO;;;;;;;;;;AAnBrE;;;;;;;cCEa,YAAA;;;;;;;;;iBAgEG,gBAAA,CAAiB,GAAA,GAAK,MAAA,CAAO,UAAwB;AAAA,iBAIrD,iBAAA;;;AApEhB;;;;AAsDI;AAUJ;;;;iBAoDgB,sBAAA;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,EAAS,gBAAA,GAAmB,OAAA,CAAQ,SAAA"}
|
package/dist/ipc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as runCompaction, Bt as readFileSafe, Ht as serializePreview, It as createChatHost, Qt as EditOutcomeLedger, Rt as createInteractionHub, Vt as resolveCwdPath, n as createMemoryApprovalsStore, t as createApprovalHub, zt as extractEditPayloadForGate } from "./approvals-
|
|
2
|
-
import { a as connectIpcClient, c as IpcErrorCode, d as
|
|
3
|
-
import { t as runAttach } from "./ipc-
|
|
4
|
-
export { EditOutcomeLedger, IPC_BUILD_ID, IPC_PROTOCOL_VERSION, IpcErrorCode, IpcVersionMismatchError, connectIpcClient, connectOrSpawnDaemon, createApprovalHub, createChatHost, createDaemonEnvironment, createFileApprovalsStore, createInteractionHub, createMemoryApprovalsStore, defaultSocketPath, ensureDaemonRunning, extractEditPayloadForGate, probeSocket, readFileSafe, resolveCwdPath, runAttach, runCompaction, selfDaemonSpawnCommand, serializePreview, startIpcDaemon };
|
|
1
|
+
import { $t as runCompaction, Bt as readFileSafe, Ht as serializePreview, It as createChatHost, Qt as EditOutcomeLedger, Rt as createInteractionHub, Vt as resolveCwdPath, n as createMemoryApprovalsStore, t as createApprovalHub, zt as extractEditPayloadForGate } from "./approvals-B4PYwOnW.js";
|
|
2
|
+
import { a as connectIpcClient, c as IpcErrorCode, d as defaultSocketPath, f as ensureDaemonRunning, i as IpcVersionMismatchError, l as IPC_BUILD_ID, m as selfDaemonSpawnCommand, n as createDaemonEnvironment, o as connectOrSpawnDaemon, p as probeSocket, r as createFileApprovalsStore, s as IPC_PROTOCOL_VERSION, t as startIpcDaemon, u as daemonSocketName } from "./server-BuqLVgQA.js";
|
|
3
|
+
import { t as runAttach } from "./ipc-CB6NoNxG.js";
|
|
4
|
+
export { EditOutcomeLedger, IPC_BUILD_ID, IPC_PROTOCOL_VERSION, IpcErrorCode, IpcVersionMismatchError, connectIpcClient, connectOrSpawnDaemon, createApprovalHub, createChatHost, createDaemonEnvironment, createFileApprovalsStore, createInteractionHub, createMemoryApprovalsStore, daemonSocketName, defaultSocketPath, ensureDaemonRunning, extractEditPayloadForGate, probeSocket, readFileSafe, resolveCwdPath, runAttach, runCompaction, selfDaemonSpawnCommand, serializePreview, startIpcDaemon };
|
package/dist/mcp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Av as originPinnedFetch, Cv as normalizeMcpBlocks, Dv as wrapDiscoveredMcpTools, Ev as resultToString, Ov as PinnedFetch, Qh as McpServerConfig, Sv as nonOwningMcpView, Tv as resolveTransportConfig, _v as connectMcpServers, bv as expandEnvPlaceholders, eg as McpToolSchema, gv as attachStderrWarnPump, hv as McpExecutionBinding, kv as isAllowedRemoteUrl, mv as McpConnection, pv as ConnectMcpServersOptions, vv as createStderrLineEmitter, wv as normalizeMcpServers, xv as expandMcpConfigEnv, yv as deriveMcpToolMeta } from "./index-
|
|
1
|
+
import { Av as originPinnedFetch, Cv as normalizeMcpBlocks, Dv as wrapDiscoveredMcpTools, Ev as resultToString, Ov as PinnedFetch, Qh as McpServerConfig, Sv as nonOwningMcpView, Tv as resolveTransportConfig, _v as connectMcpServers, bv as expandEnvPlaceholders, eg as McpToolSchema, gv as attachStderrWarnPump, hv as McpExecutionBinding, kv as isAllowedRemoteUrl, mv as McpConnection, pv as ConnectMcpServersOptions, vv as createStderrLineEmitter, wv as normalizeMcpServers, xv as expandMcpConfigEnv, yv as deriveMcpToolMeta } from "./index-DFGECPfm.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Wi as Agent, Xn as HeadlessEvent, qn as FormattedHeadlessResult } from "../index-
|
|
1
|
+
import { $n as HeadlessResult, Jn as FormattedHeadlessTurnEvent, Qn as HeadlessOutputFormat, Wi as Agent, Xn as HeadlessEvent, qn as FormattedHeadlessResult } from "../index-DFGECPfm.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 { $s as PLUGIN_SKILLS_DIR, _c as agentPluginsSchemaId, ac as PLUGIN_MANIFEST_FILE, cc as AgentPluginsVersion, dc as PluginAuthor, ec as PLUGIN_MCP_FILE, fc as PluginComponentStatus, gc as SUPPORTED_AGENT_PLUGINS_VERSIONS, hc as PluginSchemaKind, ic as validatePluginManifest, lc as LoadAgentPluginOptions, mc as PluginManifest, nc as ManifestValidation, oc as defaultPluginDataRoot, pc as PluginDiagnostic, rc as parsePluginManifest, sc as loadAgentPlugin, tc as expandPluginVars, uc as LoadedPlugin, vc as isSupportedAgentPluginsVersion, yc as parseSchemaId } from "./index-
|
|
1
|
+
import { $s as PLUGIN_SKILLS_DIR, _c as agentPluginsSchemaId, ac as PLUGIN_MANIFEST_FILE, cc as AgentPluginsVersion, dc as PluginAuthor, ec as PLUGIN_MCP_FILE, fc as PluginComponentStatus, gc as SUPPORTED_AGENT_PLUGINS_VERSIONS, hc as PluginSchemaKind, ic as validatePluginManifest, lc as LoadAgentPluginOptions, mc as PluginManifest, nc as ManifestValidation, oc as defaultPluginDataRoot, pc as PluginDiagnostic, rc as parsePluginManifest, sc as loadAgentPlugin, tc as expandPluginVars, uc as LoadedPlugin, vc as isSupportedAgentPluginsVersion, yc as parseSchemaId } from "./index-DFGECPfm.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 { Gi as AgentHookMap, a as basicTools, i as _default, n as composePresets, r as definePreset, t as Preset } from "./index-
|
|
1
|
+
import { Gi as AgentHookMap, a as basicTools, i as _default, n as composePresets, r as definePreset, t as Preset } from "./index-DFGECPfm.js";
|
|
2
2
|
export { type AgentHookMap, Preset, _default as basic, basicTools, composePresets, definePreset };
|
package/dist/presets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as composePresets, bt as basic_default, vt as definePreset, yt as basicTools } from "./agent-
|
|
1
|
+
import { _t as composePresets, bt as basic_default, vt as definePreset, yt as basicTools } from "./agent-DRNT6DbC.js";
|
|
2
2
|
export { basic_default as basic, basicTools, composePresets, definePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ah as anthropic, ch as classifyAnthropicError, dh as planAnthropicThinking, eh as AnthropicBedrockConfig, fh as resolveAnthropicAuthShape, ih as EXTENDED_CACHE_TTL_BETA, lh as credentialIdentity, mh as resolveAnthropicMaxOutput, nh as AnthropicParams, oh as applyAnthropicCacheBreakpoints, ph as resolveAnthropicBetas, rh as AnthropicThinkingPlan, sh as buildAnthropicClientOptions, th as AnthropicContextManagement, uh as defaultAnthropicMaxTokens } from "../index-
|
|
1
|
+
import { ah as anthropic, ch as classifyAnthropicError, dh as planAnthropicThinking, eh as AnthropicBedrockConfig, fh as resolveAnthropicAuthShape, ih as EXTENDED_CACHE_TTL_BETA, lh as credentialIdentity, mh as resolveAnthropicMaxOutput, nh as AnthropicParams, oh as applyAnthropicCacheBreakpoints, ph as resolveAnthropicBetas, rh as AnthropicThinkingPlan, sh as buildAnthropicClientOptions, th as AnthropicContextManagement, uh as defaultAnthropicMaxTokens } from "../index-DFGECPfm.js";
|
|
2
2
|
export { AnthropicBedrockConfig, AnthropicContextManagement, AnthropicParams, AnthropicThinkingPlan, EXTENDED_CACHE_TTL_BETA, anthropic, applyAnthropicCacheBreakpoints, buildAnthropicClientOptions, classifyAnthropicError, credentialIdentity, defaultAnthropicMaxTokens, planAnthropicThinking, resolveAnthropicAuthShape, resolveAnthropicBetas, resolveAnthropicMaxOutput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $m as arcee, Qm as ArceeParams } from "../index-
|
|
1
|
+
import { $m as arcee, Qm as ArceeParams } from "../index-DFGECPfm.js";
|
|
2
2
|
export { ArceeParams, arcee };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Xm as baseten, Ym as BasetenParams, Zm as planBasetenReasoning } from "../index-
|
|
1
|
+
import { Xm as baseten, Ym as BasetenParams, Zm as planBasetenReasoning } from "../index-DFGECPfm.js";
|
|
2
2
|
export { BasetenParams, baseten, planBasetenReasoning };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Jm as cerebras, qm as CerebrasParams } from "../index-
|
|
1
|
+
import { Jm as cerebras, qm as CerebrasParams } from "../index-DFGECPfm.js";
|
|
2
2
|
export { CerebrasParams, cerebras };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Um as LocalParams, Wm as local } from "../index-
|
|
1
|
+
import { Um as LocalParams, Wm as local } from "../index-DFGECPfm.js";
|
|
2
2
|
export { LocalParams, local };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Am as openAICompatPromptMessage, Cm as applyOAIToolCacheBreakpoint, Dm as consumeSSE, Em as classifyOpenAICompatError, Mm as toOAIMessages, Nm as toolResultsMessage, Om as formatTools, Pm as userMessage, Sm as applyOAICacheBreakpoints, Tm as buildAssistantContent, _m as OpenAICompatAuthHeader, bm as OpenAICompatStreamError, gm as OAITool, hm as OAIMessage, jm as openaiCompat, km as mapOAIFinishReason, mm as ASSISTANT_TOOL_CALLS_TAG, vm as OpenAICompatHttpError, wm as assistantMessage, xm as TOOL_RESULTS_TAG, ym as OpenAICompatParams } from "../index-
|
|
1
|
+
import { Am as openAICompatPromptMessage, Cm as applyOAIToolCacheBreakpoint, Dm as consumeSSE, Em as classifyOpenAICompatError, Mm as toOAIMessages, Nm as toolResultsMessage, Om as formatTools, Pm as userMessage, Sm as applyOAICacheBreakpoints, Tm as buildAssistantContent, _m as OpenAICompatAuthHeader, bm as OpenAICompatStreamError, gm as OAITool, hm as OAIMessage, jm as openaiCompat, km as mapOAIFinishReason, mm as ASSISTANT_TOOL_CALLS_TAG, vm as OpenAICompatHttpError, wm as assistantMessage, xm as TOOL_RESULTS_TAG, ym as OpenAICompatParams } from "../index-DFGECPfm.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 { Fm as OpenAIParams, Im as classifyOpenAIError, Lm as mapCodexStopReason, Rm as openai, zm as toPiMessages } from "../index-
|
|
1
|
+
import { Fm as OpenAIParams, Im as classifyOpenAIError, Lm as mapCodexStopReason, Rm as openai, zm as toPiMessages } from "../index-DFGECPfm.js";
|
|
2
2
|
export { OpenAIParams, classifyOpenAIError, mapCodexStopReason, openai, toPiMessages };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { dm as OpenRouterParams, fm as normalizeOpenRouterModelId, pm as openrouter } from "../index-
|
|
1
|
+
import { dm as OpenRouterParams, fm as normalizeOpenRouterModelId, pm as openrouter } from "../index-DFGECPfm.js";
|
|
2
2
|
export { OpenRouterParams, normalizeOpenRouterModelId, openrouter };
|
package/dist/providers/xai.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { am as xai, im as XaiParams } from "../index-
|
|
1
|
+
import { am as xai, im as XaiParams } from "../index-DFGECPfm.js";
|
|
2
2
|
export { XaiParams, xai };
|
package/dist/providers.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $m as arcee, $p as ToolSpec, Ah as getOAuthApiKey, Bm as MistralParams, Ch as extractRuntimeCredentials, Dh as resolveOAuthApiKey, Eh as registerCustomOAuthProvider, Em as classifyOpenAICompatError, Fm as OpenAIParams, Fv as setModelCatalog, Gm as CursorParams, Gp as Provider, Hm as planMistralReasoning, Jm as cerebras, Jp as StreamCallbacks, Km as cursor, Kp as ProviderCapabilities, Mh as refreshAnthropicToken, Mv as ModelCatalogEntry, Nh as refreshOpenAICodexToken, Nv as ModelCatalogSource, Oh as writeOAuthCredentials, Ph as registerOAuthProvider, Pv as getModelCatalog, Qm as ArceeParams, Qp as ToolResult, Rm as openai, Sh as credentialsFromParams, Th as readOAuthCredentials, Um as LocalParams, Vm as mistral, Wm as local, Wp as HistoryRepair, Xm as baseten, Xp as TokenCountPayload, Ym as BasetenParams, Yp as StreamOptions, Zm as planBasetenReasoning, Zp as ToolCall, _h as derivePromptCacheKey, _m as OpenAICompatAuthHeader, ah as anthropic, am as xai, bh as ResolveOAuthApiKeyOptions, cm as SchemaSanitizeResult, dm as OpenRouterParams, em as TurnResult, gh as PromptCacheKeyOption, hh as PromptCacheKeyContext, im as XaiParams, jh as getOAuthProvider, jm as openaiCompat, jv as ModelCatalog, kh as OAuthProviderInterface, km as mapOAIFinishReason, lm as sanitizeToolSchema, nh as AnthropicParams, nm as planZaiReasoning, oh as applyAnthropicCacheBreakpoints, om as SchemaSanitizeOptions, pm as openrouter, qm as CerebrasParams, qp as ProviderMeta, rm as zai, sm as SchemaSanitizeProfile, tm as ZaiParams, um as sanitizeToolSpecs, vh as resolvePromptCacheKey, vm as OpenAICompatHttpError, wh as isOAuthAccessToken, xh as credentialsFilePath, yh as OAuthParams, ym as OpenAICompatParams } from "./index-
|
|
1
|
+
import { $m as arcee, $p as ToolSpec, Ah as getOAuthApiKey, Bm as MistralParams, Ch as extractRuntimeCredentials, Dh as resolveOAuthApiKey, Eh as registerCustomOAuthProvider, Em as classifyOpenAICompatError, Fm as OpenAIParams, Fv as setModelCatalog, Gm as CursorParams, Gp as Provider, Hm as planMistralReasoning, Jm as cerebras, Jp as StreamCallbacks, Km as cursor, Kp as ProviderCapabilities, Mh as refreshAnthropicToken, Mv as ModelCatalogEntry, Nh as refreshOpenAICodexToken, Nv as ModelCatalogSource, Oh as writeOAuthCredentials, Ph as registerOAuthProvider, Pv as getModelCatalog, Qm as ArceeParams, Qp as ToolResult, Rm as openai, Sh as credentialsFromParams, Th as readOAuthCredentials, Um as LocalParams, Vm as mistral, Wm as local, Wp as HistoryRepair, Xm as baseten, Xp as TokenCountPayload, Ym as BasetenParams, Yp as StreamOptions, Zm as planBasetenReasoning, Zp as ToolCall, _h as derivePromptCacheKey, _m as OpenAICompatAuthHeader, ah as anthropic, am as xai, bh as ResolveOAuthApiKeyOptions, cm as SchemaSanitizeResult, dm as OpenRouterParams, em as TurnResult, gh as PromptCacheKeyOption, hh as PromptCacheKeyContext, im as XaiParams, jh as getOAuthProvider, jm as openaiCompat, jv as ModelCatalog, kh as OAuthProviderInterface, km as mapOAIFinishReason, lm as sanitizeToolSchema, nh as AnthropicParams, nm as planZaiReasoning, oh as applyAnthropicCacheBreakpoints, om as SchemaSanitizeOptions, pm as openrouter, qm as CerebrasParams, qp as ProviderMeta, rm as zai, sm as SchemaSanitizeProfile, tm as ZaiParams, um as sanitizeToolSpecs, vh as resolvePromptCacheKey, vm as OpenAICompatHttpError, wh as isOAuthAccessToken, xh as credentialsFilePath, yh as OAuthParams, ym as OpenAICompatParams } from "./index-DFGECPfm.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, 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 { Fh as AgentBehavior, Gp as Provider, Ih as AgentClock, Kg as ToolContext, Ng as ToolResultContent, Rh as AgentStats, Sg as SessionTurn, T_ as SessionStore, Xi as McpToolWrap, Yi as McpToolMeta, Yp as StreamOptions, c_ as ToolStateStore, kg as ToolBatchExecutor, qg as ToolDef } from "./index-
|
|
1
|
+
import { Fh as AgentBehavior, Gp as Provider, Ih as AgentClock, Kg as ToolContext, Ng as ToolResultContent, Rh as AgentStats, Sg as SessionTurn, T_ as SessionStore, Xi as McpToolWrap, Yi as McpToolMeta, Yp as StreamOptions, c_ as ToolStateStore, kg as ToolBatchExecutor, qg as ToolDef } from "./index-DFGECPfm.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-DY-AKxCg.js";
|
|
2
2
|
import { i as coerceToolResultContent, l as toolOutputByteLength, u as toolResultToText } from "./types-CWgENVLY.js";
|
|
3
|
-
import { Dt as reserveChildLabel, Wn as hydrateReadStateFromSessionAsync, a as stagedToolState, i as isToolStateOps } from "./agent-
|
|
3
|
+
import { Dt as reserveChildLabel, Wn as hydrateReadStateFromSessionAsync, a as stagedToolState, i as isToolStateOps } from "./agent-DRNT6DbC.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,12 +1,12 @@
|
|
|
1
|
-
import { Mn as serializedPayloadBytes, at as createExtensionHud, jn as createExtensionBus, ot as discoverAndBuildExtensionRegistry } from "./agent-
|
|
1
|
+
import { Mn as serializedPayloadBytes, at as createExtensionHud, ht as createExtensionHostRuntimeBridge, jn as createExtensionBus, ot as discoverAndBuildExtensionRegistry } from "./agent-DRNT6DbC.js";
|
|
2
2
|
import { S as resolveInlineSuggestion, b as createPathAutocompleteProvider } from "./src-DzzhE2YO.js";
|
|
3
3
|
import { t as writeFileAtomic } from "./atomic-write-B7zr1ddF.js";
|
|
4
4
|
import { p as resolveStorageDirs } from "./plugins-B531Tz5b.js";
|
|
5
5
|
import { a as successResponse, i as errorResponse, n as JsonRpcRemoteError, r as createJsonRpcConnection } from "./json-rpc-rSWMUh9b.js";
|
|
6
6
|
import { Pt as isMainSession } from "./turn-operations-CZLsNgw-.js";
|
|
7
7
|
import { c as searchSessionHistoryIndexAsync, n as buildSessionSearchIndexAsync, u as searchSessionIndexAsync } from "./history-search-C4bk1Wz_.js";
|
|
8
|
-
import { Gt as modelChainMetadata, In as resolveConfig, It as createChatHost, Kt as sessionModelFallbacks, Lt as toTodosSnapshot,
|
|
9
|
-
import { d as BUILTIN_PROVIDERS, n as applyApiKeyEnv, r as credentialsPath } from "./auth-
|
|
8
|
+
import { Gt as modelChainMetadata, In as resolveConfig, It as createChatHost, Kt as sessionModelFallbacks, Lt as toTodosSnapshot, cn as DEFAULT_SETTINGS, fn as SETTINGS_TOGGLES, ft as createFileMcpCredentialStore, hn as enforceSettingsInvariants, oi as deriveSessionTitle, si as eventsFromTurns } from "./approvals-B4PYwOnW.js";
|
|
9
|
+
import { d as BUILTIN_PROVIDERS, n as applyApiKeyEnv, r as credentialsPath } from "./auth-BcG1Y3QL.js";
|
|
10
10
|
import { basename, dirname, join } from "node:path";
|
|
11
11
|
import { chmodSync, existsSync, mkdirSync, readFileSync, readdirSync, statSync, unlinkSync } from "node:fs";
|
|
12
12
|
import { spawn } from "node:child_process";
|
|
@@ -61,10 +61,21 @@ const IPC_BUILD_ID = (() => {
|
|
|
61
61
|
return "unknown";
|
|
62
62
|
}
|
|
63
63
|
})();
|
|
64
|
+
/**
|
|
65
|
+
* Socket file name. Dev builds (`ZIDANE_DEV=1`, set by every `dev` script
|
|
66
|
+
* in the repo) get their OWN socket so a checkout's TUI, GUI and `zidane
|
|
67
|
+
* daemon` pair up among themselves and never attach to — or get refused by
|
|
68
|
+
* — the installed daemon. Without this, a protocol bump in the working
|
|
69
|
+
* tree turned the dev GUI's dot red against the stable daemon, and a dev
|
|
70
|
+
* daemon could drain the one the installed TUI relies on.
|
|
71
|
+
*/
|
|
72
|
+
function daemonSocketName(env = process.env) {
|
|
73
|
+
return env.ZIDANE_DEV && env.ZIDANE_DEV !== "0" ? "dev.sock" : "daemon.sock";
|
|
74
|
+
}
|
|
64
75
|
function defaultSocketPath() {
|
|
65
76
|
const explicit = process.env.ZIDANE_DAEMON_SOCKET;
|
|
66
77
|
if (explicit) return explicit;
|
|
67
|
-
return join(resolveStorageDirs({ ...process.env.ZIDANE_PREFIX !== void 0 ? { prefix: process.env.ZIDANE_PREFIX } : {} }).stateDir, "daemon",
|
|
78
|
+
return join(resolveStorageDirs({ ...process.env.ZIDANE_PREFIX !== void 0 ? { prefix: process.env.ZIDANE_PREFIX } : {} }).stateDir, "daemon", daemonSocketName());
|
|
68
79
|
}
|
|
69
80
|
/**
|
|
70
81
|
* Pre-v6 socket location for the given (v6) socket path, or null when the
|
|
@@ -198,7 +209,7 @@ async function ensureDaemonRunning(options = {}) {
|
|
|
198
209
|
* resolver's full ordered `candidates` list so daemon mode keeps
|
|
199
210
|
* ↑/↓ candidate rotation instead of degrading to one suggestion.
|
|
200
211
|
*/
|
|
201
|
-
const IPC_PROTOCOL_VERSION =
|
|
212
|
+
const IPC_PROTOCOL_VERSION = 9;
|
|
202
213
|
/**
|
|
203
214
|
* JSON-RPC error codes specific to the zidane daemon. Lives here (not in
|
|
204
215
|
* `daemon/server.ts`) so clients can import the codes without pulling the
|
|
@@ -267,7 +278,7 @@ async function connectIpcClient(options) {
|
|
|
267
278
|
let hello;
|
|
268
279
|
try {
|
|
269
280
|
hello = await Promise.race([connection.sendRequest("ipc.hello", {
|
|
270
|
-
protocolVersion:
|
|
281
|
+
protocolVersion: 9,
|
|
271
282
|
appVersion: options.appVersion ?? "dev",
|
|
272
283
|
pid: process.pid,
|
|
273
284
|
buildId: options.drainOnMismatch === false ? "unknown" : IPC_BUILD_ID
|
|
@@ -456,6 +467,7 @@ async function createDaemonEnvironment(options) {
|
|
|
456
467
|
});
|
|
457
468
|
const RUNTIME_CACHE_MAX = 16;
|
|
458
469
|
const runtimeCache = /* @__PURE__ */ new Map();
|
|
470
|
+
const hostRuntime = createExtensionHostRuntimeBridge();
|
|
459
471
|
/**
|
|
460
472
|
* Best-effort release of an evicted entry's extension registry
|
|
461
473
|
* (teardown hooks, HUD writers — `registry.dispose()` is idempotent).
|
|
@@ -485,6 +497,7 @@ async function createDaemonEnvironment(options) {
|
|
|
485
497
|
cwd,
|
|
486
498
|
hud,
|
|
487
499
|
bus: extensionBus,
|
|
500
|
+
hostRuntime,
|
|
488
501
|
prefix: config.prefix,
|
|
489
502
|
...settings.enabledExtensions !== void 0 ? { enabledAllowlist: [...settings.enabledExtensions] } : {},
|
|
490
503
|
trustProjectExtensions: settings.loadProjectExtensions === true,
|
|
@@ -519,6 +532,7 @@ async function createDaemonEnvironment(options) {
|
|
|
519
532
|
readSettings,
|
|
520
533
|
writeSettings,
|
|
521
534
|
runtimeConfig,
|
|
535
|
+
hostRuntime,
|
|
522
536
|
userDataDir,
|
|
523
537
|
applyAuthEnv,
|
|
524
538
|
mcpCredentialStore: () => createFileMcpCredentialStore(userDataDir()),
|
|
@@ -828,6 +842,7 @@ async function startIpcDaemon(options) {
|
|
|
828
842
|
"sessions.contextSegments": (p) => host.getContextSegments(p.sessionId),
|
|
829
843
|
"sessions.createSystemOverride": (p) => host.createSystemOverride(p.sessionId),
|
|
830
844
|
"queue.remove": (p) => host.queueRemove(p.sessionId, p.id),
|
|
845
|
+
"queue.update": (p) => host.queueUpdate(p.sessionId, p.id, typeof p.text === "string" ? p.text.slice(0, 64 * 1024) : ""),
|
|
831
846
|
"queue.pushNow": (p) => host.queuePushNow(p.sessionId, p.id),
|
|
832
847
|
"drafts.get": (p) => {
|
|
833
848
|
const entry = drafts.get(p.sessionId);
|
|
@@ -1148,7 +1163,7 @@ async function startIpcDaemon(options) {
|
|
|
1148
1163
|
}).catch(() => void 0);
|
|
1149
1164
|
},
|
|
1150
1165
|
"daemon.info": () => ({
|
|
1151
|
-
protocolVersion:
|
|
1166
|
+
protocolVersion: 9,
|
|
1152
1167
|
appVersion,
|
|
1153
1168
|
pid: process.pid,
|
|
1154
1169
|
startedAt
|
|
@@ -1188,8 +1203,8 @@ async function startIpcDaemon(options) {
|
|
|
1188
1203
|
const clientBuild = Number(params.buildId);
|
|
1189
1204
|
const daemonBuild = Number(IPC_BUILD_ID);
|
|
1190
1205
|
const staleBuild = params.buildId !== void 0 && params.buildId !== "unknown" && IPC_BUILD_ID !== "unknown" && Number.isFinite(clientBuild) && Number.isFinite(daemonBuild) && clientBuild > daemonBuild;
|
|
1191
|
-
if (params.protocolVersion !==
|
|
1192
|
-
protocolVersion:
|
|
1206
|
+
if (params.protocolVersion !== 9 || staleBuild) return errorResponse(message.id, IpcErrorCode.VersionMismatch, staleBuild ? `Build mismatch: the daemon was started from an older build (daemon ${IPC_BUILD_ID}, client ${params.buildId}). Draining for respawn.` : `Protocol version mismatch: daemon speaks v9, client sent v${params.protocolVersion ?? "?"}.`, { daemon: {
|
|
1207
|
+
protocolVersion: 9,
|
|
1193
1208
|
appVersion,
|
|
1194
1209
|
pid: process.pid,
|
|
1195
1210
|
startedAt,
|
|
@@ -1197,7 +1212,7 @@ async function startIpcDaemon(options) {
|
|
|
1197
1212
|
} });
|
|
1198
1213
|
peer.ready = true;
|
|
1199
1214
|
const result = {
|
|
1200
|
-
protocolVersion:
|
|
1215
|
+
protocolVersion: 9,
|
|
1201
1216
|
appVersion,
|
|
1202
1217
|
pid: process.pid,
|
|
1203
1218
|
startedAt,
|
|
@@ -1312,6 +1327,6 @@ async function startIpcDaemon(options) {
|
|
|
1312
1327
|
};
|
|
1313
1328
|
}
|
|
1314
1329
|
//#endregion
|
|
1315
|
-
export { connectIpcClient as a, IpcErrorCode as c,
|
|
1330
|
+
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 };
|
|
1316
1331
|
|
|
1317
|
-
//# sourceMappingURL=server-
|
|
1332
|
+
//# sourceMappingURL=server-BuqLVgQA.js.map
|