@openspecui/core 3.7.2 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/{document-translation-CvUxMOPl.mjs → document-translation-BrE402YR.mjs} +16 -2
  2. package/dist/document-translation-gGEfTK6J.d.mts +263 -0
  3. package/dist/document-translation.d.mts +2 -2
  4. package/dist/document-translation.mjs +3 -2
  5. package/dist/hosted-app.d.mts +1 -1
  6. package/dist/hosted-app.mjs +1 -1
  7. package/dist/index.d.mts +190 -33
  8. package/dist/index.mjs +270 -23
  9. package/dist/local-download-profiles-BppI_PAq.mjs +255 -0
  10. package/dist/local-download-profiles-Cx0TCYld.d.mts +100 -0
  11. package/dist/local-download-profiles.d.mts +3 -0
  12. package/dist/local-download-profiles.mjs +3 -0
  13. package/dist/markdown-facts.d.mts +1 -1
  14. package/dist/markdown-facts.mjs +1 -1
  15. package/dist/{markdown-reading-CsL1q84q.mjs → markdown-reading-DYBp7qoI.mjs} +1 -1
  16. package/dist/{markdown-reading-BC6uFgx0.d.mts → markdown-reading-DvLPaaY1.d.mts} +1 -1
  17. package/dist/markdown-reading.d.mts +2 -2
  18. package/dist/markdown-reading.mjs +2 -2
  19. package/dist/{notifications-DXOoOJ3m.mjs → notifications-9vbSJQ8N.mjs} +2 -2
  20. package/dist/{notifications-C9NFber0.d.mts → notifications-BcyENEk7.d.mts} +14 -14
  21. package/dist/notifications.d.mts +2 -2
  22. package/dist/notifications.mjs +3 -3
  23. package/dist/{openspec-annotations-D_xQqQOB.mjs → openspec-annotations-BxBoWlyv.mjs} +2 -2
  24. package/dist/{openspec-annotations-DKP1Uuho.d.mts → openspec-annotations-DVbFBz5J.d.mts} +2 -2
  25. package/dist/openspec-annotations.d.mts +3 -3
  26. package/dist/openspec-annotations.mjs +3 -3
  27. package/dist/{openspec-projection-Cv9_trD5.d.mts → openspec-projection-BA3r5CYl.d.mts} +3 -3
  28. package/dist/{openspec-projection-DLGD1JFD.mjs → openspec-projection-Cd6oydiK.mjs} +2 -2
  29. package/dist/openspec-projection.d.mts +5 -5
  30. package/dist/openspec-projection.mjs +4 -4
  31. package/dist/opsx-display-path.d.mts +1 -1
  32. package/dist/opsx-display-path.mjs +1 -1
  33. package/dist/{opsx-entity-FVK74l1t.d.mts → opsx-entity-CuZmeham.d.mts} +15 -15
  34. package/dist/opsx-entity.d.mts +2 -2
  35. package/dist/opsx-entity.mjs +1 -1
  36. package/dist/{opsx-schema-detail-COXlZ7Gm.d.mts → opsx-schema-detail-Ca3CvTQg.d.mts} +1 -1
  37. package/dist/opsx-schema-detail.d.mts +3 -3
  38. package/dist/opsx-schema-detail.mjs +1 -1
  39. package/dist/{schemas-CFIuaIAS.d.mts → schemas-P5NxTHR9.d.mts} +40 -40
  40. package/dist/{sounds-Dz-aToh_.d.mts → sounds-DABkmyg9.d.mts} +8 -8
  41. package/dist/sounds.d.mts +1 -1
  42. package/dist/sounds.mjs +1 -1
  43. package/dist/{terminal-audio-Btx-il9w.d.mts → terminal-audio-CDyXOIWx.d.mts} +1 -1
  44. package/dist/{terminal-audio-BiQ9qJJW.mjs → terminal-audio-DVz0HA2H.mjs} +1 -1
  45. package/dist/terminal-audio.d.mts +2 -2
  46. package/dist/terminal-audio.mjs +2 -2
  47. package/dist/terminal-control.d.mts +2 -2
  48. package/dist/terminal-control.mjs +1 -1
  49. package/dist/{terminal-invocation-42mkV55p.d.mts → terminal-invocation-CWevPxkf.d.mts} +47 -47
  50. package/dist/terminal-invocation.d.mts +1 -1
  51. package/dist/terminal-invocation.mjs +1 -1
  52. package/dist/terminal-theme.d.mts +1 -1
  53. package/dist/terminal-theme.mjs +1 -1
  54. package/dist/translator-BEhPdQGs.d.mts +780 -0
  55. package/dist/translator-C3LT7PqW.mjs +147 -0
  56. package/dist/translator.d.mts +2 -0
  57. package/dist/translator.mjs +3 -0
  58. package/package.json +15 -3
  59. package/dist/document-translation-D_ryOn9u.d.mts +0 -140
  60. /package/dist/{hosted-app-Du65UHRo.mjs → hosted-app-CxpQvD1s.mjs} +0 -0
  61. /package/dist/{hosted-app-BqJw9WgW.d.mts → hosted-app-FuxG4-qA.d.mts} +0 -0
  62. /package/dist/{markdown-facts-BFqXdPfN.mjs → markdown-facts-B5RvYPKF.mjs} +0 -0
  63. /package/dist/{markdown-facts-DxElzSsp.d.mts → markdown-facts-DUsbNcjh.d.mts} +0 -0
  64. /package/dist/{opsx-display-path-BHEPZsJx.mjs → opsx-display-path-Bf89ZyM5.mjs} +0 -0
  65. /package/dist/{opsx-display-path-BKUYCqwP.d.mts → opsx-display-path-CbO6K0Qq.d.mts} +0 -0
  66. /package/dist/{opsx-entity-B_Od4N3r.mjs → opsx-entity-BR_6djiM.mjs} +0 -0
  67. /package/dist/{opsx-schema-detail-Bh-aNaSk.mjs → opsx-schema-detail-5Wv1oWLT.mjs} +0 -0
  68. /package/dist/{sounds-Ctm3QEtf.mjs → sounds-CB_gpY-y.mjs} +0 -0
  69. /package/dist/{terminal-control-CMkG-o9C.mjs → terminal-control-CNcEd9Rl.mjs} +0 -0
  70. /package/dist/{terminal-invocation-CX1LDM89.mjs → terminal-invocation-wUmtJMPl.mjs} +0 -0
  71. /package/dist/{terminal-theme-BOGPIiVm.mjs → terminal-theme-CHkfTDk4.mjs} +0 -0
  72. /package/dist/{terminal-theme-DdhVuegL.d.mts → terminal-theme-x_vAHvok.d.mts} +0 -0
