@junctionpanel/server 0.1.100 → 0.1.101
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-websocket-transport.d.ts.map +1 -1
- package/dist/server/client/daemon-client-websocket-transport.js +39 -0
- package/dist/server/client/daemon-client-websocket-transport.js.map +1 -1
- package/dist/server/client/daemon-client.d.ts +6 -2
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +4 -2
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/index.js +1 -0
- package/dist/server/server/index.js.map +1 -1
- package/dist/server/server/lifecycle-intent.d.ts +1 -0
- package/dist/server/server/lifecycle-intent.d.ts.map +1 -1
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +13 -6
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +44 -0
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +4 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/package.json +2 -2
|
@@ -1582,25 +1582,31 @@ export declare const CancelAgentRequestMessageSchema: z.ZodObject<{
|
|
|
1582
1582
|
export declare const RestartServerRequestMessageSchema: z.ZodObject<{
|
|
1583
1583
|
type: z.ZodLiteral<"restart_server_request">;
|
|
1584
1584
|
reason: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
1585
1586
|
requestId: z.ZodString;
|
|
1586
1587
|
}, "strip", z.ZodTypeAny, {
|
|
1587
1588
|
type: "restart_server_request";
|
|
1588
1589
|
requestId: string;
|
|
1589
1590
|
reason?: string | undefined;
|
|
1591
|
+
sourceCommand?: string | undefined;
|
|
1590
1592
|
}, {
|
|
1591
1593
|
type: "restart_server_request";
|
|
1592
1594
|
requestId: string;
|
|
1593
1595
|
reason?: string | undefined;
|
|
1596
|
+
sourceCommand?: string | undefined;
|
|
1594
1597
|
}>;
|
|
1595
1598
|
export declare const ShutdownServerRequestMessageSchema: z.ZodObject<{
|
|
1596
1599
|
type: z.ZodLiteral<"shutdown_server_request">;
|
|
1600
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
1597
1601
|
requestId: z.ZodString;
|
|
1598
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1599
1603
|
type: "shutdown_server_request";
|
|
1600
1604
|
requestId: string;
|
|
1605
|
+
sourceCommand?: string | undefined;
|
|
1601
1606
|
}, {
|
|
1602
1607
|
type: "shutdown_server_request";
|
|
1603
1608
|
requestId: string;
|
|
1609
|
+
sourceCommand?: string | undefined;
|
|
1604
1610
|
}>;
|
|
1605
1611
|
export declare const AgentTimelineCursorSchema: z.ZodObject<{
|
|
1606
1612
|
epoch: z.ZodString;
|
|
@@ -3844,25 +3850,31 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3844
3850
|
type: "cancel_agent_request";
|
|
3845
3851
|
}>, z.ZodObject<{
|
|
3846
3852
|
type: z.ZodLiteral<"shutdown_server_request">;
|
|
3853
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
3847
3854
|
requestId: z.ZodString;
|
|
3848
3855
|
}, "strip", z.ZodTypeAny, {
|
|
3849
3856
|
type: "shutdown_server_request";
|
|
3850
3857
|
requestId: string;
|
|
3858
|
+
sourceCommand?: string | undefined;
|
|
3851
3859
|
}, {
|
|
3852
3860
|
type: "shutdown_server_request";
|
|
3853
3861
|
requestId: string;
|
|
3862
|
+
sourceCommand?: string | undefined;
|
|
3854
3863
|
}>, z.ZodObject<{
|
|
3855
3864
|
type: z.ZodLiteral<"restart_server_request">;
|
|
3856
3865
|
reason: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
3857
3867
|
requestId: z.ZodString;
|
|
3858
3868
|
}, "strip", z.ZodTypeAny, {
|
|
3859
3869
|
type: "restart_server_request";
|
|
3860
3870
|
requestId: string;
|
|
3861
3871
|
reason?: string | undefined;
|
|
3872
|
+
sourceCommand?: string | undefined;
|
|
3862
3873
|
}, {
|
|
3863
3874
|
type: "restart_server_request";
|
|
3864
3875
|
requestId: string;
|
|
3865
3876
|
reason?: string | undefined;
|
|
3877
|
+
sourceCommand?: string | undefined;
|
|
3866
3878
|
}>, z.ZodObject<{
|
|
3867
3879
|
type: z.ZodLiteral<"fetch_agent_timeline_request">;
|
|
3868
3880
|
agentId: z.ZodString;
|
|
@@ -6304,30 +6316,36 @@ export declare const RestartRequestedStatusPayloadSchema: z.ZodObject<{
|
|
|
6304
6316
|
status: z.ZodLiteral<"restart_requested">;
|
|
6305
6317
|
clientId: z.ZodString;
|
|
6306
6318
|
reason: z.ZodOptional<z.ZodString>;
|
|
6319
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
6307
6320
|
requestId: z.ZodString;
|
|
6308
6321
|
}, "strip", z.ZodTypeAny, {
|
|
6309
6322
|
status: "restart_requested";
|
|
6310
6323
|
requestId: string;
|
|
6311
6324
|
clientId: string;
|
|
6312
6325
|
reason?: string | undefined;
|
|
6326
|
+
sourceCommand?: string | undefined;
|
|
6313
6327
|
}, {
|
|
6314
6328
|
status: "restart_requested";
|
|
6315
6329
|
requestId: string;
|
|
6316
6330
|
clientId: string;
|
|
6317
6331
|
reason?: string | undefined;
|
|
6332
|
+
sourceCommand?: string | undefined;
|
|
6318
6333
|
}>;
|
|
6319
6334
|
export declare const ShutdownRequestedStatusPayloadSchema: z.ZodObject<{
|
|
6320
6335
|
status: z.ZodLiteral<"shutdown_requested">;
|
|
6321
6336
|
clientId: z.ZodString;
|
|
6337
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
6322
6338
|
requestId: z.ZodString;
|
|
6323
6339
|
}, "strip", z.ZodTypeAny, {
|
|
6324
6340
|
status: "shutdown_requested";
|
|
6325
6341
|
requestId: string;
|
|
6326
6342
|
clientId: string;
|
|
6343
|
+
sourceCommand?: string | undefined;
|
|
6327
6344
|
}, {
|
|
6328
6345
|
status: "shutdown_requested";
|
|
6329
6346
|
requestId: string;
|
|
6330
6347
|
clientId: string;
|
|
6348
|
+
sourceCommand?: string | undefined;
|
|
6331
6349
|
}>;
|
|
6332
6350
|
export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
6333
6351
|
status: z.ZodLiteral<"agent_created">;
|
|
@@ -7304,30 +7322,36 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
7304
7322
|
}>, z.ZodObject<{
|
|
7305
7323
|
status: z.ZodLiteral<"shutdown_requested">;
|
|
7306
7324
|
clientId: z.ZodString;
|
|
7325
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
7307
7326
|
requestId: z.ZodString;
|
|
7308
7327
|
}, "strip", z.ZodTypeAny, {
|
|
7309
7328
|
status: "shutdown_requested";
|
|
7310
7329
|
requestId: string;
|
|
7311
7330
|
clientId: string;
|
|
7331
|
+
sourceCommand?: string | undefined;
|
|
7312
7332
|
}, {
|
|
7313
7333
|
status: "shutdown_requested";
|
|
7314
7334
|
requestId: string;
|
|
7315
7335
|
clientId: string;
|
|
7336
|
+
sourceCommand?: string | undefined;
|
|
7316
7337
|
}>, z.ZodObject<{
|
|
7317
7338
|
status: z.ZodLiteral<"restart_requested">;
|
|
7318
7339
|
clientId: z.ZodString;
|
|
7319
7340
|
reason: z.ZodOptional<z.ZodString>;
|
|
7341
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
7320
7342
|
requestId: z.ZodString;
|
|
7321
7343
|
}, "strip", z.ZodTypeAny, {
|
|
7322
7344
|
status: "restart_requested";
|
|
7323
7345
|
requestId: string;
|
|
7324
7346
|
clientId: string;
|
|
7325
7347
|
reason?: string | undefined;
|
|
7348
|
+
sourceCommand?: string | undefined;
|
|
7326
7349
|
}, {
|
|
7327
7350
|
status: "restart_requested";
|
|
7328
7351
|
requestId: string;
|
|
7329
7352
|
clientId: string;
|
|
7330
7353
|
reason?: string | undefined;
|
|
7354
|
+
sourceCommand?: string | undefined;
|
|
7331
7355
|
}>]>;
|
|
7332
7356
|
export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
|
|
7333
7357
|
export declare const ArtifactMessageSchema: z.ZodObject<{
|
|
@@ -34666,25 +34690,31 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34666
34690
|
type: "cancel_agent_request";
|
|
34667
34691
|
}>, z.ZodObject<{
|
|
34668
34692
|
type: z.ZodLiteral<"shutdown_server_request">;
|
|
34693
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
34669
34694
|
requestId: z.ZodString;
|
|
34670
34695
|
}, "strip", z.ZodTypeAny, {
|
|
34671
34696
|
type: "shutdown_server_request";
|
|
34672
34697
|
requestId: string;
|
|
34698
|
+
sourceCommand?: string | undefined;
|
|
34673
34699
|
}, {
|
|
34674
34700
|
type: "shutdown_server_request";
|
|
34675
34701
|
requestId: string;
|
|
34702
|
+
sourceCommand?: string | undefined;
|
|
34676
34703
|
}>, z.ZodObject<{
|
|
34677
34704
|
type: z.ZodLiteral<"restart_server_request">;
|
|
34678
34705
|
reason: z.ZodOptional<z.ZodString>;
|
|
34706
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
34679
34707
|
requestId: z.ZodString;
|
|
34680
34708
|
}, "strip", z.ZodTypeAny, {
|
|
34681
34709
|
type: "restart_server_request";
|
|
34682
34710
|
requestId: string;
|
|
34683
34711
|
reason?: string | undefined;
|
|
34712
|
+
sourceCommand?: string | undefined;
|
|
34684
34713
|
}, {
|
|
34685
34714
|
type: "restart_server_request";
|
|
34686
34715
|
requestId: string;
|
|
34687
34716
|
reason?: string | undefined;
|
|
34717
|
+
sourceCommand?: string | undefined;
|
|
34688
34718
|
}>, z.ZodObject<{
|
|
34689
34719
|
type: z.ZodLiteral<"fetch_agent_timeline_request">;
|
|
34690
34720
|
agentId: z.ZodString;
|
|
@@ -35951,9 +35981,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
35951
35981
|
type: "restart_server_request";
|
|
35952
35982
|
requestId: string;
|
|
35953
35983
|
reason?: string | undefined;
|
|
35984
|
+
sourceCommand?: string | undefined;
|
|
35954
35985
|
} | {
|
|
35955
35986
|
type: "shutdown_server_request";
|
|
35956
35987
|
requestId: string;
|
|
35988
|
+
sourceCommand?: string | undefined;
|
|
35957
35989
|
} | {
|
|
35958
35990
|
agentId: string;
|
|
35959
35991
|
type: "fetch_agent_timeline_request";
|
|
@@ -36511,9 +36543,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
36511
36543
|
type: "restart_server_request";
|
|
36512
36544
|
requestId: string;
|
|
36513
36545
|
reason?: string | undefined;
|
|
36546
|
+
sourceCommand?: string | undefined;
|
|
36514
36547
|
} | {
|
|
36515
36548
|
type: "shutdown_server_request";
|
|
36516
36549
|
requestId: string;
|
|
36550
|
+
sourceCommand?: string | undefined;
|
|
36517
36551
|
} | {
|
|
36518
36552
|
agentId: string;
|
|
36519
36553
|
type: "fetch_agent_timeline_request";
|
|
@@ -54363,25 +54397,31 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
54363
54397
|
type: "cancel_agent_request";
|
|
54364
54398
|
}>, z.ZodObject<{
|
|
54365
54399
|
type: z.ZodLiteral<"shutdown_server_request">;
|
|
54400
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
54366
54401
|
requestId: z.ZodString;
|
|
54367
54402
|
}, "strip", z.ZodTypeAny, {
|
|
54368
54403
|
type: "shutdown_server_request";
|
|
54369
54404
|
requestId: string;
|
|
54405
|
+
sourceCommand?: string | undefined;
|
|
54370
54406
|
}, {
|
|
54371
54407
|
type: "shutdown_server_request";
|
|
54372
54408
|
requestId: string;
|
|
54409
|
+
sourceCommand?: string | undefined;
|
|
54373
54410
|
}>, z.ZodObject<{
|
|
54374
54411
|
type: z.ZodLiteral<"restart_server_request">;
|
|
54375
54412
|
reason: z.ZodOptional<z.ZodString>;
|
|
54413
|
+
sourceCommand: z.ZodOptional<z.ZodString>;
|
|
54376
54414
|
requestId: z.ZodString;
|
|
54377
54415
|
}, "strip", z.ZodTypeAny, {
|
|
54378
54416
|
type: "restart_server_request";
|
|
54379
54417
|
requestId: string;
|
|
54380
54418
|
reason?: string | undefined;
|
|
54419
|
+
sourceCommand?: string | undefined;
|
|
54381
54420
|
}, {
|
|
54382
54421
|
type: "restart_server_request";
|
|
54383
54422
|
requestId: string;
|
|
54384
54423
|
reason?: string | undefined;
|
|
54424
|
+
sourceCommand?: string | undefined;
|
|
54385
54425
|
}>, z.ZodObject<{
|
|
54386
54426
|
type: z.ZodLiteral<"fetch_agent_timeline_request">;
|
|
54387
54427
|
agentId: z.ZodString;
|
|
@@ -55648,9 +55688,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
55648
55688
|
type: "restart_server_request";
|
|
55649
55689
|
requestId: string;
|
|
55650
55690
|
reason?: string | undefined;
|
|
55691
|
+
sourceCommand?: string | undefined;
|
|
55651
55692
|
} | {
|
|
55652
55693
|
type: "shutdown_server_request";
|
|
55653
55694
|
requestId: string;
|
|
55695
|
+
sourceCommand?: string | undefined;
|
|
55654
55696
|
} | {
|
|
55655
55697
|
agentId: string;
|
|
55656
55698
|
type: "fetch_agent_timeline_request";
|
|
@@ -56208,9 +56250,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
56208
56250
|
type: "restart_server_request";
|
|
56209
56251
|
requestId: string;
|
|
56210
56252
|
reason?: string | undefined;
|
|
56253
|
+
sourceCommand?: string | undefined;
|
|
56211
56254
|
} | {
|
|
56212
56255
|
type: "shutdown_server_request";
|
|
56213
56256
|
requestId: string;
|
|
56257
|
+
sourceCommand?: string | undefined;
|
|
56214
56258
|
} | {
|
|
56215
56259
|
agentId: string;
|
|
56216
56260
|
type: "fetch_agent_timeline_request";
|