@openspecui/core 7.0.2 → 9.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 (107) hide show
  1. package/dist/{active-root-config-BHgXdX6b.d.mts → active-root-config-C77Duro0.d.mts} +5 -5
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/active-root-config.mjs +1 -1
  4. package/dist/app-daemon-control.d.mts +18 -18
  5. package/dist/{cli-projection-Um81AQW5.d.mts → cli-projection-BAU6-rFs.d.mts} +1 -1
  6. package/dist/cli-projection.d.mts +5 -5
  7. package/dist/cli-projection.mjs +1 -1
  8. package/dist/{dashboard-summary-transport-BJBod4rO.d.mts → dashboard-summary-transport-C3No2o4i.d.mts} +695 -330
  9. package/dist/{dashboard-summary-transport-ILCfZD_I.mjs → dashboard-summary-transport-Do8pzSES.mjs} +10 -1
  10. package/dist/dashboard-summary-transport.d.mts +26 -26
  11. package/dist/dashboard-summary-transport.mjs +2 -2
  12. package/dist/{document-translation-B3xaP0dJ.mjs → document-translation-Dmg3YJDA.mjs} +1 -1
  13. package/dist/document-translation.d.mts +1 -1
  14. package/dist/document-translation.mjs +2 -2
  15. package/dist/{hosted-app-B_T_tTvO.mjs → hosted-app-CHqdo5vd.mjs} +1 -1
  16. package/dist/hosted-app.d.mts +26 -26
  17. package/dist/hosted-app.mjs +6 -6
  18. package/dist/{hosted-contract-BxUx6ksP.mjs → hosted-contract-Qe5AmkiE.mjs} +4 -4
  19. package/dist/hosted-contract.d.mts +26 -26
  20. package/dist/hosted-contract.mjs +5 -5
  21. package/dist/{index-CYFOH_f8.d.mts → index-BGT-MVqL.d.mts} +819 -73
  22. package/dist/index.d.mts +27 -27
  23. package/dist/index.mjs +498 -291
  24. package/dist/{local-download-profiles-BQLPhuE0.d.mts → local-download-profiles-BZj6Tw_s.d.mts} +1 -1
  25. package/dist/local-download-profiles.d.mts +2 -2
  26. package/dist/local-download-profiles.mjs +1 -1
  27. package/dist/markdown-facts.d.mts +1 -1
  28. package/dist/{markdown-reading--Sr6JAl5.d.mts → markdown-reading-CsLbxubT.d.mts} +1 -1
  29. package/dist/markdown-reading.d.mts +2 -2
  30. package/dist/{notifications-BIs3J3BY.d.mts → notifications-B9cvPamG.d.mts} +4 -4
  31. package/dist/{notifications-VHUMI-qG.mjs → notifications-D6XlgL9b.mjs} +2 -2
  32. package/dist/notifications.d.mts +2 -2
  33. package/dist/notifications.mjs +3 -3
  34. package/dist/{openspec-annotations-BylPW5rz.d.mts → openspec-annotations-8ppmICAU.d.mts} +2 -2
  35. package/dist/openspec-annotations.d.mts +3 -3
  36. package/dist/openspec-compat-B246EQNW.mjs +121 -0
  37. package/dist/openspec-compat.d.mts +48 -13
  38. package/dist/openspec-compat.mjs +4 -79
  39. package/dist/{openspec-projection-_1NeavJP.d.mts → openspec-projection-vJ03fcdF.d.mts} +3 -3
  40. package/dist/openspec-projection.d.mts +5 -5
  41. package/dist/opsx-display-path.d.mts +1 -1
  42. package/dist/opsx-display-path.mjs +1 -1
  43. package/dist/{opsx-entity-DZ7onDWC.d.mts → opsx-entity-BFPRTIWN.d.mts} +2 -2
  44. package/dist/opsx-entity.d.mts +7 -7
  45. package/dist/{opsx-schema-detail-D2RnlxSg.d.mts → opsx-schema-detail-D1129ezo.d.mts} +2 -2
  46. package/dist/opsx-schema-detail.d.mts +8 -8
  47. package/dist/{opsx-types-Ch6juiWL.d.mts → opsx-types-C_4QxcU6.d.mts} +51 -50
  48. package/dist/opsx-workflows.d.mts +1 -1
  49. package/dist/opsx-workflows.mjs +1 -1
  50. package/dist/{planning-cli-projection-BreqsrYA.mjs → planning-cli-projection-DV22v3Xl.mjs} +23 -12
  51. package/dist/planning-cli-projection.d.mts +26 -26
  52. package/dist/planning-cli-projection.mjs +4 -3
  53. package/dist/{schemas-zh0_vzYQ.d.mts → schemas-Dnw_rfST.d.mts} +8 -8
  54. package/dist/{sounds-Bb_3aeJJ.d.mts → sounds-BoLuHRve.d.mts} +5 -5
  55. package/dist/sounds.d.mts +1 -1
  56. package/dist/sounds.mjs +1 -1
  57. package/dist/{spec-catalog-DEk_oHAx.mjs → spec-catalog-Ce3uSLSc.mjs} +45 -328
  58. package/dist/spec-catalog.d.mts +26 -26
  59. package/dist/spec-catalog.mjs +3 -2
  60. package/dist/{store-content-projection-Bpdb7_d9.mjs → store-content-projection-DV31znWA.mjs} +1 -1
  61. package/dist/store-content-projection.d.mts +1 -1
  62. package/dist/store-content-projection.mjs +2 -2
  63. package/dist/{store-mutation-protocol-BbgWMJVK.d.mts → store-mutation-protocol-C4rRiO4b.d.mts} +36 -36
  64. package/dist/store-mutation-protocol.d.mts +1 -1
  65. package/dist/store-mutation-protocol.mjs +1 -1
  66. package/dist/{store-types-CF7_LsVL.d.mts → store-types-CMqxPwaj.d.mts} +1 -1
  67. package/dist/store-types.d.mts +5 -5
  68. package/dist/store-types.mjs +1 -1
  69. package/dist/task-progress.d.mts +6 -6
  70. package/dist/{terminal-audio-GuG0qiiI.d.mts → terminal-audio-CNhCiZul.d.mts} +2 -2
  71. package/dist/{terminal-audio-DeubAfFC.mjs → terminal-audio-ELHVH24M.mjs} +1 -1
  72. package/dist/terminal-audio.d.mts +2 -2
  73. package/dist/terminal-audio.mjs +2 -2
  74. package/dist/{terminal-control-CdPuYwwU.mjs → terminal-control-D893EEN_.mjs} +7 -5
  75. package/dist/terminal-control.d.mts +2 -2
  76. package/dist/terminal-control.mjs +1 -1
  77. package/dist/{terminal-invocation-Dx1qfSKb.d.mts → terminal-invocation-BnMhxtP1.d.mts} +22 -22
  78. package/dist/terminal-invocation.d.mts +1 -1
  79. package/dist/terminal-invocation.mjs +1 -1
  80. package/dist/terminal-theme.d.mts +1 -1
  81. package/dist/terminal-theme.mjs +1 -1
  82. package/dist/translation-language-pair.d.mts +1 -1
  83. package/dist/translation-language-pair.mjs +1 -1
  84. package/dist/{translator-Cwaf_pXN.d.mts → translator-B7GQxmun.d.mts} +50 -50
  85. package/dist/translator.d.mts +1 -1
  86. package/dist/translator.mjs +1 -1
  87. package/dist/workflow-CmQ4pFYC.mjs +344 -0
  88. package/package.json +3 -1
  89. /package/dist/{active-root-config-L5QaMb3A.mjs → active-root-config-K_wVeuI3.mjs} +0 -0
  90. /package/dist/{cli-projection-CKRwTvwf.mjs → cli-projection-Bc2WVwGj.mjs} +0 -0
  91. /package/dist/{document-translation-BNbM3fEj.d.mts → document-translation-CBqubtWC.d.mts} +0 -0
  92. /package/dist/{local-download-profiles-h9lUTXr-.mjs → local-download-profiles-BRsR1-kK.mjs} +0 -0
  93. /package/dist/{markdown-facts-DLclHfpE.d.mts → markdown-facts-CEACwik1.d.mts} +0 -0
  94. /package/dist/{opsx-display-path-BD34M8QV.d.mts → opsx-display-path-DvvAFlWG.d.mts} +0 -0
  95. /package/dist/{opsx-display-path-ocbNzMZj.mjs → opsx-display-path-cv0NJHzW.mjs} +0 -0
  96. /package/dist/{opsx-workflows-DX1r6e5j.d.mts → opsx-workflows-B72EGtj_.d.mts} +0 -0
  97. /package/dist/{opsx-workflows-byPfLlo8.mjs → opsx-workflows-BA-46T7_.mjs} +0 -0
  98. /package/dist/{sounds-6prQvKXl.mjs → sounds-cd9lIDxN.mjs} +0 -0
  99. /package/dist/{store-content-projection-R74MV_sD.d.mts → store-content-projection-BnNYyb0x.d.mts} +0 -0
  100. /package/dist/{store-mutation-protocol-CJGUWWI6.mjs → store-mutation-protocol-CBrPcppU.mjs} +0 -0
  101. /package/dist/{store-types-CvpEVNoE.mjs → store-types-C87SlrJ3.mjs} +0 -0
  102. /package/dist/{terminal-invocation-DIpoFYDo.mjs → terminal-invocation-C_FsxEUs.mjs} +0 -0
  103. /package/dist/{terminal-theme-Byzxmnjm.mjs → terminal-theme-C6BPfQ2G.mjs} +0 -0
  104. /package/dist/{terminal-theme-DX08Gci8.d.mts → terminal-theme-C7X8pUqT.d.mts} +0 -0
  105. /package/dist/{translation-language-pair-BR5uxGm-.d.mts → translation-language-pair-B6A39Cai.d.mts} +0 -0
  106. /package/dist/{translation-language-pair-DG9mOuFD.mjs → translation-language-pair-CWLlH7Ab.mjs} +0 -0
  107. /package/dist/{translator-CEGdRmKw.mjs → translator-BkNACZ9R.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { G as CliJsonValue } from "./index-CYFOH_f8.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-zh0_vzYQ.mjs";
1
+ import { Y as CliJsonValue } from "./index-BGT-MVqL.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-Dnw_rfST.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -424,7 +424,8 @@ type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
424
424
  declare const ChangeStatusSchema: z.ZodObject<{
425
425
  changeName: z.ZodString;
426
426
  schemaName: z.ZodString;
427
- isComplete: z.ZodBoolean;
427
+ /** Planning-artifact completion fact from the CLI; never an implementation-task authority. */
428
+ isPlanningComplete: z.ZodBoolean;
428
429
  applyRequires: z.ZodArray<z.ZodString, "many">;
429
430
  artifacts: z.ZodArray<z.ZodObject<{
430
431
  id: z.ZodString;
@@ -818,7 +819,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
818
819
  }, "strip", z.ZodTypeAny, {
819
820
  changeName: string;
820
821
  schemaName: string;
821
- isComplete: boolean;
822
+ isPlanningComplete: boolean;
822
823
  applyRequires: string[];
823
824
  artifacts: {
824
825
  status: "done" | "skipped" | "ready" | "blocked";
@@ -897,7 +898,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
897
898
  }, {
898
899
  changeName: string;
899
900
  schemaName: string;
900
- isComplete: boolean;
901
+ isPlanningComplete: boolean;
901
902
  applyRequires: string[];
902
903
  artifacts: {
903
904
  status: "done" | "skipped" | "ready" | "blocked";
@@ -1296,12 +1297,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1296
1297
  complete: z.ZodNumber;
1297
1298
  remaining: z.ZodNumber;
1298
1299
  }, "strip", z.ZodTypeAny, {
1299
- total: number;
1300
1300
  complete: number;
1301
+ total: number;
1301
1302
  remaining: number;
1302
1303
  }, {
1303
- total: number;
1304
1304
  complete: number;
1305
+ total: number;
1305
1306
  remaining: number;
1306
1307
  }>;
1307
1308
  tracked: z.ZodObject<{
@@ -1313,82 +1314,82 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1313
1314
  total: number;
1314
1315
  remaining: number;
1315
1316
  completed: number;
1316
- phase: "complete" | "no-tasks" | "in-progress";
1317
+ phase: "no-tasks" | "complete" | "in-progress";
1317
1318
  }, {
1318
1319
  total: number;
1319
1320
  remaining: number;
1320
1321
  completed: number;
1321
- phase: "complete" | "no-tasks" | "in-progress";
1322
+ phase: "no-tasks" | "complete" | "in-progress";
1322
1323
  }>;
1323
1324
  }, "strip", z.ZodTypeAny, {
1324
1325
  kind: "tracked-task-mismatch";
1325
1326
  message: string;
1326
1327
  apply: {
1327
- total: number;
1328
1328
  complete: number;
1329
+ total: number;
1329
1330
  remaining: number;
1330
1331
  };
1331
1332
  tracked: {
1332
1333
  total: number;
1333
1334
  remaining: number;
1334
1335
  completed: number;
1335
- phase: "complete" | "no-tasks" | "in-progress";
1336
+ phase: "no-tasks" | "complete" | "in-progress";
1336
1337
  };
1337
1338
  }, {
1338
1339
  kind: "tracked-task-mismatch";
1339
1340
  message: string;
1340
1341
  apply: {
1341
- total: number;
1342
1342
  complete: number;
1343
+ total: number;
1343
1344
  remaining: number;
1344
1345
  };
1345
1346
  tracked: {
1346
1347
  total: number;
1347
1348
  remaining: number;
1348
1349
  completed: number;
1349
- phase: "complete" | "no-tasks" | "in-progress";
1350
+ phase: "no-tasks" | "complete" | "in-progress";
1350
1351
  };
1351
1352
  }>>;
1352
1353
  }, "strip", z.ZodTypeAny, {
1353
1354
  source: "openspec-instructions-apply";
1355
+ complete: number;
1354
1356
  state: "ready" | "blocked" | "all_done";
1355
1357
  total: number;
1356
- complete: number;
1357
1358
  remaining: number;
1358
1359
  divergence: {
1359
1360
  kind: "tracked-task-mismatch";
1360
1361
  message: string;
1361
1362
  apply: {
1362
- total: number;
1363
1363
  complete: number;
1364
+ total: number;
1364
1365
  remaining: number;
1365
1366
  };
1366
1367
  tracked: {
1367
1368
  total: number;
1368
1369
  remaining: number;
1369
1370
  completed: number;
1370
- phase: "complete" | "no-tasks" | "in-progress";
1371
+ phase: "no-tasks" | "complete" | "in-progress";
1371
1372
  };
1372
1373
  } | null;
1373
1374
  }, {
1374
1375
  source: "openspec-instructions-apply";
1376
+ complete: number;
1375
1377
  state: "ready" | "blocked" | "all_done";
1376
1378
  total: number;
1377
- complete: number;
1378
1379
  remaining: number;
1379
1380
  divergence: {
1380
1381
  kind: "tracked-task-mismatch";
1381
1382
  message: string;
1382
1383
  apply: {
1383
- total: number;
1384
1384
  complete: number;
1385
+ total: number;
1385
1386
  remaining: number;
1386
1387
  };
1387
1388
  tracked: {
1388
1389
  total: number;
1389
1390
  remaining: number;
1390
1391
  completed: number;
1391
- phase: "complete" | "no-tasks" | "in-progress";
1392
+ phase: "no-tasks" | "complete" | "in-progress";
1392
1393
  };
1393
1394
  } | null;
1394
1395
  }>;
@@ -1432,23 +1433,23 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1432
1433
  state: "ready" | "blocked" | "all_done";
1433
1434
  applyInstructionProgress: {
1434
1435
  source: "openspec-instructions-apply";
1436
+ complete: number;
1435
1437
  state: "ready" | "blocked" | "all_done";
1436
1438
  total: number;
1437
- complete: number;
1438
1439
  remaining: number;
1439
1440
  divergence: {
1440
1441
  kind: "tracked-task-mismatch";
1441
1442
  message: string;
1442
1443
  apply: {
1443
- total: number;
1444
1444
  complete: number;
1445
+ total: number;
1445
1446
  remaining: number;
1446
1447
  };
1447
1448
  tracked: {
1448
1449
  total: number;
1449
1450
  remaining: number;
1450
1451
  completed: number;
1451
- phase: "complete" | "no-tasks" | "in-progress";
1452
+ phase: "no-tasks" | "complete" | "in-progress";
1452
1453
  };
1453
1454
  } | null;
1454
1455
  };
@@ -1530,23 +1531,23 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1530
1531
  state: "ready" | "blocked" | "all_done";
1531
1532
  applyInstructionProgress: {
1532
1533
  source: "openspec-instructions-apply";
1534
+ complete: number;
1533
1535
  state: "ready" | "blocked" | "all_done";
1534
1536
  total: number;
1535
- complete: number;
1536
1537
  remaining: number;
1537
1538
  divergence: {
1538
1539
  kind: "tracked-task-mismatch";
1539
1540
  message: string;
1540
1541
  apply: {
1541
- total: number;
1542
1542
  complete: number;
1543
+ total: number;
1543
1544
  remaining: number;
1544
1545
  };
1545
1546
  tracked: {
1546
1547
  total: number;
1547
1548
  remaining: number;
1548
1549
  completed: number;
1549
- phase: "complete" | "no-tasks" | "in-progress";
1550
+ phase: "no-tasks" | "complete" | "in-progress";
1550
1551
  };
1551
1552
  } | null;
1552
1553
  };
@@ -1599,12 +1600,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1599
1600
  complete: z.ZodNumber;
1600
1601
  remaining: z.ZodNumber;
1601
1602
  }, "strip", z.ZodTypeAny, {
1602
- total: number;
1603
1603
  complete: number;
1604
+ total: number;
1604
1605
  remaining: number;
1605
1606
  }, {
1606
- total: number;
1607
1607
  complete: number;
1608
+ total: number;
1608
1609
  remaining: number;
1609
1610
  }>;
1610
1611
  tasks: z.ZodArray<z.ZodObject<{
@@ -1912,8 +1913,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1912
1913
  }[];
1913
1914
  state: "ready" | "blocked" | "all_done";
1914
1915
  progress: {
1915
- total: number;
1916
1916
  complete: number;
1917
+ total: number;
1917
1918
  remaining: number;
1918
1919
  };
1919
1920
  context?: string | undefined;
@@ -1993,8 +1994,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1993
1994
  }[];
