@tangle-network/cli-agent-registry 0.15.114 → 0.15.116
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.
|
@@ -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;
|
|
@@ -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
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-
|
|
2
|
+
import { r as proxySecretMaterializationsSchema } from "./harness-D0gc7sxm.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-6pK_KTpK.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-CQCj_DOW.mjs";
|
|
3
|
-
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-
|
|
3
|
+
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-D0gc7sxm.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. */
|
|
@@ -421,7 +421,11 @@ const FORBIDDEN_ENV_VAR_PREFIXES = [
|
|
|
421
421
|
"AGENT_SUBPROCESS_",
|
|
422
422
|
"TEE_ATTESTATION_"
|
|
423
423
|
];
|
|
424
|
-
const RUNTIME_CALLER_ALLOWED_ENV_NAMES = new Set([
|
|
424
|
+
const RUNTIME_CALLER_ALLOWED_ENV_NAMES = new Set([
|
|
425
|
+
"SIDECAR_CAPABILITIES",
|
|
426
|
+
"SIDECAR_PLATFORM_CONTROL_RUNTIME",
|
|
427
|
+
"SIDECAR_RUNTIME_MODE"
|
|
428
|
+
]);
|
|
425
429
|
new Set(Object.values(HARNESS_WARM_TRANSPORT_ENV).flatMap(({ warmServer, prewarm }) => [warmServer, prewarm]));
|
|
426
430
|
function isForbiddenEnvVarName(name) {
|
|
427
431
|
if (RUNTIME_CALLER_ALLOWED_ENV_NAMES.has(name)) return false;
|
|
@@ -451,4 +455,4 @@ safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbi
|
|
|
451
455
|
//#endregion
|
|
452
456
|
export { isSafeEnvVarName as n, proxySecretMaterializationsSchema as r, isForbiddenEnvVarName as t };
|
|
453
457
|
|
|
454
|
-
//# sourceMappingURL=harness-
|
|
458
|
+
//# sourceMappingURL=harness-D0gc7sxm.mjs.map
|
package/dist/index.d.mts
CHANGED
|
@@ -79,75 +79,6 @@ declare function agentRunBackendVariants<Shape extends z.ZodRawShape>(base: Shap
|
|
|
79
79
|
maxTotalOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
80
80
|
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
|
|
81
81
|
}, z.core.$strict>>;
|
|
82
|
-
harness: z.ZodOptional<z.ZodEnum<{
|
|
83
|
-
"claude-code": "claude-code";
|
|
84
|
-
nanoclaw: "nanoclaw";
|
|
85
|
-
codex: "codex";
|
|
86
|
-
opencode: "opencode";
|
|
87
|
-
"kimi-code": "kimi-code";
|
|
88
|
-
pi: "pi";
|
|
89
|
-
prime: "prime";
|
|
90
|
-
gemini: "gemini";
|
|
91
|
-
hermes: "hermes";
|
|
92
|
-
openclaw: "openclaw";
|
|
93
|
-
amp: "amp";
|
|
94
|
-
"factory-droids": "factory-droids";
|
|
95
|
-
forge: "forge";
|
|
96
|
-
cursor: "cursor";
|
|
97
|
-
grok: "grok";
|
|
98
|
-
nanocode: "nanocode";
|
|
99
|
-
exo: "exo";
|
|
100
|
-
acp: "acp";
|
|
101
|
-
"cli-base": "cli-base";
|
|
102
|
-
}>>;
|
|
103
|
-
seats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
-
harness: z.ZodEnum<{
|
|
105
|
-
"claude-code": "claude-code";
|
|
106
|
-
nanoclaw: "nanoclaw";
|
|
107
|
-
codex: "codex";
|
|
108
|
-
opencode: "opencode";
|
|
109
|
-
"kimi-code": "kimi-code";
|
|
110
|
-
pi: "pi";
|
|
111
|
-
prime: "prime";
|
|
112
|
-
gemini: "gemini";
|
|
113
|
-
hermes: "hermes";
|
|
114
|
-
openclaw: "openclaw";
|
|
115
|
-
amp: "amp";
|
|
116
|
-
"factory-droids": "factory-droids";
|
|
117
|
-
forge: "forge";
|
|
118
|
-
cursor: "cursor";
|
|
119
|
-
grok: "grok";
|
|
120
|
-
nanocode: "nanocode";
|
|
121
|
-
exo: "exo";
|
|
122
|
-
acp: "acp";
|
|
123
|
-
"cli-base": "cli-base";
|
|
124
|
-
}>;
|
|
125
|
-
provider: z.ZodString;
|
|
126
|
-
model: z.ZodString;
|
|
127
|
-
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
128
|
-
none: "none";
|
|
129
|
-
minimal: "minimal";
|
|
130
|
-
low: "low";
|
|
131
|
-
medium: "medium";
|
|
132
|
-
high: "high";
|
|
133
|
-
xhigh: "xhigh";
|
|
134
|
-
ultracode: "ultracode";
|
|
135
|
-
}>>;
|
|
136
|
-
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
137
|
-
router: "router";
|
|
138
|
-
"api-key": "api-key";
|
|
139
|
-
subscription: "subscription";
|
|
140
|
-
managed: "managed";
|
|
141
|
-
}>>;
|
|
142
|
-
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
143
|
-
kind: z.ZodLiteral<"all-eligible">;
|
|
144
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"seat">;
|
|
146
|
-
id: z.ZodString;
|
|
147
|
-
}, z.core.$strict>]>;
|
|
148
|
-
tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
|
|
149
|
-
permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
|
|
150
|
-
}, z.core.$strict>>>;
|
|
151
82
|
proxySecrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
83
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
153
84
|
methods: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
@@ -327,6 +258,73 @@ declare function agentRunBackendVariants<Shape extends z.ZodRawShape>(base: Shap
|
|
|
327
258
|
}, z.core.$strict>>;
|
|
328
259
|
metadata: z.ZodOptional<z.ZodType<_$_tangle_network_agent_interface0.AgentProfileMetadata, unknown, z.core.$ZodTypeInternals<_$_tangle_network_agent_interface0.AgentProfileMetadata, unknown>>>;
|
|
329
260
|
extensions: z.ZodOptional<z.ZodType<Record<string, Record<string, unknown> | undefined>, unknown, z.core.$ZodTypeInternals<Record<string, Record<string, unknown> | undefined>, unknown>>>;
|
|
261
|
+
harness: z.ZodOptional<z.ZodEnum<{
|
|
262
|
+
"claude-code": "claude-code";
|
|
263
|
+
nanoclaw: "nanoclaw";
|
|
264
|
+
codex: "codex";
|
|
265
|
+
opencode: "opencode";
|
|
266
|
+
"kimi-code": "kimi-code";
|
|
267
|
+
pi: "pi";
|
|
268
|
+
prime: "prime";
|
|
269
|
+
gemini: "gemini";
|
|
270
|
+
hermes: "hermes";
|
|
271
|
+
openclaw: "openclaw";
|
|
272
|
+
amp: "amp";
|
|
273
|
+
"factory-droids": "factory-droids";
|
|
274
|
+
cursor: "cursor";
|
|
275
|
+
grok: "grok";
|
|
276
|
+
nanocode: "nanocode";
|
|
277
|
+
exo: "exo";
|
|
278
|
+
acp: "acp";
|
|
279
|
+
"cli-base": "cli-base";
|
|
280
|
+
}>>;
|
|
281
|
+
seats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
|
+
harness: z.ZodEnum<{
|
|
283
|
+
"claude-code": "claude-code";
|
|
284
|
+
nanoclaw: "nanoclaw";
|
|
285
|
+
codex: "codex";
|
|
286
|
+
opencode: "opencode";
|
|
287
|
+
"kimi-code": "kimi-code";
|
|
288
|
+
pi: "pi";
|
|
289
|
+
prime: "prime";
|
|
290
|
+
gemini: "gemini";
|
|
291
|
+
hermes: "hermes";
|
|
292
|
+
openclaw: "openclaw";
|
|
293
|
+
amp: "amp";
|
|
294
|
+
"factory-droids": "factory-droids";
|
|
295
|
+
cursor: "cursor";
|
|
296
|
+
grok: "grok";
|
|
297
|
+
nanocode: "nanocode";
|
|
298
|
+
exo: "exo";
|
|
299
|
+
acp: "acp";
|
|
300
|
+
"cli-base": "cli-base";
|
|
301
|
+
}>;
|
|
302
|
+
provider: z.ZodString;
|
|
303
|
+
model: z.ZodString;
|
|
304
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
305
|
+
none: "none";
|
|
306
|
+
minimal: "minimal";
|
|
307
|
+
low: "low";
|
|
308
|
+
medium: "medium";
|
|
309
|
+
high: "high";
|
|
310
|
+
xhigh: "xhigh";
|
|
311
|
+
ultracode: "ultracode";
|
|
312
|
+
}>>;
|
|
313
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
router: "router";
|
|
315
|
+
"api-key": "api-key";
|
|
316
|
+
subscription: "subscription";
|
|
317
|
+
managed: "managed";
|
|
318
|
+
}>>;
|
|
319
|
+
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
320
|
+
kind: z.ZodLiteral<"all-eligible">;
|
|
321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
322
|
+
kind: z.ZodLiteral<"seat">;
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
}, z.core.$strict>]>;
|
|
325
|
+
tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
|
|
326
|
+
permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
|
|
327
|
+
}, z.core.$strict>>>;
|
|
330
328
|
}, z.core.$strict>;
|
|
331
329
|
} extends infer T ? { -readonly [P in keyof T]: T[P] } : never, z.core.$strict>, z.ZodObject<Shape & {
|
|
332
330
|
profileSha256: z.ZodString;
|
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.116",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./cli-backend-auth-env": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"registry": "https://registry.npmjs.org"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
67
|
+
"@tangle-network/agent-interface": "^5.10.28",
|
|
68
68
|
"jose": "6.2.15",
|
|
69
69
|
"zod": "4.6.7"
|
|
70
70
|
},
|
|
@@ -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": "61759acea650aa1e856a2aa0da5a3b04e1105e06",
|
|
81
|
+
"mergedAt": "2026-11-18T18:45:51-08:00"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsdown && node scripts/export-host-contracts.mjs --write",
|