@vitejs/devtools 0.0.0-alpha.26 → 0.0.0-alpha.28

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.
Files changed (30) hide show
  1. package/dist/{DockIcon-guXN-Dg1.js → DockIcon-BfVdt_M0.js} +28 -30
  2. package/dist/{ViewBuiltinLogs-CSFcoXHM.js → ViewBuiltinLogs-C8wFxIxg.js} +2 -2
  3. package/dist/{ViewBuiltinTerminals-Cojpb-fR.js → ViewBuiltinTerminals-CrBOq_Ni.js} +609 -613
  4. package/dist/cli-commands.js +65 -2
  5. package/dist/cli.js +2 -2
  6. package/dist/client/inject.js +3 -3
  7. package/dist/client/standalone/assets/ViewBuiltinLogs-CYvdMq-7.js +1 -0
  8. package/dist/client/standalone/assets/{ViewBuiltinTerminals-C2zjH4Eh.js → ViewBuiltinTerminals-B9l9XmES.js} +3 -3
  9. package/dist/client/standalone/assets/index-DWC0UjCz.js +2 -0
  10. package/dist/client/standalone/assets/index-DzhHPm4X.css +1 -0
  11. package/dist/client/standalone/index.html +2 -2
  12. package/dist/client/webcomponents.d.ts +1447 -2
  13. package/dist/client/webcomponents.js +38 -56
  14. package/dist/dirs.js +7 -1
  15. package/dist/{dist-DMSdRXqd.js → dist-BpFPAu5f.js} +5 -6
  16. package/dist/{docks-DMCIffwx.js → docks-CYaKLVhQ.js} +1 -1
  17. package/dist/index.d.ts +168 -17
  18. package/dist/index.js +1 -1
  19. package/dist/plugins-BbzqUdpu.js +3038 -0
  20. package/dist/standalone-DVh1a9tu.js +34 -0
  21. package/dist/{vue.runtime.esm-bundler-fEVOOaBD.js → vue.runtime.esm-bundler-DL0i8o0W.js} +199 -189
  22. package/package.json +14 -15
  23. package/dist/cli-commands-DTrA5QU8.js +0 -97
  24. package/dist/client/standalone/assets/ViewBuiltinLogs-C4iyfEw1.js +0 -1
  25. package/dist/client/standalone/assets/index-BlqhxxEb.js +0 -2
  26. package/dist/client/standalone/assets/index-DR7GNsjy.css +0 -1
  27. package/dist/dirs-C0s1Ghvy.js +0 -9
  28. package/dist/index-DqO60P8I.d.ts +0 -576
  29. package/dist/plugins-CJzaRd9B.js +0 -2373
  30. /package/dist/{export-helper-Dw-qygE5.js → export-helper-DjM8b2QE.js} +0 -0
