@tangle-network/cli-agent-registry 0.15.76 → 0.15.78
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-bundle-DglelOt0.mjs → cli-auth-bundle-D4C2d79t.mjs} +2 -2
- package/dist/cli-auth-bundle.d.mts +3 -3
- package/dist/cli-auth-bundle.mjs +1 -1
- package/dist/cli-auth-placeholder.d.mts +1 -1
- package/dist/cli-auth-placeholder.mjs +2 -2
- package/dist/cli-backend-auth-env.mjs +3 -3
- package/dist/default-backend.mjs +1 -1
- package/dist/{harness-Dpn4qFfm.mjs → harness-bKT-TdD7.mjs} +2 -2
- package/dist/{harness-contracts-DNB-x7iq.mjs → harness-contracts-QbIgaHxo.mjs} +8 -11
- package/dist/host-contracts.d.mts +2 -2
- package/dist/host-contracts.json +5 -7
- package/dist/host-contracts.mjs +1 -1
- package/dist/index.d.mts +7 -8
- package/dist/index.mjs +3 -3
- package/dist/local-cli-auth.mjs +1 -1
- package/dist/native-session-contracts.d.mts +5 -6
- package/dist/native-session-contracts.mjs +1 -1
- package/dist/servable-models.mjs +1 -1
- package/dist/{session-contract-DtTAf5p4.d.mts → session-contract-BvMZ5-8E.d.mts} +2 -2
- package/dist/session-contract.d.mts +1 -1
- package/dist/session-contract.mjs +4 -3
- package/dist/{spec-d_hjzRlF.d.mts → spec-DV_ol-49.d.mts} +2 -2
- package/dist/{specs-Dv80ioha.d.mts → specs-DHWi47Za.d.mts} +2 -2
- package/dist/{specs-Dgpj1cUQ.mjs → specs-VJFqhQhP.mjs} +2 -2
- package/dist/specs.d.mts +2 -2
- package/dist/specs.mjs +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as getSpec } from "./specs-
|
|
1
|
+
import { l as getSpec } from "./specs-VJFqhQhP.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-
|
|
94
|
+
//# sourceMappingURL=cli-auth-bundle-D4C2d79t.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;
|
package/dist/cli-auth-bundle.mjs
CHANGED
|
@@ -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-
|
|
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-D4C2d79t.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: "
|
|
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-
|
|
2
|
-
import { r as proxySecretMaterializationsSchema } from "./harness-
|
|
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-D4C2d79t.mjs";
|
|
2
|
+
import { r as proxySecretMaterializationsSchema } from "./harness-bKT-TdD7.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-
|
|
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-
|
|
3
|
-
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-
|
|
1
|
+
import { l as getSpec } from "./specs-VJFqhQhP.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-D4C2d79t.mjs";
|
|
3
|
+
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-bKT-TdD7.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. */
|
package/dist/default-backend.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-CTvErz0G.mjs";
|
|
2
|
-
import "./specs-
|
|
2
|
+
import "./specs-VJFqhQhP.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-
|
|
1
|
+
import { n as HARNESS_WARM_TRANSPORT_ENV } from "./harness-contracts-QbIgaHxo.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
|
|
@@ -344,4 +344,4 @@ safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbi
|
|
|
344
344
|
//#endregion
|
|
345
345
|
export { isSafeEnvVarName as n, proxySecretMaterializationsSchema as r, isForbiddenEnvVarName as t };
|
|
346
346
|
|
|
347
|
-
//# sourceMappingURL=harness-
|
|
347
|
+
//# sourceMappingURL=harness-bKT-TdD7.mjs.map
|
|
@@ -6,7 +6,7 @@ const HARNESS_CLI_VERSIONS = {
|
|
|
6
6
|
cursor: "2026.11.05-86047df",
|
|
7
7
|
opencode: "1.19.4",
|
|
8
8
|
pi: "1.5.0",
|
|
9
|
-
"kimi-code": "
|
|
9
|
+
"kimi-code": "2.5.3",
|
|
10
10
|
"factory-droids": "1.5.0",
|
|
11
11
|
amp: "0.0.1793937652-gdc5d48",
|
|
12
12
|
prime: "0.10.2",
|
|
@@ -54,8 +54,8 @@ const GEMINI_CHATS = {
|
|
|
54
54
|
format: "gemini.chat-json"
|
|
55
55
|
};
|
|
56
56
|
const KIMI_SESSIONS = {
|
|
57
|
-
root: ".kimi/sessions",
|
|
58
|
-
files: ["*/{id}/**"
|
|
57
|
+
root: ".kimi-code/sessions",
|
|
58
|
+
files: ["*/{id}/**"],
|
|
59
59
|
write: "jsonl-append",
|
|
60
60
|
shared: false,
|
|
61
61
|
format: "kimi.session-dir"
|
|
@@ -658,19 +658,16 @@ var kimi_code_default = {
|
|
|
658
658
|
kind: "native",
|
|
659
659
|
processProbe: {
|
|
660
660
|
versionCommand: "kimi --version",
|
|
661
|
-
kill: ["-f", "^[
|
|
661
|
+
kill: ["-f", "^[k]imi-code"]
|
|
662
662
|
},
|
|
663
663
|
contract: {
|
|
664
664
|
version: 1,
|
|
665
665
|
stores: [KIMI_SESSIONS],
|
|
666
666
|
identity: {
|
|
667
|
-
kind: "
|
|
668
|
-
|
|
669
|
-
},
|
|
670
|
-
resume: {
|
|
671
|
-
kind: "args",
|
|
672
|
-
args: ["--session", "{id}"]
|
|
667
|
+
kind: "api-created",
|
|
668
|
+
call: "acp session/new"
|
|
673
669
|
},
|
|
670
|
+
resume: { kind: "api" },
|
|
674
671
|
forbiddenArgs: [],
|
|
675
672
|
storeEnv: {},
|
|
676
673
|
evidence: {
|
|
@@ -1147,4 +1144,4 @@ const HARNESSES = {
|
|
|
1147
1144
|
//#endregion
|
|
1148
1145
|
export { HARNESS_WARM_TRANSPORT_ENV as n, HARNESSES as t };
|
|
1149
1146
|
|
|
1150
|
-
//# sourceMappingURL=harness-contracts-
|
|
1147
|
+
//# sourceMappingURL=harness-contracts-QbIgaHxo.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as CliAgentEnvVars } from "./spec-
|
|
2
|
-
import { o as NativeSessionStore } from "./session-contract-
|
|
1
|
+
import { o as CliAgentEnvVars } from "./spec-DV_ol-49.mjs";
|
|
2
|
+
import { o as NativeSessionStore } from "./session-contract-BvMZ5-8E.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/host-contracts.d.ts
|
|
5
5
|
type HostStore = Omit<NativeSessionStore, "format"> & {
|
package/dist/host-contracts.json
CHANGED
|
@@ -150,10 +150,9 @@
|
|
|
150
150
|
"session": {
|
|
151
151
|
"stores": [
|
|
152
152
|
{
|
|
153
|
-
"root": ".kimi/sessions",
|
|
153
|
+
"root": ".kimi-code/sessions",
|
|
154
154
|
"files": [
|
|
155
|
-
"*/{id}/**"
|
|
156
|
-
"*/{id}.jsonl"
|
|
155
|
+
"*/{id}/**"
|
|
157
156
|
],
|
|
158
157
|
"write": "jsonl-append",
|
|
159
158
|
"shared": false,
|
|
@@ -161,7 +160,7 @@
|
|
|
161
160
|
}
|
|
162
161
|
],
|
|
163
162
|
"storeEnv": {},
|
|
164
|
-
"cliVersion": "
|
|
163
|
+
"cliVersion": "2.5.3"
|
|
165
164
|
}
|
|
166
165
|
},
|
|
167
166
|
"factory-droids": {
|
|
@@ -433,10 +432,9 @@
|
|
|
433
432
|
"format": "gemini.chat-json"
|
|
434
433
|
},
|
|
435
434
|
{
|
|
436
|
-
"root": ".kimi/sessions",
|
|
435
|
+
"root": ".kimi-code/sessions",
|
|
437
436
|
"files": [
|
|
438
|
-
"*/{id}/**"
|
|
439
|
-
"*/{id}.jsonl"
|
|
437
|
+
"*/{id}/**"
|
|
440
438
|
],
|
|
441
439
|
"write": "jsonl-append",
|
|
442
440
|
"shared": false,
|
package/dist/host-contracts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HARNESSES } from "./harness-contracts-
|
|
1
|
+
import { t as HARNESSES } from "./harness-contracts-QbIgaHxo.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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as BackendType, t as ALL_BACKEND_TYPES } from "./backend-types-VqOoQquX.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-
|
|
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-
|
|
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-
|
|
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-DV_ol-49.mjs";
|
|
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-BvMZ5-8E.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-DHWi47Za.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";
|
|
@@ -710,12 +710,11 @@ declare const HARNESSES: {
|
|
|
710
710
|
version: 1;
|
|
711
711
|
stores: [NativeSessionStore];
|
|
712
712
|
identity: {
|
|
713
|
-
kind: "
|
|
714
|
-
|
|
713
|
+
kind: "api-created";
|
|
714
|
+
call: "acp session/new";
|
|
715
715
|
};
|
|
716
716
|
resume: {
|
|
717
|
-
kind: "
|
|
718
|
-
args: string[];
|
|
717
|
+
kind: "api";
|
|
719
718
|
};
|
|
720
719
|
forbiddenArgs: never[];
|
|
721
720
|
storeEnv: {};
|
|
@@ -724,7 +723,7 @@ declare const HARNESSES: {
|
|
|
724
723
|
usage: "per-response";
|
|
725
724
|
endingError: "session-record";
|
|
726
725
|
};
|
|
727
|
-
cliVersion: "
|
|
726
|
+
cliVersion: "2.5.3";
|
|
728
727
|
};
|
|
729
728
|
defect: null;
|
|
730
729
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as HARNESSES } from "./harness-contracts-
|
|
1
|
+
import { t as HARNESSES } from "./harness-contracts-QbIgaHxo.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 parseBackendType, i as isBackendType, n as BACKEND_TYPE, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-CTvErz0G.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-
|
|
6
|
-
import { c as materializeCliAuthBundle } from "./cli-auth-bundle-
|
|
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-VJFqhQhP.mjs";
|
|
6
|
+
import { c as materializeCliAuthBundle } from "./cli-auth-bundle-D4C2d79t.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";
|
package/dist/local-cli-auth.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-
|
|
1
|
+
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-D4C2d79t.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as NativeSessionStore } from "./session-contract-
|
|
1
|
+
import { o as NativeSessionStore } from "./session-contract-BvMZ5-8E.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/native-session-contracts.d.ts
|
|
4
4
|
/** Native session contracts. A receipt proves each pin. There is no pending list. */
|
|
@@ -112,12 +112,11 @@ declare const NATIVE_SESSION_CONTRACTS: {
|
|
|
112
112
|
version: 1;
|
|
113
113
|
stores: [NativeSessionStore];
|
|
114
114
|
identity: {
|
|
115
|
-
kind: "
|
|
116
|
-
|
|
115
|
+
kind: "api-created";
|
|
116
|
+
call: "acp session/new";
|
|
117
117
|
};
|
|
118
118
|
resume: {
|
|
119
|
-
kind: "
|
|
120
|
-
args: string[];
|
|
119
|
+
kind: "api";
|
|
121
120
|
};
|
|
122
121
|
forbiddenArgs: never[];
|
|
123
122
|
storeEnv: {};
|
|
@@ -126,7 +125,7 @@ declare const NATIVE_SESSION_CONTRACTS: {
|
|
|
126
125
|
usage: "per-response";
|
|
127
126
|
endingError: "session-record";
|
|
128
127
|
};
|
|
129
|
-
cliVersion: "
|
|
128
|
+
cliVersion: "2.5.3";
|
|
130
129
|
};
|
|
131
130
|
readonly "factory-droids": {
|
|
132
131
|
version: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HARNESSES } from "./harness-contracts-
|
|
1
|
+
import { t as HARNESSES } from "./harness-contracts-QbIgaHxo.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 = {
|
package/dist/servable-models.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as harnessModelSupportFor, l as getSpec } from "./specs-
|
|
1
|
+
import { g as harnessModelSupportFor, l as getSpec } from "./specs-VJFqhQhP.mjs";
|
|
2
2
|
//#region src/servable-models.ts
|
|
3
3
|
/**
|
|
4
4
|
* The models a managed (Tangle-funded) run may default to, most preferred
|
|
@@ -75,7 +75,7 @@ declare function substituteNativeSessionId(tokens: readonly string[], nativeSess
|
|
|
75
75
|
declare function forbiddenArgViolations(contract: Pick<HarnessSessionContract, "forbiddenArgs">, argv: readonly string[]): string[];
|
|
76
76
|
/** Refuse flags that disable persistence, on configured flags and on the built argv. */
|
|
77
77
|
declare function assertFlagsHonourSessionContract(harness: string, contract: Pick<HarnessSessionContract, "forbiddenArgs">, flags: readonly string[], source: string): void;
|
|
78
|
-
/** No forbidden argv token, and a pre-minted new session carries its minted id. */
|
|
78
|
+
/** No forbidden argv token, and a pre-minted new session carries its minted id; an api-created id never reaches argv. */
|
|
79
79
|
declare function assertArgvHonoursSessionContract(harness: string, contract: HarnessSessionContract, argv: readonly string[], session: {
|
|
80
80
|
mintedId?: string;
|
|
81
81
|
}): void;
|
|
@@ -96,4 +96,4 @@ declare function sessionStoreForPath(contract: Pick<HarnessSessionContract, "sto
|
|
|
96
96
|
declare function sessionContractProblems(contract: HarnessSessionContract): string[];
|
|
97
97
|
//#endregion
|
|
98
98
|
export { substituteNativeSessionId as _, NativeSessionIdentity as a, SessionFormatId as c, assertStoreLocationHonoursSessionContract as d, compileSessionStoreGlob as f, sessionStoreForPath as g, sessionContractProblems as h, HarnessSessionEvidence as i, assertArgvHonoursSessionContract as l, normalizePosixPath as m, HarnessSessionContractError as n, NativeSessionStore as o, forbiddenArgViolations as p, HarnessSessionContractErrorCode as r, SESSION_FORMAT_IDS as s, HarnessSessionContract as t, assertFlagsHonourSessionContract as u };
|
|
99
|
-
//# sourceMappingURL=session-contract-
|
|
99
|
+
//# sourceMappingURL=session-contract-BvMZ5-8E.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-BvMZ5-8E.mjs";
|
|
2
2
|
export { HarnessSessionContract, HarnessSessionContractError, HarnessSessionContractErrorCode, HarnessSessionEvidence, NativeSessionIdentity, NativeSessionStore, SESSION_FORMAT_IDS, SessionFormatId, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, compileSessionStoreGlob, forbiddenArgViolations, normalizePosixPath, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId };
|
|
@@ -44,11 +44,12 @@ function assertFlagsHonourSessionContract(harness, contract, flags, source) {
|
|
|
44
44
|
const violations = forbiddenArgViolations(contract, flags);
|
|
45
45
|
if (violations.length > 0) throw new HarnessSessionContractError("harness_session_persistence_disabled", `${harness} ${source} carries ${violations.join(", ")}, which disables or redirects its native session`);
|
|
46
46
|
}
|
|
47
|
-
/** No forbidden argv token, and a pre-minted new session carries its minted id. */
|
|
47
|
+
/** No forbidden argv token, and a pre-minted new session carries its minted id; an api-created id never reaches argv. */
|
|
48
48
|
function assertArgvHonoursSessionContract(harness, contract, argv, session) {
|
|
49
49
|
assertFlagsHonourSessionContract(harness, contract, argv, "argv");
|
|
50
|
-
|
|
51
|
-
if (
|
|
50
|
+
const kind = contract.identity.kind;
|
|
51
|
+
if (session.mintedId === void 0 || kind === "api-created") return;
|
|
52
|
+
if (contract.identity.kind !== "pre-minted") throw new HarnessSessionContractError("harness_session_persistence_disabled", `${harness} was given a minted session id but its identity is ${kind}`);
|
|
52
53
|
if (indexOfSequence(argv, substituteNativeSessionId(contract.identity.args, session.mintedId)) < 0) throw new HarnessSessionContractError("harness_session_persistence_disabled", `${harness} argv does not carry its pre-minted session id (${contract.identity.args.join(" ")})`);
|
|
53
54
|
}
|
|
54
55
|
/** Normalize a POSIX path; `..` that escapes the start is kept as a leading `..`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HarnessSessionContract } from "./session-contract-
|
|
1
|
+
import { t as HarnessSessionContract } from "./session-contract-BvMZ5-8E.mjs";
|
|
2
2
|
import { SdkProviderAdapter, WellKnownInteractionKind } from "@tangle-network/agent-interface";
|
|
3
3
|
import { HarnessModelSupport, HarnessModelSupportOptions } from "@tangle-network/agent-interface/harness-capabilities";
|
|
4
4
|
|
|
@@ -345,4 +345,4 @@ type ProviderLogger = {
|
|
|
345
345
|
};
|
|
346
346
|
//#endregion
|
|
347
347
|
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 };
|
|
348
|
-
//# sourceMappingURL=spec-
|
|
348
|
+
//# sourceMappingURL=spec-DV_ol-49.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-DV_ol-49.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-DHWi47Za.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HARNESSES } from "./harness-contracts-
|
|
1
|
+
import { t as HARNESSES } from "./harness-contracts-QbIgaHxo.mjs";
|
|
2
2
|
import { NATIVE_SESSION_CONTRACTS } from "./native-session-contracts.mjs";
|
|
3
3
|
import { n as BACKEND_TYPE } from "./backend-types-CTvErz0G.mjs";
|
|
4
4
|
import { ProxySecretsSchema, agentProfileJsonSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
@@ -786,4 +786,4 @@ function messageStorageDirOf(name) {
|
|
|
786
786
|
//#endregion
|
|
787
787
|
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 };
|
|
788
788
|
|
|
789
|
-
//# sourceMappingURL=specs-
|
|
789
|
+
//# sourceMappingURL=specs-VJFqhQhP.mjs.map
|
package/dist/specs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as BackendType, t as ALL_BACKEND_TYPES } from "./backend-types-VqOoQquX.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-DV_ol-49.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-DHWi47Za.mjs";
|
|
4
4
|
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, CLI_AGENT_SPECS, CliAgentModelWire, CliAgentSpec, 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/dist/specs.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as parseBackendType, i as isBackendType, n as BACKEND_TYPE, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-CTvErz0G.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 } from "./specs-
|
|
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 } from "./specs-VJFqhQhP.mjs";
|
|
3
3
|
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, 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.78",
|
|
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": "c4b4ddcb9f7e8b4b416c40026d8c5eb85bbedef5",
|
|
81
|
+
"mergedAt": "2026-11-10T17:06:36-08:00"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsdown && node scripts/export-host-contracts.mjs --write",
|