@openspecui/core 3.3.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
- import { a as buildHostedLaunchUrl, c as normalizeEmbeddedUiUrl, i as buildEmbeddedUiLaunchUrl, l as normalizeHostedAppBaseUrl, n as HostedBackendHealthResponse, o as isHostedBackendHealthResponse, r as OFFICIAL_APP_BASE_URL, s as isSupportedEmbeddedUiUrl, t as HOSTED_SHELL_PROTOCOL_VERSION, u as resolveHostedAppBaseUrl } from "./hosted-app-BTvoFBMY.mjs";
2
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Bs-P2sK2.mjs";
3
- import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-BxBl5NsA.mjs";
1
+ import { a as buildHostedLaunchUrl, c as normalizeEmbeddedUiUrl, i as buildEmbeddedUiLaunchUrl, l as normalizeHostedAppBaseUrl, n as HostedBackendHealthResponse, o as isHostedBackendHealthResponse, r as OFFICIAL_APP_BASE_URL, s as isSupportedEmbeddedUiUrl, t as HOSTED_SHELL_PROTOCOL_VERSION, u as resolveHostedAppBaseUrl } from "./hosted-app-Be-ourtC.mjs";
2
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-ElGeez1E.mjs";
3
+ import { $ as PtyTitleResponseSchema, B as PtyErrorCodeSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyClientMessage, G as PtyListResponseSchema, H as PtyExitResponseSchema, I as PtyClientMessageSchema, J as PtyPlatformSchema, K as PtyOutputResponseSchema, L as PtyCloseMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBufferResponseSchema, Q as PtySessionInfo, R as PtyCreateMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyInputMessageSchema, V as PtyErrorResponseSchema, W as PtyListMessageSchema, X as PtyServerMessage, Y as PtyResizeMessageSchema, Z as PtyServerMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyPlatform, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreatedResponseSchema } from "./terminal-invocation-ajsrCPhf.mjs";
4
+ import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-C_2UGXPr.mjs";
4
5
  import { AsyncLocalStorage } from "node:async_hooks";
5
6
  import { z } from "zod";
6
7
  import { EventEmitter } from "events";
@@ -20,13 +21,13 @@ declare const ChangeFileSchema: z.ZodObject<{
20
21
  /** Optional byte size for files */
21
22
  size: z.ZodOptional<z.ZodNumber>;
22
23
  }, "strip", z.ZodTypeAny, {
23
- type: "file" | "directory";
24
24
  path: string;
25
+ type: "file" | "directory";
25
26
  content?: string | undefined;
26
27
  size?: number | undefined;
27
28
  }, {
28
- type: "file" | "directory";
29
29
  path: string;
30
+ type: "file" | "directory";
30
31
  content?: string | undefined;
31
32
  size?: number | undefined;
32
33
  }>;
@@ -49,14 +50,14 @@ declare const RequirementSchema: z.ZodObject<{
49
50
  rawText: string;
50
51
  }>, "many">;
