@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/cli.mjs +1 -1
- package/dist/client/index.mjs +2121 -2269
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node/index.d.mts +1 -2
- package/dist/rpc/index.d.mts +149 -152
- package/dist/spa/assets/index-BN61pYfK.css +1 -0
- package/dist/spa/assets/index-CsHXMx9i.js +37 -0
- package/dist/spa/index.html +2 -2
- package/dist/{src-DLL342d9.mjs → src-BeTcK_8Z.mjs} +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +14 -14
- package/dist/spa/assets/index-Dmm_EwpX.js +0 -38
- package/dist/spa/assets/index-IBTOt_--.css +0 -1
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-
|
|
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 };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -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:
|
|
104
|
+
declare const diagnostics: import("nostics").Diagnostics<{
|
|
106
105
|
readonly DP_TERMINALS_0001: {
|
|
107
106
|
readonly why: (p: {
|
|
108
107
|
id: string;
|
package/dist/rpc/index.d.mts
CHANGED
|
@@ -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:
|
|
14
|
-
readonly id:
|
|
15
|
-
readonly title:
|
|
16
|
-
readonly processName:
|
|
17
|
-
readonly customTitle:
|
|
18
|
-
readonly mode:
|
|
19
|
-
readonly status:
|
|
20
|
-
readonly backend:
|
|
21
|
-
readonly command:
|
|
22
|
-
readonly args:
|
|
23
|
-
readonly cwd:
|
|
24
|
-
readonly cols:
|
|
25
|
-
readonly rows:
|
|
26
|
-
readonly pid:
|
|
27
|
-
readonly exitCode:
|
|
28
|
-
readonly icon:
|
|
29
|
-
readonly channel:
|
|
30
|
-
readonly presetId:
|
|
31
|
-
readonly createdAt:
|
|
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?:
|
|
35
|
-
setup?: ((context:
|
|
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?:
|
|
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
|
-
}[],
|
|
91
|
+
}[], import("devframe").DevframeNodeContext> | undefined;
|
|
95
92
|
snapshot?: boolean;
|
|
96
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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:
|
|
142
|
-
readonly id:
|
|
143
|
-
readonly title:
|
|
144
|
-
readonly command:
|
|
145
|
-
readonly args:
|
|
146
|
-
readonly mode:
|
|
147
|
-
readonly icon:
|
|
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?:
|
|
151
|
-
setup?: ((context:
|
|
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?:
|
|
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
|
-
}[],
|
|
171
|
+
}[], import("devframe").DevframeNodeContext> | undefined;
|
|
175
172
|
snapshot?: boolean;
|
|
176
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
197
|
-
readonly presetId:
|
|
198
|
-
readonly command:
|
|
199
|
-
readonly args:
|
|
200
|
-
readonly cwd:
|
|
201
|
-
readonly mode:
|
|
202
|
-
readonly title:
|
|
203
|
-
readonly cols:
|
|
204
|
-
readonly rows:
|
|
205
|
-
readonly env:
|
|
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:
|
|
208
|
-
readonly id:
|
|
209
|
-
readonly title:
|
|
210
|
-
readonly processName:
|
|
211
|
-
readonly customTitle:
|
|
212
|
-
readonly mode:
|
|
213
|
-
readonly status:
|
|
214
|
-
readonly backend:
|
|
215
|
-
readonly command:
|
|
216
|
-
readonly args:
|
|
217
|
-
readonly cwd:
|
|
218
|
-
readonly cols:
|
|
219
|
-
readonly rows:
|
|
220
|
-
readonly pid:
|
|
221
|
-
readonly exitCode:
|
|
222
|
-
readonly icon:
|
|
223
|
-
readonly channel:
|
|
224
|
-
readonly presetId:
|
|
225
|
-
readonly createdAt:
|
|
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?:
|
|
229
|
-
setup?: ((context:
|
|
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?:
|
|
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
|
-
},
|
|
321
|
+
}, import("devframe").DevframeNodeContext> | undefined;
|
|
325
322
|
snapshot?: boolean;
|
|
326
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
395
|
-
readonly id:
|
|
396
|
-
readonly data:
|
|
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:
|
|
395
|
+
returns: import("valibot").VoidSchema<undefined>;
|
|
399
396
|
jsonSerializable?: boolean;
|
|
400
|
-
agent?:
|
|
401
|
-
setup?: ((context:
|
|
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?:
|
|
406
|
+
dump?: import("devframe/rpc").RpcDump<[{
|
|
410
407
|
id: string;
|
|
411
408
|
data: string;
|
|
412
|
-
}], void,
|
|
409
|
+
}], void, import("devframe").DevframeNodeContext> | undefined;
|
|
413
410
|
snapshot?: boolean;
|
|
414
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
427
|
-
readonly id:
|
|
428
|
-
readonly cols:
|
|
429
|
-
readonly rows:
|
|
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:
|
|
428
|
+
returns: import("valibot").VoidSchema<undefined>;
|
|
432
429
|
jsonSerializable?: boolean;
|
|
433
|
-
agent?:
|
|
434
|
-
setup?: ((context:
|
|
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?:
|
|
441
|
+
dump?: import("devframe/rpc").RpcDump<[{
|
|
445
442
|
id: string;
|
|
446
443
|
cols: number;
|
|
447
444
|
rows: number;
|
|
448
|
-
}], void,
|
|
445
|
+
}], void, import("devframe").DevframeNodeContext> | undefined;
|
|
449
446
|
snapshot?: boolean;
|
|
450
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
465
|
-
readonly id:
|
|
461
|
+
args: readonly [import("valibot").ObjectSchema<{
|
|
462
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
466
463
|
}, undefined>];
|
|
467
|
-
returns:
|
|
464
|
+
returns: import("valibot").VoidSchema<undefined>;
|
|
468
465
|
jsonSerializable?: boolean;
|
|
469
|
-
agent?:
|
|
470
|
-
setup?: ((context:
|
|
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?:
|
|
473
|
+
dump?: import("devframe/rpc").RpcDump<[{
|
|
477
474
|
id: string;
|
|
478
|
-
}], void,
|
|
475
|
+
}], void, import("devframe").DevframeNodeContext> | undefined;
|
|
479
476
|
snapshot?: boolean;
|
|
480
|
-
__cache?: WeakMap<object,
|
|
477
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
|
|
481
478
|
id: string;
|
|
482
479
|
}], void>>> | undefined;
|
|
483
|
-
__promise?:
|
|
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 [
|
|
491
|
-
readonly id:
|
|
487
|
+
args: readonly [import("valibot").ObjectSchema<{
|
|
488
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
492
489
|
}, undefined>];
|
|
493
|
-
returns:
|
|
494
|
-
readonly id:
|
|
495
|
-
readonly title:
|
|
496
|
-
readonly processName:
|
|
497
|
-
readonly customTitle:
|
|
498
|
-
readonly mode:
|
|
499
|
-
readonly status:
|
|
500
|
-
readonly backend:
|
|
501
|
-
readonly command:
|
|
502
|
-
readonly args:
|
|
503
|
-
readonly cwd:
|
|
504
|
-
readonly cols:
|
|
505
|
-
readonly rows:
|
|
506
|
-
readonly pid:
|
|
507
|
-
readonly exitCode:
|
|
508
|
-
readonly icon:
|
|
509
|
-
readonly channel:
|
|
510
|
-
readonly presetId:
|
|
511
|
-
readonly createdAt:
|
|
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?:
|
|
515
|
-
setup?: ((context:
|
|
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?:
|
|
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
|
-
},
|
|
577
|
+
}, import("devframe").DevframeNodeContext> | undefined;
|
|
581
578
|
snapshot?: boolean;
|
|
582
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
631
|
-
readonly id:
|
|
632
|
-
readonly title:
|
|
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:
|
|
631
|
+
returns: import("valibot").VoidSchema<undefined>;
|
|
635
632
|
jsonSerializable?: boolean;
|
|
636
|
-
agent?:
|
|
637
|
-
setup?: ((context:
|
|
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?:
|
|
642
|
+
dump?: import("devframe/rpc").RpcDump<[{
|
|
646
643
|
id: string;
|
|
647
644
|
title: string;
|
|
648
|
-
}], void,
|
|
645
|
+
}], void, import("devframe").DevframeNodeContext> | undefined;
|
|
649
646
|
snapshot?: boolean;
|
|
650
|
-
__cache?: WeakMap<object,
|
|
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?:
|
|
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 [
|
|
663
|
-
readonly id:
|
|
659
|
+
args: readonly [import("valibot").ObjectSchema<{
|
|
660
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
664
661
|
}, undefined>];
|
|
665
|
-
returns:
|
|
662
|
+
returns: import("valibot").VoidSchema<undefined>;
|
|
666
663
|
jsonSerializable?: boolean;
|
|
667
|
-
agent?:
|
|
668
|
-
setup?: ((context:
|
|
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?:
|
|
671
|
+
dump?: import("devframe/rpc").RpcDump<[{
|
|
675
672
|
id: string;
|
|
676
|
-
}], void,
|
|
673
|
+
}], void, import("devframe").DevframeNodeContext> | undefined;
|
|
677
674
|
snapshot?: boolean;
|
|
678
|
-
__cache?: WeakMap<object,
|
|
675
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
|
|
679
676
|
id: string;
|
|
680
677
|
}], void>>> | undefined;
|
|
681
|
-
__promise?:
|
|
678
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[{
|
|
682
679
|
id: string;
|
|
683
680
|
}], void>> | undefined;
|
|
684
681
|
}];
|