@tangle-network/agent-interface 5.10.14 → 5.10.16
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/agent-profile.d.ts +2 -0
- package/dist/agent-workspace-lease.d.ts +0 -1
- package/dist/environment-interactive-start.d.ts +4 -0
- package/dist/environment-runtime.d.ts +12 -0
- package/dist/harness-capabilities.d.ts +5 -7
- package/dist/harness-capabilities.js +6 -29
- package/dist/learning-state.d.ts +0 -2
- package/dist/portable-context-transfer.d.ts +4 -0
- package/dist/profile-kb/models.js +15 -2
- package/dist/profile-kb/types.d.ts +1 -1
- package/dist/profile-schema.d.ts +8 -0
- package/dist/profile-schema.js +9 -3
- package/dist/proxy-secrets.d.ts +0 -2
- package/dist/proxy-secrets.js +0 -2
- package/package.json +1 -1
package/dist/agent-profile.d.ts
CHANGED
|
@@ -148,6 +148,8 @@ export interface AgentProfileSeat {
|
|
|
148
148
|
model: string;
|
|
149
149
|
/** Override profile.model.reasoningEffort for this stage; omission inherits, none disables thinking. */
|
|
150
150
|
reasoningEffort?: ReasoningEffort;
|
|
151
|
+
/** This stage's credential intent; omitted inherits profile.model.metadata.credentialSource (absent there means managed). */
|
|
152
|
+
credentialSource?: "subscription" | "managed";
|
|
151
153
|
/** Select all eligible accounts in account-manager order, or one named account. */
|
|
152
154
|
selector: {
|
|
153
155
|
kind: "all-eligible";
|
|
@@ -79,7 +79,6 @@ type WithDigest<Material> = Material extends unknown ? Material & {
|
|
|
79
79
|
/** Self-hashed public projection. Private authorization and durable state stay out. */
|
|
80
80
|
export type AgentWorkspaceLeaseRecord = WithDigest<AgentWorkspaceLeaseRecordMaterial>;
|
|
81
81
|
export type AgentWorkspaceSealedLeaseRecord = WithDigest<AgentWorkspaceSealedLeaseRecordMaterial>;
|
|
82
|
-
export type AgentWorkspaceExecutionBoundLeaseRecord = WithDigest<AgentWorkspaceExecutionBoundLeaseRecordMaterial>;
|
|
83
82
|
export declare const agentWorkspaceLeasePhaseSchema: z.ZodEnum<{
|
|
84
83
|
"copy-ready": "copy-ready";
|
|
85
84
|
"workspace-sealed": "workspace-sealed";
|
|
@@ -102,6 +102,10 @@ export declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
102
102
|
xhigh: "xhigh";
|
|
103
103
|
ultracode: "ultracode";
|
|
104
104
|
}>>;
|
|
105
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
subscription: "subscription";
|
|
107
|
+
managed: "managed";
|
|
108
|
+
}>>;
|
|
105
109
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
106
110
|
kind: z.ZodLiteral<"all-eligible">;
|
|
107
111
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -126,6 +126,10 @@ export declare const AgentTurnInputSchema: z.ZodObject<{
|
|
|
126
126
|
xhigh: "xhigh";
|
|
127
127
|
ultracode: "ultracode";
|
|
128
128
|
}>>;
|
|
129
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
subscription: "subscription";
|
|
131
|
+
managed: "managed";
|
|
132
|
+
}>>;
|
|
129
133
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
130
134
|
kind: z.ZodLiteral<"all-eligible">;
|
|
131
135
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -535,6 +539,10 @@ export declare const AgentTurnInputSchema: z.ZodObject<{
|
|
|
535
539
|
xhigh: "xhigh";
|
|
536
540
|
ultracode: "ultracode";
|
|
537
541
|
}>>;
|
|
542
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
543
|
+
subscription: "subscription";
|
|
544
|
+
managed: "managed";
|
|
545
|
+
}>>;
|
|
538
546
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
539
547
|
kind: z.ZodLiteral<"all-eligible">;
|
|
540
548
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2058,6 +2066,10 @@ export declare const AgentEnvironmentGetOptionsSchema: z.ZodObject<{
|
|
|
2058
2066
|
xhigh: "xhigh";
|
|
2059
2067
|
ultracode: "ultracode";
|
|
2060
2068
|
}>>;
|
|
2069
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
2070
|
+
subscription: "subscription";
|
|
2071
|
+
managed: "managed";
|
|
2072
|
+
}>>;
|
|
2061
2073
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
2062
2074
|
kind: z.ZodLiteral<"all-eligible">;
|
|
2063
2075
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -26,8 +26,9 @@ export declare function modelProvider(modelId: string): string | null;
|
|
|
26
26
|
* sentinel, whose provider only the serving harness knows.
|
|
27
27
|
*/
|
|
28
28
|
export declare function resolveModelProvider(modelId: string): string | null;
|
|
29
|
-
/**
|
|
30
|
-
|
|
29
|
+
/** Always `null`: every harness is router-backed (Claude Code and Codex translate non-vendor models;
|
|
30
|
+
* Kimi Code's managed provider sends chat completions to the Router). Credentials are not modeled. */
|
|
31
|
+
export declare function harnessProviders(_harness: HarnessType): readonly string[] | null;
|
|
31
32
|
/** A harness × model pair that a production run measured to fail at its first model call. */
|
|
32
33
|
export interface HarnessModelExclusion {
|
|
33
34
|
readonly harness: HarnessType;
|
|
@@ -67,8 +68,6 @@ export type HarnessModelSupport = {
|
|
|
67
68
|
readonly supported: false;
|
|
68
69
|
readonly model: string;
|
|
69
70
|
readonly provider: string | null;
|
|
70
|
-
/** The providers a vendor-locked harness accepts; absent for a measured exclusion. */
|
|
71
|
-
readonly allowedProviders?: readonly string[];
|
|
72
71
|
/** The measurement behind a refusal of a router-backed pair. */
|
|
73
72
|
readonly exclusion?: HarnessModelExclusion;
|
|
74
73
|
/** One sentence naming the harness, the model and the reason. */
|
|
@@ -81,9 +80,8 @@ export interface HarnessModelSupportOptions {
|
|
|
81
80
|
/**
|
|
82
81
|
* Whether a harness can run a model, and why not. A bare id resolves its provider through
|
|
83
82
|
* {@link resolveModelProvider}; an id whose provider cannot be resolved (a sentinel like `default`)
|
|
84
|
-
* is left to the harness, because its provider only the serving harness knows.
|
|
85
|
-
*
|
|
86
|
-
* {@link harnessModelExclusions}.
|
|
83
|
+
* is left to the harness, because its provider only the serving harness knows. Only the measured
|
|
84
|
+
* {@link harnessModelExclusions} are refused.
|
|
87
85
|
*/
|
|
88
86
|
export declare function harnessModelSupport(harness: HarnessType, modelId: string, options?: HarnessModelSupportOptions): HarnessModelSupport;
|
|
89
87
|
/**
|
|
@@ -37,16 +37,6 @@ export function formatSeatSpec(seat) {
|
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
39
|
// ── Harness ↔ model compatibility ────────────────────────────────────────────
|
|
40
|
-
/**
|
|
41
|
-
* Vendor locks, before the measured {@link harnessModelExclusions}. Absent means router-backed.
|
|
42
|
-
* Claude Code and Codex run any Router model: their native vendor wire passes through for vendor
|
|
43
|
-
* models and translates others to chat completions (including images/tools; hosted tools drop).
|
|
44
|
-
* Kimi Code on a managed box writes an `openai_legacy` provider that sends chat completions to the
|
|
45
|
-
* Router, so it runs any Router model too. A caller's vendor key/login remains vendor-limited;
|
|
46
|
-
* this table does not know credentials. {@link vendorHarness} chooses a default harness; it is not
|
|
47
|
-
* a provider restriction.
|
|
48
|
-
*/
|
|
49
|
-
const harnessProviderLock = {};
|
|
50
40
|
/**
|
|
51
41
|
* The harness that natively speaks a vendor's models. A model of that vendor adopts it when the
|
|
52
42
|
* caller names no harness ({@link preferredHarnessForModel}), and a locked harness handed such a
|
|
@@ -93,9 +83,10 @@ export function resolveModelProvider(modelId) {
|
|
|
93
83
|
}
|
|
94
84
|
return null;
|
|
95
85
|
}
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
|
|
86
|
+
/** Always `null`: every harness is router-backed (Claude Code and Codex translate non-vendor models;
|
|
87
|
+
* Kimi Code's managed provider sends chat completions to the Router). Credentials are not modeled. */
|
|
88
|
+
export function harnessProviders(_harness) {
|
|
89
|
+
return null;
|
|
99
90
|
}
|
|
100
91
|
const SANDBOX_HARNESS_MATRIX_EVIDENCE = "https://github.com/tangle-network/agent-container/issues/9382";
|
|
101
92
|
/**
|
|
@@ -141,9 +132,8 @@ export const harnessModelExclusions = [
|
|
|
141
132
|
/**
|
|
142
133
|
* Whether a harness can run a model, and why not. A bare id resolves its provider through
|
|
143
134
|
* {@link resolveModelProvider}; an id whose provider cannot be resolved (a sentinel like `default`)
|
|
144
|
-
* is left to the harness, because its provider only the serving harness knows.
|
|
145
|
-
*
|
|
146
|
-
* {@link harnessModelExclusions}.
|
|
135
|
+
* is left to the harness, because its provider only the serving harness knows. Only the measured
|
|
136
|
+
* {@link harnessModelExclusions} are refused.
|
|
147
137
|
*/
|
|
148
138
|
export function harnessModelSupport(harness, modelId, options = {}) {
|
|
149
139
|
const trimmed = modelId.trim();
|
|
@@ -153,19 +143,6 @@ export function harnessModelSupport(harness, modelId, options = {}) {
|
|
|
153
143
|
: trimmed;
|
|
154
144
|
if (provider === null)
|
|
155
145
|
return { supported: true, model, provider };
|
|
156
|
-
const allowedProviders = harnessProviders(harness);
|
|
157
|
-
if (allowedProviders && !allowedProviders.includes(provider)) {
|
|
158
|
-
return {
|
|
159
|
-
supported: false,
|
|
160
|
-
model,
|
|
161
|
-
provider,
|
|
162
|
-
allowedProviders,
|
|
163
|
-
message: `Harness ${harness} runs only ${allowedProviders.join(" or ")} models, ` +
|
|
164
|
-
`not ${model} (provider ${provider}). Choose a model whose id starts with ` +
|
|
165
|
-
`${allowedProviders.map((p) => `${p}/`).join(" or ")}, or a harness that runs ` +
|
|
166
|
-
`${provider} models, such as opencode.`,
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
146
|
const reasoning = options.reasoningEffort !== undefined &&
|
|
170
147
|
options.reasoningEffort !== null &&
|
|
171
148
|
options.reasoningEffort !== "none";
|
package/dist/learning-state.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ export declare const AgentLearningFileSchema: z.ZodObject<{
|
|
|
55
55
|
trust: z.ZodLiteral<"untrusted">;
|
|
56
56
|
}, z.core.$strict>;
|
|
57
57
|
}, z.core.$strict>;
|
|
58
|
-
export type AgentLearningFile = z.infer<typeof AgentLearningFileSchema>;
|
|
59
58
|
/** A host-resolved reference to exact native state, never a path or credential value. */
|
|
60
59
|
export declare const AgentLearningNativeRefSchema: z.ZodObject<{
|
|
61
60
|
harness: z.ZodEnum<{
|
|
@@ -82,7 +81,6 @@ export declare const AgentLearningNativeRefSchema: z.ZodObject<{
|
|
|
82
81
|
reference: z.ZodString;
|
|
83
82
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
84
83
|
}, z.core.$strict>;
|
|
85
|
-
export type AgentLearningNativeRef = z.infer<typeof AgentLearningNativeRefSchema>;
|
|
86
84
|
declare const materialSchema: z.ZodObject<{
|
|
87
85
|
version: z.ZodLiteral<1>;
|
|
88
86
|
identity: z.ZodObject<{
|
|
@@ -212,6 +212,10 @@ export declare const ContextTransferRequestSchema: z.ZodObject<{
|
|
|
212
212
|
xhigh: "xhigh";
|
|
213
213
|
ultracode: "ultracode";
|
|
214
214
|
}>>;
|
|
215
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
216
|
+
subscription: "subscription";
|
|
217
|
+
managed: "managed";
|
|
218
|
+
}>>;
|
|
215
219
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
216
220
|
kind: z.ZodLiteral<"all-eligible">;
|
|
217
221
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -14,6 +14,10 @@ const deepseekModel = source("https://api-docs.deepseek.com/quick_start/pricing/
|
|
|
14
14
|
const deepseekThinking = source("https://api-docs.deepseek.com/guides/thinking_mode/", "Thinking mode toggle and effort control; tool calls");
|
|
15
15
|
const glmModel = source("https://docs.z.ai/guides/llm/glm-5.3#feature-changes", "Feature changes");
|
|
16
16
|
const kimiModel = source("https://platform.kimi.ai/docs/guide/kimi-k3-quickstart", "Reasoning effort; vision input; important limits");
|
|
17
|
+
/** `opencode models opencode --verbose` on OpenCode 1.18.33: the keyless free routes, all priced at 0. */
|
|
18
|
+
function opencodeFreeClaim(route, limits) {
|
|
19
|
+
return claim(`OpenCode serves ${route} keyless (no provider key), at zero cost: ${limits}. A free route can change or leave the catalog without notice.`, { url: "https://opencode.ai/inference/openai/v1", checkedAt: "2026-11-02", authority: "local", locator: `opencode 1.18.33 models opencode --verbose; ${route}` }, "local-observation");
|
|
20
|
+
}
|
|
17
21
|
/** Historical acceptance records, not a current serving or quality check. */
|
|
18
22
|
function routerClaim(note) {
|
|
19
23
|
return claim(`The 2026-09-22 record reports ${note}; this audit recovered no attached trace and made no new router request.`, {
|
|
@@ -223,14 +227,23 @@ export const profileKbModels = [
|
|
|
223
227
|
id: "deepseek-v4.1-flash",
|
|
224
228
|
name: "DeepSeek V4.1 Flash",
|
|
225
229
|
vendor: "DeepSeek",
|
|
226
|
-
surfaces: ["api", "router"],
|
|
227
|
-
aliases: ["deepseek-flash", "deepseek/deepseek-v4.1-flash"],
|
|
230
|
+
surfaces: ["api", "router", "opencode"],
|
|
231
|
+
aliases: ["deepseek-flash", "deepseek/deepseek-v4.1-flash", "opencode/deepseek-v4.1-flash-free"],
|
|
228
232
|
claims: [
|
|
229
233
|
claim("DeepSeek API ID deepseek-flash denotes V4.1-Flash: 1M context, 384K output, vision and tools; non-thinking mode is available. Router naming is a separate contract.", deepseekModel),
|
|
230
234
|
claim("Thinking defaults on at high. Native efforts are low, high and max; minimal maps to low, medium/xhigh to high, and ultra to max. With tools, preserve all previous reasoning_content, including turns without tool calls.", deepseekThinking),
|
|
231
235
|
routerClaim("deepseek/deepseek-v4.1-flash returned HTTP 200 and served that id"),
|
|
236
|
+
opencodeFreeClaim("opencode/deepseek-v4.1-flash-free", "200K context, 32K output, image input, efforts low, high and max"),
|
|
232
237
|
],
|
|
233
238
|
}),
|
|
239
|
+
kbEntry({
|
|
240
|
+
id: "glm-5.3-flash",
|
|
241
|
+
name: "GLM-5.3-Flash",
|
|
242
|
+
vendor: "Z.ai",
|
|
243
|
+
surfaces: ["opencode"],
|
|
244
|
+
aliases: ["opencode/glm-5.3-flash-free"],
|
|
245
|
+
claims: [opencodeFreeClaim("opencode/glm-5.3-flash-free", "200K context, 32K output, image input, efforts low, high and max")],
|
|
246
|
+
}),
|
|
234
247
|
kbEntry({
|
|
235
248
|
id: "glm-5.3",
|
|
236
249
|
name: "GLM-5.3",
|
|
@@ -38,7 +38,7 @@ export interface ProfileKbHarness {
|
|
|
38
38
|
claims?: ProfileKbClaim[];
|
|
39
39
|
}
|
|
40
40
|
/** Where a model is reached. A model id means different things on each surface. */
|
|
41
|
-
export type ProfileKbSurface = "api" | "codex" | "chatgpt" | "router";
|
|
41
|
+
export type ProfileKbSurface = "api" | "codex" | "chatgpt" | "router" | "opencode";
|
|
42
42
|
/**
|
|
43
43
|
* How to get the best from one model.
|
|
44
44
|
*
|
package/dist/profile-schema.d.ts
CHANGED
|
@@ -203,6 +203,10 @@ export declare const agentProfileSeatSchema: z.ZodObject<{
|
|
|
203
203
|
xhigh: "xhigh";
|
|
204
204
|
ultracode: "ultracode";
|
|
205
205
|
}>>;
|
|
206
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
subscription: "subscription";
|
|
208
|
+
managed: "managed";
|
|
209
|
+
}>>;
|
|
206
210
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
207
211
|
kind: z.ZodLiteral<"all-eligible">;
|
|
208
212
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -569,6 +573,10 @@ export declare const agentProfileSchema: z.ZodObject<{
|
|
|
569
573
|
xhigh: "xhigh";
|
|
570
574
|
ultracode: "ultracode";
|
|
571
575
|
}>>;
|
|
576
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
577
|
+
subscription: "subscription";
|
|
578
|
+
managed: "managed";
|
|
579
|
+
}>>;
|
|
572
580
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
573
581
|
kind: z.ZodLiteral<"all-eligible">;
|
|
574
582
|
}, z.core.$strict>, z.ZodObject<{
|
package/dist/profile-schema.js
CHANGED
|
@@ -114,6 +114,7 @@ export const agentProfileSeatSchema = z.strictObject({
|
|
|
114
114
|
provider: z.string().regex(/^[a-z][a-z0-9-]*$/),
|
|
115
115
|
model: z.string().min(1).refine((value) => value.trim() === value, "model must be canonical"),
|
|
116
116
|
reasoningEffort: reasoningEffortSchema.optional(),
|
|
117
|
+
credentialSource: z.enum(["subscription", "managed"]).optional(),
|
|
117
118
|
selector: z.union([
|
|
118
119
|
z.strictObject({ kind: z.literal("all-eligible") }),
|
|
119
120
|
z.strictObject({ kind: z.literal("seat"), id: z.string().min(1).refine((value) => value.trim() === value, "seat id must be canonical") }),
|
|
@@ -426,7 +427,7 @@ export const agentProfileSchema = z
|
|
|
426
427
|
.superRefine((profile, context) => {
|
|
427
428
|
validateNestedRecordKeys(profile, context, [], new Set());
|
|
428
429
|
if (profile.seats?.length) {
|
|
429
|
-
const first = profile.seats[0];
|
|
430
|
+
const first = profile.seats[0], source = profile.model?.metadata?.credentialSource ?? "managed";
|
|
430
431
|
if (first.harness !== profile.harness || first.provider !== profile.model?.provider ||
|
|
431
432
|
first.model !== profile.model?.default) {
|
|
432
433
|
context.addIssue({ code: "custom", path: ["seats", 0], message: "first seat must match profile harness, model.provider, and model.default" });
|
|
@@ -434,6 +435,9 @@ export const agentProfileSchema = z
|
|
|
434
435
|
if (first.reasoningEffort !== undefined && first.reasoningEffort !== profile.model?.reasoningEffort) {
|
|
435
436
|
context.addIssue({ code: "custom", path: ["seats", 0, "reasoningEffort"], message: "first seat reasoningEffort must match profile model.reasoningEffort" });
|
|
436
437
|
}
|
|
438
|
+
if ((first.credentialSource ?? source) !== source) {
|
|
439
|
+
context.addIssue({ code: "custom", path: ["seats", 0, "credentialSource"], message: "first seat credentialSource must match profile model.metadata.credentialSource" });
|
|
440
|
+
}
|
|
437
441
|
if (first.tools !== undefined &&
|
|
438
442
|
canonicalAgentProfileJson(first.tools) !== canonicalAgentProfileJson(profile.tools)) {
|
|
439
443
|
context.addIssue({ code: "custom", path: ["seats", 0, "tools"], message: "first seat tools must match profile tools" });
|
|
@@ -443,8 +447,10 @@ export const agentProfileSchema = z
|
|
|
443
447
|
context.addIssue({ code: "custom", path: ["seats", 0, "permissions"], message: "first seat permissions must match profile permissions" });
|
|
444
448
|
}
|
|
445
449
|
for (const [index, seat] of profile.seats.entries()) {
|
|
446
|
-
// The
|
|
447
|
-
|
|
450
|
+
// The model's own provider (prefix or bare-id family), a spelling the knowledge base lists (`zai-coding-plan/glm-5.3`,
|
|
451
|
+
// keyless `opencode/glm-5.3-flash-free`), or any provider for a model outside every family (`opencode/big-pickle`).
|
|
452
|
+
const owner = resolveModelProvider(seat.model);
|
|
453
|
+
if (owner !== null && owner !== seat.provider && !profileKbNamesModel(`${seat.provider}/${seat.model}`)) {
|
|
448
454
|
context.addIssue({ code: "custom", path: ["seats", index, "provider"], message: "seat provider must match the model provider" });
|
|
449
455
|
}
|
|
450
456
|
if (!harnessHonorsModel(seat.harness)) {
|
package/dist/proxy-secrets.d.ts
CHANGED
|
@@ -88,8 +88,6 @@ export declare const ProxySecretParentsSchema: z.ZodType<Record<string, string |
|
|
|
88
88
|
export type ProxySecretParents = z.infer<typeof ProxySecretParentsSchema>;
|
|
89
89
|
/** Shape and totality only; the API verifies issuer authority and durable immutable pins. */
|
|
90
90
|
export declare function isProxySecretParentsTotal(bindings: readonly ProxySecretBinding[], parents: unknown): parents is ProxySecretParents;
|
|
91
|
-
/** API control-plane support; intentionally separate from the engine capability contract. */
|
|
92
|
-
export declare const ProxySecretDelegationCapabilitySchema: z.ZodLiteral<1>;
|
|
93
91
|
export declare const ProxySecretResolvedIdentitySchema: z.ZodObject<{
|
|
94
92
|
tenantId: z.ZodString;
|
|
95
93
|
issuerId: z.ZodString;
|
package/dist/proxy-secrets.js
CHANGED
|
@@ -63,8 +63,6 @@ export function isProxySecretParentsTotal(bindings, parents) {
|
|
|
63
63
|
return selection.success && parsed.success && Object.keys(parsed.data).length === selection.data.length &&
|
|
64
64
|
selection.data.every((binding) => Object.hasOwn(parsed.data, binding.envName));
|
|
65
65
|
}
|
|
66
|
-
/** API control-plane support; intentionally separate from the engine capability contract. */
|
|
67
|
-
export const ProxySecretDelegationCapabilitySchema = z.literal(1);
|
|
68
66
|
export const ProxySecretResolvedIdentitySchema = z.strictObject({
|
|
69
67
|
tenantId: boundedIdentifierSchema, issuerId: boundedIdentifierSchema,
|
|
70
68
|
secretId: boundedIdentifierSchema, revision: boundedIdentifierSchema,
|