@tangle-network/cli-agent-registry 0.15.94 → 0.15.96
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/cli-auth-placeholder.mjs +1 -1
- package/dist/cli-backend-auth-env.mjs +1 -1
- package/dist/{harness-BvQM79Va.mjs → harness-ByYmGNjx.mjs} +3 -10
- package/dist/host-contracts.d.mts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/{spec-BKA-GbvF.d.mts → spec-CgcdpRbe.d.mts} +2 -2
- package/dist/{specs-CTDtco8x.d.mts → specs-dfm9hwSv.d.mts} +2 -2
- package/dist/specs.d.mts +2 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
2
|
-
import { r as proxySecretMaterializationsSchema } from "./harness-
|
|
2
|
+
import { r as proxySecretMaterializationsSchema } from "./harness-ByYmGNjx.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { decodeJwt } from "jose";
|
|
5
5
|
//#region src/native-cli-auth-metadata.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as getSpec } from "./specs-Coj1_pra.mjs";
|
|
2
2
|
import { a as cliAuthFilesSchema, d as resolveCliAuthReference, f as cliAuthReferenceSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, u as parseCliAuthJson } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
3
|
-
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-
|
|
3
|
+
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-ByYmGNjx.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/cli-backend-auth-env.ts
|
|
6
6
|
/** The narrow credential leg shared by the host and sidecar rebind boundary. */
|
|
@@ -284,19 +284,12 @@ const FORBIDDEN_ENV_VAR_NAMES = new Set([
|
|
|
284
284
|
"XDG_CACHE_HOME",
|
|
285
285
|
"XDG_STATE_HOME",
|
|
286
286
|
"XDG_RUNTIME_DIR",
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
...EGRESS_PROXY_ENV_NAMES,
|
|
288
|
+
...CA_TRUST_ENV_NAMES,
|
|
289
289
|
"ALL_PROXY",
|
|
290
|
-
"NO_PROXY",
|
|
291
|
-
"https_proxy",
|
|
292
|
-
"http_proxy",
|
|
293
290
|
"all_proxy",
|
|
294
|
-
"no_proxy",
|
|
295
|
-
"SSL_CERT_FILE",
|
|
296
291
|
"SSL_CERT_DIR",
|
|
297
292
|
"REQUESTS_CA_BUNDLE",
|
|
298
|
-
"CURL_CA_BUNDLE",
|
|
299
|
-
"NODE_EXTRA_CA_CERTS",
|
|
300
293
|
"HOSTNAME",
|
|
301
294
|
"CONTAINER_ID",
|
|
302
295
|
"AGENT_WORKSPACE_ROOT",
|
|
@@ -344,4 +337,4 @@ safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbi
|
|
|
344
337
|
//#endregion
|
|
345
338
|
export { isSafeEnvVarName as n, proxySecretMaterializationsSchema as r, isForbiddenEnvVarName as t };
|
|
346
339
|
|
|
347
|
-
//# sourceMappingURL=harness-
|
|
340
|
+
//# sourceMappingURL=harness-ByYmGNjx.mjs.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as backendTypeSchema, i as INTERACTIVE_SEEDED_PROMPT_BACKENDS, n as BACKEND_TYPE, o as isBackendType, r as BackendType, s as parseBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-B6HdTo23.mjs";
|
|
2
2
|
import { LocalCliAuthFile, materializeCliAuthBundle } from "./cli-auth-bundle.mjs";
|
|
3
|
-
import { C as mergeCliDirLayout, S as DEFAULT_CLI_DIR_LAYOUT, _ as harnessModelSupportFor, a as CliAgentEnvExtraRole, b as CliDirLayout, c as CliAgentRuntimeSpec, d as HarnessSpecCapabilities, f as ProviderLogger, g as cliAgentEnvRoleName, h as cliAgentClaimEnvVarNames, i as CliAgentEnvExtraParser, l as CliAgentSpec, m as canonicalModelSlug, n as CliAgentBuiltinTool, o as CliAgentEnvVars, p as ProviderPhase, r as CliAgentEnvExtra, s as CliAgentModelWire, t as AdapterFactory, u as CliAuthHome, v as harnessModelWire, x as CliDirLayoutAdditions, y as SYNTHETIC_ROUTER_MODEL } from "./spec-
|
|
3
|
+
import { C as mergeCliDirLayout, S as DEFAULT_CLI_DIR_LAYOUT, _ as harnessModelSupportFor, a as CliAgentEnvExtraRole, b as CliDirLayout, c as CliAgentRuntimeSpec, d as HarnessSpecCapabilities, f as ProviderLogger, g as cliAgentEnvRoleName, h as cliAgentClaimEnvVarNames, i as CliAgentEnvExtraParser, l as CliAgentSpec, m as canonicalModelSlug, n as CliAgentBuiltinTool, o as CliAgentEnvVars, p as ProviderPhase, r as CliAgentEnvExtra, s as CliAgentModelWire, t as AdapterFactory, u as CliAuthHome, v as harnessModelWire, x as CliDirLayoutAdditions, y as SYNTHETIC_ROUTER_MODEL } from "./spec-CgcdpRbe.mjs";
|
|
4
4
|
import { _ as substituteNativeSessionId, a as NativeSessionIdentity, c as SessionFormatId, d as assertStoreLocationHonoursSessionContract, f as compileSessionStoreGlob, g as sessionStoreForPath, h as sessionContractProblems, i as HarnessSessionEvidence, l as assertArgvHonoursSessionContract, m as normalizePosixPath, n as HarnessSessionContractError, o as NativeSessionStore, p as forbiddenArgViolations, r as HarnessSessionContractErrorCode, s as SESSION_FORMAT_IDS, t as HarnessSessionContract, u as assertFlagsHonourSessionContract } from "./session-contract-BC_A6XpD.mjs";
|
|
5
|
-
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-
|
|
5
|
+
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-dfm9hwSv.mjs";
|
|
6
6
|
import { resolveDefaultBackend } from "./default-backend.mjs";
|
|
7
7
|
import { describeLocalCliAuthExpectation, discoverLocalCliAuthFiles } from "./local-cli-auth.mjs";
|
|
8
8
|
import { HARNESS_SESSION_UNSUPPORTED, NATIVE_SESSION_CONTRACTS, configDirHomeEnv } from "./native-session-contracts.mjs";
|
|
@@ -324,7 +324,7 @@ interface CliAgentSpec {
|
|
|
324
324
|
}
|
|
325
325
|
type AdapterFactory = (logger: ProviderLogger) => SdkProviderAdapter;
|
|
326
326
|
/** Bounded provider startup spans, timed by the operation's owner. */
|
|
327
|
-
type ProviderPhase = "profile_resources" | "model_catalog" | "profile_materialize" | "session_prepare" | "native_resume" | "native_session_new" | "history_replay" | "native_session_bind" | "config_build" | "config_write" | "session_turn_wait" | "session_view_bind" | "mcp_proxy_lease" | "native_home_wait" | "dependency_prep" | "cli_spawn" | "cli_boot" | "cli_initialize" | "cli_authenticate" | "server_listening" | "session_open" | "mcp_ready_wait" | "prompt_dispatch" | "cli_ready_wait" | "warm_server_hit" | "warm_server_miss"
|
|
327
|
+
type ProviderPhase = "profile_resources" | "model_catalog" | "profile_materialize" | "session_prepare" | "native_resume" | "native_session_new" | "history_replay" | "native_session_bind" | "config_build" | "config_write" | "session_turn_wait" | "session_view_bind" | "mcp_proxy_lease" | "native_home_wait" | "dependency_prep" | "cli_spawn" | "cli_boot" | "cli_initialize" | "cli_authenticate" | "server_listening" | "session_open" | "mcp_ready_wait" | "prompt_dispatch" | "cli_ready_wait" | "warm_server_hit" | "warm_server_miss" | "turn_path_warm" | `turn_path_cli.${string}`;
|
|
328
328
|
type ProviderLogger = {
|
|
329
329
|
info: (msg: string, meta?: Record<string, unknown>) => void;
|
|
330
330
|
warn: (msg: string, meta?: Record<string, unknown>) => void;
|
|
@@ -334,4 +334,4 @@ type ProviderLogger = {
|
|
|
334
334
|
};
|
|
335
335
|
//#endregion
|
|
336
336
|
export { mergeCliDirLayout as C, DEFAULT_CLI_DIR_LAYOUT as S, harnessModelSupportFor as _, CliAgentEnvExtraRole as a, CliDirLayout as b, CliAgentRuntimeSpec as c, HarnessSpecCapabilities as d, ProviderLogger as f, cliAgentEnvRoleName as g, cliAgentClaimEnvVarNames as h, CliAgentEnvExtraParser as i, CliAgentSpec as l, canonicalModelSlug as m, CliAgentBuiltinTool as n, CliAgentEnvVars as o, ProviderPhase as p, CliAgentEnvExtra as r, CliAgentModelWire as s, AdapterFactory as t, CliAuthHome as u, harnessModelWire as v, CliDirLayoutAdditions as x, SYNTHETIC_ROUTER_MODEL as y };
|
|
337
|
-
//# sourceMappingURL=spec-
|
|
337
|
+
//# sourceMappingURL=spec-CgcdpRbe.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CliAuthReference } from "./public-profile-request-BwBfLgGv.mjs";
|
|
2
|
-
import { l as CliAgentSpec } from "./spec-
|
|
2
|
+
import { l as CliAgentSpec } from "./spec-CgcdpRbe.mjs";
|
|
3
3
|
import { ProxySecretBinding, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
5
5
|
//#region src/native-inference-policy.d.ts
|
|
@@ -81,4 +81,4 @@ declare function getSpec(name: string): CliAgentSpec | undefined;
|
|
|
81
81
|
declare function messageStorageDirOf(name: string): string;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { agentProfileSchema as a, cliAgentHostPassthroughEnvVarNames as c, NATIVE_INFERENCE_SCOPES as d, nativeCliAuthProxyBindings as f, MANAGED_MODEL_KEY_NAME_ENV_VAR as i, getSpec as l, CLI_AGENT_SPECS as n, claimDeliverableEnvVarNames as o, MANAGED_MODEL_KEY_ENV_VAR as r, cliAgentEnvVarNamesByRole as s, AGENT_BACKEND_ENV_VAR as t, messageStorageDirOf as u };
|
|
84
|
-
//# sourceMappingURL=specs-
|
|
84
|
+
//# sourceMappingURL=specs-dfm9hwSv.d.mts.map
|
package/dist/specs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as backendTypeSchema, i as INTERACTIVE_SEEDED_PROMPT_BACKENDS, n as BACKEND_TYPE, o as isBackendType, r as BackendType, s as parseBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-B6HdTo23.mjs";
|
|
2
|
-
import { _ as harnessModelSupportFor, h as cliAgentClaimEnvVarNames, l as CliAgentSpec, m as canonicalModelSlug, s as CliAgentModelWire, v as harnessModelWire } from "./spec-
|
|
3
|
-
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-
|
|
2
|
+
import { _ as harnessModelSupportFor, h as cliAgentClaimEnvVarNames, l as CliAgentSpec, m as canonicalModelSlug, s as CliAgentModelWire, v as harnessModelWire } from "./spec-CgcdpRbe.mjs";
|
|
3
|
+
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-dfm9hwSv.mjs";
|
|
4
4
|
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, CLI_AGENT_SPECS, CliAgentModelWire, CliAgentSpec, INTERACTIVE_SEEDED_PROMPT_BACKENDS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, agentProfileSchema, backendTypeSchema, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, messageStorageDirOf, nativeCliAuthProxyBindings, parseBackendType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/cli-agent-registry",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./cli-backend-auth-env": {
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@tangle-network/runtime-contracts": "0.20.0"
|
|
78
78
|
},
|
|
79
79
|
"tangleRelease": {
|
|
80
|
-
"sourceSha": "
|
|
81
|
-
"mergedAt": "2026-11-
|
|
80
|
+
"sourceSha": "ab34bf1ff5768f8016d9dc772fd0e9cad38eb402",
|
|
81
|
+
"mergedAt": "2026-11-16T03:50:33-08:00"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsdown && node scripts/export-host-contracts.mjs --write",
|