@tangle-network/sdk-provider-codex 0.4.36 → 0.4.38
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/index.mjs +8 -8
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -138,7 +138,7 @@ const batchCredentialOwner = {
|
|
|
138
138
|
allocationId: z.uuid(),
|
|
139
139
|
ownerId: z.string().min(1).max(256)
|
|
140
140
|
};
|
|
141
|
-
z.
|
|
141
|
+
z.object({
|
|
142
142
|
...batchCredentialOwner,
|
|
143
143
|
childKeyId: z.string().min(1).max(200).optional(),
|
|
144
144
|
keyExpiresAt: z.iso.datetime({ offset: true }).optional()
|
|
@@ -252,20 +252,20 @@ z.discriminatedUnion("operation", [
|
|
|
252
252
|
leaseToken: sourceLeaseTokenSchema
|
|
253
253
|
})
|
|
254
254
|
]);
|
|
255
|
-
const sourceMetadataSchema = z.
|
|
255
|
+
const sourceMetadataSchema = z.object({
|
|
256
256
|
secretId: z.string().min(1),
|
|
257
257
|
key: ProxySecretBindingSchema.shape.secretRef.shape.key,
|
|
258
258
|
updatedAt: sourceRevisionSchema
|
|
259
259
|
});
|
|
260
260
|
const sourceSnapshotSchema = sourceMetadataSchema.extend({ value: z.string().min(1).max(MAX_SECRET_VALUE_LENGTH) });
|
|
261
261
|
z.discriminatedUnion("operation", [
|
|
262
|
-
z.
|
|
262
|
+
z.object({
|
|
263
263
|
operation: z.literal("read"),
|
|
264
264
|
source: sourceSnapshotSchema,
|
|
265
265
|
binding: sourceBindingSchema,
|
|
266
266
|
refreshExpiresAt: z.iso.datetime()
|
|
267
267
|
}),
|
|
268
|
-
z.
|
|
268
|
+
z.object({
|
|
269
269
|
operation: z.literal("lease"),
|
|
270
270
|
source: sourceSnapshotSchema,
|
|
271
271
|
leaseToken: sourceLeaseTokenSchema,
|
|
@@ -276,11 +276,11 @@ z.discriminatedUnion("operation", [
|
|
|
276
276
|
"replay"
|
|
277
277
|
]).default("leased")
|
|
278
278
|
}),
|
|
279
|
-
z.
|
|
279
|
+
z.object({
|
|
280
280
|
operation: z.literal("commit"),
|
|
281
281
|
source: sourceMetadataSchema
|
|
282
282
|
}),
|
|
283
|
-
z.
|
|
283
|
+
z.object({
|
|
284
284
|
operation: z.literal("release"),
|
|
285
285
|
released: z.literal(true)
|
|
286
286
|
})
|
|
@@ -290,7 +290,7 @@ const nativeCredentialProtocolSchema = z.enum([
|
|
|
290
290
|
"canonical",
|
|
291
291
|
"unselected"
|
|
292
292
|
]);
|
|
293
|
-
z.
|
|
293
|
+
z.object({
|
|
294
294
|
nativeCredentialProtocol: nativeCredentialProtocolSchema,
|
|
295
295
|
priorExposure: z.boolean(),
|
|
296
296
|
containerId: z.string().min(1),
|
|
@@ -441,7 +441,7 @@ z.object({
|
|
|
441
441
|
requiredOnColdResumeKeys: z.array(z.string()),
|
|
442
442
|
automaticCredentialRecovery: z.literal(false),
|
|
443
443
|
dryRun: z.boolean()
|
|
444
|
-
}).
|
|
444
|
+
}).strip();
|
|
445
445
|
safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbiddenEnvVarName(key) && !key.startsWith("SIDECAR_")), { message: "runtime-owned env var name cannot be set by callers" });
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/app-server-protocol.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sdk-provider-codex",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@tangle-network/agent-backend-types": "1.3.3",
|
|
19
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
19
|
+
"@tangle-network/agent-interface": "^5.10.22",
|
|
20
20
|
"@tangle-network/sdk-cli-runner": "0.3.12",
|
|
21
|
-
"@tangle-network/sdk-provider-cli-base": "0.13.
|
|
22
|
-
"@tangle-network/sdk-session-persistence": "0.7.
|
|
21
|
+
"@tangle-network/sdk-provider-cli-base": "0.13.61",
|
|
22
|
+
"@tangle-network/sdk-session-persistence": "0.7.9",
|
|
23
23
|
"zod": "4.6.7"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"registry": "https://registry.npmjs.org"
|
|
35
35
|
},
|
|
36
36
|
"tangleRelease": {
|
|
37
|
-
"sourceSha": "
|
|
38
|
-
"mergedAt": "2026-11-
|
|
37
|
+
"sourceSha": "3d02e36d71ca25326dca5d7994744c7d3b5a4b0f",
|
|
38
|
+
"mergedAt": "2026-11-10T11:55:48-08:00"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsdown",
|