@openspecui/core 13.0.1 → 13.0.2

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 (47) hide show
  1. package/dist/{active-root-config-wpH_ZblJ.d.mts → active-root-config-DvfqdWF7.d.mts} +3 -3
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/{cli-projection-0tdEPnTe.d.mts → cli-projection-CXrDqHG1.d.mts} +17 -17
  4. package/dist/cli-projection.d.mts +5 -5
  5. package/dist/{command-result-DfCY18TD.mjs → command-result-DqV3-Bf9.mjs} +13 -2
  6. package/dist/{dashboard-summary-transport-uE7nCxmD.d.mts → dashboard-summary-transport-C4sdZq07.d.mts} +636 -545
  7. package/dist/dashboard-summary-transport.d.mts +17 -17
  8. package/dist/{document-translation-DzF7Og-j.d.mts → document-translation-CGMD0RLA.d.mts} +102 -102
  9. package/dist/document-translation.d.mts +1 -1
  10. package/dist/hosted-app.d.mts +17 -17
  11. package/dist/hosted-contract.d.mts +17 -17
  12. package/dist/{index-DPsUTX4C.d.mts → index-D9LApBD3.d.mts} +113 -80
  13. package/dist/index.d.mts +17 -17
  14. package/dist/index.mjs +11 -6
  15. package/dist/{local-download-profiles-CsKGe_qF.d.mts → local-download-profiles-DtOKu_Qa.d.mts} +1 -1
  16. package/dist/local-download-profiles.d.mts +2 -2
  17. package/dist/{notifications-B8Ael_hq.d.mts → notifications-B72cq-2I.d.mts} +8 -8
  18. package/dist/notifications.d.mts +2 -2
  19. package/dist/openspec-compat.d.mts +4 -4
  20. package/dist/openspec-compat.mjs +1 -1
  21. package/dist/{openspec-projection-xOnjhQ7v.d.mts → openspec-projection-Dm-H-UMk.d.mts} +1 -1
  22. package/dist/openspec-projection.d.mts +2 -2
  23. package/dist/{opsx-entity-DsigFL5Z.d.mts → opsx-entity-C4DJzbUg.d.mts} +2 -2
  24. package/dist/opsx-entity.d.mts +7 -7
  25. package/dist/{opsx-schema-detail-IlY4T5vO.d.mts → opsx-schema-detail-CnTtGQsR.d.mts} +2 -2
  26. package/dist/opsx-schema-detail.d.mts +8 -8
  27. package/dist/{opsx-types-r1oKVWgZ.d.mts → opsx-types-BbERbtH2.d.mts} +114 -41
  28. package/dist/{planning-cli-projection-C4eG7-Yr.mjs → planning-cli-projection-DpQfHj61.mjs} +42 -4
  29. package/dist/planning-cli-projection.d.mts +17 -17
  30. package/dist/planning-cli-projection.mjs +3 -3
  31. package/dist/{schemas-pfpqDlAd.d.mts → schemas-Bmw7OKBb.d.mts} +82 -82
  32. package/dist/{sounds-B0GiWqBN.d.mts → sounds-BpMOHwvO.d.mts} +4 -4
  33. package/dist/sounds.d.mts +1 -1
  34. package/dist/{spec-catalog-B8TIBzwP.mjs → spec-catalog-Cx_PE3WR.mjs} +1 -1
  35. package/dist/spec-catalog.d.mts +17 -17
  36. package/dist/spec-catalog.mjs +2 -2
  37. package/dist/{store-types-BghVB9Qj.d.mts → store-types-DzBETNjJ.d.mts} +1 -1
  38. package/dist/store-types.d.mts +5 -5
  39. package/dist/task-progress.d.mts +6 -6
  40. package/dist/{terminal-audio-BpfUW_eB.d.mts → terminal-audio-BZDsms7w.d.mts} +1 -1
  41. package/dist/terminal-audio.d.mts +2 -2
  42. package/dist/terminal-control.d.mts +2 -2
  43. package/dist/{terminal-invocation-CYibC-WC.d.mts → terminal-invocation-BA-nywHh.d.mts} +40 -40
  44. package/dist/terminal-invocation.d.mts +1 -1
  45. package/dist/{translator-BdTMcSWN.d.mts → translator-C_jPrCMR.d.mts} +217 -217
  46. package/dist/translator.d.mts +1 -1
  47. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { Bt as CliResult, Ct as CliCommandResult, Dt as CliDiagnostic, Lt as CliRootSource, Tt as CliJsonValue, f as CliDoctor, jt as CliDoctorReferenceEntry, l as OpenSpecCliContractExecutor, n as CliRootSelector, u as CliContext, zt as CliExecutor } from "./index-DPsUTX4C.mjs";
