@opencode-cockpit/protocol 0.1.5 → 0.2.1
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.js +2 -2
- package/dist/rpc.js +1 -1
- package/dist/shell/common.js +13 -0
- package/dist/shell/contract.js +55 -0
- package/dist/shell/index.js +6 -0
- package/dist/shell/info.js +37 -0
- package/dist/{shell.js → shell/params.js} +26 -75
- package/dist/shell/watch.js +37 -0
- package/package.json +3 -3
- package/types/index.d.ts +369 -1
- package/types/rpc.d.ts +1 -1
- package/types/shell/common.d.ts +16 -0
- package/types/{shell.d.ts → shell/contract.d.ts} +383 -241
- package/types/shell/index.d.ts +6 -0
- package/types/shell/info.d.ts +56 -0
- package/types/shell/params.d.ts +222 -0
- package/types/shell/watch.d.ts +46 -0
|
@@ -1,221 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const ShellId: z.ZodString;
|
|
3
|
-
export declare const Owner: z.ZodObject<{
|
|
4
|
-
project: z.ZodString;
|
|
5
|
-
session: z.ZodOptional<z.ZodString>;
|
|
6
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export declare const ShellStatus: z.ZodEnum<{
|
|
9
|
-
exited: "exited";
|
|
10
|
-
failed: "failed";
|
|
11
|
-
killed: "killed";
|
|
12
|
-
running: "running";
|
|
13
|
-
}>;
|
|
14
|
-
export declare const ShellInfo: z.ZodObject<{
|
|
15
|
-
id: z.ZodString;
|
|
16
|
-
title: z.ZodString;
|
|
17
|
-
command: z.ZodString;
|
|
18
|
-
args: z.ZodArray<z.ZodString>;
|
|
19
|
-
cwd: z.ZodString;
|
|
20
|
-
owner: z.ZodObject<{
|
|
21
|
-
project: z.ZodString;
|
|
22
|
-
session: z.ZodOptional<z.ZodString>;
|
|
23
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
status: z.ZodEnum<{
|
|
26
|
-
exited: "exited";
|
|
27
|
-
failed: "failed";
|
|
28
|
-
killed: "killed";
|
|
29
|
-
running: "running";
|
|
30
|
-
}>;
|
|
31
|
-
run: z.ZodNumber;
|
|
32
|
-
pid: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
signal: z.ZodOptional<z.ZodString>;
|
|
35
|
-
error: z.ZodOptional<z.ZodString>;
|
|
36
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
37
|
-
startedAt: z.ZodNumber;
|
|
38
|
-
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
cols: z.ZodNumber;
|
|
40
|
-
rows: z.ZodNumber;
|
|
41
|
-
lines: z.ZodObject<{
|
|
42
|
-
first: z.ZodNumber;
|
|
43
|
-
last: z.ZodNumber;
|
|
44
|
-
}, z.core.$strip>;
|
|
45
|
-
bytes: z.ZodNumber;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
export declare const StartParams: z.ZodObject<{
|
|
48
|
-
command: z.ZodString;
|
|
49
|
-
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
50
|
-
cwd: z.ZodString;
|
|
51
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52
|
-
title: z.ZodOptional<z.ZodString>;
|
|
53
|
-
cols: z.ZodDefault<z.ZodNumber>;
|
|
54
|
-
rows: z.ZodDefault<z.ZodNumber>;
|
|
55
|
-
owner: z.ZodObject<{
|
|
56
|
-
project: z.ZodString;
|
|
57
|
-
session: z.ZodOptional<z.ZodString>;
|
|
58
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}, z.core.$strip>;
|
|
60
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
61
|
-
reuse: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
|
-
export declare const ClearParams: z.ZodDefault<z.ZodObject<{
|
|
64
|
-
owner: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
project: z.ZodOptional<z.ZodString>;
|
|
66
|
-
session: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
67
|
-
instance: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
68
|
-
}, z.core.$strip>>;
|
|
69
|
-
finishedBeforeMs: z.ZodOptional<z.ZodNumber>;
|
|
70
|
-
}, z.core.$strip>>;
|
|
71
|
-
export declare const ListParams: z.ZodDefault<z.ZodObject<{
|
|
72
|
-
owner: z.ZodOptional<z.ZodObject<{
|
|
73
|
-
project: z.ZodOptional<z.ZodString>;
|
|
74
|
-
session: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
75
|
-
instance: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
76
|
-
}, z.core.$strip>>;
|
|
77
|
-
includeExited: z.ZodDefault<z.ZodBoolean>;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
export declare const IdParams: z.ZodObject<{
|
|
80
|
-
id: z.ZodString;
|
|
81
|
-
}, z.core.$strip>;
|
|
82
|
-
export declare const LogLine: z.ZodObject<{
|
|
83
|
-
n: z.ZodNumber;
|
|
84
|
-
text: z.ZodString;
|
|
85
|
-
}, z.core.$strip>;
|
|
86
|
-
export declare const ReadParams: z.ZodObject<{
|
|
87
|
-
id: z.ZodString;
|
|
88
|
-
after: z.ZodOptional<z.ZodNumber>;
|
|
89
|
-
tail: z.ZodDefault<z.ZodNumber>;
|
|
90
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
91
|
-
grep: z.ZodOptional<z.ZodString>;
|
|
92
|
-
ignoreCase: z.ZodDefault<z.ZodBoolean>;
|
|
93
|
-
}, z.core.$strip>;
|
|
94
|
-
export declare const ReadResult: z.ZodObject<{
|
|
95
|
-
lines: z.ZodArray<z.ZodObject<{
|
|
96
|
-
n: z.ZodNumber;
|
|
97
|
-
text: z.ZodString;
|
|
98
|
-
}, z.core.$strip>>;
|
|
99
|
-
firstLine: z.ZodNumber;
|
|
100
|
-
lastLine: z.ZodNumber;
|
|
101
|
-
nextCursor: z.ZodNumber;
|
|
102
|
-
truncated: z.ZodBoolean;
|
|
103
|
-
hasMore: z.ZodBoolean;
|
|
104
|
-
status: z.ZodEnum<{
|
|
105
|
-
exited: "exited";
|
|
106
|
-
failed: "failed";
|
|
107
|
-
killed: "killed";
|
|
108
|
-
running: "running";
|
|
109
|
-
}>;
|
|
110
|
-
}, z.core.$strip>;
|
|
111
|
-
export declare const ScreenResult: z.ZodObject<{
|
|
112
|
-
text: z.ZodString;
|
|
113
|
-
cols: z.ZodNumber;
|
|
114
|
-
rows: z.ZodNumber;
|
|
115
|
-
cursor: z.ZodObject<{
|
|
116
|
-
x: z.ZodNumber;
|
|
117
|
-
y: z.ZodNumber;
|
|
118
|
-
}, z.core.$strip>;
|
|
119
|
-
}, z.core.$strip>;
|
|
120
|
-
export declare const WriteParams: z.ZodObject<{
|
|
121
|
-
id: z.ZodString;
|
|
122
|
-
data: z.ZodString;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
|
-
export declare const ResizeParams: z.ZodObject<{
|
|
125
|
-
id: z.ZodString;
|
|
126
|
-
cols: z.ZodNumber;
|
|
127
|
-
rows: z.ZodNumber;
|
|
128
|
-
}, z.core.$strip>;
|
|
129
|
-
export declare const WaitUntil: z.ZodObject<{
|
|
130
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
131
|
-
ignoreCase: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
exit: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
host: z.ZodOptional<z.ZodString>;
|
|
136
|
-
}, z.core.$strip>;
|
|
137
|
-
export declare const WaitParams: z.ZodObject<{
|
|
138
|
-
id: z.ZodString;
|
|
139
|
-
until: z.ZodObject<{
|
|
140
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
141
|
-
ignoreCase: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
-
exit: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
-
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
144
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
145
|
-
host: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}, z.core.$strip>;
|
|
147
|
-
timeoutMs: z.ZodNumber;
|
|
148
|
-
after: z.ZodOptional<z.ZodNumber>;
|
|
149
|
-
}, z.core.$strip>;
|
|
150
|
-
export declare const WaitReason: z.ZodEnum<{
|
|
151
|
-
exit: "exit";
|
|
152
|
-
idle: "idle";
|
|
153
|
-
pattern: "pattern";
|
|
154
|
-
port: "port";
|
|
155
|
-
timeout: "timeout";
|
|
156
|
-
}>;
|
|
157
|
-
export declare const WaitResult: z.ZodObject<{
|
|
158
|
-
reason: z.ZodEnum<{
|
|
159
|
-
exit: "exit";
|
|
160
|
-
idle: "idle";
|
|
161
|
-
pattern: "pattern";
|
|
162
|
-
port: "port";
|
|
163
|
-
timeout: "timeout";
|
|
164
|
-
}>;
|
|
165
|
-
match: z.ZodOptional<z.ZodObject<{
|
|
166
|
-
n: z.ZodNumber;
|
|
167
|
-
text: z.ZodString;
|
|
168
|
-
}, z.core.$strip>>;
|
|
169
|
-
info: z.ZodObject<{
|
|
170
|
-
id: z.ZodString;
|
|
171
|
-
title: z.ZodString;
|
|
172
|
-
command: z.ZodString;
|
|
173
|
-
args: z.ZodArray<z.ZodString>;
|
|
174
|
-
cwd: z.ZodString;
|
|
175
|
-
owner: z.ZodObject<{
|
|
176
|
-
project: z.ZodString;
|
|
177
|
-
session: z.ZodOptional<z.ZodString>;
|
|
178
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
179
|
-
}, z.core.$strip>;
|
|
180
|
-
status: z.ZodEnum<{
|
|
181
|
-
exited: "exited";
|
|
182
|
-
failed: "failed";
|
|
183
|
-
killed: "killed";
|
|
184
|
-
running: "running";
|
|
185
|
-
}>;
|
|
186
|
-
run: z.ZodNumber;
|
|
187
|
-
pid: z.ZodOptional<z.ZodNumber>;
|
|
188
|
-
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
189
|
-
signal: z.ZodOptional<z.ZodString>;
|
|
190
|
-
error: z.ZodOptional<z.ZodString>;
|
|
191
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
192
|
-
startedAt: z.ZodNumber;
|
|
193
|
-
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
cols: z.ZodNumber;
|
|
195
|
-
rows: z.ZodNumber;
|
|
196
|
-
lines: z.ZodObject<{
|
|
197
|
-
first: z.ZodNumber;
|
|
198
|
-
last: z.ZodNumber;
|
|
199
|
-
}, z.core.$strip>;
|
|
200
|
-
bytes: z.ZodNumber;
|
|
201
|
-
}, z.core.$strip>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
|
-
export declare const StopParams: z.ZodObject<{
|
|
204
|
-
id: z.ZodString;
|
|
205
|
-
signal: z.ZodDefault<z.ZodEnum<{
|
|
206
|
-
SIGHUP: "SIGHUP";
|
|
207
|
-
SIGINT: "SIGINT";
|
|
208
|
-
SIGKILL: "SIGKILL";
|
|
209
|
-
SIGTERM: "SIGTERM";
|
|
210
|
-
}>>;
|
|
211
|
-
graceMs: z.ZodDefault<z.ZodNumber>;
|
|
212
|
-
}, z.core.$strip>;
|
|
213
|
-
export declare const AttachParams: z.ZodObject<{
|
|
214
|
-
id: z.ZodString;
|
|
215
|
-
fromOffset: z.ZodOptional<z.ZodNumber>;
|
|
216
|
-
}, z.core.$strip>;
|
|
217
2
|
export declare const shellContract: {
|
|
218
|
-
"shell.start": import("
|
|
3
|
+
"shell.start": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
219
4
|
command: z.ZodString;
|
|
220
5
|
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
221
6
|
cwd: z.ZodString;
|
|
@@ -229,6 +14,8 @@ export declare const shellContract: {
|
|
|
229
14
|
instance: z.ZodOptional<z.ZodString>;
|
|
230
15
|
}, z.core.$strip>;
|
|
231
16
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
logFile: z.ZodDefault<z.ZodBoolean>;
|
|
232
19
|
reuse: z.ZodDefault<z.ZodBoolean>;
|
|
233
20
|
}, z.core.$strip>, z.ZodObject<{
|
|
234
21
|
id: z.ZodString;
|
|
@@ -253,6 +40,13 @@ export declare const shellContract: {
|
|
|
253
40
|
signal: z.ZodOptional<z.ZodString>;
|
|
254
41
|
error: z.ZodOptional<z.ZodString>;
|
|
255
42
|
summary: z.ZodOptional<z.ZodString>;
|
|
43
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
idle: "idle";
|
|
45
|
+
request: "request";
|
|
46
|
+
shutdown: "shutdown";
|
|
47
|
+
timeout: "timeout";
|
|
48
|
+
}>>;
|
|
49
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
256
50
|
startedAt: z.ZodNumber;
|
|
257
51
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
258
52
|
cols: z.ZodNumber;
|
|
@@ -262,8 +56,21 @@ export declare const shellContract: {
|
|
|
262
56
|
last: z.ZodNumber;
|
|
263
57
|
}, z.core.$strip>;
|
|
264
58
|
bytes: z.ZodNumber;
|
|
59
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
61
|
+
status: z.ZodEnum<{
|
|
62
|
+
fail: "fail";
|
|
63
|
+
ok: "ok";
|
|
64
|
+
pending: "pending";
|
|
65
|
+
unknown: "unknown";
|
|
66
|
+
}>;
|
|
67
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
68
|
+
runs: z.ZodNumber;
|
|
69
|
+
since: z.ZodNumber;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
265
72
|
}, z.core.$strip>>;
|
|
266
|
-
"shell.list": import("
|
|
73
|
+
"shell.list": import("../contract.ts").MethodSpec<z.ZodDefault<z.ZodObject<{
|
|
267
74
|
owner: z.ZodOptional<z.ZodObject<{
|
|
268
75
|
project: z.ZodOptional<z.ZodString>;
|
|
269
76
|
session: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -293,6 +100,13 @@ export declare const shellContract: {
|
|
|
293
100
|
signal: z.ZodOptional<z.ZodString>;
|
|
294
101
|
error: z.ZodOptional<z.ZodString>;
|
|
295
102
|
summary: z.ZodOptional<z.ZodString>;
|
|
103
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
idle: "idle";
|
|
105
|
+
request: "request";
|
|
106
|
+
shutdown: "shutdown";
|
|
107
|
+
timeout: "timeout";
|
|
108
|
+
}>>;
|
|
109
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
296
110
|
startedAt: z.ZodNumber;
|
|
297
111
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
298
112
|
cols: z.ZodNumber;
|
|
@@ -302,8 +116,21 @@ export declare const shellContract: {
|
|
|
302
116
|
last: z.ZodNumber;
|
|
303
117
|
}, z.core.$strip>;
|
|
304
118
|
bytes: z.ZodNumber;
|
|
119
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
121
|
+
status: z.ZodEnum<{
|
|
122
|
+
fail: "fail";
|
|
123
|
+
ok: "ok";
|
|
124
|
+
pending: "pending";
|
|
125
|
+
unknown: "unknown";
|
|
126
|
+
}>;
|
|
127
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
128
|
+
runs: z.ZodNumber;
|
|
129
|
+
since: z.ZodNumber;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
305
132
|
}, z.core.$strip>>>;
|
|
306
|
-
"shell.get": import("
|
|
133
|
+
"shell.get": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
307
134
|
id: z.ZodString;
|
|
308
135
|
}, z.core.$strip>, z.ZodObject<{
|
|
309
136
|
id: z.ZodString;
|
|
@@ -328,6 +155,13 @@ export declare const shellContract: {
|
|
|
328
155
|
signal: z.ZodOptional<z.ZodString>;
|
|
329
156
|
error: z.ZodOptional<z.ZodString>;
|
|
330
157
|
summary: z.ZodOptional<z.ZodString>;
|
|
158
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
idle: "idle";
|
|
160
|
+
request: "request";
|
|
161
|
+
shutdown: "shutdown";
|
|
162
|
+
timeout: "timeout";
|
|
163
|
+
}>>;
|
|
164
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
331
165
|
startedAt: z.ZodNumber;
|
|
332
166
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
333
167
|
cols: z.ZodNumber;
|
|
@@ -337,8 +171,21 @@ export declare const shellContract: {
|
|
|
337
171
|
last: z.ZodNumber;
|
|
338
172
|
}, z.core.$strip>;
|
|
339
173
|
bytes: z.ZodNumber;
|
|
174
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
176
|
+
status: z.ZodEnum<{
|
|
177
|
+
fail: "fail";
|
|
178
|
+
ok: "ok";
|
|
179
|
+
pending: "pending";
|
|
180
|
+
unknown: "unknown";
|
|
181
|
+
}>;
|
|
182
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
183
|
+
runs: z.ZodNumber;
|
|
184
|
+
since: z.ZodNumber;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
340
187
|
}, z.core.$strip>>;
|
|
341
|
-
"shell.read": import("
|
|
188
|
+
"shell.read": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
342
189
|
id: z.ZodString;
|
|
343
190
|
after: z.ZodOptional<z.ZodNumber>;
|
|
344
191
|
tail: z.ZodDefault<z.ZodNumber>;
|
|
@@ -362,7 +209,7 @@ export declare const shellContract: {
|
|
|
362
209
|
running: "running";
|
|
363
210
|
}>;
|
|
364
211
|
}, z.core.$strip>>;
|
|
365
|
-
"shell.screen": import("
|
|
212
|
+
"shell.screen": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
366
213
|
id: z.ZodString;
|
|
367
214
|
}, z.core.$strip>, z.ZodObject<{
|
|
368
215
|
text: z.ZodString;
|
|
@@ -372,19 +219,28 @@ export declare const shellContract: {
|
|
|
372
219
|
x: z.ZodNumber;
|
|
373
220
|
y: z.ZodNumber;
|
|
374
221
|
}, z.core.$strip>;
|
|
222
|
+
styled: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
223
|
+
text: z.ZodString;
|
|
224
|
+
fg: z.ZodOptional<z.ZodString>;
|
|
225
|
+
bg: z.ZodOptional<z.ZodString>;
|
|
226
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
+
dim: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
}, z.core.$strip>>>>;
|
|
375
231
|
}, z.core.$strip>>;
|
|
376
|
-
"shell.write": import("
|
|
232
|
+
"shell.write": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
377
233
|
id: z.ZodString;
|
|
378
234
|
data: z.ZodString;
|
|
379
235
|
}, z.core.$strip>, z.ZodObject<{
|
|
380
236
|
bytes: z.ZodNumber;
|
|
381
237
|
}, z.core.$strip>>;
|
|
382
|
-
"shell.resize": import("
|
|
238
|
+
"shell.resize": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
383
239
|
id: z.ZodString;
|
|
384
240
|
cols: z.ZodNumber;
|
|
385
241
|
rows: z.ZodNumber;
|
|
386
242
|
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
387
|
-
"shell.wait": import("
|
|
243
|
+
"shell.wait": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
388
244
|
id: z.ZodString;
|
|
389
245
|
until: z.ZodObject<{
|
|
390
246
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -431,6 +287,13 @@ export declare const shellContract: {
|
|
|
431
287
|
signal: z.ZodOptional<z.ZodString>;
|
|
432
288
|
error: z.ZodOptional<z.ZodString>;
|
|
433
289
|
summary: z.ZodOptional<z.ZodString>;
|
|
290
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
idle: "idle";
|
|
292
|
+
request: "request";
|
|
293
|
+
shutdown: "shutdown";
|
|
294
|
+
timeout: "timeout";
|
|
295
|
+
}>>;
|
|
296
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
434
297
|
startedAt: z.ZodNumber;
|
|
435
298
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
436
299
|
cols: z.ZodNumber;
|
|
@@ -440,9 +303,22 @@ export declare const shellContract: {
|
|
|
440
303
|
last: z.ZodNumber;
|
|
441
304
|
}, z.core.$strip>;
|
|
442
305
|
bytes: z.ZodNumber;
|
|
306
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
308
|
+
status: z.ZodEnum<{
|
|
309
|
+
fail: "fail";
|
|
310
|
+
ok: "ok";
|
|
311
|
+
pending: "pending";
|
|
312
|
+
unknown: "unknown";
|
|
313
|
+
}>;
|
|
314
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
315
|
+
runs: z.ZodNumber;
|
|
316
|
+
since: z.ZodNumber;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
443
319
|
}, z.core.$strip>;
|
|
444
320
|
}, z.core.$strip>>;
|
|
445
|
-
"shell.stop": import("
|
|
321
|
+
"shell.stop": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
446
322
|
id: z.ZodString;
|
|
447
323
|
signal: z.ZodDefault<z.ZodEnum<{
|
|
448
324
|
SIGHUP: "SIGHUP";
|
|
@@ -474,6 +350,13 @@ export declare const shellContract: {
|
|
|
474
350
|
signal: z.ZodOptional<z.ZodString>;
|
|
475
351
|
error: z.ZodOptional<z.ZodString>;
|
|
476
352
|
summary: z.ZodOptional<z.ZodString>;
|
|
353
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
354
|
+
idle: "idle";
|
|
355
|
+
request: "request";
|
|
356
|
+
shutdown: "shutdown";
|
|
357
|
+
timeout: "timeout";
|
|
358
|
+
}>>;
|
|
359
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
477
360
|
startedAt: z.ZodNumber;
|
|
478
361
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
479
362
|
cols: z.ZodNumber;
|
|
@@ -483,8 +366,21 @@ export declare const shellContract: {
|
|
|
483
366
|
last: z.ZodNumber;
|
|
484
367
|
}, z.core.$strip>;
|
|
485
368
|
bytes: z.ZodNumber;
|
|
369
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
371
|
+
status: z.ZodEnum<{
|
|
372
|
+
fail: "fail";
|
|
373
|
+
ok: "ok";
|
|
374
|
+
pending: "pending";
|
|
375
|
+
unknown: "unknown";
|
|
376
|
+
}>;
|
|
377
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
378
|
+
runs: z.ZodNumber;
|
|
379
|
+
since: z.ZodNumber;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
486
382
|
}, z.core.$strip>>;
|
|
487
|
-
"shell.restart": import("
|
|
383
|
+
"shell.restart": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
488
384
|
id: z.ZodString;
|
|
489
385
|
}, z.core.$strip>, z.ZodObject<{
|
|
490
386
|
id: z.ZodString;
|
|
@@ -509,6 +405,13 @@ export declare const shellContract: {
|
|
|
509
405
|
signal: z.ZodOptional<z.ZodString>;
|
|
510
406
|
error: z.ZodOptional<z.ZodString>;
|
|
511
407
|
summary: z.ZodOptional<z.ZodString>;
|
|
408
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
409
|
+
idle: "idle";
|
|
410
|
+
request: "request";
|
|
411
|
+
shutdown: "shutdown";
|
|
412
|
+
timeout: "timeout";
|
|
413
|
+
}>>;
|
|
414
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
512
415
|
startedAt: z.ZodNumber;
|
|
513
416
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
514
417
|
cols: z.ZodNumber;
|
|
@@ -518,11 +421,24 @@ export declare const shellContract: {
|
|
|
518
421
|
last: z.ZodNumber;
|
|
519
422
|
}, z.core.$strip>;
|
|
520
423
|
bytes: z.ZodNumber;
|
|
424
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
426
|
+
status: z.ZodEnum<{
|
|
427
|
+
fail: "fail";
|
|
428
|
+
ok: "ok";
|
|
429
|
+
pending: "pending";
|
|
430
|
+
unknown: "unknown";
|
|
431
|
+
}>;
|
|
432
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
433
|
+
runs: z.ZodNumber;
|
|
434
|
+
since: z.ZodNumber;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
521
437
|
}, z.core.$strip>>;
|
|
522
|
-
"shell.remove": import("
|
|
438
|
+
"shell.remove": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
523
439
|
id: z.ZodString;
|
|
524
440
|
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
525
|
-
"shell.clear": import("
|
|
441
|
+
"shell.clear": import("../contract.ts").MethodSpec<z.ZodDefault<z.ZodObject<{
|
|
526
442
|
owner: z.ZodOptional<z.ZodObject<{
|
|
527
443
|
project: z.ZodOptional<z.ZodString>;
|
|
528
444
|
session: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -532,14 +448,143 @@ export declare const shellContract: {
|
|
|
532
448
|
}, z.core.$strip>>, z.ZodObject<{
|
|
533
449
|
removed: z.ZodArray<z.ZodString>;
|
|
534
450
|
}, z.core.$strip>>;
|
|
535
|
-
"shell.
|
|
451
|
+
"shell.watch": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
454
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
done: z.ZodOptional<z.ZodString>;
|
|
456
|
+
fail: z.ZodOptional<z.ZodString>;
|
|
457
|
+
ok: z.ZodOptional<z.ZodString>;
|
|
458
|
+
ignoreCase: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
+
idleSeconds: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
}, z.core.$strip>>;
|
|
461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
462
|
+
id: z.ZodString;
|
|
463
|
+
title: z.ZodString;
|
|
464
|
+
command: z.ZodString;
|
|
465
|
+
args: z.ZodArray<z.ZodString>;
|
|
466
|
+
cwd: z.ZodString;
|
|
467
|
+
owner: z.ZodObject<{
|
|
468
|
+
project: z.ZodString;
|
|
469
|
+
session: z.ZodOptional<z.ZodString>;
|
|
470
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
status: z.ZodEnum<{
|
|
473
|
+
exited: "exited";
|
|
474
|
+
failed: "failed";
|
|
475
|
+
killed: "killed";
|
|
476
|
+
running: "running";
|
|
477
|
+
}>;
|
|
478
|
+
run: z.ZodNumber;
|
|
479
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
482
|
+
error: z.ZodOptional<z.ZodString>;
|
|
483
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
484
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
485
|
+
idle: "idle";
|
|
486
|
+
request: "request";
|
|
487
|
+
shutdown: "shutdown";
|
|
488
|
+
timeout: "timeout";
|
|
489
|
+
}>>;
|
|
490
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
491
|
+
startedAt: z.ZodNumber;
|
|
492
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
493
|
+
cols: z.ZodNumber;
|
|
494
|
+
rows: z.ZodNumber;
|
|
495
|
+
lines: z.ZodObject<{
|
|
496
|
+
first: z.ZodNumber;
|
|
497
|
+
last: z.ZodNumber;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
bytes: z.ZodNumber;
|
|
500
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
501
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
502
|
+
status: z.ZodEnum<{
|
|
503
|
+
fail: "fail";
|
|
504
|
+
ok: "ok";
|
|
505
|
+
pending: "pending";
|
|
506
|
+
unknown: "unknown";
|
|
507
|
+
}>;
|
|
508
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
509
|
+
runs: z.ZodNumber;
|
|
510
|
+
since: z.ZodNumber;
|
|
511
|
+
}, z.core.$strip>>;
|
|
512
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
"shell.unwatch": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
517
|
+
id: z.ZodString;
|
|
518
|
+
title: z.ZodString;
|
|
519
|
+
command: z.ZodString;
|
|
520
|
+
args: z.ZodArray<z.ZodString>;
|
|
521
|
+
cwd: z.ZodString;
|
|
522
|
+
owner: z.ZodObject<{
|
|
523
|
+
project: z.ZodString;
|
|
524
|
+
session: z.ZodOptional<z.ZodString>;
|
|
525
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
status: z.ZodEnum<{
|
|
528
|
+
exited: "exited";
|
|
529
|
+
failed: "failed";
|
|
530
|
+
killed: "killed";
|
|
531
|
+
running: "running";
|
|
532
|
+
}>;
|
|
533
|
+
run: z.ZodNumber;
|
|
534
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
537
|
+
error: z.ZodOptional<z.ZodString>;
|
|
538
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
539
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
540
|
+
idle: "idle";
|
|
541
|
+
request: "request";
|
|
542
|
+
shutdown: "shutdown";
|
|
543
|
+
timeout: "timeout";
|
|
544
|
+
}>>;
|
|
545
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
546
|
+
startedAt: z.ZodNumber;
|
|
547
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
548
|
+
cols: z.ZodNumber;
|
|
549
|
+
rows: z.ZodNumber;
|
|
550
|
+
lines: z.ZodObject<{
|
|
551
|
+
first: z.ZodNumber;
|
|
552
|
+
last: z.ZodNumber;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
bytes: z.ZodNumber;
|
|
555
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
557
|
+
status: z.ZodEnum<{
|
|
558
|
+
fail: "fail";
|
|
559
|
+
ok: "ok";
|
|
560
|
+
pending: "pending";
|
|
561
|
+
unknown: "unknown";
|
|
562
|
+
}>;
|
|
563
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
564
|
+
runs: z.ZodNumber;
|
|
565
|
+
since: z.ZodNumber;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
"shell.presets": import("../contract.ts").MethodSpec<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
570
|
+
name: z.ZodString;
|
|
571
|
+
match: z.ZodOptional<z.ZodString>;
|
|
572
|
+
rule: z.ZodObject<{
|
|
573
|
+
done: z.ZodOptional<z.ZodString>;
|
|
574
|
+
fail: z.ZodOptional<z.ZodString>;
|
|
575
|
+
ok: z.ZodOptional<z.ZodString>;
|
|
576
|
+
ignoreCase: z.ZodOptional<z.ZodBoolean>;
|
|
577
|
+
idleSeconds: z.ZodOptional<z.ZodNumber>;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
}, z.core.$strip>>>;
|
|
580
|
+
"shell.attach": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
536
581
|
id: z.ZodString;
|
|
537
582
|
fromOffset: z.ZodOptional<z.ZodNumber>;
|
|
538
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
584
|
offset: z.ZodNumber;
|
|
540
585
|
replay: z.ZodString;
|
|
541
586
|
}, z.core.$strip>>;
|
|
542
|
-
"shell.detach": import("
|
|
587
|
+
"shell.detach": import("../contract.ts").MethodSpec<z.ZodObject<{
|
|
543
588
|
id: z.ZodString;
|
|
544
589
|
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
545
590
|
};
|
|
@@ -567,6 +612,13 @@ export declare const shellEvents: {
|
|
|
567
612
|
signal: z.ZodOptional<z.ZodString>;
|
|
568
613
|
error: z.ZodOptional<z.ZodString>;
|
|
569
614
|
summary: z.ZodOptional<z.ZodString>;
|
|
615
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
616
|
+
idle: "idle";
|
|
617
|
+
request: "request";
|
|
618
|
+
shutdown: "shutdown";
|
|
619
|
+
timeout: "timeout";
|
|
620
|
+
}>>;
|
|
621
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
570
622
|
startedAt: z.ZodNumber;
|
|
571
623
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
572
624
|
cols: z.ZodNumber;
|
|
@@ -576,6 +628,19 @@ export declare const shellEvents: {
|
|
|
576
628
|
last: z.ZodNumber;
|
|
577
629
|
}, z.core.$strip>;
|
|
578
630
|
bytes: z.ZodNumber;
|
|
631
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
632
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
633
|
+
status: z.ZodEnum<{
|
|
634
|
+
fail: "fail";
|
|
635
|
+
ok: "ok";
|
|
636
|
+
pending: "pending";
|
|
637
|
+
unknown: "unknown";
|
|
638
|
+
}>;
|
|
639
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
640
|
+
runs: z.ZodNumber;
|
|
641
|
+
since: z.ZodNumber;
|
|
642
|
+
}, z.core.$strip>>;
|
|
643
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
579
644
|
}, z.core.$strip>;
|
|
580
645
|
"shell.exited": z.ZodObject<{
|
|
581
646
|
id: z.ZodString;
|
|
@@ -600,6 +665,13 @@ export declare const shellEvents: {
|
|
|
600
665
|
signal: z.ZodOptional<z.ZodString>;
|
|
601
666
|
error: z.ZodOptional<z.ZodString>;
|
|
602
667
|
summary: z.ZodOptional<z.ZodString>;
|
|
668
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
idle: "idle";
|
|
670
|
+
request: "request";
|
|
671
|
+
shutdown: "shutdown";
|
|
672
|
+
timeout: "timeout";
|
|
673
|
+
}>>;
|
|
674
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
603
675
|
startedAt: z.ZodNumber;
|
|
604
676
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
605
677
|
cols: z.ZodNumber;
|
|
@@ -609,6 +681,19 @@ export declare const shellEvents: {
|
|
|
609
681
|
last: z.ZodNumber;
|
|
610
682
|
}, z.core.$strip>;
|
|
611
683
|
bytes: z.ZodNumber;
|
|
684
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
685
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
686
|
+
status: z.ZodEnum<{
|
|
687
|
+
fail: "fail";
|
|
688
|
+
ok: "ok";
|
|
689
|
+
pending: "pending";
|
|
690
|
+
unknown: "unknown";
|
|
691
|
+
}>;
|
|
692
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
693
|
+
runs: z.ZodNumber;
|
|
694
|
+
since: z.ZodNumber;
|
|
695
|
+
}, z.core.$strip>>;
|
|
696
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
612
697
|
}, z.core.$strip>;
|
|
613
698
|
"shell.removed": z.ZodObject<{
|
|
614
699
|
id: z.ZodString;
|
|
@@ -618,16 +703,73 @@ export declare const shellEvents: {
|
|
|
618
703
|
offset: z.ZodNumber;
|
|
619
704
|
data: z.ZodString;
|
|
620
705
|
}, z.core.$strip>;
|
|
706
|
+
/** Emitted only when a watcher's status changes, never per line. */
|
|
707
|
+
"shell.watch": z.ZodObject<{
|
|
708
|
+
info: z.ZodObject<{
|
|
709
|
+
id: z.ZodString;
|
|
710
|
+
title: z.ZodString;
|
|
711
|
+
command: z.ZodString;
|
|
712
|
+
args: z.ZodArray<z.ZodString>;
|
|
713
|
+
cwd: z.ZodString;
|
|
714
|
+
owner: z.ZodObject<{
|
|
715
|
+
project: z.ZodString;
|
|
716
|
+
session: z.ZodOptional<z.ZodString>;
|
|
717
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
718
|
+
}, z.core.$strip>;
|
|
719
|
+
status: z.ZodEnum<{
|
|
720
|
+
exited: "exited";
|
|
721
|
+
failed: "failed";
|
|
722
|
+
killed: "killed";
|
|
723
|
+
running: "running";
|
|
724
|
+
}>;
|
|
725
|
+
run: z.ZodNumber;
|
|
726
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
727
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
728
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
729
|
+
error: z.ZodOptional<z.ZodString>;
|
|
730
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
731
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
732
|
+
idle: "idle";
|
|
733
|
+
request: "request";
|
|
734
|
+
shutdown: "shutdown";
|
|
735
|
+
timeout: "timeout";
|
|
736
|
+
}>>;
|
|
737
|
+
stoppedBy: z.ZodOptional<z.ZodString>;
|
|
738
|
+
startedAt: z.ZodNumber;
|
|
739
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
740
|
+
cols: z.ZodNumber;
|
|
741
|
+
rows: z.ZodNumber;
|
|
742
|
+
lines: z.ZodObject<{
|
|
743
|
+
first: z.ZodNumber;
|
|
744
|
+
last: z.ZodNumber;
|
|
745
|
+
}, z.core.$strip>;
|
|
746
|
+
bytes: z.ZodNumber;
|
|
747
|
+
watch: z.ZodOptional<z.ZodObject<{
|
|
748
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
749
|
+
status: z.ZodEnum<{
|
|
750
|
+
fail: "fail";
|
|
751
|
+
ok: "ok";
|
|
752
|
+
pending: "pending";
|
|
753
|
+
unknown: "unknown";
|
|
754
|
+
}>;
|
|
755
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
756
|
+
runs: z.ZodNumber;
|
|
757
|
+
since: z.ZodNumber;
|
|
758
|
+
}, z.core.$strip>>;
|
|
759
|
+
logFile: z.ZodOptional<z.ZodString>;
|
|
760
|
+
}, z.core.$strip>;
|
|
761
|
+
previous: z.ZodEnum<{
|
|
762
|
+
fail: "fail";
|
|
763
|
+
ok: "ok";
|
|
764
|
+
pending: "pending";
|
|
765
|
+
unknown: "unknown";
|
|
766
|
+
}>;
|
|
767
|
+
current: z.ZodEnum<{
|
|
768
|
+
fail: "fail";
|
|
769
|
+
ok: "ok";
|
|
770
|
+
pending: "pending";
|
|
771
|
+
unknown: "unknown";
|
|
772
|
+
}>;
|
|
773
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>;
|
|
621
775
|
};
|
|
622
|
-
export type Owner = z.output<typeof Owner>;
|
|
623
|
-
export type ShellStatus = z.output<typeof ShellStatus>;
|
|
624
|
-
export type ShellInfo = z.output<typeof ShellInfo>;
|
|
625
|
-
export type StartParams = z.output<typeof StartParams>;
|
|
626
|
-
export type ReadParams = z.output<typeof ReadParams>;
|
|
627
|
-
export type ReadResult = z.output<typeof ReadResult>;
|
|
628
|
-
export type ScreenResult = z.output<typeof ScreenResult>;
|
|
629
|
-
export type WaitParams = z.output<typeof WaitParams>;
|
|
630
|
-
export type WaitResult = z.output<typeof WaitResult>;
|
|
631
|
-
export type WaitReason = z.output<typeof WaitReason>;
|
|
632
|
-
export type StopParams = z.output<typeof StopParams>;
|
|
633
|
-
export type LogLine = z.output<typeof LogLine>;
|