@myagentroam/protocol 0.10.7 → 0.10.8
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 +1838 -922
- package/dist/index.js +11 -1
- package/dist/mail-notification.d.ts +2 -2
- package/dist/mcp.d.ts +10 -10
- package/dist/model-usage.d.ts +582 -0
- package/dist/model-usage.js +123 -0
- package/dist/skill.d.ts +2 -2
- package/dist/tool-result-resource.d.ts +76 -0
- package/dist/tool-result-resource.js +51 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { modelUsageGrantSchema } from './model-usage.js';
|
|
1
2
|
import { z } from 'zod';
|
|
3
|
+
import { fileChangeDiffSchema } from './tool-result-resource.js';
|
|
4
|
+
export * from './tool-result-resource.js';
|
|
2
5
|
import { resourceOwnershipSchema } from './enterprise.js';
|
|
3
6
|
import { workspaceDirectTransferCapabilitySchema } from './direct-transfer.js';
|
|
4
7
|
import { terminalDirectCapabilitySchema } from './terminal-direct.js';
|
|
@@ -12,6 +15,7 @@ export * from './git-identity.js';
|
|
|
12
15
|
export * from './direct-transfer.js';
|
|
13
16
|
export * from './terminal-direct.js';
|
|
14
17
|
export * from './mail-notification.js';
|
|
18
|
+
export * from './model-usage.js';
|
|
15
19
|
export const healthStatusSchema = z.object({
|
|
16
20
|
status: z.literal('ok')
|
|
17
21
|
});
|
|
@@ -582,6 +586,7 @@ export const scheduledRunAuthorizeResponseSchema = z.union([
|
|
|
582
586
|
.object({
|
|
583
587
|
context: z
|
|
584
588
|
.object({
|
|
589
|
+
usageGrant: modelUsageGrantSchema.optional(),
|
|
585
590
|
secretEnvironment: z.record(z.string().min(1).max(256), z.string().max(65_536)),
|
|
586
591
|
personalInstructions: z.unknown().optional(),
|
|
587
592
|
marAgentModel: z.unknown().optional(),
|
|
@@ -1644,6 +1649,7 @@ const toolCallItemSchema = conversationItemBaseSchema.extend({
|
|
|
1644
1649
|
truncated: z.boolean(),
|
|
1645
1650
|
toolCategory: z.enum(['IMAGE_GENERATION']).optional(),
|
|
1646
1651
|
subagentOperation: subagentOperationSchema.optional(),
|
|
1652
|
+
subagentWait: z.boolean().optional(),
|
|
1647
1653
|
subagentId: z.string().min(1).max(128).nullable().optional(),
|
|
1648
1654
|
subagentModelId: z.string().min(1).max(128).optional(),
|
|
1649
1655
|
subagentModelName: z.string().min(1).max(128).optional(),
|
|
@@ -1672,7 +1678,9 @@ const fileChangeItemSchema = conversationItemBaseSchema.extend({
|
|
|
1672
1678
|
change: z.enum(['ADDED', 'MODIFIED', 'DELETED', 'RENAMED', 'COPIED', 'TYPE_CHANGED']),
|
|
1673
1679
|
additions: z.number().int().nonnegative().nullable(),
|
|
1674
1680
|
deletions: z.number().int().nonnegative().nullable(),
|
|
1675
|
-
diffAvailable: z.boolean()
|
|
1681
|
+
diffAvailable: z.boolean(),
|
|
1682
|
+
changeId: z.string().uuid().optional(),
|
|
1683
|
+
diff: fileChangeDiffSchema.optional()
|
|
1676
1684
|
}))
|
|
1677
1685
|
})
|
|
1678
1686
|
});
|
|
@@ -2719,6 +2727,7 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2719
2727
|
'session.turns.list',
|
|
2720
2728
|
'session.events.read',
|
|
2721
2729
|
'session.context.read',
|
|
2730
|
+
'session.tool-resource.read',
|
|
2722
2731
|
'session.command.execute',
|
|
2723
2732
|
'runner.command.execute',
|
|
2724
2733
|
'runner.profiles.list',
|
|
@@ -2795,6 +2804,7 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2795
2804
|
'conversation.hosted.config.update',
|
|
2796
2805
|
'conversation.hosted.metadata.update',
|
|
2797
2806
|
'conversation.hosted.image.read',
|
|
2807
|
+
'conversation.hosted.tool-resource.read',
|
|
2798
2808
|
'conversation.hosted.files.list',
|
|
2799
2809
|
'conversation.hosted.file.read',
|
|
2800
2810
|
'conversation.hosted.file.delete',
|
|
@@ -16,8 +16,8 @@ export declare const mailNotificationRequestSchema: z.ZodObject<{
|
|
|
16
16
|
workspaceId: string;
|
|
17
17
|
templateId: string;
|
|
18
18
|
sessionId: string;
|
|
19
|
-
executionId: string;
|
|
20
19
|
userId: number;
|
|
20
|
+
executionId: string;
|
|
21
21
|
callId: string;
|
|
22
22
|
recipientEmail: string;
|
|
23
23
|
title?: string | undefined;
|
|
@@ -27,8 +27,8 @@ export declare const mailNotificationRequestSchema: z.ZodObject<{
|
|
|
27
27
|
workspaceId: string;
|
|
28
28
|
templateId: string;
|
|
29
29
|
sessionId: string;
|
|
30
|
-
executionId: string;
|
|
31
30
|
userId: number;
|
|
31
|
+
executionId: string;
|
|
32
32
|
callId: string;
|
|
33
33
|
recipientEmail: string;
|
|
34
34
|
title?: string | undefined;
|
package/dist/mcp.d.ts
CHANGED
|
@@ -148,12 +148,12 @@ export declare const mcpCatalogEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
148
148
|
createdAt: number;
|
|
149
149
|
updatedAt: number;
|
|
150
150
|
displayName: string;
|
|
151
|
+
version: string;
|
|
151
152
|
sourceId: string;
|
|
152
153
|
featured: boolean;
|
|
153
154
|
tags: string[];
|
|
154
155
|
description: string;
|
|
155
156
|
serverName: string;
|
|
156
|
-
version: string;
|
|
157
157
|
runtime: {
|
|
158
158
|
transport: "STDIO";
|
|
159
159
|
command: string;
|
|
@@ -176,12 +176,12 @@ export declare const mcpCatalogEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
176
176
|
createdAt: number;
|
|
177
177
|
updatedAt: number;
|
|
178
178
|
displayName: string;
|
|
179
|
+
version: string;
|
|
179
180
|
sourceId: string;
|
|
180
181
|
featured: boolean;
|
|
181
182
|
tags: string[];
|
|
182
183
|
description: string;
|
|
183
184
|
serverName: string;
|
|
184
|
-
version: string;
|
|
185
185
|
runtime: {
|
|
186
186
|
transport: "STDIO";
|
|
187
187
|
command: string;
|
|
@@ -204,12 +204,12 @@ export declare const mcpCatalogEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
204
204
|
createdAt: number;
|
|
205
205
|
updatedAt: number;
|
|
206
206
|
displayName: string;
|
|
207
|
+
version: string;
|
|
207
208
|
sourceId: string;
|
|
208
209
|
featured: boolean;
|
|
209
210
|
tags: string[];
|
|
210
211
|
description: string;
|
|
211
212
|
serverName: string;
|
|
212
|
-
version: string;
|
|
213
213
|
runtime: {
|
|
214
214
|
transport: "STDIO";
|
|
215
215
|
command: string;
|
|
@@ -232,12 +232,12 @@ export declare const mcpCatalogEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
232
232
|
createdAt: number;
|
|
233
233
|
updatedAt: number;
|
|
234
234
|
displayName: string;
|
|
235
|
+
version: string;
|
|
235
236
|
sourceId: string;
|
|
236
237
|
featured: boolean;
|
|
237
238
|
tags: string[];
|
|
238
239
|
description: string;
|
|
239
240
|
serverName: string;
|
|
240
|
-
version: string;
|
|
241
241
|
runtime: {
|
|
242
242
|
transport: "STDIO";
|
|
243
243
|
command: string;
|
|
@@ -364,19 +364,19 @@ export declare const installedMcpSchema: z.ZodObject<{
|
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
365
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
366
366
|
displayName: string;
|
|
367
|
+
version: string;
|
|
367
368
|
enabled: boolean;
|
|
368
369
|
installedAt: number;
|
|
369
370
|
serverName: string;
|
|
370
|
-
version: string;
|
|
371
371
|
catalogEntryId: string;
|
|
372
372
|
origin: "WORKSPACE" | "NODE";
|
|
373
373
|
}, {
|
|
374
374
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
375
375
|
displayName: string;
|
|
376
|
+
version: string;
|
|
376
377
|
enabled: boolean;
|
|
377
378
|
installedAt: number;
|
|
378
379
|
serverName: string;
|
|
379
|
-
version: string;
|
|
380
380
|
catalogEntryId: string;
|
|
381
381
|
origin: "WORKSPACE" | "NODE";
|
|
382
382
|
}>;
|
|
@@ -394,19 +394,19 @@ export declare const mcpTargetInspectionSchema: z.ZodObject<{
|
|
|
394
394
|
}, "strict", z.ZodTypeAny, {
|
|
395
395
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
396
396
|
displayName: string;
|
|
397
|
+
version: string;
|
|
397
398
|
enabled: boolean;
|
|
398
399
|
installedAt: number;
|
|
399
400
|
serverName: string;
|
|
400
|
-
version: string;
|
|
401
401
|
catalogEntryId: string;
|
|
402
402
|
origin: "WORKSPACE" | "NODE";
|
|
403
403
|
}, {
|
|
404
404
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
405
405
|
displayName: string;
|
|
406
|
+
version: string;
|
|
406
407
|
enabled: boolean;
|
|
407
408
|
installedAt: number;
|
|
408
409
|
serverName: string;
|
|
409
|
-
version: string;
|
|
410
410
|
catalogEntryId: string;
|
|
411
411
|
origin: "WORKSPACE" | "NODE";
|
|
412
412
|
}>, "many">;
|
|
@@ -416,10 +416,10 @@ export declare const mcpTargetInspectionSchema: z.ZodObject<{
|
|
|
416
416
|
installations: {
|
|
417
417
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
418
418
|
displayName: string;
|
|
419
|
+
version: string;
|
|
419
420
|
enabled: boolean;
|
|
420
421
|
installedAt: number;
|
|
421
422
|
serverName: string;
|
|
422
|
-
version: string;
|
|
423
423
|
catalogEntryId: string;
|
|
424
424
|
origin: "WORKSPACE" | "NODE";
|
|
425
425
|
}[];
|
|
@@ -429,10 +429,10 @@ export declare const mcpTargetInspectionSchema: z.ZodObject<{
|
|
|
429
429
|
installations: {
|
|
430
430
|
status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
|
|
431
431
|
displayName: string;
|
|
432
|
+
version: string;
|
|
432
433
|
enabled: boolean;
|
|
433
434
|
installedAt: number;
|
|
434
435
|
serverName: string;
|
|
435
|
-
version: string;
|
|
436
436
|
catalogEntryId: string;
|
|
437
437
|
origin: "WORKSPACE" | "NODE";
|
|
438
438
|
}[];
|