@openspecui/core 3.11.6 → 3.12.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 (80) hide show
  1. package/dist/{document-translation-B6VWf7ll.mjs → document-translation-C3SE2CBJ.mjs} +1 -1
  2. package/dist/document-translation.d.mts +1 -1
  3. package/dist/document-translation.mjs +2 -2
  4. package/dist/hosted-app.d.mts +1 -1
  5. package/dist/hosted-app.mjs +1 -1
  6. package/dist/index.d.mts +38 -30
  7. package/dist/index.mjs +48 -48
  8. package/dist/{local-download-profiles-DIVr0mFh.d.mts → local-download-profiles-C6VVRttC.d.mts} +1 -1
  9. package/dist/local-download-profiles.d.mts +2 -2
  10. package/dist/local-download-profiles.mjs +1 -1
  11. package/dist/markdown-facts.d.mts +1 -1
  12. package/dist/markdown-facts.mjs +1 -1
  13. package/dist/{markdown-reading-DSlcirYV.mjs → markdown-reading-4d3w3xgw.mjs} +1 -1
  14. package/dist/{markdown-reading-BaHZTf5f.d.mts → markdown-reading-BnoDddEA.d.mts} +1 -1
  15. package/dist/markdown-reading.d.mts +2 -2
  16. package/dist/markdown-reading.mjs +2 -2
  17. package/dist/{notifications-Xs9VPFWD.mjs → notifications-3ZJ6BBzT.mjs} +2 -2
  18. package/dist/{notifications-DiY78-k4.d.mts → notifications-ConQlEyF.d.mts} +1 -1
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/notifications.mjs +3 -3
  21. package/dist/{openspec-annotations-DYyP_HQh.d.mts → openspec-annotations-DDKeedpf.d.mts} +2 -2
  22. package/dist/{openspec-annotations-dNJentSE.mjs → openspec-annotations-DZDb0Qox.mjs} +2 -2
  23. package/dist/openspec-annotations.d.mts +3 -3
  24. package/dist/openspec-annotations.mjs +3 -3
  25. package/dist/{openspec-projection-CmxjMsxS.d.mts → openspec-projection-CfsRech9.d.mts} +3 -3
  26. package/dist/{openspec-projection-yqwKIKnp.mjs → openspec-projection-DJ_mSfmq.mjs} +2 -2
  27. package/dist/openspec-projection.d.mts +5 -5
  28. package/dist/openspec-projection.mjs +4 -4
  29. package/dist/opsx-display-path.d.mts +1 -1
  30. package/dist/opsx-display-path.mjs +1 -1
  31. package/dist/opsx-entity-Bs_B7cxQ.d.mts +54 -0
  32. package/dist/opsx-entity.d.mts +3 -2
  33. package/dist/opsx-entity.mjs +1 -1
  34. package/dist/{opsx-schema-detail-aVlqvbro.d.mts → opsx-schema-detail-CIXIKaBU.d.mts} +2 -1
  35. package/dist/opsx-schema-detail.d.mts +4 -3
  36. package/dist/opsx-schema-detail.mjs +1 -1
  37. package/dist/{opsx-entity-CRa2u1j3.d.mts → opsx-types-Ccrsvb3l.d.mts} +9 -60
  38. package/dist/{schemas-Dp8-Wm-X.d.mts → schemas-D8sf5fMu.d.mts} +18 -18
  39. package/dist/sounds.d.mts +1 -1
  40. package/dist/sounds.mjs +1 -1
  41. package/dist/task-progress-Dw_ezBnq.d.mts +24 -0
  42. package/dist/task-progress-RLYFNkpL.mjs +70 -0
  43. package/dist/task-progress.d.mts +4 -0
  44. package/dist/task-progress.mjs +4 -0
  45. package/dist/{terminal-audio-CUs0sqEO.mjs → terminal-audio-DhslppvD.mjs} +1 -1
  46. package/dist/{terminal-audio-DkjquHlQ.d.mts → terminal-audio-r_TFJTxS.d.mts} +1 -1
  47. package/dist/terminal-audio.d.mts +2 -2
  48. package/dist/terminal-audio.mjs +2 -2
  49. package/dist/terminal-control.d.mts +2 -2
  50. package/dist/terminal-control.mjs +1 -1
  51. package/dist/terminal-invocation.d.mts +1 -1
  52. package/dist/terminal-invocation.mjs +1 -1
  53. package/dist/terminal-theme.d.mts +1 -1
  54. package/dist/terminal-theme.mjs +1 -1
  55. package/dist/translation-language-pair.d.mts +1 -1
  56. package/dist/translation-language-pair.mjs +1 -1
  57. package/dist/translator.d.mts +1 -1
  58. package/dist/translator.mjs +1 -1
  59. package/package.json +9 -3
  60. /package/dist/{document-translation-DhFREeHW.d.mts → document-translation-BAhXJaIl.d.mts} +0 -0
  61. /package/dist/{hosted-app-CegGJlNp.d.mts → hosted-app-BZvbSDOk.d.mts} +0 -0
  62. /package/dist/{hosted-app-CNZhVLM_.mjs → hosted-app-DfEh4rR3.mjs} +0 -0
  63. /package/dist/{local-download-profiles-CNDtMG2s.mjs → local-download-profiles-C8ZHpk2F.mjs} +0 -0
  64. /package/dist/{markdown-facts-DbE1F2LD.mjs → markdown-facts-ByM-tdm5.mjs} +0 -0
  65. /package/dist/{markdown-facts-DempqdIX.d.mts → markdown-facts-DQe77Xbc.d.mts} +0 -0
  66. /package/dist/{opsx-display-path-Cw-5MTRg.mjs → opsx-display-path-DGjayJTF.mjs} +0 -0
  67. /package/dist/{opsx-display-path-Ky9qnntM.d.mts → opsx-display-path-dEtDIqJD.d.mts} +0 -0
  68. /package/dist/{opsx-entity-C_51ZEuP.mjs → opsx-entity-DrY7pgMe.mjs} +0 -0
  69. /package/dist/{opsx-schema-detail-Bu415_NB.mjs → opsx-schema-detail-B-4bLoZS.mjs} +0 -0
  70. /package/dist/{sounds-DIvZfWxA.d.mts → sounds-Cfo308Lf.d.mts} +0 -0
  71. /package/dist/{sounds-50cYk5b0.mjs → sounds-CuSsy7X-.mjs} +0 -0
  72. /package/dist/{terminal-control-CYZhk7FM.mjs → terminal-control-D5dCna6A.mjs} +0 -0
  73. /package/dist/{terminal-invocation-IopdwXKL.mjs → terminal-invocation-BSrS_0zu.mjs} +0 -0
  74. /package/dist/{terminal-invocation-B3js0mEF.d.mts → terminal-invocation-Be3YlFOI.d.mts} +0 -0
  75. /package/dist/{terminal-theme-CH-VSrAq.d.mts → terminal-theme-DO6B6-o0.d.mts} +0 -0
  76. /package/dist/{terminal-theme-BquTqZIO.mjs → terminal-theme-TogWGicr.mjs} +0 -0
  77. /package/dist/{translation-language-pair-DaSvW83F.d.mts → translation-language-pair-C1tou_ks.d.mts} +0 -0
  78. /package/dist/{translation-language-pair-Cb4a0hG6.mjs → translation-language-pair-D2B_LoN1.mjs} +0 -0
  79. /package/dist/{translator-CS7MsNZp.d.mts → translator-CZeKoeLW.d.mts} +0 -0
  80. /package/dist/{translator-Cx9j32Og.mjs → translator-bwybQ07U.mjs} +0 -0
