@getpaseo/server 0.1.12 → 0.1.13
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/server/client/daemon-client.d.ts +0 -10
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +1 -34
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/session.d.ts +3 -1
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +117 -65
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +88 -209
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +13 -29
- package/dist/server/shared/messages.js.map +1 -1
- package/package.json +5 -5
|
@@ -227,67 +227,6 @@ export declare const AudioPlayedMessageSchema: z.ZodObject<{
|
|
|
227
227
|
id: string;
|
|
228
228
|
type: "audio_played";
|
|
229
229
|
}>;
|
|
230
|
-
export declare const RequestAgentListMessageSchema: z.ZodObject<{
|
|
231
|
-
type: z.ZodLiteral<"request_agent_list">;
|
|
232
|
-
requestId: z.ZodString;
|
|
233
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
234
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
labels?: Record<string, string> | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
labels?: Record<string, string> | undefined;
|
|
239
|
-
}>>;
|
|
240
|
-
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
type: "request_agent_list";
|
|
242
|
-
requestId: string;
|
|
243
|
-
filter?: {
|
|
244
|
-
labels?: Record<string, string> | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
type: "request_agent_list";
|
|
248
|
-
requestId: string;
|
|
249
|
-
filter?: {
|
|
250
|
-
labels?: Record<string, string> | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
}>;
|
|
253
|
-
export declare const SubscribeAgentUpdatesMessageSchema: z.ZodObject<{
|
|
254
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
255
|
-
subscriptionId: z.ZodString;
|
|
256
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
257
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
258
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
259
|
-
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
agentId?: string | undefined;
|
|
261
|
-
labels?: Record<string, string> | undefined;
|
|
262
|
-
}, {
|
|
263
|
-
agentId?: string | undefined;
|
|
264
|
-
labels?: Record<string, string> | undefined;
|
|
265
|
-
}>>;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
type: "subscribe_agent_updates";
|
|
268
|
-
subscriptionId: string;
|
|
269
|
-
filter?: {
|
|
270
|
-
agentId?: string | undefined;
|
|
271
|
-
labels?: Record<string, string> | undefined;
|
|
272
|
-
} | undefined;
|
|
273
|
-
}, {
|
|
274
|
-
type: "subscribe_agent_updates";
|
|
275
|
-
subscriptionId: string;
|
|
276
|
-
filter?: {
|
|
277
|
-
agentId?: string | undefined;
|
|
278
|
-
labels?: Record<string, string> | undefined;
|
|
279
|
-
} | undefined;
|
|
280
|
-
}>;
|
|
281
|
-
export declare const UnsubscribeAgentUpdatesMessageSchema: z.ZodObject<{
|
|
282
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
283
|
-
subscriptionId: z.ZodString;
|
|
284
|
-
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
type: "unsubscribe_agent_updates";
|
|
286
|
-
subscriptionId: string;
|
|
287
|
-
}, {
|
|
288
|
-
type: "unsubscribe_agent_updates";
|
|
289
|
-
subscriptionId: string;
|
|
290
|
-
}>;
|
|
291
230
|
export declare const DeleteAgentRequestMessageSchema: z.ZodObject<{
|
|
292
231
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
293
232
|
agentId: z.ZodString;
|
|
@@ -425,6 +364,13 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
425
364
|
limit: number;
|
|
426
365
|
cursor?: string | undefined;
|
|
427
366
|
}>>;
|
|
367
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
subscriptionId?: string | undefined;
|
|
371
|
+
}, {
|
|
372
|
+
subscriptionId?: string | undefined;
|
|
373
|
+
}>>;
|
|
428
374
|
}, "strip", z.ZodTypeAny, {
|
|
429
375
|
type: "fetch_agents_request";
|
|
430
376
|
requestId: string;
|
|
@@ -443,6 +389,9 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
443
389
|
limit: number;
|
|
444
390
|
cursor?: string | undefined;
|
|
445
391
|
} | undefined;
|
|
392
|
+
subscribe?: {
|
|
393
|
+
subscriptionId?: string | undefined;
|
|
394
|
+
} | undefined;
|
|
446
395
|
}, {
|
|
447
396
|
type: "fetch_agents_request";
|
|
448
397
|
requestId: string;
|
|
@@ -461,6 +410,9 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
461
410
|
limit: number;
|
|
462
411
|
cursor?: string | undefined;
|
|
463
412
|
} | undefined;
|
|
413
|
+
subscribe?: {
|
|
414
|
+
subscriptionId?: string | undefined;
|
|
415
|
+
} | undefined;
|
|
464
416
|
}>;
|
|
465
417
|
export declare const FetchAgentRequestMessageSchema: z.ZodObject<{
|
|
466
418
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
@@ -2112,6 +2064,13 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2112
2064
|
limit: number;
|
|
2113
2065
|
cursor?: string | undefined;
|
|
2114
2066
|
}>>;
|
|
2067
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
2068
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
}, "strip", z.ZodTypeAny, {
|
|
2070
|
+
subscriptionId?: string | undefined;
|
|
2071
|
+
}, {
|
|
2072
|
+
subscriptionId?: string | undefined;
|
|
2073
|
+
}>>;
|
|
2115
2074
|
}, "strip", z.ZodTypeAny, {
|
|
2116
2075
|
type: "fetch_agents_request";
|
|
2117
2076
|
requestId: string;
|
|
@@ -2130,6 +2089,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2130
2089
|
limit: number;
|
|
2131
2090
|
cursor?: string | undefined;
|
|
2132
2091
|
} | undefined;
|
|
2092
|
+
subscribe?: {
|
|
2093
|
+
subscriptionId?: string | undefined;
|
|
2094
|
+
} | undefined;
|
|
2133
2095
|
}, {
|
|
2134
2096
|
type: "fetch_agents_request";
|
|
2135
2097
|
requestId: string;
|
|
@@ -2148,6 +2110,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2148
2110
|
limit: number;
|
|
2149
2111
|
cursor?: string | undefined;
|
|
2150
2112
|
} | undefined;
|
|
2113
|
+
subscribe?: {
|
|
2114
|
+
subscriptionId?: string | undefined;
|
|
2115
|
+
} | undefined;
|
|
2151
2116
|
}>, z.ZodObject<{
|
|
2152
2117
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
2153
2118
|
requestId: z.ZodString;
|
|
@@ -2161,42 +2126,6 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2161
2126
|
agentId: string;
|
|
2162
2127
|
type: "fetch_agent_request";
|
|
2163
2128
|
requestId: string;
|
|
2164
|
-
}>, z.ZodObject<{
|
|
2165
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
2166
|
-
subscriptionId: z.ZodString;
|
|
2167
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
2168
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2169
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
2170
|
-
}, "strip", z.ZodTypeAny, {
|
|
2171
|
-
agentId?: string | undefined;
|
|
2172
|
-
labels?: Record<string, string> | undefined;
|
|
2173
|
-
}, {
|
|
2174
|
-
agentId?: string | undefined;
|
|
2175
|
-
labels?: Record<string, string> | undefined;
|
|
2176
|
-
}>>;
|
|
2177
|
-
}, "strip", z.ZodTypeAny, {
|
|
2178
|
-
type: "subscribe_agent_updates";
|
|
2179
|
-
subscriptionId: string;
|
|
2180
|
-
filter?: {
|
|
2181
|
-
agentId?: string | undefined;
|
|
2182
|
-
labels?: Record<string, string> | undefined;
|
|
2183
|
-
} | undefined;
|
|
2184
|
-
}, {
|
|
2185
|
-
type: "subscribe_agent_updates";
|
|
2186
|
-
subscriptionId: string;
|
|
2187
|
-
filter?: {
|
|
2188
|
-
agentId?: string | undefined;
|
|
2189
|
-
labels?: Record<string, string> | undefined;
|
|
2190
|
-
} | undefined;
|
|
2191
|
-
}>, z.ZodObject<{
|
|
2192
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
2193
|
-
subscriptionId: z.ZodString;
|
|
2194
|
-
}, "strip", z.ZodTypeAny, {
|
|
2195
|
-
type: "unsubscribe_agent_updates";
|
|
2196
|
-
subscriptionId: string;
|
|
2197
|
-
}, {
|
|
2198
|
-
type: "unsubscribe_agent_updates";
|
|
2199
|
-
subscriptionId: string;
|
|
2200
2129
|
}>, z.ZodObject<{
|
|
2201
2130
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
2202
2131
|
agentId: z.ZodString;
|
|
@@ -6441,6 +6370,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6441
6370
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
6442
6371
|
payload: z.ZodObject<{
|
|
6443
6372
|
requestId: z.ZodString;
|
|
6373
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6444
6374
|
entries: z.ZodArray<z.ZodObject<{
|
|
6445
6375
|
agent: z.ZodObject<{
|
|
6446
6376
|
id: z.ZodString;
|
|
@@ -6811,6 +6741,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6811
6741
|
prevCursor: string | null;
|
|
6812
6742
|
hasMore: boolean;
|
|
6813
6743
|
};
|
|
6744
|
+
subscriptionId?: string | null | undefined;
|
|
6814
6745
|
}, {
|
|
6815
6746
|
entries: {
|
|
6816
6747
|
agent: {
|
|
@@ -6871,6 +6802,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6871
6802
|
prevCursor: string | null;
|
|
6872
6803
|
hasMore: boolean;
|
|
6873
6804
|
};
|
|
6805
|
+
subscriptionId?: string | null | undefined;
|
|
6874
6806
|
}>;
|
|
6875
6807
|
}, "strip", z.ZodTypeAny, {
|
|
6876
6808
|
type: "fetch_agents_response";
|
|
@@ -6934,6 +6866,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6934
6866
|
prevCursor: string | null;
|
|
6935
6867
|
hasMore: boolean;
|
|
6936
6868
|
};
|
|
6869
|
+
subscriptionId?: string | null | undefined;
|
|
6937
6870
|
};
|
|
6938
6871
|
}, {
|
|
6939
6872
|
type: "fetch_agents_response";
|
|
@@ -6997,6 +6930,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6997
6930
|
prevCursor: string | null;
|
|
6998
6931
|
hasMore: boolean;
|
|
6999
6932
|
};
|
|
6933
|
+
subscriptionId?: string | null | undefined;
|
|
7000
6934
|
};
|
|
7001
6935
|
}>;
|
|
7002
6936
|
export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
@@ -12133,6 +12067,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12133
12067
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
12134
12068
|
payload: z.ZodObject<{
|
|
12135
12069
|
requestId: z.ZodString;
|
|
12070
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12136
12071
|
entries: z.ZodArray<z.ZodObject<{
|
|
12137
12072
|
agent: z.ZodObject<{
|
|
12138
12073
|
id: z.ZodString;
|
|
@@ -12503,6 +12438,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12503
12438
|
prevCursor: string | null;
|
|
12504
12439
|
hasMore: boolean;
|
|
12505
12440
|
};
|
|
12441
|
+
subscriptionId?: string | null | undefined;
|
|
12506
12442
|
}, {
|
|
12507
12443
|
entries: {
|
|
12508
12444
|
agent: {
|
|
@@ -12563,6 +12499,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12563
12499
|
prevCursor: string | null;
|
|
12564
12500
|
hasMore: boolean;
|
|
12565
12501
|
};
|
|
12502
|
+
subscriptionId?: string | null | undefined;
|
|
12566
12503
|
}>;
|
|
12567
12504
|
}, "strip", z.ZodTypeAny, {
|
|
12568
12505
|
type: "fetch_agents_response";
|
|
@@ -12626,6 +12563,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12626
12563
|
prevCursor: string | null;
|
|
12627
12564
|
hasMore: boolean;
|
|
12628
12565
|
};
|
|
12566
|
+
subscriptionId?: string | null | undefined;
|
|
12629
12567
|
};
|
|
12630
12568
|
}, {
|
|
12631
12569
|
type: "fetch_agents_response";
|
|
@@ -12689,6 +12627,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12689
12627
|
prevCursor: string | null;
|
|
12690
12628
|
hasMore: boolean;
|
|
12691
12629
|
};
|
|
12630
|
+
subscriptionId?: string | null | undefined;
|
|
12692
12631
|
};
|
|
12693
12632
|
}>, z.ZodObject<{
|
|
12694
12633
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -16762,6 +16701,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16762
16701
|
limit: number;
|
|
16763
16702
|
cursor?: string | undefined;
|
|
16764
16703
|
}>>;
|
|
16704
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
16705
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
16706
|
+
}, "strip", z.ZodTypeAny, {
|
|
16707
|
+
subscriptionId?: string | undefined;
|
|
16708
|
+
}, {
|
|
16709
|
+
subscriptionId?: string | undefined;
|
|
16710
|
+
}>>;
|
|
16765
16711
|
}, "strip", z.ZodTypeAny, {
|
|
16766
16712
|
type: "fetch_agents_request";
|
|
16767
16713
|
requestId: string;
|
|
@@ -16780,6 +16726,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16780
16726
|
limit: number;
|
|
16781
16727
|
cursor?: string | undefined;
|
|
16782
16728
|
} | undefined;
|
|
16729
|
+
subscribe?: {
|
|
16730
|
+
subscriptionId?: string | undefined;
|
|
16731
|
+
} | undefined;
|
|
16783
16732
|
}, {
|
|
16784
16733
|
type: "fetch_agents_request";
|
|
16785
16734
|
requestId: string;
|
|
@@ -16798,6 +16747,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16798
16747
|
limit: number;
|
|
16799
16748
|
cursor?: string | undefined;
|
|
16800
16749
|
} | undefined;
|
|
16750
|
+
subscribe?: {
|
|
16751
|
+
subscriptionId?: string | undefined;
|
|
16752
|
+
} | undefined;
|
|
16801
16753
|
}>, z.ZodObject<{
|
|
16802
16754
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
16803
16755
|
requestId: z.ZodString;
|
|
@@ -16811,42 +16763,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16811
16763
|
agentId: string;
|
|
16812
16764
|
type: "fetch_agent_request";
|
|
16813
16765
|
requestId: string;
|
|
16814
|
-
}>, z.ZodObject<{
|
|
16815
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
16816
|
-
subscriptionId: z.ZodString;
|
|
16817
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
16818
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16819
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
16820
|
-
}, "strip", z.ZodTypeAny, {
|
|
16821
|
-
agentId?: string | undefined;
|
|
16822
|
-
labels?: Record<string, string> | undefined;
|
|
16823
|
-
}, {
|
|
16824
|
-
agentId?: string | undefined;
|
|
16825
|
-
labels?: Record<string, string> | undefined;
|
|
16826
|
-
}>>;
|
|
16827
|
-
}, "strip", z.ZodTypeAny, {
|
|
16828
|
-
type: "subscribe_agent_updates";
|
|
16829
|
-
subscriptionId: string;
|
|
16830
|
-
filter?: {
|
|
16831
|
-
agentId?: string | undefined;
|
|
16832
|
-
labels?: Record<string, string> | undefined;
|
|
16833
|
-
} | undefined;
|
|
16834
|
-
}, {
|
|
16835
|
-
type: "subscribe_agent_updates";
|
|
16836
|
-
subscriptionId: string;
|
|
16837
|
-
filter?: {
|
|
16838
|
-
agentId?: string | undefined;
|
|
16839
|
-
labels?: Record<string, string> | undefined;
|
|
16840
|
-
} | undefined;
|
|
16841
|
-
}>, z.ZodObject<{
|
|
16842
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
16843
|
-
subscriptionId: z.ZodString;
|
|
16844
|
-
}, "strip", z.ZodTypeAny, {
|
|
16845
|
-
type: "unsubscribe_agent_updates";
|
|
16846
|
-
subscriptionId: string;
|
|
16847
|
-
}, {
|
|
16848
|
-
type: "unsubscribe_agent_updates";
|
|
16849
|
-
subscriptionId: string;
|
|
16850
16766
|
}>, z.ZodObject<{
|
|
16851
16767
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
16852
16768
|
agentId: z.ZodString;
|
|
@@ -18202,16 +18118,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18202
18118
|
} | {
|
|
18203
18119
|
id: string;
|
|
18204
18120
|
type: "audio_played";
|
|
18205
|
-
} | {
|
|
18206
|
-
type: "subscribe_agent_updates";
|
|
18207
|
-
subscriptionId: string;
|
|
18208
|
-
filter?: {
|
|
18209
|
-
agentId?: string | undefined;
|
|
18210
|
-
labels?: Record<string, string> | undefined;
|
|
18211
|
-
} | undefined;
|
|
18212
|
-
} | {
|
|
18213
|
-
type: "unsubscribe_agent_updates";
|
|
18214
|
-
subscriptionId: string;
|
|
18215
18121
|
} | {
|
|
18216
18122
|
agentId: string;
|
|
18217
18123
|
type: "delete_agent_request";
|
|
@@ -18249,6 +18155,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18249
18155
|
limit: number;
|
|
18250
18156
|
cursor?: string | undefined;
|
|
18251
18157
|
} | undefined;
|
|
18158
|
+
subscribe?: {
|
|
18159
|
+
subscriptionId?: string | undefined;
|
|
18160
|
+
} | undefined;
|
|
18252
18161
|
} | {
|
|
18253
18162
|
agentId: string;
|
|
18254
18163
|
type: "fetch_agent_request";
|
|
@@ -18612,16 +18521,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18612
18521
|
} | {
|
|
18613
18522
|
id: string;
|
|
18614
18523
|
type: "audio_played";
|
|
18615
|
-
} | {
|
|
18616
|
-
type: "subscribe_agent_updates";
|
|
18617
|
-
subscriptionId: string;
|
|
18618
|
-
filter?: {
|
|
18619
|
-
agentId?: string | undefined;
|
|
18620
|
-
labels?: Record<string, string> | undefined;
|
|
18621
|
-
} | undefined;
|
|
18622
|
-
} | {
|
|
18623
|
-
type: "unsubscribe_agent_updates";
|
|
18624
|
-
subscriptionId: string;
|
|
18625
18524
|
} | {
|
|
18626
18525
|
agentId: string;
|
|
18627
18526
|
type: "delete_agent_request";
|
|
@@ -18659,6 +18558,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18659
18558
|
limit: number;
|
|
18660
18559
|
cursor?: string | undefined;
|
|
18661
18560
|
} | undefined;
|
|
18561
|
+
subscribe?: {
|
|
18562
|
+
subscriptionId?: string | undefined;
|
|
18563
|
+
} | undefined;
|
|
18662
18564
|
} | {
|
|
18663
18565
|
agentId: string;
|
|
18664
18566
|
type: "fetch_agent_request";
|
|
@@ -20390,6 +20292,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20390
20292
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
20391
20293
|
payload: z.ZodObject<{
|
|
20392
20294
|
requestId: z.ZodString;
|
|
20295
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20393
20296
|
entries: z.ZodArray<z.ZodObject<{
|
|
20394
20297
|
agent: z.ZodObject<{
|
|
20395
20298
|
id: z.ZodString;
|
|
@@ -20760,6 +20663,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20760
20663
|
prevCursor: string | null;
|
|
20761
20664
|
hasMore: boolean;
|
|
20762
20665
|
};
|
|
20666
|
+
subscriptionId?: string | null | undefined;
|
|
20763
20667
|
}, {
|
|
20764
20668
|
entries: {
|
|
20765
20669
|
agent: {
|
|
@@ -20820,6 +20724,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20820
20724
|
prevCursor: string | null;
|
|
20821
20725
|
hasMore: boolean;
|
|
20822
20726
|
};
|
|
20727
|
+
subscriptionId?: string | null | undefined;
|
|
20823
20728
|
}>;
|
|
20824
20729
|
}, "strip", z.ZodTypeAny, {
|
|
20825
20730
|
type: "fetch_agents_response";
|
|
@@ -20883,6 +20788,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20883
20788
|
prevCursor: string | null;
|
|
20884
20789
|
hasMore: boolean;
|
|
20885
20790
|
};
|
|
20791
|
+
subscriptionId?: string | null | undefined;
|
|
20886
20792
|
};
|
|
20887
20793
|
}, {
|
|
20888
20794
|
type: "fetch_agents_response";
|
|
@@ -20946,6 +20852,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20946
20852
|
prevCursor: string | null;
|
|
20947
20853
|
hasMore: boolean;
|
|
20948
20854
|
};
|
|
20855
|
+
subscriptionId?: string | null | undefined;
|
|
20949
20856
|
};
|
|
20950
20857
|
}>, z.ZodObject<{
|
|
20951
20858
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -25155,6 +25062,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25155
25062
|
prevCursor: string | null;
|
|
25156
25063
|
hasMore: boolean;
|
|
25157
25064
|
};
|
|
25065
|
+
subscriptionId?: string | null | undefined;
|
|
25158
25066
|
};
|
|
25159
25067
|
} | {
|
|
25160
25068
|
type: "fetch_agent_response";
|
|
@@ -26141,6 +26049,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26141
26049
|
prevCursor: string | null;
|
|
26142
26050
|
hasMore: boolean;
|
|
26143
26051
|
};
|
|
26052
|
+
subscriptionId?: string | null | undefined;
|
|
26144
26053
|
};
|
|
26145
26054
|
} | {
|
|
26146
26055
|
type: "fetch_agent_response";
|
|
@@ -26868,6 +26777,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26868
26777
|
limit: number;
|
|
26869
26778
|
cursor?: string | undefined;
|
|
26870
26779
|
}>>;
|
|
26780
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
26781
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
26782
|
+
}, "strip", z.ZodTypeAny, {
|
|
26783
|
+
subscriptionId?: string | undefined;
|
|
26784
|
+
}, {
|
|
26785
|
+
subscriptionId?: string | undefined;
|
|
26786
|
+
}>>;
|
|
26871
26787
|
}, "strip", z.ZodTypeAny, {
|
|
26872
26788
|
type: "fetch_agents_request";
|
|
26873
26789
|
requestId: string;
|
|
@@ -26886,6 +26802,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26886
26802
|
limit: number;
|
|
26887
26803
|
cursor?: string | undefined;
|
|
26888
26804
|
} | undefined;
|
|
26805
|
+
subscribe?: {
|
|
26806
|
+
subscriptionId?: string | undefined;
|
|
26807
|
+
} | undefined;
|
|
26889
26808
|
}, {
|
|
26890
26809
|
type: "fetch_agents_request";
|
|
26891
26810
|
requestId: string;
|
|
@@ -26904,6 +26823,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26904
26823
|
limit: number;
|
|
26905
26824
|
cursor?: string | undefined;
|
|
26906
26825
|
} | undefined;
|
|
26826
|
+
subscribe?: {
|
|
26827
|
+
subscriptionId?: string | undefined;
|
|
26828
|
+
} | undefined;
|
|
26907
26829
|
}>, z.ZodObject<{
|
|
26908
26830
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
26909
26831
|
requestId: z.ZodString;
|
|
@@ -26917,42 +26839,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26917
26839
|
agentId: string;
|
|
26918
26840
|
type: "fetch_agent_request";
|
|
26919
26841
|
requestId: string;
|
|
26920
|
-
}>, z.ZodObject<{
|
|
26921
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
26922
|
-
subscriptionId: z.ZodString;
|
|
26923
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
26924
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26925
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
26926
|
-
}, "strip", z.ZodTypeAny, {
|
|
26927
|
-
agentId?: string | undefined;
|
|
26928
|
-
labels?: Record<string, string> | undefined;
|
|
26929
|
-
}, {
|
|
26930
|
-
agentId?: string | undefined;
|
|
26931
|
-
labels?: Record<string, string> | undefined;
|
|
26932
|
-
}>>;
|
|
26933
|
-
}, "strip", z.ZodTypeAny, {
|
|
26934
|
-
type: "subscribe_agent_updates";
|
|
26935
|
-
subscriptionId: string;
|
|
26936
|
-
filter?: {
|
|
26937
|
-
agentId?: string | undefined;
|
|
26938
|
-
labels?: Record<string, string> | undefined;
|
|
26939
|
-
} | undefined;
|
|
26940
|
-
}, {
|
|
26941
|
-
type: "subscribe_agent_updates";
|
|
26942
|
-
subscriptionId: string;
|
|
26943
|
-
filter?: {
|
|
26944
|
-
agentId?: string | undefined;
|
|
26945
|
-
labels?: Record<string, string> | undefined;
|
|
26946
|
-
} | undefined;
|
|
26947
|
-
}>, z.ZodObject<{
|
|
26948
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
26949
|
-
subscriptionId: z.ZodString;
|
|
26950
|
-
}, "strip", z.ZodTypeAny, {
|
|
26951
|
-
type: "unsubscribe_agent_updates";
|
|
26952
|
-
subscriptionId: string;
|
|
26953
|
-
}, {
|
|
26954
|
-
type: "unsubscribe_agent_updates";
|
|
26955
|
-
subscriptionId: string;
|
|
26956
26842
|
}>, z.ZodObject<{
|
|
26957
26843
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
26958
26844
|
agentId: z.ZodString;
|
|
@@ -28308,16 +28194,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28308
28194
|
} | {
|
|
28309
28195
|
id: string;
|
|
28310
28196
|
type: "audio_played";
|
|
28311
|
-
} | {
|
|
28312
|
-
type: "subscribe_agent_updates";
|
|
28313
|
-
subscriptionId: string;
|
|
28314
|
-
filter?: {
|
|
28315
|
-
agentId?: string | undefined;
|
|
28316
|
-
labels?: Record<string, string> | undefined;
|
|
28317
|
-
} | undefined;
|
|
28318
|
-
} | {
|
|
28319
|
-
type: "unsubscribe_agent_updates";
|
|
28320
|
-
subscriptionId: string;
|
|
28321
28197
|
} | {
|
|
28322
28198
|
agentId: string;
|
|
28323
28199
|
type: "delete_agent_request";
|
|
@@ -28355,6 +28231,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28355
28231
|
limit: number;
|
|
28356
28232
|
cursor?: string | undefined;
|
|
28357
28233
|
} | undefined;
|
|
28234
|
+
subscribe?: {
|
|
28235
|
+
subscriptionId?: string | undefined;
|
|
28236
|
+
} | undefined;
|
|
28358
28237
|
} | {
|
|
28359
28238
|
agentId: string;
|
|
28360
28239
|
type: "fetch_agent_request";
|
|
@@ -28718,16 +28597,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28718
28597
|
} | {
|
|
28719
28598
|
id: string;
|
|
28720
28599
|
type: "audio_played";
|
|
28721
|
-
} | {
|
|
28722
|
-
type: "subscribe_agent_updates";
|
|
28723
|
-
subscriptionId: string;
|
|
28724
|
-
filter?: {
|
|
28725
|
-
agentId?: string | undefined;
|
|
28726
|
-
labels?: Record<string, string> | undefined;
|
|
28727
|
-
} | undefined;
|
|
28728
|
-
} | {
|
|
28729
|
-
type: "unsubscribe_agent_updates";
|
|
28730
|
-
subscriptionId: string;
|
|
28731
28600
|
} | {
|
|
28732
28601
|
agentId: string;
|
|
28733
28602
|
type: "delete_agent_request";
|
|
@@ -28765,6 +28634,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28765
28634
|
limit: number;
|
|
28766
28635
|
cursor?: string | undefined;
|
|
28767
28636
|
} | undefined;
|
|
28637
|
+
subscribe?: {
|
|
28638
|
+
subscriptionId?: string | undefined;
|
|
28639
|
+
} | undefined;
|
|
28768
28640
|
} | {
|
|
28769
28641
|
agentId: string;
|
|
28770
28642
|
type: "fetch_agent_request";
|
|
@@ -30502,6 +30374,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30502
30374
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
30503
30375
|
payload: z.ZodObject<{
|
|
30504
30376
|
requestId: z.ZodString;
|
|
30377
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30505
30378
|
entries: z.ZodArray<z.ZodObject<{
|
|
30506
30379
|
agent: z.ZodObject<{
|
|
30507
30380
|
id: z.ZodString;
|
|
@@ -30872,6 +30745,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30872
30745
|
prevCursor: string | null;
|
|
30873
30746
|
hasMore: boolean;
|
|
30874
30747
|
};
|
|
30748
|
+
subscriptionId?: string | null | undefined;
|
|
30875
30749
|
}, {
|
|
30876
30750
|
entries: {
|
|
30877
30751
|
agent: {
|
|
@@ -30932,6 +30806,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30932
30806
|
prevCursor: string | null;
|
|
30933
30807
|
hasMore: boolean;
|
|
30934
30808
|
};
|
|
30809
|
+
subscriptionId?: string | null | undefined;
|
|
30935
30810
|
}>;
|
|
30936
30811
|
}, "strip", z.ZodTypeAny, {
|
|
30937
30812
|
type: "fetch_agents_response";
|
|
@@ -30995,6 +30870,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30995
30870
|
prevCursor: string | null;
|
|
30996
30871
|
hasMore: boolean;
|
|
30997
30872
|
};
|
|
30873
|
+
subscriptionId?: string | null | undefined;
|
|
30998
30874
|
};
|
|
30999
30875
|
}, {
|
|
31000
30876
|
type: "fetch_agents_response";
|
|
@@ -31058,6 +30934,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31058
30934
|
prevCursor: string | null;
|
|
31059
30935
|
hasMore: boolean;
|
|
31060
30936
|
};
|
|
30937
|
+
subscriptionId?: string | null | undefined;
|
|
31061
30938
|
};
|
|
31062
30939
|
}>, z.ZodObject<{
|
|
31063
30940
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -35267,6 +35144,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35267
35144
|
prevCursor: string | null;
|
|
35268
35145
|
hasMore: boolean;
|
|
35269
35146
|
};
|
|
35147
|
+
subscriptionId?: string | null | undefined;
|
|
35270
35148
|
};
|
|
35271
35149
|
} | {
|
|
35272
35150
|
type: "fetch_agent_response";
|
|
@@ -36253,6 +36131,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36253
36131
|
prevCursor: string | null;
|
|
36254
36132
|
hasMore: boolean;
|
|
36255
36133
|
};
|
|
36134
|
+
subscriptionId?: string | null | undefined;
|
|
36256
36135
|
};
|
|
36257
36136
|
} | {
|
|
36258
36137
|
type: "fetch_agent_response";
|