1994
1995
  state: "ready" | "blocked" | "all_done";
1995
1996
  progress: {
1996
- total: number;
1997
1997
  complete: number;
1998
+ total: number;
1998
1999
  remaining: number;
1999
2000
  };
2000
2001
  context?: string | undefined;
@@ -2151,8 +2152,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2151
2152
  }[];
2152
2153
  state: "ready" | "blocked" | "all_done";
2153
2154
  progress: {
2154
- total: number;
2155
2155
  complete: number;
2156
+ total: number;
2156
2157
  remaining: number;
2157
2158
  };
2158
2159
  context?: string | undefined;
@@ -2478,12 +2479,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2478
2479
  complete: z.ZodNumber;
2479
2480
  remaining: z.ZodNumber;
2480
2481
  }, "strip", z.ZodTypeAny, {
2481
- total: number;
2482
2482
  complete: number;
2483
+ total: number;
2483
2484
  remaining: number;
2484
2485
  }, {
2485
- total: number;
2486
2486
  complete: number;
2487
+ total: number;
2487
2488
  remaining: number;
2488
2489
  }>;
2489
2490
  tracked: z.ZodObject<{
@@ -2495,82 +2496,82 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2495
2496
  total: number;
2496
2497
  remaining: number;
2497
2498
  completed: number;
2498
- phase: "complete" | "no-tasks" | "in-progress";
2499
+ phase: "no-tasks" | "complete" | "in-progress";
2499
2500
  }, {
2500
2501
  total: number;
2501
2502
  remaining: number;
2502
2503
  completed: number;
2503
- phase: "complete" | "no-tasks" | "in-progress";
2504
+ phase: "no-tasks" | "complete" | "in-progress";
2504
2505
  }>;
