@devframes/plugin-terminals 0.6.0-beta.1 → 0.6.0-beta.3

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/index.d.mts CHANGED
@@ -25,4 +25,4 @@ declare function createTerminalsDevframe(options?: TerminalsOptions): DevframeDe
25
25
  /** Default-configured terminals devframe (interactive shell, no presets). */
26
26
  declare const terminals: DevframeDefinition;
27
27
  //#endregion
28
- export { DEFAULT_PORT, PLUGIN_ID, PRESETS_STATE_KEY, SESSIONS_STATE_KEY, SpawnRequest, TERMINAL_STREAM_CHANNEL, TerminalBackend, TerminalMode, TerminalPreset, TerminalSessionInfo, TerminalStatus, TerminalsOptions, TerminalsSharedState, createTerminalsDevframe, terminals as default };
28
+ export { DEFAULT_PORT, PLUGIN_ID, PRESETS_STATE_KEY, SESSIONS_STATE_KEY, type SpawnRequest, TERMINAL_STREAM_CHANNEL, type TerminalBackend, type TerminalMode, type TerminalPreset, type TerminalSessionInfo, type TerminalStatus, type TerminalsOptions, type TerminalsSharedState, createTerminalsDevframe, terminals as default };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as terminals, t as createTerminalsDevframe } from "./src-DLL342d9.mjs";
1
+ import { n as terminals, t as createTerminalsDevframe } from "./src-BeTcK_8Z.mjs";
2
2
  import { DEFAULT_PORT, PLUGIN_ID, PRESETS_STATE_KEY, SESSIONS_STATE_KEY, TERMINAL_STREAM_CHANNEL } from "./constants.mjs";
3
3
  export { DEFAULT_PORT, PLUGIN_ID, PRESETS_STATE_KEY, SESSIONS_STATE_KEY, TERMINAL_STREAM_CHANNEL, createTerminalsDevframe, terminals as default };
@@ -1,6 +1,5 @@
1
1
  import { SpawnRequest, TerminalMode, TerminalPreset, TerminalSessionInfo, TerminalsOptions } from "../types.mjs";
2
2
  import { DevframeNodeContext } from "devframe/types";
3
- import * as _$nostics from "nostics";
4
3
  import { Diagnostic } from "nostics";
5
4
 
6
5
  //#region src/node/manager.d.ts
