@myagentroam/protocol 0.11.64 → 0.11.65
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const marctlUserTokenSchema: z.ZodString;
|
|
2
3
|
/** Private authenticated Node control-channel exchange; never exposed as a public receipt. */
|
|
3
4
|
export declare const marctlExecutionCredentialRequestSchema: z.ZodObject<{
|
|
4
5
|
parentToken: z.ZodString;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
const id = z.string().min(1).max(256);
|
|
3
|
-
const
|
|
3
|
+
export const marctlUserTokenSchema = z
|
|
4
|
+
.string()
|
|
5
|
+
.max(16_384)
|
|
6
|
+
.regex(/^marctl_user_[A-Za-z0-9_-]+\.[A-Za-z0-9_-]{43}$/u);
|
|
7
|
+
const token = marctlUserTokenSchema;
|
|
4
8
|
/** Private authenticated Node control-channel exchange; never exposed as a public receipt. */
|
|
5
9
|
export const marctlExecutionCredentialRequestSchema = z
|
|
6
10
|
.object({
|