2505
2506
  }, "strip", z.ZodTypeAny, {
2506
2507
  kind: "tracked-task-mismatch";
2507
2508
  message: string;
2508
2509
  apply: {
2509
- total: number;
2510
2510
  complete: number;
2511
+ total: number;
2511
2512
  remaining: number;
2512
2513
  };
2513
2514
  tracked: {
2514
2515
  total: number;
2515
2516
  remaining: number;
2516
2517
  completed: number;
2517
- phase: "complete" | "no-tasks" | "in-progress";
2518
+ phase: "no-tasks" | "complete" | "in-progress";
2518
2519
  };
2519
2520
  }, {
2520
2521
  kind: "tracked-task-mismatch";
2521
2522
  message: string;
2522
2523
  apply: {
2523
- total: number;
2524
2524
  complete: number;
2525
+ total: number;
2525
2526
  remaining: number;
2526
2527
  };
2527
2528
  tracked: {
2528
2529
  total: number;
2529
2530
  remaining: number;
2530
2531
  completed: number;
2531
- phase: "complete" | "no-tasks" | "in-progress";
2532
+ phase: "no-tasks" | "complete" | "in-progress";
2532
2533
  };
2533
2534
  }>>;
2534
2535
  }, "strip", z.ZodTypeAny, {
2535
2536
  source: "openspec-instructions-apply";
2537
+ complete: number;
2536
2538
  state: "ready" | "blocked" | "all_done";
2537
2539
  total: number;
2538
- complete: number;
2539
2540
  remaining: number;
2540
2541
  divergence: {
2541
2542
  kind: "tracked-task-mismatch";
2542
2543
  message: string;
2543
2544
  apply: {
2544
- total: number;
2545
2545
  complete: number;
2546
+ total: number;
2546
2547
  remaining: number;
2547
2548
  };
2548
2549
  tracked: {
2549
2550
  total: number;
2550
2551
  remaining: number;
2551
2552
  completed: number;
2552
- phase: "complete" | "no-tasks" | "in-progress";
2553
+ phase: "no-tasks" | "complete" | "in-progress";
2553
2554
  };
2554
2555
  } | null;
2555
2556
  }, {
2556
2557
  source: "openspec-instructions-apply";
2558
+ complete: number;
2557
2559
  state: "ready" | "blocked" | "all_done";
2558
2560
  total: number;
2559
- complete: number;
2560
2561
  remaining: number;
2561
2562
  divergence: {
2562
2563
  kind: "tracked-task-mismatch";
2563
2564
  message: string;
2564
2565
  apply: {
2565
- total: number;
2566
2566
  complete: number;
2567
+ total: number;
2567
2568
  remaining: number;
2568
2569
  };
2569
2570
  tracked: {
2570
2571
  total: number;
2571
2572
  remaining: number;
2572
2573
  completed: number;
2573
- phase: "complete" | "no-tasks" | "in-progress";
2574
+ phase: "no-tasks" | "complete" | "in-progress";
2574
2575
  };
2575
2576
  } | null;
2576
2577
  }>;
