@tangle-network/sdk-provider-claude-code 0.6.36 → 0.6.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 +7 -7
package/dist/index.mjs
CHANGED
|
@@ -249,7 +249,7 @@ const batchCredentialOwner = {
|
|
|
249
249
|
allocationId: z.uuid(),
|
|
250
250
|
ownerId: z.string().min(1).max(256)
|
|
251
251
|
};
|
|
252
|
-
z.
|
|
252
|
+
z.object({
|
|
253
253
|
...batchCredentialOwner,
|
|
254
254
|
childKeyId: z.string().min(1).max(200).optional(),
|
|
255
255
|
keyExpiresAt: z.iso.datetime({ offset: true }).optional()
|
|
@@ -363,20 +363,20 @@ z.discriminatedUnion("operation", [
|
|
|
363
363
|
leaseToken: sourceLeaseTokenSchema
|
|
364
364
|
})
|
|
365
365
|
]);
|
|
366
|
-
const sourceMetadataSchema = z.
|
|
366
|
+
const sourceMetadataSchema = z.object({
|
|
367
367
|
secretId: z.string().min(1),
|
|
368
368
|
key: ProxySecretBindingSchema.shape.secretRef.shape.key,
|
|
369
369
|
updatedAt: sourceRevisionSchema
|
|
370
370
|
});
|
|
371
371
|
const sourceSnapshotSchema = sourceMetadataSchema.extend({ value: z.string().min(1).max(MAX_SECRET_VALUE_LENGTH) });
|
|
372
372
|
z.discriminatedUnion("operation", [
|
|
373
|
-
z.
|
|
373
|
+
z.object({
|
|
374
374
|
operation: z.literal("read"),
|
|
375
375
|
source: sourceSnapshotSchema,
|
|
376
376
|
binding: sourceBindingSchema,
|
|
377
377
|
refreshExpiresAt: z.iso.datetime()
|
|
378
378
|
}),
|
|
379
|
-
z.
|
|
379
|
+
z.object({
|
|
380
380
|
operation: z.literal("lease"),
|
|
381
381
|
source: sourceSnapshotSchema,
|
|
382
382
|
leaseToken: sourceLeaseTokenSchema,
|
|
@@ -387,11 +387,11 @@ z.discriminatedUnion("operation", [
|
|
|
387
387
|
"replay"
|
|
388
388
|
]).default("leased")
|
|
389
389
|
}),
|
|
390
|
-
z.
|
|
390
|
+
z.object({
|
|
391
391
|
operation: z.literal("commit"),
|
|
392
392
|
source: sourceMetadataSchema
|
|
393
393
|
}),
|
|
394
|
-
z.
|
|
394
|
+
z.object({
|
|
395
395
|
operation: z.literal("release"),
|
|
396
396
|
released: z.literal(true)
|
|
397
397
|
})
|
|
@@ -401,7 +401,7 @@ const nativeCredentialProtocolSchema = z.enum([
|
|
|
401
401
|
"canonical",
|
|
402
402
|
"unselected"
|
|
403
403
|
]);
|
|
404
|
-
z.
|
|
404
|
+
z.object({
|
|
405
405
|
nativeCredentialProtocol: nativeCredentialProtocolSchema,
|
|
406
406
|
priorExposure: z.boolean(),
|
|
407
407
|
containerId: z.string().min(1),
|
|
@@ -552,7 +552,7 @@ z.object({
|
|
|
552
552
|
requiredOnColdResumeKeys: z.array(z.string()),
|
|
553
553
|
automaticCredentialRecovery: z.literal(false),
|
|
554
554
|
dryRun: z.boolean()
|
|
555
|
-
}).
|
|
555
|
+
}).strip();
|
|
556
556
|
safeEnvRecordSchema.refine((value) => Object.keys(value).every((key) => !isForbiddenEnvVarName(key) && !key.startsWith("SIDECAR_")), { message: "runtime-owned env var name cannot be set by callers" });
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region src/claude-launch-settings.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sdk-provider-claude-code",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
19
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
20
|
-
"@tangle-network/agent-profile-materialize": "1.1.
|
|
19
|
+
"@tangle-network/agent-interface": "^5.10.22",
|
|
20
|
+
"@tangle-network/agent-profile-materialize": "1.1.98",
|
|
21
21
|
"@tangle-network/sdk-cli-runner": "0.3.12",
|
|
22
|
-
"@tangle-network/sdk-provider-cli-base": "0.13.
|
|
23
|
-
"@tangle-network/sdk-session-persistence": "0.7.
|
|
22
|
+
"@tangle-network/sdk-provider-cli-base": "0.13.61",
|
|
23
|
+
"@tangle-network/sdk-session-persistence": "0.7.9",
|
|
24
24
|
"zod": "4.6.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"registry": "https://registry.npmjs.org"
|
|
36
36
|
},
|
|
37
37
|
"tangleRelease": {
|
|
38
|
-
"sourceSha": "
|
|
39
|
-
"mergedAt": "2026-11-
|
|
38
|
+
"sourceSha": "3d02e36d71ca25326dca5d7994744c7d3b5a4b0f",
|
|
39
|
+
"mergedAt": "2026-11-10T11:55:48-08:00"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsdown",
|