@openspecui/core 4.1.0 → 6.0.0-beta.0
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-projection-DxnVGm2B.d.mts +789 -0
- package/dist/cli-projection-vO3-FJg5.mjs +161 -0
- package/dist/cli-projection.d.mts +6 -0
- package/dist/cli-projection.mjs +4 -0
- package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
- package/dist/common-D8YUK9dA.mjs +57 -0
- package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
- package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
- package/dist/dashboard-summary-transport.d.mts +25 -0
- package/dist/dashboard-summary-transport.mjs +6 -0
- package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
- package/dist/{document-translation-CIPGsZD8.d.mts → document-translation-D50BnvVh.d.mts} +100 -100
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
- package/dist/hosted-app.d.mts +25 -2
- package/dist/hosted-app.mjs +7 -2
- package/dist/hosted-contract-CcRnb51e.mjs +234 -0
- package/dist/hosted-contract.d.mts +25 -0
- package/dist/hosted-contract.mjs +7 -0
- package/dist/index.d.mts +25 -2686
- package/dist/index.mjs +2114 -1098
- package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
- package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
- package/dist/{notifications-HYH-lklF.d.mts → notifications-CgJlLgLO.d.mts} +34 -8
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
- package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +18 -11
- package/dist/openspec-compat.mjs +22 -14
- package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
- package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -4
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
- package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
- package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
- package/dist/opsx-workflows.d.mts +2 -0
- package/dist/opsx-workflows.mjs +3 -0
- package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
- package/dist/planning-cli-projection.d.mts +25 -0
- package/dist/planning-cli-projection.mjs +9 -0
- package/dist/schemas-BFroDdOC.mjs +287 -0
- package/dist/{schemas-CNKCVc7m.d.mts → schemas-DS-JqAJ2.d.mts} +498 -52
- package/dist/{sounds-J6z7o4mt.d.mts → sounds-qhRgCy0F.d.mts} +5 -5
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
- package/dist/spec-catalog.d.mts +25 -0
- package/dist/spec-catalog.mjs +6 -0
- package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
- package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
- package/dist/store-mutation-protocol.d.mts +2 -0
- package/dist/store-mutation-protocol.mjs +4 -0
- package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
- package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
- package/dist/store-types.d.mts +6 -2
- package/dist/store-types.mjs +2 -2
- package/dist/task-progress-B_IWVXjA.mjs +216 -0
- package/dist/task-progress.d.mts +7 -4
- package/dist/task-progress.mjs +3 -3
- package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
- package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-tXDm_EDe.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BOvxThym.d.mts} +203 -84
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-D6t_LEVN.d.mts → translator-NKv1wo3o.d.mts} +208 -208
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +55 -7
- package/dist/hosted-app-DHs94gIR.d.mts +0 -43
- package/dist/opsx-types-2rgsQHsB.d.mts +0 -402
- package/dist/task-progress-BHn4bCoD.d.mts +0 -24
- package/dist/task-progress-DhHYHnTv.mjs +0 -70
- /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
- /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
- /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
- /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
- /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
- /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
- /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
- /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
- /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
- /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
- /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
- /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
- /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
- /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
- /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/pty-protocol.d.ts
|
|
4
|
+
|
|
4
5
|
declare const PtyPlatformSchema: z.ZodEnum<["windows", "macos", "common"]>;
|
|
6
|
+
declare const TerminalCwdTargetSchema: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
5
7
|
declare const PtySessionInfoSchema: z.ZodObject<{
|
|
6
8
|
id: z.ZodString;
|
|
7
9
|
title: z.ZodString;
|
|
@@ -12,23 +14,32 @@ declare const PtySessionInfoSchema: z.ZodObject<{
|
|
|
12
14
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
14
16
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
17
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
18
|
+
initialCwd: z.ZodString;
|
|
19
|
+
rootGeneration: z.ZodNullable<z.ZodString>;
|
|
15
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
exitCode: number | null;
|
|
16
22
|
id: string;
|
|
17
23
|
command: string;
|
|
18
|
-
args: string[];
|
|
19
24
|
title: string;
|
|
25
|
+
args: string[];
|
|
26
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
20
27
|
platform: "windows" | "macos" | "common";
|
|
21
|
-
|
|
28
|
+
initialCwd: string;
|
|
29
|
+
rootGeneration: string | null;
|
|
22
30
|
isExited: boolean;
|
|
23
31
|
closeTip?: string | undefined;
|
|
24
32
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
25
33
|
}, {
|
|
34
|
+
exitCode: number | null;
|
|
26
35
|
id: string;
|
|
27
36
|
command: string;
|
|
28
|
-
args: string[];
|
|
29
37
|
title: string;
|
|
38
|
+
args: string[];
|
|
39
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
30
40
|
platform: "windows" | "macos" | "common";
|
|
31
|
-
|
|
41
|
+
initialCwd: string;
|
|
42
|
+
rootGeneration: string | null;
|
|
32
43
|
isExited: boolean;
|
|
33
44
|
closeTip?: string | undefined;
|
|
34
45
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
@@ -40,24 +51,31 @@ declare const PtyCreateMessageSchema: z.ZodObject<{
|
|
|
40
51
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
41
52
|
command: z.ZodOptional<z.ZodString>;
|
|
42
53
|
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
54
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
55
|
+
/** Opaque planning-root generation captured by a Server workflow preparation. */
|
|
56
|
+
expectedRootGeneration: z.ZodOptional<z.ZodString>;
|
|
43
57
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
44
58
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
45
59
|
}, "strip", z.ZodTypeAny, {
|
|
46
60
|
type: "create";
|
|
47
61
|
requestId: string;
|
|
62
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
48
63
|
command?: string | undefined;
|
|
49
64
|
args?: string[] | undefined;
|
|
50
65
|
cols?: number | undefined;
|
|
51
66
|
rows?: number | undefined;
|
|
67
|
+
expectedRootGeneration?: string | undefined;
|
|
52
68
|
closeTip?: string | undefined;
|
|
53
69
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
54
70
|
}, {
|
|
55
71
|
type: "create";
|
|
56
72
|
requestId: string;
|
|
73
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
57
74
|
command?: string | undefined;
|
|
58
75
|
args?: string[] | undefined;
|
|
59
76
|
cols?: number | undefined;
|
|
60
77
|
rows?: number | undefined;
|
|
78
|
+
expectedRootGeneration?: string | undefined;
|
|
61
79
|
closeTip?: string | undefined;
|
|
62
80
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
63
81
|
}>;
|
|
@@ -67,12 +85,12 @@ declare const PtyInputMessageSchema: z.ZodObject<{
|
|
|
67
85
|
data: z.ZodString;
|
|
68
86
|
}, "strip", z.ZodTypeAny, {
|
|
69
87
|
type: "input";
|
|
70
|
-
sessionId: string;
|
|
71
88
|
data: string;
|
|
89
|
+
sessionId: string;
|
|
72
90
|
}, {
|
|
73
91
|
type: "input";
|
|
74
|
-
sessionId: string;
|
|
75
92
|
data: string;
|
|
93
|
+
sessionId: string;
|
|
76
94
|
}>;
|
|
77
95
|
declare const PtyResizeMessageSchema: z.ZodObject<{
|
|
78
96
|
type: z.ZodLiteral<"resize">;
|
|
@@ -130,24 +148,31 @@ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
130
148
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
131
149
|
command: z.ZodOptional<z.ZodString>;
|
|
132
150
|
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
151
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
152
|
+
/** Opaque planning-root generation captured by a Server workflow preparation. */
|
|
153
|
+
expectedRootGeneration: z.ZodOptional<z.ZodString>;
|
|
133
154
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
134
155
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
135
156
|
}, "strip", z.ZodTypeAny, {
|
|
136
157
|
type: "create";
|
|
137
158
|
requestId: string;
|
|
159
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
138
160
|
command?: string | undefined;
|
|
139
161
|
args?: string[] | undefined;
|
|
140
162
|
cols?: number | undefined;
|
|
141
163
|
rows?: number | undefined;
|
|
164
|
+
expectedRootGeneration?: string | undefined;
|
|
142
165
|
closeTip?: string | undefined;
|
|
143
166
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
144
167
|
}, {
|
|
145
168
|
type: "create";
|
|
146
169
|
requestId: string;
|
|
170
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
147
171
|
command?: string | undefined;
|
|
148
172
|
args?: string[] | undefined;
|
|
149
173
|
cols?: number | undefined;
|
|
150
174
|
rows?: number | undefined;
|
|
175
|
+
expectedRootGeneration?: string | undefined;
|
|
151
176
|
closeTip?: string | undefined;
|
|
152
177
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
153
178
|
}>, z.ZodObject<{
|
|
@@ -156,12 +181,30 @@ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
156
181
|
data: z.ZodString;
|
|
157
182
|
}, "strip", z.ZodTypeAny, {
|
|
158
183
|
type: "input";
|
|
159
|
-
sessionId: string;
|
|
160
184
|
data: string;
|
|
185
|
+
sessionId: string;
|
|
161
186
|
}, {
|
|
162
187
|
type: "input";
|
|
188
|
+
data: string;
|
|
189
|
+
sessionId: string;
|
|
190
|
+
}>, z.ZodObject<{
|
|
191
|
+
type: z.ZodLiteral<"workflow-input">;
|
|
192
|
+
requestId: z.ZodString;
|
|
193
|
+
sessionId: z.ZodString;
|
|
194
|
+
expectedRootGeneration: z.ZodString;
|
|
195
|
+
data: z.ZodString;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
type: "workflow-input";
|
|
198
|
+
data: string;
|
|
199
|
+
requestId: string;
|
|
163
200
|
sessionId: string;
|
|
201
|
+
expectedRootGeneration: string;
|
|
202
|
+
}, {
|
|
203
|
+
type: "workflow-input";
|
|
164
204
|
data: string;
|
|
205
|
+
requestId: string;
|
|
206
|
+
sessionId: string;
|
|
207
|
+
expectedRootGeneration: string;
|
|
165
208
|
}>, z.ZodObject<{
|
|
166
209
|
type: z.ZodLiteral<"resize">;
|
|
167
210
|
sessionId: z.ZodString;
|
|
@@ -213,16 +256,25 @@ declare const PtyCreatedResponseSchema: z.ZodObject<{
|
|
|
213
256
|
requestId: z.ZodString;
|
|
214
257
|
sessionId: z.ZodString;
|
|
215
258
|
platform: z.ZodEnum<["windows", "macos", "common"]>;
|
|
259
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
260
|
+
initialCwd: z.ZodString;
|
|
261
|
+
rootGeneration: z.ZodNullable<z.ZodString>;
|
|
216
262
|
}, "strip", z.ZodTypeAny, {
|
|
217
263
|
type: "created";
|
|
218
|
-
sessionId: string;
|
|
219
264
|
requestId: string;
|
|
265
|
+
sessionId: string;
|
|
266
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
220
267
|
platform: "windows" | "macos" | "common";
|
|
268
|
+
initialCwd: string;
|
|
269
|
+
rootGeneration: string | null;
|
|
221
270
|
}, {
|
|
222
271
|
type: "created";
|
|
223
|
-
sessionId: string;
|
|
224
272
|
requestId: string;
|
|
273
|
+
sessionId: string;
|
|
274
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
225
275
|
platform: "windows" | "macos" | "common";
|
|
276
|
+
initialCwd: string;
|
|
277
|
+
rootGeneration: string | null;
|
|
226
278
|
}>;
|
|
227
279
|
declare const PtyOutputResponseSchema: z.ZodObject<{
|
|
228
280
|
type: z.ZodLiteral<"output">;
|
|
@@ -230,25 +282,25 @@ declare const PtyOutputResponseSchema: z.ZodObject<{
|
|
|
230
282
|
data: z.ZodString;
|
|
231
283
|
}, "strip", z.ZodTypeAny, {
|
|
232
284
|
type: "output";
|
|
233
|
-
sessionId: string;
|
|
234
285
|
data: string;
|
|
286
|
+
sessionId: string;
|
|
235
287
|
}, {
|
|
236
288
|
type: "output";
|
|
237
|
-
sessionId: string;
|
|
238
289
|
data: string;
|
|
290
|
+
sessionId: string;
|
|
239
291
|
}>;
|
|
240
292
|
declare const PtyExitResponseSchema: z.ZodObject<{
|
|
241
293
|
type: z.ZodLiteral<"exit">;
|
|
242
294
|
sessionId: z.ZodString;
|
|
243
295
|
exitCode: z.ZodNumber;
|
|
244
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
exitCode: number;
|
|
245
298
|
type: "exit";
|
|
246
299
|
sessionId: string;
|
|
247
|
-
exitCode: number;
|
|
248
300
|
}, {
|
|
301
|
+
exitCode: number;
|
|
249
302
|
type: "exit";
|
|
250
303
|
sessionId: string;
|
|
251
|
-
exitCode: number;
|
|
252
304
|
}>;
|
|
253
305
|
declare const PtyTitleResponseSchema: z.ZodObject<{
|
|
254
306
|
type: z.ZodLiteral<"title">;
|
|
@@ -295,12 +347,12 @@ declare const PtyBufferResponseSchema: z.ZodObject<{
|
|
|
295
347
|
data: z.ZodString;
|
|
296
348
|
}, "strip", z.ZodTypeAny, {
|
|
297
349
|
type: "buffer";
|
|
298
|
-
sessionId: string;
|
|
299
350
|
data: string;
|
|
351
|
+
sessionId: string;
|
|
300
352
|
}, {
|
|
301
353
|
type: "buffer";
|
|
302
|
-
sessionId: string;
|
|
303
354
|
data: string;
|
|
355
|
+
sessionId: string;
|
|
304
356
|
}>;
|
|
305
357
|
declare const PtyListResponseSchema: z.ZodObject<{
|
|
306
358
|
type: z.ZodLiteral<"list">;
|
|
@@ -314,23 +366,32 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
314
366
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
315
367
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
316
368
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
369
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
370
|
+
initialCwd: z.ZodString;
|
|
371
|
+
rootGeneration: z.ZodNullable<z.ZodString>;
|
|
317
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
exitCode: number | null;
|
|
318
374
|
id: string;
|
|
319
375
|
command: string;
|
|
320
|
-
args: string[];
|
|
321
376
|
title: string;
|
|
377
|
+
args: string[];
|
|
378
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
322
379
|
platform: "windows" | "macos" | "common";
|
|
323
|
-
|
|
380
|
+
initialCwd: string;
|
|
381
|
+
rootGeneration: string | null;
|
|
324
382
|
isExited: boolean;
|
|
325
383
|
closeTip?: string | undefined;
|
|
326
384
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
327
385
|
}, {
|
|
386
|
+
exitCode: number | null;
|
|
328
387
|
id: string;
|
|
329
388
|
command: string;
|
|
330
|
-
args: string[];
|
|
331
389
|
title: string;
|
|
390
|
+
args: string[];
|
|
391
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
332
392
|
platform: "windows" | "macos" | "common";
|
|
333
|
-
|
|
393
|
+
initialCwd: string;
|
|
394
|
+
rootGeneration: string | null;
|
|
334
395
|
isExited: boolean;
|
|
335
396
|
closeTip?: string | undefined;
|
|
336
397
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
@@ -338,12 +399,15 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
338
399
|
}, "strip", z.ZodTypeAny, {
|
|
339
400
|
type: "list";
|
|
340
401
|
sessions: {
|
|
402
|
+
exitCode: number | null;
|
|
341
403
|
id: string;
|
|
342
404
|
command: string;
|
|
343
|
-
args: string[];
|
|
344
405
|
title: string;
|
|
406
|
+
args: string[];
|
|
407
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
345
408
|
platform: "windows" | "macos" | "common";
|
|
346
|
-
|
|
409
|
+
initialCwd: string;
|
|
410
|
+
rootGeneration: string | null;
|
|
347
411
|
isExited: boolean;
|
|
348
412
|
closeTip?: string | undefined;
|
|
349
413
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
@@ -351,30 +415,33 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
351
415
|
}, {
|
|
352
416
|
type: "list";
|
|
353
417
|
sessions: {
|
|
418
|
+
exitCode: number | null;
|
|
354
419
|
id: string;
|
|
355
420
|
command: string;
|
|
356
|
-
args: string[];
|
|
357
421
|
title: string;
|
|
422
|
+
args: string[];
|
|
423
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
358
424
|
platform: "windows" | "macos" | "common";
|
|
359
|
-
|
|
425
|
+
initialCwd: string;
|
|
426
|
+
rootGeneration: string | null;
|
|
360
427
|
isExited: boolean;
|
|
361
428
|
closeTip?: string | undefined;
|
|
362
429
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
363
430
|
}[];
|
|
364
431
|
}>;
|
|
365
|
-
declare const PtyErrorCodeSchema: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
|
|
432
|
+
declare const PtyErrorCodeSchema: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED", "UNAUTHORIZED"]>;
|
|
366
433
|
declare const PtyErrorResponseSchema: z.ZodObject<{
|
|
367
434
|
type: z.ZodLiteral<"error">;
|
|
368
|
-
code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
|
|
435
|
+
code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED", "UNAUTHORIZED"]>;
|
|
369
436
|
message: z.ZodString;
|
|
370
437
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
371
438
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
439
|
+
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED" | "UNAUTHORIZED";
|
|
373
440
|
message: string;
|
|
374
441
|
type: "error";
|
|
375
442
|
sessionId?: string | undefined;
|
|
376
443
|
}, {
|
|
377
|
-
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
444
|
+
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED" | "UNAUTHORIZED";
|
|
378
445
|
message: string;
|
|
379
446
|
type: "error";
|
|
380
447
|
sessionId?: string | undefined;
|
|
@@ -384,40 +451,76 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
384
451
|
requestId: z.ZodString;
|
|
385
452
|
sessionId: z.ZodString;
|
|
386
453
|
platform: z.ZodEnum<["windows", "macos", "common"]>;
|
|
454
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
455
|
+
initialCwd: z.ZodString;
|
|
456
|
+
rootGeneration: z.ZodNullable<z.ZodString>;
|
|
387
457
|
}, "strip", z.ZodTypeAny, {
|
|
388
458
|
type: "created";
|
|
389
|
-
sessionId: string;
|
|
390
459
|
requestId: string;
|
|
460
|
+
sessionId: string;
|
|
461
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
391
462
|
platform: "windows" | "macos" | "common";
|
|
463
|
+
initialCwd: string;
|
|
464
|
+
rootGeneration: string | null;
|
|
392
465
|
}, {
|
|
393
466
|
type: "created";
|
|
394
|
-
sessionId: string;
|
|
395
467
|
requestId: string;
|
|
468
|
+
sessionId: string;
|
|
469
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
396
470
|
platform: "windows" | "macos" | "common";
|
|
471
|
+
initialCwd: string;
|
|
472
|
+
rootGeneration: string | null;
|
|
473
|
+
}>, z.ZodObject<{
|
|
474
|
+
type: z.ZodLiteral<"workflow-input-accepted">;
|
|
475
|
+
requestId: z.ZodString;
|
|
476
|
+
sessionId: z.ZodString;
|
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
|
478
|
+
type: "workflow-input-accepted";
|
|
479
|
+
requestId: string;
|
|
480
|
+
sessionId: string;
|
|
481
|
+
}, {
|
|
482
|
+
type: "workflow-input-accepted";
|
|
483
|
+
requestId: string;
|
|
484
|
+
sessionId: string;
|
|
485
|
+
}>, z.ZodObject<{
|
|
486
|
+
type: z.ZodLiteral<"workflow-input-rejected">;
|
|
487
|
+
requestId: z.ZodString;
|
|
488
|
+
sessionId: z.ZodString;
|
|
489
|
+
message: z.ZodString;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
message: string;
|
|
492
|
+
type: "workflow-input-rejected";
|
|
493
|
+
requestId: string;
|
|
494
|
+
sessionId: string;
|
|
495
|
+
}, {
|
|
496
|
+
message: string;
|
|
497
|
+
type: "workflow-input-rejected";
|
|
498
|
+
requestId: string;
|
|
499
|
+
sessionId: string;
|
|
397
500
|
}>, z.ZodObject<{
|
|
398
501
|
type: z.ZodLiteral<"output">;
|
|
399
502
|
sessionId: z.ZodString;
|
|
400
503
|
data: z.ZodString;
|
|
401
504
|
}, "strip", z.ZodTypeAny, {
|
|
402
505
|
type: "output";
|
|
403
|
-
sessionId: string;
|
|
404
506
|
data: string;
|
|
507
|
+
sessionId: string;
|
|
405
508
|
}, {
|
|
406
509
|
type: "output";
|
|
407
|
-
sessionId: string;
|
|
408
510
|
data: string;
|
|
511
|
+
sessionId: string;
|
|
409
512
|
}>, z.ZodObject<{
|
|
410
513
|
type: z.ZodLiteral<"exit">;
|
|
411
514
|
sessionId: z.ZodString;
|
|
412
515
|
exitCode: z.ZodNumber;
|
|
413
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
|
+
exitCode: number;
|
|
414
518
|
type: "exit";
|
|
415
519
|
sessionId: string;
|
|
416
|
-
exitCode: number;
|
|
417
520
|
}, {
|
|
521
|
+
exitCode: number;
|
|
418
522
|
type: "exit";
|
|
419
523
|
sessionId: string;
|
|
420
|
-
exitCode: number;
|
|
421
524
|
}>, z.ZodObject<{
|
|
422
525
|
type: z.ZodLiteral<"title">;
|
|
423
526
|
sessionId: z.ZodString;
|
|
@@ -462,13 +565,13 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
462
565
|
}, "strip", z.ZodTypeAny, {
|
|
463
566
|
value: number | null;
|
|
464
567
|
type: "progress";
|
|
568
|
+
state: "set" | "error" | "warning" | "indeterminate" | "clear";
|
|
465
569
|
sessionId: string;
|
|
466
|
-
state: "error" | "set" | "clear" | "warning" | "indeterminate";
|
|
467
570
|
}, {
|
|
468
571
|
value: number | null;
|
|
469
572
|
type: "progress";
|
|
573
|
+
state: "set" | "error" | "warning" | "indeterminate" | "clear";
|
|
470
574
|
sessionId: string;
|
|
471
|
-
state: "error" | "set" | "clear" | "warning" | "indeterminate";
|
|
472
575
|
}>, z.ZodObject<{
|
|
473
576
|
type: z.ZodLiteral<"prompt-state">;
|
|
474
577
|
sessionId: z.ZodString;
|
|
@@ -476,13 +579,13 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
476
579
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
477
580
|
}, "strip", z.ZodTypeAny, {
|
|
478
581
|
type: "prompt-state";
|
|
479
|
-
sessionId: string;
|
|
480
582
|
state: "prompt-start" | "prompt-end" | "command-start" | "command-output" | "command-end";
|
|
583
|
+
sessionId: string;
|
|
481
584
|
exitCode?: number | undefined;
|
|
482
585
|
}, {
|
|
483
586
|
type: "prompt-state";
|
|
484
|
-
sessionId: string;
|
|
485
587
|
state: "prompt-start" | "prompt-end" | "command-start" | "command-output" | "command-end";
|
|
588
|
+
sessionId: string;
|
|
486
589
|
exitCode?: number | undefined;
|
|
487
590
|
}>, z.ZodObject<{
|
|
488
591
|
type: z.ZodLiteral<"bell">;
|
|
@@ -502,12 +605,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
502
605
|
data: z.ZodString;
|
|
503
606
|
}, "strip", z.ZodTypeAny, {
|
|
504
607
|
type: "buffer";
|
|
505
|
-
sessionId: string;
|
|
506
608
|
data: string;
|
|
609
|
+
sessionId: string;
|
|
507
610
|
}, {
|
|
508
611
|
type: "buffer";
|
|
509
|
-
sessionId: string;
|
|
510
612
|
data: string;
|
|
613
|
+
sessionId: string;
|
|
511
614
|
}>, z.ZodObject<{
|
|
512
615
|
type: z.ZodLiteral<"list">;
|
|
513
616
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -520,23 +623,32 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
520
623
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
521
624
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
522
625
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
626
|
+
cwdTarget: z.ZodEnum<["launch-project", "planning-root"]>;
|
|
627
|
+
initialCwd: z.ZodString;
|
|
628
|
+
rootGeneration: z.ZodNullable<z.ZodString>;
|
|
523
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
exitCode: number | null;
|
|
524
631
|
id: string;
|
|
525
632
|
command: string;
|
|
526
|
-
args: string[];
|
|
527
633
|
title: string;
|
|
634
|
+
args: string[];
|
|
635
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
528
636
|
platform: "windows" | "macos" | "common";
|
|
529
|
-
|
|
637
|
+
initialCwd: string;
|
|
638
|
+
rootGeneration: string | null;
|
|
530
639
|
isExited: boolean;
|
|
531
640
|
closeTip?: string | undefined;
|
|
532
641
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
533
642
|
}, {
|
|
643
|
+
exitCode: number | null;
|
|
534
644
|
id: string;
|
|
535
645
|
command: string;
|
|
536
|
-
args: string[];
|
|
537
646
|
title: string;
|
|
647
|
+
args: string[];
|
|
648
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
538
649
|
platform: "windows" | "macos" | "common";
|
|
539
|
-
|
|
650
|
+
initialCwd: string;
|
|
651
|
+
rootGeneration: string | null;
|
|
540
652
|
isExited: boolean;
|
|
541
653
|
closeTip?: string | undefined;
|
|
542
654
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
@@ -544,12 +656,15 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
544
656
|
}, "strip", z.ZodTypeAny, {
|
|
545
657
|
type: "list";
|
|
546
658
|
sessions: {
|
|
659
|
+
exitCode: number | null;
|
|
547
660
|
id: string;
|
|
548
661
|
command: string;
|
|
549
|
-
args: string[];
|
|
550
662
|
title: string;
|
|
663
|
+
args: string[];
|
|
664
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
551
665
|
platform: "windows" | "macos" | "common";
|
|
552
|
-
|
|
666
|
+
initialCwd: string;
|
|
667
|
+
rootGeneration: string | null;
|
|
553
668
|
isExited: boolean;
|
|
554
669
|
closeTip?: string | undefined;
|
|
555
670
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
@@ -557,28 +672,31 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
557
672
|
}, {
|
|
558
673
|
type: "list";
|
|
559
674
|
sessions: {
|
|
675
|
+
exitCode: number | null;
|
|
560
676
|
id: string;
|
|
561
677
|
command: string;
|
|
562
|
-
args: string[];
|
|
563
678
|
title: string;
|
|
679
|
+
args: string[];
|
|
680
|
+
cwdTarget: "launch-project" | "planning-root";
|
|
564
681
|
platform: "windows" | "macos" | "common";
|
|
565
|
-
|
|
682
|
+
initialCwd: string;
|
|
683
|
+
rootGeneration: string | null;
|
|
566
684
|
isExited: boolean;
|
|
567
685
|
closeTip?: string | undefined;
|
|
568
686
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
569
687
|
}[];
|
|
570
688
|
}>, z.ZodObject<{
|
|
571
689
|
type: z.ZodLiteral<"error">;
|
|
572
|
-
code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
|
|
690
|
+
code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED", "UNAUTHORIZED"]>;
|
|
573
691
|
message: z.ZodString;
|
|
574
692
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
575
693
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
694
|
+
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED" | "UNAUTHORIZED";
|
|
577
695
|
message: string;
|
|
578
696
|
type: "error";
|
|
579
697
|
sessionId?: string | undefined;
|
|
580
698
|
}, {
|
|
581
|
-
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
699
|
+
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED" | "UNAUTHORIZED";
|
|
582
700
|
message: string;
|
|
583
701
|
type: "error";
|
|
584
702
|
sessionId?: string | undefined;
|
|
@@ -587,6 +705,7 @@ type PtyClientMessage = z.infer<typeof PtyClientMessageSchema>;
|
|
|
587
705
|
type PtyServerMessage = z.infer<typeof PtyServerMessageSchema>;
|
|
588
706
|
type PtySessionInfo = z.infer<typeof PtySessionInfoSchema>;
|
|
589
707
|
type PtyPlatform = z.infer<typeof PtyPlatformSchema>;
|
|
708
|
+
type TerminalCwdTarget = z.infer<typeof TerminalCwdTargetSchema>;
|
|
590
709
|
//#endregion
|
|
591
710
|
//#region src/terminal-invocation.d.ts
|
|
592
711
|
interface TerminalShellEnv {
|
|
@@ -606,15 +725,15 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
|
|
|
606
725
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
607
726
|
}, "strip", z.ZodTypeAny, {
|
|
608
727
|
id: string;
|
|
609
|
-
label: string;
|
|
610
728
|
source: "custom" | "builtin";
|
|
611
729
|
command: string;
|
|
730
|
+
label: string;
|
|
612
731
|
args: string[];
|
|
613
732
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
614
733
|
}, {
|
|
615
734
|
id: string;
|
|
616
|
-
label: string;
|
|
617
735
|
command: string;
|
|
736
|
+
label: string;
|
|
618
737
|
source?: "custom" | "builtin" | undefined;
|
|
619
738
|
args?: string[] | undefined;
|
|
620
739
|
quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
|
|
@@ -631,9 +750,9 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
|
|
|
631
750
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
632
751
|
advanced: z.ZodDefault<z.ZodBoolean>;
|
|
633
752
|
}, "strip", z.ZodTypeAny, {
|
|
634
|
-
id: string;
|
|
635
753
|
options: string[];
|
|
636
754
|
type: "boolean" | "text" | "textarea" | "select";
|
|
755
|
+
id: string;
|
|
637
756
|
required: boolean;
|
|
638
757
|
label: string;
|
|
639
758
|
advanced: boolean;
|
|
@@ -641,12 +760,12 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
|
|
|
641
760
|
placeholder?: string | undefined;
|
|
642
761
|
defaultValue?: string | boolean | undefined;
|
|
643
762
|
}, {
|
|
644
|
-
id: string;
|
|
645
763
|
type: "boolean" | "text" | "textarea" | "select";
|
|
764
|
+
id: string;
|
|
646
765
|
label: string;
|
|
647
766
|
options?: string[] | undefined;
|
|
648
|
-
required?: boolean | undefined;
|
|
649
767
|
description?: string | undefined;
|
|
768
|
+
required?: boolean | undefined;
|
|
650
769
|
placeholder?: string | undefined;
|
|
651
770
|
defaultValue?: string | boolean | undefined;
|
|
652
771
|
advanced?: boolean | undefined;
|
|
@@ -998,9 +1117,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
998
1117
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
999
1118
|
advanced: z.ZodDefault<z.ZodBoolean>;
|
|
1000
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1001
|
-
id: string;
|
|
1002
1120
|
options: string[];
|
|
1003
1121
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1122
|
+
id: string;
|
|
1004
1123
|
required: boolean;
|
|
1005
1124
|
label: string;
|
|
1006
1125
|
advanced: boolean;
|
|
@@ -1008,12 +1127,12 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1008
1127
|
placeholder?: string | undefined;
|
|
1009
1128
|
defaultValue?: string | boolean | undefined;
|
|
1010
1129
|
}, {
|
|
1011
|
-
id: string;
|
|
1012
1130
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1131
|
+
id: string;
|
|
1013
1132
|
label: string;
|
|
1014
1133
|
options?: string[] | undefined;
|
|
1015
|
-
required?: boolean | undefined;
|
|
1016
1134
|
description?: string | undefined;
|
|
1135
|
+
required?: boolean | undefined;
|
|
1017
1136
|
placeholder?: string | undefined;
|
|
1018
1137
|
defaultValue?: string | boolean | undefined;
|
|
1019
1138
|
advanced?: boolean | undefined;
|
|
@@ -1173,9 +1292,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1173
1292
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1174
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1175
1294
|
id: string;
|
|
1176
|
-
label: string;
|
|
1177
1295
|
source: "custom" | "builtin";
|
|
1178
1296
|
command: string;
|
|
1297
|
+
label: string;
|
|
1179
1298
|
args: ({
|
|
1180
1299
|
value: string;
|
|
1181
1300
|
kind: "literal";
|
|
@@ -1190,9 +1309,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1190
1309
|
flag: string;
|
|
1191
1310
|
})[];
|
|
1192
1311
|
fields: {
|
|
1193
|
-
id: string;
|
|
1194
1312
|
options: string[];
|
|
1195
1313
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1314
|
+
id: string;
|
|
1196
1315
|
required: boolean;
|
|
1197
1316
|
label: string;
|
|
1198
1317
|
advanced: boolean;
|
|
@@ -1237,10 +1356,10 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1237
1356
|
shellProfileId?: string | undefined;
|
|
1238
1357
|
}, {
|
|
1239
1358
|
id: string;
|
|
1240
|
-
label: string;
|
|
1241
1359
|
command: string;
|
|
1242
|
-
|
|
1360
|
+
label: string;
|
|
1243
1361
|
source?: "custom" | "builtin" | undefined;
|
|
1362
|
+
description?: string | undefined;
|
|
1244
1363
|
args?: ({
|
|
1245
1364
|
value: string;
|
|
1246
1365
|
kind: "literal";
|
|
@@ -1255,12 +1374,12 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1255
1374
|
flag: string;
|
|
1256
1375
|
})[] | undefined;
|
|
1257
1376
|
fields?: {
|
|
1258
|
-
id: string;
|
|
1259
1377
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1378
|
+
id: string;
|
|
1260
1379
|
label: string;
|
|
1261
1380
|
options?: string[] | undefined;
|
|
1262
|
-
required?: boolean | undefined;
|
|
1263
1381
|
description?: string | undefined;
|
|
1382
|
+
required?: boolean | undefined;
|
|
1264
1383
|
placeholder?: string | undefined;
|
|
1265
1384
|
defaultValue?: string | boolean | undefined;
|
|
1266
1385
|
advanced?: boolean | undefined;
|
|
@@ -1312,15 +1431,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1312
1431
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
1313
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1314
1433
|
id: string;
|
|
1315
|
-
label: string;
|
|
1316
1434
|
source: "custom" | "builtin";
|
|
1317
1435
|
command: string;
|
|
1436
|
+
label: string;
|
|
1318
1437
|
args: string[];
|
|
1319
1438
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1320
1439
|
}, {
|
|
1321
1440
|
id: string;
|
|
1322
|
-
label: string;
|
|
1323
1441
|
command: string;
|
|
1442
|
+
label: string;
|
|
1324
1443
|
source?: "custom" | "builtin" | undefined;
|
|
1325
1444
|
args?: string[] | undefined;
|
|
1326
1445
|
quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
|
|
@@ -1378,9 +1497,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1378
1497
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1379
1498
|
advanced: z.ZodDefault<z.ZodBoolean>;
|
|
1380
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1381
|
-
id: string;
|
|
1382
1500
|
options: string[];
|
|
1383
1501
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1502
|
+
id: string;
|
|
1384
1503
|
required: boolean;
|
|
1385
1504
|
label: string;
|
|
1386
1505
|
advanced: boolean;
|
|
@@ -1388,12 +1507,12 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1388
1507
|
placeholder?: string | undefined;
|
|
1389
1508
|
defaultValue?: string | boolean | undefined;
|
|
1390
1509
|
}, {
|
|
1391
|
-
id: string;
|
|
1392
1510
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1511
|
+
id: string;
|
|
1393
1512
|
label: string;
|
|
1394
1513
|
options?: string[] | undefined;
|
|
1395
|
-
required?: boolean | undefined;
|
|
1396
1514
|
description?: string | undefined;
|
|
1515
|
+
required?: boolean | undefined;
|
|
1397
1516
|
placeholder?: string | undefined;
|
|
1398
1517
|
defaultValue?: string | boolean | undefined;
|
|
1399
1518
|
advanced?: boolean | undefined;
|
|
@@ -1553,9 +1672,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1553
1672
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1554
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1555
1674
|
id: string;
|
|
1556
|
-
label: string;
|
|
1557
1675
|
source: "custom" | "builtin";
|
|
1558
1676
|
command: string;
|
|
1677
|
+
label: string;
|
|
1559
1678
|
args: ({
|
|
1560
1679
|
value: string;
|
|
1561
1680
|
kind: "literal";
|
|
@@ -1570,9 +1689,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1570
1689
|
flag: string;
|
|
1571
1690
|
})[];
|
|
1572
1691
|
fields: {
|
|
1573
|
-
id: string;
|
|
1574
1692
|
options: string[];
|
|
1575
1693
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1694
|
+
id: string;
|
|
1576
1695
|
required: boolean;
|
|
1577
1696
|
label: string;
|
|
1578
1697
|
advanced: boolean;
|
|
@@ -1617,10 +1736,10 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1617
1736
|
shellProfileId?: string | undefined;
|
|
1618
1737
|
}, {
|
|
1619
1738
|
id: string;
|
|
1620
|
-
label: string;
|
|
1621
1739
|
command: string;
|
|
1622
|
-
|
|
1740
|
+
label: string;
|
|
1623
1741
|
source?: "custom" | "builtin" | undefined;
|
|
1742
|
+
description?: string | undefined;
|
|
1624
1743
|
args?: ({
|
|
1625
1744
|
value: string;
|
|
1626
1745
|
kind: "literal";
|
|
@@ -1635,12 +1754,12 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1635
1754
|
flag: string;
|
|
1636
1755
|
})[] | undefined;
|
|
1637
1756
|
fields?: {
|
|
1638
|
-
id: string;
|
|
1639
1757
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1758
|
+
id: string;
|
|
1640
1759
|
label: string;
|
|
1641
1760
|
options?: string[] | undefined;
|
|
1642
|
-
required?: boolean | undefined;
|
|
1643
1761
|
description?: string | undefined;
|
|
1762
|
+
required?: boolean | undefined;
|
|
1644
1763
|
placeholder?: string | undefined;
|
|
1645
1764
|
defaultValue?: string | boolean | undefined;
|
|
1646
1765
|
advanced?: boolean | undefined;
|
|
@@ -1683,17 +1802,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1683
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1684
1803
|
customShellProfiles: {
|
|
1685
1804
|
id: string;
|
|
1686
|
-
label: string;
|
|
1687
1805
|
source: "custom" | "builtin";
|
|
1688
1806
|
command: string;
|
|
1807
|
+
label: string;
|
|
1689
1808
|
args: string[];
|
|
1690
1809
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1691
1810
|
}[];
|
|
1692
1811
|
customSpawnCommands: {
|
|
1693
1812
|
id: string;
|
|
1694
|
-
label: string;
|
|
1695
1813
|
source: "custom" | "builtin";
|
|
1696
1814
|
command: string;
|
|
1815
|
+
label: string;
|
|
1697
1816
|
args: ({
|
|
1698
1817
|
value: string;
|
|
1699
1818
|
kind: "literal";
|
|
@@ -1708,9 +1827,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1708
1827
|
flag: string;
|
|
1709
1828
|
})[];
|
|
1710
1829
|
fields: {
|
|
1711
|
-
id: string;
|
|
1712
1830
|
options: string[];
|
|
1713
1831
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1832
|
+
id: string;
|
|
1714
1833
|
required: boolean;
|
|
1715
1834
|
label: string;
|
|
1716
1835
|
advanced: boolean;
|
|
@@ -1759,18 +1878,18 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1759
1878
|
defaultShellProfileId?: string | undefined;
|
|
1760
1879
|
customShellProfiles?: {
|
|
1761
1880
|
id: string;
|
|
1762
|
-
label: string;
|
|
1763
1881
|
command: string;
|
|
1882
|
+
label: string;
|
|
1764
1883
|
source?: "custom" | "builtin" | undefined;
|
|
1765
1884
|
args?: string[] | undefined;
|
|
1766
1885
|
quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
|
|
1767
1886
|
}[] | undefined;
|
|
1768
1887
|
customSpawnCommands?: {
|
|
1769
1888
|
id: string;
|
|
1770
|
-
label: string;
|
|
1771
1889
|
command: string;
|
|
1772
|
-
|
|
1890
|
+
label: string;
|
|
1773
1891
|
source?: "custom" | "builtin" | undefined;
|
|
1892
|
+
description?: string | undefined;
|
|
1774
1893
|
args?: ({
|
|
1775
1894
|
value: string;
|
|
1776
1895
|
kind: "literal";
|
|
@@ -1785,12 +1904,12 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1785
1904
|
flag: string;
|
|
1786
1905
|
})[] | undefined;
|
|
1787
1906
|
fields?: {
|
|
1788
|
-
id: string;
|
|
1789
1907
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1908
|
+
id: string;
|
|
1790
1909
|
label: string;
|
|
1791
1910
|
options?: string[] | undefined;
|
|
1792
|
-
required?: boolean | undefined;
|
|
1793
1911
|
description?: string | undefined;
|
|
1912
|
+
required?: boolean | undefined;
|
|
1794
1913
|
placeholder?: string | undefined;
|
|
1795
1914
|
defaultValue?: string | boolean | undefined;
|
|
1796
1915
|
advanced?: boolean | undefined;
|
|
@@ -1866,4 +1985,4 @@ declare function renderTerminalSpawnCommandLine(options: {
|
|
|
1866
1985
|
quoteStyle: TerminalShellQuoteStyle;
|
|
1867
1986
|
}): string;
|
|
1868
1987
|
//#endregion
|
|
1869
|
-
export { PtyServerMessageSchema as $, renderTerminalSpawnCommand as A, PtyCreatedResponseSchema as B, TerminalSpawnCommand as C, getTerminalCommandParameters as D, getTerminalCommandDefaultValues as E, PtyBufferResponseSchema as F, PtyListMessageSchema as G, PtyErrorResponseSchema as H, PtyClientMessage as I, PtyPlatform as J, PtyListResponseSchema as K, PtyClientMessageSchema as L, resolveTerminalShellDefaults as M, PtyAttachMessageSchema as N, quoteTerminalShellArg as O, PtyBellResponseSchema as P, PtyServerMessage as Q, PtyCloseMessageSchema as R, TerminalShellQuoteStyleSchema as S, fieldsToTerminalCommandParameters as T, PtyExitResponseSchema as U, PtyErrorCodeSchema as V, PtyInputMessageSchema as W, PtyProcessTitleResponseSchema as X, PtyPlatformSchema as Y, PtyResizeMessageSchema as Z, TerminalShellDefaults as _, TerminalCommandBuilder as a, TerminalShellProfileSchema as b, TerminalCommandFieldSchema as c, TerminalCommandJsonSchema as d, PtySessionInfo as et, TerminalCommandJsonSchemaProperty as f, TerminalInvocationSettingsSchema as g, TerminalInvocationSettings as h, TerminalCommandArgument as i, renderTerminalSpawnCommandLine as j, renderTerminalCommandArgs as k, TerminalCommandFieldValue as l, TerminalCommandRenderResult as m, TERMINAL_COMMAND_FIELD_TYPE_VALUES as n, TerminalCommandBuilderPart as o, TerminalCommandParameters as p, PtyOutputResponseSchema as q, TERMINAL_SHELL_QUOTE_STYLE_VALUES as r, TerminalCommandField as s, BUILTIN_TERMINAL_SPAWN_COMMANDS as t, PtyTitleResponseSchema as tt, TerminalCommandFieldValues as u, TerminalShellEnv as v, TerminalSpawnCommandSchema as w, TerminalShellQuoteStyle as x, TerminalShellProfile as y, PtyCreateMessageSchema as z };
|
|
1988
|
+
export { PtyServerMessageSchema as $, renderTerminalSpawnCommand as A, PtyCreatedResponseSchema as B, TerminalSpawnCommand as C, getTerminalCommandParameters as D, getTerminalCommandDefaultValues as E, PtyBufferResponseSchema as F, PtyListMessageSchema as G, PtyErrorResponseSchema as H, PtyClientMessage as I, PtyPlatform as J, PtyListResponseSchema as K, PtyClientMessageSchema as L, resolveTerminalShellDefaults as M, PtyAttachMessageSchema as N, quoteTerminalShellArg as O, PtyBellResponseSchema as P, PtyServerMessage as Q, PtyCloseMessageSchema as R, TerminalShellQuoteStyleSchema as S, fieldsToTerminalCommandParameters as T, PtyExitResponseSchema as U, PtyErrorCodeSchema as V, PtyInputMessageSchema as W, PtyProcessTitleResponseSchema as X, PtyPlatformSchema as Y, PtyResizeMessageSchema as Z, TerminalShellDefaults as _, TerminalCommandBuilder as a, TerminalShellProfileSchema as b, TerminalCommandFieldSchema as c, TerminalCommandJsonSchema as d, PtySessionInfo as et, TerminalCommandJsonSchemaProperty as f, TerminalInvocationSettingsSchema as g, TerminalInvocationSettings as h, TerminalCommandArgument as i, renderTerminalSpawnCommandLine as j, renderTerminalCommandArgs as k, TerminalCommandFieldValue as l, TerminalCommandRenderResult as m, TERMINAL_COMMAND_FIELD_TYPE_VALUES as n, TerminalCwdTarget as nt, TerminalCommandBuilderPart as o, TerminalCommandParameters as p, PtyOutputResponseSchema as q, TERMINAL_SHELL_QUOTE_STYLE_VALUES as r, TerminalCwdTargetSchema as rt, TerminalCommandField as s, BUILTIN_TERMINAL_SPAWN_COMMANDS as t, PtyTitleResponseSchema as tt, TerminalCommandFieldValues as u, TerminalShellEnv as v, TerminalSpawnCommandSchema as w, TerminalShellQuoteStyle as x, TerminalShellProfile as y, PtyCreateMessageSchema as z };
|