@tangle-network/sdk-provider-cli-base 0.13.110 → 0.13.111
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.mjs +1 -1
- package/dist/adapters/exo/index.mjs +1 -1
- package/dist/adapters/factory-droids/index.mjs +1 -1
- package/dist/adapters/grok/index.mjs +1 -1
- package/dist/adapters/hermes/index.mjs +1 -1
- package/dist/adapters/nanoclaw/index.mjs +1 -1
- package/dist/adapters/nanocode/index.mjs +1 -1
- package/dist/adapters/openclaw/index.mjs +1 -1
- package/dist/adapters/prime/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-B-JlLsMB.mjs → src-BJwmKRGU.mjs} +3 -2
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as toolResultEvents, Ft as reasoningEvents, It as sessionObservedEvents, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, Rt as textDeltaEvents, S as jsonEventParser, Vt as toolStartEvents, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { Bt as toolResultEvents, Ft as reasoningEvents, It as sessionObservedEvents, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, Rt as textDeltaEvents, S as jsonEventParser, Vt as toolStartEvents, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.mjs";
|
|
2
2
|
//#region src/adapters/amp/types.ts
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for AMP events.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser, It as sessionObservedEvents, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { C as plaintextResponseParser, It as sessionObservedEvents, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.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 { Bt as toolResultEvents, F as enabledInteractionKinds, Ft as reasoningEvents, It as sessionObservedEvents, Lt as streamPartBase, M as isLocalMcpConfig, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, Rt as textDeltaEvents, S as jsonEventParser, V as withTurnInteractions, Vt as toolStartEvents, g as McpInteractionSupport, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { Bt as toolResultEvents, F as enabledInteractionKinds, Ft as reasoningEvents, It as sessionObservedEvents, Lt as streamPartBase, M as isLocalMcpConfig, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, Rt as textDeltaEvents, S as jsonEventParser, V as withTurnInteractions, Vt as toolStartEvents, g as McpInteractionSupport, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.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 { C as plaintextResponseParser, It as sessionObservedEvents, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { C as plaintextResponseParser, It as sessionObservedEvents, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.mjs";
|
|
2
2
|
//#region src/adapters/grok/adapter.ts
|
|
3
3
|
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 \"$@\"";
|
|
4
4
|
var GrokProviderAdapter = class extends CliProviderAdapterBase {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as plaintextResponseParser, It as sessionObservedEvents, M as isLocalMcpConfig, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, ht as prependPromptSection, k as CliProviderAdapterBase, pt as partitionImageAttachments } from "../../src-
|
|
1
|
+
import { C as plaintextResponseParser, It as sessionObservedEvents, M as isLocalMcpConfig, N as localMcpArgv, O as recordCliTokenUsage, P as localMcpEnv, ht as prependPromptSection, k as CliProviderAdapterBase, pt as partitionImageAttachments } from "../../src-BJwmKRGU.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 { C as plaintextResponseParser, E as parseCliUsageLine, It as sessionObservedEvents, O as recordCliTokenUsage, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { C as plaintextResponseParser, E as parseCliUsageLine, It as sessionObservedEvents, O as recordCliTokenUsage, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.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 { C as plaintextResponseParser, It as sessionObservedEvents, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { C as plaintextResponseParser, It as sessionObservedEvents, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.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 { It as sessionObservedEvents, O as recordCliTokenUsage, Pt as finalTextEvent, h as nativeEffortArgs, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-
|
|
1
|
+
import { It as sessionObservedEvents, O as recordCliTokenUsage, Pt as finalTextEvent, h as nativeEffortArgs, ht as prependPromptSection, k as CliProviderAdapterBase } from "../../src-BJwmKRGU.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 { ht as prependPromptSection, qt as spawnAcpBridge, w as AcpProviderAdapterBase } from "../../src-
|
|
1
|
+
import { ht as prependPromptSection, qt as spawnAcpBridge, w as AcpProviderAdapterBase } from "../../src-BJwmKRGU.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";
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as servableStdioServer, A as createRepeatedToolFailureGuard, At as MANAGED_QUOTE_VERSION_HEADER, B as withEphemeralContext, Bt as toolResultEvents, C as plaintextResponseParser, Ct as failureAfterCleanup, D as readCliTokenUsage, Dt as EXECUTION_CORRELATION_HEADERS, E as parseCliUsageLine, Et as runtimeSecretsOverlay, F as enabledInteractionKinds, Ft as reasoningEvents, G as exposedStdioServer, Gt as acpContentText, H as SHARED_WORKSPACE_DIR_ENV, Ht as trackReasoningBlock, I as interactionToggleEnabled, It as sessionObservedEvents, J as joinQueue, K as isLoopbackEndpoint, Kt as assertAcpTurnFinished, L as readEphemeralContext, Lt as streamPartBase, M as isLocalMcpConfig, Mt as homeXdgEnv, N as localMcpArgv, Nt as mapAcpSessionUpdate, O as recordCliTokenUsage, Ot as EXECUTION_ID_HEADER, P as localMcpEnv, Pt as finalTextEvent, Q as servableMcpServer, R as turnEndReason, Rt as textDeltaEvents, S as jsonEventParser, St as SessionRehydrationError, T as accumulateCliTokenUsage, Tt as wasNeverLaunched, U as assertSealedNativeSearchPath, Ut as ACP_MIN_PROTOCOL_VERSION, V as withTurnInteractions, Vt as toolStartEvents, W as directStdioMcpServers, Wt as ACP_PROTOCOL_VERSION, X as resolveReferences, Y as requireRecord, Z as secretSessionTurnQueue, _ as TerminalPlanSupport, _t as deriveFilePart, a as SECRET_REFERENCE, at as assertSealedNativeHome, b as brokerInteractionTools, bt as trackFilePart, c as forgetSessionScopes, ct as refuseSecretLaunch, d as findRouterCatalogEntry, dt as MAX_TOTAL_INLINE_IMAGE_BYTES, et as sharedSecretMcpRefused, f as resolveRouterModelLimits, ft as PROMPT_SECTION_SEPARATOR, g as McpInteractionSupport, gt as buildFileUrl, h as nativeEffortArgs, ht as prependPromptSection, i as PERMISSION_DECISION_TIMEOUT_MS, it as SEALED_NATIVE_HOME_LAYOUT, j as createExecutionState, jt as executionCorrelationHeaders, k as CliProviderAdapterBase, kt as EXECUTION_TRACE_HEADER, l as secretMcpScope, lt as resolveExecutableRealpath, m as kimiThinkingArgs, mt as preparePromptInputParts, n as InteractionBroker, nt as untilSettledOrAborted, o as SECRET_REFERENCE_PREFIX, ot as isTrustedStoreBinary, p as resolveRouterModelReasoningEfforts, pt as partitionImageAttachments, q as isPlainRecord, qt as spawnAcpBridge, r as InteractionHttpBridge, rt as NATIVE_SESSION_CONTRACTS, s as codexDeveloperInstructionArgs, st as provenStoreBinary, t as CODEX_DISABLED_FEATURE_ARGS, tt as spawnUnderSecretMcpLease, u as ROUTER_MODEL_CATALOG_TIMEOUT_MS, ut as MAX_INLINE_IMAGE_BYTES, v as DEFAULT_INTERACTION_MCP_SERVER_NAME, vt as deterministicFilePartId, w as AcpProviderAdapterBase, wt as rejectNotLaunched, x as interactionMcpToolName, xt as InvalidAttachmentError, y as InteractionMcpServer, yt as inferMediaType, z as turnInteractionEnabled, zt as textSnapshotEvents } from "./src-
|
|
1
|
+
import { $ as servableStdioServer, A as createRepeatedToolFailureGuard, At as MANAGED_QUOTE_VERSION_HEADER, B as withEphemeralContext, Bt as toolResultEvents, C as plaintextResponseParser, Ct as failureAfterCleanup, D as readCliTokenUsage, Dt as EXECUTION_CORRELATION_HEADERS, E as parseCliUsageLine, Et as runtimeSecretsOverlay, F as enabledInteractionKinds, Ft as reasoningEvents, G as exposedStdioServer, Gt as acpContentText, H as SHARED_WORKSPACE_DIR_ENV, Ht as trackReasoningBlock, I as interactionToggleEnabled, It as sessionObservedEvents, J as joinQueue, K as isLoopbackEndpoint, Kt as assertAcpTurnFinished, L as readEphemeralContext, Lt as streamPartBase, M as isLocalMcpConfig, Mt as homeXdgEnv, N as localMcpArgv, Nt as mapAcpSessionUpdate, O as recordCliTokenUsage, Ot as EXECUTION_ID_HEADER, P as localMcpEnv, Pt as finalTextEvent, Q as servableMcpServer, R as turnEndReason, Rt as textDeltaEvents, S as jsonEventParser, St as SessionRehydrationError, T as accumulateCliTokenUsage, Tt as wasNeverLaunched, U as assertSealedNativeSearchPath, Ut as ACP_MIN_PROTOCOL_VERSION, V as withTurnInteractions, Vt as toolStartEvents, W as directStdioMcpServers, Wt as ACP_PROTOCOL_VERSION, X as resolveReferences, Y as requireRecord, Z as secretSessionTurnQueue, _ as TerminalPlanSupport, _t as deriveFilePart, a as SECRET_REFERENCE, at as assertSealedNativeHome, b as brokerInteractionTools, bt as trackFilePart, c as forgetSessionScopes, ct as refuseSecretLaunch, d as findRouterCatalogEntry, dt as MAX_TOTAL_INLINE_IMAGE_BYTES, et as sharedSecretMcpRefused, f as resolveRouterModelLimits, ft as PROMPT_SECTION_SEPARATOR, g as McpInteractionSupport, gt as buildFileUrl, h as nativeEffortArgs, ht as prependPromptSection, i as PERMISSION_DECISION_TIMEOUT_MS, it as SEALED_NATIVE_HOME_LAYOUT, j as createExecutionState, jt as executionCorrelationHeaders, k as CliProviderAdapterBase, kt as EXECUTION_TRACE_HEADER, l as secretMcpScope, lt as resolveExecutableRealpath, m as kimiThinkingArgs, mt as preparePromptInputParts, n as InteractionBroker, nt as untilSettledOrAborted, o as SECRET_REFERENCE_PREFIX, ot as isTrustedStoreBinary, p as resolveRouterModelReasoningEfforts, pt as partitionImageAttachments, q as isPlainRecord, qt as spawnAcpBridge, r as InteractionHttpBridge, rt as NATIVE_SESSION_CONTRACTS, s as codexDeveloperInstructionArgs, st as provenStoreBinary, t as CODEX_DISABLED_FEATURE_ARGS, tt as spawnUnderSecretMcpLease, u as ROUTER_MODEL_CATALOG_TIMEOUT_MS, ut as MAX_INLINE_IMAGE_BYTES, v as DEFAULT_INTERACTION_MCP_SERVER_NAME, vt as deterministicFilePartId, w as AcpProviderAdapterBase, wt as rejectNotLaunched, x as interactionMcpToolName, xt as InvalidAttachmentError, y as InteractionMcpServer, yt as inferMediaType, z as turnInteractionEnabled, zt as textSnapshotEvents } from "./src-BJwmKRGU.mjs";
|
|
2
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, exposedStdioServer, 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,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_INTERACTION_DECISION_TIMEOUT_MS as PERMISSION_DECISION_TIMEOUT_MS, InteractionBroker, InteractionBroker as InteractionBroker$1, InteractionHttpBridge, brokerInteractionTools, brokerInteractionTools as brokerInteractionTools$1 } from "@tangle-network/agent-core/interactions";
|
|
2
|
-
import { CODEX_DISABLED_FEATURE_ARGS, HARNESS_LAUNCH_MATERIALIZE_OPTIONS, SECRET_REFERENCE, SECRET_REFERENCE as SECRET_REFERENCE$1, SECRET_REFERENCE_PREFIX, SECRET_REFERENCE_PREFIX as SECRET_REFERENCE_PREFIX$1, UNAVAILABLE_AGENT_PROFILE_SECRET_PROVIDER, applyWorkspacePlanWithSecretProvider, bindLaunchToolBinDirs, bindSecretSessionView, codexDeveloperInstructionArgs, digestEnvName, enforceWorkspacePlanSupport, ensurePublicConcurrentProfileRoots, joinSystemPromptAdditions, keepsHarnessSystemPrompt, materializeProfile, modelIdsMatch, parseSandboxToolBinDirs, preparePublicConcurrentProfileRevision, prepareSecretConcurrentProfileRevision, resolveAgentProfileResources, secretSessionViewWorkspace, workspacePlanSecretCount } from "@tangle-network/agent-profile-materialize";
|
|
2
|
+
import { CODEX_DISABLED_FEATURE_ARGS, HARNESS_LAUNCH_MATERIALIZE_OPTIONS, SECRET_REFERENCE, SECRET_REFERENCE as SECRET_REFERENCE$1, SECRET_REFERENCE_PREFIX, SECRET_REFERENCE_PREFIX as SECRET_REFERENCE_PREFIX$1, UNAVAILABLE_AGENT_PROFILE_SECRET_PROVIDER, applyWorkspacePlanWithSecretProvider, bindLaunchToolBinDirs, bindSecretSessionView, codexDeveloperInstructionArgs, digestEnvName, enforceWorkspacePlanSupport, ensurePublicConcurrentProfileRoots, joinSystemPromptAdditions, keepsHarnessSystemPrompt, materializeProfile, modelIdsMatch, parseSandboxToolBinDirs, preparePublicConcurrentProfileRevision, prepareSecretConcurrentProfileRevision, resolveAgentProfileResources, secretSessionViewWorkspace, workspacePlanHasSecretArguments, workspacePlanSecretCount } from "@tangle-network/agent-profile-materialize";
|
|
3
3
|
import { BridgeClosedError, InvalidAttachmentError, JsonRpcError, RpcRequestTimeoutError, execCli, launchCliProcess, resolveRawCapturePath, spawnCliProcess, spawnRpcBridge } from "@tangle-network/sdk-cli-runner";
|
|
4
4
|
import { createHash, createHmac, randomUUID } from "node:crypto";
|
|
5
5
|
import { AgentExecutionError, AgentExecutionOutcomeSchema, AgentRuntimeAttachmentsSchema, InteractionExecutionBindingSchema, InteractionKind, ProxySecretReceiptSchema, REASONING_EFFORTS, agentProfileSchema, nativeReasoningControl, normalizeInputParts } from "@tangle-network/agent-interface";
|
|
@@ -2064,6 +2064,7 @@ var CliAdapterProfile = class extends CliAdapterLifecycle {
|
|
|
2064
2064
|
binds: this.profileMaterializationBinds(),
|
|
2065
2065
|
...agentInstructions ? { instructionsRoot: "agent" } : {}
|
|
2066
2066
|
});
|
|
2067
|
+
if (this.referencesSharedEnvironmentSecrets && !this.config.secretProfileRevisionRoot && workspacePlanHasSecretArguments(plan)) throw new Error("Shared Codex refuses a profile secret in native arguments");
|
|
2067
2068
|
const unsupported = enforceWorkspacePlanSupport(plan, profile.resources?.failOnError);
|
|
2068
2069
|
if (unsupported.length > 0) this.logger.warn("profile contains unsupported best-effort resources", {
|
|
2069
2070
|
harness,
|
|
@@ -4959,4 +4960,4 @@ async function forgetSessionScopes(target) {
|
|
|
4959
4960
|
//#endregion
|
|
4960
4961
|
export { servableStdioServer as $, createRepeatedToolFailureGuard as A, MANAGED_QUOTE_VERSION_HEADER as At, withEphemeralContext as B, toolResultEvents as Bt, plaintextResponseParser as C, failureAfterCleanup as Ct, readCliTokenUsage as D, EXECUTION_CORRELATION_HEADERS as Dt, parseCliUsageLine as E, runtimeSecretsOverlay as Et, enabledInteractionKinds as F, reasoningEvents as Ft, exposedStdioServer as G, acpContentText as Gt, SHARED_WORKSPACE_DIR_ENV as H, trackReasoningBlock as Ht, interactionToggleEnabled as I, sessionObservedEvents as It, joinQueue as J, isLoopbackEndpoint as K, assertAcpTurnFinished as Kt, readEphemeralContext as L, streamPartBase as Lt, isLocalMcpConfig as M, homeXdgEnv as Mt, localMcpArgv as N, mapAcpSessionUpdate as Nt, recordCliTokenUsage as O, EXECUTION_ID_HEADER as Ot, localMcpEnv as P, finalTextEvent as Pt, servableMcpServer as Q, turnEndReason as R, textDeltaEvents as Rt, jsonEventParser as S, SessionRehydrationError as St, accumulateCliTokenUsage as T, wasNeverLaunched as Tt, assertSealedNativeSearchPath as U, ACP_MIN_PROTOCOL_VERSION as Ut, withTurnInteractions as V, toolStartEvents as Vt, directStdioMcpServers as W, ACP_PROTOCOL_VERSION as Wt, resolveReferences as X, requireRecord as Y, secretSessionTurnQueue as Z, TerminalPlanSupport as _, deriveFilePart as _t, SECRET_REFERENCE$1 as a, assertSealedNativeHome as at, brokerInteractionTools$1 as b, trackFilePart as bt, forgetSessionScopes as c, refuseSecretLaunch as ct, findRouterCatalogEntry as d, MAX_TOTAL_INLINE_IMAGE_BYTES as dt, sharedSecretMcpRefused as et, resolveRouterModelLimits as f, PROMPT_SECTION_SEPARATOR as ft, McpInteractionSupport as g, buildFileUrl as gt, nativeEffortArgs as h, prependPromptSection as ht, PERMISSION_DECISION_TIMEOUT_MS as i, SEALED_NATIVE_HOME_LAYOUT as it, createExecutionState as j, executionCorrelationHeaders as jt, CliProviderAdapterBase as k, EXECUTION_TRACE_HEADER as kt, secretMcpScope as l, resolveExecutableRealpath as lt, kimiThinkingArgs as m, preparePromptInputParts as mt, InteractionBroker$1 as n, untilSettledOrAborted as nt, SECRET_REFERENCE_PREFIX$1 as o, isTrustedStoreBinary as ot, resolveRouterModelReasoningEfforts as p, partitionImageAttachments as pt, isPlainRecord as q, spawnAcpBridge as qt, InteractionHttpBridge as r, NATIVE_SESSION_CONTRACTS$1 as rt, codexDeveloperInstructionArgs as s, provenStoreBinary as st, CODEX_DISABLED_FEATURE_ARGS as t, spawnUnderSecretMcpLease as tt, ROUTER_MODEL_CATALOG_TIMEOUT_MS as u, MAX_INLINE_IMAGE_BYTES as ut, DEFAULT_INTERACTION_MCP_SERVER_NAME as v, deterministicFilePartId as vt, AcpProviderAdapterBase as w, rejectNotLaunched as wt, interactionMcpToolName as x, InvalidAttachmentError as xt, InteractionMcpServer$1 as y, inferMediaType as yt, turnInteractionEnabled as z, textSnapshotEvents as zt };
|
|
4961
4962
|
|
|
4962
|
-
//# sourceMappingURL=src-
|
|
4963
|
+
//# sourceMappingURL=src-BJwmKRGU.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.111",
|
|
4
4
|
"description": "Base adapter for CLI-based AI agent providers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
61
61
|
"@tangle-network/agent-core": "^1.0.3",
|
|
62
62
|
"@tangle-network/agent-interface": "^5.10.27",
|
|
63
|
-
"@tangle-network/agent-profile-materialize": "1.1.
|
|
63
|
+
"@tangle-network/agent-profile-materialize": "1.1.130",
|
|
64
64
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
65
65
|
"@tangle-network/cli-agent-registry": "0.15.104",
|
|
66
66
|
"@tangle-network/sdk-cli-runner": "0.3.12",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"registry": "https://registry.npmjs.org"
|
|
80
80
|
},
|
|
81
81
|
"tangleRelease": {
|
|
82
|
-
"sourceSha": "
|
|
83
|
-
"mergedAt": "2026-11-
|
|
82
|
+
"sourceSha": "4fc8137ed2738d89cf2a1e227db41470df7f2150",
|
|
83
|
+
"mergedAt": "2026-11-16T22:21:12-08:00"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsdown",
|