@@ -1,576 +0,0 @@
1
- import { Plugin, ResolvedConfig, ViteDevServer } from "vite";
2
- import { RpcDefinitionsToFunctions, RpcFunctionsCollector, RpcFunctionsCollectorBase } from "birpc-x";
3
- import "node:http";
4
- import { Raw } from "vue";
5
- import { BirpcReturn } from "birpc";
6
- import { WebSocket } from "ws";
7
- import { Patch, Patch as SharedStatePatch } from "immer";
8
- import { ChildProcess } from "node:child_process";
9
-
10
- //#region ../kit/src/types/events.d.ts
11
- interface EventsMap {
12
- [event: string]: any;
13
- }
14
- interface EventUnsubscribe {
15
- (): void;
16
- }
17
- interface EventEmitter<Events extends EventsMap> {
18
- /**
19
- * Calls each of the listeners registered for a given event.
20
- *
21
- * ```js
22
- * ee.emit('tick', tickType, tickDuration)
23
- * ```
24
- *
25
- * @param event The event name.
26
- * @param args The arguments for listeners.
27
- */
28
- emit: <K extends keyof Events>(event: K, ...args: Parameters<Events[K]>) => void;
29
- /**
30
- * Calls the listeners for a given event once and then removes the listener.
31
- *
32
- * @param event The event name.
33
- * @param args The arguments for listeners.
34
- */
35
- emitOnce: <K extends keyof Events>(event: K, ...args: Parameters<Events[K]>) => void;
36
- /**
37
- * Event names in keys and arrays with listeners in values.
38
- *
39
- * @internal
40
- */
41
- _listeners: Partial<{ [E in keyof Events]: Events[E][] }>;
42
- /**
43
- * Add a listener for a given event.
44
- *
45
- * ```js
46
- * const unbind = ee.on('tick', (tickType, tickDuration) => {
47
- * count += 1
48
- * })
49
- *
50
- * disable () {
51
- * unbind()
52
- * }
53
- * ```
54
- *
55
- * @param event The event name.
56
- * @param cb The listener function.
57
- * @returns Unbind listener from event.
58
- */
59
- on: <K extends keyof Events>(event: K, cb: Events[K]) => EventUnsubscribe;
60
- /**
61
- * Add a listener for a given event once.
62
- *
63
- * ```js
64
- * const unbind = ee.once('tick', (tickType, tickDuration) => {
65
- * count += 1
66
- * })
67
- *
68
- * disable () {
69
- * unbind()
70
- * }
71
- * ```
72
- *
73
- * @param event The event name.
74
- * @param cb The listener function.
75
- * @returns Unbind listener from event.
76
- */
77
- once: <K extends keyof Events>(event: K, cb: Events[K]) => EventUnsubscribe;
78
- }
79
- //#endregion
80
- //#region ../kit/src/types/docks.d.ts
81
- interface DevToolsDockHost {
82
- readonly views: Map<string, DevToolsDockUserEntry>;
83
- readonly events: EventEmitter<{
84
- 'dock:entry:updated': (entry: DevToolsDockUserEntry) => void;
85
- }>;
86
- register: <T extends DevToolsDockUserEntry>(entry: T, force?: boolean) => {
87
- update: (patch: Partial<T>) => void;
88
- };
89
- update: (entry: DevToolsDockUserEntry) => void;
90
- values: (options?: {
91
- includeBuiltin?: boolean;
92
- }) => DevToolsDockEntry[];
93
- }
94
- type DevToolsDockEntryCategory = 'app' | 'framework' | 'web' | 'advanced' | 'default' | '~viteplus' | '~builtin';
95
- type DevToolsDockEntryIcon = string | {
96
- light: string;
97
- dark: string;
98
- };
99
- interface DevToolsDockEntryBase {
100
- id: string;
101
- title: string;
102
- icon: DevToolsDockEntryIcon;
103
- /**
104
- * The default order of the entry in the dock.
105
- * The higher the number the earlier it appears.
106
- * @default 0
107
- */
108
- defaultOrder?: number;
109
- /**
110
- * The category of the entry
111
- * @default 'default'
112
- */
113
- category?: DevToolsDockEntryCategory;
114
- /**
115
- * Whether the entry should be hidden from the user.
116
- * @default false
117
- */
118
- isHidden?: boolean;
119
- }
120
- interface ClientScriptEntry {
121
- /**
122
- * The filepath or module name to import from
123
- */
124
- importFrom: string;
125
- /**
126
- * The name to import the module as
127
- *
128
- * @default 'default'
129
- */
130
- importName?: string;
131
- }
132
- interface DevToolsViewIframe extends DevToolsDockEntryBase {
133
- type: 'iframe';
134
- url: string;
135
- /**
136
- * The id of the iframe, if multiple tabs is assigned with the same id, the iframe will be shared.
137
- *
138
- * When not provided, it would be treated as a unique frame.
139
- */
140
- frameId?: string;
141
- /**
142
- * Optional client script to import into the iframe
143
- */
144
- clientScript?: ClientScriptEntry;
145
- }
146
- type DevToolsViewLauncherStatus = 'idle' | 'loading' | 'success' | 'error';
147
- interface DevToolsViewLauncher extends DevToolsDockEntryBase {
148
- type: 'launcher';
149
- launcher: {
150
- icon?: DevToolsDockEntryIcon;
151
- title: string;
152
- status?: DevToolsViewLauncherStatus;
153
- error?: string;
154
- description?: string;
155
- buttonStart?: string;
156
- buttonLoading?: string;
157
- onLaunch: () => Promise<void>;
158
- };
159
- }
160
- interface DevToolsViewAction extends DevToolsDockEntryBase {
161
- type: 'action';
162
- action: ClientScriptEntry;
163
- }
164
- interface DevToolsViewCustomRender extends DevToolsDockEntryBase {
165
- type: 'custom-render';
166
- renderer: ClientScriptEntry;
167
- }
168
- interface DevToolsViewBuiltin extends DevToolsDockEntryBase {
169
- type: '~builtin';
170
- id: '~terminals' | '~logs' | '~client-auth-notice' | '~settings';
171
- }
172
- type DevToolsDockUserEntry = DevToolsViewIframe | DevToolsViewAction | DevToolsViewCustomRender | DevToolsViewLauncher;
173
- type DevToolsDockEntry = DevToolsDockUserEntry | DevToolsViewBuiltin;
174
- //#endregion
175
- //#region ../rpc/src/presets/ws/server.d.ts
176
- interface DevToolsNodeRpcSessionMeta {
177
- id: number;
178
- ws?: WebSocket;
179
- clientAuthId?: string;
180
- isTrusted?: boolean;
181
- subscribedStates: Set<string>;
182
- }
183
- //#endregion
184
- //#region ../kit/src/utils/shared-state.d.ts
185
- type ImmutablePrimitive = undefined | null | boolean | string | number | Function;
186
- type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ImmutableArray<U> : T extends Map<infer K, infer V> ? ImmutableMap<K, V> : T extends Set<infer M> ? ImmutableSet<M> : ImmutableObject<T>;
187
- type ImmutableArray<T> = ReadonlyArray<Immutable<T>>;
188
- type ImmutableMap<K, V> = ReadonlyMap<Immutable<K>, Immutable<V>>;
189
- type ImmutableSet<T> = ReadonlySet<Immutable<T>>;
190
- type ImmutableObject<T> = { readonly [K in keyof T]: Immutable<T[K]> };
191
- /**
192
- * State host that is immutable by default with explicit mutate.
193
- */
194
- interface SharedState<T> {
195
- /**
196
- * Get the current state. Immutable.
197
- */
198
- value: () => Immutable<T>;
199
- /**
200
- * Subscribe to state changes.
201
- */
202
- on: EventEmitter<SharedStateEvents<T>>['on'];
203
- /**
204
- * Mutate the state.
205
- */
206
- mutate: (fn: (state: T) => void, syncId?: string) => void;
207
- /**
208
- * Apply patches to the state.
209
- */
210
- patch: (patches: Patch[], syncId?: string) => void;
211
- /**
212
- * Sync IDs that have been applied to the state.
213
- */
214
- syncIds: Set<string>;
215
- }
216
- interface SharedStateEvents<T> {
217
- updated: (fullState: T, patches: Patch[] | undefined, syncId: string) => void;
218
- }
219
- //#endregion
220
- //#region ../kit/src/types/rpc-augments.d.ts
221
- /**
222
- * To be extended
223
- */
224
- interface DevToolsRpcClientFunctions {}
225
- /**
226
- * To be extended
227
- */
228
- interface DevToolsRpcServerFunctions {}
229
- /**
230
- * To be extended
231
- */
232
- interface DevToolsRpcSharedStates {}
233
- //#endregion
234
- //#region ../kit/src/types/terminals.d.ts
235
- interface DevToolsTerminalSessionStreamChunkEvent {
236
- id: string;
237
- chunks: string[];
238
- ts: number;
239
- }
240
- interface DevToolsTerminalHost {
241
- readonly sessions: Map<string, DevToolsTerminalSession>;
242
- readonly events: EventEmitter<{
243
- 'terminal:session:updated': (session: DevToolsTerminalSession) => void;
244
- 'terminal:session:stream-chunk': (data: DevToolsTerminalSessionStreamChunkEvent) => void;
245
- }>;
246
- register: (session: DevToolsTerminalSession) => DevToolsTerminalSession;
247
- update: (session: DevToolsTerminalSession) => void;
248
- startChildProcess: (executeOptions: DevToolsChildProcessExecuteOptions, terminal: Omit<DevToolsTerminalSessionBase, 'status'>) => Promise<DevToolsChildProcessTerminalSession>;
249
- }
250
- type DevToolsTerminalStatus = 'running' | 'stopped' | 'error';
251
- interface DevToolsTerminalSessionBase {
252
- id: string;
253
- title: string;
254
- description?: string;
255
- status: DevToolsTerminalStatus;
256
- icon?: DevToolsDockEntryIcon;
257
- }
258
- interface DevToolsTerminalSession extends DevToolsTerminalSessionBase {
259
- buffer?: string[];
260
- stream?: ReadableStream<string>;
261
- }
262
- interface DevToolsChildProcessExecuteOptions {
263
- command: string;
264
- args: string[];
265
- cwd?: string;
266
- env?: Record<string, string>;
267
- }
268
- interface DevToolsChildProcessTerminalSession extends DevToolsTerminalSession {
269
- type: 'child-process';
270
- executeOptions: DevToolsChildProcessExecuteOptions;
271
- getChildProcess: () => ChildProcess | undefined;
272
- terminate: () => Promise<void>;
273
- restart: () => Promise<void>;
274
- }
275
- //#endregion
276
- //#region ../kit/src/types/views.d.ts
277
- interface DevToolsViewHost {
278
- /**
279
- * @internal
280
- */
281
- buildStaticDirs: {
282
- baseUrl: string;
283
- distDir: string;
284
- }[];
285
- /**
286
- * Helper to host static files
287
- * - In `dev` mode, it will register middleware to `viteServer.middlewares` to host the static files
288
- * - In `build` mode, it will copy the static files to the dist directory
289
- */
290
- hostStatic: (baseUrl: string, distDir: string) => void;
291
- }
292
- //#endregion
293
- //#region ../kit/src/types/vite-plugin.d.ts
294
- interface DevToolsCapabilities {
295
- rpc?: boolean;
296
- views?: boolean;
297
- }
298
- interface DevToolsPluginOptions {
299
- capabilities?: {
300
- dev?: DevToolsCapabilities | boolean;
301
- build?: DevToolsCapabilities | boolean;
302
- };
303
- setup: (context: DevToolsNodeContext) => void | Promise<void>;
304
- }
305
- interface DevToolsNodeContext {
306
- /**
307
- * Workspace root directory of Vite DevTools
308
- */
309
- readonly workspaceRoot: string;
310
- /**
311
- * Current working directory of Vite DevTools
312
- */
313
- readonly cwd: string;
314
- /**
315
- * Current mode of Vite DevTools
316
- * - 'dev' - when Vite DevTools is running in dev mode
317
- * - 'build' - when Vite DevTools is running in build mode (no server)
318
- */
319
- readonly mode: 'dev' | 'build';
320
- /**
321
- * Resolved Vite configuration
322
- */
323
- readonly viteConfig: ResolvedConfig;
324
- /**
325
- * Vite dev server instance (only available in dev mode)
326
- */
327
- readonly viteServer?: ViteDevServer;
328
- /**
329
- * RPC functions host, for registering server-side RPC functions and calling client-side RPC functions
330
- */
331
- rpc: RpcFunctionsHost;
332
- /**
333
- * Docks host, for registering dock entries
334
- */
335
- docks: DevToolsDockHost;
336
- /**
337
- * Views host, for registering static views
338
- */
339
- views: DevToolsViewHost;
340
- /**
341
- * Utils for the node context
342
- */
343
- utils: DevToolsNodeUtils;
344
- /**
345
- * Terminals host, for registering terminal sessions and streaming terminal output
346
- */
347
- terminals: DevToolsTerminalHost;
348
- }
349
- interface DevToolsNodeUtils {
350
- /**
351
- * Create a simple client script from a function or stringified code
352
- *
353
- * @deprecated DO NOT USE. This is mostly for testing only. Please use a proper importable module instead.
354
- * @experimental
355
- */
356
- createSimpleClientScript: (fn: string | ((ctx: DockClientScriptContext) => void)) => ClientScriptEntry;
357
- }
358
- interface ConnectionMeta {
359
- backend: 'websocket' | 'static';
360
- websocket?: number | string;
361
- }
362
- //#endregion
363
- //#region ../kit/src/types/rpc.d.ts
364
- interface DevToolsNodeRpcSession {
365
- meta: DevToolsNodeRpcSessionMeta;
366
- rpc: BirpcReturn<DevToolsRpcClientFunctions, DevToolsRpcServerFunctions, false>;
367
- }
368
- interface RpcBroadcastOptions<METHOD, Args extends any[]> {
369
- method: METHOD;
370
- args: Args;
371
- optional?: boolean;
372
- event?: boolean;
373
- filter?: (client: BirpcReturn<DevToolsRpcClientFunctions, DevToolsRpcServerFunctions, false>) => boolean | void;
374
- }
375
- type RpcFunctionsHost = RpcFunctionsCollectorBase<DevToolsRpcServerFunctions, DevToolsNodeContext> & {
376
- /**
377
- * Broadcast a message to all connected clients
378
- */
379
- broadcast: <T extends keyof DevToolsRpcClientFunctions, Args extends Parameters<DevToolsRpcClientFunctions[T]>>(options: RpcBroadcastOptions<T, Args>) => Promise<void>;
380
- /**
381
- * Get the current RPC client
382
- *
383
- * Available in RPC functions to get the current RPC client
384
- */
385
- getCurrentRpcSession: () => DevToolsNodeRpcSession | undefined;
386
- /**
387
- * The shared state host
388
- */
389
- sharedState: RpcSharedStateHost;
390
- };
391
- interface RpcSharedStateGetOptions<T> {
392
- sharedState?: SharedState<T>;
393
- initialValue?: T;
394
- }
395
- interface RpcSharedStateHost {
396
- get: <T extends keyof DevToolsRpcSharedStates>(key: T, options?: RpcSharedStateGetOptions<DevToolsRpcSharedStates[T]>) => Promise<SharedState<DevToolsRpcSharedStates[T]>>;
397
- }
398
- //#endregion
399
- //#region ../kit/src/types/settings.d.ts
400
- interface DevToolsDocksUserSettings {
401
- docksHidden: string[];
402
- docksCategoriesHidden: string[];
403
- docksPinned: string[];
404
- docksCustomOrder: Record<string, number>;
405
- showIframeAddressBar: boolean;
406
- }
407
- //#endregion
408
- //#region ../kit/src/types/vite-augment.d.ts
409
- declare module 'vite' {
410
- interface Plugin {
411
- devtools?: DevToolsPluginOptions;
412
- }
413
- interface UserConfig {
414
- devtools?: ViteConfigDevtoolsOptions;
415
- }
416
- }
417
- interface ViteConfigDevtoolsOptions {
418
- /**
419
- * Disable client authentication.
420
- *
421
- * Beware that if you disable client authentication,
422
- * any browsers can connect to the devtools and access to your server and filesystem.
423
- * (including other devices, if you open server `host` option to LAN or WAN)
424
- *
425
- * @default true
426
- */
427
- clientAuth?: boolean;
428
- }
429
- //#endregion
430
- //#region src/client/webcomponents/state/dock-settings.d.ts
431
- type DevToolsDockEntriesGrouped = [category: string, entries: DevToolsDockEntry[]][];
432
- //#endregion
433
- //#region ../kit/src/client/rpc.d.ts
434
- interface DevToolsRpcClient {
435
- /**
436
- * The events of the client
437
- */
438
- events: EventEmitter<RpcClientEvents>;
439
- /**
440
- * Whether the client is trusted
441
- */
442
- readonly isTrusted: boolean | null;
443
- /**
444
- * The connection meta
445
- */
446
- readonly connectionMeta: ConnectionMeta;
447
- /**
448
- * Return a promise that resolves when the client is trusted
449
- *
450
- * Rejects with an error if the timeout is reached
451
- *
452
- * @param timeout - The timeout in milliseconds, default to 60 seconds
453
- */
454
- ensureTrusted: (timeout?: number) => Promise<boolean>;
455
- /**
456
- * Request trust from the server
457
- */
458
- requestTrust: () => Promise<boolean>;
459
- /**
460
- * Call a RPC function on the server
461
- */
462
- call: BirpcReturn<DevToolsRpcServerFunctions, DevToolsRpcClientFunctions>['$call'];
463
- /**
464
- * Call a RPC event on the server, and does not expect a response
465
- */
466
- callEvent: BirpcReturn<DevToolsRpcServerFunctions, DevToolsRpcClientFunctions>['$callEvent'];
467
- /**
468
- * Call a RPC optional function on the server
469
- */
470
- callOptional: BirpcReturn<DevToolsRpcServerFunctions, DevToolsRpcClientFunctions>['$callOptional'];
471
- /**
472
- * The client RPC host
473
- */
474
- client: DevToolsClientRpcHost;
475
- /**
476
- * The shared state host
477
- */
478
- sharedState: RpcSharedStateHost;
479
- }
480
- //#endregion
481
- //#region ../kit/src/client/docks.d.ts
482
- interface DockPanelStorage {
483
- width: number;
484
- height: number;
485
- top: number;
486
- left: number;
487
- position: 'left' | 'right' | 'bottom' | 'top';
488
- open: boolean;
489
- inactiveTimeout: number;
490
- }
491
- interface DevToolsClientContext {
492
- /**
493
- * The RPC client to interact with the server
494
- */
495
- readonly rpc: DevToolsRpcClient;
496
- }
497
- interface DocksContext extends DevToolsClientContext {
498
- /**
499
- * Type of the client environment
500
- *
501
- * 'embedded' - running inside an embedded floating panel
502
- * 'standalone' - running inside a standalone window (no user app)
503
- */
504
- readonly clientType: 'embedded' | 'standalone';
505
- /**
506
- * The panel context
507
- */
508
- readonly panel: DocksPanelContext;
509
- /**
510
- * The docks entries context
511
- */
512
- readonly docks: DocksEntriesContext;
513
- }
514
- type DevToolsClientRpcHost = RpcFunctionsCollector<DevToolsRpcClientFunctions, DevToolsClientContext>;
515
- interface DocksPanelContext {
516
- store: DockPanelStorage;
517
- isDragging: boolean;
518
- isResizing: boolean;
519
- readonly isVertical: boolean;
520
- }
521
- interface DocksEntriesContext {
522
- selectedId: string | null;
523
- readonly selected: DevToolsDockEntry | null;
524
- entries: DevToolsDockEntry[];
525
- entryToStateMap: Map<string, DockEntryState>;
526
- groupedEntries: DevToolsDockEntriesGrouped;
527
- settings: SharedState<DevToolsDocksUserSettings>;
528
- /**
529
- * Get the state of a dock entry by its ID
530
- */
531
- getStateById: (id: string) => DockEntryState | undefined;
532
- /**
533
- * Switch to the selected dock entry, pass `null` to clear the selection
534
- *
535
- * @returns Whether the selection was changed successfully
536
- */
537
- switchEntry: (id?: string | null) => Promise<boolean>;
538
- /**
539
- * Toggle the selected dock entry
540
- *
541
- * @returns Whether the selection was changed successfully
542
- */
543
- toggleEntry: (id: string) => Promise<boolean>;
544
- }
545
- interface DockEntryState {
546
- entryMeta: DevToolsDockEntry;
547
- readonly isActive: boolean;
548
- domElements: {
549
- iframe?: HTMLIFrameElement | null;
550
- panel?: HTMLDivElement | null;
551
- };
552
- events: Raw<EventEmitter<DockEntryStateEvents>>;
553
- }
554
- interface DockEntryStateEvents {
555
- 'entry:activated': () => void;
556
- 'entry:deactivated': () => void;
557
- 'entry:updated': (newMeta: DevToolsDockUserEntry) => void;
558
- 'dom:panel:mounted': (panel: HTMLDivElement) => void;
559
- 'dom:iframe:mounted': (iframe: HTMLIFrameElement) => void;
560
- }
561
- interface RpcClientEvents {
562
- 'rpc:is-trusted:updated': (isTrusted: boolean) => void;
563
- }
564
- //#endregion
565
- //#region ../kit/src/client/client-script.d.ts
566
- /**
567
- * Context for client scripts running in dock entries
568
- */
569
- interface DockClientScriptContext extends DocksContext {
570
- /**
571
- * The state of the current dock entry
572
- */
573
- current: DockEntryState;
574
- }
575
- //#endregion
576
- export { RpcDefinitionsToFunctions as a, DevToolsNodeContext as c, DevToolsRpcClientFunctions as d, DevToolsRpcServerFunctions as f, DevToolsDockEntry as h, DevToolsRpcClient as i, DevToolsTerminalSessionBase as l, SharedStatePatch as m, DockPanelStorage as n, DevToolsDocksUserSettings as o, SharedState as p, DocksContext as r, ConnectionMeta as s, DockEntryState as t, DevToolsTerminalSessionStreamChunkEvent as u };