@myagentroam/protocol 0.13.7 → 0.13.9

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/mcp.d.ts CHANGED
@@ -363,22 +363,22 @@ export declare const installedMcpSchema: z.ZodObject<{
363
363
  installedAt: z.ZodNumber;
364
364
  }, "strict", z.ZodTypeAny, {
365
365
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
366
+ origin: "WORKSPACE" | "NODE";
366
367
  displayName: string;
367
368
  version: string;
368
369
  enabled: boolean;
369
370
  installedAt: number;
370
371
  serverName: string;
371
372
  catalogEntryId: string;
372
- origin: "WORKSPACE" | "NODE";
373
373
  }, {
374
374
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
375
+ origin: "WORKSPACE" | "NODE";
375
376
  displayName: string;
376
377
  version: string;
377
378
  enabled: boolean;
378
379
  installedAt: number;
379
380
  serverName: string;
380
381
  catalogEntryId: string;
381
- origin: "WORKSPACE" | "NODE";
382
382
  }>;
383
383
  export declare const mcpTargetInspectionSchema: z.ZodObject<{
384
384
  targetKind: z.ZodEnum<["NODE", "WORKSPACE"]>;
@@ -393,48 +393,48 @@ export declare const mcpTargetInspectionSchema: z.ZodObject<{
393
393
  installedAt: z.ZodNumber;
394
394
  }, "strict", z.ZodTypeAny, {
395
395
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
396
+ origin: "WORKSPACE" | "NODE";
396
397
  displayName: string;
397
398
  version: string;
398
399
  enabled: boolean;
399
400
  installedAt: number;
400
401
  serverName: string;
401
402
  catalogEntryId: string;
402
- origin: "WORKSPACE" | "NODE";
403
403
  }, {
404
404
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
405
+ origin: "WORKSPACE" | "NODE";
405
406
  displayName: string;
406
407
  version: string;
407
408
  enabled: boolean;
408
409
  installedAt: number;
409
410
  serverName: string;
410
411
  catalogEntryId: string;
411
- origin: "WORKSPACE" | "NODE";
412
412
  }>, "many">;
413
413
  executionBuiltIns: z.ZodOptional<z.ZodArray<z.ZodEnum<["mar_schedule", "mar_notification"]>, "many">>;
414
414
  }, "strict", z.ZodTypeAny, {
415
415
  targetKind: "WORKSPACE" | "NODE";
416
416
  installations: {
417
417
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
418
+ origin: "WORKSPACE" | "NODE";
418
419
  displayName: string;
419
420
  version: string;
420
421
  enabled: boolean;
421
422
  installedAt: number;
422
423
  serverName: string;
423
424
  catalogEntryId: string;
424
- origin: "WORKSPACE" | "NODE";
425
425
  }[];
426
426
  executionBuiltIns?: ("mar_schedule" | "mar_notification")[] | undefined;
427
427
  }, {
428
428
  targetKind: "WORKSPACE" | "NODE";
429
429
  installations: {
430
430
  status: "CURRENT" | "UPDATE_AVAILABLE" | "INVALID" | "UNAVAILABLE";
431
+ origin: "WORKSPACE" | "NODE";
431
432
  displayName: string;
432
433
  version: string;
433
434
  enabled: boolean;
434
435
  installedAt: number;
435
436
  serverName: string;
436
437
  catalogEntryId: string;
437
- origin: "WORKSPACE" | "NODE";
438
438
  }[];
439
439
  executionBuiltIns?: ("mar_schedule" | "mar_notification")[] | undefined;
440
440
  }>;
@@ -79,8 +79,8 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
79
79
  reasoningTokens: z.ZodOptional<z.ZodString>;
80
80
  coverage: z.ZodDefault<z.ZodEnum<["request", "partial"]>>;
