@openspecui/core 9.0.2 → 10.0.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 (59) hide show
  1. package/dist/{active-root-config-DxYz3yKb.d.mts → active-root-config-N3lOotoq.d.mts} +13 -13
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +8 -8
  4. package/dist/{cli-projection-Bf5KrMN0.d.mts → cli-projection-bB650ru4.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{workflow-CmQ4pFYC.mjs → command-result-DWMmDl6I.mjs} +91 -80
  7. package/dist/{dashboard-summary-transport-BNOPiGUP.d.mts → dashboard-summary-transport-DcyVID8z.d.mts} +3728 -3631
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  9. package/dist/{document-translation-CBqubtWC.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
  10. package/dist/document-translation.d.mts +1 -1
  11. package/dist/hosted-app.d.mts +18 -18
  12. package/dist/hosted-contract.d.mts +18 -18
  13. package/dist/{index-CajHC-38.d.mts → index-CW5hcqKC.d.mts} +12277 -7316
  14. package/dist/index.d.mts +19 -19
  15. package/dist/index.mjs +513 -184
  16. package/dist/{local-download-profiles-Cu0nXbF1.d.mts → local-download-profiles-DXmw0Zs3.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/local-download-profiles.mjs +1 -1
  19. package/dist/{notifications-D0M-01SA.d.mts → notifications-BQhnmovr.d.mts} +13 -13
  20. package/dist/notifications.d.mts +2 -2
  21. package/dist/{openspec-compat-B246EQNW.mjs → openspec-compat-DctIDxRM.mjs} +23 -17
  22. package/dist/openspec-compat.d.mts +4 -76
  23. package/dist/openspec-compat.mjs +2 -2
  24. package/dist/{openspec-projection-DKHk3L2e.d.mts → openspec-projection-FKuNsfBp.d.mts} +1 -1
  25. package/dist/openspec-projection.d.mts +2 -2
  26. package/dist/{opsx-entity-eoJAox1u.d.mts → opsx-entity-CulylXeK.d.mts} +2 -2
  27. package/dist/opsx-entity.d.mts +7 -7
  28. package/dist/{opsx-schema-detail-C3xm4DKk.d.mts → opsx-schema-detail-C9kNWQmO.d.mts} +2 -2
  29. package/dist/opsx-schema-detail.d.mts +8 -8
  30. package/dist/{opsx-types-DXBwJP68.d.mts → opsx-types-BeQJ4Le_.d.mts} +81 -81
  31. package/dist/{planning-cli-projection-DV22v3Xl.mjs → planning-cli-projection-pq8vZC1r.mjs} +2 -2
  32. package/dist/planning-cli-projection.d.mts +18 -18
  33. package/dist/planning-cli-projection.mjs +3 -3
  34. package/dist/{schemas-CxBYcq-e.d.mts → schemas-BIaPbul1.d.mts} +66 -66
  35. package/dist/{sounds-X-Wf5v3V.d.mts → sounds-CxSkCgKh.d.mts} +8 -8
  36. package/dist/sounds.d.mts +1 -1
  37. package/dist/{spec-catalog-Ce3uSLSc.mjs → spec-catalog-BkX0tZp9.mjs} +149 -2
  38. package/dist/spec-catalog.d.mts +18 -18
  39. package/dist/spec-catalog.mjs +2 -2
  40. package/dist/{store-mutation-protocol-B0e6UlO3.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +36 -36
  41. package/dist/store-mutation-protocol.d.mts +1 -1
  42. package/dist/{store-types-DhoV8sV7.d.mts → store-types-TDbmbvPx.d.mts} +1 -1
  43. package/dist/store-types.d.mts +5 -5
  44. package/dist/task-progress.d.mts +6 -6
  45. package/dist/{terminal-audio-D5CfhorV.d.mts → terminal-audio-R-3VBy0x.d.mts} +1 -1
  46. package/dist/terminal-audio.d.mts +2 -2
  47. package/dist/terminal-audio.mjs +1 -1
  48. package/dist/terminal-control.d.mts +2 -2
  49. package/dist/{terminal-invocation-C71aMyAX.d.mts → terminal-invocation-C8mSioBZ.d.mts} +93 -93
  50. package/dist/terminal-invocation.d.mts +1 -1
  51. package/dist/terminal-theme.mjs +1 -1
  52. package/dist/translation-language-pair.mjs +1 -1
  53. package/dist/{translator-BgCkaOkw.d.mts → translator-CVkc7MHh.d.mts} +91 -91
  54. package/dist/translator.d.mts +1 -1
  55. package/package.json +3 -2
  56. /package/dist/{local-download-profiles-BRsR1-kK.mjs → local-download-profiles-3I8AOUJj.mjs} +0 -0
  57. /package/dist/{terminal-audio-ELHVH24M.mjs → terminal-audio-CLEDFFpW.mjs} +0 -0
  58. /package/dist/{terminal-theme-C6BPfQ2G.mjs → terminal-theme-Bse1UdaX.mjs} +0 -0
  59. /package/dist/{translation-language-pair-CWLlH7Ab.mjs → translation-language-pair-BTfLQehX.mjs} +0 -0
@@ -1,7 +1,7 @@
1
- import { D as CliSchemaInfoSchema, a as SpecDocumentProjectionSchema, o as SpecIdentitySchema, r as SpecCatalogSchema } from "./spec-catalog-Ce3uSLSc.mjs";
1
+ import { D as CliSchemaInfoSchema, a as SpecDocumentProjectionSchema, o as SpecIdentitySchema, r as SpecCatalogSchema } from "./spec-catalog-BkX0tZp9.mjs";
2
2
  import { t as createApplyInstructionProgress } from "./task-progress-Bvid_Ws8.mjs";
3
3
  import { a as CliRootSchema, i as CliReferenceIndexEntrySchema, n as CliDiagnosticSchema } from "./common-BRL_34xt.mjs";
4
- import { d as CliPlanningHomeSchema, f as CliSchemaResolutionSchema, l as CliArtifactPathSchema, p as CliSchemaShadowSchema, t as CliActionContextSchema, v as CliTemplateEntrySchema } from "./workflow-CmQ4pFYC.mjs";
4
+ import { d as CliArtifactPathSchema, h as CliSchemaShadowSchema, m as CliSchemaResolutionSchema, p as CliPlanningHomeSchema, r as CliActionContextSchema, x as CliTemplateEntrySchema } from "./command-result-DWMmDl6I.mjs";
5
5
  import { r as CliProjectionCommandEvidenceSchema, u as createCliProjectionStateSchema } from "./cli-projection-Bc2WVwGj.mjs";
6
6
  import { z } from "zod";
7
7
 
@@ -1,27 +1,27 @@
1
- import "./document-translation-CBqubtWC.mjs";
2
- import "./sounds-X-Wf5v3V.mjs";
3
- import "./notifications-D0M-01SA.mjs";
4
- import "./index-CajHC-38.mjs";
5
- import "./active-root-config-DxYz3yKb.mjs";
6
- import { u as CliProjectionNoticeSchema } from "./cli-projection-Bf5KrMN0.mjs";
7
- import "./schemas-CxBYcq-e.mjs";
8
- import "./opsx-types-DXBwJP68.mjs";
9
- import "./opsx-entity-eoJAox1u.mjs";
10
- import { ai as EnvironmentGlobalProjectionDataSchema, ci as PlanningCliProjectionData, di as PlanningCliProjectionSelectorSchema, ei as EnvironmentGlobalFileProjectionData, fi as PlanningCliProjectionState, ii as EnvironmentGlobalProjectionData, li as PlanningCliProjectionDataSchema, ni as EnvironmentGlobalFileProjectionState, oi as EnvironmentGlobalProjectionState, pi as PlanningCliProjectionStateSchema, ri as EnvironmentGlobalFileProjectionStateSchema, si as EnvironmentGlobalProjectionStateSchema, ti as EnvironmentGlobalFileProjectionDataSchema, ui as PlanningCliProjectionSelector } from "./dashboard-summary-transport-BNOPiGUP.mjs";
1
+ import "./index-CW5hcqKC.mjs";
2
+ import "./document-translation-DM2eydNr.mjs";
3
+ import "./sounds-CxSkCgKh.mjs";
4
+ import "./notifications-BQhnmovr.mjs";
5
+ import "./active-root-config-N3lOotoq.mjs";
6
+ import { u as CliProjectionNoticeSchema } from "./cli-projection-bB650ru4.mjs";
7
+ import "./schemas-BIaPbul1.mjs";
8
+ import "./opsx-types-BeQJ4Le_.mjs";
9
+ import "./opsx-entity-CulylXeK.mjs";
10
+ import { Si as PlanningCliProjectionStateSchema, _i as PlanningCliProjectionData, bi as PlanningCliProjectionSelectorSchema, di as EnvironmentGlobalFileProjectionState, fi as EnvironmentGlobalFileProjectionStateSchema, gi as EnvironmentGlobalProjectionStateSchema, hi as EnvironmentGlobalProjectionState, li as EnvironmentGlobalFileProjectionData, mi as EnvironmentGlobalProjectionDataSchema, pi as EnvironmentGlobalProjectionData, ui as EnvironmentGlobalFileProjectionDataSchema, vi as PlanningCliProjectionDataSchema, xi as PlanningCliProjectionState, yi as PlanningCliProjectionSelector } from "./dashboard-summary-transport-DcyVID8z.mjs";
11
11
  import "./markdown-facts-CEACwik1.mjs";
12
12
  import "./markdown-reading-CsLbxubT.mjs";
13
13
  import "./openspec-annotations-8ppmICAU.mjs";
14
- import "./openspec-projection-DKHk3L2e.mjs";
15
- import "./translator-BgCkaOkw.mjs";
16
- import "./terminal-audio-D5CfhorV.mjs";
17
- import "./local-download-profiles-Cu0nXbF1.mjs";
14
+ import "./openspec-projection-FKuNsfBp.mjs";
15
+ import "./translator-CVkc7MHh.mjs";
16
+ import "./terminal-audio-R-3VBy0x.mjs";
17
+ import "./local-download-profiles-DXmw0Zs3.mjs";
18
18
  import "./translation-language-pair-B6A39Cai.mjs";
19
19
  import "./opsx-workflows-B72EGtj_.mjs";
20
20
  import "./store-content-projection-BnNYyb0x.mjs";
21
21
  import "./opsx-display-path-DvvAFlWG.mjs";
22
- import "./store-mutation-protocol-B0e6UlO3.mjs";
23
- import "./store-types-DhoV8sV7.mjs";
24
- import "./terminal-invocation-C71aMyAX.mjs";
22
+ import "./store-mutation-protocol-DXeWtAvN.mjs";
23
+ import "./store-types-TDbmbvPx.mjs";
24
+ import "./terminal-invocation-C8mSioBZ.mjs";
25
25
  import "./terminal-theme-C7X8pUqT.mjs";
26
- import "./opsx-schema-detail-C3xm4DKk.mjs";
26
+ import "./opsx-schema-detail-C9kNWQmO.mjs";
27
27
  export { CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionData, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionState, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionData, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionState, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionData, PlanningCliProjectionDataSchema, PlanningCliProjectionSelector, PlanningCliProjectionSelectorSchema, PlanningCliProjectionState, PlanningCliProjectionStateSchema };
@@ -1,10 +1,10 @@
1
- import "./spec-catalog-Ce3uSLSc.mjs";
1
+ import "./spec-catalog-BkX0tZp9.mjs";
2
2
  import "./schemas-CMThmKx1.mjs";
3
3
  import "./opsx-entity-BnO3k48r.mjs";
4
4
  import "./task-progress-Bvid_Ws8.mjs";
5
5
  import "./common-BRL_34xt.mjs";
6
- import "./workflow-CmQ4pFYC.mjs";
6
+ import "./command-result-DWMmDl6I.mjs";
7
7
  import { o as CliProjectionNoticeSchema } from "./cli-projection-Bc2WVwGj.mjs";
8
- import { a as PlanningCliProjectionDataSchema, i as EnvironmentGlobalProjectionStateSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema } from "./planning-cli-projection-DV22v3Xl.mjs";
8
+ import { a as PlanningCliProjectionDataSchema, i as EnvironmentGlobalProjectionStateSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema } from "./planning-cli-projection-pq8vZC1r.mjs";
9
9
 
10
10
  export { CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionDataSchema, PlanningCliProjectionSelectorSchema, PlanningCliProjectionStateSchema };
@@ -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?: "html" | "text" | "none" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
27
+ previewKind?: "text" | "html" | "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?: "html" | "text" | "none" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
34
+ previewKind?: "text" | "html" | "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"]>;
@@ -254,6 +254,7 @@ declare const SpecSchema: z.ZodObject<{
254
254
  }, "strip", z.ZodTypeAny, {
255
255
  id: string;
256
256
  name: string;
257
+ overview: string;
257
258
  requirements: {
258
259
  id: string;
259
260
  text: string;
@@ -270,7 +271,6 @@ declare const SpecSchema: z.ZodObject<{
270
271
  }[];
271
272
  bodyMarkdown: string;
272
273
  }[];
273
- overview: string;
274
274
  metadata?: {
275
275
  version: string;
276
276
  format: "openspec";
@@ -279,6 +279,7 @@ declare const SpecSchema: z.ZodObject<{
279
279
  }, {
280
280
  id: string;
281
281
  name: string;
282
+ overview: string;
282
283
  requirements: {
283
284
  id: string;
284
285
  text: string;
@@ -295,7 +296,6 @@ declare const SpecSchema: z.ZodObject<{
295
296
  }[];
296
297
  bodyMarkdown: string;
297
298
  }[];
298
- overview: string;
299
299
  metadata?: {
300
300
  version?: string | undefined;
301
301
  format?: "openspec" | undefined;
@@ -1334,38 +1334,6 @@ declare const ChangeSchema: z.ZodObject<{
1334
1334
  }, "strip", z.ZodTypeAny, {
1335
1335
  id: string;
1336
1336
  name: string;
1337
- trackedTaskProgress: {
1338
- source: {
1339
- kind: "artifact";
1340
- outputPath: string;
1341
- artifactId: string;
1342
- filePaths: string[];
1343
- } | {
1344
- kind: "top-level-fallback";
1345
- outputPath: "tasks.md";
1346
- artifactId: null;
1347
- filePaths: ["tasks.md"];
1348
- } | {
1349
- kind: "none";
1350
- outputPath: null;
1351
- artifactId: null;
1352
- filePaths: [];
1353
- };
1354
- tasks: {
1355
- id: string;
1356
- text: string;
1357
- completed: boolean;
1358
- location: {
1359
- filePath: string;
1360
- taskIndex: number;
1361
- };
1362
- section?: string | undefined;
1363
- }[];
1364
- total: number;
1365
- remaining: number;
1366
- completed: number;
1367
- phase: "no-tasks" | "complete" | "in-progress";
1368
- };
1369
1337
  why: string;
1370
1338
  whatChanges: string;
1371
1339
  deltas: {
@@ -1409,36 +1377,6 @@ declare const ChangeSchema: z.ZodObject<{
1409
1377
  to: string;
1410
1378
  } | undefined;
1411
1379
  }[];
1412
- documentChecklistSummary: {
1413
- groups: {
1414
- tasks: {
1415
- id: string;
1416
- text: string;
1417
- completed: boolean;
1418
- section?: string | undefined;
1419
- }[];
1420
- total: number;
1421
- remaining: number;
1422
- completed: number;
1423
- filePath: string;
1424
- artifactIds: string[];
1425
- }[];
1426
- total: number;
1427
- remaining: number;
1428
- completed: number;
1429
- };
1430
- metadata?: {
1431
- version: string;
1432
- format: "openspec-change";
1433
- } | undefined;
1434
- design?: string | undefined;
1435
- deltaSpecs?: {
1436
- specId: string;
1437
- content: string;
1438
- }[] | undefined;
1439
- }, {
1440
- id: string;
1441
- name: string;
1442
1380
  trackedTaskProgress: {
1443
1381
  source: {
1444
1382
  kind: "artifact";
@@ -1471,6 +1409,36 @@ declare const ChangeSchema: z.ZodObject<{
1471
1409
  completed: number;
1472
1410
  phase: "no-tasks" | "complete" | "in-progress";
1473
1411
  };
1412
+ documentChecklistSummary: {
1413
+ groups: {
1414
+ tasks: {
1415
+ id: string;
1416
+ text: string;
1417
+ completed: boolean;
1418
+ section?: string | undefined;
1419
+ }[];
1420
+ total: number;
1421
+ remaining: number;
1422
+ completed: number;
1423
+ filePath: string;
1424
+ artifactIds: string[];
1425
+ }[];
1426
+ total: number;
1427
+ remaining: number;
1428
+ completed: number;
1429
+ };
1430
+ metadata?: {
1431
+ version: string;
1432
+ format: "openspec-change";
1433
+ } | undefined;
1434
+ design?: string | undefined;
1435
+ deltaSpecs?: {
1436
+ specId: string;
1437
+ content: string;
1438
+ }[] | undefined;
1439
+ }, {
1440
+ id: string;
1441
+ name: string;
1474
1442
  why: string;
1475
1443
  whatChanges: string;
1476
1444
  deltas: {
@@ -1514,6 +1482,38 @@ declare const ChangeSchema: z.ZodObject<{
1514
1482
  to: string;
1515
1483
  } | undefined;
1516
1484
  }[];
1485
+ trackedTaskProgress: {
1486
+ source: {
1487
+ kind: "artifact";
1488
+ outputPath: string;
1489
+ artifactId: string;
1490
+ filePaths: string[];
1491
+ } | {
1492
+ kind: "top-level-fallback";
1493
+ outputPath: "tasks.md";
1494
+ artifactId: null;
1495
+ filePaths: ["tasks.md"];
1496
+ } | {
1497
+ kind: "none";
1498
+ outputPath: null;
1499
+ artifactId: null;
1500
+ filePaths: [];
1501
+ };
1502
+ tasks: {
1503
+ id: string;
1504
+ text: string;
1505
+ completed: boolean;
1506
+ location: {
1507
+ filePath: string;
1508
+ taskIndex: number;
1509
+ };
1510
+ section?: string | undefined;
1511
+ }[];
1512
+ total: number;
1513
+ remaining: number;
1514
+ completed: number;
1515
+ phase: "no-tasks" | "complete" | "in-progress";
1516
+ };
1517
1517
  documentChecklistSummary: {
1518
1518
  groups: {
1519
1519
  tasks: {
@@ -42,18 +42,18 @@ declare const CustomSoundMetadataSchema: z.ZodObject<{
42
42
  updatedAt: z.ZodNumber;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  id: string;
45
- createdAt: number;
46
- updatedAt: number;
47
45
  name: string;
48
46
  mime: string;
49
47
  size: number;
50
- }, {
51
- id: string;
52
48
  createdAt: number;
53
49
  updatedAt: number;
50
+ }, {
51
+ id: string;
54
52
  name: string;
55
53
  mime: string;
56
54
  size: number;
55
+ createdAt: number;
56
+ updatedAt: number;
57
57
  }>;
58
58
  type CustomSoundMetadata = z.infer<typeof CustomSoundMetadataSchema>;
59
59
  declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -65,18 +65,18 @@ declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObjec
65
65
  updatedAt: z.ZodNumber;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  id: string;
68
- createdAt: number;
69
- updatedAt: number;
70
68
  name: string;
71
69
  mime: string;
72
70
  size: number;
73
- }, {
74
- id: string;
75
71
  createdAt: number;
76
72
  updatedAt: number;
73
+ }, {
74
+ id: string;
77
75
  name: string;
78
76
  mime: string;
79
77
  size: number;
78
+ createdAt: number;
79
+ updatedAt: number;
80
80
  }>>;
81
81
  type CustomSoundMetadataFile = z.infer<typeof CustomSoundMetadataFileSchema>;
82
82
  declare function soundIdFromCustomHash(hash: CustomSoundHash): CustomSoundId;
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-X-Wf5v3V.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-CxSkCgKh.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 };
@@ -1,6 +1,6 @@
1
1
  import { l as SpecSchema } from "./schemas-CMThmKx1.mjs";
2
2
  import { a as CliRootSchema, n as CliDiagnosticSchema, r as CliDoctorReferenceEntrySchema, t as CliDiagnosticFailureSchema } from "./common-BRL_34xt.mjs";
3
- import { S as CliWorkflowStatusSchema, T as parseCliCommandResult, _ as CliSpecListSchema, g as CliShowSpecSchema, h as CliShowSpecDocumentSchema, i as CliArchiveInstructionsSchema, m as CliSchemaWhichSchema, n as CliApplyInstructionsSchema, o as CliArchiveSchema, s as CliArtifactInstructionsSchema, u as CliChangeListSchema, x as CliValidateSchema, y as CliTemplatesSchema } from "./workflow-CmQ4pFYC.mjs";
3
+ import { E as CliWorkflowStatusSchema, S as CliTemplatesSchema, T as CliWorkflowStatusFieldsSchema, _ as CliShowSpecDocumentSchema, b as CliSpecRequirementSchema, c as CliArchiveSchema, f as CliChangeListSchema, g as CliSchemaWhichSchema, i as CliApplyInstructionsSchema, l as CliArtifactInstructionsSchema, n as parseCliCommandResult, o as CliArchiveInstructionsSchema, v as CliShowSpecSchema, w as CliValidateSchema, y as CliSpecListSchema } from "./command-result-DWMmDl6I.mjs";
4
4
  import { r as CliProjectionCommandEvidenceSchema } from "./cli-projection-Bc2WVwGj.mjs";
5
5
  import { z } from "zod";
6
6
  import { match } from "ts-pattern";
@@ -42,6 +42,54 @@ function requireOpenSpecEntityRelativePath(value, field) {
42
42
  return normalizedPath;
43
43
  }
44
44
 
45
+ //#endregion
46
+ //#region src/cli-contracts/batch-status.ts
47
+ /**
48
+ * Orthogonal intents (created 2026-08-28 Asia/Shanghai):
49
+ * 1. Model the OpenSpec 1.11 `status --all --json` batch envelope as a per-entry sum type.
50
+ * 2. Decode the envelope from stdout regardless of the process exit code: exit 1 with a
51
+ * complete valid JSON document is a partial failure, never a transport failure.
52
+ * 3. Preserve the root-selection failure null shape together with its shared-contract
53
+ * diagnostics instead of rewriting it as an empty success.
54
+ *
55
+ * Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
56
+ */
57
+ /** One healthy batch entry: the single-change Status fields; the envelope owns the root. */
58
+ const CliBatchStatusHealthyEntrySchema = CliWorkflowStatusFieldsSchema;
59
+ /** One failed batch entry: per-change load diagnostics carried in place by the CLI. */
60
+ const CliBatchStatusFailureEntrySchema = z.object({
61
+ changeName: z.string(),
62
+ status: z.array(CliDiagnosticSchema).min(1)
63
+ }).passthrough();
64
+ /** One batch entry: healthy Status evidence or an in-place per-change failure. */
65
+ const CliBatchStatusEntrySchema = z.union([CliBatchStatusHealthyEntrySchema, CliBatchStatusFailureEntrySchema]);
66
+ /**
67
+ * Typed result of the OpenSpec 1.11 `status --all --json` batch command.
68
+ *
69
+ * Decoding must not consult the process exit code: a partial failure exits 1 while
70
+ * stdout remains one complete valid JSON document, so only an unparseable stdout
71
+ * document is a contract/transport error. `--all` and `--change` are mutually
72
+ * exclusive upstream; a root-selection failure yields the null shape
73
+ * `{ changes: [], root: null }` plus the shared failure contract's `status`
74
+ * diagnostics, which this envelope preserves.
75
+ */
76
+ const CliBatchStatusSchema = z.object({
77
+ changes: z.array(CliBatchStatusEntrySchema),
78
+ root: CliRootSchema.nullable(),
79
+ message: z.literal("No active changes.").optional(),
80
+ status: z.array(CliDiagnosticSchema).optional()
81
+ }).passthrough();
82
+ /**
83
+ * Whether one batch entry carries per-change failure diagnostics.
84
+ *
85
+ * Mirrors the upstream discriminator: a failed entry has no `artifacts` because
86
+ * the CLI could not load the change at all. An empty change directory still
87
+ * loads as a healthy entry with blocked/ready artifacts and is not a failure.
88
+ */
89
+ function isCliBatchStatusEntryFailure(entry) {
90
+ return !("artifacts" in entry);
91
+ }
92
+
45
93
  //#endregion
46
94
  //#region src/cli-contracts/schema-resolution.ts
47
95
  /**
@@ -83,6 +131,62 @@ function isCliSchemasFailure(schemas) {
83
131
  return !Array.isArray(schemas);
84
132
  }
85
133
 
134
+ //#endregion
135
+ //#region src/cli-contracts/show-diff.ts
136
+ /**
137
+ * Orthogonal intents (created 2026-08-28 Asia/Shanghai):
138
+ * 1. Model the OpenSpec 1.11 `show <change> --json --diff` success payload as separately
139
+ * fetched CLI evidence; the diff is never recomputed or backfilled locally.
140
+ * 2. Document `diff`/`warning` as MODIFIED-only upstream additions; ADDED, REMOVED, and
141
+ * RENAMED deltas are unchanged by `--diff`, and a delta outside MODIFIED that carries
142
+ * either field is rejected as contract drift instead of parsed as tolerated evidence.
143
+ * 3. Keep the shared diagnostic failure union for root-selection and unknown-item failures.
144
+ *
145
+ * Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
146
+ */
147
+ /** One JSON delta of a change, carrying the extra fields `--diff` adds to MODIFIED entries. */
148
+ const CliShowChangeDeltaSchema = z.object({
149
+ spec: z.string(),
150
+ operation: z.enum([
151
+ "ADDED",
152
+ "MODIFIED",
153
+ "REMOVED",
154
+ "RENAMED"
155
+ ]),
156
+ description: z.string().optional(),
157
+ requirement: CliSpecRequirementSchema.optional(),
158
+ requirements: z.array(CliSpecRequirementSchema).optional(),
159
+ rename: z.object({
160
+ from: z.string(),
161
+ to: z.string()
162
+ }).optional(),
163
+ diff: z.string().optional(),
164
+ warning: z.string().optional()
165
+ }).passthrough().superRefine((delta, ctx) => {
166
+ if (delta.operation === "MODIFIED") return;
167
+ for (const field of ["diff", "warning"]) if (delta[field] !== void 0) ctx.addIssue({
168
+ code: z.ZodIssueCode.custom,
169
+ path: [field],
170
+ message: `Only MODIFIED deltas carry ${field} evidence; ${delta.operation} deltas never do.`
171
+ });
172
+ });
173
+ /**
174
+ * Typed successful `show <change> --json [--diff]` payload.
175
+ *
176
+ * `root` is present because the root-aware top-level `show` command attaches the
177
+ * selected-root output on every JSON run; without `--diff` the payload is unchanged
178
+ * and simply omits the MODIFIED-only `diff`/`warning` fields.
179
+ */
180
+ const CliShowChangeDiffSuccessSchema = z.object({
181
+ id: z.string(),
182
+ title: z.string(),
183
+ deltaCount: z.number(),
184
+ deltas: z.array(CliShowChangeDeltaSchema),
185
+ root: CliRootSchema
186
+ }).passthrough();
187
+ /** Typed success or diagnostic failure result of the CLI show-change JSON command. */
188
+ const CliShowChangeDiffSchema = z.union([CliShowChangeDiffSuccessSchema, CliDiagnosticFailureSchema]);
189
+
86
190
  //#endregion
87
191
  //#region src/cli-contracts/store.ts
88
192
  /**
@@ -282,6 +386,49 @@ var OpenSpecCliContractExecutor = class {
282
386
  "--json"
283
387
  ], options), CliWorkflowStatusSchema);
284
388
  }
389
+ /**
390
+ * Read every active change's Status evidence in one spawn (OpenSpec 1.11 only).
391
+ *
392
+ * Gated by the `batchStatus` capability because OpenSpec 1.10 rejects the
393
+ * `--all` flag. The batch envelope decodes from stdout regardless of exit
394
+ * code: per-change failures live inside the sum-type entries, and only an
395
+ * unparseable stdout document is a contract error.
396
+ */
397
+ async workflowStatusAll(options) {
398
+ if (!options.capabilities.batchStatus) return {
399
+ kind: "unavailable",
400
+ capability: "batchStatus"
401
+ };
402
+ return {
403
+ kind: "executed",
404
+ result: await this.execute(this.withWorkflowOptions([
405
+ "status",
406
+ "--all",
407
+ "--json"
408
+ ], options), CliBatchStatusSchema)
409
+ };
410
+ }
411
+ /**
412
+ * Read one change's delta evidence with MODIFIED-only requirement diffs
413
+ * (OpenSpec 1.11 only). Gated by the `requirementDiff` capability because
414
+ * OpenSpec 1.10 rejects the `--diff` flag; the diff is CLI-owned evidence
415
+ * and is never recomputed locally.
416
+ */
417
+ async showChangeDiff(changeId, options) {
418
+ if (!options.capabilities.requirementDiff) return {
419
+ kind: "unavailable",
420
+ capability: "requirementDiff"
421
+ };
422
+ return {
423
+ kind: "executed",
424
+ result: await this.execute(this.withRoot([
425
+ "show",
426
+ changeId,
427
+ "--json",
428
+ "--diff"
429
+ ], options), CliShowChangeDiffSchema)
430
+ };
431
+ }
285
432
  /** Read complete Instructions evidence for one workflow artifact. */
286
433
  async artifactInstructions(changeId, artifactId, options = {}) {
287
434
  return this.execute(this.withWorkflowOptions([
@@ -696,4 +843,4 @@ function isReferencedSpecIdentity(identity) {
696
843
  }
697
844
 
698
845
  //#endregion
699
- export { requireCanonicalOpenSpecEntityId as A, CliStoreDoctorSchema as C, CliSchemaInfoSchema as D, CliStoreSchema as E, requireOpenSpecEntityRelativePath as M, CliSchemasSuccessSchema as O, CliStoreDoctorEntrySchema as S, CliStoreMutationSchema as T, specRoutePath as _, SpecDocumentProjectionSchema as a, CliDoctorSchema as b, createStaticSpecCatalogOwnedProjection as c, getSpecCatalogEntry as d, isReferencedSpecIdentity as f, specIdentityKey as g, specIdentityFromRoute as h, SpecCommandEvidenceSchema as i, requireCanonicalOpenSpecSpecId as j, isCliSchemasFailure as k, createStaticSpecCatalogReferenceProjection as l, specDocumentDisplayPath as m, ReferencedSpecIdentitySchema as n, SpecIdentitySchema as o, mergeSpecCatalog as p, SpecCatalogSchema as r, buildSpecCatalog as s, OwnedSpecIdentitySchema as t, createStaticSpecCatalogReferenceSource as u, OpenSpecCliContractExecutor as v, CliStoreListSchema as w, CliStoreCleanupSchema as x, CliContextSchema as y };
846
+ export { isCliBatchStatusEntryFailure as A, CliStoreDoctorSchema as C, CliSchemaInfoSchema as D, CliStoreSchema as E, requireCanonicalOpenSpecSpecId as M, requireOpenSpecEntityRelativePath as N, CliSchemasSuccessSchema as O, CliStoreDoctorEntrySchema as S, CliStoreMutationSchema as T, specRoutePath as _, SpecDocumentProjectionSchema as a, CliDoctorSchema as b, createStaticSpecCatalogOwnedProjection as c, getSpecCatalogEntry as d, isReferencedSpecIdentity as f, specIdentityKey as g, specIdentityFromRoute as h, SpecCommandEvidenceSchema as i, requireCanonicalOpenSpecEntityId as j, isCliSchemasFailure as k, createStaticSpecCatalogReferenceProjection as l, specDocumentDisplayPath as m, ReferencedSpecIdentitySchema as n, SpecIdentitySchema as o, mergeSpecCatalog as p, SpecCatalogSchema as r, buildSpecCatalog as s, OwnedSpecIdentitySchema as t, createStaticSpecCatalogReferenceSource as u, OpenSpecCliContractExecutor as v, CliStoreListSchema as w, CliStoreCleanupSchema as x, CliContextSchema as y };
@@ -1,27 +1,27 @@
1
- import "./document-translation-CBqubtWC.mjs";
2
- import "./sounds-X-Wf5v3V.mjs";
3
- import "./notifications-D0M-01SA.mjs";
4
- import "./index-CajHC-38.mjs";
5
- import "./active-root-config-DxYz3yKb.mjs";
6
- import "./cli-projection-Bf5KrMN0.mjs";
7
- import "./schemas-CxBYcq-e.mjs";
8
- import "./opsx-types-DXBwJP68.mjs";
9
- import "./opsx-entity-eoJAox1u.mjs";
10
- import { Ao as createStaticSpecCatalogOwnedProjection, Co as SpecIdentity, Do as StaticSpecCatalogReferenceProjection, Eo as StaticSpecCatalogOwnedProjection, Fo as mergeSpecCatalog, Io as specDocumentDisplayPath, Lo as specIdentityFromRoute, Mo as createStaticSpecCatalogReferenceSource, No as getSpecCatalogEntry, Oo as StaticSpecCatalogReferenceSource, Po as isReferencedSpecIdentity, Ro as specIdentityKey, So as SpecDocumentProjectionSchema, To as StaticReferencedSpecDocumentProjection, _o as SpecCatalogReferenceSource, ao as OwnedSpecCatalogEntry, bo as SpecCommandEvidenceSchema, co as OwnedSpecIdentitySchema, do as ReferencedSpecIdentity, eo as CliShowSpecDocument, fo as ReferencedSpecIdentitySchema, go as SpecCatalogReferenceProjection, ho as SpecCatalogOwnedProjection, io as LiveSpecCatalogReferenceSource, jo as createStaticSpecCatalogReferenceProjection, ko as buildSpecCatalog, lo as ReferencedSpecCatalogEntry, mo as SpecCatalogEntry, no as LiveSpecCatalogOwnedProjection, oo as OwnedSpecDocumentProjection, po as SpecCatalog, ro as LiveSpecCatalogReferenceProjection, so as OwnedSpecIdentity, to as LiveReferencedSpecDocumentProjection, uo as ReferencedSpecDocumentProjection, vo as SpecCatalogSchema, wo as SpecIdentitySchema, xo as SpecDocumentProjection, yo as SpecCommandEvidence, zo as specRoutePath } from "./dashboard-summary-transport-BNOPiGUP.mjs";
1
+ import "./index-CW5hcqKC.mjs";
2
+ import "./document-translation-DM2eydNr.mjs";
3
+ import "./sounds-CxSkCgKh.mjs";
4
+ import "./notifications-BQhnmovr.mjs";
5
+ import "./active-root-config-N3lOotoq.mjs";
6
+ import "./cli-projection-bB650ru4.mjs";
7
+ import "./schemas-BIaPbul1.mjs";
8
+ import "./opsx-types-BeQJ4Le_.mjs";
9
+ import "./opsx-entity-CulylXeK.mjs";
10
+ import { Ao as SpecDocumentProjection, Bo as createStaticSpecCatalogReferenceProjection, Co as SpecCatalogEntry, Do as SpecCatalogSchema, Eo as SpecCatalogReferenceSource, Fo as StaticSpecCatalogOwnedProjection, Go as specDocumentDisplayPath, Ho as getSpecCatalogEntry, Io as StaticSpecCatalogReferenceProjection, Jo as specRoutePath, Ko as specIdentityFromRoute, Lo as StaticSpecCatalogReferenceSource, Mo as SpecIdentity, No as SpecIdentitySchema, Oo as SpecCommandEvidence, Po as StaticReferencedSpecDocumentProjection, Ro as buildSpecCatalog, So as SpecCatalog, To as SpecCatalogReferenceProjection, Uo as isReferencedSpecIdentity, Vo as createStaticSpecCatalogReferenceSource, Wo as mergeSpecCatalog, _o as OwnedSpecIdentitySchema, bo as ReferencedSpecIdentity, do as LiveSpecCatalogOwnedProjection, fo as LiveSpecCatalogReferenceProjection, go as OwnedSpecIdentity, ho as OwnedSpecDocumentProjection, jo as SpecDocumentProjectionSchema, ko as SpecCommandEvidenceSchema, lo as CliShowSpecDocument, mo as OwnedSpecCatalogEntry, po as LiveSpecCatalogReferenceSource, qo as specIdentityKey, uo as LiveReferencedSpecDocumentProjection, vo as ReferencedSpecCatalogEntry, wo as SpecCatalogOwnedProjection, xo as ReferencedSpecIdentitySchema, yo as ReferencedSpecDocumentProjection, zo as createStaticSpecCatalogOwnedProjection } from "./dashboard-summary-transport-DcyVID8z.mjs";
11
11
  import "./markdown-facts-CEACwik1.mjs";
12
12
  import "./markdown-reading-CsLbxubT.mjs";
13
13
  import "./openspec-annotations-8ppmICAU.mjs";
14
- import "./openspec-projection-DKHk3L2e.mjs";
15
- import "./translator-BgCkaOkw.mjs";
16
- import "./terminal-audio-D5CfhorV.mjs";
17
- import "./local-download-profiles-Cu0nXbF1.mjs";
14
+ import "./openspec-projection-FKuNsfBp.mjs";
15
+ import "./translator-CVkc7MHh.mjs";
16
+ import "./terminal-audio-R-3VBy0x.mjs";
17
+ import "./local-download-profiles-DXmw0Zs3.mjs";
18
18
  import "./translation-language-pair-B6A39Cai.mjs";
19
19
  import "./opsx-workflows-B72EGtj_.mjs";
20
20
  import "./store-content-projection-BnNYyb0x.mjs";
21
21
  import "./opsx-display-path-DvvAFlWG.mjs";
22
- import "./store-mutation-protocol-B0e6UlO3.mjs";
23
- import "./store-types-DhoV8sV7.mjs";
24
- import "./terminal-invocation-C71aMyAX.mjs";
22
+ import "./store-mutation-protocol-DXeWtAvN.mjs";
23
+ import "./store-types-TDbmbvPx.mjs";
24
+ import "./terminal-invocation-C8mSioBZ.mjs";
25
25
  import "./terminal-theme-C7X8pUqT.mjs";
26
- import "./opsx-schema-detail-C3xm4DKk.mjs";
26
+ import "./opsx-schema-detail-C9kNWQmO.mjs";
27
27
  export { CliShowSpecDocument, LiveReferencedSpecDocumentProjection, LiveSpecCatalogOwnedProjection, LiveSpecCatalogReferenceProjection, LiveSpecCatalogReferenceSource, OwnedSpecCatalogEntry, OwnedSpecDocumentProjection, OwnedSpecIdentity, OwnedSpecIdentitySchema, ReferencedSpecCatalogEntry, ReferencedSpecDocumentProjection, ReferencedSpecIdentity, ReferencedSpecIdentitySchema, SpecCatalog, SpecCatalogEntry, SpecCatalogOwnedProjection, SpecCatalogReferenceProjection, SpecCatalogReferenceSource, SpecCatalogSchema, SpecCommandEvidence, SpecCommandEvidenceSchema, SpecDocumentProjection, SpecDocumentProjectionSchema, SpecIdentity, SpecIdentitySchema, StaticReferencedSpecDocumentProjection, StaticSpecCatalogOwnedProjection, StaticSpecCatalogReferenceProjection, StaticSpecCatalogReferenceSource, buildSpecCatalog, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, getSpecCatalogEntry, isReferencedSpecIdentity, mergeSpecCatalog, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath };
@@ -1,7 +1,7 @@
1
- import { _ as specRoutePath, a as SpecDocumentProjectionSchema, c as createStaticSpecCatalogOwnedProjection, d as getSpecCatalogEntry, f as isReferencedSpecIdentity, g as specIdentityKey, h as specIdentityFromRoute, i as SpecCommandEvidenceSchema, l as createStaticSpecCatalogReferenceProjection, m as specDocumentDisplayPath, n as ReferencedSpecIdentitySchema, o as SpecIdentitySchema, p as mergeSpecCatalog, r as SpecCatalogSchema, s as buildSpecCatalog, t as OwnedSpecIdentitySchema, u as createStaticSpecCatalogReferenceSource } from "./spec-catalog-Ce3uSLSc.mjs";
1
+ import { _ as specRoutePath, a as SpecDocumentProjectionSchema, c as createStaticSpecCatalogOwnedProjection, d as getSpecCatalogEntry, f as isReferencedSpecIdentity, g as specIdentityKey, h as specIdentityFromRoute, i as SpecCommandEvidenceSchema, l as createStaticSpecCatalogReferenceProjection, m as specDocumentDisplayPath, n as ReferencedSpecIdentitySchema, o as SpecIdentitySchema, p as mergeSpecCatalog, r as SpecCatalogSchema, s as buildSpecCatalog, t as OwnedSpecIdentitySchema, u as createStaticSpecCatalogReferenceSource } from "./spec-catalog-BkX0tZp9.mjs";
2
2
  import "./schemas-CMThmKx1.mjs";
3
3
  import "./common-BRL_34xt.mjs";
4
- import "./workflow-CmQ4pFYC.mjs";
4
+ import "./command-result-DWMmDl6I.mjs";
5
5
  import "./cli-projection-Bc2WVwGj.mjs";
6
6
 
7
7
  export { OwnedSpecIdentitySchema, ReferencedSpecIdentitySchema, SpecCatalogSchema, SpecCommandEvidenceSchema, SpecDocumentProjectionSchema, SpecIdentitySchema, buildSpecCatalog, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, getSpecCatalogEntry, isReferencedSpecIdentity, mergeSpecCatalog, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath };