@myagentroam/protocol 0.11.49 → 0.11.50
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.d.ts +0 -114
- package/dist/index.js +0 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2335,30 +2335,6 @@ export declare const scheduledRunAuthorizeRequestSchema: z.ZodObject<{
|
|
|
2335
2335
|
occurrenceId: string;
|
|
2336
2336
|
}>;
|
|
2337
2337
|
export type ScheduledRunAuthorizeRequest = z.infer<typeof scheduledRunAuthorizeRequestSchema>;
|
|
2338
|
-
export declare const restartRunAuthorizeRequestSchema: z.ZodObject<{
|
|
2339
|
-
sessionId: z.ZodString;
|
|
2340
|
-
workspaceId: z.ZodString;
|
|
2341
|
-
ownerUserId: z.ZodNumber;
|
|
2342
|
-
modelId: z.ZodNullable<z.ZodString>;
|
|
2343
|
-
} & {
|
|
2344
|
-
handoffId: z.ZodString;
|
|
2345
|
-
runner: z.ZodLiteral<"mar-agent">;
|
|
2346
|
-
}, "strict", z.ZodTypeAny, {
|
|
2347
|
-
sessionId: string;
|
|
2348
|
-
workspaceId: string;
|
|
2349
|
-
ownerUserId: number;
|
|
2350
|
-
modelId: string | null;
|
|
2351
|
-
runner: "mar-agent";
|
|
2352
|
-
handoffId: string;
|
|
2353
|
-
}, {
|
|
2354
|
-
sessionId: string;
|
|
2355
|
-
workspaceId: string;
|
|
2356
|
-
ownerUserId: number;
|
|
2357
|
-
modelId: string | null;
|
|
2358
|
-
runner: "mar-agent";
|
|
2359
|
-
handoffId: string;
|
|
2360
|
-
}>;
|
|
2361
|
-
export type RestartRunAuthorizeRequest = z.infer<typeof restartRunAuthorizeRequestSchema>;
|
|
2362
2338
|
export declare const scheduledRunAuthorizeResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
2363
2339
|
context: z.ZodObject<{
|
|
2364
2340
|
usageGrant: z.ZodOptional<z.ZodObject<{
|
|
@@ -2449,96 +2425,6 @@ export declare const scheduledRunAuthorizeResponseSchema: z.ZodUnion<[z.ZodObjec
|
|
|
2449
2425
|
};
|
|
2450
2426
|
}>]>;
|
|
2451
2427
|
export type ScheduledRunAuthorizeResponse = z.infer<typeof scheduledRunAuthorizeResponseSchema>;
|
|
2452
|
-
export declare const restartRunAuthorizeResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
2453
|
-
context: z.ZodObject<{
|
|
2454
|
-
usageGrant: z.ZodOptional<z.ZodObject<{
|
|
2455
|
-
scopeId: z.ZodString;
|
|
2456
|
-
token: z.ZodString;
|
|
2457
|
-
}, "strict", z.ZodTypeAny, {
|
|
2458
|
-
scopeId: string;
|
|
2459
|
-
token: string;
|
|
2460
|
-
}, {
|
|
2461
|
-
scopeId: string;
|
|
2462
|
-
token: string;
|
|
2463
|
-
}>>;
|
|
2464
|
-
secretEnvironment: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2465
|
-
personalInstructions: z.ZodOptional<z.ZodUnknown>;
|
|
2466
|
-
marAgentModel: z.ZodOptional<z.ZodUnknown>;
|
|
2467
|
-
marAgentModels: z.ZodOptional<z.ZodUnknown>;
|
|
2468
|
-
marAgentCompact: z.ZodOptional<z.ZodUnknown>;
|
|
2469
|
-
marAgentRuntimeScopeId: z.ZodOptional<z.ZodUnknown>;
|
|
2470
|
-
}, "strict", z.ZodTypeAny, {
|
|
2471
|
-
secretEnvironment: Record<string, string>;
|
|
2472
|
-
usageGrant?: {
|
|
2473
|
-
scopeId: string;
|
|
2474
|
-
token: string;
|
|
2475
|
-
} | undefined;
|
|
2476
|
-
personalInstructions?: unknown;
|
|
2477
|
-
marAgentModel?: unknown;
|
|
2478
|
-
marAgentModels?: unknown;
|
|
2479
|
-
marAgentCompact?: unknown;
|
|
2480
|
-
marAgentRuntimeScopeId?: unknown;
|
|
2481
|
-
}, {
|
|
2482
|
-
secretEnvironment: Record<string, string>;
|
|
2483
|
-
usageGrant?: {
|
|
2484
|
-
scopeId: string;
|
|
2485
|
-
token: string;
|
|
2486
|
-
} | undefined;
|
|
2487
|
-
personalInstructions?: unknown;
|
|
2488
|
-
marAgentModel?: unknown;
|
|
2489
|
-
marAgentModels?: unknown;
|
|
2490
|
-
marAgentCompact?: unknown;
|
|
2491
|
-
marAgentRuntimeScopeId?: unknown;
|
|
2492
|
-
}>;
|
|
2493
|
-
}, "strict", z.ZodTypeAny, {
|
|
2494
|
-
context: {
|
|
2495
|
-
secretEnvironment: Record<string, string>;
|
|
2496
|
-
usageGrant?: {
|
|
2497
|
-
scopeId: string;
|
|
2498
|
-
token: string;
|
|
2499
|
-
} | undefined;
|
|
2500
|
-
personalInstructions?: unknown;
|
|
2501
|
-
marAgentModel?: unknown;
|
|
2502
|
-
marAgentModels?: unknown;
|
|
2503
|
-
marAgentCompact?: unknown;
|
|
2504
|
-
marAgentRuntimeScopeId?: unknown;
|
|
2505
|
-
};
|
|
2506
|
-
}, {
|
|
2507
|
-
context: {
|
|
2508
|
-
secretEnvironment: Record<string, string>;
|
|
2509
|
-
usageGrant?: {
|
|
2510
|
-
scopeId: string;
|
|
2511
|
-
token: string;
|
|
2512
|
-
} | undefined;
|
|
2513
|
-
personalInstructions?: unknown;
|
|
2514
|
-
marAgentModel?: unknown;
|
|
2515
|
-
marAgentModels?: unknown;
|
|
2516
|
-
marAgentCompact?: unknown;
|
|
2517
|
-
marAgentRuntimeScopeId?: unknown;
|
|
2518
|
-
};
|
|
2519
|
-
}>, z.ZodObject<{
|
|
2520
|
-
error: z.ZodObject<{
|
|
2521
|
-
code: z.ZodString;
|
|
2522
|
-
message: z.ZodString;
|
|
2523
|
-
}, "strict", z.ZodTypeAny, {
|
|
2524
|
-
code: string;
|
|
2525
|
-
message: string;
|
|
2526
|
-
}, {
|
|
2527
|
-
code: string;
|
|
2528
|
-
message: string;
|
|
2529
|
-
}>;
|
|
2530
|
-
}, "strict", z.ZodTypeAny, {
|
|
2531
|
-
error: {
|
|
2532
|
-
code: string;
|
|
2533
|
-
message: string;
|
|
2534
|
-
};
|
|
2535
|
-
}, {
|
|
2536
|
-
error: {
|
|
2537
|
-
code: string;
|
|
2538
|
-
message: string;
|
|
2539
|
-
};
|
|
2540
|
-
}>]>;
|
|
2541
|
-
export type RestartRunAuthorizeResponse = z.infer<typeof restartRunAuthorizeResponseSchema>;
|
|
2542
2428
|
export declare const marAgentModelCredentialSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2543
2429
|
type: z.ZodLiteral<"INLINE_API_KEY">;
|
|
2544
2430
|
value: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -620,9 +620,6 @@ export const scheduledRunAuthorizeRequestSchema = z
|
|
|
620
620
|
modelId: z.string().max(256).nullable()
|
|
621
621
|
})
|
|
622
622
|
.strict();
|
|
623
|
-
export const restartRunAuthorizeRequestSchema = scheduledRunAuthorizeRequestSchema
|
|
624
|
-
.omit({ taskId: true, revision: true, occurrenceId: true })
|
|
625
|
-
.extend({ handoffId: boundedIdentifierSchema, runner: z.literal('mar-agent') });
|
|
626
623
|
export const scheduledRunAuthorizeResponseSchema = z.union([
|
|
627
624
|
z
|
|
628
625
|
.object({
|
|
@@ -650,7 +647,6 @@ export const scheduledRunAuthorizeResponseSchema = z.union([
|
|
|
650
647
|
})
|
|
651
648
|
.strict()
|
|
652
649
|
]);
|
|
653
|
-
export const restartRunAuthorizeResponseSchema = scheduledRunAuthorizeResponseSchema;
|
|
654
650
|
const marAgentInlineApiKeyCredentialSchema = z
|
|
655
651
|
.object({
|
|
656
652
|
type: z.literal('INLINE_API_KEY'),
|