@tangle-network/sdk-provider-cli-base 0.13.129 → 0.13.130
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/adapters/amp/index.d.mts +1 -1
- package/dist/adapters/amp/index.mjs +1 -1
- package/dist/adapters/exo/index.d.mts +1 -1
- package/dist/adapters/exo/index.mjs +1 -1
- package/dist/adapters/factory-droids/index.d.mts +1 -1
- package/dist/adapters/factory-droids/index.mjs +1 -1
- package/dist/adapters/grok/index.d.mts +1 -1
- package/dist/adapters/grok/index.mjs +1 -1
- package/dist/adapters/hermes/index.d.mts +1 -1
- package/dist/adapters/hermes/index.mjs +1 -1
- package/dist/adapters/nanoclaw/index.d.mts +1 -1
- package/dist/adapters/nanoclaw/index.mjs +1 -1
- package/dist/adapters/nanocode/index.d.mts +1 -1
- package/dist/adapters/nanocode/index.mjs +1 -1
- package/dist/adapters/openclaw/index.d.mts +1 -1
- package/dist/adapters/openclaw/index.mjs +1 -1
- package/dist/adapters/prime/index.d.mts +1 -1
- package/dist/adapters/prime/index.mjs +1 -1
- package/dist/{index-HmISZHsd.d.mts → index-BvoaIiz8.d.mts} +42 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{src-lA1NjWj7.mjs → src-Bkpdq_jn.mjs} +2 -2
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { McpConfig, ProviderConfig, StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as textDeltaEvents, Ht as toolResultEvents, I as localMcpArgv, L as localMcpEnv, Lt as reasoningEvents, O as recordCliTokenUsage, Rt as sessionObservedEvents, S as jsonEventParser, Ut as toolStartEvents, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
//#region src/adapters/amp/types.ts
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for AMP events.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dn as CliTurnSpawn, En as CliTurnProcess, Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser,
|
|
1
|
+
import { C as plaintextResponseParser, Rt as sessionObservedEvents, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { normalizeOpenAiCompatibleBaseUrl, resolveTangleRouterDefaults } from "@tangle-network/agent-interface";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
//#region src/adapters/exo/adapter.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { AgentExecutionInput, AgentExecutionResult, BackendCapabilities, InteractionResponse, McpConfig, ProviderConfig, SdkHostServices, StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as textDeltaEvents, F as isLocalMcpConfig, Ht as toolResultEvents, I as localMcpArgv, L as localMcpEnv, Lt as reasoningEvents, O as recordCliTokenUsage, R as enabledInteractionKinds, Rt as sessionObservedEvents, S as jsonEventParser, Ut as toolStartEvents, W as withTurnInteractions, g as McpInteractionSupport, k as CliProviderAdapterBase, zt as streamPartBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { createHash, randomUUID } from "node:crypto";
|
|
3
3
|
import { InteractionKind } from "@tangle-network/agent-interface";
|
|
4
4
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as textDeltaEvents, Ht as toolResultEvents, Lt as reasoningEvents, O as recordCliTokenUsage, Rt as sessionObservedEvents, S as jsonEventParser, Ut as toolStartEvents, _t as prependPromptSection, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { isRecord } from "@tangle-network/agent-core";
|
|
3
3
|
//#region src/adapters/grok/adapter.ts
|
|
4
4
|
const DECLARE_MODEL = "d=$HOME/.grok; [ -z \"$GROK_HOME\" ] || d=$GROK_HOME; t=\"[model.\\\"$1\\\"]\"; mkdir -p \"$d\" && { grep -qxF \"$t\" \"$d/managed_config.toml\" 2>/dev/null || printf '%s\\nmodel = \"%s\"\\n' \"$t\" \"$1\" >> \"$d/managed_config.toml\"; }; shift; exec \"$@\"";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState, n as HarnessId } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { i as PreparedAttachment } from "../../prompt-input-CD7okX8T.mjs";
|
|
3
3
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
4
4
|
import { InputPart, McpConfig, StreamEvent } from "@tangle-network/agent-interface";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser,
|
|
1
|
+
import { C as plaintextResponseParser, F as isLocalMcpConfig, I as localMcpArgv, L as localMcpEnv, O as recordCliTokenUsage, Rt as sessionObservedEvents, _t as prependPromptSection, ht as partitionImageAttachments, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { resolveTangleRouterDefaults } from "@tangle-network/agent-interface";
|
|
3
3
|
import { writeFile } from "node:fs/promises";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState, n as HarnessId } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser, E as parseCliUsageLine,
|
|
1
|
+
import { C as plaintextResponseParser, E as parseCliUsageLine, O as recordCliTokenUsage, Rt as sessionObservedEvents, _t as prependPromptSection, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { normalizeOpenAiCompatibleBaseUrl, resolveTangleRouterDefaults } from "@tangle-network/agent-interface";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
//#region src/adapters/nanoclaw/adapter.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { i as PreparedAttachment } from "../../prompt-input-CD7okX8T.mjs";
|
|
3
3
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
4
4
|
import { InputPart, StreamEvent } from "@tangle-network/agent-interface";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser,
|
|
1
|
+
import { C as plaintextResponseParser, Rt as sessionObservedEvents, _t as prependPromptSection, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { qualifyModelId } from "@tangle-network/agent-profile-materialize";
|
|
3
3
|
import { normalizeOpenAiCompatibleBaseUrl, resolveTangleRouterDefaults } from "@tangle-network/agent-interface";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as CliProviderConfig, Ot as CliProviderAdapterBase, Wt as CliExecArgs, Xt as ExecutionState, c as WorkspacePlanApplication, n as HarnessId } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
3
3
|
import { CliAuthFile, ProviderConfig, StreamEvent } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as finalTextEvent, O as recordCliTokenUsage, Rt as sessionObservedEvents, _t as prependPromptSection, h as nativeEffortArgs, k as CliProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { resolveTangleRouterDefaults } from "@tangle-network/agent-interface";
|
|
3
3
|
//#region src/adapters/openclaw/adapter.ts
|
|
4
4
|
/** openclaw's default agent id; the synthesized config declares only it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as AcpProcessSpec, Dt as AcpProviderAdapterBase, Ft as AcpContentBlock, Pt as AcpBridgeConfig, Vt as AcpTurn, kn as AcpBridgeSpawn } from "../../index-BvoaIiz8.mjs";
|
|
2
2
|
import { i as PreparedAttachment } from "../../prompt-input-CD7okX8T.mjs";
|
|
3
3
|
import { PRIME_AGENT_DIR_ENV_VAR, PRIME_AGENT_DIR_ENV_VARS, PRIME_HARNESS_STATE_ENV_DENYLIST, PRIME_KERNEL_DEAD_MARKERS, PRIME_KERNEL_ENV_PASSTHROUGH, PRIME_MCP_UNSUPPORTED_REASON, PrimeHarnessStateError, PrimeMaterializeOptions, PrimeProfileControls, PrimeProfileControls as PrimeProfileControls$1, PrimeProfileError, PrimeProfileSkill, PrimeProfileSubagent, assertPrimeModelAgreement, hasPrimeProfileMaterial, matchPrimeKernelDeadMarker, materializePrimeProfileControls, primeAgentDirEnv, primeProfileNeedsAgentDir, primeSubagentEntryId as subagentEntryId, primeThinkingLevel, prunePrimeProfileMaterial, readPrimeProfileControls } from "@tangle-network/agent-profile-materialize";
|
|
4
4
|
import { RpcBridge } from "@tangle-network/sdk-cli-runner";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Yt as spawnAcpBridge, _t as prependPromptSection, w as AcpProviderAdapterBase } from "../../src-Bkpdq_jn.mjs";
|
|
2
2
|
import { PRIME_AGENT_DIR_ENV_VAR, PRIME_AGENT_DIR_ENV_VARS, PRIME_HARNESS_STATE_ENV_DENYLIST, PRIME_HARNESS_STATE_ENV_DENYLIST as PRIME_HARNESS_STATE_ENV_DENYLIST$1, PRIME_KERNEL_DEAD_MARKERS, PRIME_KERNEL_ENV_PASSTHROUGH, PRIME_KERNEL_ENV_PASSTHROUGH as PRIME_KERNEL_ENV_PASSTHROUGH$1, PRIME_MCP_UNSUPPORTED_REASON, PrimeHarnessStateError, PrimeProfileError, assertPrimeModelAgreement, assertPrimeModelAgreement as assertPrimeModelAgreement$1, buildPiModelsConfig, hasPrimeProfileMaterial, matchPrimeKernelDeadMarker, materializePrimeProfileControls, materializePrimeProfileControls as materializePrimeProfileControls$1, primeAgentDirEnv, primeAgentDirEnv as primeAgentDirEnv$1, primeHarnessStatePath, primeProfileNeedsAgentDir, primeSubagentEntryId as subagentEntryId, primeThinkingLevel, primeThinkingLevel as primeThinkingLevel$1, prunePrimeProfileMaterial, readPrimeProfileControls, readPrimeProfileControls as readPrimeProfileControls$1, writePrimeAgentFile } from "@tangle-network/agent-profile-materialize";
|
|
3
3
|
import { isAbsolute, join, relative, sep } from "node:path";
|
|
4
4
|
import { existsSync, lchownSync, lstatSync, mkdirSync } from "node:fs";
|
|
@@ -3,7 +3,7 @@ import { AskUserBridge, DEFAULT_INTERACTION_DECISION_TIMEOUT_MS as PERMISSION_DE
|
|
|
3
3
|
import * as _$_tangle_network_agent_profile_materialize0 from "@tangle-network/agent-profile-materialize";
|
|
4
4
|
import { ApplyWorkspacePlanOptions, BindableLaunchControl, CODEX_DISABLED_FEATURE_ARGS, HarnessId, HarnessId as HarnessId$1, PlanFile, SECRET_REFERENCE as SECRET_REFERENCE$1, SECRET_REFERENCE_PREFIX as SECRET_REFERENCE_PREFIX$1, WorkspacePlan, WorkspacePlanApplication, WorkspacePlanApplication as WorkspacePlanApplication$1, WorkspacePlanReceipt, codexDeveloperInstructionArgs } from "@tangle-network/agent-profile-materialize";
|
|
5
5
|
import { CliExecResult, CliExitResult, CliLauncher, CliProcess, CliSpawnConfig, InvalidAttachmentError, JsonRpcError, RpcBridge, StreamParserConfig } from "@tangle-network/sdk-cli-runner";
|
|
6
|
-
import { AgentExecutionInput, AgentExecutionOutcome, AgentExecutionResult, AgentProfile, AgentProfileSecretProvider, AgentRuntimeAttachments, BackendCapabilities, BackendMessage, CliAuthFile, DurablePlan, GetMessagesOptions, HarnessType, InputPart, InteractionExecutionBinding, InteractionResponse, LocalMcpConfig, McpConfig, McpStatusResponse, PlanProviderState, ProviderConfig, ProxySecretReceipt, ReasoningEffort, RequestedInteractions, SdkHostServices, SdkPlanHost, SdkProviderAdapter, StreamEvent, TokenUsage, ToolPart } from "@tangle-network/agent-interface";
|
|
6
|
+
import { AgentExecutionError, AgentExecutionInput, AgentExecutionOutcome, AgentExecutionResult, AgentProfile, AgentProfileSecretProvider, AgentRuntimeAttachments, BackendCapabilities, BackendMessage, CliAuthFile, DurablePlan, GetMessagesOptions, HarnessType, InputPart, InteractionExecutionBinding, InteractionResponse, LocalMcpConfig, McpConfig, McpStatusResponse, PlanProviderState, ProviderConfig, ProxySecretReceipt, ReasoningEffort, RequestedInteractions, SdkHostServices, SdkPlanHost, SdkProviderAdapter, StreamEvent, TokenUsage, ToolPart } from "@tangle-network/agent-interface";
|
|
7
7
|
import { HarnessSessionContract } from "@tangle-network/cli-agent-registry/session-contract";
|
|
8
8
|
import * as _$_tangle_network_sdk_session_persistence0 from "@tangle-network/sdk-session-persistence";
|
|
9
9
|
import { MessagePart, MessageStore, PersistedMessage, PersistedSession, SessionStore, readProviderMessageIds } from "@tangle-network/sdk-session-persistence";
|
|
@@ -754,7 +754,7 @@ declare class TurnObserver {
|
|
|
754
754
|
private stopped;
|
|
755
755
|
constructor(options: TurnObserverOptions);
|
|
756
756
|
flushPartUpdates(): Promise<void>;
|
|
757
|
-
attachProcess(process: CliTurnProcess): void;
|
|
757
|
+
attachProcess(process: Pick<CliTurnProcess, "kill">): void;
|
|
758
758
|
/** Stop the harness once, when the stream parser has decided the turn. */
|
|
759
759
|
private stopIfRequested;
|
|
760
760
|
startLiveness(executionSignal: AbortSignal, startTime: number): NodeJS.Timeout;
|
|
@@ -1404,6 +1404,44 @@ declare class TerminalPlanSupport {
|
|
|
1404
1404
|
withdraw(reason: string): Promise<void>;
|
|
1405
1405
|
}
|
|
1406
1406
|
//#endregion
|
|
1407
|
+
//#region src/turn-execution.d.ts
|
|
1408
|
+
type TurnRecorder = SdkHostServices["recorder"];
|
|
1409
|
+
/** What a turn will launch: its resolved config, environment and argv. */
|
|
1410
|
+
/**
|
|
1411
|
+
* A failed CLI turn's end and error (#16404): a guard's end is its own, the
|
|
1412
|
+
* rest is `turnEndReason`'s; a session death and a memory-limit kill carry
|
|
1413
|
+
* their wire code.
|
|
1414
|
+
*/
|
|
1415
|
+
declare function endFailedTurn(params: {
|
|
1416
|
+
provider: string;
|
|
1417
|
+
state: ExecutionState;
|
|
1418
|
+
exitResult: CliExitResult;
|
|
1419
|
+
stderr: string;
|
|
1420
|
+
aborted: boolean;
|
|
1421
|
+
command: string;
|
|
1422
|
+
nixBinPath: string | undefined;
|
|
1423
|
+
startTime: number;
|
|
1424
|
+
endTime: number;
|
|
1425
|
+
}): {
|
|
1426
|
+
errorMessage: string;
|
|
1427
|
+
failure: AgentExecutionError;
|
|
1428
|
+
};
|
|
1429
|
+
/**
|
|
1430
|
+
* Best-effort: stamp the assistant message interrupted so reattach can
|
|
1431
|
+
* surface "this turn died" without inferring from absence. Swallow any
|
|
1432
|
+
* metadata-write error — the upstream failure is the one the caller
|
|
1433
|
+
* needs to see. The coalesced part updates drain first so no stale
|
|
1434
|
+
* snapshot lands after the terminal stamp.
|
|
1435
|
+
*/
|
|
1436
|
+
declare function recordTurnInterruption(params: {
|
|
1437
|
+
recorder: TurnRecorder;
|
|
1438
|
+
observer: Pick<TurnObserver, "flushPartUpdates">;
|
|
1439
|
+
logger: CliProviderLogger;
|
|
1440
|
+
errorMessage: string;
|
|
1441
|
+
exitResult: CliExitResult;
|
|
1442
|
+
failure: AgentExecutionError;
|
|
1443
|
+
}): Promise<void>;
|
|
1444
|
+
//#endregion
|
|
1407
1445
|
//#region src/writable-home.d.ts
|
|
1408
1446
|
/** HOME and the XDG base directories a CLI resolves under it. */
|
|
1409
1447
|
declare function homeXdgEnv(home: string): {
|
|
@@ -1414,5 +1452,5 @@ declare function homeXdgEnv(home: string): {
|
|
|
1414
1452
|
XDG_STATE_HOME: string;
|
|
1415
1453
|
};
|
|
1416
1454
|
//#endregion
|
|
1417
|
-
export {
|
|
1418
|
-
//# sourceMappingURL=index-
|
|
1455
|
+
export { AskUserBridge as $, PerTurnInteractionInput as $t, refuseSecretLaunch as A, AcpProcessSpec as An, createExecutionState as At, RepeatedToolFailureGuardOptions as B, AcpSessionUpdateParams as Bt, forgetSessionScopes as C, sharedSecretMcpRefused as Cn, failureAfterCleanup as Ct, assertSealedNativeHome as D, CliTurnSpawn as Dn, AcpProviderAdapterBase as Dt, SEALED_NATIVE_HOME_LAYOUT as E, CliTurnProcess as En, mapAcpSessionUpdate as Et, RouterModelLimitsResult as F, AcpContentBlock as Ft, accumulateCliTokenUsage as G, CliExecutionInput as Gt, trackReasoningBlock as H, acpContentText as Ht, findRouterCatalogEntry as I, AcpInitializeParams as It, recordCliTokenUsage as J, CliProviderOptions as Jt, parseCliUsageLine as K, CliProviderConfig as Kt, resolveRouterModelLimits as L, AcpInitializeResult as Lt, ROUTER_MODEL_CATALOG_TIMEOUT_MS as M, ACP_MIN_PROTOCOL_VERSION as Mt, ResolveRouterModelLimitsInput as N, ACP_PROTOCOL_VERSION as Nt, isTrustedStoreBinary as O, PreparedCliLaunch as On, CliProviderAdapterBase as Ot, RouterModelLimits as P, AcpBridgeConfig as Pt, McpInteractionSupport as Q, InteractionToggleKind as Qt, resolveRouterModelReasoningEfforts as R, AcpNewSessionResult as Rt, toolStartEvents as S, servableStdioServer as Sn, SessionRehydrationError as St, NATIVE_SESSION_CONTRACTS$1 as T, untilSettledOrAborted as Tn, wasNeverLaunched as Tt, kimiThinkingArgs as U, assertAcpTurnFinished as Ut, createRepeatedToolFailureGuard as V, AcpTurn as Vt, nativeEffortArgs as W, CliExecArgs as Wt, localMcpArgv as X, ExecutionState as Xt, isLocalMcpConfig as Y, EphemeralContextInput as Yt, localMcpEnv as Z, InteractionToggleConfig as Zt, sessionObservedEvents as _, joinQueue as _n, executionCorrelationHeaders as _t, PERMISSION_DECISION_TIMEOUT_MS as a, turnEndReason as an, RequestPlanBridge as at, textSnapshotEvents as b, secretSessionTurnQueue as bn, plaintextResponseParser as bt, WorkspacePlanApplication$1 as c, withTurnInteractions as cn, buildFileUrl as ct, endFailedTurn as d, SecretProfileMcpLease as dn, inferMediaType as dt, ToolCallState as en, DEFAULT_INTERACTION_MCP_SERVER_NAME as et, recordTurnInterruption as f, SecretProfileMcpServer as fn, trackFilePart as ft, reasoningEvents as g, isPlainRecord as gn, MANAGED_QUOTE_VERSION_HEADER as gt, finalTextEvent as h, isLoopbackEndpoint as hn, EXECUTION_TRACE_HEADER as ht, InteractionHttpBridge as i, readEphemeralContext as in, RequestPermissionBridge as it, resolveExecutableRealpath as j, spawnAcpBridge as jn, TurnObserver as jt, provenStoreBinary as k, AcpBridgeSpawn as kn, runtimeSecretsOverlay as kt, codexDeveloperInstructionArgs as l, SHARED_WORKSPACE_DIR_ENV as ln, deriveFilePart as lt, TerminalPlanSupportOptions as m, directStdioMcpServers as mn, EXECUTION_ID_HEADER as mt, HarnessId$1 as n, enabledInteractionKinds as nn, InteractionMcpServerConfig$1 as nt, SECRET_REFERENCE$1 as o, turnInteractionEnabled as on, brokerInteractionTools$1 as ot, TerminalPlanSupport as p, assertSealedNativeSearchPath as pn, EXECUTION_CORRELATION_HEADERS as pt, readCliTokenUsage as q, CliProviderLogger as qt, InteractionBroker$1 as r, interactionToggleEnabled as rn, PermissionPromptBridge as rt, SECRET_REFERENCE_PREFIX$1 as s, withEphemeralContext as sn, interactionMcpToolName as st, CODEX_DISABLED_FEATURE_ARGS as t, TurnEndReason as tn, InteractionMcpServer$1 as tt, homeXdgEnv as u, SecretProfileMcpCredentialProxy as un, deterministicFilePartId as ut, streamPartBase as v, requireRecord as vn, PlaintextResponse as vt, secretMcpScope as w, spawnUnderSecretMcpLease as wn, rejectNotLaunched as wt, toolResultEvents as x, servableMcpServer as xn, InvalidAttachmentError as xt, textDeltaEvents as y, resolveReferences as yn, jsonEventParser as yt, RepeatedToolFailure as z, AcpPromptResult as zt };
|
|
1456
|
+
//# sourceMappingURL=index-BvoaIiz8.d.mts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AskUserBridge, $t as PerTurnInteractionInput, A as refuseSecretLaunch, An as AcpProcessSpec, At as createExecutionState, B as RepeatedToolFailureGuardOptions, Bt as AcpSessionUpdateParams, C as forgetSessionScopes, Cn as sharedSecretMcpRefused, Ct as failureAfterCleanup, D as assertSealedNativeHome, Dn as CliTurnSpawn, Dt as AcpProviderAdapterBase, E as SEALED_NATIVE_HOME_LAYOUT, En as CliTurnProcess, Et as mapAcpSessionUpdate, F as RouterModelLimitsResult, Ft as AcpContentBlock, G as accumulateCliTokenUsage, Gt as CliExecutionInput, H as trackReasoningBlock, Ht as acpContentText, I as findRouterCatalogEntry, It as AcpInitializeParams, J as recordCliTokenUsage, Jt as CliProviderOptions, K as parseCliUsageLine, Kt as CliProviderConfig, L as resolveRouterModelLimits, Lt as AcpInitializeResult, M as ROUTER_MODEL_CATALOG_TIMEOUT_MS, Mt as ACP_MIN_PROTOCOL_VERSION, N as ResolveRouterModelLimitsInput, Nt as ACP_PROTOCOL_VERSION, O as isTrustedStoreBinary, On as PreparedCliLaunch, Ot as CliProviderAdapterBase, P as RouterModelLimits, Pt as AcpBridgeConfig, Q as McpInteractionSupport, Qt as InteractionToggleKind, R as resolveRouterModelReasoningEfforts, Rt as AcpNewSessionResult, S as toolStartEvents, Sn as servableStdioServer, St as SessionRehydrationError, T as NATIVE_SESSION_CONTRACTS, Tn as untilSettledOrAborted, Tt as wasNeverLaunched, U as kimiThinkingArgs, Ut as assertAcpTurnFinished, V as createRepeatedToolFailureGuard, Vt as AcpTurn, W as nativeEffortArgs, Wt as CliExecArgs, X as localMcpArgv, Xt as ExecutionState, Y as isLocalMcpConfig, Yt as EphemeralContextInput, Z as localMcpEnv, Zt as InteractionToggleConfig, _ as sessionObservedEvents, _n as joinQueue, _t as executionCorrelationHeaders, a as PERMISSION_DECISION_TIMEOUT_MS, an as turnEndReason, at as RequestPlanBridge, b as textSnapshotEvents, bn as secretSessionTurnQueue, bt as plaintextResponseParser, c as WorkspacePlanApplication, cn as withTurnInteractions, ct as buildFileUrl, d as endFailedTurn, dn as SecretProfileMcpLease, dt as inferMediaType, en as ToolCallState, et as DEFAULT_INTERACTION_MCP_SERVER_NAME, f as recordTurnInterruption, fn as SecretProfileMcpServer, ft as trackFilePart, g as reasoningEvents, gn as isPlainRecord, gt as MANAGED_QUOTE_VERSION_HEADER, h as finalTextEvent, hn as isLoopbackEndpoint, ht as EXECUTION_TRACE_HEADER, i as InteractionHttpBridge, in as readEphemeralContext, it as RequestPermissionBridge, j as resolveExecutableRealpath, jn as spawnAcpBridge, jt as TurnObserver, k as provenStoreBinary, kn as AcpBridgeSpawn, kt as runtimeSecretsOverlay, l as codexDeveloperInstructionArgs, ln as SHARED_WORKSPACE_DIR_ENV, lt as deriveFilePart, m as TerminalPlanSupportOptions, mn as directStdioMcpServers, mt as EXECUTION_ID_HEADER, n as HarnessId, nn as enabledInteractionKinds, nt as InteractionMcpServerConfig, o as SECRET_REFERENCE, on as turnInteractionEnabled, ot as brokerInteractionTools, p as TerminalPlanSupport, pn as assertSealedNativeSearchPath, pt as EXECUTION_CORRELATION_HEADERS, q as readCliTokenUsage, qt as CliProviderLogger, r as InteractionBroker, rn as interactionToggleEnabled, rt as PermissionPromptBridge, s as SECRET_REFERENCE_PREFIX, sn as withEphemeralContext, st as interactionMcpToolName, t as CODEX_DISABLED_FEATURE_ARGS, tn as TurnEndReason, tt as InteractionMcpServer, u as homeXdgEnv, un as SecretProfileMcpCredentialProxy, ut as deterministicFilePartId, v as streamPartBase, vn as requireRecord, vt as PlaintextResponse, w as secretMcpScope, wn as spawnUnderSecretMcpLease, wt as rejectNotLaunched, x as toolResultEvents, xn as servableMcpServer, xt as InvalidAttachmentError, y as textDeltaEvents, yn as resolveReferences, yt as jsonEventParser, z as RepeatedToolFailure, zt as AcpPromptResult } from "./index-BvoaIiz8.mjs";
|
|
2
2
|
import { a as partitionImageAttachments, i as PreparedAttachment, n as MAX_TOTAL_INLINE_IMAGE_BYTES, o as preparePromptInputParts, r as PROMPT_SECTION_SEPARATOR, s as prependPromptSection, t as MAX_INLINE_IMAGE_BYTES } from "./prompt-input-CD7okX8T.mjs";
|
|
3
|
-
export { ACP_MIN_PROTOCOL_VERSION, ACP_PROTOCOL_VERSION, AcpBridgeConfig, AcpBridgeSpawn, AcpContentBlock, AcpInitializeParams, AcpInitializeResult, AcpNewSessionResult, AcpProcessSpec, AcpPromptResult, AcpProviderAdapterBase, AcpSessionUpdateParams, AcpTurn, AskUserBridge, CODEX_DISABLED_FEATURE_ARGS, CliExecArgs, CliExecutionInput, CliProviderAdapterBase, CliProviderConfig, CliProviderLogger, CliProviderOptions, CliTurnProcess, CliTurnSpawn, DEFAULT_INTERACTION_MCP_SERVER_NAME, EXECUTION_CORRELATION_HEADERS, EXECUTION_ID_HEADER, EXECUTION_TRACE_HEADER, EphemeralContextInput, ExecutionState, HarnessId, InteractionBroker, InteractionHttpBridge, InteractionMcpServer, InteractionMcpServerConfig, InteractionToggleConfig, InteractionToggleKind, InvalidAttachmentError, MANAGED_QUOTE_VERSION_HEADER, MAX_INLINE_IMAGE_BYTES, MAX_TOTAL_INLINE_IMAGE_BYTES, McpInteractionSupport, NATIVE_SESSION_CONTRACTS, PERMISSION_DECISION_TIMEOUT_MS, PROMPT_SECTION_SEPARATOR, PerTurnInteractionInput, PermissionPromptBridge, PlaintextResponse, PreparedAttachment, PreparedCliLaunch, ROUTER_MODEL_CATALOG_TIMEOUT_MS, RepeatedToolFailure, RepeatedToolFailureGuardOptions, RequestPermissionBridge, RequestPlanBridge, ResolveRouterModelLimitsInput, RouterModelLimits, RouterModelLimitsResult, SEALED_NATIVE_HOME_LAYOUT, SECRET_REFERENCE, SECRET_REFERENCE_PREFIX, SHARED_WORKSPACE_DIR_ENV, SecretProfileMcpCredentialProxy, SecretProfileMcpLease, SecretProfileMcpServer, SessionRehydrationError, TerminalPlanSupport, TerminalPlanSupportOptions, ToolCallState, TurnEndReason, WorkspacePlanApplication, accumulateCliTokenUsage, acpContentText, assertAcpTurnFinished, assertSealedNativeHome, assertSealedNativeSearchPath, brokerInteractionTools, buildFileUrl, codexDeveloperInstructionArgs, createExecutionState, createRepeatedToolFailureGuard, deriveFilePart, deterministicFilePartId, directStdioMcpServers, enabledInteractionKinds, executionCorrelationHeaders, failureAfterCleanup, finalTextEvent, findRouterCatalogEntry, forgetSessionScopes, homeXdgEnv, inferMediaType, interactionMcpToolName, interactionToggleEnabled, isLocalMcpConfig, isLoopbackEndpoint, isPlainRecord, isTrustedStoreBinary, joinQueue, jsonEventParser, kimiThinkingArgs, localMcpArgv, localMcpEnv, mapAcpSessionUpdate, nativeEffortArgs, parseCliUsageLine, partitionImageAttachments, plaintextResponseParser, preparePromptInputParts, prependPromptSection, provenStoreBinary, readCliTokenUsage, readEphemeralContext, reasoningEvents, recordCliTokenUsage, refuseSecretLaunch, rejectNotLaunched, requireRecord, resolveExecutableRealpath, resolveReferences, resolveRouterModelLimits, resolveRouterModelReasoningEfforts, runtimeSecretsOverlay, secretMcpScope, secretSessionTurnQueue, servableMcpServer, servableStdioServer, sessionObservedEvents, sharedSecretMcpRefused, spawnAcpBridge, spawnUnderSecretMcpLease, streamPartBase, textDeltaEvents, textSnapshotEvents, toolResultEvents, toolStartEvents, trackFilePart, trackReasoningBlock, turnEndReason, turnInteractionEnabled, untilSettledOrAborted, wasNeverLaunched, withEphemeralContext, withTurnInteractions };
|
|
3
|
+
export { ACP_MIN_PROTOCOL_VERSION, ACP_PROTOCOL_VERSION, AcpBridgeConfig, AcpBridgeSpawn, AcpContentBlock, AcpInitializeParams, AcpInitializeResult, AcpNewSessionResult, AcpProcessSpec, AcpPromptResult, AcpProviderAdapterBase, AcpSessionUpdateParams, AcpTurn, AskUserBridge, CODEX_DISABLED_FEATURE_ARGS, CliExecArgs, CliExecutionInput, CliProviderAdapterBase, CliProviderConfig, CliProviderLogger, CliProviderOptions, CliTurnProcess, CliTurnSpawn, DEFAULT_INTERACTION_MCP_SERVER_NAME, EXECUTION_CORRELATION_HEADERS, EXECUTION_ID_HEADER, EXECUTION_TRACE_HEADER, EphemeralContextInput, ExecutionState, HarnessId, InteractionBroker, InteractionHttpBridge, InteractionMcpServer, InteractionMcpServerConfig, InteractionToggleConfig, InteractionToggleKind, InvalidAttachmentError, MANAGED_QUOTE_VERSION_HEADER, MAX_INLINE_IMAGE_BYTES, MAX_TOTAL_INLINE_IMAGE_BYTES, McpInteractionSupport, NATIVE_SESSION_CONTRACTS, PERMISSION_DECISION_TIMEOUT_MS, PROMPT_SECTION_SEPARATOR, PerTurnInteractionInput, PermissionPromptBridge, PlaintextResponse, PreparedAttachment, PreparedCliLaunch, ROUTER_MODEL_CATALOG_TIMEOUT_MS, RepeatedToolFailure, RepeatedToolFailureGuardOptions, RequestPermissionBridge, RequestPlanBridge, ResolveRouterModelLimitsInput, RouterModelLimits, RouterModelLimitsResult, SEALED_NATIVE_HOME_LAYOUT, SECRET_REFERENCE, SECRET_REFERENCE_PREFIX, SHARED_WORKSPACE_DIR_ENV, SecretProfileMcpCredentialProxy, SecretProfileMcpLease, SecretProfileMcpServer, SessionRehydrationError, TerminalPlanSupport, TerminalPlanSupportOptions, ToolCallState, TurnEndReason, TurnObserver, WorkspacePlanApplication, accumulateCliTokenUsage, acpContentText, assertAcpTurnFinished, assertSealedNativeHome, assertSealedNativeSearchPath, brokerInteractionTools, buildFileUrl, codexDeveloperInstructionArgs, createExecutionState, createRepeatedToolFailureGuard, deriveFilePart, deterministicFilePartId, directStdioMcpServers, enabledInteractionKinds, endFailedTurn, executionCorrelationHeaders, failureAfterCleanup, finalTextEvent, findRouterCatalogEntry, forgetSessionScopes, homeXdgEnv, inferMediaType, interactionMcpToolName, interactionToggleEnabled, isLocalMcpConfig, isLoopbackEndpoint, isPlainRecord, isTrustedStoreBinary, joinQueue, jsonEventParser, kimiThinkingArgs, localMcpArgv, localMcpEnv, mapAcpSessionUpdate, nativeEffortArgs, parseCliUsageLine, partitionImageAttachments, plaintextResponseParser, preparePromptInputParts, prependPromptSection, provenStoreBinary, readCliTokenUsage, readEphemeralContext, reasoningEvents, recordCliTokenUsage, recordTurnInterruption, refuseSecretLaunch, rejectNotLaunched, requireRecord, resolveExecutableRealpath, resolveReferences, resolveRouterModelLimits, resolveRouterModelReasoningEfforts, runtimeSecretsOverlay, secretMcpScope, secretSessionTurnQueue, servableMcpServer, servableStdioServer, sessionObservedEvents, sharedSecretMcpRefused, spawnAcpBridge, spawnUnderSecretMcpLease, streamPartBase, textDeltaEvents, textSnapshotEvents, toolResultEvents, toolStartEvents, trackFilePart, trackReasoningBlock, turnEndReason, turnInteractionEnabled, untilSettledOrAborted, wasNeverLaunched, withEphemeralContext, withTurnInteractions };
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ACP_MIN_PROTOCOL_VERSION, ACP_PROTOCOL_VERSION, AcpProviderAdapterBase, CODEX_DISABLED_FEATURE_ARGS, CliProviderAdapterBase, DEFAULT_INTERACTION_MCP_SERVER_NAME, EXECUTION_CORRELATION_HEADERS, EXECUTION_ID_HEADER, EXECUTION_TRACE_HEADER, InteractionBroker, InteractionHttpBridge, InteractionMcpServer, InvalidAttachmentError, MANAGED_QUOTE_VERSION_HEADER, MAX_INLINE_IMAGE_BYTES, MAX_TOTAL_INLINE_IMAGE_BYTES, McpInteractionSupport, NATIVE_SESSION_CONTRACTS, PERMISSION_DECISION_TIMEOUT_MS, PROMPT_SECTION_SEPARATOR, ROUTER_MODEL_CATALOG_TIMEOUT_MS, SEALED_NATIVE_HOME_LAYOUT, SECRET_REFERENCE, SECRET_REFERENCE_PREFIX, SHARED_WORKSPACE_DIR_ENV, SessionRehydrationError, TerminalPlanSupport, accumulateCliTokenUsage, acpContentText, assertAcpTurnFinished, assertSealedNativeHome, assertSealedNativeSearchPath, brokerInteractionTools, buildFileUrl, codexDeveloperInstructionArgs, createExecutionState, createRepeatedToolFailureGuard, deriveFilePart, deterministicFilePartId, directStdioMcpServers, enabledInteractionKinds, executionCorrelationHeaders, failureAfterCleanup, finalTextEvent, findRouterCatalogEntry, forgetSessionScopes, homeXdgEnv, inferMediaType, interactionMcpToolName, interactionToggleEnabled, isLocalMcpConfig, isLoopbackEndpoint, isPlainRecord, isTrustedStoreBinary, joinQueue, jsonEventParser, kimiThinkingArgs, localMcpArgv, localMcpEnv, mapAcpSessionUpdate, nativeEffortArgs, parseCliUsageLine, partitionImageAttachments, plaintextResponseParser, preparePromptInputParts, prependPromptSection, provenStoreBinary, readCliTokenUsage, readEphemeralContext, reasoningEvents, recordCliTokenUsage, refuseSecretLaunch, rejectNotLaunched, requireRecord, resolveExecutableRealpath, resolveReferences, resolveRouterModelLimits, resolveRouterModelReasoningEfforts, runtimeSecretsOverlay, secretMcpScope, secretSessionTurnQueue, servableMcpServer, servableStdioServer, sessionObservedEvents, sharedSecretMcpRefused, spawnAcpBridge, spawnUnderSecretMcpLease, streamPartBase, textDeltaEvents, textSnapshotEvents, toolResultEvents, toolStartEvents, trackFilePart, trackReasoningBlock, turnEndReason, turnInteractionEnabled, untilSettledOrAborted, wasNeverLaunched, withEphemeralContext, withTurnInteractions };
|
|
1
|
+
import { $ as secretSessionTurnQueue, A as TurnObserver, At as EXECUTION_ID_HEADER, B as readEphemeralContext, Bt as textDeltaEvents, C as plaintextResponseParser, Ct as InvalidAttachmentError, D as readCliTokenUsage, Dt as wasNeverLaunched, E as parseCliUsageLine, Et as rejectNotLaunched, F as isLocalMcpConfig, Ft as mapAcpSessionUpdate, G as SHARED_WORKSPACE_DIR_ENV, Gt as ACP_MIN_PROTOCOL_VERSION, H as turnInteractionEnabled, Ht as toolResultEvents, I as localMcpArgv, It as finalTextEvent, J as isLoopbackEndpoint, Jt as assertAcpTurnFinished, K as assertSealedNativeSearchPath, Kt as ACP_PROTOCOL_VERSION, L as localMcpEnv, Lt as reasoningEvents, M as endFailedTurn, Mt as MANAGED_QUOTE_VERSION_HEADER, N as recordTurnInterruption, Nt as executionCorrelationHeaders, O as recordCliTokenUsage, Ot as runtimeSecretsOverlay, P as createExecutionState, Pt as homeXdgEnv, Q as resolveReferences, R as enabledInteractionKinds, Rt as sessionObservedEvents, S as jsonEventParser, St as trackFilePart, T as accumulateCliTokenUsage, Tt as failureAfterCleanup, U as withEphemeralContext, Ut as toolStartEvents, V as turnEndReason, Vt as textSnapshotEvents, W as withTurnInteractions, Wt as trackReasoningBlock, X as joinQueue, Y as isPlainRecord, Yt as spawnAcpBridge, Z as requireRecord, _ as TerminalPlanSupport, _t as prependPromptSection, a as SECRET_REFERENCE, at as NATIVE_SESSION_CONTRACTS, b as brokerInteractionTools, bt as deterministicFilePartId, c as forgetSessionScopes, ct as isTrustedStoreBinary, d as findRouterCatalogEntry, dt as resolveExecutableRealpath, et as servableMcpServer, f as resolveRouterModelLimits, ft as MAX_INLINE_IMAGE_BYTES, g as McpInteractionSupport, gt as preparePromptInputParts, h as nativeEffortArgs, ht as partitionImageAttachments, i as PERMISSION_DECISION_TIMEOUT_MS, it as untilSettledOrAborted, j as createRepeatedToolFailureGuard, jt as EXECUTION_TRACE_HEADER, k as CliProviderAdapterBase, kt as EXECUTION_CORRELATION_HEADERS, l as secretMcpScope, lt as provenStoreBinary, m as kimiThinkingArgs, mt as PROMPT_SECTION_SEPARATOR, n as InteractionBroker, nt as sharedSecretMcpRefused, o as SECRET_REFERENCE_PREFIX, ot as SEALED_NATIVE_HOME_LAYOUT, p as resolveRouterModelReasoningEfforts, pt as MAX_TOTAL_INLINE_IMAGE_BYTES, q as directStdioMcpServers, qt as acpContentText, r as InteractionHttpBridge, rt as spawnUnderSecretMcpLease, s as codexDeveloperInstructionArgs, st as assertSealedNativeHome, t as CODEX_DISABLED_FEATURE_ARGS, tt as servableStdioServer, u as ROUTER_MODEL_CATALOG_TIMEOUT_MS, ut as refuseSecretLaunch, v as DEFAULT_INTERACTION_MCP_SERVER_NAME, vt as buildFileUrl, w as AcpProviderAdapterBase, wt as SessionRehydrationError, x as interactionMcpToolName, xt as inferMediaType, y as InteractionMcpServer, yt as deriveFilePart, z as interactionToggleEnabled, zt as streamPartBase } from "./src-Bkpdq_jn.mjs";
|
|
2
|
+
export { ACP_MIN_PROTOCOL_VERSION, ACP_PROTOCOL_VERSION, AcpProviderAdapterBase, CODEX_DISABLED_FEATURE_ARGS, CliProviderAdapterBase, DEFAULT_INTERACTION_MCP_SERVER_NAME, EXECUTION_CORRELATION_HEADERS, EXECUTION_ID_HEADER, EXECUTION_TRACE_HEADER, InteractionBroker, InteractionHttpBridge, InteractionMcpServer, InvalidAttachmentError, MANAGED_QUOTE_VERSION_HEADER, MAX_INLINE_IMAGE_BYTES, MAX_TOTAL_INLINE_IMAGE_BYTES, McpInteractionSupport, NATIVE_SESSION_CONTRACTS, PERMISSION_DECISION_TIMEOUT_MS, PROMPT_SECTION_SEPARATOR, ROUTER_MODEL_CATALOG_TIMEOUT_MS, SEALED_NATIVE_HOME_LAYOUT, SECRET_REFERENCE, SECRET_REFERENCE_PREFIX, SHARED_WORKSPACE_DIR_ENV, SessionRehydrationError, TerminalPlanSupport, TurnObserver, accumulateCliTokenUsage, acpContentText, assertAcpTurnFinished, assertSealedNativeHome, assertSealedNativeSearchPath, brokerInteractionTools, buildFileUrl, codexDeveloperInstructionArgs, createExecutionState, createRepeatedToolFailureGuard, deriveFilePart, deterministicFilePartId, directStdioMcpServers, enabledInteractionKinds, endFailedTurn, executionCorrelationHeaders, failureAfterCleanup, finalTextEvent, findRouterCatalogEntry, forgetSessionScopes, homeXdgEnv, inferMediaType, interactionMcpToolName, interactionToggleEnabled, isLocalMcpConfig, isLoopbackEndpoint, isPlainRecord, isTrustedStoreBinary, joinQueue, jsonEventParser, kimiThinkingArgs, localMcpArgv, localMcpEnv, mapAcpSessionUpdate, nativeEffortArgs, parseCliUsageLine, partitionImageAttachments, plaintextResponseParser, preparePromptInputParts, prependPromptSection, provenStoreBinary, readCliTokenUsage, readEphemeralContext, reasoningEvents, recordCliTokenUsage, recordTurnInterruption, refuseSecretLaunch, rejectNotLaunched, requireRecord, resolveExecutableRealpath, resolveReferences, resolveRouterModelLimits, resolveRouterModelReasoningEfforts, runtimeSecretsOverlay, secretMcpScope, secretSessionTurnQueue, servableMcpServer, servableStdioServer, sessionObservedEvents, sharedSecretMcpRefused, spawnAcpBridge, spawnUnderSecretMcpLease, streamPartBase, textDeltaEvents, textSnapshotEvents, toolResultEvents, toolStartEvents, trackFilePart, trackReasoningBlock, turnEndReason, turnInteractionEnabled, untilSettledOrAborted, wasNeverLaunched, withEphemeralContext, withTurnInteractions };
|
|
@@ -4944,6 +4944,6 @@ async function forgetSessionScopes(target) {
|
|
|
4944
4944
|
}
|
|
4945
4945
|
}
|
|
4946
4946
|
//#endregion
|
|
4947
|
-
export {
|
|
4947
|
+
export { secretSessionTurnQueue as $, TurnObserver as A, EXECUTION_ID_HEADER as At, readEphemeralContext as B, textDeltaEvents as Bt, plaintextResponseParser as C, InvalidAttachmentError as Ct, readCliTokenUsage as D, wasNeverLaunched as Dt, parseCliUsageLine as E, rejectNotLaunched as Et, isLocalMcpConfig as F, mapAcpSessionUpdate as Ft, SHARED_WORKSPACE_DIR_ENV as G, ACP_MIN_PROTOCOL_VERSION as Gt, turnInteractionEnabled as H, toolResultEvents as Ht, localMcpArgv as I, finalTextEvent as It, isLoopbackEndpoint as J, assertAcpTurnFinished as Jt, assertSealedNativeSearchPath as K, ACP_PROTOCOL_VERSION as Kt, localMcpEnv as L, reasoningEvents as Lt, endFailedTurn as M, MANAGED_QUOTE_VERSION_HEADER as Mt, recordTurnInterruption as N, executionCorrelationHeaders as Nt, recordCliTokenUsage as O, runtimeSecretsOverlay as Ot, createExecutionState as P, homeXdgEnv as Pt, resolveReferences as Q, enabledInteractionKinds as R, sessionObservedEvents as Rt, jsonEventParser as S, trackFilePart as St, accumulateCliTokenUsage as T, failureAfterCleanup as Tt, withEphemeralContext as U, toolStartEvents as Ut, turnEndReason as V, textSnapshotEvents as Vt, withTurnInteractions as W, trackReasoningBlock as Wt, joinQueue as X, isPlainRecord as Y, spawnAcpBridge as Yt, requireRecord as Z, TerminalPlanSupport as _, prependPromptSection as _t, SECRET_REFERENCE$1 as a, NATIVE_SESSION_CONTRACTS$1 as at, brokerInteractionTools$1 as b, deterministicFilePartId as bt, forgetSessionScopes as c, isTrustedStoreBinary as ct, findRouterCatalogEntry as d, resolveExecutableRealpath as dt, servableMcpServer as et, resolveRouterModelLimits as f, MAX_INLINE_IMAGE_BYTES as ft, McpInteractionSupport as g, preparePromptInputParts as gt, nativeEffortArgs as h, partitionImageAttachments as ht, PERMISSION_DECISION_TIMEOUT_MS as i, untilSettledOrAborted as it, createRepeatedToolFailureGuard as j, EXECUTION_TRACE_HEADER as jt, CliProviderAdapterBase as k, EXECUTION_CORRELATION_HEADERS as kt, secretMcpScope as l, provenStoreBinary as lt, kimiThinkingArgs as m, PROMPT_SECTION_SEPARATOR as mt, InteractionBroker$1 as n, sharedSecretMcpRefused as nt, SECRET_REFERENCE_PREFIX$1 as o, SEALED_NATIVE_HOME_LAYOUT as ot, resolveRouterModelReasoningEfforts as p, MAX_TOTAL_INLINE_IMAGE_BYTES as pt, directStdioMcpServers as q, acpContentText as qt, InteractionHttpBridge as r, spawnUnderSecretMcpLease as rt, codexDeveloperInstructionArgs as s, assertSealedNativeHome as st, CODEX_DISABLED_FEATURE_ARGS as t, servableStdioServer as tt, ROUTER_MODEL_CATALOG_TIMEOUT_MS as u, refuseSecretLaunch as ut, DEFAULT_INTERACTION_MCP_SERVER_NAME as v, buildFileUrl as vt, AcpProviderAdapterBase as w, SessionRehydrationError as wt, interactionMcpToolName as x, inferMediaType as xt, InteractionMcpServer$1 as y, deriveFilePart as yt, interactionToggleEnabled as z, streamPartBase as zt };
|
|
4948
4948
|
|
|
4949
|
-
//# sourceMappingURL=src-
|
|
4949
|
+
//# sourceMappingURL=src-Bkpdq_jn.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sdk-provider-cli-base",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.130",
|
|
4
4
|
"description": "Base adapter for CLI-based AI agent providers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
61
61
|
"@tangle-network/agent-core": "^1.0.3",
|
|
62
62
|
"@tangle-network/agent-interface": "^5.10.28",
|
|
63
|
-
"@tangle-network/agent-profile-materialize": "1.1.
|
|
63
|
+
"@tangle-network/agent-profile-materialize": "1.1.142",
|
|
64
64
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
65
|
-
"@tangle-network/cli-agent-registry": "0.15.
|
|
65
|
+
"@tangle-network/cli-agent-registry": "0.15.124",
|
|
66
66
|
"@tangle-network/sdk-cli-runner": "0.3.14",
|
|
67
67
|
"@tangle-network/sdk-session-persistence": "0.7.15",
|
|
68
68
|
"zod": "4.6.7"
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"registry": "https://registry.npmjs.org"
|
|
80
80
|
},
|
|
81
81
|
"tangleRelease": {
|
|
82
|
-
"sourceSha": "
|
|
83
|
-
"mergedAt": "2026-11-
|
|
82
|
+
"sourceSha": "b161196f9b617aedf5fb4db0c73b6ed7a044a9c6",
|
|
83
|
+
"mergedAt": "2026-11-19T18:08:55-08:00"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsdown",
|