@myagentroam/protocol 0.10.45 → 0.10.46

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.
@@ -13,9 +13,9 @@ export declare const mailNotificationRequestSchema: z.ZodObject<{
13
13
  }, "strict", z.ZodTypeAny, {
14
14
  message: string;
15
15
  source: "MANUAL" | "SCHEDULED";
16
+ sessionId: string;
16
17
  workspaceId: string;
17
18
  templateId: string;
18
- sessionId: string;
19
19
  userId: number;
20
20
  executionId: string;
21
21
  callId: string;
@@ -24,9 +24,9 @@ export declare const mailNotificationRequestSchema: z.ZodObject<{
24
24
  }, {
25
25
  message: string;
26
26
  source: "MANUAL" | "SCHEDULED";
27
+ sessionId: string;
27
28
  workspaceId: string;
28
29
  templateId: string;
29
- sessionId: string;
30
30
  userId: number;
31
31
  executionId: string;
32
32
  callId: string;
@@ -79,11 +79,11 @@ 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;
82
83
  revision: number;
83
84
  requestId: string;
84
85
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
85
86
  runId: string;
86
- sessionId: string;
87
87
  scopeId: string;
88
88
  schemaVersion: 1;
89
89
  recordId: string;
@@ -105,11 +105,11 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
105
105
  cacheWriteTokens?: string | undefined;
106
106
  reasoningTokens?: string | undefined;
107
107
  }, {
108
+ sessionId: string;
108
109
  revision: number;
109
110
  requestId: string;
110
111
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
111
112
  runId: string;
112
- sessionId: string;
113
113
  scopeId: string;
114
114
  schemaVersion: 1;
115
115
  recordId: string;
@@ -131,11 +131,11 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
131
131
  reasoningTokens?: string | undefined;
132
132
  coverage?: "request" | "partial" | undefined;
133
133
  }>, {
134
+ sessionId: string;
134
135
  revision: number;
135
136
  requestId: string;
136
137
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
137
138
  runId: string;
138
- sessionId: string;
139
139
  scopeId: string;
140
140
  schemaVersion: 1;
141
141
  recordId: string;
@@ -157,11 +157,11 @@ export declare const modelUsageRecordSchema: z.ZodEffects<z.ZodObject<{
157
157
  cacheWriteTokens?: string | undefined;
158
158
  reasoningTokens?: string | undefined;
159
159
  }, {
160
+ sessionId: string;
160
161
  revision: number;
161
162
  requestId: string;
162
163
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
163
164
  runId: string;
164
- sessionId: string;
165
165
  scopeId: string;
166
166
  schemaVersion: 1;
167
167
  recordId: string;
@@ -224,11 +224,11 @@ 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;
227
228
  revision: number;
228
229
  requestId: string;
229
230
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
230
231
  runId: string;
231
- sessionId: string;
232
232
  scopeId: string;
233
233
  schemaVersion: 1;
234
234
  recordId: string;
@@ -250,11 +250,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
250
250
  cacheWriteTokens?: string | undefined;
251
251
  reasoningTokens?: string | undefined;
252
252
  }, {
253
+ sessionId: string;
253
254
  revision: number;
254
255
  requestId: string;
255
256
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
256
257
  runId: string;
257
- sessionId: string;
258
258
  scopeId: string;
259
259
  schemaVersion: 1;
260
260
  recordId: string;
@@ -276,11 +276,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
276
276
  reasoningTokens?: string | undefined;
277
277
  coverage?: "request" | "partial" | undefined;
278
278
  }>, {
279
+ sessionId: string;
279
280
  revision: number;
280
281
  requestId: string;
281
282
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
282
283
  runId: string;
283
- sessionId: string;
284
284
  scopeId: string;
285
285
  schemaVersion: 1;
286
286
  recordId: string;
@@ -302,11 +302,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
302
302
  cacheWriteTokens?: string | undefined;
303
303
  reasoningTokens?: string | undefined;
304
304
  }, {
305
+ sessionId: string;
305
306
  revision: number;
306
307
  requestId: string;
307
308
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
308
309
  runId: string;
309
- sessionId: string;
310
310
  scopeId: string;
311
311
  schemaVersion: 1;
312
312
  recordId: string;
@@ -334,11 +334,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
334
334
  token: string;
335
335
  };
336
336
  record: {
337
+ sessionId: string;
337
338
  revision: number;
338
339
  requestId: string;
339
340
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
340
341
  runId: string;
341
- sessionId: string;
342
342
  scopeId: string;
343
343
  schemaVersion: 1;
344
344
  recordId: string;
@@ -366,11 +366,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
366
366
  token: string;
367
367
  };
368
368
  record: {
369
+ sessionId: string;
369
370
  revision: number;
370
371
  requestId: string;
371
372
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
372
373
  runId: string;
373
- sessionId: string;
374
374
  scopeId: string;
375
375
  schemaVersion: 1;
376
376
  recordId: string;
@@ -400,11 +400,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
400
400
  token: string;
401
401
  };
402
402
  record: {
403
+ sessionId: string;
403
404
  revision: number;
404
405
  requestId: string;
405
406
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
406
407
  runId: string;
407
- sessionId: string;
408
408
  scopeId: string;
409
409
  schemaVersion: 1;
410
410
  recordId: string;
@@ -435,11 +435,11 @@ export declare const modelUsageBatchSchema: z.ZodObject<{
435
435
  token: string;
436
436
  };
437
437
  record: {
438
+ sessionId: string;
438
439
  revision: number;
439
440
  requestId: string;
440
441
  purpose: "conversation" | "compact" | "title" | "prompt_completion" | "other";
441
442
  runId: string;
442
- sessionId: string;
443
443
  scopeId: string;
444
444
  schemaVersion: 1;
445
445
  recordId: string;
@@ -43,8 +43,8 @@ export declare const notificationChannelsRequestSchema: z.ZodEffects<z.ZodObject
43
43
  occurredAt: z.ZodNumber;
44
44
  sessionTitle: z.ZodString;
45
45
  source: z.ZodEnum<["MANUAL", "SCHEDULED"]>;
46
- workspaceId: z.ZodString;
47
46
  sessionId: z.ZodString;
47
+ workspaceId: z.ZodString;
48
48
  userId: z.ZodNumber;
49
49
  executionId: z.ZodString;
50
50
  callId: z.ZodString;
@@ -52,11 +52,11 @@ export declare const notificationChannelsRequestSchema: z.ZodEffects<z.ZodObject
52
52
  message: string;
53
53
  apiVersion: 1;
54
54
  source: "MANUAL" | "SCHEDULED";
55
+ sessionId: string;
55
56
  kind: "AGENT_MESSAGE";
56
57
  workspaceId: string;
57
58
  eventType: "notification";
58
59
  occurredAt: number;
59
- sessionId: string;
60
60
  userId: number;
61
61
  executionId: string;
62
62
  callId: string;
@@ -69,11 +69,11 @@ export declare const notificationChannelsRequestSchema: z.ZodEffects<z.ZodObject
69
69
  message: string;
70
70
  apiVersion: 1;
71
71
  source: "MANUAL" | "SCHEDULED";
72
+ sessionId: string;
72
73
  kind: "AGENT_MESSAGE";
73
74
  workspaceId: string;
74
75
  eventType: "notification";
75
76
  occurredAt: number;
76
- sessionId: string;
77
77
  userId: number;
78
78
  executionId: string;
79
79
  callId: string;
@@ -86,11 +86,11 @@ export declare const notificationChannelsRequestSchema: z.ZodEffects<z.ZodObject
86
86
  message: string;
87
87
  apiVersion: 1;
88
88
  source: "MANUAL" | "SCHEDULED";
89
+ sessionId: string;
89
90
  kind: "AGENT_MESSAGE";
90
91
  workspaceId: string;
91
92
  eventType: "notification";
92
93
  occurredAt: number;
93
- sessionId: string;
94
94
  userId: number;
95
95
  executionId: string;
96
96
  callId: string;
@@ -103,11 +103,11 @@ export declare const notificationChannelsRequestSchema: z.ZodEffects<z.ZodObject
103
103
  message: string;
104
104
  apiVersion: 1;
105
105
  source: "MANUAL" | "SCHEDULED";
106
+ sessionId: string;
106
107
  kind: "AGENT_MESSAGE";
107
108
  workspaceId: string;
108
109
  eventType: "notification";
109
110
  occurredAt: number;
110
- sessionId: string;
111
111
  userId: number;
112
112
  executionId: string;
113
113
  callId: string;
@@ -4,13 +4,13 @@ export declare const sessionShareTargetSchema: z.ZodObject<{
4
4
  workspaceId: z.ZodString;
5
5
  sessionId: z.ZodString;
6
6
  }, "strict", z.ZodTypeAny, {
7
+ sessionId: string;
7
8
  workspaceId: string;
8
9
  nodeId: string;
9
- sessionId: string;
10
10
  }, {
11
+ sessionId: string;
11
12
  workspaceId: string;
12
13
  nodeId: string;
13
- sessionId: string;
14
14
  }>;
15
15
  export type SessionShareTarget = z.infer<typeof sessionShareTargetSchema>;
16
16
  export declare const sessionShareSchema: z.ZodObject<{
@@ -23,18 +23,18 @@ export declare const sessionShareSchema: z.ZodObject<{
23
23
  expiresAt: z.ZodNullable<z.ZodNumber>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  expiresAt: number | null;
26
+ sessionId: string;
26
27
  workspaceId: string;
27
28
  id: string;
28
29
  nodeId: string;
29
30
  createdAt: number;
30
- sessionId: string;
31
31
  }, {
32
32
  expiresAt: number | null;
33
+ sessionId: string;
33
34
  workspaceId: string;
34
35
  id: string;
35
36
  nodeId: string;
36
37
  createdAt: number;
37
- sessionId: string;
38
38
  }>;
39
39
  export type SessionShare = z.infer<typeof sessionShareSchema>;
40
40
  export declare const sessionShareCreateInputSchema: z.ZodObject<{
@@ -76,18 +76,18 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
76
76
  expiresAt: z.ZodNullable<z.ZodNumber>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  expiresAt: number | null;
79
+ sessionId: string;
79
80
  workspaceId: string;
80
81
  id: string;
81
82
  nodeId: string;
82
83
  createdAt: number;
83
- sessionId: string;
84
84
  }, {
85
85
  expiresAt: number | null;
86
+ sessionId: string;
86
87
  workspaceId: string;
87
88
  id: string;
88
89
  nodeId: string;
89
90
  createdAt: number;
90
- sessionId: string;
91
91
  }>;
92
92
  credential: z.ZodString;
93
93
  sharerName: z.ZodString;
@@ -96,11 +96,11 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
96
96
  credential: string;
97
97
  share: {
98
98
  expiresAt: number | null;
99
+ sessionId: string;
99
100
  workspaceId: string;
100
101
  id: string;
101
102
  nodeId: string;
102
103
  createdAt: number;
103
- sessionId: string;
104
104
  };
105
105
  sharerName: string;
106
106
  workspaceName?: string | undefined;
@@ -108,11 +108,11 @@ export declare const sessionShareAuthResultSchema: z.ZodObject<{
108
108
  credential: string;
109
109
  share: {
110
110
  expiresAt: number | null;
111
+ sessionId: string;
111
112
  workspaceId: string;
112
113
  id: string;
113
114
  nodeId: string;
114
115
  createdAt: number;
115
- sessionId: string;
116
116
  };
117
117
  sharerName: string;
118
118
  workspaceName?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.10.45",
3
+ "version": "0.10.46",
4
4
  "description": "Shared runtime protocol schemas for MyAgentRoam.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",