@@ -2614,23 +2615,23 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2614
2615
  state: "ready" | "blocked" | "all_done";
2615
2616
  applyInstructionProgress: {
2616
2617
  source: "openspec-instructions-apply";
2618
+ complete: number;
2617
2619
  state: "ready" | "blocked" | "all_done";
2618
2620
  total: number;
2619
- complete: number;
2620
2621
  remaining: number;
2621
2622
  divergence: {
2622
2623
  kind: "tracked-task-mismatch";
2623
2624
  message: string;
2624
2625
  apply: {
2625
- total: number;
2626
2626
  complete: number;
2627
+ total: number;
2627
2628
  remaining: number;
2628
2629
  };
2629
2630
  tracked: {
2630
2631
  total: number;
2631
2632
  remaining: number;
2632
2633
  completed: number;
2633
- phase: "complete" | "no-tasks" | "in-progress";
2634
+ phase: "no-tasks" | "complete" | "in-progress";
2634
2635
  };
2635
2636
  } | null;
2636
2637
  };
@@ -2712,23 +2713,23 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2712
2713
  state: "ready" | "blocked" | "all_done";
2713
2714
  applyInstructionProgress: {
2714
2715
  source: "openspec-instructions-apply";
2716
+ complete: number;
2715
2717
  state: "ready" | "blocked" | "all_done";
2716
2718
  total: number;
2717
- complete: number;
2718
2719
  remaining: number;
2719
2720
  divergence: {
2720
2721
  kind: "tracked-task-mismatch";
2721
2722
  message: string;
2722
2723
  apply: {
2723
- total: number;
2724
2724
  complete: number;
2725
+ total: number;
2725
2726
  remaining: number;
2726
2727
  };
2727
2728
  tracked: {
2728
2729
  total: number;
2729
2730
  remaining: number;
2730
2731
  completed: number;
2731
- phase: "complete" | "no-tasks" | "in-progress";
2732
+ phase: "no-tasks" | "complete" | "in-progress";
2732
2733
  };
2733
2734
  } | null;
2734
2735
  };
@@ -1,2 +1,2 @@
1
- import { a as OPSX_CORE_PROFILE_WORKFLOWS, c as OPSX_WORKFLOW_TO_SKILL_DIR, d as OpsxTextInputAction, f as OpsxWorkflowId, i as OPSX_COMMAND_CAPABLE_WORKFLOWS, l as OpsxArtifactInputAction, n as OPSX_ARTIFACT_INPUT_ACTIONS, o as OPSX_TEXT_INPUT_ACTIONS, p as isOpsxCoreWorkflowSelection, r as OPSX_CHANGE_INPUT_ACTIONS, s as OPSX_WORKFLOW_LABELS, t as OPSX_ALL_WORKFLOWS, u as OpsxChangeInputAction } from "./opsx-workflows-DX1r6e5j.mjs";
1
+ import { a as OPSX_CORE_PROFILE_WORKFLOWS, c as OPSX_WORKFLOW_TO_SKILL_DIR, d as OpsxTextInputAction, f as OpsxWorkflowId, i as OPSX_COMMAND_CAPABLE_WORKFLOWS, l as OpsxArtifactInputAction, n as OPSX_ARTIFACT_INPUT_ACTIONS, o as OPSX_TEXT_INPUT_ACTIONS, p as isOpsxCoreWorkflowSelection, r as OPSX_CHANGE_INPUT_ACTIONS, s as OPSX_WORKFLOW_LABELS, t as OPSX_ALL_WORKFLOWS, u as OpsxChangeInputAction } from "./opsx-workflows-B72EGtj_.mjs";
2
2
  export { OPSX_ALL_WORKFLOWS, OPSX_ARTIFACT_INPUT_ACTIONS, OPSX_CHANGE_INPUT_ACTIONS, OPSX_COMMAND_CAPABLE_WORKFLOWS, OPSX_CORE_PROFILE_WORKFLOWS, OPSX_TEXT_INPUT_ACTIONS, OPSX_WORKFLOW_LABELS, OPSX_WORKFLOW_TO_SKILL_DIR, OpsxArtifactInputAction, OpsxChangeInputAction, OpsxTextInputAction, OpsxWorkflowId, isOpsxCoreWorkflowSelection };