@@ -0,0 +1,100 @@
1
+ import { D as TranslationDownloadGroupPlan, z as TranslationModelDownloadPlan } from "./translator-BEhPdQGs.mjs";
2
+
3
+ //#region src/local-download-profiles.d.ts
4
+ declare const LOCAL_MODEL_PROFILE_DEFINITIONS: readonly [{
5
+ readonly id: "q1";
6
+ readonly label: "q1";
7
+ readonly dtype: "q1";
8
+ readonly suffix: "_q1";
9
+ readonly description: "1-bit quantized ONNX profile.";
10
+ }, {
11
+ readonly id: "q1f16";
12
+ readonly label: "q1f16";
13
+ readonly dtype: "q1f16";
14
+ readonly suffix: "_q1f16";
15
+ readonly description: "1-bit block quantized fp16 ONNX profile.";
16
+ }, {
17
+ readonly id: "q2";
18
+ readonly label: "q2";
19
+ readonly dtype: "q2";
20
+ readonly suffix: "_q2";
21
+ readonly description: "2-bit quantized ONNX profile.";
22
+ }, {
23
+ readonly id: "q2f16";
24
+ readonly label: "q2f16";
25
+ readonly dtype: "q2f16";
26
+ readonly suffix: "_q2f16";
27
+ readonly description: "2-bit block quantized fp16 ONNX profile.";
28
+ }, {
29
+ readonly id: "q4";
30
+ readonly label: "q4";
31
+ readonly dtype: "q4";
32
+ readonly suffix: "_q4";
33
+ readonly description: "4-bit quantized ONNX profile.";
34
+ }, {
35
+ readonly id: "q4f16";
36
+ readonly label: "q4f16";
37
+ readonly dtype: "q4f16";
38
+ readonly suffix: "_q4f16";
39
+ readonly description: "4-bit block quantized fp16 ONNX profile.";
40
+ }, {
41
+ readonly id: "bnb4";
42
+ readonly label: "bnb4";
43
+ readonly dtype: "bnb4";
44
+ readonly suffix: "_bnb4";
45
+ readonly description: "bitsandbytes 4-bit ONNX profile.";
46
+ }, {
47
+ readonly id: "q8";
48
+ readonly label: "q8";
49
+ readonly dtype: "q8";
50
+ readonly suffix: "_quantized";
51
+ readonly description: "8-bit quantized ONNX profile.";
52
+ }, {
53
+ readonly id: "int8";
54
+ readonly label: "int8";
55
+ readonly dtype: "int8";
56
+ readonly suffix: "_int8";
57
+ readonly description: "int8 ONNX profile.";
58
+ }, {
59
+ readonly id: "uint8";
60
+ readonly label: "uint8";
61
+ readonly dtype: "uint8";
62
+ readonly suffix: "_uint8";
63
+ readonly description: "uint8 ONNX profile.";
64
+ }, {
65
+ readonly id: "fp16";
66
+ readonly label: "fp16";
67
+ readonly dtype: "fp16";
68
+ readonly suffix: "_fp16";
69
+ readonly description: "fp16 ONNX profile.";
70
+ }, {
71
+ readonly id: "fp32";
72
+ readonly label: "fp32";
73
+ readonly dtype: "fp32";
74
+ readonly suffix: "";
75
+ readonly description: "fp32 ONNX profile.";
76
+ }];
77
+ type LocalModelProfileId = (typeof LOCAL_MODEL_PROFILE_DEFINITIONS)[number]['id'];
78
+ interface LocalRepositoryFile {
79
+ path: string;
80
+ sizeBytes?: number;
81
+ }
82
+ interface LocalRuntimeProfileFiles {
83
+ profile: LocalModelProfileId;
84
+ dtype: string;
85
+ files: ReadonlyArray<LocalRepositoryFile>;
86
+ }
87
+ declare function buildLocalDownloadPlanFromRepositoryFiles(input: {
88
+ modelId: string;
89
+ files: ReadonlyArray<LocalRepositoryFile>;
90
+ isEncoderDecoder?: boolean;
91
+ selectedGroupId?: string;
92
+ }): TranslationModelDownloadPlan | null;
93
+ declare function buildLocalDownloadPlanFromRuntimeProfileFiles(input: {
94
+ modelId: string;
95
+ groups: ReadonlyArray<LocalRuntimeProfileFiles>;
96
+ selectedGroupId?: string;
97
+ }): TranslationModelDownloadPlan | null;
98
+ declare function selectLocalDownloadGroup(plan: TranslationModelDownloadPlan | null, selectedGroupId: string | undefined): TranslationDownloadGroupPlan | null;
99
+ //#endregion
100
+ export { buildLocalDownloadPlanFromRepositoryFiles as a, LocalRuntimeProfileFiles as i, LocalModelProfileId as n, buildLocalDownloadPlanFromRuntimeProfileFiles as o, LocalRepositoryFile as r, selectLocalDownloadGroup as s, LOCAL_MODEL_PROFILE_DEFINITIONS as t };
@@ -0,0 +1,3 @@
1
+ import "./translator-BEhPdQGs.mjs";
2
+ import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-Cx0TCYld.mjs";
3
+ export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -0,0 +1,3 @@
1
+ import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-BppI_PAq.mjs";
2
+
3
+ export { LOCAL_MODEL_PROFILE_DEFINITIONS, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
@@ -1,2 +1,2 @@
1
- import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-DxElzSsp.mjs";
1
+ import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-DUsbNcjh.mjs";
2
2
  export { MarkdownFact, MarkdownFactKind, MarkdownFactsDocument, MarkdownSourcePoint, MarkdownSourceRange, parseMarkdownFacts, toMarkdownFactKind };
@@ -1,3 +1,3 @@
1
- import { n as toMarkdownFactKind, t as parseMarkdownFacts } from "./markdown-facts-BFqXdPfN.mjs";
1
+ import { n as toMarkdownFactKind, t as parseMarkdownFacts } from "./markdown-facts-B5RvYPKF.mjs";
2
2
 
3
3
  export { parseMarkdownFacts, toMarkdownFactKind };
@@ -1,4 +1,4 @@
1
- import { t as parseMarkdownFacts } from "./markdown-facts-BFqXdPfN.mjs";
1
+ import { t as parseMarkdownFacts } from "./markdown-facts-B5RvYPKF.mjs";
2
2
 
3
3
  //#region src/markdown-reading.ts
4
4
  var MarkdownReadingPluginRegistry = class {
@@ -1,4 +1,4 @@
1
- import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-DxElzSsp.mjs";
1
+ import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-DUsbNcjh.mjs";
2
2
 
3
3
  //#region src/markdown-reading.d.ts
4
4
  type MarkdownAnnotationConfidence = 'strong' | 'weak';
@@ -1,3 +1,3 @@
1
- import "./markdown-facts-DxElzSsp.mjs";
2
- import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-BC6uFgx0.mjs";
1
+ import "./markdown-facts-DUsbNcjh.mjs";
2
+ import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-DvLPaaY1.mjs";
3
3
  export { MarkdownAnnotation, MarkdownAnnotationConfidence, MarkdownAnnotationContext, MarkdownAnnotationInput, MarkdownAnnotationRule, MarkdownFactSpan, MarkdownProjectionContext, MarkdownProjectionRule, MarkdownReadingDocument, MarkdownReadingLookup, MarkdownReadingPlugin, MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
@@ -1,4 +1,4 @@
1
- import "./markdown-facts-BFqXdPfN.mjs";
2
- import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-CsL1q84q.mjs";
1
+ import "./markdown-facts-B5RvYPKF.mjs";
2
+ import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-DYBp7qoI.mjs";
3
3
 
4
4
  export { MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
@@ -1,5 +1,5 @@
1
- import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-Ctm3QEtf.mjs";
2
- import { t as TerminalControlParser } from "./terminal-control-CMkG-o9C.mjs";
1
+ import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-CB_gpY-y.mjs";
2
+ import { t as TerminalControlParser } from "./terminal-control-CNcEd9Rl.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/notifications.ts
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-Dz-aToh_.mjs";
1
+ import { x as SoundId } from "./sounds-DABkmyg9.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/terminal-control.d.ts
@@ -272,6 +272,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
272
272
  level: z.ZodDefault<z.ZodEnum<["info", "success", "warning", "error"]>>;
273
273
  createdAt: z.ZodOptional<z.ZodNumber>;
274
274
  }, "strip", z.ZodTypeAny, {
275
+ title: string;
276
+ body: string;
275
277
  source: {
276
278
  type: "terminal";
277
279
  sessionId: string;
@@ -289,8 +291,6 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
289
291
  groupId: string;
290
292
  title?: string | undefined;
291
293
  };
292
- title: string;
293
- body: string;
294
294
  actions: ({
295
295
  type: "terminal.focus";
296
296
  label: string;
@@ -304,9 +304,10 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
304
304
  href: string;
305
305
  };
306
306
  })[];
307
- level: "info" | "success" | "warning" | "error";
307
+ level: "error" | "info" | "success" | "warning";
308
308
  createdAt?: number | undefined;
309
309
  }, {
310
+ title: string;
310
311
  source: {
311
312
  type: "terminal";
312
313
  sessionId: string;
@@ -324,7 +325,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
324
325
  groupId: string;
325
326
  title?: string | undefined;
326
327
  };
327
- title: string;
328
+ createdAt?: number | undefined;
328
329
  body?: string | undefined;
329
330
  actions?: ({
330
331
  type: "terminal.focus";
@@ -339,8 +340,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
339
340
  };
340
341
  label?: string | undefined;
341
342
  })[] | undefined;
342
- level?: "info" | "success" | "warning" | "error" | undefined;
343
- createdAt?: number | undefined;
343
+ level?: "error" | "info" | "success" | "warning" | undefined;
344
344
  }>;
345
345
  type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
346
346
  declare const NotificationRecordSchema: z.ZodObject<{
@@ -446,7 +446,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
446
446
  createdAt: z.ZodNumber;
447
447
  groupKey: z.ZodString;
448
448
  }, "strip", z.ZodTypeAny, {
449
+ createdAt: number;
449
450
  id: string;
451
+ title: string;
452
+ body: string;
450
453
  source: {
451
454
  type: "terminal";
452
455
  sessionId: string;
@@ -464,8 +467,6 @@ declare const NotificationRecordSchema: z.ZodObject<{
464
467
  groupId: string;
465
468
  title?: string | undefined;
466
469
  };
467
- title: string;
468
- body: string;
469
470
  actions: ({
470
471
  type: "terminal.focus";
471
472
  label: string;
@@ -479,11 +480,12 @@ declare const NotificationRecordSchema: z.ZodObject<{
479
480
  href: string;
480
481
  };
481
482
  })[];
482
- level: "info" | "success" | "warning" | "error";
483
- createdAt: number;
483
+ level: "error" | "info" | "success" | "warning";
484
484
  groupKey: string;
485
485
  }, {
486
+ createdAt: number;
486
487
  id: string;
488
+ title: string;
487
489
  source: {
488
490
  type: "terminal";
489
491
  sessionId: string;
@@ -501,8 +503,6 @@ declare const NotificationRecordSchema: z.ZodObject<{
501
503
  groupId: string;
502
504
  title?: string | undefined;
503
505
  };
504
- title: string;
505
- createdAt: number;
506
506
  groupKey: string;
507
507
  body?: string | undefined;
508
508
  actions?: ({
@@ -518,7 +518,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
518
518
  };
519
519
  label?: string | undefined;
520
520
  })[] | undefined;
521
- level?: "info" | "success" | "warning" | "error" | undefined;
521
+ level?: "error" | "info" | "success" | "warning" | undefined;
522
522
  }>;
523
523
  type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
524
524
  interface NotificationAggregate {
@@ -1,3 +1,3 @@
1
- import "./sounds-Dz-aToh_.mjs";
2
- import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-C9NFber0.mjs";
1
+ import "./sounds-DABkmyg9.mjs";
2
+ import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-BcyENEk7.mjs";
3
3
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationAction, NotificationActionSchema, NotificationAggregate, NotificationGroup, NotificationGroupKey, NotificationGroupKeySchema, NotificationPublishInput, NotificationPublishInputSchema, NotificationRecord, NotificationRecordSchema, NotificationSettings, NotificationSettingsSchema, NotificationSound, NotificationSoundSchema, NotificationSource, NotificationSourceSchema, TerminalControlParser, TerminalNotificationEvent, TerminalNotificationParseResult, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -1,5 +1,5 @@
1
- import "./sounds-Ctm3QEtf.mjs";
2
- import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CMkG-o9C.mjs";
3
- import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-DXOoOJ3m.mjs";
1
+ import "./sounds-CB_gpY-y.mjs";
2
+ import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CNcEd9Rl.mjs";
3
+ import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-9vbSJQ8N.mjs";
4
4
 
5
5
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, NotificationSourceSchema, TerminalControlParser, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -1,5 +1,5 @@
1
- import { t as parseMarkdownFacts } from "./markdown-facts-BFqXdPfN.mjs";
2
- import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-CsL1q84q.mjs";
1
+ import { t as parseMarkdownFacts } from "./markdown-facts-B5RvYPKF.mjs";
2
+ import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-DYBp7qoI.mjs";
3
3
 
4
4
  //#region src/openspec-annotations.ts
5
5
  const OPEN_SPEC_ANNOTATION_RULES = {
@@ -1,5 +1,5 @@
1
- import { r as MarkdownFactsDocument } from "./markdown-facts-DxElzSsp.mjs";
2
- import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-BC6uFgx0.mjs";
1
+ import { r as MarkdownFactsDocument } from "./markdown-facts-DUsbNcjh.mjs";
2
+ import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-DvLPaaY1.mjs";
3
3
 
4
4
  //#region src/openspec-annotations.d.ts
5
5
  type OpenSpecSemanticKind = 'document-title' | 'purpose-section' | 'requirements-section' | 'requirement' | 'scenario' | 'scenario-step' | 'keyword';
@@ -1,4 +1,4 @@
1
- import "./markdown-facts-DxElzSsp.mjs";
2
- import "./markdown-reading-BC6uFgx0.mjs";
3
- import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-DKP1Uuho.mjs";
1
+ import "./markdown-facts-DUsbNcjh.mjs";
2
+ import "./markdown-reading-DvLPaaY1.mjs";
3
+ import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-DVbFBz5J.mjs";
4
4
  export { AnnotatedOpenSpecDocument, OpenSpecAnnotation, OpenSpecAnnotationConfidence, OpenSpecAnnotationMetadata, OpenSpecKeyword, OpenSpecKeywordRole, OpenSpecRequirementKeyword, OpenSpecScenarioStepKeyword, OpenSpecSemanticKind, annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
@@ -1,5 +1,5 @@
1
- import "./markdown-facts-BFqXdPfN.mjs";
2
- import "./markdown-reading-CsL1q84q.mjs";
3
- import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-D_xQqQOB.mjs";
1
+ import "./markdown-facts-B5RvYPKF.mjs";
2
+ import "./markdown-reading-DYBp7qoI.mjs";
3
+ import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-BxBoWlyv.mjs";
4
4
 
5
5
  export { annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
@@ -1,6 +1,6 @@
1
- import { g as Spec } from "./schemas-CFIuaIAS.mjs";
2
- import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-BC6uFgx0.mjs";
3
- import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DKP1Uuho.mjs";
1
+ import { g as Spec } from "./schemas-P5NxTHR9.mjs";
2
+ import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-DvLPaaY1.mjs";
3
+ import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DVbFBz5J.mjs";
4
4
 
5
5
  //#region src/openspec-projection.d.ts
6
6
  declare const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
@@ -1,5 +1,5 @@
1
- import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-CsL1q84q.mjs";
2
- import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-D_xQqQOB.mjs";
1
+ import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-DYBp7qoI.mjs";
2
+ import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-BxBoWlyv.mjs";
3
3
 
4
4
  //#region src/openspec-projection.ts
5
5
  const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
@@ -1,6 +1,6 @@
1
- import "./schemas-CFIuaIAS.mjs";
2
- import "./markdown-facts-DxElzSsp.mjs";
3
- import "./markdown-reading-BC6uFgx0.mjs";
4
- import "./openspec-annotations-DKP1Uuho.mjs";
5
- import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-Cv9_trD5.mjs";
1
+ import "./schemas-P5NxTHR9.mjs";
2
+ import "./markdown-facts-DUsbNcjh.mjs";
3
+ import "./markdown-reading-DvLPaaY1.mjs";
4
+ import "./openspec-annotations-DVbFBz5J.mjs";
5
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-BA3r5CYl.mjs";
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OpenSpecHeadingSection, OpenSpecProjectionOptions, OpenSpecReadingSectionsProjection, OpenSpecRequirementBlock, OpenSpecScenarioBlock, ProjectedOpenSpecDocument, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,6 +1,6 @@
1
- import "./markdown-facts-BFqXdPfN.mjs";
2
- import "./markdown-reading-CsL1q84q.mjs";
3
- import "./openspec-annotations-D_xQqQOB.mjs";
4
- import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-DLGD1JFD.mjs";
1
+ import "./markdown-facts-B5RvYPKF.mjs";
2
+ import "./markdown-reading-DYBp7qoI.mjs";
3
+ import "./openspec-annotations-BxBoWlyv.mjs";
4
+ import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-Cd6oydiK.mjs";
5
5
 
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,2 +1,2 @@
1
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-BKUYCqwP.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CbO6K0Qq.mjs";
2
2
  export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
@@ -1,3 +1,3 @@
1
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-BHEPZsJx.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Bf89ZyM5.mjs";
2
2
 
3
3
  export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
@@ -1,4 +1,4 @@
1
- import { n as ChangeFile } from "./schemas-CFIuaIAS.mjs";
1
+ import { n as ChangeFile } from "./schemas-P5NxTHR9.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/opsx-types.d.ts
@@ -141,39 +141,39 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
141
141
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
142
142
  instruction: z.ZodString;
143
143
  }, "strip", z.ZodTypeAny, {
144
- tasks: {
145
- id: string;
146
- description: string;
147
- done: boolean;
148
- }[];
149
144
  progress: {
150
145
  total: number;
151
146
  complete: number;
152
147
  remaining: number;
153
148
  };
149
+ tasks: {
150
+ id: string;
151
+ description: string;
152
+ done: boolean;
153
+ }[];
154
+ state: "ready" | "blocked" | "all_done";
154
155
  changeName: string;
155
156
  schemaName: string;
156
157
  changeDir: string;
157
158
  contextFiles: Record<string, string[]>;
158
- state: "ready" | "blocked" | "all_done";
159
159
  instruction: string;
160
160
  missingArtifacts?: string[] | undefined;
161
161
  }, {
162
- tasks: {
163
- id: string;
164
- description: string;
165
- done: boolean;
166
- }[];
167
162
  progress: {
168
163
  total: number;
169
164
  complete: number;
170
165
  remaining: number;
171
166
  };
167
+ tasks: {
168
+ id: string;
169
+ description: string;
170
+ done: boolean;
171
+ }[];
172
+ state: "ready" | "blocked" | "all_done";
172
173
  changeName: string;
173
174
  schemaName: string;
174
175
  changeDir: string;
175
176
  contextFiles: Record<string, string | string[]>;
176
- state: "ready" | "blocked" | "all_done";
177
177
  instruction: string;
178
178
  missingArtifacts?: string[] | undefined;
179
179
  }>;
@@ -221,8 +221,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
221
221
  done: boolean;
222
222
  }[];
223
223
  unlocks: string[];
224
- instruction?: string | null | undefined;
225
224
  context?: string | null | undefined;
225
+ instruction?: string | null | undefined;
226
226
  rules?: string[] | null | undefined;
227
227
  }, {
228
228
  description: string;
@@ -239,8 +239,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
239
239
  done: boolean;
240
240
  }[];
241
241
  unlocks: string[];
242
- instruction?: string | null | undefined;
243
242
  context?: string | null | undefined;
243
+ instruction?: string | null | undefined;
244
244
  rules?: string[] | null | undefined;
245
245
  }>;
246
246
  type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
@@ -1,3 +1,3 @@
1
- import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-FVK74l1t.mjs";
2
- import "./schemas-CFIuaIAS.mjs";
1
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-CuZmeham.mjs";
2
+ import "./schemas-P5NxTHR9.mjs";
3
3
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,3 +1,3 @@
1
- import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-B_Od4N3r.mjs";
1
+ import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-BR_6djiM.mjs";
2
2
 
3
3
  export { buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,4 +1,4 @@
1
- import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-FVK74l1t.mjs";
1
+ import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-CuZmeham.mjs";
2
2
 
3
3
  //#region src/opsx-schema-detail.d.ts
4
4
  interface ParsedOpsxSchemaDetail {
@@ -1,4 +1,4 @@
1
- import "./opsx-entity-FVK74l1t.mjs";
2
- import "./schemas-CFIuaIAS.mjs";
3
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-COXlZ7Gm.mjs";
1
+ import "./opsx-entity-CuZmeham.mjs";
2
+ import "./schemas-P5NxTHR9.mjs";
3
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-Ca3CvTQg.mjs";
4
4
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -1,3 +1,3 @@
1
- import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-Bh-aNaSk.mjs";
1
+ import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-5Wv1oWLT.mjs";
2
2
 
3
3
  export { parseOpsxSchemaDetail };