81
81
  }, "strict", z.ZodTypeAny, {
82
- sessionId: string;
83
82
  revision: number;
83
+ sessionId: string;
84
84
  requestId: string;
85
85
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
86
86
  runId: string;
@@ -105,8 +105,8 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
105
105
  cacheWriteTokens?: string | undefined;
106
106
  reasoningTokens?: string | undefined;
107
107
  }, {
108
- sessionId: string;
109
108
  revision: number;
109
+ sessionId: string;
110
110
  requestId: string;
111
111
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
112
112
  runId: string;
@@ -131,8 +131,8 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
131
131
  reasoningTokens?: string | undefined;
132
132
  coverage?: "request" | "partial" | undefined;
133
133
  }>, {
134
- sessionId: string;
135
134
  revision: number;
135
+ sessionId: string;
136
136
  requestId: string;
137
137
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
138
138
  runId: string;
@@ -157,8 +157,8 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
157
157
  cacheWriteTokens?: string | undefined;
158
158
  reasoningTokens?: string | undefined;
159
159
  }, {
160
- sessionId: string;
161
160
  revision: number;
161
+ sessionId: string;
162
162
  requestId: string;
163
163
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
164
164
  runId: string;
@@ -224,8 +224,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
224
224
  reasoningTokens: z.ZodOptional<z.ZodString>;
225
225
  coverage: z.ZodDefault<z.ZodEnum<["request", "partial"]>>;
226
226
  }, "strict", z.ZodTypeAny, {
227
- sessionId: string;
228
227
  revision: number;
228
+ sessionId: string;
229
229
  requestId: string;
230
230
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
231
231
  runId: string;
@@ -250,8 +250,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
250
250
  cacheWriteTokens?: string | undefined;
251
251
  reasoningTokens?: string | undefined;
252
252
  }, {
253
- sessionId: string;
254
253
  revision: number;
254
+ sessionId: string;
255
255
  requestId: string;
256
256
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
257
257
  runId: string;
@@ -276,8 +276,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
276
276
  reasoningTokens?: string | undefined;
277
277
  coverage?: "request" | "partial" | undefined;
278
278
  }>, {
279
- sessionId: string;
280
279
  revision: number;
280
+ sessionId: string;
281
281
  requestId: string;
282
282
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
283
283
  runId: string;
@@ -302,8 +302,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
302
302
  cacheWriteTokens?: string | undefined;
303
303
  reasoningTokens?: string | undefined;
304
304
  }, {
305
- sessionId: string;
306
305
  revision: number;
306
+ sessionId: string;
307
307
  requestId: string;
308
308
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
309
309
  runId: string;
@@ -334,8 +334,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
334
334
  token: string;
335
335
  };
336
336
  record: {
337
- sessionId: string;
338
337
  revision: number;
338
+ sessionId: string;
339
339
  requestId: string;
340
340
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
341
341
  runId: string;
@@ -366,8 +366,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
366
366
  token: string;
367
367
  };
368
368
  record: {
369
- sessionId: string;
370
369
  revision: number;
370
+ sessionId: string;
371
371
  requestId: string;
372
372
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
373
373
  runId: string;
@@ -400,8 +400,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
400
400
  token: string;
401
401
  };
402
402
  record: {
403
- sessionId: string;
404
403
  revision: number;
404
+ sessionId: string;
405
405
  requestId: string;
406
406
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
407
407
  runId: string;
@@ -435,8 +435,8 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
435
435
  token: string;
436
436
  };
437
437
  record: {
438
- sessionId: string;
439
438
  revision: number;
439
+ sessionId: string;
440
440
  requestId: string;
441
441
  purpose: "other" | "conversation" | "compact" | "title" | "prompt_completion";
442
442
  runId: string;
@@ -23,16 +23,16 @@ export declare const sessionShareSchema: z.ZodObject<{
23
23
  expiresAt: z.ZodNullable<z.ZodNumber>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  expiresAt: number | null;
26
+ id: string;
26
27
  sessionId: string;
27
28
  workspaceId: string;
28
- id: string;
29
29
  nodeId: string;
30
30
  createdAt: number;
31
31
  }, {
32
32
  expiresAt: number | null;
33
+ id: string;
33
34
  sessionId: string;
34
35
  workspaceId: string;
35
- id: string;
36
36
  nodeId: string;
37
37
  createdAt: number;
38
38
  }>;
@@ -76,16 +76,16 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
76
76
  expiresAt: z.ZodNullable<z.ZodNumber>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  expiresAt: number | null;
79
+ id: string;
79
80
  sessionId: string;
80
81
  workspaceId: string;
81
- id: string;
82
82
  nodeId: string;
83
83
  createdAt: number;
84
84
  }, {
85
85
  expiresAt: number | null;
86
+ id: string;
86
87
  sessionId: string;
87
88
  workspaceId: string;
88
- id: string;
89
89
  nodeId: string;
90
90
  createdAt: number;
91
91
  }>;