@@ -1,3 +1,3 @@
1
- import { a as OPSX_CORE_PROFILE_WORKFLOWS, c as OPSX_WORKFLOW_TO_SKILL_DIR, i as OPSX_COMMAND_CAPABLE_WORKFLOWS, l as isOpsxCoreWorkflowSelection, n as OPSX_ARTIFACT_INPUT_ACTIONS, o as OPSX_TEXT_INPUT_ACTIONS, r as OPSX_CHANGE_INPUT_ACTIONS, s as OPSX_WORKFLOW_LABELS, t as OPSX_ALL_WORKFLOWS } from "./opsx-workflows-byPfLlo8.mjs";
1
+ import { a as OPSX_CORE_PROFILE_WORKFLOWS, c as OPSX_WORKFLOW_TO_SKILL_DIR, i as OPSX_COMMAND_CAPABLE_WORKFLOWS, l as isOpsxCoreWorkflowSelection, n as OPSX_ARTIFACT_INPUT_ACTIONS, o as OPSX_TEXT_INPUT_ACTIONS, r as OPSX_CHANGE_INPUT_ACTIONS, s as OPSX_WORKFLOW_LABELS, t as OPSX_ALL_WORKFLOWS } from "./opsx-workflows-BA-46T7_.mjs";
2
2
 
3
3
  export { OPSX_ALL_WORKFLOWS, OPSX_ARTIFACT_INPUT_ACTIONS, OPSX_CHANGE_INPUT_ACTIONS, OPSX_COMMAND_CAPABLE_WORKFLOWS, OPSX_CORE_PROFILE_WORKFLOWS, OPSX_TEXT_INPUT_ACTIONS, OPSX_WORKFLOW_LABELS, OPSX_WORKFLOW_TO_SKILL_DIR, isOpsxCoreWorkflowSelection };
@@ -1,21 +1,21 @@
1
- import { A as CliSchemaInfoSchema, D as CliArtifactPathSchema, L as CliTemplateEntrySchema, M as CliSchemaShadowSchema, a as SpecDocumentProjectionSchema, j as CliSchemaResolutionSchema, k as CliPlanningHomeSchema, o as SpecIdentitySchema, r as SpecCatalogSchema, y as CliActionContextSchema } from "./spec-catalog-DEk_oHAx.mjs";
1
+ import { D as CliSchemaInfoSchema, a as SpecDocumentProjectionSchema, o as SpecIdentitySchema, r as SpecCatalogSchema } from "./spec-catalog-Ce3uSLSc.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 { r as CliProjectionCommandEvidenceSchema, u as createCliProjectionStateSchema } from "./cli-projection-CKRwTvwf.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";
5
+ import { r as CliProjectionCommandEvidenceSchema, u as createCliProjectionStateSchema } from "./cli-projection-Bc2WVwGj.mjs";
5
6
  import { z } from "zod";
6
7
 
7
8
  //#region src/opsx-types.ts
8
9
  /**
9
- * Orthogonal intents (updated 2026-08-01 Asia/Shanghai):
10
- * 1. Define reactive Change Status and Instructions projections.
11
- * 2. Preserve live CLI path/action/Reference provenance versus explicit static absence.
12
- * 3. Attribute Apply instruction progress without replacing tracked-task truth.
13
- * 4. Define schema, template, skipped-dependency, and operation-input projections for OPSX surfaces.
14
- * 5. Publish runtime schemas for final Projection Work payloads, including transformed Apply progress.
10
+ * Orthogonal intents (updated 2026-08-15 Asia/Shanghai):
11
+ * 1. Publish runtime schemas for final Projection Work payloads, including transformed Apply progress.
12
+ * 2. Keep isPlanningComplete as the authoritative planning fact over any local tracked alias.
13
+ * 3. Carry CLI status evidence, diagnostics, and per-artifact requires as typed facts.
14
+ * 4. Preserve root-context and store projections as browser-safe contracts.
15
+ * 5. Keep projection notices distinct from payload data so failures never masquerade as results.
15
16
  *
16
- * Original request (2026-07-15): "Preserve CLI-provided paths, action context, References, and diagnostics end to end."
17
- * Original request (2026-07-23): "OPSX Status 不应等待完整 Kernel warmup,且必须保留 CLI evidence。"
18
- * Original request (2026-07-26): "展开全面的接口升级和内核升级和测试升级。"
17
+ * Original request (2026-07-15): "为内核载荷建立强类型。"
18
+ * Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
19
19
  */
