@moxt-ai/mobius-protocol 0.0.10 → 0.0.12

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.
@@ -0,0 +1,737 @@
1
+ interface MessageSignature<TMessage extends {
2
+ readonly kind: string;
3
+ }> {
4
+ readonly decoder: (encoded: string) => TMessage;
5
+ readonly encoder: (message: unknown) => string;
6
+ readonly kind: TMessage["kind"];
7
+ readonly schema: (message: unknown) => TMessage;
8
+ }
9
+ declare const serviceToDaemonSignatures: {
10
+ readonly "agent.catalog.refresh": MessageSignature<Readonly<{
11
+ kind: "agent.catalog.refresh";
12
+ requestId: string;
13
+ }>>;
14
+ readonly "agent.integration.install.cancel": MessageSignature<Readonly<{
15
+ kind: "agent.integration.install.cancel";
16
+ requestId: string;
17
+ }>>;
18
+ readonly "agent.integration.install.request": MessageSignature<Readonly<{
19
+ agentId: string;
20
+ requestId: string;
21
+ kind: "agent.integration.install.request";
22
+ }>>;
23
+ readonly "agent.settings.discover": MessageSignature<Readonly<{
24
+ agentId: string;
25
+ kind: "agent.settings.discover";
26
+ model?: string | undefined;
27
+ requestId: string;
28
+ }>>;
29
+ readonly "file.read": MessageSignature<Readonly<{
30
+ kind: "file.read";
31
+ maxBytes: number;
32
+ requestId: string;
33
+ sessionId: string;
34
+ path: string;
35
+ }>>;
36
+ readonly "native.session.cancel": MessageSignature<Readonly<{
37
+ requestId: string;
38
+ sessionId: string;
39
+ kind: "native.session.cancel";
40
+ }>>;
41
+ readonly "native.session.request": MessageSignature<Readonly<{
42
+ requestId: string;
43
+ sessionId: string;
44
+ kind: "native.session.request";
45
+ additionalDirectoryIds: readonly string[];
46
+ agentId: string;
47
+ bindingId: string;
48
+ directoryId: string;
49
+ action: "preview";
50
+ entryId: string;
51
+ }> | Readonly<{
52
+ requestId: string;
53
+ sessionId: string;
54
+ kind: "native.session.request";
55
+ additionalDirectoryIds: readonly string[];
56
+ agentId: string;
57
+ bindingId: string;
58
+ directoryId: string;
59
+ action: "find";
60
+ nativeSessionId: string;
61
+ }> | Readonly<{
62
+ requestId: string;
63
+ sessionId: string;
64
+ kind: "native.session.request";
65
+ additionalDirectoryIds: readonly string[];
66
+ agentId: string;
67
+ bindingId: string;
68
+ directoryId: string;
69
+ action: "list";
70
+ cursor: string | null;
71
+ }> | Readonly<{
72
+ requestId: string;
73
+ sessionId: string;
74
+ kind: "native.session.request";
75
+ additionalDirectoryIds: readonly string[];
76
+ agentId: string;
77
+ bindingId: string;
78
+ directoryId: string;
79
+ action: "fork" | "import";
80
+ entryId: string;
81
+ targetSessionId: string;
82
+ }> | Readonly<{
83
+ requestId: string;
84
+ sessionId: string;
85
+ kind: "native.session.request";
86
+ additionalDirectoryIds: readonly string[];
87
+ agentId: string;
88
+ bindingId: string;
89
+ directoryId: string;
90
+ action: "delete";
91
+ entryId: string;
92
+ }>>;
93
+ readonly "native.session.turn-fork": MessageSignature<Readonly<{
94
+ additionalDirectoryIds: readonly string[];
95
+ agentId: string;
96
+ bindingId: string;
97
+ directoryId: string;
98
+ requestId: string;
99
+ sessionId: string;
100
+ sourceCommandId: string;
101
+ targetSessionId: string;
102
+ kind: "native.session.turn-fork";
103
+ messageFingerprint: string;
104
+ messageId: string;
105
+ messageOccurrence: number;
106
+ title: string;
107
+ }>>;
108
+ readonly "runtime.delivery": MessageSignature<import("./messages.ts").RuntimeDelivery>;
109
+ readonly "runtime.delivery.committed": MessageSignature<import("./messages.ts").RuntimeDeliveryCommitted>;
110
+ readonly "runtime.heartbeat.ack": MessageSignature<import("./messages.ts").RuntimeHeartbeatAckEvent>;
111
+ readonly "runtime.liveness.ready": MessageSignature<import("./messages.ts").RuntimeLivenessReadyEvent>;
112
+ readonly "session.cancel": MessageSignature<import("./messages.ts").SessionCancelCommand>;
113
+ readonly "session.configure": MessageSignature<Readonly<{
114
+ additionalDirectoryIds: readonly string[];
115
+ agentId: string;
116
+ bindingId: string;
117
+ directoryId: string;
118
+ sessionId: string;
119
+ booleanValue: boolean;
120
+ configId: string;
121
+ kind: "session.configure";
122
+ requestId: string;
123
+ value: string;
124
+ valueType: "boolean" | "select";
125
+ }>>;
126
+ readonly "session.elicitation.respond": MessageSignature<Readonly<{
127
+ action: "accept" | "cancel" | "decline";
128
+ content: string;
129
+ interactionId: string;
130
+ kind: "session.elicitation.respond";
131
+ sessionId: string;
132
+ }>>;
133
+ readonly "session.event.ack": MessageSignature<Readonly<{
134
+ cursor: string;
135
+ duplicate: boolean;
136
+ eventId: string;
137
+ kind: "session.event.ack";
138
+ sequence: string;
139
+ sessionId: string;
140
+ }>>;
141
+ readonly "session.event.deferred": MessageSignature<Readonly<{
142
+ eventId: string;
143
+ kind: "session.event.deferred";
144
+ retryAfterMilliseconds: number;
145
+ sessionId: string;
146
+ }>>;
147
+ readonly "session.event.rejected": MessageSignature<Readonly<{
148
+ code: "session_deleted" | "session_not_found" | "session_rejected";
149
+ eventId: string;
150
+ kind: "session.event.rejected";
151
+ sessionId: string;
152
+ }>>;
153
+ readonly "session.live-history.load": MessageSignature<Readonly<{
154
+ additionalDirectoryIds: readonly string[];
155
+ agentId: string;
156
+ bindingId: string;
157
+ directoryId: string;
158
+ kind: "session.live-history.load";
159
+ requestId: string;
160
+ sessionId: string;
161
+ }>>;
162
+ readonly "session.permission.respond": MessageSignature<Readonly<{
163
+ interactionId: string;
164
+ kind: "session.permission.respond";
165
+ optionId: string;
166
+ outcome: "cancelled" | "selected";
167
+ sessionId: string;
168
+ }>>;
169
+ readonly "session.prepare": MessageSignature<Readonly<{
170
+ additionalDirectoryIds: readonly string[];
171
+ agentId: string;
172
+ bindingId: string;
173
+ directoryId: string;
174
+ sessionId: string;
175
+ configuration?: Readonly<{
176
+ booleanValue: boolean;
177
+ configId: string;
178
+ value: string;
179
+ valueType: "boolean" | "select";
180
+ }> | undefined;
181
+ kind: "session.prepare";
182
+ requestId: string;
183
+ sessionState?: "provisioned" | undefined;
184
+ transient?: boolean | undefined;
185
+ }>>;
186
+ readonly "session.prompt": MessageSignature<import("./messages.ts").SessionPromptCommand>;
187
+ readonly "workspace.list": MessageSignature<Readonly<{
188
+ bindingId: string;
189
+ directoryId: string;
190
+ kind: "workspace.list";
191
+ requestId: string;
192
+ }>>;
193
+ };
194
+ export type ServiceToDaemonMessage = ReturnType<(typeof serviceToDaemonSignatures)[keyof typeof serviceToDaemonSignatures]["decoder"]>;
195
+ export declare function decodeServiceToDaemonMessage(encoded: string): ServiceToDaemonMessage;
196
+ export declare function encodeServiceToDaemonMessage(message: ServiceToDaemonMessage): string;
197
+ declare const daemonToServiceSignatures: {
198
+ readonly "agent.catalog.refreshed": MessageSignature<Readonly<{
199
+ kind: "agent.catalog.refreshed";
200
+ requestId: string;
201
+ }>>;
202
+ readonly "agent.catalog.refresh.failed": MessageSignature<Readonly<{
203
+ code: string;
204
+ kind: "agent.catalog.refresh.failed";
205
+ message: string;
206
+ requestId: string;
207
+ }>>;
208
+ readonly "agent.integration.install.cancelled": MessageSignature<Readonly<{
209
+ agentId: string;
210
+ requestId: string;
211
+ kind: "agent.integration.install.cancelled";
212
+ }>>;
213
+ readonly "agent.integration.install.completed": MessageSignature<Readonly<{
214
+ agentId: string;
215
+ requestId: string;
216
+ authenticationMayBeRequired: boolean;
217
+ kind: "agent.integration.install.completed";
218
+ }>>;
219
+ readonly "agent.integration.install.failed": MessageSignature<Readonly<{
220
+ agentId: string;
221
+ requestId: string;
222
+ code: string;
223
+ kind: "agent.integration.install.failed";
224
+ message: string;
225
+ }>>;
226
+ readonly "agent.integration.install.progress": MessageSignature<Readonly<{
227
+ agentId: string;
228
+ requestId: string;
229
+ kind: "agent.integration.install.progress";
230
+ stage: "checking_acp" | "downloading" | "installing_adapter" | "installing_agent" | "verifying";
231
+ }>>;
232
+ readonly "agent.integration.install.started": MessageSignature<Readonly<{
233
+ agentId: string;
234
+ requestId: string;
235
+ kind: "agent.integration.install.started";
236
+ }>>;
237
+ readonly "agent.settings.discovered": MessageSignature<Readonly<{
238
+ agentId: string;
239
+ agentName: string;
240
+ agentVersion: string;
241
+ kind: "agent.settings.discovered";
242
+ modelEffort: Readonly<{
243
+ effortSettingId: string;
244
+ modelSettingId: string;
245
+ resolution: "complete" | "on_model_selection" | "unavailable";
246
+ unsupportedModelIds: readonly string[];
247
+ valuesByModel: Readonly<Record<string, readonly Readonly<{
248
+ description: string;
249
+ groupId: string;
250
+ groupName: string;
251
+ name: string;
252
+ value: string;
253
+ }>[]>>;
254
+ }>;
255
+ requestId: string;
256
+ settings: readonly Readonly<{
257
+ booleanValue: boolean;
258
+ category: string;
259
+ defaultValue: string;
260
+ description: string;
261
+ id: string;
262
+ name: string;
263
+ type: "boolean" | "select";
264
+ values: readonly Readonly<{
265
+ description: string;
266
+ groupId: string;
267
+ groupName: string;
268
+ name: string;
269
+ value: string;
270
+ }>[];
271
+ }>[];
272
+ settingsRevision: string;
273
+ }>>;
274
+ readonly "agent.settings.discovery.failed": MessageSignature<Readonly<{
275
+ code: string;
276
+ kind: "agent.settings.discovery.failed";
277
+ message: string;
278
+ requestId: string;
279
+ }>>;
280
+ readonly "file.begin": MessageSignature<Readonly<{
281
+ byteLength: number;
282
+ kind: "file.begin";
283
+ mediaType: string;
284
+ modifiedAt: string;
285
+ name: string;
286
+ requestId: string;
287
+ sessionId: string;
288
+ }>>;
289
+ readonly "file.chunk": MessageSignature<Readonly<{
290
+ data: string;
291
+ kind: "file.chunk";
292
+ requestId: string;
293
+ sequence: number;
294
+ sessionId: string;
295
+ }>>;
296
+ readonly "file.end": MessageSignature<Readonly<{
297
+ kind: "file.end";
298
+ requestId: string;
299
+ sessionId: string;
300
+ }>>;
301
+ readonly "file.failed": MessageSignature<Readonly<{
302
+ code: string;
303
+ kind: "file.failed";
304
+ message: string;
305
+ requestId: string;
306
+ sessionId: string;
307
+ }>>;
308
+ readonly "native.session.result": MessageSignature<Readonly<{
309
+ requestId: string;
310
+ sessionId: string;
311
+ kind: "native.session.result";
312
+ action: "find";
313
+ entry: Readonly<{
314
+ entryId: string;
315
+ title: string;
316
+ directoryId: string;
317
+ directoryLabel: string;
318
+ updatedAt: string | null;
319
+ additionalDirectories: readonly Readonly<{
320
+ directoryId: string;
321
+ name: string;
322
+ }>[];
323
+ }>;
324
+ }> | Readonly<{
325
+ requestId: string;
326
+ sessionId: string;
327
+ kind: "native.session.result";
328
+ action: "list";
329
+ capabilities: Readonly<{
330
+ additionalDirectories: boolean;
331
+ audioPrompt: boolean;
332
+ closeSession: boolean;
333
+ deleteSession: boolean;
334
+ embeddedContextPrompt: boolean;
335
+ imagePrompt: boolean;
336
+ listSessions: boolean;
337
+ loadSession: boolean;
338
+ promptQueueing: boolean;
339
+ resumeSession: boolean;
340
+ steering: boolean;
341
+ unstableForkSession: boolean;
342
+ }>;
343
+ entries: readonly Readonly<{
344
+ entryId: string;
345
+ title: string;
346
+ directoryId: string;
347
+ directoryLabel: string;
348
+ updatedAt: string | null;
349
+ additionalDirectories: readonly Readonly<{
350
+ directoryId: string;
351
+ name: string;
352
+ }>[];
353
+ }>[];
354
+ nextCursor: string | null;
355
+ }> | Readonly<{
356
+ requestId: string;
357
+ sessionId: string;
358
+ kind: "native.session.result";
359
+ action: "fork" | "import";
360
+ targetSessionId: string;
361
+ ready: Readonly<{
362
+ additionalDirectories: readonly Readonly<{
363
+ directoryId: string;
364
+ name: string;
365
+ }>[];
366
+ agentId: string;
367
+ agentName: string;
368
+ agentVersion: string;
369
+ capabilities: Readonly<{
370
+ additionalDirectories: boolean;
371
+ audioPrompt: boolean;
372
+ closeSession: boolean;
373
+ deleteSession: boolean;
374
+ embeddedContextPrompt: boolean;
375
+ imagePrompt: boolean;
376
+ listSessions: boolean;
377
+ loadSession: boolean;
378
+ promptQueueing: boolean;
379
+ resumeSession: boolean;
380
+ steering: boolean;
381
+ unstableForkSession: boolean;
382
+ }>;
383
+ commands: readonly Readonly<{
384
+ description: string;
385
+ inputHint: string;
386
+ name: string;
387
+ }>[];
388
+ configOptions: readonly Readonly<{
389
+ booleanValue: boolean;
390
+ category: string;
391
+ currentValue: string;
392
+ description: string;
393
+ id: string;
394
+ name: string;
395
+ type: "boolean" | "select";
396
+ values: readonly Readonly<{
397
+ description: string;
398
+ groupId: string;
399
+ groupName: string;
400
+ name: string;
401
+ value: string;
402
+ }>[];
403
+ }>[];
404
+ directoryId: string;
405
+ directoryLabel: string;
406
+ kind: "session.ready";
407
+ requestId: string;
408
+ restored: boolean;
409
+ runtimeTimings?: readonly Readonly<{
410
+ durationMilliseconds: number;
411
+ name: string;
412
+ }>[] | undefined;
413
+ sessionId: string;
414
+ }>;
415
+ history: Readonly<{
416
+ status: "available";
417
+ messages: readonly (Readonly<{
418
+ role: "user";
419
+ text: string;
420
+ images?: readonly Readonly<{
421
+ data: string;
422
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
423
+ name: string;
424
+ }>[] | undefined;
425
+ }> | Readonly<{
426
+ activities: readonly Readonly<{
427
+ activityId: string;
428
+ activityType: string;
429
+ content: readonly Readonly<{
430
+ artifactId: string;
431
+ data: string;
432
+ mimeType: string;
433
+ name: string;
434
+ newText: string;
435
+ oldText: string;
436
+ path: string;
437
+ terminalId: string;
438
+ text: string;
439
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
440
+ uri: string;
441
+ }>[];
442
+ input: string;
443
+ locations: readonly string[];
444
+ name: string;
445
+ output: string;
446
+ sequence: number;
447
+ status: string;
448
+ title: string;
449
+ toolKind: string;
450
+ }>[];
451
+ content: readonly Readonly<{
452
+ artifactId: string;
453
+ data: string;
454
+ mimeType: string;
455
+ name: string;
456
+ newText: string;
457
+ oldText: string;
458
+ path: string;
459
+ terminalId: string;
460
+ text: string;
461
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
462
+ uri: string;
463
+ }>[];
464
+ role: "assistant";
465
+ text: string;
466
+ images?: readonly Readonly<{
467
+ data: string;
468
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
469
+ name: string;
470
+ }>[] | undefined;
471
+ }>)[];
472
+ truncated: boolean;
473
+ coveredCommandIds: readonly string[];
474
+ coveredMessageIds: readonly string[];
475
+ }> | Readonly<{
476
+ status: "unavailable";
477
+ cause: Readonly<{
478
+ code: string;
479
+ message: string;
480
+ }>;
481
+ }>;
482
+ title: string;
483
+ }> | Readonly<{
484
+ requestId: string;
485
+ sessionId: string;
486
+ kind: "native.session.result";
487
+ action: "preview";
488
+ entryId: string;
489
+ targetSessionId: string;
490
+ reason: "continuation_unavailable" | "requested";
491
+ history: Readonly<{
492
+ status: "available";
493
+ messages: readonly (Readonly<{
494
+ role: "user";
495
+ text: string;
496
+ images?: readonly Readonly<{
497
+ data: string;
498
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
499
+ name: string;
500
+ }>[] | undefined;
501
+ }> | Readonly<{
502
+ activities: readonly Readonly<{
503
+ activityId: string;
504
+ activityType: string;
505
+ content: readonly Readonly<{
506
+ artifactId: string;
507
+ data: string;
508
+ mimeType: string;
509
+ name: string;
510
+ newText: string;
511
+ oldText: string;
512
+ path: string;
513
+ terminalId: string;
514
+ text: string;
515
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
516
+ uri: string;
517
+ }>[];
518
+ input: string;
519
+ locations: readonly string[];
520
+ name: string;
521
+ output: string;
522
+ sequence: number;
523
+ status: string;
524
+ title: string;
525
+ toolKind: string;
526
+ }>[];
527
+ content: readonly Readonly<{
528
+ artifactId: string;
529
+ data: string;
530
+ mimeType: string;
531
+ name: string;
532
+ newText: string;
533
+ oldText: string;
534
+ path: string;
535
+ terminalId: string;
536
+ text: string;
537
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
538
+ uri: string;
539
+ }>[];
540
+ role: "assistant";
541
+ text: string;
542
+ images?: readonly Readonly<{
543
+ data: string;
544
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
545
+ name: string;
546
+ }>[] | undefined;
547
+ }>)[];
548
+ truncated: boolean;
549
+ coveredCommandIds: readonly string[];
550
+ coveredMessageIds: readonly string[];
551
+ }> | Readonly<{
552
+ status: "unavailable";
553
+ cause: Readonly<{
554
+ code: string;
555
+ message: string;
556
+ }>;
557
+ }>;
558
+ title: string;
559
+ }> | Readonly<{
560
+ requestId: string;
561
+ sessionId: string;
562
+ kind: "native.session.result";
563
+ action: "delete";
564
+ entryId: string;
565
+ deletedSessionIds: readonly string[];
566
+ }>>;
567
+ readonly "runtime.delivery.received": MessageSignature<import("./messages.ts").RuntimeDeliveryReceived>;
568
+ readonly "runtime.heartbeat": MessageSignature<import("./messages.ts").RuntimeHeartbeatEvent>;
569
+ readonly "session.event": MessageSignature<Readonly<{
570
+ eventId: string;
571
+ kind: "session.event";
572
+ payload: string;
573
+ sessionId: string;
574
+ source: Readonly<{
575
+ attemptId: string;
576
+ kind: "attempt";
577
+ sourceSeq: string;
578
+ }> | Readonly<{
579
+ kind: "runtime";
580
+ sourceSeq: string;
581
+ }>;
582
+ }>>;
583
+ readonly "session.operation.failed": MessageSignature<Readonly<{
584
+ code: string;
585
+ kind: "session.operation.failed";
586
+ message: string;
587
+ requestId: string;
588
+ runtimeTimings?: readonly Readonly<{
589
+ durationMilliseconds: number;
590
+ name: string;
591
+ }>[] | undefined;
592
+ sessionId: string;
593
+ }>>;
594
+ readonly "session.live-history.loaded": MessageSignature<Readonly<{
595
+ history: Readonly<{
596
+ status: "available";
597
+ messages: readonly (Readonly<{
598
+ role: "user";
599
+ text: string;
600
+ images?: readonly Readonly<{
601
+ data: string;
602
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
603
+ name: string;
604
+ }>[] | undefined;
605
+ }> | Readonly<{
606
+ activities: readonly Readonly<{
607
+ activityId: string;
608
+ activityType: string;
609
+ content: readonly Readonly<{
610
+ artifactId: string;
611
+ data: string;
612
+ mimeType: string;
613
+ name: string;
614
+ newText: string;
615
+ oldText: string;
616
+ path: string;
617
+ terminalId: string;
618
+ text: string;
619
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
620
+ uri: string;
621
+ }>[];
622
+ input: string;
623
+ locations: readonly string[];
624
+ name: string;
625
+ output: string;
626
+ sequence: number;
627
+ status: string;
628
+ title: string;
629
+ toolKind: string;
630
+ }>[];
631
+ content: readonly Readonly<{
632
+ artifactId: string;
633
+ data: string;
634
+ mimeType: string;
635
+ name: string;
636
+ newText: string;
637
+ oldText: string;
638
+ path: string;
639
+ terminalId: string;
640
+ text: string;
641
+ type: "diff" | "image" | "resource" | "resource_link" | "terminal" | "text" | "video";
642
+ uri: string;
643
+ }>[];
644
+ role: "assistant";
645
+ text: string;
646
+ images?: readonly Readonly<{
647
+ data: string;
648
+ mimeType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
649
+ name: string;
650
+ }>[] | undefined;
651
+ }>)[];
652
+ truncated: boolean;
653
+ coveredCommandIds: readonly string[];
654
+ coveredMessageIds: readonly string[];
655
+ }> | Readonly<{
656
+ status: "unavailable";
657
+ cause: Readonly<{
658
+ code: string;
659
+ message: string;
660
+ }>;
661
+ }>;
662
+ kind: "session.live-history.loaded";
663
+ requestId: string;
664
+ sessionId: string;
665
+ }>>;
666
+ readonly "session.ready": MessageSignature<Readonly<{
667
+ additionalDirectories: readonly Readonly<{
668
+ directoryId: string;
669
+ name: string;
670
+ }>[];
671
+ agentId: string;
672
+ agentName: string;
673
+ agentVersion: string;
674
+ capabilities: Readonly<{
675
+ additionalDirectories: boolean;
676
+ audioPrompt: boolean;
677
+ closeSession: boolean;
678
+ deleteSession: boolean;
679
+ embeddedContextPrompt: boolean;
680
+ imagePrompt: boolean;
681
+ listSessions: boolean;
682
+ loadSession: boolean;
683
+ promptQueueing: boolean;
684
+ resumeSession: boolean;
685
+ steering: boolean;
686
+ unstableForkSession: boolean;
687
+ }>;
688
+ commands: readonly Readonly<{
689
+ description: string;
690
+ inputHint: string;
691
+ name: string;
692
+ }>[];
693
+ configOptions: readonly Readonly<{
694
+ booleanValue: boolean;
695
+ category: string;
696
+ currentValue: string;
697
+ description: string;
698
+ id: string;
699
+ name: string;
700
+ type: "boolean" | "select";
701
+ values: readonly Readonly<{
702
+ description: string;
703
+ groupId: string;
704
+ groupName: string;
705
+ name: string;
706
+ value: string;
707
+ }>[];
708
+ }>[];
709
+ directoryId: string;
710
+ directoryLabel: string;
711
+ kind: "session.ready";
712
+ requestId: string;
713
+ restored: boolean;
714
+ runtimeTimings?: readonly Readonly<{
715
+ durationMilliseconds: number;
716
+ name: string;
717
+ }>[] | undefined;
718
+ sessionId: string;
719
+ }>>;
720
+ readonly "workspace.entries": MessageSignature<Readonly<{
721
+ bindingId: string;
722
+ directoryId: string;
723
+ directoryLabel: string;
724
+ entries: readonly Readonly<{
725
+ directoryId: string;
726
+ name: string;
727
+ }>[];
728
+ kind: "workspace.entries";
729
+ parentDirectoryId: string;
730
+ requestId: string;
731
+ }>>;
732
+ };
733
+ export type DaemonToServiceMessage = ReturnType<(typeof daemonToServiceSignatures)[keyof typeof daemonToServiceSignatures]["decoder"]>;
734
+ export declare function decodeDaemonToServiceMessage(encoded: string): DaemonToServiceMessage;
735
+ export declare function encodeDaemonToServiceMessage(message: DaemonToServiceMessage): string;
736
+ export {};
737
+ //# sourceMappingURL=daemon-transport.d.ts.map