@@ -96,9 +96,9 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
96
96
  credential: string;
97
97
  share: {
98
98
  expiresAt: number | null;
99
+ id: string;
99
100
  sessionId: string;
100
101
  workspaceId: string;
101
- id: string;
102
102
  nodeId: string;
103
103
  createdAt: number;
104
104
  };
@@ -108,9 +108,9 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
108
108
  credential: string;
109
109
  share: {
110
110
  expiresAt: number | null;
111
+ id: string;
111
112
  sessionId: string;
112
113
  workspaceId: string;
113
- id: string;
114
114
  nodeId: string;
115
115
  createdAt: number;
116
116
  };
package/dist/skill.d.ts CHANGED
@@ -57,8 +57,8 @@ export declare const skillSourceSchema: z.ZodObject<{
57
57
  status: "DISABLED" | "READY" | "DEGRADED";
58
58
  scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
59
59
  name: string;
60
- kind: "SKILLS_SH" | "REPOSITORY";
61
60
  id: string;
61
+ kind: "SKILLS_SH" | "REPOSITORY";
62
62
  createdAt: number;
63
63
  updatedAt: number;
64
64
  locator: string;
@@ -71,8 +71,8 @@ export declare const skillSourceSchema: z.ZodObject<{
71
71
  status: "DISABLED" | "READY" | "DEGRADED";
72
72
  scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
73
73
  name: string;
74
- kind: "SKILLS_SH" | "REPOSITORY";
75
74
  id: string;
75
+ kind: "SKILLS_SH" | "REPOSITORY";
76
76
  createdAt: number;
77
77
  updatedAt: number;
78
78
  locator: string;
@@ -85,8 +85,8 @@ export declare const serverNotificationSchema: z.ZodObject<{
85
85
  }, "strict", z.ZodTypeAny, {
86
86
  message: string;
87
87
  expiresAt: number;
88
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
89
88
  id: string;
89
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
90
90
  createdAt: number;
91
91
  updatedAt: number;
92
92
  title: string;
@@ -107,8 +107,8 @@ export declare const serverNotificationSchema: z.ZodObject<{
107
107
  }, {
108
108
  message: string;
109
109
  expiresAt: number;
110
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
111
110
  id: string;
111
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
112
112
  createdAt: number;
113
113
  updatedAt: number;
114
114
  title: string;
@@ -178,8 +178,8 @@ export declare const notificationCreatedSchema: z.ZodObject<{
178
178
  }, "strict", z.ZodTypeAny, {
179
179
  message: string;
180
180
  expiresAt: number;
181
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
182
181
  id: string;
182
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
183
183
  createdAt: number;
184
184
  updatedAt: number;
185
185
  title: string;
@@ -200,8 +200,8 @@ export declare const notificationCreatedSchema: z.ZodObject<{
200
200
  }, {
201
201
  message: string;
202
202
  expiresAt: number;
203
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
204
203
  id: string;
204
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
205
205
  createdAt: number;
206
206
  updatedAt: number;
207
207
  title: string;
@@ -225,8 +225,8 @@ export declare const notificationCreatedSchema: z.ZodObject<{
225
225
  notification: {
226
226
  message: string;
227
227
  expiresAt: number;
228
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
229
228
  id: string;
229
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
230
230
  createdAt: number;
231
231
  updatedAt: number;
232
232
  title: string;
@@ -250,8 +250,8 @@ export declare const notificationCreatedSchema: z.ZodObject<{
250
250
  notification: {
251
251
  message: string;
252
252
  expiresAt: number;
253
- kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
254
253
  id: string;
254
+ kind: "run" | "approval" | "plan" | "user-input" | "schedule" | "agent";
255
255
  createdAt: number;
256
256
  updatedAt: number;
257
257
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.13.7",
3
+ "version": "0.13.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/myagentroam/mar.git",