@@ -102,7 +101,7 @@ declare function reporter(d: Diagnostic, {
102
101
  * `DP_TERMINALS_` prefix per the built-in plugin convention, keeping it
103
102
  * collision-free with devframe core (`DF`) and the hub (`DF8xxx`).
104
103
  */
105
- declare const diagnostics: _$nostics.Diagnostics<{
104
+ declare const diagnostics: import("nostics").Diagnostics<{
106
105
  readonly DP_TERMINALS_0001: {
107
106
  readonly why: (p: {
108
107
  id: string;
@@ -1,7 +1,4 @@
1
1
  import { TerminalPreset, TerminalsSharedState } from "../types.mjs";
2
- import * as _$valibot from "valibot";
3
- import * as _$devframe from "devframe";
4
- import * as _$devframe_rpc0 from "devframe/rpc";
5
2
  import { RpcDefinitionsToFunctions } from "devframe/rpc";
6
3
 
7
4
  //#region src/rpc/index.d.ts
@@ -10,29 +7,29 @@ declare const serverFunctions: readonly [{
10
7
  type?: "query" | undefined;
11
8
  cacheable?: boolean;
12
9
  args: readonly [];
13
- returns: _$valibot.ArraySchema<_$valibot.ObjectSchema<{
14
- readonly id: _$valibot.StringSchema<undefined>;
15
- readonly title: _$valibot.StringSchema<undefined>;
16
- readonly processName: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
17
- readonly customTitle: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
18
- readonly mode: _$valibot.PicklistSchema<["interactive", "readonly"], undefined>;
19
- readonly status: _$valibot.PicklistSchema<["running", "exited", "error"], undefined>;
20
- readonly backend: _$valibot.PicklistSchema<["pty", "pipe"], undefined>;
21
- readonly command: _$valibot.StringSchema<undefined>;
22
- readonly args: _$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>;
23
- readonly cwd: _$valibot.StringSchema<undefined>;
24
- readonly cols: _$valibot.NumberSchema<undefined>;
25
- readonly rows: _$valibot.NumberSchema<undefined>;
26
- readonly pid: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
27
- readonly exitCode: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
28
- readonly icon: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
29
- readonly channel: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
30
- readonly presetId: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
31
- readonly createdAt: _$valibot.NumberSchema<undefined>;
10
+ returns: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
11
+ readonly id: import("valibot").StringSchema<undefined>;
12
+ readonly title: import("valibot").StringSchema<undefined>;
13
+ readonly processName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
14
+ readonly customTitle: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
15
+ readonly mode: import("valibot").PicklistSchema<["interactive", "readonly"], undefined>;
16
+ readonly status: import("valibot").PicklistSchema<["running", "exited", "error"], undefined>;
17
+ readonly backend: import("valibot").PicklistSchema<["pty", "pipe"], undefined>;
18
+ readonly command: import("valibot").StringSchema<undefined>;
19
+ readonly args: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
20
+ readonly cwd: import("valibot").StringSchema<undefined>;
21
+ readonly cols: import("valibot").NumberSchema<undefined>;
22
+ readonly rows: import("valibot").NumberSchema<undefined>;
23
+ readonly pid: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
24
+ readonly exitCode: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
25
+ readonly icon: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
26
+ readonly channel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
27
+ readonly presetId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
28
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
32
29
  }, undefined>, undefined>;
33
30
  jsonSerializable?: boolean;
34
- agent?: _$devframe.RpcFunctionAgentOptions;
35
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
31
+ agent?: import("devframe").RpcFunctionAgentOptions;
32
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
36
33
  id: string;
37
34
  title: string;
38
35
  processName?: string | undefined;
@@ -72,7 +69,7 @@ declare const serverFunctions: readonly [{
72
69
  presetId?: string | undefined;
73
70
  createdAt: number;
74
71
  }[]) | undefined;
75
- dump?: _$devframe_rpc0.RpcDump<[], {
72
+ dump?: import("devframe/rpc").RpcDump<[], {
76
73
  id: string;
77
74
  title: string;
78
75
  processName?: string | undefined;
@@ -91,9 +88,9 @@ declare const serverFunctions: readonly [{
91
88
  channel?: string | undefined;
92
89
  presetId?: string | undefined;
93
90
  createdAt: number;
94
- }[], _$devframe.DevframeNodeContext> | undefined;
91
+ }[], import("devframe").DevframeNodeContext> | undefined;
95
92
  snapshot?: boolean;
96
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
93
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
97
94
  id: string;
98
95
  title: string;
99
96
  processName?: string | undefined;
@@ -113,7 +110,7 @@ declare const serverFunctions: readonly [{
113
110
  presetId?: string | undefined;
114
111
  createdAt: number;
115
112
  }[]>>> | undefined;
116
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
113
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
117
114
  id: string;
118
115
  title: string;
119
116
  processName?: string | undefined;
@@ -138,17 +135,17 @@ declare const serverFunctions: readonly [{
138
135
  type?: "query" | undefined;
139
136
  cacheable?: boolean;
140
137
  args: readonly [];
141
- returns: _$valibot.ArraySchema<_$valibot.ObjectSchema<{
142
- readonly id: _$valibot.StringSchema<undefined>;
143
- readonly title: _$valibot.StringSchema<undefined>;
144
- readonly command: _$valibot.StringSchema<undefined>;
145
- readonly args: _$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>;
146
- readonly mode: _$valibot.PicklistSchema<["interactive", "readonly"], undefined>;
147
- readonly icon: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
138
+ returns: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
139
+ readonly id: import("valibot").StringSchema<undefined>;
140
+ readonly title: import("valibot").StringSchema<undefined>;
141
+ readonly command: import("valibot").StringSchema<undefined>;
142
+ readonly args: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
143
+ readonly mode: import("valibot").PicklistSchema<["interactive", "readonly"], undefined>;
144
+ readonly icon: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
148
145
  }, undefined>, undefined>;
149
146
  jsonSerializable?: boolean;
150
- agent?: _$devframe.RpcFunctionAgentOptions;
151
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
147
+ agent?: import("devframe").RpcFunctionAgentOptions;
148
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
152
149
  id: string;
153
150
  title: string;
154
151
  command: string;
@@ -164,16 +161,16 @@ declare const serverFunctions: readonly [{
164
161
  mode: "interactive" | "readonly";
165
162
  icon?: string | undefined;
166
163
  }[]) | undefined;
167
- dump?: _$devframe_rpc0.RpcDump<[], {
164
+ dump?: import("devframe/rpc").RpcDump<[], {
168
165
  id: string;
169
166
  title: string;
170
167
  command: string;
171
168
  args: string[];
172
169
  mode: "interactive" | "readonly";
173
170
  icon?: string | undefined;
174
- }[], _$devframe.DevframeNodeContext> | undefined;
171
+ }[], import("devframe").DevframeNodeContext> | undefined;
175
172
  snapshot?: boolean;
176
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
173
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
177
174
  id: string;
178
175
  title: string;
179
176
  command: string;
@@ -181,7 +178,7 @@ declare const serverFunctions: readonly [{
181
178
  mode: "interactive" | "readonly";
182
179
  icon?: string | undefined;
183
180
  }[]>>> | undefined;
184
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[], {
181
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], {
185
182
  id: string;
186
183
  title: string;
187
184
  command: string;
@@ -193,40 +190,40 @@ declare const serverFunctions: readonly [{
193
190
  name: "devframes-plugin-terminals:spawn";
194
191
  type?: "action" | undefined;
195
192
  cacheable?: boolean;
196
- args: readonly [_$valibot.ObjectSchema<{
197
- readonly presetId: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
198
- readonly command: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
199
- readonly args: _$valibot.OptionalSchema<_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, undefined>;
200
- readonly cwd: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
201
- readonly mode: _$valibot.OptionalSchema<_$valibot.PicklistSchema<["interactive", "readonly"], undefined>, undefined>;
202
- readonly title: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
203
- readonly cols: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
204
- readonly rows: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
205
- readonly env: _$valibot.OptionalSchema<_$valibot.RecordSchema<_$valibot.StringSchema<undefined>, _$valibot.StringSchema<undefined>, undefined>, undefined>;
193
+ args: readonly [import("valibot").ObjectSchema<{
194
+ readonly presetId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
195
+ readonly command: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
196
+ readonly args: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
197
+ readonly cwd: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
198
+ readonly mode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["interactive", "readonly"], undefined>, undefined>;
199
+ readonly title: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
200
+ readonly cols: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
201
+ readonly rows: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
202
+ readonly env: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").StringSchema<undefined>, undefined>, undefined>;
206
203
  }, undefined>];
207
- returns: _$valibot.ObjectSchema<{
208
- readonly id: _$valibot.StringSchema<undefined>;
209
- readonly title: _$valibot.StringSchema<undefined>;
210
- readonly processName: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
211
- readonly customTitle: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
212
- readonly mode: _$valibot.PicklistSchema<["interactive", "readonly"], undefined>;
213
- readonly status: _$valibot.PicklistSchema<["running", "exited", "error"], undefined>;
214
- readonly backend: _$valibot.PicklistSchema<["pty", "pipe"], undefined>;
215
- readonly command: _$valibot.StringSchema<undefined>;
216
- readonly args: _$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>;
217
- readonly cwd: _$valibot.StringSchema<undefined>;
218
- readonly cols: _$valibot.NumberSchema<undefined>;
219
- readonly rows: _$valibot.NumberSchema<undefined>;
220
- readonly pid: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
221
- readonly exitCode: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
222
- readonly icon: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
223
- readonly channel: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
224
- readonly presetId: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
225
- readonly createdAt: _$valibot.NumberSchema<undefined>;
204
+ returns: import("valibot").ObjectSchema<{
205
+ readonly id: import("valibot").StringSchema<undefined>;
206
+ readonly title: import("valibot").StringSchema<undefined>;
207
+ readonly processName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
208
+ readonly customTitle: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
209
+ readonly mode: import("valibot").PicklistSchema<["interactive", "readonly"], undefined>;
210
+ readonly status: import("valibot").PicklistSchema<["running", "exited", "error"], undefined>;
211
+ readonly backend: import("valibot").PicklistSchema<["pty", "pipe"], undefined>;
212
+ readonly command: import("valibot").StringSchema<undefined>;
213
+ readonly args: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
214
+ readonly cwd: import("valibot").StringSchema<undefined>;
215
+ readonly cols: import("valibot").NumberSchema<undefined>;
216
+ readonly rows: import("valibot").NumberSchema<undefined>;
217
+ readonly pid: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
218
+ readonly exitCode: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
219
+ readonly icon: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
220
+ readonly channel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
221
+ readonly presetId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
222
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
226
223
  }, undefined>;
227
224
  jsonSerializable?: boolean;
228
- agent?: _$devframe.RpcFunctionAgentOptions;
229
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
225
+ agent?: import("devframe").RpcFunctionAgentOptions;
226
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
230
227
  presetId?: string | undefined;
231
228
  command?: string | undefined;
232
229
  args?: string[] | undefined;
@@ -290,7 +287,7 @@ declare const serverFunctions: readonly [{
290
287
  presetId?: string | undefined;
291
288
  createdAt: number;
292
289
  }) | undefined;
293
- dump?: _$devframe_rpc0.RpcDump<[{
290
+ dump?: import("devframe/rpc").RpcDump<[{
294
291
  presetId?: string | undefined;
295
292
  command?: string | undefined;
296
293
  args?: string[] | undefined;
@@ -321,9 +318,9 @@ declare const serverFunctions: readonly [{
321
318
  channel?: string | undefined;
322
319
  presetId?: string | undefined;
323
320
  createdAt: number;
324
- }, _$devframe.DevframeNodeContext> | undefined;
321
+ }, import("devframe").DevframeNodeContext> | undefined;
325
322
  snapshot?: boolean;
326
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
323
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
327
324
  presetId?: string | undefined;
328
325
  command?: string | undefined;
329
326
  args?: string[] | undefined;
@@ -355,7 +352,7 @@ declare const serverFunctions: readonly [{
355
352
  presetId?: string | undefined;
356
353
  createdAt: number;
357
354
  }>>> | undefined;
358
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
355
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
359
356
  presetId?: string | undefined;
360
357
  command?: string | undefined;
361
358
  args?: string[] | undefined;
@@ -391,14 +388,14 @@ declare const serverFunctions: readonly [{
391
388
  name: "devframes-plugin-terminals:write";
392
389
  type?: "action" | undefined;
393
390
  cacheable?: boolean;
394
- args: readonly [_$valibot.ObjectSchema<{
395
- readonly id: _$valibot.StringSchema<undefined>;
396
- readonly data: _$valibot.StringSchema<undefined>;
391
+ args: readonly [import("valibot").ObjectSchema<{
392
+ readonly id: import("valibot").StringSchema<undefined>;
393
+ readonly data: import("valibot").StringSchema<undefined>;
397
394
  }, undefined>];
398
- returns: _$valibot.VoidSchema<undefined>;
395
+ returns: import("valibot").VoidSchema<undefined>;
399
396
  jsonSerializable?: boolean;
400
- agent?: _$devframe.RpcFunctionAgentOptions;
401
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
397
+ agent?: import("devframe").RpcFunctionAgentOptions;
398
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
402
399
  id: string;
403
400
  data: string;
404
401
  }], void>>) | undefined;
@@ -406,16 +403,16 @@ declare const serverFunctions: readonly [{
406
403
  id: string;
407
404
  data: string;
408
405
  }) => void) | undefined;
409
- dump?: _$devframe_rpc0.RpcDump<[{
406
+ dump?: import("devframe/rpc").RpcDump<[{
410
407
  id: string;
411
408
  data: string;
412
- }], void, _$devframe.DevframeNodeContext> | undefined;
409
+ }], void, import("devframe").DevframeNodeContext> | undefined;
413
410
  snapshot?: boolean;
414
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
411
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
415
412
  id: string;
416
413
  data: string;
417
414
  }], void>>> | undefined;
418
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
415
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
419
416
  id: string;
420
417
  data: string;
421
418
  }], void>> | undefined;
@@ -423,15 +420,15 @@ declare const serverFunctions: readonly [{
423
420
  name: "devframes-plugin-terminals:resize";
424
421
  type?: "action" | undefined;
425
422
  cacheable?: boolean;
426
- args: readonly [_$valibot.ObjectSchema<{
427
- readonly id: _$valibot.StringSchema<undefined>;
428
- readonly cols: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.IntegerAction<number, undefined>, _$valibot.MinValueAction<number, 1, undefined>]>;
429
- readonly rows: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.IntegerAction<number, undefined>, _$valibot.MinValueAction<number, 1, undefined>]>;
423
+ args: readonly [import("valibot").ObjectSchema<{
424
+ readonly id: import("valibot").StringSchema<undefined>;
425
+ readonly cols: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
426
+ readonly rows: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
430
427
  }, undefined>];
431
- returns: _$valibot.VoidSchema<undefined>;
428
+ returns: import("valibot").VoidSchema<undefined>;
432
429
  jsonSerializable?: boolean;
433
- agent?: _$devframe.RpcFunctionAgentOptions;
434
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
430
+ agent?: import("devframe").RpcFunctionAgentOptions;
431
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
435
432
  id: string;
436
433
  cols: number;
437
434
  rows: number;
@@ -441,18 +438,18 @@ declare const serverFunctions: readonly [{
441
438
  cols: number;
442
439
  rows: number;
443
440
  }) => void) | undefined;
444
- dump?: _$devframe_rpc0.RpcDump<[{
441
+ dump?: import("devframe/rpc").RpcDump<[{
445
442
  id: string;
446
443
  cols: number;
447
444
  rows: number;
448
- }], void, _$devframe.DevframeNodeContext> | undefined;
445
+ }], void, import("devframe").DevframeNodeContext> | undefined;
449
446
  snapshot?: boolean;
450
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
447
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
451
448
  id: string;
452
449
  cols: number;
453
450
  rows: number;
454
451
  }], void>>> | undefined;
455
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
452
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
456
453
  id: string;
457
454
  cols: number;
458
455
  rows: number;
@@ -461,58 +458,58 @@ declare const serverFunctions: readonly [{
461
458
  name: "devframes-plugin-terminals:terminate";
462
459
  type?: "action" | undefined;
463
460
  cacheable?: boolean;
464
- args: readonly [_$valibot.ObjectSchema<{
465
- readonly id: _$valibot.StringSchema<undefined>;
461
+ args: readonly [import("valibot").ObjectSchema<{
462
+ readonly id: import("valibot").StringSchema<undefined>;
466
463
  }, undefined>];
467
- returns: _$valibot.VoidSchema<undefined>;
464
+ returns: import("valibot").VoidSchema<undefined>;
468
465
  jsonSerializable?: boolean;
469
- agent?: _$devframe.RpcFunctionAgentOptions;
470
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
466
+ agent?: import("devframe").RpcFunctionAgentOptions;
467
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
471
468
  id: string;
472
469
  }], void>>) | undefined;
473
470
  handler?: ((args_0: {
474
471
  id: string;
475
472
  }) => void) | undefined;
476
- dump?: _$devframe_rpc0.RpcDump<[{
473
+ dump?: import("devframe/rpc").RpcDump<[{
477
474
  id: string;
478
- }], void, _$devframe.DevframeNodeContext> | undefined;
475
+ }], void, import("devframe").DevframeNodeContext> | undefined;
479
476
  snapshot?: boolean;
480
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
477
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
481
478
  id: string;
482
479
  }], void>>> | undefined;
483
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
480
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
484
481
  id: string;
485
482
  }], void>> | undefined;
486
483
  }, {
487
484
  name: "devframes-plugin-terminals:restart";
488
485
  type?: "action" | undefined;
489
486
  cacheable?: boolean;
490
- args: readonly [_$valibot.ObjectSchema<{
491
- readonly id: _$valibot.StringSchema<undefined>;
487
+ args: readonly [import("valibot").ObjectSchema<{
488
+ readonly id: import("valibot").StringSchema<undefined>;
492
489
  }, undefined>];
493
- returns: _$valibot.ObjectSchema<{
494
- readonly id: _$valibot.StringSchema<undefined>;
495
- readonly title: _$valibot.StringSchema<undefined>;
496
- readonly processName: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
497
- readonly customTitle: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
498
- readonly mode: _$valibot.PicklistSchema<["interactive", "readonly"], undefined>;
499
- readonly status: _$valibot.PicklistSchema<["running", "exited", "error"], undefined>;
500
- readonly backend: _$valibot.PicklistSchema<["pty", "pipe"], undefined>;
501
- readonly command: _$valibot.StringSchema<undefined>;
502
- readonly args: _$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>;
503
- readonly cwd: _$valibot.StringSchema<undefined>;
504
- readonly cols: _$valibot.NumberSchema<undefined>;
505
- readonly rows: _$valibot.NumberSchema<undefined>;
506
- readonly pid: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
507
- readonly exitCode: _$valibot.OptionalSchema<_$valibot.NumberSchema<undefined>, undefined>;
508
- readonly icon: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
509
- readonly channel: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
510
- readonly presetId: _$valibot.OptionalSchema<_$valibot.StringSchema<undefined>, undefined>;
511
- readonly createdAt: _$valibot.NumberSchema<undefined>;
490
+ returns: import("valibot").ObjectSchema<{
491
+ readonly id: import("valibot").StringSchema<undefined>;
492
+ readonly title: import("valibot").StringSchema<undefined>;
493
+ readonly processName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
494
+ readonly customTitle: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
495
+ readonly mode: import("valibot").PicklistSchema<["interactive", "readonly"], undefined>;
496
+ readonly status: import("valibot").PicklistSchema<["running", "exited", "error"], undefined>;
497
+ readonly backend: import("valibot").PicklistSchema<["pty", "pipe"], undefined>;
498
+ readonly command: import("valibot").StringSchema<undefined>;
499
+ readonly args: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
500
+ readonly cwd: import("valibot").StringSchema<undefined>;
501
+ readonly cols: import("valibot").NumberSchema<undefined>;
502
+ readonly rows: import("valibot").NumberSchema<undefined>;
503
+ readonly pid: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
504
+ readonly exitCode: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
505
+ readonly icon: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
506
+ readonly channel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
507
+ readonly presetId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
508
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
512
509
  }, undefined>;
513
510
  jsonSerializable?: boolean;
514
- agent?: _$devframe.RpcFunctionAgentOptions;
515
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
511
+ agent?: import("devframe").RpcFunctionAgentOptions;
512
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
516
513
  id: string;
517
514
  }], {
518
515
  id: string;
@@ -556,7 +553,7 @@ declare const serverFunctions: readonly [{
556
553
  presetId?: string | undefined;
557
554
  createdAt: number;
558
555
  }) | undefined;
559
- dump?: _$devframe_rpc0.RpcDump<[{
556
+ dump?: import("devframe/rpc").RpcDump<[{
560
557
  id: string;
561
558
  }], {
562
559
  id: string;
@@ -577,9 +574,9 @@ declare const serverFunctions: readonly [{
577
574
  channel?: string | undefined;
578
575
  presetId?: string | undefined;
579
576
  createdAt: number;
580
- }, _$devframe.DevframeNodeContext> | undefined;
577
+ }, import("devframe").DevframeNodeContext> | undefined;
581
578
  snapshot?: boolean;
582
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
579
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
583
580
  id: string;
584
581
  }], {
585
582
  id: string;
@@ -601,7 +598,7 @@ declare const serverFunctions: readonly [{
601
598
  presetId?: string | undefined;
602
599
  createdAt: number;
603
600
  }>>> | undefined;
604
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
601
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
605
602
  id: string;
606
603
  }], {
607
604
  id: string;
@@ -627,14 +624,14 @@ declare const serverFunctions: readonly [{
627
624
  name: "devframes-plugin-terminals:rename";
628
625
  type?: "action" | undefined;
629
626
  cacheable?: boolean;
630
- args: readonly [_$valibot.ObjectSchema<{
631
- readonly id: _$valibot.StringSchema<undefined>;
632
- readonly title: _$valibot.StringSchema<undefined>;
627
+ args: readonly [import("valibot").ObjectSchema<{
628
+ readonly id: import("valibot").StringSchema<undefined>;
629
+ readonly title: import("valibot").StringSchema<undefined>;
633
630
  }, undefined>];
634
- returns: _$valibot.VoidSchema<undefined>;
631
+ returns: import("valibot").VoidSchema<undefined>;
635
632
  jsonSerializable?: boolean;
636
- agent?: _$devframe.RpcFunctionAgentOptions;
637
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
633
+ agent?: import("devframe").RpcFunctionAgentOptions;
634
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
638
635
  id: string;
639
636
  title: string;
640
637
  }], void>>) | undefined;
@@ -642,16 +639,16 @@ declare const serverFunctions: readonly [{
642
639
  id: string;
643
640
  title: string;
644
641
  }) => void) | undefined;
645
- dump?: _$devframe_rpc0.RpcDump<[{
642
+ dump?: import("devframe/rpc").RpcDump<[{
646
643
  id: string;
647
644
  title: string;
648
- }], void, _$devframe.DevframeNodeContext> | undefined;
645
+ }], void, import("devframe").DevframeNodeContext> | undefined;
649
646
  snapshot?: boolean;
650
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
647
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
651
648
  id: string;
652
649
  title: string;
653
650
  }], void>>> | undefined;
654
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
651
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
655
652
  id: string;
656
653
  title: string;
657
654
  }], void>> | undefined;
@@ -659,26 +656,26 @@ declare const serverFunctions: readonly [{
659
656
  name: "devframes-plugin-terminals:remove";
660
657
  type?: "action" | undefined;
661
658
  cacheable?: boolean;
662
- args: readonly [_$valibot.ObjectSchema<{
663
- readonly id: _$valibot.StringSchema<undefined>;
659
+ args: readonly [import("valibot").ObjectSchema<{
660
+ readonly id: import("valibot").StringSchema<undefined>;
664
661
  }, undefined>];
665
- returns: _$valibot.VoidSchema<undefined>;
662
+ returns: import("valibot").VoidSchema<undefined>;
666
663
  jsonSerializable?: boolean;
667
- agent?: _$devframe.RpcFunctionAgentOptions;
668
- setup?: ((context: _$devframe.DevframeNodeContext) => _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
664
+ agent?: import("devframe").RpcFunctionAgentOptions;
665
+ setup?: ((context: import("devframe").DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
669
666
  id: string;
670
667
  }], void>>) | undefined;
671
668
  handler?: ((args_0: {
672
669
  id: string;
673
670
  }) => void) | undefined;
674
- dump?: _$devframe_rpc0.RpcDump<[{
671
+ dump?: import("devframe/rpc").RpcDump<[{
675
672
  id: string;
676
- }], void, _$devframe.DevframeNodeContext> | undefined;
673
+ }], void, import("devframe").DevframeNodeContext> | undefined;
677
674
  snapshot?: boolean;
678
- __cache?: WeakMap<object, _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
675
+ __cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
679
676
  id: string;
680
677
  }], void>>> | undefined;
681
- __promise?: _$devframe_rpc0.Thenable<_$devframe_rpc0.RpcFunctionSetupResult<[{
678
+ __promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
682
679
  id: string;
683
680
  }], void>> | undefined;
684
681
  }];