@@ -1,3 +1,3 @@
1
- import "./sounds-DIvZfWxA.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-DiY78-k4.mjs";
1
+ import "./sounds-Cfo308Lf.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-ConQlEyF.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-50cYk5b0.mjs";
2
- import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CYZhk7FM.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-Xs9VPFWD.mjs";
1
+ import "./sounds-CuSsy7X-.mjs";
2
+ import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-D5dCna6A.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-3ZJ6BBzT.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 { r as MarkdownFactsDocument } from "./markdown-facts-DempqdIX.mjs";
2
- import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-BaHZTf5f.mjs";
1
+ import { r as MarkdownFactsDocument } from "./markdown-facts-DQe77Xbc.mjs";
2
+ import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-BnoDddEA.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,5 +1,5 @@
1
- import { t as parseMarkdownFacts } from "./markdown-facts-DbE1F2LD.mjs";
2
- import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-DSlcirYV.mjs";
1
+ import { t as parseMarkdownFacts } from "./markdown-facts-ByM-tdm5.mjs";
2
+ import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-4d3w3xgw.mjs";
3
3
 
4
4
  //#region src/openspec-annotations.ts
5
5
  const OPEN_SPEC_ANNOTATION_RULES = {
@@ -1,4 +1,4 @@
1
- import "./markdown-facts-DempqdIX.mjs";
2
- import "./markdown-reading-BaHZTf5f.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-DYyP_HQh.mjs";
1
+ import "./markdown-facts-DQe77Xbc.mjs";
2
+ import "./markdown-reading-BnoDddEA.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-DDKeedpf.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-DbE1F2LD.mjs";
2
- import "./markdown-reading-DSlcirYV.mjs";
3
- import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-dNJentSE.mjs";
1
+ import "./markdown-facts-ByM-tdm5.mjs";
2
+ import "./markdown-reading-4d3w3xgw.mjs";
3
+ import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-DZDb0Qox.mjs";
4
4
 
5
5
  export { annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
@@ -1,6 +1,6 @@
1
- import { g as Spec } from "./schemas-Dp8-Wm-X.mjs";
2
- import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-BaHZTf5f.mjs";
3
- import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DYyP_HQh.mjs";
1
+ import { g as Spec } from "./schemas-D8sf5fMu.mjs";
2
+ import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-BnoDddEA.mjs";
3
+ import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DDKeedpf.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-DSlcirYV.mjs";
2
- import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-dNJentSE.mjs";
1
+ import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-4d3w3xgw.mjs";
2
+ import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-DZDb0Qox.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-Dp8-Wm-X.mjs";
2
- import "./markdown-facts-DempqdIX.mjs";
3
- import "./markdown-reading-BaHZTf5f.mjs";
4
- import "./openspec-annotations-DYyP_HQh.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-CmxjMsxS.mjs";
1
+ import "./schemas-D8sf5fMu.mjs";
2
+ import "./markdown-facts-DQe77Xbc.mjs";
3
+ import "./markdown-reading-BnoDddEA.mjs";
4
+ import "./openspec-annotations-DDKeedpf.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-CfsRech9.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-DbE1F2LD.mjs";
2
- import "./markdown-reading-DSlcirYV.mjs";
3
- import "./openspec-annotations-dNJentSE.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-yqwKIKnp.mjs";
1
+ import "./markdown-facts-ByM-tdm5.mjs";
2
+ import "./markdown-reading-4d3w3xgw.mjs";
3
+ import "./openspec-annotations-DZDb0Qox.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-DJ_mSfmq.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-Ky9qnntM.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-dEtDIqJD.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-Cw-5MTRg.mjs";
1
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-DGjayJTF.mjs";
2
2
 
3
3
  export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
@@ -0,0 +1,54 @@
1
+ import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
2
+ import { n as ChangeFile } from "./schemas-D8sf5fMu.mjs";
3
+
4
+ //#region src/opsx-entity.d.ts
5
+ type OpsxEntityStage = 'change' | 'archive';
6
+ interface OpsxEntityDiagnostic {
7
+ level: 'info' | 'warning' | 'error';
8
+ message: string;
9
+ path?: string;
10
+ }
11
+ type OpsxEntityFile = ChangeFile;
12
+ type OpsxEntityArtifactFile = ChangeFile & {
13
+ type: 'file';
14
+ };
15
+ interface OpsxEntityArtifact {
16
+ id: string;
17
+ outputPath: string;
18
+ description?: string;
19
+ files: OpsxEntityArtifactFile[];
20
+ }
21
+ interface OpsxEntityDetail {
22
+ stage: OpsxEntityStage;
23
+ id: string;
24
+ exists: true;
25
+ schemaName?: string;
26
+ files: OpsxEntityFile[];
27
+ artifacts: OpsxEntityArtifact[];
28
+ ungroupedFiles: OpsxEntityFile[];
29
+ diagnostics: OpsxEntityDiagnostic[];
30
+ }
31
+ interface OpsxEntityReadOptions {
32
+ schemas?: Record<string, SchemaDetail | null | undefined>;
33
+ schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
34
+ }
35
+ declare function getOpsxEntityRootRelativePath(stage: OpsxEntityStage, id: string): string;
36
+ declare function getOpsxEntityMetadataPath(stage: OpsxEntityStage, id: string): string;
37
+ interface ParsedEntityMetadata {
38
+ schemaName?: string;
39
+ diagnostics: OpsxEntityDiagnostic[];
40
+ }
41
+ declare function normalizeOpsxEntityPath(path: string): string;
42
+ declare function isOpsxGlobPattern(path: string): boolean;
43
+ declare function opsxGlobToRegex(pattern: string): RegExp;
44
+ declare function opsxPathMatchesPattern(path: string, pattern: string): boolean;
45
+ declare function parseOpsxEntityMetadata(content: string | null | undefined): ParsedEntityMetadata;
46
+ declare function buildOpsxEntityDetail(input: {
47
+ stage: OpsxEntityStage;
48
+ id: string;
49
+ files: ChangeFile[];
50
+ schemas?: Record<string, SchemaDetail | null | undefined>;
51
+ schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
52
+ }): OpsxEntityDetail;
53
+ //#endregion
54
+ export { OpsxEntityFile as a, buildOpsxEntityDetail as c, isOpsxGlobPattern as d, normalizeOpsxEntityPath as f, parseOpsxEntityMetadata as h, OpsxEntityDiagnostic as i, getOpsxEntityMetadataPath as l, opsxPathMatchesPattern as m, OpsxEntityArtifactFile as n, OpsxEntityReadOptions as o, opsxGlobToRegex as p, OpsxEntityDetail as r, OpsxEntityStage as s, OpsxEntityArtifact as t, getOpsxEntityRootRelativePath as u };
@@ -1,3 +1,4 @@
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-CRa2u1j3.mjs";
2
- import "./schemas-Dp8-Wm-X.mjs";
1
+ import "./opsx-types-Ccrsvb3l.mjs";
2
+ import "./schemas-D8sf5fMu.mjs";
3
+ 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-Bs_B7cxQ.mjs";
3
4
  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-C_51ZEuP.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-DrY7pgMe.mjs";
2
2
 
3
3
  export { buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,4 +1,5 @@
1
- import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-CRa2u1j3.mjs";
1
+ import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
2
+ import { i as OpsxEntityDiagnostic } from "./opsx-entity-Bs_B7cxQ.mjs";
2
3
 
3
4
  //#region src/opsx-schema-detail.d.ts
4
5
  interface ParsedOpsxSchemaDetail {
@@ -1,4 +1,5 @@
1
- import "./opsx-entity-CRa2u1j3.mjs";
2
- import "./schemas-Dp8-Wm-X.mjs";
3
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-aVlqvbro.mjs";
1
+ import "./opsx-types-Ccrsvb3l.mjs";
2
+ import "./schemas-D8sf5fMu.mjs";
3
+ import "./opsx-entity-Bs_B7cxQ.mjs";
4
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CIXIKaBU.mjs";
4
5
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -1,3 +1,3 @@
1
- import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-Bu415_NB.mjs";
1
+ import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-B-4bLoZS.mjs";
2
2
 
3
3
  export { parseOpsxSchemaDetail };
@@ -1,4 +1,3 @@
1
- import { n as ChangeFile } from "./schemas-Dp8-Wm-X.mjs";
2
1
  import { z } from "zod";
3
2
 
4
3
  //#region src/opsx-types.d.ts
@@ -147,15 +146,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
147
146
  remaining: number;
148
147
  };
149
148
  state: "ready" | "blocked" | "all_done";
149
+ changeName: string;
150
+ schemaName: string;
151
+ changeDir: string;
152
+ contextFiles: Record<string, string[]>;
150
153
  tasks: {
151
154
  id: string;
152
155
  description: string;
153
156
  done: boolean;
154
157
  }[];
155
- changeName: string;
156
- schemaName: string;
157
- changeDir: string;
158
- contextFiles: Record<string, string[]>;
159
158
  instruction: string;
160
159
  missingArtifacts?: string[] | undefined;
161
160
  }, {
@@ -165,15 +164,15 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
165
164
  remaining: number;
166
165
  };
167
166
  state: "ready" | "blocked" | "all_done";
167
+ changeName: string;
168
+ schemaName: string;
169
+ changeDir: string;
170
+ contextFiles: Record<string, string | string[]>;
168
171
  tasks: {
169
172
  id: string;
170
173
  description: string;
171
174
  done: boolean;
172
175
  }[];
173
- changeName: string;
174
- schemaName: string;
175
- changeDir: string;
176
- contextFiles: Record<string, string | string[]>;
177
176
  instruction: string;
178
177
  missingArtifacts?: string[] | undefined;
179
178
  }>;
@@ -400,54 +399,4 @@ declare const SchemaDetailSchema: z.ZodObject<{
400
399
  }>;
401
400
  type SchemaDetail = z.infer<typeof SchemaDetailSchema>;
402
401
  //#endregion
403
- //#region src/opsx-entity.d.ts
404
- type OpsxEntityStage = 'change' | 'archive';
405
- interface OpsxEntityDiagnostic {
406
- level: 'info' | 'warning' | 'error';
407
- message: string;
408
- path?: string;
409
- }
410
- type OpsxEntityFile = ChangeFile;
411
- type OpsxEntityArtifactFile = ChangeFile & {
412
- type: 'file';
413
- };
414
- interface OpsxEntityArtifact {
415
- id: string;
416
- outputPath: string;
417
- description?: string;
418
- files: OpsxEntityArtifactFile[];
419
- }
420
- interface OpsxEntityDetail {
421
- stage: OpsxEntityStage;
422
- id: string;
423
- exists: true;
424
- schemaName?: string;
425
- files: OpsxEntityFile[];
426
- artifacts: OpsxEntityArtifact[];
427
- ungroupedFiles: OpsxEntityFile[];
428
- diagnostics: OpsxEntityDiagnostic[];
429
- }
430
- interface OpsxEntityReadOptions {
431
- schemas?: Record<string, SchemaDetail | null | undefined>;
432
- schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
433
- }
434
- declare function getOpsxEntityRootRelativePath(stage: OpsxEntityStage, id: string): string;
435
- declare function getOpsxEntityMetadataPath(stage: OpsxEntityStage, id: string): string;
436
- interface ParsedEntityMetadata {
437
- schemaName?: string;
438
- diagnostics: OpsxEntityDiagnostic[];
439
- }
440
- declare function normalizeOpsxEntityPath(path: string): string;
441
- declare function isOpsxGlobPattern(path: string): boolean;
442
- declare function opsxGlobToRegex(pattern: string): RegExp;
443
- declare function opsxPathMatchesPattern(path: string, pattern: string): boolean;
444
- declare function parseOpsxEntityMetadata(content: string | null | undefined): ParsedEntityMetadata;
445
- declare function buildOpsxEntityDetail(input: {
446
- stage: OpsxEntityStage;
447
- id: string;
448
- files: ChangeFile[];
449
- schemas?: Record<string, SchemaDetail | null | undefined>;
450
- schemaDiagnostics?: Record<string, readonly OpsxEntityDiagnostic[] | undefined>;
451
- }): OpsxEntityDetail;
452
- //#endregion
453
- export { SchemaArtifactSchema as A, ArtifactStatus as C, DependencyInfo as D, ChangeStatusSchema as E, SchemaResolution as F, SchemaResolutionSchema as I, TemplatesMap as L, SchemaDetailSchema as M, SchemaInfo as N, DependencyInfoSchema as O, SchemaInfoSchema as P, TemplatesSchema as R, ArtifactInstructionsSchema as S, ChangeStatus as T, ApplyInstructionsContextFilesSchema as _, OpsxEntityFile as a, ApplyTaskSchema as b, buildOpsxEntityDetail as c, isOpsxGlobPattern as d, normalizeOpsxEntityPath as f, ApplyInstructions as g, parseOpsxEntityMetadata as h, OpsxEntityDiagnostic as i, SchemaDetail as j, SchemaArtifact as k, getOpsxEntityMetadataPath as l, opsxPathMatchesPattern as m, OpsxEntityArtifactFile as n, OpsxEntityReadOptions as o, opsxGlobToRegex as p, OpsxEntityDetail as r, OpsxEntityStage as s, OpsxEntityArtifact as t, getOpsxEntityRootRelativePath as u, ApplyInstructionsSchema as v, ArtifactStatusSchema as w, ArtifactInstructions as x, ApplyTask as y, isGlobPattern as z };
402
+ export { TemplatesSchema as C, TemplatesMap as S, SchemaDetailSchema as _, ApplyTaskSchema as a, SchemaResolution as b, ArtifactStatus as c, ChangeStatusSchema as d, DependencyInfo as f, SchemaDetail as g, SchemaArtifactSchema as h, ApplyTask as i, ArtifactStatusSchema as l, SchemaArtifact as m, ApplyInstructionsContextFilesSchema as n, ArtifactInstructions as o, DependencyInfoSchema as p, ApplyInstructionsSchema as r, ArtifactInstructionsSchema as s, ApplyInstructions as t, ChangeStatus as u, SchemaInfo as v, isGlobPattern as w, SchemaResolutionSchema as x, SchemaInfoSchema as y };
@@ -24,14 +24,14 @@ declare const ChangeFileSchema: z.ZodObject<{
24
24
  mime?: string | undefined;
25
25
  size?: number | undefined;
26
26
  content?: string | undefined;
27
- previewKind?: "text" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
27
+ previewKind?: "html" | "text" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
28
28
  }, {
29
29
  path: string;
30
30
  type: "file" | "directory";
31
31
  mime?: string | undefined;
32
32
  size?: number | undefined;
33
33
  content?: string | undefined;
34
- previewKind?: "text" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
34
+ previewKind?: "html" | "text" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
35
35
  }>;
36
36
  type ChangeFile = z.infer<typeof ChangeFileSchema>;
37
37
  declare const ScenarioStepKeywordSchema: z.ZodEnum<["GIVEN", "WHEN", "THEN", "AND", "BUT"]>;
@@ -933,11 +933,11 @@ declare const ChangeSchema: z.ZodObject<{
933
933
  total: z.ZodNumber;
934
934
  completed: z.ZodNumber;
935
935
  }, "strip", z.ZodTypeAny, {
936
- completed: number;
937
936
  total: number;
938
- }, {
939
937
  completed: number;
938
+ }, {
940
939
  total: number;
940
+ completed: number;
941
941
  }>;
942
942
  /** Optional design.md content */
943
943
  design: z.ZodOptional<z.ZodString>;
@@ -968,10 +968,16 @@ declare const ChangeSchema: z.ZodObject<{
968
968
  }, "strip", z.ZodTypeAny, {
969
969
  id: string;
970
970
  progress: {
971
- completed: number;
972
971
  total: number;
972
+ completed: number;
973
973
  };
974
974
  name: string;
975
+ tasks: {
976
+ id: string;
977
+ text: string;
978
+ completed: boolean;
979
+ section?: string | undefined;
980
+ }[];
975
981
  why: string;
976
982
  whatChanges: string;
977
983
  deltas: {
@@ -1015,12 +1021,6 @@ declare const ChangeSchema: z.ZodObject<{
1015
1021
  to: string;
1016
1022
  } | undefined;
1017
1023
  }[];
1018
- tasks: {
1019
- id: string;
1020
- text: string;
1021
- completed: boolean;
1022
- section?: string | undefined;
1023
- }[];
1024
1024
  metadata?: {
1025
1025
  version: string;
1026
1026
  format: "openspec-change";
@@ -1033,10 +1033,16 @@ declare const ChangeSchema: z.ZodObject<{
1033
1033
  }, {
1034
1034
  id: string;
1035
1035
  progress: {
1036
- completed: number;
1037
1036
  total: number;
1037
+ completed: number;
1038
1038
  };
1039
1039
  name: string;
1040
+ tasks: {
1041
+ id: string;
1042
+ text: string;
1043
+ completed: boolean;
1044
+ section?: string | undefined;
1045
+ }[];
1040
1046
  why: string;
1041
1047
  whatChanges: string;
1042
1048
  deltas: {
@@ -1080,12 +1086,6 @@ declare const ChangeSchema: z.ZodObject<{
1080
1086
  to: string;
1081
1087
  } | undefined;
1082
1088
  }[];
1083
- tasks: {
1084
- id: string;
1085
- text: string;
1086
- completed: boolean;
1087
- section?: string | undefined;
1088
- }[];
1089
1089
  metadata?: {
1090
1090
  version?: string | undefined;
1091
1091
  format?: "openspec-change" | undefined;
package/dist/sounds.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-DIvZfWxA.mjs";
1
+ import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-Cfo308Lf.mjs";
2
2
  export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundId, BuiltinSoundIdSchema, BuiltinSoundOption, CUSTOM_SOUND_ADD_VALUE, CustomSoundHash, CustomSoundHashSchema, CustomSoundId, CustomSoundIdSchema, CustomSoundMetadata, CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundId, SoundIdSchema, SoundVolume, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
package/dist/sounds.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, d as DEFAULT_SOUND_VOLUME, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-50cYk5b0.mjs";
1
+ import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, d as DEFAULT_SOUND_VOLUME, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-CuSsy7X-.mjs";
2
2
 
3
3
  export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundIdSchema, CUSTOM_SOUND_ADD_VALUE, CustomSoundHashSchema, CustomSoundIdSchema, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundIdSchema, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
@@ -0,0 +1,24 @@
1
+ import { g as SchemaDetail } from "./opsx-types-Ccrsvb3l.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-D8sf5fMu.mjs";
3
+
4
+ //#region src/task-progress.d.ts
5
+ interface TaskProgress {
6
+ total: number;
7
+ completed: number;
8
+ }
9
+ interface TaskProjection {
10
+ tasks: Task[];
11
+ progress: TaskProgress;
12
+ }
13
+ interface TaskProjectionOptions {
14
+ schemaDetail?: SchemaDetail | null;
15
+ hasSchemaMetadata?: boolean;
16
+ }
17
+ declare function isMarkdownTaskSourcePath(path: string): boolean;
18
+ declare function parseMarkdownTasks(content: string, options?: {
19
+ initialIndex?: number;
20
+ }): Task[];
21
+ declare function computeTaskProgress(tasks: readonly Pick<Task, 'completed'>[]): TaskProgress;
22
+ declare function projectTasksFromMarkdownFiles(files: readonly ChangeFile[], options?: TaskProjectionOptions): TaskProjection;
23
+ //#endregion
24
+ export { isMarkdownTaskSourcePath as a, computeTaskProgress as i, TaskProjection as n, parseMarkdownTasks as o, TaskProjectionOptions as r, projectTasksFromMarkdownFiles as s, TaskProgress as t };
@@ -0,0 +1,70 @@
1
+ import { s as opsxPathMatchesPattern } from "./opsx-entity-DrY7pgMe.mjs";
2
+
3
+ //#region src/task-progress.ts
4
+ const CHECKBOX_TASK_LINE = /^\s*[-*]\s+\[([ xX])\]\s+(.+)$/;
5
+ const MARKDOWN_FILE_PATH = /\.(?:md|markdown)$/i;
6
+ function isMarkdownTaskSourcePath(path) {
7
+ return MARKDOWN_FILE_PATH.test(path);
8
+ }
9
+ function parseMarkdownTasks(content, options = {}) {
10
+ const tasks = [];
11
+ const lines = content.split("\n");
12
+ let currentSection = "";
13
+ let taskIndex = options.initialIndex ?? 0;
14
+ for (const line of lines) {
15
+ const headingMatch = line.match(/^#{1,6}\s+(.+)$/);
16
+ if (headingMatch) {
17
+ currentSection = headingMatch[1].trim();
18
+ continue;
19
+ }
20
+ const taskMatch = line.match(CHECKBOX_TASK_LINE);
21
+ if (!taskMatch) continue;
22
+ taskIndex += 1;
23
+ tasks.push({
24
+ id: `task-${taskIndex}`,
25
+ text: taskMatch[2].trim(),
26
+ completed: taskMatch[1].toLowerCase() === "x",
27
+ section: currentSection || void 0
28
+ });
29
+ }
30
+ return tasks;
31
+ }
32
+ function computeTaskProgress(tasks) {
33
+ return {
34
+ total: tasks.length,
35
+ completed: tasks.filter((task) => task.completed).length
36
+ };
37
+ }
38
+ function getSchemaTaskPatterns(schemaDetail) {
39
+ if (!schemaDetail) return [];
40
+ const patterns = [...schemaDetail.artifacts.map((artifact) => artifact.outputPath), schemaDetail.applyTracks].filter((pattern) => typeof pattern === "string" && pattern.trim().length > 0);
41
+ return [...new Set(patterns)];
42
+ }
43
+ function selectTaskSources(files, options) {
44
+ const markdownFiles = files.filter((file) => file.type === "file" && typeof file.content === "string" && isMarkdownTaskSourcePath(file.path));
45
+ const schemaPatterns = getSchemaTaskPatterns(options.schemaDetail);
46
+ if (schemaPatterns.length > 0) return markdownFiles.filter((file) => schemaPatterns.some((pattern) => opsxPathMatchesPattern(file.path, pattern))).map((file) => ({
47
+ path: file.path,
48
+ content: file.content
49
+ }));
50
+ if (options.hasSchemaMetadata) return markdownFiles.map((file) => ({
51
+ path: file.path,
52
+ content: file.content
53
+ }));
54
+ return markdownFiles.filter((file) => file.path === "tasks.md").map((file) => ({
55
+ path: file.path,
56
+ content: file.content
57
+ }));
58
+ }
59
+ function projectTasksFromMarkdownFiles(files, options = {}) {
60
+ const sources = selectTaskSources(files, options);
61
+ const tasks = [];
62
+ for (const source of sources) tasks.push(...parseMarkdownTasks(source.content, { initialIndex: tasks.length }));
63
+ return {
64
+ tasks,
65
+ progress: computeTaskProgress(tasks)
66
+ };
67
+ }
68
+
69
+ //#endregion
70
+ export { projectTasksFromMarkdownFiles as i, isMarkdownTaskSourcePath as n, parseMarkdownTasks as r, computeTaskProgress as t };
@@ -0,0 +1,4 @@
1
+ import "./opsx-types-Ccrsvb3l.mjs";
2
+ import "./schemas-D8sf5fMu.mjs";
3
+ import { a as isMarkdownTaskSourcePath, i as computeTaskProgress, n as TaskProjection, o as parseMarkdownTasks, r as TaskProjectionOptions, s as projectTasksFromMarkdownFiles, t as TaskProgress } from "./task-progress-Dw_ezBnq.mjs";
4
+ export { TaskProgress, TaskProjection, TaskProjectionOptions, computeTaskProgress, isMarkdownTaskSourcePath, parseMarkdownTasks, projectTasksFromMarkdownFiles };
@@ -0,0 +1,4 @@
1
+ import "./opsx-entity-DrY7pgMe.mjs";
2
+ import { i as projectTasksFromMarkdownFiles, n as isMarkdownTaskSourcePath, r as parseMarkdownTasks, t as computeTaskProgress } from "./task-progress-RLYFNkpL.mjs";
3
+
4
+ export { computeTaskProgress, isMarkdownTaskSourcePath, parseMarkdownTasks, projectTasksFromMarkdownFiles };
@@ -1,4 +1,4 @@
1
- import { l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema } from "./sounds-50cYk5b0.mjs";
1
+ import { l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema } from "./sounds-CuSsy7X-.mjs";
2
2
 
3
3
  //#region src/terminal-audio.ts
4
4
  const TERMINAL_BELL_SOUND_VALUES = [
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-DIvZfWxA.mjs";
1
+ import { x as SoundId } from "./sounds-Cfo308Lf.mjs";
2
2
  import * as zod0 from "zod";
3
3
 
4
4
  //#region src/terminal-audio.d.ts
@@ -1,3 +1,3 @@
1
- import "./sounds-DIvZfWxA.mjs";
2
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DkjquHlQ.mjs";
1
+ import "./sounds-Cfo308Lf.mjs";
2
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-r_TFJTxS.mjs";
3
3
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSound, TerminalBellSoundSchema };
@@ -1,4 +1,4 @@
1
- import "./sounds-50cYk5b0.mjs";
2
- import { n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSoundSchema, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CUs0sqEO.mjs";
1
+ import "./sounds-CuSsy7X-.mjs";
2
+ import { n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSoundSchema, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DhslppvD.mjs";
3
3
 
4
4
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSoundSchema };
@@ -1,3 +1,3 @@
1
- import "./sounds-DIvZfWxA.mjs";
2
- import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-DiY78-k4.mjs";
1
+ import "./sounds-Cfo308Lf.mjs";
2
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-ConQlEyF.mjs";
3
3
  export { TerminalControlEvent, TerminalControlParseResult, TerminalControlParser, TerminalNotificationProtocol, TerminalProgressState, TerminalPromptState, TerminalTitleTarget, terminalNotificationEventToPublishInput };
@@ -1,3 +1,3 @@
1
- import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CYZhk7FM.mjs";
1
+ import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-D5dCna6A.mjs";
2
2
 
3
3
  export { TerminalControlParser, terminalNotificationEventToPublishInput };
@@ -1,2 +1,2 @@
1
- import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-B3js0mEF.mjs";
1
+ import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-Be3YlFOI.mjs";
2
2
  export { BUILTIN_TERMINAL_SPAWN_COMMANDS, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TerminalCommandArgument, TerminalCommandBuilder, TerminalCommandBuilderPart, TerminalCommandField, TerminalCommandFieldSchema, TerminalCommandFieldValue, TerminalCommandFieldValues, TerminalCommandJsonSchema, TerminalCommandJsonSchemaProperty, TerminalCommandParameters, TerminalCommandRenderResult, TerminalInvocationSettings, TerminalInvocationSettingsSchema, TerminalShellDefaults, TerminalShellEnv, TerminalShellProfile, TerminalShellProfileSchema, TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, TerminalSpawnCommand, TerminalSpawnCommandSchema, fieldsToTerminalCommandParameters, getTerminalCommandDefaultValues, getTerminalCommandParameters, quoteTerminalShellArg, renderTerminalCommandArgs, renderTerminalSpawnCommand, renderTerminalSpawnCommandLine, resolveTerminalShellDefaults };
@@ -1,3 +1,3 @@
1
- import { a as TerminalInvocationSettingsSchema, c as TerminalSpawnCommandSchema, d as getTerminalCommandParameters, f as quoteTerminalShellArg, g as resolveTerminalShellDefaults, h as renderTerminalSpawnCommandLine, i as TerminalCommandFieldSchema, l as fieldsToTerminalCommandParameters, m as renderTerminalSpawnCommand, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalShellProfileSchema, p as renderTerminalCommandArgs, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalShellQuoteStyleSchema, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as getTerminalCommandDefaultValues } from "./terminal-invocation-IopdwXKL.mjs";
1
+ import { a as TerminalInvocationSettingsSchema, c as TerminalSpawnCommandSchema, d as getTerminalCommandParameters, f as quoteTerminalShellArg, g as resolveTerminalShellDefaults, h as renderTerminalSpawnCommandLine, i as TerminalCommandFieldSchema, l as fieldsToTerminalCommandParameters, m as renderTerminalSpawnCommand, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalShellProfileSchema, p as renderTerminalCommandArgs, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalShellQuoteStyleSchema, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as getTerminalCommandDefaultValues } from "./terminal-invocation-BSrS_0zu.mjs";
2
2
 
3
3
  export { BUILTIN_TERMINAL_SPAWN_COMMANDS, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TerminalCommandFieldSchema, TerminalInvocationSettingsSchema, TerminalShellProfileSchema, TerminalShellQuoteStyleSchema, TerminalSpawnCommandSchema, fieldsToTerminalCommandParameters, getTerminalCommandDefaultValues, getTerminalCommandParameters, quoteTerminalShellArg, renderTerminalCommandArgs, renderTerminalSpawnCommand, renderTerminalSpawnCommandLine, resolveTerminalShellDefaults };
@@ -1,2 +1,2 @@
1
- import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, o as TerminalThemeId, r as DEFAULT_TERMINAL_THEME_MODE, s as TerminalThemeMode, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-CH-VSrAq.mjs";
1
+ import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, o as TerminalThemeId, r as DEFAULT_TERMINAL_THEME_MODE, s as TerminalThemeMode, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-DO6B6-o0.mjs";
2
2
  export { DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TerminalThemeId, TerminalThemeMode };
@@ -1,3 +1,3 @@
1
- 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-BquTqZIO.mjs";
1
+ 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-TogWGicr.mjs";
2
2
 
3
3
  export { DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES };
@@ -1,2 +1,2 @@
1
- import { i as inferLocalDirectionalModelLanguagePair, n as TranslationLanguagePair, r as checkLocalDirectionalModelLanguagePair, t as LocalDirectionalModelLanguagePairCheck } from "./translation-language-pair-DaSvW83F.mjs";
1
+ import { i as inferLocalDirectionalModelLanguagePair, n as TranslationLanguagePair, r as checkLocalDirectionalModelLanguagePair, t as LocalDirectionalModelLanguagePairCheck } from "./translation-language-pair-C1tou_ks.mjs";
2
2
  export { LocalDirectionalModelLanguagePairCheck, TranslationLanguagePair, checkLocalDirectionalModelLanguagePair, inferLocalDirectionalModelLanguagePair };