@tangle-network/cli-agent-registry 0.15.118 → 0.15.120

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.
@@ -1,4 +1,4 @@
1
- import { l as getSpec } from "./specs-6pK_KTpK.mjs";
1
+ import { l as getSpec } from "./specs-CGQ5FDtC.mjs";
2
2
  import { ProxySecretReceiptSchema } from "@tangle-network/agent-interface";
3
3
  import { z } from "zod";
4
4
  //#region ../runtime-contracts/dist/public-profile-request.js
@@ -91,4 +91,4 @@ function resolveCliAuthReference(backendType, model, environment) {
91
91
  //#endregion
92
92
  export { cliAuthFilesSchema as a, materializeCliAuthBundle as c, resolveCliAuthReference as d, cliAuthReferenceSchema as f, canonicalNativeCredentialReplySchema as i, nativeCredentialSelectionSchema as l, CLI_AUTH_REFERENCE_ENV_VAR as n, cliAuthObjectSchema as o, assertCliAuthReferenceSupported as r, legacyNativeCredentialReplySchema as s, AUTH_BUNDLE_PATHS as t, parseCliAuthJson as u };
93
93
 
94
- //# sourceMappingURL=cli-auth-bundle-CQCj_DOW.mjs.map
94
+ //# sourceMappingURL=cli-auth-bundle-B8bx652V.mjs.map
@@ -5,8 +5,8 @@ import { z } from "zod";
5
5
  //#region src/cli-auth-bundle.d.ts
6
6
  declare const nativeCredentialSelectionSchema: z.ZodObject<{
7
7
  harness: z.ZodEnum<{
8
- "claude-code": "claude-code";
9
8
  codex: "codex";
9
+ "claude-code": "claude-code";
10
10
  }>;
11
11
  cliAuth: z.ZodObject<{
12
12
  account: z.ZodString;
@@ -21,8 +21,8 @@ declare const nativeCredentialSelectionSchema: z.ZodObject<{
21
21
  /** A legacy seat replies installed; canonical admission returns its proxy receipt, pending HOME or revoked on retirement. */
22
22
  declare const legacyNativeCredentialReplySchema: z.ZodObject<{
23
23
  harness: z.ZodEnum<{
24
- "claude-code": "claude-code";
25
24
  codex: "codex";
25
+ "claude-code": "claude-code";
26
26
  }>;
27
27
  cliAuth: z.ZodObject<{
28
28
  account: z.ZodString;
@@ -37,8 +37,8 @@ declare const legacyNativeCredentialReplySchema: z.ZodObject<{
37
37
  }, z.core.$strict>;
38
38
  declare const canonicalNativeCredentialReplySchema: z.ZodObject<{
39
39
  harness: z.ZodEnum<{
40
- "claude-code": "claude-code";
41
40
  codex: "codex";
41
+ "claude-code": "claude-code";
42
42
  }>;
43
43
  cliAuth: z.ZodObject<{
44
44
  account: z.ZodString;
@@ -1,2 +1,2 @@
1
- import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, i as canonicalNativeCredentialReplySchema, l as nativeCredentialSelectionSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, s as legacyNativeCredentialReplySchema, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-CQCj_DOW.mjs";
1
+ import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, i as canonicalNativeCredentialReplySchema, l as nativeCredentialSelectionSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, s as legacyNativeCredentialReplySchema, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-B8bx652V.mjs";
2
2
  export { AUTH_BUNDLE_PATHS, CLI_AUTH_REFERENCE_ENV_VAR, assertCliAuthReferenceSupported, canonicalNativeCredentialReplySchema, cliAuthFilesSchema, cliAuthObjectSchema, cliAuthReferenceSchema, legacyNativeCredentialReplySchema, materializeCliAuthBundle, nativeCredentialSelectionSchema, parseCliAuthJson, resolveCliAuthReference };
@@ -81,7 +81,7 @@ type ProxySecretMaterialization = z.infer<typeof proxySecretMaterializationsSche
81
81
  //#region src/native-cli-auth-metadata.d.ts
82
82
  /** Sole decoder of the private annotation; it grants no source or scope authority. */
83
83
  declare function decodeNativeCliAuthAnnotation(raw: unknown): {
84
- harness: "claude-code" | "codex";
84
+ harness: "codex" | "claude-code";
85
85
  cliAuth: {
86
86
  account: string;
87
87
  secretEnv: string;
@@ -1,5 +1,5 @@
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-CQCj_DOW.mjs";
2
- import { r as proxySecretMaterializationsSchema } from "./harness-D0gc7sxm.mjs";
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-B8bx652V.mjs";
2
+ import { r as proxySecretMaterializationsSchema } from "./harness-4lVOidUP.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
- import { l as getSpec } from "./specs-6pK_KTpK.mjs";
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-CQCj_DOW.mjs";
3
- import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-D0gc7sxm.mjs";
1
+ import { l as getSpec } from "./specs-CGQ5FDtC.mjs";
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-B8bx652V.mjs";
3
+ import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-4lVOidUP.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. */
@@ -1,5 +1,5 @@
1
1
  import { a as isBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
2
- import "./specs-6pK_KTpK.mjs";
2
+ import "./specs-CGQ5FDtC.mjs";
3
3
  //#region src/default-backend.ts
4
4
  /**
5
5
  * Platform-wide default agent backend, read from `DEFAULT_AGENT_BACKEND`.
@@ -1,4 +1,4 @@
1
- import { n as HARNESS_WARM_TRANSPORT_ENV } from "./harness-contracts-DJrQ46jw.mjs";
1
+ import { n as HARNESS_WARM_TRANSPORT_ENV } from "./harness-contracts-ZLAiRqO5.mjs";
2
2
  import { ProxySecretBindingSchema, ProxySecretGrantSchema, ProxySecretReceiptSchema, ProxySecretUpdateControlsSchema, ProxySecretsSchema, isProxySecretScopeAttenuation, ownPropertyRecordSchema, proxySecretPresentationsEqual } from "@tangle-network/agent-interface";
3
3
  import { z } from "zod";
4
4
  //#region ../runtime-contracts/dist/model-key-proxy.js
@@ -455,4 +455,4 @@ safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbi
455
455
  //#endregion
456
456
  export { isSafeEnvVarName as n, proxySecretMaterializationsSchema as r, isForbiddenEnvVarName as t };
457
457
 
458
- //# sourceMappingURL=harness-D0gc7sxm.mjs.map
458
+ //# sourceMappingURL=harness-4lVOidUP.mjs.map
@@ -732,7 +732,7 @@ var kimi_code_default = {
732
732
  },
733
733
  resume: { kind: "api" },
734
734
  forbiddenArgs: [],
735
- storeEnv: {},
735
+ storeEnv: { KIMI_CODE_HOME: ".kimi-code" },
736
736
  evidence: {
737
737
  servedModel: "none",
738
738
  usage: "per-response",
@@ -1208,4 +1208,4 @@ const HARNESSES = {
1208
1208
  //#endregion
1209
1209
  export { HARNESS_WARM_TRANSPORT_ENV as n, HARNESS_CLI_VERSIONS as r, HARNESSES as t };
1210
1210
 
1211
- //# sourceMappingURL=harness-contracts-DJrQ46jw.mjs.map
1211
+ //# sourceMappingURL=harness-contracts-ZLAiRqO5.mjs.map
@@ -144,7 +144,9 @@
144
144
  "format": "kimi.session-dir"
145
145
  }
146
146
  ],
147
- "storeEnv": {},
147
+ "storeEnv": {
148
+ "KIMI_CODE_HOME": ".kimi-code"
149
+ },
148
150
  "cliVersion": "2.6.3"
149
151
  }
150
152
  },
@@ -1,4 +1,4 @@
1
- import { r as HARNESS_CLI_VERSIONS, t as HARNESSES } from "./harness-contracts-DJrQ46jw.mjs";
1
+ import { r as HARNESS_CLI_VERSIONS, t as HARNESSES } from "./harness-contracts-ZLAiRqO5.mjs";
2
2
  //#region src/host-contracts.ts
3
3
  /** Native host-store metadata; this export does not admit new sandbox backends. */
4
4
  const HOST_HARNESSES = { "cursor-cli": {
package/dist/index.d.mts CHANGED
@@ -721,7 +721,9 @@ declare const HARNESSES: {
721
721
  kind: "api";
722
722
  };
723
723
  forbiddenArgs: never[];
724
- storeEnv: {};
724
+ storeEnv: {
725
+ KIMI_CODE_HOME: string;
726
+ };
725
727
  evidence: {
726
728
  servedModel: "none";
727
729
  usage: "per-response";
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { t as HARNESSES } from "./harness-contracts-DJrQ46jw.mjs";
1
+ import { t as HARNESSES } from "./harness-contracts-ZLAiRqO5.mjs";
2
2
  import { HARNESS_SESSION_UNSUPPORTED, NATIVE_SESSION_CONTRACTS, configDirHomeEnv } from "./native-session-contracts.mjs";
3
3
  import { HarnessSessionContractError, SESSION_FORMAT_IDS, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, compileSessionStoreGlob, forbiddenArgViolations, normalizePosixPath, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId } from "./session-contract.mjs";
4
4
  import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as INTERACTIVE_SEEDED_PROMPT_BACKENDS, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
5
- import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, g as harnessModelSupportFor, h as cliAgentEnvRoleName, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-6pK_KTpK.mjs";
6
- import { c as materializeCliAuthBundle } from "./cli-auth-bundle-CQCj_DOW.mjs";
5
+ import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, g as harnessModelSupportFor, h as cliAgentEnvRoleName, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-CGQ5FDtC.mjs";
6
+ import { c as materializeCliAuthBundle } from "./cli-auth-bundle-B8bx652V.mjs";
7
7
  import { resolveDefaultBackend } from "./default-backend.mjs";
8
8
  import { describeLocalCliAuthExpectation, discoverLocalCliAuthFiles } from "./local-cli-auth.mjs";
9
9
  import { MANAGED_MODEL_LADDER, bareModelId, isServableManagedModel, managedModelChain } from "./servable-models.mjs";
@@ -1,4 +1,4 @@
1
- import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-CQCj_DOW.mjs";
1
+ import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-B8bx652V.mjs";
2
2
  import { existsSync, readFileSync } from "node:fs";
3
3
  import { homedir } from "node:os";
4
4
  import { basename, dirname, join } from "node:path";
@@ -119,7 +119,9 @@ declare const NATIVE_SESSION_CONTRACTS: {
119
119
  kind: "api";
120
120
  };
121
121
  forbiddenArgs: never[];
122
- storeEnv: {};
122
+ storeEnv: {
123
+ KIMI_CODE_HOME: string;
124
+ };
123
125
  evidence: {
124
126
  servedModel: "none";
125
127
  usage: "per-response";
@@ -1,4 +1,4 @@
1
- import { t as HARNESSES } from "./harness-contracts-DJrQ46jw.mjs";
1
+ import { t as HARNESSES } from "./harness-contracts-ZLAiRqO5.mjs";
2
2
  //#region src/native-session-contracts.ts
3
3
  /** Native session contracts. A receipt proves each pin. There is no pending list. */
4
4
  const NATIVE_SESSION_CONTRACTS = {
@@ -18,7 +18,7 @@ const NATIVE_SESSION_CONTRACTS = {
18
18
  nanocode: HARNESSES["nanocode"].session.contract,
19
19
  exo: HARNESSES["exo"].session.contract
20
20
  };
21
- const HOME_KEYED_RUNTIMES = new Set(["opencode"]);
21
+ const HOME_KEYED_RUNTIMES = new Set(["opencode", "kimi-code"]);
22
22
  /** Store env and XDG roots under the private runtime home. Undefined when HOME itself is the store. */
23
23
  function configDirHomeEnv(harness, runtimeHome, agentHome) {
24
24
  const contract = NATIVE_SESSION_CONTRACTS[harness];
@@ -1,4 +1,4 @@
1
- import { g as harnessModelSupportFor, l as getSpec } from "./specs-6pK_KTpK.mjs";
1
+ import { g as harnessModelSupportFor, l as getSpec } from "./specs-CGQ5FDtC.mjs";
2
2
  //#region src/servable-models.ts
3
3
  /**
4
4
  * The models a managed (Tangle-funded) run may default to, most preferred
@@ -1,4 +1,4 @@
1
- import { t as HARNESSES } from "./harness-contracts-DJrQ46jw.mjs";
1
+ import { t as HARNESSES } from "./harness-contracts-ZLAiRqO5.mjs";
2
2
  import { NATIVE_SESSION_CONTRACTS } from "./native-session-contracts.mjs";
3
3
  import { n as BACKEND_TYPE } from "./backend-types-DOAfrnMJ.mjs";
4
4
  import { ProxySecretsSchema, agentProfileJsonSchema, agentProfileSchema } from "@tangle-network/agent-interface";
@@ -804,4 +804,4 @@ function messageStorageDirOf(name) {
804
804
  //#endregion
805
805
  export { harnessModelWire as _, agentProfileSchema as a, cliAgentHostPassthroughEnvVarNames as c, NATIVE_INFERENCE_SCOPES as d, nativeCliAuthProxyBindings as f, harnessModelSupportFor as g, cliAgentEnvRoleName as h, MANAGED_MODEL_KEY_NAME_ENV_VAR as i, getSpec as l, cliAgentClaimEnvVarNames as m, CLI_AGENT_SPECS as n, claimDeliverableEnvVarNames as o, canonicalModelSlug as p, MANAGED_MODEL_KEY_ENV_VAR as r, cliAgentEnvVarNamesByRole as s, AGENT_BACKEND_ENV_VAR as t, messageStorageDirOf as u, SYNTHETIC_ROUTER_MODEL as v };
806
806
 
807
- //# sourceMappingURL=specs-6pK_KTpK.mjs.map
807
+ //# sourceMappingURL=specs-CGQ5FDtC.mjs.map
package/dist/specs.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as INTERACTIVE_SEEDED_PROMPT_BACKENDS, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
2
- import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, g as harnessModelSupportFor, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-6pK_KTpK.mjs";
2
+ import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, g as harnessModelSupportFor, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-CGQ5FDtC.mjs";
3
3
  export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, INTERACTIVE_SEEDED_PROMPT_BACKENDS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, SYNTHETIC_ROUTER_MODEL, 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.118",
3
+ "version": "0.15.120",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./cli-backend-auth-env": {
@@ -73,12 +73,12 @@
73
73
  "tsdown": "^0.21.10",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^4.1.12",
76
- "@tangle-network/runtime-contracts": "0.20.0",
77
- "@repo/airgap-guard": "0.0.0"
76
+ "@repo/airgap-guard": "0.0.0",
77
+ "@tangle-network/runtime-contracts": "0.20.0"
78
78
  },
79
79
  "tangleRelease": {
80
- "sourceSha": "3ce6b70a4fa42111ade760eb8f755f10fac347af",
81
- "mergedAt": "2026-11-19T04:11:51-08:00"
80
+ "sourceSha": "82b3ca0df30634f2cc3ce4286f615e55615a0de6",
81
+ "mergedAt": "2026-11-19T10:54:27-08:00"
82
82
  },
83
83
  "scripts": {
84
84
  "build": "tsdown && node scripts/export-host-contracts.mjs --write",