@tangle-network/cli-agent-registry 0.15.67 → 0.15.69

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
- codex: "codex";
9
8
  "claude-code": "claude-code";
9
+ codex: "codex";
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
- codex: "codex";
25
24
  "claude-code": "claude-code";
25
+ codex: "codex";
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
- codex: "codex";
41
40
  "claude-code": "claude-code";
41
+ codex: "codex";
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: "codex" | "claude-code";
84
+ harness: "claude-code" | "codex";
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-B4SGUcYM.mjs";
2
- import { r as proxySecretMaterializationsSchema } from "./harness-Dn0LC8Pe.mjs";
2
+ import { r as proxySecretMaterializationsSchema } from "./harness-Dn4QGkMc.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-CZ6eAF6G.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-B4SGUcYM.mjs";
3
- import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-Dn0LC8Pe.mjs";
3
+ import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-Dn4QGkMc.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. */
@@ -34,7 +34,7 @@ const batchCredentialOwner = {
34
34
  allocationId: z.uuid(),
35
35
  ownerId: z.string().min(1).max(256)
36
36
  };
37
- z.strictObject({
37
+ z.object({
38
38
  ...batchCredentialOwner,
39
39
  childKeyId: z.string().min(1).max(200).optional(),
40
40
  keyExpiresAt: z.iso.datetime({ offset: true }).optional()
@@ -149,20 +149,20 @@ z.discriminatedUnion("operation", [
149
149
  leaseToken: sourceLeaseTokenSchema
150
150
  })
151
151
  ]);
152
- const sourceMetadataSchema = z.strictObject({
152
+ const sourceMetadataSchema = z.object({
153
153
  secretId: z.string().min(1),
154
154
  key: ProxySecretBindingSchema.shape.secretRef.shape.key,
155
155
  updatedAt: sourceRevisionSchema
156
156
  });
157
157
  const sourceSnapshotSchema = sourceMetadataSchema.extend({ value: z.string().min(1).max(MAX_SECRET_VALUE_LENGTH) });
158
158
  z.discriminatedUnion("operation", [
159
- z.strictObject({
159
+ z.object({
160
160
  operation: z.literal("read"),
161
161
  source: sourceSnapshotSchema,
162
162
  binding: sourceBindingSchema,
163
163
  refreshExpiresAt: z.iso.datetime()
164
164
  }),
165
- z.strictObject({
165
+ z.object({
166
166
  operation: z.literal("lease"),
167
167
  source: sourceSnapshotSchema,
168
168
  leaseToken: sourceLeaseTokenSchema,
@@ -173,11 +173,11 @@ z.discriminatedUnion("operation", [
173
173
  "replay"
174
174
  ]).default("leased")
175
175
  }),
176
- z.strictObject({
176
+ z.object({
177
177
  operation: z.literal("commit"),
178
178
  source: sourceMetadataSchema
179
179
  }),
180
- z.strictObject({
180
+ z.object({
181
181
  operation: z.literal("release"),
182
182
  released: z.literal(true)
183
183
  })
@@ -187,7 +187,7 @@ const nativeCredentialProtocolSchema = z.enum([
187
187
  "canonical",
188
188
  "unselected"
189
189
  ]);
190
- z.strictObject({
190
+ z.object({
191
191
  nativeCredentialProtocol: nativeCredentialProtocolSchema,
192
192
  priorExposure: z.boolean(),
193
193
  containerId: z.string().min(1),
@@ -338,9 +338,9 @@ z.object({
338
338
  requiredOnColdResumeKeys: z.array(z.string()),
339
339
  automaticCredentialRecovery: z.literal(false),
340
340
  dryRun: z.boolean()
341
- }).strict();
341
+ }).strip();
342
342
  safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbiddenEnvVarName(key) && !key.startsWith("SIDECAR_")), { message: "runtime-owned env var name cannot be set by callers" });
343
343
  //#endregion
344
344
  export { isSafeEnvVarName as n, proxySecretMaterializationsSchema as r, isForbiddenEnvVarName as t };
345
345
 
346
- //# sourceMappingURL=harness-Dn0LC8Pe.mjs.map
346
+ //# sourceMappingURL=harness-Dn4QGkMc.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/cli-agent-registry",
3
- "version": "0.15.67",
3
+ "version": "0.15.69",
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": "cb3422eda2a4e606b27d3d58d495bf1038925fb9",
81
- "mergedAt": "2026-11-09T23:32:32-08:00"
80
+ "sourceSha": "5dc4ce3d3fffed17de2670e6386f48d200bf9d55",
81
+ "mergedAt": "2026-11-10T11:47:01-08:00"
82
82
  },
83
83
  "scripts": {
84
84
  "build": "tsdown && node scripts/export-host-contracts.mjs --write",