20
20
  /** Check if an outputPath contains glob pattern characters */
21
21
  function isGlobPattern(pattern) {
@@ -69,7 +69,7 @@ const ArtifactStatusSchema = z.object({
69
69
  const ChangeStatusSchema = z.object({
70
70
  changeName: z.string(),
71
71
  schemaName: z.string(),
72
- isComplete: z.boolean(),
72
+ isPlanningComplete: z.boolean(),
73
73
  applyRequires: z.array(z.string()),
74
74
  artifacts: z.array(ArtifactStatusSchema),
75
75
  provenance: z.discriminatedUnion("kind", [z.object({
@@ -306,6 +306,17 @@ const PlanningCliProjectionDataSchema = z.discriminatedUnion("kind", [
306
306
  z.object({
307
307
  kind: z.literal("opsx-change-list"),
308
308
  value: z.array(z.string()),
309
+ entries: z.array(z.object({
310
+ name: z.string(),
311
+ completedTasks: z.number(),
312
+ totalTasks: z.number(),
313
+ lastModified: z.string(),
314
+ status: z.enum([
315
+ "no-tasks",
316
+ "complete",
317
+ "in-progress"
318
+ ])
319
+ })),
309
320
  evidence: CliProjectionCommandEvidenceSchema
310
321
  }),
311
322
  z.object({
@@ -1,27 +1,27 @@
1
- import "./document-translation-BNbM3fEj.mjs";
2
- import "./sounds-Bb_3aeJJ.mjs";
3
- import "./notifications-BIs3J3BY.mjs";
4
- import "./index-CYFOH_f8.mjs";
5
- import "./active-root-config-BHgXdX6b.mjs";
6
- import { u as CliProjectionNoticeSchema } from "./cli-projection-Um81AQW5.mjs";
7
- import "./schemas-zh0_vzYQ.mjs";
8
- import "./opsx-types-Ch6juiWL.mjs";
9
- import "./opsx-entity-DZ7onDWC.mjs";
10
- import { $r as EnvironmentGlobalProjectionState, Jr as EnvironmentGlobalFileProjectionDataSchema, Qr as EnvironmentGlobalProjectionDataSchema, Xr as EnvironmentGlobalFileProjectionStateSchema, Yr as EnvironmentGlobalFileProjectionState, Zr as EnvironmentGlobalProjectionData, ai as PlanningCliProjectionState, ei as EnvironmentGlobalProjectionStateSchema, ii as PlanningCliProjectionSelectorSchema, ni as PlanningCliProjectionDataSchema, oi as PlanningCliProjectionStateSchema, qr as EnvironmentGlobalFileProjectionData, ri as PlanningCliProjectionSelector, ti as PlanningCliProjectionData } from "./dashboard-summary-transport-BJBod4rO.mjs";
11
- import "./markdown-facts-DLclHfpE.mjs";
12
- import "./markdown-reading--Sr6JAl5.mjs";
13
- import "./openspec-annotations-BylPW5rz.mjs";
14
- import "./openspec-projection-_1NeavJP.mjs";
15
- import "./translator-Cwaf_pXN.mjs";
16
- import "./terminal-audio-GuG0qiiI.mjs";
17
- import "./local-download-profiles-BQLPhuE0.mjs";
18
- import "./translation-language-pair-BR5uxGm-.mjs";
19
- import "./opsx-workflows-DX1r6e5j.mjs";
20
- import "./store-content-projection-R74MV_sD.mjs";
21
- import "./opsx-display-path-BD34M8QV.mjs";
22
- import "./store-mutation-protocol-BbgWMJVK.mjs";
23
- import "./store-types-CF7_LsVL.mjs";
24
- import "./terminal-invocation-Dx1qfSKb.mjs";
25
- import "./terminal-theme-DX08Gci8.mjs";
26
- import "./opsx-schema-detail-D2RnlxSg.mjs";
1
+ import "./document-translation-CBqubtWC.mjs";
2
+ import "./sounds-BoLuHRve.mjs";
3
+ import "./notifications-B9cvPamG.mjs";
4
+ import "./index-BGT-MVqL.mjs";
5
+ import "./active-root-config-C77Duro0.mjs";
6
+ import { u as CliProjectionNoticeSchema } from "./cli-projection-BAU6-rFs.mjs";
7
+ import "./schemas-Dnw_rfST.mjs";
8
+ import "./opsx-types-C_4QxcU6.mjs";
9
+ import "./opsx-entity-BFPRTIWN.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-C3No2o4i.mjs";
11
+ import "./markdown-facts-CEACwik1.mjs";
12
+ import "./markdown-reading-CsLbxubT.mjs";
13
+ import "./openspec-annotations-8ppmICAU.mjs";
14
+ import "./openspec-projection-vJ03fcdF.mjs";
15
+ import "./translator-B7GQxmun.mjs";
16
+ import "./terminal-audio-CNhCiZul.mjs";
17
+ import "./local-download-profiles-BZj6Tw_s.mjs";
18
+ import "./translation-language-pair-B6A39Cai.mjs";
19
+ import "./opsx-workflows-B72EGtj_.mjs";
20
+ import "./store-content-projection-BnNYyb0x.mjs";
21
+ import "./opsx-display-path-DvvAFlWG.mjs";
22
+ import "./store-mutation-protocol-C4rRiO4b.mjs";
23
+ import "./store-types-CMqxPwaj.mjs";
24
+ import "./terminal-invocation-BnMhxtP1.mjs";
25
+ import "./terminal-theme-C7X8pUqT.mjs";
26
+ import "./opsx-schema-detail-D1129ezo.mjs";
27
27
  export { CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionData, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionState, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionData, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionState, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionData, PlanningCliProjectionDataSchema, PlanningCliProjectionSelector, PlanningCliProjectionSelectorSchema, PlanningCliProjectionState, PlanningCliProjectionStateSchema };
@@ -1,9 +1,10 @@
1
- import "./spec-catalog-DEk_oHAx.mjs";
1
+ import "./spec-catalog-Ce3uSLSc.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 { o as CliProjectionNoticeSchema } from "./cli-projection-CKRwTvwf.mjs";
7
- 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-BreqsrYA.mjs";
6
+ import "./workflow-CmQ4pFYC.mjs";
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
9
 
9
10
  export { CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionDataSchema, PlanningCliProjectionSelectorSchema, PlanningCliProjectionStateSchema };
@@ -24,14 +24,14 @@ declare const ChangeFileSchema: z.ZodObject<{
24
24
  content?: string | undefined;
25
25
  mime?: string | undefined;
26
26
  size?: number | undefined;
27
- previewKind?: "text" | "none" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
27
+ previewKind?: "text" | "html" | "none" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
28
28
  }, {
29
29
  path: string;
30
30
  type: "file" | "directory";
31
31
  content?: string | undefined;
32
32
  mime?: string | undefined;
33
33
  size?: number | undefined;
34
- previewKind?: "text" | "none" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
34
+ previewKind?: "text" | "html" | "none" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
35
35
  }>;
36
36
  type ChangeFile = z.infer<typeof ChangeFileSchema>;
37
37
  declare const ScenarioStepKeywordSchema: z.ZodEnum<["GIVEN", "WHEN", "THEN", "AND", "BUT"]>;
@@ -724,7 +724,7 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
724
724
  total: number;
725
725
  remaining: number;
726
726
  completed: number;
727
- phase: "complete" | "no-tasks" | "in-progress";
727
+ phase: "no-tasks" | "complete" | "in-progress";
728
728
  }, {
729
729
  source: {
730
730
  kind: "artifact";
@@ -755,7 +755,7 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
755
755
  total: number;
756
756
  remaining: number;
757
757
  completed: number;
758
- phase: "complete" | "no-tasks" | "in-progress";
758
+ phase: "no-tasks" | "complete" | "in-progress";
759
759
  }>;
760
760
  /**
761
761
  * A delta spec file from changes/{id}/specs/{specId}/spec.md
@@ -1181,7 +1181,7 @@ declare const ChangeSchema: z.ZodObject<{
1181
1181
  total: number;
1182
1182
  remaining: number;
1183
1183
  completed: number;
1184
- phase: "complete" | "no-tasks" | "in-progress";
1184
+ phase: "no-tasks" | "complete" | "in-progress";
1185
1185
  }, {
1186
1186
  source: {
1187
1187
  kind: "artifact";
@@ -1212,7 +1212,7 @@ declare const ChangeSchema: z.ZodObject<{
1212
1212
  total: number;
1213
1213
  remaining: number;
1214
1214
  completed: number;
1215
- phase: "complete" | "no-tasks" | "in-progress";
1215
+ phase: "no-tasks" | "complete" | "in-progress";
1216
1216
  }>;
1217
1217
  /** Secondary checkbox analytics across schema Markdown documents. */
1218
1218
  documentChecklistSummary: z.ZodObject<{
@@ -1364,7 +1364,7 @@ declare const ChangeSchema: z.ZodObject<{
1364
1364
  total: number;
1365
1365
  remaining: number;
1366
1366
  completed: number;
1367
- phase: "complete" | "no-tasks" | "in-progress";
1367
+ phase: "no-tasks" | "complete" | "in-progress";
1368
1368
  };
1369
1369
  why: string;
1370
1370
  whatChanges: string;
@@ -1469,7 +1469,7 @@ declare const ChangeSchema: z.ZodObject<{
1469
1469
  total: number;
1470
1470
  remaining: number;
1471
1471
  completed: number;
1472
- phase: "complete" | "no-tasks" | "in-progress";
1472
+ phase: "no-tasks" | "complete" | "in-progress";
1473
1473
  };
1474
1474
  why: string;
1475
1475
  whatChanges: string;