51
52
  }, "strip", z.ZodTypeAny, {
52
- id: string;
53
53
  text: string;
54
+ id: string;
54
55
  scenarios: {
55
56
  rawText: string;
56
57
  }[];
57
58
  }, {
58
- id: string;
59
59
  text: string;
60
+ id: string;
60
61
  scenarios: {
61
62
  rawText: string;
62
63
  }[];
@@ -88,14 +89,14 @@ declare const SpecSchema: z.ZodObject<{
88
89
  rawText: string;
89
90
  }>, "many">;
90
91
  }, "strip", z.ZodTypeAny, {
91
- id: string;
92
92
  text: string;
93
+ id: string;
93
94
  scenarios: {
94
95
  rawText: string;
95
96
  }[];
96
97
  }, {
97
- id: string;
98
98
  text: string;
99
+ id: string;
99
100
  scenarios: {
100
101
  rawText: string;
101
102
  }[];
@@ -119,8 +120,8 @@ declare const SpecSchema: z.ZodObject<{
119
120
  name: string;
120
121
  overview: string;
121
122
  requirements: {
122
- id: string;
123
123
  text: string;
124
+ id: string;
124
125
  scenarios: {
125
126
  rawText: string;
126
127
  }[];
@@ -135,8 +136,8 @@ declare const SpecSchema: z.ZodObject<{
135
136
  name: string;
136
137
  overview: string;
137
138
  requirements: {
138
- id: string;
139
139
  text: string;
140
+ id: string;
140
141
  scenarios: {
141
142
  rawText: string;
142
143
  }[];
@@ -175,14 +176,14 @@ declare const DeltaSchema: z.ZodObject<{
175
176
  rawText: string;
176
177
  }>, "many">;
177
178
  }, "strip", z.ZodTypeAny, {
178
- id: string;
179
179
  text: string;
180
+ id: string;
180
181
  scenarios: {
181
182
  rawText: string;
182
183
  }[];
183
184
  }, {
184
- id: string;
185
185
  text: string;
186
+ id: string;
186
187
  scenarios: {
187
188
  rawText: string;
188
189
  }[];
@@ -202,14 +203,14 @@ declare const DeltaSchema: z.ZodObject<{
202
203
  rawText: string;
203
204
  }>, "many">;
204
205
  }, "strip", z.ZodTypeAny, {
205
- id: string;
206
206
  text: string;
207
+ id: string;
207
208
  scenarios: {
208
209
  rawText: string;
209
210
  }[];
210
211
  }, {
211
- id: string;
212
212
  text: string;
213
+ id: string;
213
214
  scenarios: {
214
215
  rawText: string;
215
216
  }[];
@@ -226,19 +227,19 @@ declare const DeltaSchema: z.ZodObject<{
226
227
  to: string;
227
228
  }>>;
228
229
  }, "strip", z.ZodTypeAny, {
230
+ description: string;
229
231
  spec: string;
230
232
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
231
- description: string;
232
233
  requirements?: {
233
- id: string;
234
234
  text: string;
235
+ id: string;
235
236
  scenarios: {
236
237
  rawText: string;
237
238
  }[];
238
239
  }[] | undefined;
239
240
  requirement?: {
240
- id: string;
241
241
  text: string;
242
+ id: string;
242
243
  scenarios: {
243
244
  rawText: string;
244
245
  }[];
@@ -248,19 +249,19 @@ declare const DeltaSchema: z.ZodObject<{
248
249
  to: string;
249
250
  } | undefined;
250
251
  }, {
252
+ description: string;
251
253
  spec: string;
252
254
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
253
- description: string;
254
255
  requirements?: {
255
- id: string;
256
256
  text: string;
257
+ id: string;
257
258
  scenarios: {
258
259
  rawText: string;
259
260
  }[];
260
261
  }[] | undefined;
261
262
  requirement?: {
262
- id: string;
263
263
  text: string;
264
+ id: string;
264
265
  scenarios: {
265
266
  rawText: string;
266
267
  }[];
@@ -286,13 +287,13 @@ declare const TaskSchema: z.ZodObject<{
286
287
  /** Optional section heading the task belongs to */
287
288
  section: z.ZodOptional<z.ZodString>;
288
289
  }, "strip", z.ZodTypeAny, {
289
- id: string;
290
290
  text: string;
291
+ id: string;
291
292
  completed: boolean;
292
293
  section?: string | undefined;
293
294
  }, {
294
- id: string;
295
295
  text: string;
296
+ id: string;
296
297
  completed: boolean;
297
298
  section?: string | undefined;
298
299
  }>;
@@ -353,14 +354,14 @@ declare const ChangeSchema: z.ZodObject<{
353
354
  rawText: string;
354
355
  }>, "many">;
355
356
  }, "strip", z.ZodTypeAny, {
356
- id: string;
357
357
  text: string;
358
+ id: string;
358
359
  scenarios: {
359
360
  rawText: string;
360
361
  }[];
361
362
  }, {
362
- id: string;
363
363
  text: string;
364
+ id: string;
364
365
  scenarios: {
365
366
  rawText: string;
366
367
  }[];
@@ -380,14 +381,14 @@ declare const ChangeSchema: z.ZodObject<{
380
381
  rawText: string;
381
382
  }>, "many">;
382
383
  }, "strip", z.ZodTypeAny, {
383
- id: string;
384
384
  text: string;
385
+ id: string;
385
386
  scenarios: {
386
387
  rawText: string;
387
388
  }[];
388
389
  }, {
389
- id: string;
390
390
  text: string;
391
+ id: string;
391
392
  scenarios: {
392
393
  rawText: string;
393
394
  }[];
@@ -404,19 +405,19 @@ declare const ChangeSchema: z.ZodObject<{
404
405
  to: string;
405
406
  }>>;
406
407
  }, "strip", z.ZodTypeAny, {
408
+ description: string;
407
409
  spec: string;
408
410
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
409
- description: string;
410
411
  requirements?: {
411
- id: string;
412
412
  text: string;
413
+ id: string;
413
414
  scenarios: {
414
415
  rawText: string;
415
416
  }[];
416
417
  }[] | undefined;
417
418
  requirement?: {
418
- id: string;
419
419
  text: string;
420
+ id: string;
420
421
  scenarios: {
421
422
  rawText: string;
422
423
  }[];
@@ -426,19 +427,19 @@ declare const ChangeSchema: z.ZodObject<{
426
427
  to: string;
427
428
  } | undefined;
428
429
  }, {
430
+ description: string;
429
431
  spec: string;
430
432
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
431
- description: string;
432
433
  requirements?: {
433
- id: string;
434
434
  text: string;
435
+ id: string;
435
436
  scenarios: {
436
437
  rawText: string;
437
438
  }[];
438
439
  }[] | undefined;
439
440
  requirement?: {
440
- id: string;
441
441
  text: string;
442
+ id: string;
442
443
  scenarios: {
443
444
  rawText: string;
444
445
  }[];
@@ -459,13 +460,13 @@ declare const ChangeSchema: z.ZodObject<{
459
460
  /** Optional section heading the task belongs to */
460
461
  section: z.ZodOptional<z.ZodString>;
461
462
  }, "strip", z.ZodTypeAny, {
462
- id: string;
463
463
  text: string;
464
+ id: string;
464
465
  completed: boolean;
465
466
  section?: string | undefined;
466
467
  }, {
467
- id: string;
468
468
  text: string;
469
+ id: string;
469
470
  completed: boolean;
470
471
  section?: string | undefined;
471
472
  }>, "many">;
@@ -474,11 +475,11 @@ declare const ChangeSchema: z.ZodObject<{
474
475
  total: z.ZodNumber;
475
476
  completed: z.ZodNumber;
476
477
  }, "strip", z.ZodTypeAny, {
477
- completed: number;
478
478
  total: number;
479
- }, {
480
479
  completed: number;
480
+ }, {
481
481
  total: number;
482
+ completed: number;
482
483
  }>;
483
484
  /** Optional design.md content */
484
485
  design: z.ZodOptional<z.ZodString>;
@@ -508,23 +509,33 @@ declare const ChangeSchema: z.ZodObject<{
508
509
  }>>;
509
510
  }, "strip", z.ZodTypeAny, {
510
511
  id: string;
512
+ progress: {
513
+ total: number;
514
+ completed: number;
515
+ };
516
+ tasks: {
517
+ text: string;
518
+ id: string;
519
+ completed: boolean;
520
+ section?: string | undefined;
521
+ }[];
511
522
  name: string;
512
523
  why: string;
513
524
  whatChanges: string;
514
525
  deltas: {
526
+ description: string;
515
527
  spec: string;
516
528
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
517
- description: string;
518
529
  requirements?: {
519
- id: string;
520
530
  text: string;
531
+ id: string;
521
532
  scenarios: {
522
533
  rawText: string;
523
534
  }[];
524
535
  }[] | undefined;
525
536
  requirement?: {
526
- id: string;
527
537
  text: string;
538
+ id: string;
528
539
  scenarios: {
529
540
  rawText: string;
530
541
  }[];
@@ -534,16 +545,6 @@ declare const ChangeSchema: z.ZodObject<{
534
545
  to: string;
535
546
  } | undefined;
536
547
  }[];
537
- tasks: {
538
- id: string;
539
- text: string;
540
- completed: boolean;
541
- section?: string | undefined;
542
- }[];
543
- progress: {
544
- completed: number;
545
- total: number;
546
- };
547
548
  metadata?: {
548
549
  version: string;
549
550
  format: "openspec-change";
@@ -555,23 +556,33 @@ declare const ChangeSchema: z.ZodObject<{
555
556
  }[] | undefined;
556
557
  }, {
557
558
  id: string;
559
+ progress: {
560
+ total: number;
561
+ completed: number;
562
+ };
563
+ tasks: {
564
+ text: string;
565
+ id: string;
566
+ completed: boolean;
567
+ section?: string | undefined;
568
+ }[];
558
569
  name: string;
559
570
  why: string;
560
571
  whatChanges: string;
561
572
  deltas: {
573
+ description: string;
562
574
  spec: string;
563
575
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
564
- description: string;
565
576
  requirements?: {
566
- id: string;
567
577
  text: string;
578
+ id: string;
568
579
  scenarios: {
569
580
  rawText: string;
570
581
  }[];
571
582
  }[] | undefined;
572
583
  requirement?: {
573
- id: string;
574
584
  text: string;
585
+ id: string;
575
586
  scenarios: {
576
587
  rawText: string;
577
588
  }[];
@@ -581,16 +592,6 @@ declare const ChangeSchema: z.ZodObject<{
581
592
  to: string;
582
593
  } | undefined;
583
594
  }[];
584
- tasks: {
585
- id: string;
586
- text: string;
587
- completed: boolean;
588
- section?: string | undefined;
589
- }[];
590
- progress: {
591
- completed: number;
592
- total: number;
593
- };
594
595
  metadata?: {
595
596
  version?: string | undefined;
596
597
  format?: "openspec-change" | undefined;
@@ -748,8 +749,8 @@ declare class OpenSpecAdapter {
748
749
  name: string;
749
750
  overview: string;
750
751
  requirements: {
751
- id: string;
752
752
  text: string;
753
+ id: string;
753
754
  scenarios: {
754
755
  rawText: string;
755
756
  }[];
@@ -762,23 +763,33 @@ declare class OpenSpecAdapter {
762
763
  }[];
763
764
  changes: {
764
765
  id: string;
766
+ progress: {
767
+ total: number;
768
+ completed: number;
769
+ };
770
+ tasks: {
771
+ text: string;
772
+ id: string;
773
+ completed: boolean;
774
+ section?: string | undefined;
775
+ }[];
765
776
  name: string;
766
777
  why: string;
767
778
  whatChanges: string;
768
779
  deltas: {
780
+ description: string;
769
781
  spec: string;
770
782
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
771
- description: string;
772
783
  requirements?: {
773
- id: string;
774
784
  text: string;
785
+ id: string;
775
786
  scenarios: {
776
787
  rawText: string;
777
788
  }[];
778
789
  }[] | undefined;
779
790
  requirement?: {
780
- id: string;
781
791
  text: string;
792
+ id: string;
782
793
  scenarios: {
783
794
  rawText: string;
784
795
  }[];
@@ -788,16 +799,6 @@ declare class OpenSpecAdapter {
788
799
  to: string;
789
800
  } | undefined;
790
801
  }[];
791
- tasks: {
792
- id: string;
793
- text: string;
794
- completed: boolean;
795
- section?: string | undefined;
796
- }[];
797
- progress: {
798
- completed: number;
799
- total: number;
800
- };
801
802
  metadata?: {
802
803
  version: string;
803
804
  format: "openspec-change";
@@ -2012,14 +2013,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
2012
2013
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2013
2014
  relativePath: z.ZodOptional<z.ZodString>;
2014
2015
  }, "strip", z.ZodTypeAny, {
2015
- status: "done" | "ready" | "blocked";
2016
2016
  id: string;
2017
+ status: "done" | "ready" | "blocked";
2017
2018
  outputPath: string;
2018
2019
  missingDeps?: string[] | undefined;
2019
2020
  relativePath?: string | undefined;
2020
2021
  }, {
2021
- status: "done" | "ready" | "blocked";
2022
2022
  id: string;
2023
+ status: "done" | "ready" | "blocked";
2023
2024
  outputPath: string;
2024
2025
  missingDeps?: string[] | undefined;
2025
2026
  relativePath?: string | undefined;
@@ -2037,14 +2038,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
2037
2038
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2038
2039
  relativePath: z.ZodOptional<z.ZodString>;
2039
2040
  }, "strip", z.ZodTypeAny, {
2040
- status: "done" | "ready" | "blocked";
2041
2041
  id: string;
2042
+ status: "done" | "ready" | "blocked";
2042
2043
  outputPath: string;
2043
2044
  missingDeps?: string[] | undefined;
2044
2045
  relativePath?: string | undefined;
2045
2046
  }, {
2046
- status: "done" | "ready" | "blocked";
2047
2047
  id: string;
2048
+ status: "done" | "ready" | "blocked";
2048
2049
  outputPath: string;
2049
2050
  missingDeps?: string[] | undefined;
2050
2051
  relativePath?: string | undefined;
@@ -2055,8 +2056,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
2055
2056
  isComplete: boolean;
2056
2057
  applyRequires: string[];
2057
2058
  artifacts: {
2058
- status: "done" | "ready" | "blocked";
2059
2059
  id: string;
2060
+ status: "done" | "ready" | "blocked";
2060
2061
  outputPath: string;
2061
2062
  missingDeps?: string[] | undefined;
2062
2063
  relativePath?: string | undefined;
@@ -2067,8 +2068,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
2067
2068
  isComplete: boolean;
2068
2069
  applyRequires: string[];
2069
2070
  artifacts: {
2070
- status: "done" | "ready" | "blocked";
2071
2071
  id: string;
2072
+ status: "done" | "ready" | "blocked";
2072
2073
  outputPath: string;
2073
2074
  missingDeps?: string[] | undefined;
2074
2075
  relativePath?: string | undefined;
@@ -2081,13 +2082,13 @@ declare const DependencyInfoSchema: z.ZodObject<{
2081
2082
  path: z.ZodString;
2082
2083
  description: z.ZodString;
2083
2084
  }, "strip", z.ZodTypeAny, {
2084
- path: string;
2085
2085
  id: string;
2086
+ path: string;
2086
2087
  description: string;
2087
2088
  done: boolean;
2088
2089
  }, {
2089
- path: string;
2090
2090
  id: string;
2091
+ path: string;
2091
2092
  description: string;
2092
2093
  done: boolean;
2093
2094
  }>;
@@ -2142,38 +2143,38 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
2142
2143
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2143
2144
  instruction: z.ZodString;
2144
2145
  }, "strip", z.ZodTypeAny, {
2145
- tasks: {
2146
- id: string;
2147
- description: string;
2148
- done: boolean;
2149
- }[];
2146
+ changeName: string;
2147
+ schemaName: string;
2148
+ changeDir: string;
2149
+ contextFiles: Record<string, string[]>;
2150
2150
  progress: {
2151
2151
  total: number;
2152
2152
  complete: number;
2153
2153
  remaining: number;
2154
2154
  };
2155
- changeName: string;
2156
- schemaName: string;
2157
- changeDir: string;
2158
- contextFiles: Record<string, string[]>;
2159
- state: "ready" | "blocked" | "all_done";
2160
- instruction: string;
2161
- missingArtifacts?: string[] | undefined;
2162
- }, {
2163
2155
  tasks: {
2164
2156
  id: string;
2165
2157
  description: string;
2166
2158
  done: boolean;
2167
2159
  }[];
2160
+ state: "ready" | "blocked" | "all_done";
2161
+ instruction: string;
2162
+ missingArtifacts?: string[] | undefined;
2163
+ }, {
2164
+ changeName: string;
2165
+ schemaName: string;
2166
+ changeDir: string;
2167
+ contextFiles: Record<string, string | string[]>;
2168
2168
  progress: {
2169
2169
  total: number;
2170
2170
  complete: number;
2171
2171
  remaining: number;
2172
2172
  };
2173
- changeName: string;
2174
- schemaName: string;
2175
- changeDir: string;
2176
- contextFiles: Record<string, string | string[]>;
2173
+ tasks: {
2174
+ id: string;
2175
+ description: string;
2176
+ done: boolean;
2177
+ }[];
2177
2178
  state: "ready" | "blocked" | "all_done";
2178
2179
  instruction: string;
2179
2180
  missingArtifacts?: string[] | undefined;
@@ -2196,28 +2197,28 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2196
2197
  path: z.ZodString;
2197
2198
  description: z.ZodString;
2198
2199
  }, "strip", z.ZodTypeAny, {
2199
- path: string;
2200
2200
  id: string;
2201
+ path: string;
2201
2202
  description: string;
2202
2203
  done: boolean;
2203
2204
  }, {
2204
- path: string;
2205
2205
  id: string;
2206
+ path: string;
2206
2207
  description: string;
2207
2208
  done: boolean;
2208
2209
  }>, "many">;
2209
2210
  unlocks: z.ZodArray<z.ZodString, "many">;
2210
2211
  }, "strip", z.ZodTypeAny, {
2211
2212
  description: string;
2213
+ template: string;
2212
2214
  outputPath: string;
2213
2215
  changeName: string;
2214
2216
  schemaName: string;
2215
2217
  changeDir: string;
2216
2218
  artifactId: string;
2217
- template: string;
2218
2219
  dependencies: {
2219
- path: string;
2220
2220
  id: string;
2221
+ path: string;
2221
2222
  description: string;
2222
2223
  done: boolean;
2223
2224
  }[];
@@ -2227,15 +2228,15 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2227
2228
  rules?: string[] | null | undefined;
2228
2229
  }, {
2229
2230
  description: string;
2231
+ template: string;
2230
2232
  outputPath: string;
2231
2233
  changeName: string;
2232
2234
  schemaName: string;
2233
2235
  changeDir: string;
2234
2236
  artifactId: string;
2235
- template: string;
2236
2237
  dependencies: {
2237
- path: string;
2238
2238
  id: string;
2239
+ path: string;
2239
2240
  description: string;
2240
2241
  done: boolean;
2241
2242
  }[];
@@ -2251,14 +2252,14 @@ declare const SchemaInfoSchema: z.ZodObject<{
2251
2252
  artifacts: z.ZodArray<z.ZodString, "many">;
2252
2253
  source: z.ZodEnum<["project", "user", "package"]>;
2253
2254
  }, "strip", z.ZodTypeAny, {
2254
- name: string;
2255
- artifacts: string[];
2256
2255
  source: "project" | "user" | "package";
2256
+ artifacts: string[];
2257
+ name: string;
2257
2258
  description?: string | undefined;
2258
2259
  }, {
2259
- name: string;
2260
- artifacts: string[];
2261
2260
  source: "project" | "user" | "package";
2261
+ artifacts: string[];
2262
+ name: string;
2262
2263
  description?: string | undefined;
2263
2264
  }>;
2264
2265
  type SchemaInfo = z.infer<typeof SchemaInfoSchema>;
@@ -2282,8 +2283,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2282
2283
  }>, "many">;
2283
2284
  }, "strip", z.ZodTypeAny, {
2284
2285
  path: string;
2285
- name: string;
2286
2286
  source: "project" | "user" | "package";
2287
+ name: string;
2287
2288
  shadows: {
2288
2289
  path: string;
2289
2290
  source: "project" | "user" | "package";
@@ -2292,8 +2293,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2292
2293
  displayPath?: string | undefined;
2293
2294
  }, {
2294
2295
  path: string;
2295
- name: string;
2296
2296
  source: "project" | "user" | "package";
2297
+ name: string;
2297
2298
  shadows: {
2298
2299
  path: string;
2299
2300
  source: "project" | "user" | "package";
@@ -2328,15 +2329,15 @@ declare const SchemaArtifactSchema: z.ZodObject<{
2328
2329
  outputPath: string;
2329
2330
  requires: string[];
2330
2331
  description?: string | undefined;
2331
- instruction?: string | undefined;
2332
2332
  template?: string | undefined;
2333
+ instruction?: string | undefined;
2333
2334
  }, {
2334
2335
  id: string;
2335
2336
  outputPath: string;
2336
2337
  requires: string[];
2337
2338
  description?: string | undefined;
2338
- instruction?: string | undefined;
2339
2339
  template?: string | undefined;
2340
+ instruction?: string | undefined;
2340
2341
  }>;
2341
2342
  type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
2342
2343
  declare const SchemaDetailSchema: z.ZodObject<{
@@ -2355,47 +2356,47 @@ declare const SchemaDetailSchema: z.ZodObject<{
2355
2356
  outputPath: string;
2356
2357
  requires: string[];
2357
2358
  description?: string | undefined;
2358
- instruction?: string | undefined;
2359
2359
  template?: string | undefined;
2360
+ instruction?: string | undefined;
2360
2361
  }, {
2361
2362
  id: string;
2362
2363
  outputPath: string;
2363
2364
  requires: string[];
2364
2365
  description?: string | undefined;
2365
- instruction?: string | undefined;
2366
2366
  template?: string | undefined;
2367
+ instruction?: string | undefined;
2367
2368
  }>, "many">;
2368
2369
  applyRequires: z.ZodArray<z.ZodString, "many">;
2369
2370
  applyTracks: z.ZodOptional<z.ZodString>;
2370
2371
  applyInstruction: z.ZodOptional<z.ZodString>;
2371
2372
  }, "strip", z.ZodTypeAny, {
2372
- name: string;
2373
2373
  applyRequires: string[];
2374
2374
  artifacts: {
2375
2375
  id: string;
2376
2376
  outputPath: string;
2377
2377
  requires: string[];
2378
2378
  description?: string | undefined;
2379
- instruction?: string | undefined;
2380
2379
  template?: string | undefined;
2380
+ instruction?: string | undefined;
2381
2381
  }[];
2382
- version?: string | number | undefined;
2382
+ name: string;
2383
2383
  description?: string | undefined;
2384
+ version?: string | number | undefined;
2384
2385
  applyTracks?: string | undefined;
2385
2386
  applyInstruction?: string | undefined;
2386
2387
  }, {
2387
- name: string;
2388
2388
  applyRequires: string[];
2389
2389
  artifacts: {
2390
2390
  id: string;
2391
2391
  outputPath: string;
2392
2392
  requires: string[];
2393
2393
  description?: string | undefined;
2394
- instruction?: string | undefined;
2395
2394
  template?: string | undefined;
2395
+ instruction?: string | undefined;
2396
2396
  }[];
2397
- version?: string | number | undefined;
2397
+ name: string;
2398
2398
  description?: string | undefined;
2399
+ version?: string | number | undefined;
2399
2400
  applyTracks?: string | undefined;
2400
2401
  applyInstruction?: string | undefined;
2401
2402
  }>;
@@ -2849,500 +2850,4 @@ declare class OpsxKernel {
2849
2850
  private combineSignals;
2850
2851
  }
2851
2852
  //#endregion
2852
- //#region src/pty-protocol.d.ts
2853
- declare const PtyPlatformSchema: z.ZodEnum<["windows", "macos", "common"]>;
2854
- declare const PtySessionInfoSchema: z.ZodObject<{
2855
- id: z.ZodString;
2856
- title: z.ZodString;
2857
- command: z.ZodString;
2858
- args: z.ZodArray<z.ZodString, "many">;
2859
- platform: z.ZodEnum<["windows", "macos", "common"]>;
2860
- isExited: z.ZodBoolean;
2861
- exitCode: z.ZodNullable<z.ZodNumber>;
2862
- closeTip: z.ZodOptional<z.ZodString>;
2863
- closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
2864
- }, "strip", z.ZodTypeAny, {
2865
- command: string;
2866
- args: string[];
2867
- platform: "windows" | "macos" | "common";
2868
- exitCode: number | null;
2869
- title: string;
2870
- id: string;
2871
- isExited: boolean;
2872
- closeTip?: string | undefined;
2873
- closeCallbackUrl?: string | Record<string, string> | undefined;
2874
- }, {
2875
- command: string;
2876
- args: string[];
2877
- platform: "windows" | "macos" | "common";
2878
- exitCode: number | null;
2879
- title: string;
2880
- id: string;
2881
- isExited: boolean;
2882
- closeTip?: string | undefined;
2883
- closeCallbackUrl?: string | Record<string, string> | undefined;
2884
- }>;
2885
- declare const PtyCreateMessageSchema: z.ZodObject<{
2886
- type: z.ZodLiteral<"create">;
2887
- requestId: z.ZodString;
2888
- cols: z.ZodOptional<z.ZodNumber>;
2889
- rows: z.ZodOptional<z.ZodNumber>;
2890
- command: z.ZodOptional<z.ZodString>;
2891
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2892
- closeTip: z.ZodOptional<z.ZodString>;
2893
- closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
2894
- }, "strip", z.ZodTypeAny, {
2895
- type: "create";
2896
- requestId: string;
2897
- cols?: number | undefined;
2898
- rows?: number | undefined;
2899
- command?: string | undefined;
2900
- args?: string[] | undefined;
2901
- closeTip?: string | undefined;
2902
- closeCallbackUrl?: string | Record<string, string> | undefined;
2903
- }, {
2904
- type: "create";
2905
- requestId: string;
2906
- cols?: number | undefined;
2907
- rows?: number | undefined;
2908
- command?: string | undefined;
2909
- args?: string[] | undefined;
2910
- closeTip?: string | undefined;
2911
- closeCallbackUrl?: string | Record<string, string> | undefined;
2912
- }>;
2913
- declare const PtyInputMessageSchema: z.ZodObject<{
2914
- type: z.ZodLiteral<"input">;
2915
- sessionId: z.ZodString;
2916
- data: z.ZodString;
2917
- }, "strip", z.ZodTypeAny, {
2918
- type: "input";
2919
- sessionId: string;
2920
- data: string;
2921
- }, {
2922
- type: "input";
2923
- sessionId: string;
2924
- data: string;
2925
- }>;
2926
- declare const PtyResizeMessageSchema: z.ZodObject<{
2927
- type: z.ZodLiteral<"resize">;
2928
- sessionId: z.ZodString;
2929
- cols: z.ZodNumber;
2930
- rows: z.ZodNumber;
2931
- }, "strip", z.ZodTypeAny, {
2932
- type: "resize";
2933
- cols: number;
2934
- rows: number;
2935
- sessionId: string;
2936
- }, {
2937
- type: "resize";
2938
- cols: number;
2939
- rows: number;
2940
- sessionId: string;
2941
- }>;
2942
- declare const PtyCloseMessageSchema: z.ZodObject<{
2943
- type: z.ZodLiteral<"close">;
2944
- sessionId: z.ZodString;
2945
- }, "strip", z.ZodTypeAny, {
2946
- type: "close";
2947
- sessionId: string;
2948
- }, {
2949
- type: "close";
2950
- sessionId: string;
2951
- }>;
2952
- declare const PtyAttachMessageSchema: z.ZodObject<{
2953
- type: z.ZodLiteral<"attach">;
2954
- sessionId: z.ZodString;
2955
- cols: z.ZodOptional<z.ZodNumber>;
2956
- rows: z.ZodOptional<z.ZodNumber>;
2957
- }, "strip", z.ZodTypeAny, {
2958
- type: "attach";
2959
- sessionId: string;
2960
- cols?: number | undefined;
2961
- rows?: number | undefined;
2962
- }, {
2963
- type: "attach";
2964
- sessionId: string;
2965
- cols?: number | undefined;
2966
- rows?: number | undefined;
2967
- }>;
2968
- declare const PtyListMessageSchema: z.ZodObject<{
2969
- type: z.ZodLiteral<"list">;
2970
- }, "strip", z.ZodTypeAny, {
2971
- type: "list";
2972
- }, {
2973
- type: "list";
2974
- }>;
2975
- declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2976
- type: z.ZodLiteral<"create">;
2977
- requestId: z.ZodString;
2978
- cols: z.ZodOptional<z.ZodNumber>;
2979
- rows: z.ZodOptional<z.ZodNumber>;
2980
- command: z.ZodOptional<z.ZodString>;
2981
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2982
- closeTip: z.ZodOptional<z.ZodString>;
2983
- closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
2984
- }, "strip", z.ZodTypeAny, {
2985
- type: "create";
2986
- requestId: string;
2987
- cols?: number | undefined;
2988
- rows?: number | undefined;
2989
- command?: string | undefined;
2990
- args?: string[] | undefined;
2991
- closeTip?: string | undefined;
2992
- closeCallbackUrl?: string | Record<string, string> | undefined;
2993
- }, {
2994
- type: "create";
2995
- requestId: string;
2996
- cols?: number | undefined;
2997
- rows?: number | undefined;
2998
- command?: string | undefined;
2999
- args?: string[] | undefined;
3000
- closeTip?: string | undefined;
3001
- closeCallbackUrl?: string | Record<string, string> | undefined;
3002
- }>, z.ZodObject<{
3003
- type: z.ZodLiteral<"input">;
3004
- sessionId: z.ZodString;
3005
- data: z.ZodString;
3006
- }, "strip", z.ZodTypeAny, {
3007
- type: "input";
3008
- sessionId: string;
3009
- data: string;
3010
- }, {
3011
- type: "input";
3012
- sessionId: string;
3013
- data: string;
3014
- }>, z.ZodObject<{
3015
- type: z.ZodLiteral<"resize">;
3016
- sessionId: z.ZodString;
3017
- cols: z.ZodNumber;
3018
- rows: z.ZodNumber;
3019
- }, "strip", z.ZodTypeAny, {
3020
- type: "resize";
3021
- cols: number;
3022
- rows: number;
3023
- sessionId: string;
3024
- }, {
3025
- type: "resize";
3026
- cols: number;
3027
- rows: number;
3028
- sessionId: string;
3029
- }>, z.ZodObject<{
3030
- type: z.ZodLiteral<"close">;
3031
- sessionId: z.ZodString;
3032
- }, "strip", z.ZodTypeAny, {
3033
- type: "close";
3034
- sessionId: string;
3035
- }, {
3036
- type: "close";
3037
- sessionId: string;
3038
- }>, z.ZodObject<{
3039
- type: z.ZodLiteral<"attach">;
3040
- sessionId: z.ZodString;
3041
- cols: z.ZodOptional<z.ZodNumber>;
3042
- rows: z.ZodOptional<z.ZodNumber>;
3043
- }, "strip", z.ZodTypeAny, {
3044
- type: "attach";
3045
- sessionId: string;
3046
- cols?: number | undefined;
3047
- rows?: number | undefined;
3048
- }, {
3049
- type: "attach";
3050
- sessionId: string;
3051
- cols?: number | undefined;
3052
- rows?: number | undefined;
3053
- }>, z.ZodObject<{
3054
- type: z.ZodLiteral<"list">;
3055
- }, "strip", z.ZodTypeAny, {
3056
- type: "list";
3057
- }, {
3058
- type: "list";
3059
- }>]>;
3060
- declare const PtyCreatedResponseSchema: z.ZodObject<{
3061
- type: z.ZodLiteral<"created">;
3062
- requestId: z.ZodString;
3063
- sessionId: z.ZodString;
3064
- platform: z.ZodEnum<["windows", "macos", "common"]>;
3065
- }, "strip", z.ZodTypeAny, {
3066
- type: "created";
3067
- requestId: string;
3068
- sessionId: string;
3069
- platform: "windows" | "macos" | "common";
3070
- }, {
3071
- type: "created";
3072
- requestId: string;
3073
- sessionId: string;
3074
- platform: "windows" | "macos" | "common";
3075
- }>;
3076
- declare const PtyOutputResponseSchema: z.ZodObject<{
3077
- type: z.ZodLiteral<"output">;
3078
- sessionId: z.ZodString;
3079
- data: z.ZodString;
3080
- }, "strip", z.ZodTypeAny, {
3081
- type: "output";
3082
- sessionId: string;
3083
- data: string;
3084
- }, {
3085
- type: "output";
3086
- sessionId: string;
3087
- data: string;
3088
- }>;
3089
- declare const PtyExitResponseSchema: z.ZodObject<{
3090
- type: z.ZodLiteral<"exit">;
3091
- sessionId: z.ZodString;
3092
- exitCode: z.ZodNumber;
3093
- }, "strip", z.ZodTypeAny, {
3094
- type: "exit";
3095
- sessionId: string;
3096
- exitCode: number;
3097
- }, {
3098
- type: "exit";
3099
- sessionId: string;
3100
- exitCode: number;
3101
- }>;
3102
- declare const PtyTitleResponseSchema: z.ZodObject<{
3103
- type: z.ZodLiteral<"title">;
3104
- sessionId: z.ZodString;
3105
- title: z.ZodString;
3106
- }, "strip", z.ZodTypeAny, {
3107
- type: "title";
3108
- sessionId: string;
3109
- title: string;
3110
- }, {
3111
- type: "title";
3112
- sessionId: string;
3113
- title: string;
3114
- }>;
3115
- declare const PtyBufferResponseSchema: z.ZodObject<{
3116
- type: z.ZodLiteral<"buffer">;
3117
- sessionId: z.ZodString;
3118
- data: z.ZodString;
3119
- }, "strip", z.ZodTypeAny, {
3120
- type: "buffer";
3121
- sessionId: string;
3122
- data: string;
3123
- }, {
3124
- type: "buffer";
3125
- sessionId: string;
3126
- data: string;
3127
- }>;
3128
- declare const PtyListResponseSchema: z.ZodObject<{
3129
- type: z.ZodLiteral<"list">;
3130
- sessions: z.ZodArray<z.ZodObject<{
3131
- id: z.ZodString;
3132
- title: z.ZodString;
3133
- command: z.ZodString;
3134
- args: z.ZodArray<z.ZodString, "many">;
3135
- platform: z.ZodEnum<["windows", "macos", "common"]>;
3136
- isExited: z.ZodBoolean;
3137
- exitCode: z.ZodNullable<z.ZodNumber>;
3138
- closeTip: z.ZodOptional<z.ZodString>;
3139
- closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
3140
- }, "strip", z.ZodTypeAny, {
3141
- command: string;
3142
- args: string[];
3143
- platform: "windows" | "macos" | "common";
3144
- exitCode: number | null;
3145
- title: string;
3146
- id: string;
3147
- isExited: boolean;
3148
- closeTip?: string | undefined;
3149
- closeCallbackUrl?: string | Record<string, string> | undefined;
3150
- }, {
3151
- command: string;
3152
- args: string[];
3153
- platform: "windows" | "macos" | "common";
3154
- exitCode: number | null;
3155
- title: string;
3156
- id: string;
3157
- isExited: boolean;
3158
- closeTip?: string | undefined;
3159
- closeCallbackUrl?: string | Record<string, string> | undefined;
3160
- }>, "many">;
3161
- }, "strip", z.ZodTypeAny, {
3162
- type: "list";
3163
- sessions: {
3164
- command: string;
3165
- args: string[];
3166
- platform: "windows" | "macos" | "common";
3167
- exitCode: number | null;
3168
- title: string;
3169
- id: string;
3170
- isExited: boolean;
3171
- closeTip?: string | undefined;
3172
- closeCallbackUrl?: string | Record<string, string> | undefined;
3173
- }[];
3174
- }, {
3175
- type: "list";
3176
- sessions: {
3177
- command: string;
3178
- args: string[];
3179
- platform: "windows" | "macos" | "common";
3180
- exitCode: number | null;
3181
- title: string;
3182
- id: string;
3183
- isExited: boolean;
3184
- closeTip?: string | undefined;
3185
- closeCallbackUrl?: string | Record<string, string> | undefined;
3186
- }[];
3187
- }>;
3188
- declare const PtyErrorCodeSchema: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
3189
- declare const PtyErrorResponseSchema: z.ZodObject<{
3190
- type: z.ZodLiteral<"error">;
3191
- code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
3192
- message: z.ZodString;
3193
- sessionId: z.ZodOptional<z.ZodString>;
3194
- }, "strip", z.ZodTypeAny, {
3195
- type: "error";
3196
- code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
3197
- message: string;
3198
- sessionId?: string | undefined;
3199
- }, {
3200
- type: "error";
3201
- code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
3202
- message: string;
3203
- sessionId?: string | undefined;
3204
- }>;
3205
- declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3206
- type: z.ZodLiteral<"created">;
3207
- requestId: z.ZodString;
3208
- sessionId: z.ZodString;
3209
- platform: z.ZodEnum<["windows", "macos", "common"]>;
3210
- }, "strip", z.ZodTypeAny, {
3211
- type: "created";
3212
- requestId: string;
3213
- sessionId: string;
3214
- platform: "windows" | "macos" | "common";
3215
- }, {
3216
- type: "created";
3217
- requestId: string;
3218
- sessionId: string;
3219
- platform: "windows" | "macos" | "common";
3220
- }>, z.ZodObject<{
3221
- type: z.ZodLiteral<"output">;
3222
- sessionId: z.ZodString;
3223
- data: z.ZodString;
3224
- }, "strip", z.ZodTypeAny, {
3225
- type: "output";
3226
- sessionId: string;
3227
- data: string;
3228
- }, {
3229
- type: "output";
3230
- sessionId: string;
3231
- data: string;
3232
- }>, z.ZodObject<{
3233
- type: z.ZodLiteral<"exit">;
3234
- sessionId: z.ZodString;
3235
- exitCode: z.ZodNumber;
3236
- }, "strip", z.ZodTypeAny, {
3237
- type: "exit";
3238
- sessionId: string;
3239
- exitCode: number;
3240
- }, {
3241
- type: "exit";
3242
- sessionId: string;
3243
- exitCode: number;
3244
- }>, z.ZodObject<{
3245
- type: z.ZodLiteral<"title">;
3246
- sessionId: z.ZodString;
3247
- title: z.ZodString;
3248
- }, "strip", z.ZodTypeAny, {
3249
- type: "title";
3250
- sessionId: string;
3251
- title: string;
3252
- }, {
3253
- type: "title";
3254
- sessionId: string;
3255
- title: string;
3256
- }>, z.ZodObject<{
3257
- type: z.ZodLiteral<"buffer">;
3258
- sessionId: z.ZodString;
3259
- data: z.ZodString;
3260
- }, "strip", z.ZodTypeAny, {
3261
- type: "buffer";
3262
- sessionId: string;
3263
- data: string;
3264
- }, {
3265
- type: "buffer";
3266
- sessionId: string;
3267
- data: string;
3268
- }>, z.ZodObject<{
3269
- type: z.ZodLiteral<"list">;
3270
- sessions: z.ZodArray<z.ZodObject<{
3271
- id: z.ZodString;
3272
- title: z.ZodString;
3273
- command: z.ZodString;
3274
- args: z.ZodArray<z.ZodString, "many">;
3275
- platform: z.ZodEnum<["windows", "macos", "common"]>;
3276
- isExited: z.ZodBoolean;
3277
- exitCode: z.ZodNullable<z.ZodNumber>;
3278
- closeTip: z.ZodOptional<z.ZodString>;
3279
- closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
3280
- }, "strip", z.ZodTypeAny, {
3281
- command: string;
3282
- args: string[];
3283
- platform: "windows" | "macos" | "common";
3284
- exitCode: number | null;
3285
- title: string;
3286
- id: string;
3287
- isExited: boolean;
3288
- closeTip?: string | undefined;
3289
- closeCallbackUrl?: string | Record<string, string> | undefined;
3290
- }, {
3291
- command: string;
3292
- args: string[];
3293
- platform: "windows" | "macos" | "common";
3294
- exitCode: number | null;
3295
- title: string;
3296
- id: string;
3297
- isExited: boolean;
3298
- closeTip?: string | undefined;
3299
- closeCallbackUrl?: string | Record<string, string> | undefined;
3300
- }>, "many">;
3301
- }, "strip", z.ZodTypeAny, {
3302
- type: "list";
3303
- sessions: {
3304
- command: string;
3305
- args: string[];
3306
- platform: "windows" | "macos" | "common";
3307
- exitCode: number | null;
3308
- title: string;
3309
- id: string;
3310
- isExited: boolean;
3311
- closeTip?: string | undefined;
3312
- closeCallbackUrl?: string | Record<string, string> | undefined;
3313
- }[];
3314
- }, {
3315
- type: "list";
3316
- sessions: {
3317
- command: string;
3318
- args: string[];
3319
- platform: "windows" | "macos" | "common";
3320
- exitCode: number | null;
3321
- title: string;
3322
- id: string;
3323
- isExited: boolean;
3324
- closeTip?: string | undefined;
3325
- closeCallbackUrl?: string | Record<string, string> | undefined;
3326
- }[];
3327
- }>, z.ZodObject<{
3328
- type: z.ZodLiteral<"error">;
3329
- code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
3330
- message: z.ZodString;
3331
- sessionId: z.ZodOptional<z.ZodString>;
3332
- }, "strip", z.ZodTypeAny, {
3333
- type: "error";
3334
- code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
3335
- message: string;
3336
- sessionId?: string | undefined;
3337
- }, {
3338
- type: "error";
3339
- code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
3340
- message: string;
3341
- sessionId?: string | undefined;
3342
- }>]>;
3343
- type PtyClientMessage = z.infer<typeof PtyClientMessageSchema>;
3344
- type PtyServerMessage = z.infer<typeof PtyServerMessageSchema>;
3345
- type PtySessionInfo = z.infer<typeof PtySessionInfoSchema>;
3346
- type PtyPlatform = z.infer<typeof PtyPlatformSchema>;
3347
- //#endregion
3348
- export { type AIToolOption, AI_TOOLS, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, CODE_EDITOR_THEME_VALUES, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, DASHBOARD_METRIC_KEYS, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, MarkdownParser, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, OpsxKernel, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, PtyAttachMessageSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalConfig, TerminalConfigSchema, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getProjectWatcher, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, parseCliCommand, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, resolveHostedAppBaseUrl, sniffGlobalCli, subscribeWatcherRuntimeStatus, toOpsxDisplayPath };
2853
+ export { type AIToolOption, AI_TOOLS, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_TERMINAL_SPAWN_COMMANDS, CODE_EDITOR_THEME_VALUES, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, DASHBOARD_METRIC_KEYS, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, MarkdownParser, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, OpsxKernel, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, PtyAttachMessageSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, parseCliCommand, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, sniffGlobalCli, subscribeWatcherRuntimeStatus, toOpsxDisplayPath };