@openspecui/core 5.0.0 → 6.0.0-beta.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/cli-projection-CBvIiy5p.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-CuWzPRAT.d.mts +8477 -0
- package/dist/common-D8YUK9dA.mjs +57 -0
- package/dist/dashboard-display.d.mts +22 -1
- package/dist/dashboard-display.mjs +42 -1
- package/dist/dashboard-summary-transport-CYBuU4iT.mjs +189 -0
- package/dist/dashboard-summary-transport-Dskh3E9-.d.mts +67407 -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-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
- 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-caa4PECd.d.mts → local-download-profiles-bYSSKmtx.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-DZeOl4HV.d.mts → notifications-Ak6LdCaL.d.mts} +42 -16
- package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
- 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 +20 -13
- package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
- package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-DU7RFRyA.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-DZyl-uhQ.d.mts → opsx-entity-6PnbYZZp.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-CiqCYl2F.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-Fs0tRnL2.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-D01aQnV4.d.mts → schemas-D-6yi_I-.d.mts} +524 -78
- package/dist/{sounds-kgDn4x8v.d.mts → sounds-C24SzEHX.d.mts} +4 -4
- 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-3TzQ6ete.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-BiE-Ey--.d.mts → store-types-CmDVyObq.d.mts} +22 -12
- package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
- 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-CsuGTNV-.d.mts → terminal-audio-Rj1pLeSw.d.mts} +1 -1
- package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
- 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-BlFwKpIc.d.mts → terminal-invocation-G19ieMZy.d.mts} +212 -93
- 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-BErXgQxx.d.mts → translator-CNmE1fAm.d.mts} +132 -132
- 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-Dnb06uff.d.mts +0 -402
- package/dist/task-progress-C1TGMbIR.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, {
|
|
16
|
-
title: string;
|
|
17
21
|
id: string;
|
|
18
22
|
command: string;
|
|
23
|
+
exitCode: number | null;
|
|
24
|
+
title: string;
|
|
19
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
|
}, {
|
|
26
|
-
title: string;
|
|
27
34
|
id: string;
|
|
28
35
|
command: string;
|
|
36
|
+
exitCode: number | null;
|
|
37
|
+
title: string;
|
|
29
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
|
}>;
|
|
@@ -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<{
|
|
@@ -162,6 +187,24 @@ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
162
187
|
type: "input";
|
|
163
188
|
sessionId: string;
|
|
164
189
|
data: 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
|
+
sessionId: string;
|
|
199
|
+
data: string;
|
|
200
|
+
requestId: string;
|
|
201
|
+
expectedRootGeneration: string;
|
|
202
|
+
}, {
|
|
203
|
+
type: "workflow-input";
|
|
204
|
+
sessionId: string;
|
|
205
|
+
data: string;
|
|
206
|
+
requestId: 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
264
|
sessionId: string;
|
|
219
265
|
requestId: 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
272
|
sessionId: string;
|
|
224
273
|
requestId: 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">;
|
|
@@ -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, {
|
|
318
|
-
title: string;
|
|
319
373
|
id: string;
|
|
320
374
|
command: string;
|
|
375
|
+
exitCode: number | null;
|
|
376
|
+
title: string;
|
|
321
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
|
}, {
|
|
328
|
-
title: string;
|
|
329
386
|
id: string;
|
|
330
387
|
command: string;
|
|
388
|
+
exitCode: number | null;
|
|
389
|
+
title: string;
|
|
331
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: {
|
|
341
|
-
title: string;
|
|
342
402
|
id: string;
|
|
343
403
|
command: string;
|
|
404
|
+
exitCode: number | null;
|
|
405
|
+
title: string;
|
|
344
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: {
|
|
354
|
-
title: string;
|
|
355
418
|
id: string;
|
|
356
419
|
command: string;
|
|
420
|
+
exitCode: number | null;
|
|
421
|
+
title: string;
|
|
357
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,16 +451,52 @@ 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
459
|
sessionId: string;
|
|
390
460
|
requestId: 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
467
|
sessionId: string;
|
|
395
468
|
requestId: 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
|
+
sessionId: string;
|
|
480
|
+
requestId: string;
|
|
481
|
+
}, {
|
|
482
|
+
type: "workflow-input-accepted";
|
|
483
|
+
sessionId: string;
|
|
484
|
+
requestId: 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
|
+
sessionId: string;
|
|
494
|
+
requestId: string;
|
|
495
|
+
}, {
|
|
496
|
+
message: string;
|
|
497
|
+
type: "workflow-input-rejected";
|
|
498
|
+
sessionId: string;
|
|
499
|
+
requestId: string;
|
|
397
500
|
}>, z.ZodObject<{
|
|
398
501
|
type: z.ZodLiteral<"output">;
|
|
399
502
|
sessionId: z.ZodString;
|
|
@@ -463,12 +566,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
463
566
|
value: number | null;
|
|
464
567
|
type: "progress";
|
|
465
568
|
sessionId: string;
|
|
466
|
-
state: "
|
|
569
|
+
state: "error" | "set" | "warning" | "clear" | "indeterminate";
|
|
467
570
|
}, {
|
|
468
571
|
value: number | null;
|
|
469
572
|
type: "progress";
|
|
470
573
|
sessionId: string;
|
|
471
|
-
state: "
|
|
574
|
+
state: "error" | "set" | "warning" | "clear" | "indeterminate";
|
|
472
575
|
}>, z.ZodObject<{
|
|
473
576
|
type: z.ZodLiteral<"prompt-state">;
|
|
474
577
|
sessionId: z.ZodString;
|
|
@@ -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, {
|
|
524
|
-
title: string;
|
|
525
630
|
id: string;
|
|
526
631
|
command: string;
|
|
632
|
+
exitCode: number | null;
|
|
633
|
+
title: string;
|
|
527
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
|
}, {
|
|
534
|
-
title: string;
|
|
535
643
|
id: string;
|
|
536
644
|
command: string;
|
|
645
|
+
exitCode: number | null;
|
|
646
|
+
title: string;
|
|
537
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: {
|
|
547
|
-
title: string;
|
|
548
659
|
id: string;
|
|
549
660
|
command: string;
|
|
661
|
+
exitCode: number | null;
|
|
662
|
+
title: string;
|
|
550
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: {
|
|
560
|
-
title: string;
|
|
561
675
|
id: string;
|
|
562
676
|
command: string;
|
|
677
|
+
exitCode: number | null;
|
|
678
|
+
title: string;
|
|
563
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 {
|
|
@@ -605,15 +724,15 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
|
|
|
605
724
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
606
725
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
607
726
|
}, "strip", z.ZodTypeAny, {
|
|
727
|
+
id: string;
|
|
608
728
|
label: string;
|
|
609
729
|
source: "custom" | "builtin";
|
|
610
|
-
id: string;
|
|
611
730
|
command: string;
|
|
612
731
|
args: string[];
|
|
613
732
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
614
733
|
}, {
|
|
615
|
-
label: string;
|
|
616
734
|
id: string;
|
|
735
|
+
label: string;
|
|
617
736
|
command: string;
|
|
618
737
|
source?: "custom" | "builtin" | undefined;
|
|
619
738
|
args?: string[] | undefined;
|
|
@@ -633,17 +752,17 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
|
|
|
633
752
|
}, "strip", z.ZodTypeAny, {
|
|
634
753
|
options: string[];
|
|
635
754
|
type: "boolean" | "text" | "textarea" | "select";
|
|
636
|
-
label: string;
|
|
637
|
-
id: string;
|
|
638
755
|
required: boolean;
|
|
756
|
+
id: string;
|
|
757
|
+
label: string;
|
|
639
758
|
advanced: boolean;
|
|
640
759
|
description?: string | undefined;
|
|
641
760
|
placeholder?: string | undefined;
|
|
642
761
|
defaultValue?: string | boolean | undefined;
|
|
643
762
|
}, {
|
|
644
763
|
type: "boolean" | "text" | "textarea" | "select";
|
|
645
|
-
label: string;
|
|
646
764
|
id: string;
|
|
765
|
+
label: string;
|
|
647
766
|
options?: string[] | undefined;
|
|
648
767
|
required?: boolean | undefined;
|
|
649
768
|
description?: string | undefined;
|
|
@@ -698,14 +817,14 @@ declare const TerminalCommandJsonSchemaPropertySchema: z.ZodObject<{
|
|
|
698
817
|
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
699
818
|
}, "strip", z.ZodTypeAny, {
|
|
700
819
|
type: "string" | "boolean";
|
|
701
|
-
title?: string | undefined;
|
|
702
820
|
description?: string | undefined;
|
|
821
|
+
title?: string | undefined;
|
|
703
822
|
default?: string | boolean | undefined;
|
|
704
823
|
enum?: string[] | undefined;
|
|
705
824
|
}, {
|
|
706
825
|
type?: "string" | "boolean" | undefined;
|
|
707
|
-
title?: string | undefined;
|
|
708
826
|
description?: string | undefined;
|
|
827
|
+
title?: string | undefined;
|
|
709
828
|
default?: string | boolean | undefined;
|
|
710
829
|
enum?: string[] | undefined;
|
|
711
830
|
}>;
|
|
@@ -720,14 +839,14 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
|
|
|
720
839
|
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
721
840
|
}, "strip", z.ZodTypeAny, {
|
|
722
841
|
type: "string" | "boolean";
|
|
723
|
-
title?: string | undefined;
|
|
724
842
|
description?: string | undefined;
|
|
843
|
+
title?: string | undefined;
|
|
725
844
|
default?: string | boolean | undefined;
|
|
726
845
|
enum?: string[] | undefined;
|
|
727
846
|
}, {
|
|
728
847
|
type?: "string" | "boolean" | undefined;
|
|
729
|
-
title?: string | undefined;
|
|
730
848
|
description?: string | undefined;
|
|
849
|
+
title?: string | undefined;
|
|
731
850
|
default?: string | boolean | undefined;
|
|
732
851
|
enum?: string[] | undefined;
|
|
733
852
|
}>>>;
|
|
@@ -737,8 +856,8 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
|
|
|
737
856
|
required: string[];
|
|
738
857
|
properties: Record<string, {
|
|
739
858
|
type: "string" | "boolean";
|
|
740
|
-
title?: string | undefined;
|
|
741
859
|
description?: string | undefined;
|
|
860
|
+
title?: string | undefined;
|
|
742
861
|
default?: string | boolean | undefined;
|
|
743
862
|
enum?: string[] | undefined;
|
|
744
863
|
}>;
|
|
@@ -747,8 +866,8 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
|
|
|
747
866
|
required?: string[] | undefined;
|
|
748
867
|
properties?: Record<string, {
|
|
749
868
|
type?: "string" | "boolean" | undefined;
|
|
750
|
-
title?: string | undefined;
|
|
751
869
|
description?: string | undefined;
|
|
870
|
+
title?: string | undefined;
|
|
752
871
|
default?: string | boolean | undefined;
|
|
753
872
|
enum?: string[] | undefined;
|
|
754
873
|
}> | undefined;
|
|
@@ -765,14 +884,14 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
|
|
|
765
884
|
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
766
885
|
}, "strip", z.ZodTypeAny, {
|
|
767
886
|
type: "string" | "boolean";
|
|
768
|
-
title?: string | undefined;
|
|
769
887
|
description?: string | undefined;
|
|
888
|
+
title?: string | undefined;
|
|
770
889
|
default?: string | boolean | undefined;
|
|
771
890
|
enum?: string[] | undefined;
|
|
772
891
|
}, {
|
|
773
892
|
type?: "string" | "boolean" | undefined;
|
|
774
|
-
title?: string | undefined;
|
|
775
893
|
description?: string | undefined;
|
|
894
|
+
title?: string | undefined;
|
|
776
895
|
default?: string | boolean | undefined;
|
|
777
896
|
enum?: string[] | undefined;
|
|
778
897
|
}>>>;
|
|
@@ -782,8 +901,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
|
|
|
782
901
|
required: string[];
|
|
783
902
|
properties: Record<string, {
|
|
784
903
|
type: "string" | "boolean";
|
|
785
|
-
title?: string | undefined;
|
|
786
904
|
description?: string | undefined;
|
|
905
|
+
title?: string | undefined;
|
|
787
906
|
default?: string | boolean | undefined;
|
|
788
907
|
enum?: string[] | undefined;
|
|
789
908
|
}>;
|
|
@@ -792,8 +911,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
|
|
|
792
911
|
required?: string[] | undefined;
|
|
793
912
|
properties?: Record<string, {
|
|
794
913
|
type?: "string" | "boolean" | undefined;
|
|
795
|
-
title?: string | undefined;
|
|
796
914
|
description?: string | undefined;
|
|
915
|
+
title?: string | undefined;
|
|
797
916
|
default?: string | boolean | undefined;
|
|
798
917
|
enum?: string[] | undefined;
|
|
799
918
|
}> | undefined;
|
|
@@ -805,8 +924,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
|
|
|
805
924
|
required: string[];
|
|
806
925
|
properties: Record<string, {
|
|
807
926
|
type: "string" | "boolean";
|
|
808
|
-
title?: string | undefined;
|
|
809
927
|
description?: string | undefined;
|
|
928
|
+
title?: string | undefined;
|
|
810
929
|
default?: string | boolean | undefined;
|
|
811
930
|
enum?: string[] | undefined;
|
|
812
931
|
}>;
|
|
@@ -818,8 +937,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
|
|
|
818
937
|
required?: string[] | undefined;
|
|
819
938
|
properties?: Record<string, {
|
|
820
939
|
type?: "string" | "boolean" | undefined;
|
|
821
|
-
title?: string | undefined;
|
|
822
940
|
description?: string | undefined;
|
|
941
|
+
title?: string | undefined;
|
|
823
942
|
default?: string | boolean | undefined;
|
|
824
943
|
enum?: string[] | undefined;
|
|
825
944
|
}> | undefined;
|
|
@@ -1000,17 +1119,17 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1000
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1001
1120
|
options: string[];
|
|
1002
1121
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1003
|
-
label: string;
|
|
1004
|
-
id: string;
|
|
1005
1122
|
required: boolean;
|
|
1123
|
+
id: string;
|
|
1124
|
+
label: string;
|
|
1006
1125
|
advanced: boolean;
|
|
1007
1126
|
description?: string | undefined;
|
|
1008
1127
|
placeholder?: string | undefined;
|
|
1009
1128
|
defaultValue?: string | boolean | undefined;
|
|
1010
1129
|
}, {
|
|
1011
1130
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1012
|
-
label: string;
|
|
1013
1131
|
id: string;
|
|
1132
|
+
label: string;
|
|
1014
1133
|
options?: string[] | undefined;
|
|
1015
1134
|
required?: boolean | undefined;
|
|
1016
1135
|
description?: string | undefined;
|
|
@@ -1029,14 +1148,14 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1029
1148
|
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1030
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1150
|
type: "string" | "boolean";
|
|
1032
|
-
title?: string | undefined;
|
|
1033
1151
|
description?: string | undefined;
|
|
1152
|
+
title?: string | undefined;
|
|
1034
1153
|
default?: string | boolean | undefined;
|
|
1035
1154
|
enum?: string[] | undefined;
|
|
1036
1155
|
}, {
|
|
1037
1156
|
type?: "string" | "boolean" | undefined;
|
|
1038
|
-
title?: string | undefined;
|
|
1039
1157
|
description?: string | undefined;
|
|
1158
|
+
title?: string | undefined;
|
|
1040
1159
|
default?: string | boolean | undefined;
|
|
1041
1160
|
enum?: string[] | undefined;
|
|
1042
1161
|
}>>>;
|
|
@@ -1046,8 +1165,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1046
1165
|
required: string[];
|
|
1047
1166
|
properties: Record<string, {
|
|
1048
1167
|
type: "string" | "boolean";
|
|
1049
|
-
title?: string | undefined;
|
|
1050
1168
|
description?: string | undefined;
|
|
1169
|
+
title?: string | undefined;
|
|
1051
1170
|
default?: string | boolean | undefined;
|
|
1052
1171
|
enum?: string[] | undefined;
|
|
1053
1172
|
}>;
|
|
@@ -1056,8 +1175,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1056
1175
|
required?: string[] | undefined;
|
|
1057
1176
|
properties?: Record<string, {
|
|
1058
1177
|
type?: "string" | "boolean" | undefined;
|
|
1059
|
-
title?: string | undefined;
|
|
1060
1178
|
description?: string | undefined;
|
|
1179
|
+
title?: string | undefined;
|
|
1061
1180
|
default?: string | boolean | undefined;
|
|
1062
1181
|
enum?: string[] | undefined;
|
|
1063
1182
|
}> | undefined;
|
|
@@ -1069,8 +1188,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1069
1188
|
required: string[];
|
|
1070
1189
|
properties: Record<string, {
|
|
1071
1190
|
type: "string" | "boolean";
|
|
1072
|
-
title?: string | undefined;
|
|
1073
1191
|
description?: string | undefined;
|
|
1192
|
+
title?: string | undefined;
|
|
1074
1193
|
default?: string | boolean | undefined;
|
|
1075
1194
|
enum?: string[] | undefined;
|
|
1076
1195
|
}>;
|
|
@@ -1082,8 +1201,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1082
1201
|
required?: string[] | undefined;
|
|
1083
1202
|
properties?: Record<string, {
|
|
1084
1203
|
type?: "string" | "boolean" | undefined;
|
|
1085
|
-
title?: string | undefined;
|
|
1086
1204
|
description?: string | undefined;
|
|
1205
|
+
title?: string | undefined;
|
|
1087
1206
|
default?: string | boolean | undefined;
|
|
1088
1207
|
enum?: string[] | undefined;
|
|
1089
1208
|
}> | undefined;
|
|
@@ -1172,9 +1291,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1172
1291
|
shellProfileId: z.ZodOptional<z.ZodString>;
|
|
1173
1292
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1174
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1294
|
+
id: string;
|
|
1175
1295
|
label: string;
|
|
1176
1296
|
source: "custom" | "builtin";
|
|
1177
|
-
id: string;
|
|
1178
1297
|
command: string;
|
|
1179
1298
|
args: ({
|
|
1180
1299
|
value: string;
|
|
@@ -1192,9 +1311,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1192
1311
|
fields: {
|
|
1193
1312
|
options: string[];
|
|
1194
1313
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1195
|
-
label: string;
|
|
1196
|
-
id: string;
|
|
1197
1314
|
required: boolean;
|
|
1315
|
+
id: string;
|
|
1316
|
+
label: string;
|
|
1198
1317
|
advanced: boolean;
|
|
1199
1318
|
description?: string | undefined;
|
|
1200
1319
|
placeholder?: string | undefined;
|
|
@@ -1207,8 +1326,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1207
1326
|
required: string[];
|
|
1208
1327
|
properties: Record<string, {
|
|
1209
1328
|
type: "string" | "boolean";
|
|
1210
|
-
title?: string | undefined;
|
|
1211
1329
|
description?: string | undefined;
|
|
1330
|
+
title?: string | undefined;
|
|
1212
1331
|
default?: string | boolean | undefined;
|
|
1213
1332
|
enum?: string[] | undefined;
|
|
1214
1333
|
}>;
|
|
@@ -1236,9 +1355,10 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1236
1355
|
} | undefined;
|
|
1237
1356
|
shellProfileId?: string | undefined;
|
|
1238
1357
|
}, {
|
|
1239
|
-
label: string;
|
|
1240
1358
|
id: string;
|
|
1359
|
+
label: string;
|
|
1241
1360
|
command: string;
|
|
1361
|
+
description?: string | undefined;
|
|
1242
1362
|
source?: "custom" | "builtin" | undefined;
|
|
1243
1363
|
args?: ({
|
|
1244
1364
|
value: string;
|
|
@@ -1253,11 +1373,10 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1253
1373
|
fieldId: string;
|
|
1254
1374
|
flag: string;
|
|
1255
1375
|
})[] | undefined;
|
|
1256
|
-
description?: string | undefined;
|
|
1257
1376
|
fields?: {
|
|
1258
1377
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1259
|
-
label: string;
|
|
1260
1378
|
id: string;
|
|
1379
|
+
label: string;
|
|
1261
1380
|
options?: string[] | undefined;
|
|
1262
1381
|
required?: boolean | undefined;
|
|
1263
1382
|
description?: string | undefined;
|
|
@@ -1271,8 +1390,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1271
1390
|
required?: string[] | undefined;
|
|
1272
1391
|
properties?: Record<string, {
|
|
1273
1392
|
type?: "string" | "boolean" | undefined;
|
|
1274
|
-
title?: string | undefined;
|
|
1275
1393
|
description?: string | undefined;
|
|
1394
|
+
title?: string | undefined;
|
|
1276
1395
|
default?: string | boolean | undefined;
|
|
1277
1396
|
enum?: string[] | undefined;
|
|
1278
1397
|
}> | undefined;
|
|
@@ -1311,15 +1430,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1311
1430
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1312
1431
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
1313
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1433
|
+
id: string;
|
|
1314
1434
|
label: string;
|
|
1315
1435
|
source: "custom" | "builtin";
|
|
1316
|
-
id: string;
|
|
1317
1436
|
command: string;
|
|
1318
1437
|
args: string[];
|
|
1319
1438
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1320
1439
|
}, {
|
|
1321
|
-
label: string;
|
|
1322
1440
|
id: string;
|
|
1441
|
+
label: string;
|
|
1323
1442
|
command: string;
|
|
1324
1443
|
source?: "custom" | "builtin" | undefined;
|
|
1325
1444
|
args?: string[] | undefined;
|
|
@@ -1380,17 +1499,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1380
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1381
1500
|
options: string[];
|
|
1382
1501
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1383
|
-
label: string;
|
|
1384
|
-
id: string;
|
|
1385
1502
|
required: boolean;
|
|
1503
|
+
id: string;
|
|
1504
|
+
label: string;
|
|
1386
1505
|
advanced: boolean;
|
|
1387
1506
|
description?: string | undefined;
|
|
1388
1507
|
placeholder?: string | undefined;
|
|
1389
1508
|
defaultValue?: string | boolean | undefined;
|
|
1390
1509
|
}, {
|
|
1391
1510
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1392
|
-
label: string;
|
|
1393
1511
|
id: string;
|
|
1512
|
+
label: string;
|
|
1394
1513
|
options?: string[] | undefined;
|
|
1395
1514
|
required?: boolean | undefined;
|
|
1396
1515
|
description?: string | undefined;
|
|
@@ -1409,14 +1528,14 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1409
1528
|
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1410
1529
|
}, "strip", z.ZodTypeAny, {
|
|
1411
1530
|
type: "string" | "boolean";
|
|
1412
|
-
title?: string | undefined;
|
|
1413
1531
|
description?: string | undefined;
|
|
1532
|
+
title?: string | undefined;
|
|
1414
1533
|
default?: string | boolean | undefined;
|
|
1415
1534
|
enum?: string[] | undefined;
|
|
1416
1535
|
}, {
|
|
1417
1536
|
type?: "string" | "boolean" | undefined;
|
|
1418
|
-
title?: string | undefined;
|
|
1419
1537
|
description?: string | undefined;
|
|
1538
|
+
title?: string | undefined;
|
|
1420
1539
|
default?: string | boolean | undefined;
|
|
1421
1540
|
enum?: string[] | undefined;
|
|
1422
1541
|
}>>>;
|
|
@@ -1426,8 +1545,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1426
1545
|
required: string[];
|
|
1427
1546
|
properties: Record<string, {
|
|
1428
1547
|
type: "string" | "boolean";
|
|
1429
|
-
title?: string | undefined;
|
|
1430
1548
|
description?: string | undefined;
|
|
1549
|
+
title?: string | undefined;
|
|
1431
1550
|
default?: string | boolean | undefined;
|
|
1432
1551
|
enum?: string[] | undefined;
|
|
1433
1552
|
}>;
|
|
@@ -1436,8 +1555,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1436
1555
|
required?: string[] | undefined;
|
|
1437
1556
|
properties?: Record<string, {
|
|
1438
1557
|
type?: "string" | "boolean" | undefined;
|
|
1439
|
-
title?: string | undefined;
|
|
1440
1558
|
description?: string | undefined;
|
|
1559
|
+
title?: string | undefined;
|
|
1441
1560
|
default?: string | boolean | undefined;
|
|
1442
1561
|
enum?: string[] | undefined;
|
|
1443
1562
|
}> | undefined;
|
|
@@ -1449,8 +1568,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1449
1568
|
required: string[];
|
|
1450
1569
|
properties: Record<string, {
|
|
1451
1570
|
type: "string" | "boolean";
|
|
1452
|
-
title?: string | undefined;
|
|
1453
1571
|
description?: string | undefined;
|
|
1572
|
+
title?: string | undefined;
|
|
1454
1573
|
default?: string | boolean | undefined;
|
|
1455
1574
|
enum?: string[] | undefined;
|
|
1456
1575
|
}>;
|
|
@@ -1462,8 +1581,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1462
1581
|
required?: string[] | undefined;
|
|
1463
1582
|
properties?: Record<string, {
|
|
1464
1583
|
type?: "string" | "boolean" | undefined;
|
|
1465
|
-
title?: string | undefined;
|
|
1466
1584
|
description?: string | undefined;
|
|
1585
|
+
title?: string | undefined;
|
|
1467
1586
|
default?: string | boolean | undefined;
|
|
1468
1587
|
enum?: string[] | undefined;
|
|
1469
1588
|
}> | undefined;
|
|
@@ -1552,9 +1671,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1552
1671
|
shellProfileId: z.ZodOptional<z.ZodString>;
|
|
1553
1672
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1554
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
id: string;
|
|
1555
1675
|
label: string;
|
|
1556
1676
|
source: "custom" | "builtin";
|
|
1557
|
-
id: string;
|
|
1558
1677
|
command: string;
|
|
1559
1678
|
args: ({
|
|
1560
1679
|
value: string;
|
|
@@ -1572,9 +1691,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1572
1691
|
fields: {
|
|
1573
1692
|
options: string[];
|
|
1574
1693
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1575
|
-
label: string;
|
|
1576
|
-
id: string;
|
|
1577
1694
|
required: boolean;
|
|
1695
|
+
id: string;
|
|
1696
|
+
label: string;
|
|
1578
1697
|
advanced: boolean;
|
|
1579
1698
|
description?: string | undefined;
|
|
1580
1699
|
placeholder?: string | undefined;
|
|
@@ -1587,8 +1706,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1587
1706
|
required: string[];
|
|
1588
1707
|
properties: Record<string, {
|
|
1589
1708
|
type: "string" | "boolean";
|
|
1590
|
-
title?: string | undefined;
|
|
1591
1709
|
description?: string | undefined;
|
|
1710
|
+
title?: string | undefined;
|
|
1592
1711
|
default?: string | boolean | undefined;
|
|
1593
1712
|
enum?: string[] | undefined;
|
|
1594
1713
|
}>;
|
|
@@ -1616,9 +1735,10 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1616
1735
|
} | undefined;
|
|
1617
1736
|
shellProfileId?: string | undefined;
|
|
1618
1737
|
}, {
|
|
1619
|
-
label: string;
|
|
1620
1738
|
id: string;
|
|
1739
|
+
label: string;
|
|
1621
1740
|
command: string;
|
|
1741
|
+
description?: string | undefined;
|
|
1622
1742
|
source?: "custom" | "builtin" | undefined;
|
|
1623
1743
|
args?: ({
|
|
1624
1744
|
value: string;
|
|
@@ -1633,11 +1753,10 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1633
1753
|
fieldId: string;
|
|
1634
1754
|
flag: string;
|
|
1635
1755
|
})[] | undefined;
|
|
1636
|
-
description?: string | undefined;
|
|
1637
1756
|
fields?: {
|
|
1638
1757
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1639
|
-
label: string;
|
|
1640
1758
|
id: string;
|
|
1759
|
+
label: string;
|
|
1641
1760
|
options?: string[] | undefined;
|
|
1642
1761
|
required?: boolean | undefined;
|
|
1643
1762
|
description?: string | undefined;
|
|
@@ -1651,8 +1770,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1651
1770
|
required?: string[] | undefined;
|
|
1652
1771
|
properties?: Record<string, {
|
|
1653
1772
|
type?: "string" | "boolean" | undefined;
|
|
1654
|
-
title?: string | undefined;
|
|
1655
1773
|
description?: string | undefined;
|
|
1774
|
+
title?: string | undefined;
|
|
1656
1775
|
default?: string | boolean | undefined;
|
|
1657
1776
|
enum?: string[] | undefined;
|
|
1658
1777
|
}> | undefined;
|
|
@@ -1682,17 +1801,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1682
1801
|
}>, "many">>;
|
|
1683
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1684
1803
|
customShellProfiles: {
|
|
1804
|
+
id: string;
|
|
1685
1805
|
label: string;
|
|
1686
1806
|
source: "custom" | "builtin";
|
|
1687
|
-
id: string;
|
|
1688
1807
|
command: string;
|
|
1689
1808
|
args: string[];
|
|
1690
1809
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1691
1810
|
}[];
|
|
1692
1811
|
customSpawnCommands: {
|
|
1812
|
+
id: string;
|
|
1693
1813
|
label: string;
|
|
1694
1814
|
source: "custom" | "builtin";
|
|
1695
|
-
id: string;
|
|
1696
1815
|
command: string;
|
|
1697
1816
|
args: ({
|
|
1698
1817
|
value: string;
|
|
@@ -1710,9 +1829,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1710
1829
|
fields: {
|
|
1711
1830
|
options: string[];
|
|
1712
1831
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1713
|
-
label: string;
|
|
1714
|
-
id: string;
|
|
1715
1832
|
required: boolean;
|
|
1833
|
+
id: string;
|
|
1834
|
+
label: string;
|
|
1716
1835
|
advanced: boolean;
|
|
1717
1836
|
description?: string | undefined;
|
|
1718
1837
|
placeholder?: string | undefined;
|
|
@@ -1725,8 +1844,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1725
1844
|
required: string[];
|
|
1726
1845
|
properties: Record<string, {
|
|
1727
1846
|
type: "string" | "boolean";
|
|
1728
|
-
title?: string | undefined;
|
|
1729
1847
|
description?: string | undefined;
|
|
1848
|
+
title?: string | undefined;
|
|
1730
1849
|
default?: string | boolean | undefined;
|
|
1731
1850
|
enum?: string[] | undefined;
|
|
1732
1851
|
}>;
|
|
@@ -1758,17 +1877,18 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1758
1877
|
}, {
|
|
1759
1878
|
defaultShellProfileId?: string | undefined;
|
|
1760
1879
|
customShellProfiles?: {
|
|
1761
|
-
label: string;
|
|
1762
1880
|
id: string;
|
|
1881
|
+
label: string;
|
|
1763
1882
|
command: 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
|
-
label: string;
|
|
1770
1888
|
id: string;
|
|
1889
|
+
label: string;
|
|
1771
1890
|
command: string;
|
|
1891
|
+
description?: string | undefined;
|
|
1772
1892
|
source?: "custom" | "builtin" | undefined;
|
|
1773
1893
|
args?: ({
|
|
1774
1894
|
value: string;
|
|
@@ -1783,11 +1903,10 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1783
1903
|
fieldId: string;
|
|
1784
1904
|
flag: string;
|
|
1785
1905
|
})[] | undefined;
|
|
1786
|
-
description?: string | undefined;
|
|
1787
1906
|
fields?: {
|
|
1788
1907
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1789
|
-
label: string;
|
|
1790
1908
|
id: string;
|
|
1909
|
+
label: string;
|
|
1791
1910
|
options?: string[] | undefined;
|
|
1792
1911
|
required?: boolean | undefined;
|
|
1793
1912
|
description?: string | undefined;
|
|
@@ -1801,8 +1920,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1801
1920
|
required?: string[] | undefined;
|
|
1802
1921
|
properties?: Record<string, {
|
|
1803
1922
|
type?: "string" | "boolean" | undefined;
|
|
1804
|
-
title?: string | undefined;
|
|
1805
1923
|
description?: string | undefined;
|
|
1924
|
+
title?: string | undefined;
|
|
1806
1925
|
default?: string | boolean | undefined;
|
|
1807
1926
|
enum?: string[] | undefined;
|
|
1808
1927
|
}> | 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 };
|