1
+ import { Bt as CliResult, Ct as CliCommandResult, Dt as CliDiagnostic, Lt as CliRootSource, Tt as CliJsonValue, f as CliDoctor, jt as CliDoctorReferenceEntry, l as OpenSpecCliContractExecutor, n as CliRootSelector, u as CliContext, zt as CliExecutor } from "./index-D9LApBD3.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/open-spec-data-scope.d.ts
@@ -553,6 +553,7 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
553
553
  }, "strict", z.ZodTypeAny, {
554
554
  filePath: string;
555
555
  revision: string;
556
+ mode: "structured";
556
557
  update: {
557
558
  context: string | null;
558
559
  schema: string;
@@ -566,11 +567,11 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
566
567
  } | null;
567
568
  } | null;
568
569
  };
569
- mode: "structured";
570
570
  ownerPath: string;
571
571
  }, {
572
572
  filePath: string;
573
573
  revision: string;
574
+ mode: "structured";
574
575
  update: {
575
576
  context: string | null;
576
577
  schema: string;
@@ -584,7 +585,6 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
584
585
  } | null;
585
586
  } | null;
586
587
  };
587
- mode: "structured";
588
588
  ownerPath: string;
589
589
  }>, z.ZodObject<{
590
590
  mode: z.ZodLiteral<"raw">;
@@ -1,6 +1,6 @@
1
- import "./index-DPsUTX4C.mjs";
2
- import "./document-translation-DzF7Og-j.mjs";
3
- import "./sounds-B0GiWqBN.mjs";
4
- import "./notifications-B8Ael_hq.mjs";
5
- import { _ as ActiveRootStructuredUpdateSchema, a as ActiveRootConfigDiagnostic, c as ActiveRootMutation, d as ActiveRootOfficialConfig, f as ActiveRootOfficialConfigSchema, g as ActiveRootStructuredUpdate, h as ActiveRootRevisionSchema, i as ActiveRootConfig, l as ActiveRootMutationResult, m as ActiveRootRevision, n as patchActiveRootOfficialFields, o as ActiveRootConfigFile, p as ActiveRootRawValidation, r as validateActiveRootRawYaml, s as ActiveRootConfigInspection, t as inspectActiveRootOfficialConfig, u as ActiveRootMutationSchema, v as MAX_ACTIVE_ROOT_CONTEXT_BYTES } from "./active-root-config-wpH_ZblJ.mjs";
1
+ import "./index-D9LApBD3.mjs";
2
+ import "./document-translation-CGMD0RLA.mjs";
3
+ import "./sounds-BpMOHwvO.mjs";
4
+ import "./notifications-B72cq-2I.mjs";
5
+ import { _ as ActiveRootStructuredUpdateSchema, a as ActiveRootConfigDiagnostic, c as ActiveRootMutation, d as ActiveRootOfficialConfig, f as ActiveRootOfficialConfigSchema, g as ActiveRootStructuredUpdate, h as ActiveRootRevisionSchema, i as ActiveRootConfig, l as ActiveRootMutationResult, m as ActiveRootRevision, n as patchActiveRootOfficialFields, o as ActiveRootConfigFile, p as ActiveRootRawValidation, r as validateActiveRootRawYaml, s as ActiveRootConfigInspection, t as inspectActiveRootOfficialConfig, u as ActiveRootMutationSchema, v as MAX_ACTIVE_ROOT_CONTEXT_BYTES } from "./active-root-config-DvfqdWF7.mjs";
6
6
  export { ActiveRootConfig, ActiveRootConfigDiagnostic, ActiveRootConfigFile, ActiveRootConfigInspection, ActiveRootMutation, ActiveRootMutationResult, ActiveRootMutationSchema, ActiveRootOfficialConfig, ActiveRootOfficialConfigSchema, ActiveRootRawValidation, ActiveRootRevision, ActiveRootRevisionSchema, ActiveRootStructuredUpdate, ActiveRootStructuredUpdateSchema, MAX_ACTIVE_ROOT_CONTEXT_BYTES, inspectActiveRootOfficialConfig, patchActiveRootOfficialFields, validateActiveRootRawYaml };
@@ -1,4 +1,4 @@
1
- import { Ct as CliCommandResult, Tt as CliJsonValue } from "./index-DPsUTX4C.mjs";
1
+ import { Ct as CliCommandResult, Tt as CliJsonValue } from "./index-D9LApBD3.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/cli-projection.d.ts
@@ -215,22 +215,22 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
215
215
  workGeneration: z.ZodNumber;
216
216
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- identity: string;
219
- workGeneration: number;
220
- snapshotGeneration: null;
221
218
  error: null;
222
219
  state: "loading";
223
220
  data: null;
224
221
  freshness: null;
225
- invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
226
- }, {
222
+ snapshotGeneration: null;
227
223
  identity: string;
228
224
  workGeneration: number;
229
- snapshotGeneration: null;
225
+ invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
226
+ }, {
230
227
  error: null;
231
228
  state: "loading";
232
229
  data: null;
233
230
  freshness: null;
231
+ snapshotGeneration: null;
232
+ identity: string;
233
+ workGeneration: number;
234
234
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
235
235
  }>, z.ZodObject<{
236
236
  state: z.ZodLiteral<"ready">;
@@ -390,9 +390,6 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
390
390
  workGeneration: z.ZodNumber;
391
391
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
392
392
  }, "strip", z.ZodTypeAny, {
393
- identity: string;
394
- workGeneration: number;
395
- snapshotGeneration: null;
396
393
  error: {
397
394
  message: string;
398
395
  name: string;
@@ -415,11 +412,11 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
415
412
  state: "error";
416
413
  data: null;
417
414
  freshness: null;
418
- invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
419
- }, {
415
+ snapshotGeneration: null;
420
416
  identity: string;
421
417
  workGeneration: number;
422
- snapshotGeneration: null;
418
+ invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
419
+ }, {
423
420
  error: {
424
421
  message: string;
425
422
  name: string;
@@ -442,6 +439,9 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
442
439
  state: "error";
443
440
  data: null;
444
441
  freshness: null;
442
+ snapshotGeneration: null;
443
+ identity: string;
444
+ workGeneration: number;
445
445
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
446
446
  }>, z.ZodObject<{
447
447
  state: z.ZodLiteral<"refresh-error">;
@@ -761,16 +761,16 @@ declare const CliProjectionNoticeSchema: z.ZodObject<{
761
761
  state: z.ZodEnum<["loading", "ready", "revalidating", "error", "refresh-error"]>;
762
762
  invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
763
763
  }, "strip", z.ZodTypeAny, {
764
+ state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
765
+ snapshotGeneration: number | null;
764
766
  identity: string;
765
767
  workGeneration: number;
766
- snapshotGeneration: number | null;
767
- state: "loading" | "ready" | "revalidating" | "error" | "refresh-error";
768
768
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
769
769
  }, {
770
+ state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
771
+ snapshotGeneration: number | null;
770
772
  identity: string;
771
773
  workGeneration: number;
772
- snapshotGeneration: number | null;
773
- state: "loading" | "ready" | "revalidating" | "error" | "refresh-error";
774
774
  invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
775
775
  }>;
776
776
  type CliProjectionNotice = z.infer<typeof CliProjectionNoticeSchema>;
@@ -1,6 +1,6 @@
1
- import "./index-DPsUTX4C.mjs";
2
- import "./document-translation-DzF7Og-j.mjs";
3
- import "./sounds-B0GiWqBN.mjs";
4
- import "./notifications-B8Ael_hq.mjs";
5
- import { _ as toCliProjectionCommandEvidence, a as CliProjectionFailure, c as CliProjectionInvalidationCauseSchema, d as CliProjectionState, f as CliProjectionStateName, g as createCliProjectionStateSchema, h as cliProjectionStates, i as CliProjectionCommandEvidenceSchema, l as CliProjectionNotice, m as cliProjectionInvalidationCauses, n as CliProjectionCommandError, o as CliProjectionFailureSchema, p as CliProjectionStateNameSchema, r as CliProjectionCommandEvidence, s as CliProjectionInvalidationCause, t as CliJsonValueSchema, u as CliProjectionNoticeSchema, v as toCliProjectionFailure, y as toCliProjectionNotice } from "./cli-projection-0tdEPnTe.mjs";
1
+ import "./index-D9LApBD3.mjs";
2
+ import "./document-translation-CGMD0RLA.mjs";
3
+ import "./sounds-BpMOHwvO.mjs";
4
+ import "./notifications-B72cq-2I.mjs";
5
+ import { _ as toCliProjectionCommandEvidence, a as CliProjectionFailure, c as CliProjectionInvalidationCauseSchema, d as CliProjectionState, f as CliProjectionStateName, g as createCliProjectionStateSchema, h as cliProjectionStates, i as CliProjectionCommandEvidenceSchema, l as CliProjectionNotice, m as cliProjectionInvalidationCauses, n as CliProjectionCommandError, o as CliProjectionFailureSchema, p as CliProjectionStateNameSchema, r as CliProjectionCommandEvidence, s as CliProjectionInvalidationCause, t as CliJsonValueSchema, u as CliProjectionNoticeSchema, v as toCliProjectionFailure, y as toCliProjectionNotice } from "./cli-projection-CXrDqHG1.mjs";
6
6
  export { CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidence, CliProjectionCommandEvidenceSchema, CliProjectionFailure, CliProjectionFailureSchema, CliProjectionInvalidationCause, CliProjectionInvalidationCauseSchema, CliProjectionNotice, CliProjectionNoticeSchema, CliProjectionState, CliProjectionStateName, CliProjectionStateNameSchema, cliProjectionInvalidationCauses, cliProjectionStates, createCliProjectionStateSchema, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice };
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
 
4
4
  //#region src/cli-contracts/workflow.ts
5
5
  /**
6
- * Orthogonal intents (updated 2026-09-12 Asia/Shanghai):
6
+ * Orthogonal intents (updated 2026-09-26 Asia/Shanghai):
7
7
  * 1. Model camelCase workflow JSON independently from Store-family JSON.
8
8
  * 2. Preserve strict, archived, and bulk Validate plus Archive outcomes, including failure payloads.
9
9
  * 3. Preserve multiline requirement bodies from `show --json`.
@@ -25,14 +25,20 @@ import { z } from "zod";
25
25
  * array as additive optional facts (absent when empty, never null): an entry carrying
26
26
  * `nested` is a namespace folder, not an actionable change; `code` stays an open string
27
27
  * because an in-window patch may add codes beyond `nested_change_directory`.
28
+ * 10. Type the OpenSpec 1.13.2 Apply tracking-evidence members (`taskTrackingConfigured`
29
+ * boolean, `unavailableTrackingFiles` `{path, reason}[]`) as additive optional success
30
+ * members: 1.13.2 always emits the boolean while 1.13.0/1.13.1 (still admitted) emit
31
+ * neither, so absence stays "unknown" and is never synthesized; the array is
32
+ * absent-when-everything-is-readable and both stay verbatim evidence.
28
33
  *
29
34
  * Original request (2026-07-15): "为不同命令建立强类型适配器,不实现平行解析规则。"
30
35
  * Original request (2026-07-26): "展开全面的接口升级和内核升级和测试升级。"
31
36
  * Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
32
37
  * Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
33
- * Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
38
+ * Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。"
34
39
  * Original request (2026-09-12): "Openspec 1.13.0 释放了,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。让 codex 参与。"
35
40
  * Original request (2026-09-17): "Openspec 1.13.1 释放了…" — change-list nested/warnings projection (update-openspec-cli-1131 Slice 2).
41
+ * Original request (2026-09-26): "Openspec 1.13.2 释放了…" — Apply tracking-evidence decode contract (update-openspec-cli-1132 Slice 2).
36
42
  */
37
43
  /**
38
44
  * One top-level change-list hygiene warning (OpenSpec 1.13.1 `list --json`).
@@ -242,6 +248,11 @@ const CliApplyInstructionsSuccessSchema = z.object({
242
248
  missingArtifacts: z.array(z.string()).optional(),
243
249
  missingPrerequisites: z.array(z.string()).optional(),
244
250
  warnings: z.array(z.string()).optional(),
251
+ taskTrackingConfigured: z.boolean().optional(),
252
+ unavailableTrackingFiles: z.array(z.object({
253
+ path: z.string(),
254
+ reason: z.string()
255
+ })).optional(),
245
256
  instruction: z.string(),
246
257
  references: z.array(CliReferenceIndexEntrySchema).optional(),
247
258
  context: z.string().optional(),