@junctionpanel/server 0.1.47 → 0.1.49
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/server/agent/agent-manager.d.ts +2 -0
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +37 -0
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/notifications/relay-client.d.ts.map +1 -1
- package/dist/server/server/notifications/relay-client.js +1 -0
- package/dist/server/server/notifications/relay-client.js.map +1 -1
- package/dist/server/server/websocket-server.d.ts.map +1 -1
- package/dist/server/server/websocket-server.js +32 -19
- package/dist/server/server/websocket-server.js.map +1 -1
- package/dist/server/shared/agent-attention-notification.d.ts +2 -0
- package/dist/server/shared/agent-attention-notification.d.ts.map +1 -1
- package/dist/server/shared/agent-attention-notification.js +1 -0
- package/dist/server/shared/agent-attention-notification.js.map +1 -1
- package/dist/server/shared/messages.d.ts +55 -0
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +1 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/package.json +2 -2
|
@@ -121,6 +121,7 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
121
121
|
data: z.ZodObject<{
|
|
122
122
|
serverId: z.ZodString;
|
|
123
123
|
agentId: z.ZodString;
|
|
124
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
124
125
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
125
126
|
category: z.ZodEnum<["agent_finished", "agent_user_input_required", "agent_plan_ready", "agent_error"]>;
|
|
126
127
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -128,11 +129,13 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
128
129
|
reason: "error" | "finished" | "permission";
|
|
129
130
|
serverId: string;
|
|
130
131
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
132
|
+
cwd?: string | undefined;
|
|
131
133
|
}, {
|
|
132
134
|
agentId: string;
|
|
133
135
|
reason: "error" | "finished" | "permission";
|
|
134
136
|
serverId: string;
|
|
135
137
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
138
|
+
cwd?: string | undefined;
|
|
136
139
|
}>;
|
|
137
140
|
}, "strip", z.ZodTypeAny, {
|
|
138
141
|
title: string;
|
|
@@ -141,6 +144,7 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
141
144
|
reason: "error" | "finished" | "permission";
|
|
142
145
|
serverId: string;
|
|
143
146
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
147
|
+
cwd?: string | undefined;
|
|
144
148
|
};
|
|
145
149
|
body: string;
|
|
146
150
|
}, {
|
|
@@ -150,6 +154,7 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
150
154
|
reason: "error" | "finished" | "permission";
|
|
151
155
|
serverId: string;
|
|
152
156
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
157
|
+
cwd?: string | undefined;
|
|
153
158
|
};
|
|
154
159
|
body: string;
|
|
155
160
|
}>>;
|
|
@@ -166,6 +171,7 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
166
171
|
reason: "error" | "finished" | "permission";
|
|
167
172
|
serverId: string;
|
|
168
173
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
174
|
+
cwd?: string | undefined;
|
|
169
175
|
};
|
|
170
176
|
body: string;
|
|
171
177
|
} | undefined;
|
|
@@ -182,6 +188,7 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
182
188
|
reason: "error" | "finished" | "permission";
|
|
183
189
|
serverId: string;
|
|
184
190
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
191
|
+
cwd?: string | undefined;
|
|
185
192
|
};
|
|
186
193
|
body: string;
|
|
187
194
|
} | undefined;
|
|
@@ -5967,6 +5974,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5967
5974
|
data: z.ZodObject<{
|
|
5968
5975
|
serverId: z.ZodString;
|
|
5969
5976
|
agentId: z.ZodString;
|
|
5977
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5970
5978
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
5971
5979
|
category: z.ZodEnum<["agent_finished", "agent_user_input_required", "agent_plan_ready", "agent_error"]>;
|
|
5972
5980
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5974,11 +5982,13 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5974
5982
|
reason: "error" | "finished" | "permission";
|
|
5975
5983
|
serverId: string;
|
|
5976
5984
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
5985
|
+
cwd?: string | undefined;
|
|
5977
5986
|
}, {
|
|
5978
5987
|
agentId: string;
|
|
5979
5988
|
reason: "error" | "finished" | "permission";
|
|
5980
5989
|
serverId: string;
|
|
5981
5990
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
5991
|
+
cwd?: string | undefined;
|
|
5982
5992
|
}>;
|
|
5983
5993
|
}, "strip", z.ZodTypeAny, {
|
|
5984
5994
|
title: string;
|
|
@@ -5987,6 +5997,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5987
5997
|
reason: "error" | "finished" | "permission";
|
|
5988
5998
|
serverId: string;
|
|
5989
5999
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6000
|
+
cwd?: string | undefined;
|
|
5990
6001
|
};
|
|
5991
6002
|
body: string;
|
|
5992
6003
|
}, {
|
|
@@ -5996,6 +6007,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5996
6007
|
reason: "error" | "finished" | "permission";
|
|
5997
6008
|
serverId: string;
|
|
5998
6009
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6010
|
+
cwd?: string | undefined;
|
|
5999
6011
|
};
|
|
6000
6012
|
body: string;
|
|
6001
6013
|
}>>;
|
|
@@ -6012,6 +6024,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6012
6024
|
reason: "error" | "finished" | "permission";
|
|
6013
6025
|
serverId: string;
|
|
6014
6026
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6027
|
+
cwd?: string | undefined;
|
|
6015
6028
|
};
|
|
6016
6029
|
body: string;
|
|
6017
6030
|
} | undefined;
|
|
@@ -6028,6 +6041,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6028
6041
|
reason: "error" | "finished" | "permission";
|
|
6029
6042
|
serverId: string;
|
|
6030
6043
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6044
|
+
cwd?: string | undefined;
|
|
6031
6045
|
};
|
|
6032
6046
|
body: string;
|
|
6033
6047
|
} | undefined;
|
|
@@ -6085,6 +6099,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6085
6099
|
reason: "error" | "finished" | "permission";
|
|
6086
6100
|
serverId: string;
|
|
6087
6101
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6102
|
+
cwd?: string | undefined;
|
|
6088
6103
|
};
|
|
6089
6104
|
body: string;
|
|
6090
6105
|
} | undefined;
|
|
@@ -6141,6 +6156,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6141
6156
|
reason: "error" | "finished" | "permission";
|
|
6142
6157
|
serverId: string;
|
|
6143
6158
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6159
|
+
cwd?: string | undefined;
|
|
6144
6160
|
};
|
|
6145
6161
|
body: string;
|
|
6146
6162
|
} | undefined;
|
|
@@ -6200,6 +6216,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6200
6216
|
reason: "error" | "finished" | "permission";
|
|
6201
6217
|
serverId: string;
|
|
6202
6218
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6219
|
+
cwd?: string | undefined;
|
|
6203
6220
|
};
|
|
6204
6221
|
body: string;
|
|
6205
6222
|
} | undefined;
|
|
@@ -6259,6 +6276,7 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6259
6276
|
reason: "error" | "finished" | "permission";
|
|
6260
6277
|
serverId: string;
|
|
6261
6278
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
6279
|
+
cwd?: string | undefined;
|
|
6262
6280
|
};
|
|
6263
6281
|
body: string;
|
|
6264
6282
|
} | undefined;
|
|
@@ -13284,6 +13302,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13284
13302
|
data: z.ZodObject<{
|
|
13285
13303
|
serverId: z.ZodString;
|
|
13286
13304
|
agentId: z.ZodString;
|
|
13305
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
13287
13306
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
13288
13307
|
category: z.ZodEnum<["agent_finished", "agent_user_input_required", "agent_plan_ready", "agent_error"]>;
|
|
13289
13308
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13291,11 +13310,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13291
13310
|
reason: "error" | "finished" | "permission";
|
|
13292
13311
|
serverId: string;
|
|
13293
13312
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13313
|
+
cwd?: string | undefined;
|
|
13294
13314
|
}, {
|
|
13295
13315
|
agentId: string;
|
|
13296
13316
|
reason: "error" | "finished" | "permission";
|
|
13297
13317
|
serverId: string;
|
|
13298
13318
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13319
|
+
cwd?: string | undefined;
|
|
13299
13320
|
}>;
|
|
13300
13321
|
}, "strip", z.ZodTypeAny, {
|
|
13301
13322
|
title: string;
|
|
@@ -13304,6 +13325,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13304
13325
|
reason: "error" | "finished" | "permission";
|
|
13305
13326
|
serverId: string;
|
|
13306
13327
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13328
|
+
cwd?: string | undefined;
|
|
13307
13329
|
};
|
|
13308
13330
|
body: string;
|
|
13309
13331
|
}, {
|
|
@@ -13313,6 +13335,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13313
13335
|
reason: "error" | "finished" | "permission";
|
|
13314
13336
|
serverId: string;
|
|
13315
13337
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13338
|
+
cwd?: string | undefined;
|
|
13316
13339
|
};
|
|
13317
13340
|
body: string;
|
|
13318
13341
|
}>>;
|
|
@@ -13329,6 +13352,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13329
13352
|
reason: "error" | "finished" | "permission";
|
|
13330
13353
|
serverId: string;
|
|
13331
13354
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13355
|
+
cwd?: string | undefined;
|
|
13332
13356
|
};
|
|
13333
13357
|
body: string;
|
|
13334
13358
|
} | undefined;
|
|
@@ -13345,6 +13369,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13345
13369
|
reason: "error" | "finished" | "permission";
|
|
13346
13370
|
serverId: string;
|
|
13347
13371
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13372
|
+
cwd?: string | undefined;
|
|
13348
13373
|
};
|
|
13349
13374
|
body: string;
|
|
13350
13375
|
} | undefined;
|
|
@@ -13402,6 +13427,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13402
13427
|
reason: "error" | "finished" | "permission";
|
|
13403
13428
|
serverId: string;
|
|
13404
13429
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13430
|
+
cwd?: string | undefined;
|
|
13405
13431
|
};
|
|
13406
13432
|
body: string;
|
|
13407
13433
|
} | undefined;
|
|
@@ -13458,6 +13484,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13458
13484
|
reason: "error" | "finished" | "permission";
|
|
13459
13485
|
serverId: string;
|
|
13460
13486
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13487
|
+
cwd?: string | undefined;
|
|
13461
13488
|
};
|
|
13462
13489
|
body: string;
|
|
13463
13490
|
} | undefined;
|
|
@@ -13517,6 +13544,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13517
13544
|
reason: "error" | "finished" | "permission";
|
|
13518
13545
|
serverId: string;
|
|
13519
13546
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13547
|
+
cwd?: string | undefined;
|
|
13520
13548
|
};
|
|
13521
13549
|
body: string;
|
|
13522
13550
|
} | undefined;
|
|
@@ -13576,6 +13604,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13576
13604
|
reason: "error" | "finished" | "permission";
|
|
13577
13605
|
serverId: string;
|
|
13578
13606
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
13607
|
+
cwd?: string | undefined;
|
|
13579
13608
|
};
|
|
13580
13609
|
body: string;
|
|
13581
13610
|
} | undefined;
|
|
@@ -23420,6 +23449,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23420
23449
|
data: z.ZodObject<{
|
|
23421
23450
|
serverId: z.ZodString;
|
|
23422
23451
|
agentId: z.ZodString;
|
|
23452
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
23423
23453
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
23424
23454
|
category: z.ZodEnum<["agent_finished", "agent_user_input_required", "agent_plan_ready", "agent_error"]>;
|
|
23425
23455
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23427,11 +23457,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23427
23457
|
reason: "error" | "finished" | "permission";
|
|
23428
23458
|
serverId: string;
|
|
23429
23459
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23460
|
+
cwd?: string | undefined;
|
|
23430
23461
|
}, {
|
|
23431
23462
|
agentId: string;
|
|
23432
23463
|
reason: "error" | "finished" | "permission";
|
|
23433
23464
|
serverId: string;
|
|
23434
23465
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23466
|
+
cwd?: string | undefined;
|
|
23435
23467
|
}>;
|
|
23436
23468
|
}, "strip", z.ZodTypeAny, {
|
|
23437
23469
|
title: string;
|
|
@@ -23440,6 +23472,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23440
23472
|
reason: "error" | "finished" | "permission";
|
|
23441
23473
|
serverId: string;
|
|
23442
23474
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23475
|
+
cwd?: string | undefined;
|
|
23443
23476
|
};
|
|
23444
23477
|
body: string;
|
|
23445
23478
|
}, {
|
|
@@ -23449,6 +23482,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23449
23482
|
reason: "error" | "finished" | "permission";
|
|
23450
23483
|
serverId: string;
|
|
23451
23484
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23485
|
+
cwd?: string | undefined;
|
|
23452
23486
|
};
|
|
23453
23487
|
body: string;
|
|
23454
23488
|
}>>;
|
|
@@ -23465,6 +23499,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23465
23499
|
reason: "error" | "finished" | "permission";
|
|
23466
23500
|
serverId: string;
|
|
23467
23501
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23502
|
+
cwd?: string | undefined;
|
|
23468
23503
|
};
|
|
23469
23504
|
body: string;
|
|
23470
23505
|
} | undefined;
|
|
@@ -23481,6 +23516,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23481
23516
|
reason: "error" | "finished" | "permission";
|
|
23482
23517
|
serverId: string;
|
|
23483
23518
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23519
|
+
cwd?: string | undefined;
|
|
23484
23520
|
};
|
|
23485
23521
|
body: string;
|
|
23486
23522
|
} | undefined;
|
|
@@ -23538,6 +23574,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23538
23574
|
reason: "error" | "finished" | "permission";
|
|
23539
23575
|
serverId: string;
|
|
23540
23576
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23577
|
+
cwd?: string | undefined;
|
|
23541
23578
|
};
|
|
23542
23579
|
body: string;
|
|
23543
23580
|
} | undefined;
|
|
@@ -23594,6 +23631,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23594
23631
|
reason: "error" | "finished" | "permission";
|
|
23595
23632
|
serverId: string;
|
|
23596
23633
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23634
|
+
cwd?: string | undefined;
|
|
23597
23635
|
};
|
|
23598
23636
|
body: string;
|
|
23599
23637
|
} | undefined;
|
|
@@ -23653,6 +23691,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23653
23691
|
reason: "error" | "finished" | "permission";
|
|
23654
23692
|
serverId: string;
|
|
23655
23693
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23694
|
+
cwd?: string | undefined;
|
|
23656
23695
|
};
|
|
23657
23696
|
body: string;
|
|
23658
23697
|
} | undefined;
|
|
@@ -23712,6 +23751,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23712
23751
|
reason: "error" | "finished" | "permission";
|
|
23713
23752
|
serverId: string;
|
|
23714
23753
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
23754
|
+
cwd?: string | undefined;
|
|
23715
23755
|
};
|
|
23716
23756
|
body: string;
|
|
23717
23757
|
} | undefined;
|
|
@@ -30039,6 +30079,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30039
30079
|
reason: "error" | "finished" | "permission";
|
|
30040
30080
|
serverId: string;
|
|
30041
30081
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
30082
|
+
cwd?: string | undefined;
|
|
30042
30083
|
};
|
|
30043
30084
|
body: string;
|
|
30044
30085
|
} | undefined;
|
|
@@ -31229,6 +31270,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
31229
31270
|
reason: "error" | "finished" | "permission";
|
|
31230
31271
|
serverId: string;
|
|
31231
31272
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
31273
|
+
cwd?: string | undefined;
|
|
31232
31274
|
};
|
|
31233
31275
|
body: string;
|
|
31234
31276
|
} | undefined;
|
|
@@ -35798,6 +35840,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35798
35840
|
data: z.ZodObject<{
|
|
35799
35841
|
serverId: z.ZodString;
|
|
35800
35842
|
agentId: z.ZodString;
|
|
35843
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
35801
35844
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
35802
35845
|
category: z.ZodEnum<["agent_finished", "agent_user_input_required", "agent_plan_ready", "agent_error"]>;
|
|
35803
35846
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -35805,11 +35848,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35805
35848
|
reason: "error" | "finished" | "permission";
|
|
35806
35849
|
serverId: string;
|
|
35807
35850
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35851
|
+
cwd?: string | undefined;
|
|
35808
35852
|
}, {
|
|
35809
35853
|
agentId: string;
|
|
35810
35854
|
reason: "error" | "finished" | "permission";
|
|
35811
35855
|
serverId: string;
|
|
35812
35856
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35857
|
+
cwd?: string | undefined;
|
|
35813
35858
|
}>;
|
|
35814
35859
|
}, "strip", z.ZodTypeAny, {
|
|
35815
35860
|
title: string;
|
|
@@ -35818,6 +35863,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35818
35863
|
reason: "error" | "finished" | "permission";
|
|
35819
35864
|
serverId: string;
|
|
35820
35865
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35866
|
+
cwd?: string | undefined;
|
|
35821
35867
|
};
|
|
35822
35868
|
body: string;
|
|
35823
35869
|
}, {
|
|
@@ -35827,6 +35873,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35827
35873
|
reason: "error" | "finished" | "permission";
|
|
35828
35874
|
serverId: string;
|
|
35829
35875
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35876
|
+
cwd?: string | undefined;
|
|
35830
35877
|
};
|
|
35831
35878
|
body: string;
|
|
35832
35879
|
}>>;
|
|
@@ -35843,6 +35890,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35843
35890
|
reason: "error" | "finished" | "permission";
|
|
35844
35891
|
serverId: string;
|
|
35845
35892
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35893
|
+
cwd?: string | undefined;
|
|
35846
35894
|
};
|
|
35847
35895
|
body: string;
|
|
35848
35896
|
} | undefined;
|
|
@@ -35859,6 +35907,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35859
35907
|
reason: "error" | "finished" | "permission";
|
|
35860
35908
|
serverId: string;
|
|
35861
35909
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35910
|
+
cwd?: string | undefined;
|
|
35862
35911
|
};
|
|
35863
35912
|
body: string;
|
|
35864
35913
|
} | undefined;
|
|
@@ -35916,6 +35965,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35916
35965
|
reason: "error" | "finished" | "permission";
|
|
35917
35966
|
serverId: string;
|
|
35918
35967
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
35968
|
+
cwd?: string | undefined;
|
|
35919
35969
|
};
|
|
35920
35970
|
body: string;
|
|
35921
35971
|
} | undefined;
|
|
@@ -35972,6 +36022,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35972
36022
|
reason: "error" | "finished" | "permission";
|
|
35973
36023
|
serverId: string;
|
|
35974
36024
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
36025
|
+
cwd?: string | undefined;
|
|
35975
36026
|
};
|
|
35976
36027
|
body: string;
|
|
35977
36028
|
} | undefined;
|
|
@@ -36031,6 +36082,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36031
36082
|
reason: "error" | "finished" | "permission";
|
|
36032
36083
|
serverId: string;
|
|
36033
36084
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
36085
|
+
cwd?: string | undefined;
|
|
36034
36086
|
};
|
|
36035
36087
|
body: string;
|
|
36036
36088
|
} | undefined;
|
|
@@ -36090,6 +36142,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36090
36142
|
reason: "error" | "finished" | "permission";
|
|
36091
36143
|
serverId: string;
|
|
36092
36144
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
36145
|
+
cwd?: string | undefined;
|
|
36093
36146
|
};
|
|
36094
36147
|
body: string;
|
|
36095
36148
|
} | undefined;
|
|
@@ -42417,6 +42470,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
42417
42470
|
reason: "error" | "finished" | "permission";
|
|
42418
42471
|
serverId: string;
|
|
42419
42472
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
42473
|
+
cwd?: string | undefined;
|
|
42420
42474
|
};
|
|
42421
42475
|
body: string;
|
|
42422
42476
|
} | undefined;
|
|
@@ -43607,6 +43661,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
43607
43661
|
reason: "error" | "finished" | "permission";
|
|
43608
43662
|
serverId: string;
|
|
43609
43663
|
category: "agent_finished" | "agent_user_input_required" | "agent_plan_ready" | "agent_error";
|
|
43664
|
+
cwd?: string | undefined;
|
|
43610
43665
|
};
|
|
43611
43666
|
body: string;
|
|
43612
43667
|
} | undefined;
|