@openspecui/core 13.0.0 → 13.0.1
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.
- package/dist/{active-root-config-_ZXqUzpc.d.mts → active-root-config-wpH_ZblJ.d.mts} +17 -17
- package/dist/active-root-config.d.mts +5 -5
- package/dist/{cli-projection-D932MJzB.d.mts → cli-projection-0tdEPnTe.d.mts} +17 -17
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{command-result-Eq147Dt4.mjs → command-result-DfCY18TD.mjs} +23 -2
- package/dist/{dashboard-summary-transport-DS-bPqn1.d.mts → dashboard-summary-transport-uE7nCxmD.d.mts} +4271 -4102
- package/dist/dashboard-summary-transport.d.mts +19 -19
- package/dist/{document-translation-DM2eydNr.d.mts → document-translation-DzF7Og-j.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/{hosted-app-CHqdo5vd.mjs → hosted-app-DWYFMLkw.mjs} +1 -1
- package/dist/hosted-app.d.mts +19 -19
- package/dist/hosted-app.mjs +3 -3
- package/dist/{hosted-contract-Qe5AmkiE.mjs → hosted-contract-SsTBQklx.mjs} +1 -1
- package/dist/hosted-contract.d.mts +19 -19
- package/dist/hosted-contract.mjs +2 -2
- package/dist/{index-zESQZeBd.d.mts → index-DPsUTX4C.d.mts} +220 -71
- package/dist/index.d.mts +20 -20
- package/dist/index.mjs +22 -11
- package/dist/{local-download-profiles-Dj0nGG1k.d.mts → local-download-profiles-CsKGe_qF.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-DwiGoWFM.d.mts → notifications-B8Ael_hq.d.mts} +17 -17
- package/dist/notifications.d.mts +2 -2
- package/dist/openspec-compat.d.mts +4 -4
- package/dist/openspec-compat.mjs +1 -1
- package/dist/{openspec-projection-MyG567IF.d.mts → openspec-projection-xOnjhQ7v.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BsYtWdkc.d.mts → opsx-entity-DsigFL5Z.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-Cbg1qHlw.d.mts → opsx-schema-detail-IlY4T5vO.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-8fxRIEhj.d.mts → opsx-types-r1oKVWgZ.d.mts} +248 -248
- package/dist/{planning-cli-projection-CttkbBh9.mjs → planning-cli-projection-C4eG7-Yr.mjs} +18 -4
- package/dist/planning-cli-projection.d.mts +20 -20
- package/dist/planning-cli-projection.mjs +5 -5
- package/dist/{schemas-CdprtB2t.d.mts → schemas-pfpqDlAd.d.mts} +252 -252
- package/dist/{sounds-BCmBc3Lm.d.mts → sounds-B0GiWqBN.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-DYJ4dxTY.mjs → spec-catalog-B8TIBzwP.mjs} +1 -1
- package/dist/spec-catalog.d.mts +19 -19
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-content-projection-DV31znWA.mjs → store-content-projection-CLNY-hNu.mjs} +5 -1
- package/dist/{store-content-projection-BnNYyb0x.d.mts → store-content-projection-DMHTVCFM.d.mts} +126 -0
- package/dist/store-content-projection.d.mts +1 -1
- package/dist/store-content-projection.mjs +1 -1
- package/dist/{store-mutation-protocol-C9xgZkNh.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-Ch6RIfO6.d.mts → store-types-BghVB9Qj.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/{task-progress-Bvid_Ws8.mjs → task-progress-moL-QUhJ.mjs} +29 -4
- package/dist/task-progress.d.mts +6 -6
- package/dist/task-progress.mjs +1 -1
- package/dist/{terminal-audio-uas32Aa-.d.mts → terminal-audio-BpfUW_eB.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-DSEgzEiU.d.mts → terminal-invocation-CYibC-WC.d.mts} +73 -73
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-2hRDPD9f.d.mts → translator-BdTMcSWN.d.mts} +234 -234
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/open-spec-data-scope.d.ts
|
|
@@ -393,8 +393,8 @@ declare const ActiveRootOfficialConfigSchema: z.ZodObject<{
|
|
|
393
393
|
} | undefined;
|
|
394
394
|
}>>;
|
|
395
395
|
}, "strict", z.ZodTypeAny, {
|
|
396
|
-
schema: string | null;
|
|
397
396
|
context: string | null;
|
|
397
|
+
schema: string | null;
|
|
398
398
|
rules: Record<string, string[]> | null;
|
|
399
399
|
operations: {
|
|
400
400
|
apply?: {
|
|
@@ -405,8 +405,8 @@ declare const ActiveRootOfficialConfigSchema: z.ZodObject<{
|
|
|
405
405
|
} | undefined;
|
|
406
406
|
} | null;
|
|
407
407
|
}, {
|
|
408
|
-
schema: string | null;
|
|
409
408
|
context: string | null;
|
|
409
|
+
schema: string | null;
|
|
410
410
|
rules: Record<string, string[]> | null;
|
|
411
411
|
operations: {
|
|
412
412
|
apply?: {
|
|
@@ -455,8 +455,8 @@ declare const ActiveRootStructuredUpdateSchema: z.ZodObject<{
|
|
|
455
455
|
} | null;
|
|
456
456
|
}>>;
|
|
457
457
|
}, "strict", z.ZodTypeAny, {
|
|
458
|
-
schema: string;
|
|
459
458
|
context: string | null;
|
|
459
|
+
schema: string;
|
|
460
460
|
rules: Record<string, string[]> | null;
|
|
461
461
|
operations: {
|
|
462
462
|
apply: {
|
|
@@ -467,8 +467,8 @@ declare const ActiveRootStructuredUpdateSchema: z.ZodObject<{
|
|
|
467
467
|
} | null;
|
|
468
468
|
} | null;
|
|
469
469
|
}, {
|
|
470
|
-
schema: string;
|
|
471
470
|
context: string | null;
|
|
471
|
+
schema: string;
|
|
472
472
|
rules: Record<string, string[]> | null;
|
|
473
473
|
operations: {
|
|
474
474
|
apply: {
|
|
@@ -523,8 +523,8 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
523
523
|
} | null;
|
|
524
524
|
}>>;
|
|
525
525
|
}, "strict", z.ZodTypeAny, {
|
|
526
|
-
schema: string;
|
|
527
526
|
context: string | null;
|
|
527
|
+
schema: string;
|
|
528
528
|
rules: Record<string, string[]> | null;
|
|
529
529
|
operations: {
|
|
530
530
|
apply: {
|
|
@@ -535,8 +535,8 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
535
535
|
} | null;
|
|
536
536
|
} | null;
|
|
537
537
|
}, {
|
|
538
|
-
schema: string;
|
|
539
538
|
context: string | null;
|
|
539
|
+
schema: string;
|
|
540
540
|
rules: Record<string, string[]> | null;
|
|
541
541
|
operations: {
|
|
542
542
|
apply: {
|
|
@@ -551,9 +551,11 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
551
551
|
filePath: z.ZodString;
|
|
552
552
|
revision: z.ZodString;
|
|
553
553
|
}, "strict", z.ZodTypeAny, {
|
|
554
|
+
filePath: string;
|
|
555
|
+
revision: string;
|
|
554
556
|
update: {
|
|
555
|
-
schema: string;
|
|
556
557
|
context: string | null;
|
|
558
|
+
schema: string;
|
|
557
559
|
rules: Record<string, string[]> | null;
|
|
558
560
|
operations: {
|
|
559
561
|
apply: {
|
|
@@ -565,13 +567,13 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
565
567
|
} | null;
|
|
566
568
|
};
|
|
567
569
|
mode: "structured";
|
|
568
|
-
revision: string;
|
|
569
|
-
filePath: string;
|
|
570
570
|
ownerPath: string;
|
|
571
571
|
}, {
|
|
572
|
+
filePath: string;
|
|
573
|
+
revision: string;
|
|
572
574
|
update: {
|
|
573
|
-
schema: string;
|
|
574
575
|
context: string | null;
|
|
576
|
+
schema: string;
|
|
575
577
|
rules: Record<string, string[]> | null;
|
|
576
578
|
operations: {
|
|
577
579
|
apply: {
|
|
@@ -583,8 +585,6 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
583
585
|
} | null;
|
|
584
586
|
};
|
|
585
587
|
mode: "structured";
|
|
586
|
-
revision: string;
|
|
587
|
-
filePath: string;
|
|
588
588
|
ownerPath: string;
|
|
589
589
|
}>, z.ZodObject<{
|
|
590
590
|
mode: z.ZodLiteral<"raw">;
|
|
@@ -593,16 +593,16 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
593
593
|
filePath: z.ZodString;
|
|
594
594
|
revision: z.ZodString;
|
|
595
595
|
}, "strict", z.ZodTypeAny, {
|
|
596
|
+
filePath: string;
|
|
597
|
+
revision: string;
|
|
596
598
|
mode: "raw";
|
|
597
599
|
content: string;
|
|
598
|
-
revision: string;
|
|
599
|
-
filePath: string;
|
|
600
600
|
ownerPath: string;
|
|
601
601
|
}, {
|
|
602
|
+
filePath: string;
|
|
603
|
+
revision: string;
|
|
602
604
|
mode: "raw";
|
|
603
605
|
content: string;
|
|
604
|
-
revision: string;
|
|
605
|
-
filePath: string;
|
|
606
606
|
ownerPath: string;
|
|
607
607
|
}>]>;
|
|
608
608
|
/** Revision-aware Active Root mutation request. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import "./document-translation-
|
|
3
|
-
import "./sounds-
|
|
4
|
-
import "./notifications-
|
|
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-
|
|
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";
|
|
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
|
|
1
|
+
import { Ct as CliCommandResult, Tt as CliJsonValue } from "./index-DPsUTX4C.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;
|
|
218
221
|
error: null;
|
|
219
222
|
state: "loading";
|
|
220
223
|
data: null;
|
|
221
224
|
freshness: null;
|
|
222
|
-
snapshotGeneration: null;
|
|
223
|
-
identity: string;
|
|
224
|
-
workGeneration: number;
|
|
225
225
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
226
226
|
}, {
|
|
227
|
+
identity: string;
|
|
228
|
+
workGeneration: number;
|
|
229
|
+
snapshotGeneration: null;
|
|
227
230
|
error: null;
|
|
228
231
|
state: "loading";
|
|
229
232
|
data: null;
|
|
230
233
|
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,6 +390,9 @@ 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;
|
|
393
396
|
error: {
|
|
394
397
|
message: string;
|
|
395
398
|
name: string;
|
|
@@ -412,11 +415,11 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
|
|
|
412
415
|
state: "error";
|
|
413
416
|
data: null;
|
|
414
417
|
freshness: null;
|
|
415
|
-
snapshotGeneration: null;
|
|
416
|
-
identity: string;
|
|
417
|
-
workGeneration: number;
|
|
418
418
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
419
419
|
}, {
|
|
420
|
+
identity: string;
|
|
421
|
+
workGeneration: number;
|
|
422
|
+
snapshotGeneration: null;
|
|
420
423
|
error: {
|
|
421
424
|
message: string;
|
|
422
425
|
name: string;
|
|
@@ -439,9 +442,6 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
|
|
|
439
442
|
state: "error";
|
|
440
443
|
data: null;
|
|
441
444
|
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;
|
|
766
764
|
identity: string;
|
|
767
765
|
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;
|
|
772
770
|
identity: string;
|
|
773
771
|
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-
|
|
2
|
-
import "./document-translation-
|
|
3
|
-
import "./sounds-
|
|
4
|
-
import "./notifications-
|
|
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-
|
|
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";
|
|
6
6
|
export { CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidence, CliProjectionCommandEvidenceSchema, CliProjectionFailure, CliProjectionFailureSchema, CliProjectionInvalidationCause, CliProjectionInvalidationCauseSchema, CliProjectionNotice, CliProjectionNoticeSchema, CliProjectionState, CliProjectionStateName, CliProjectionStateNameSchema, cliProjectionInvalidationCauses, cliProjectionStates, createCliProjectionStateSchema, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice };
|
|
@@ -21,6 +21,10 @@ import { z } from "zod";
|
|
|
21
21
|
* present even when ready) and `warnings` (no-delta-specs advisory) as additive optional
|
|
22
22
|
* success members that never gain default empty arrays, never alter `state`/`progress`/
|
|
23
23
|
* `tasks`/`missingArtifacts` semantics, and stay verbatim CLI evidence.
|
|
24
|
+
* 9. Type the OpenSpec 1.13.1 change-list `nested` entry member and top-level `warnings`
|
|
25
|
+
* array as additive optional facts (absent when empty, never null): an entry carrying
|
|
26
|
+
* `nested` is a namespace folder, not an actionable change; `code` stays an open string
|
|
27
|
+
* because an in-window patch may add codes beyond `nested_change_directory`.
|
|
24
28
|
*
|
|
25
29
|
* Original request (2026-07-15): "为不同命令建立强类型适配器,不实现平行解析规则。"
|
|
26
30
|
* Original request (2026-07-26): "展开全面的接口升级和内核升级和测试升级。"
|
|
@@ -28,7 +32,22 @@ import { z } from "zod";
|
|
|
28
32
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
29
33
|
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
30
34
|
* Original request (2026-09-12): "Openspec 1.13.0 释放了,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。让 codex 参与。"
|
|
35
|
+
* Original request (2026-09-17): "Openspec 1.13.1 释放了…" — change-list nested/warnings projection (update-openspec-cli-1131 Slice 2).
|
|
31
36
|
*/
|
|
37
|
+
/**
|
|
38
|
+
* One top-level change-list hygiene warning (OpenSpec 1.13.1 `list --json`).
|
|
39
|
+
*
|
|
40
|
+
* `code` is an open string, not a literal: the upstream contract documents
|
|
41
|
+
* `nested_change_directory` as the only current code while reserving room for more, so an
|
|
42
|
+
* in-window patch adding a code must survive decode as evidence instead of failing the
|
|
43
|
+
* whole document. The whole array is absent when empty (never `null`, never `[]`).
|
|
44
|
+
*/
|
|
45
|
+
const CliChangeListWarningSchema = z.object({
|
|
46
|
+
code: z.string(),
|
|
47
|
+
name: z.string(),
|
|
48
|
+
nested: z.array(z.string()),
|
|
49
|
+
message: z.string()
|
|
50
|
+
}).passthrough();
|
|
32
51
|
const CliChangeListEntrySchema = z.object({
|
|
33
52
|
name: z.string(),
|
|
34
53
|
completedTasks: z.number(),
|
|
@@ -38,11 +57,13 @@ const CliChangeListEntrySchema = z.object({
|
|
|
38
57
|
"no-tasks",
|
|
39
58
|
"complete",
|
|
40
59
|
"in-progress"
|
|
41
|
-
])
|
|
60
|
+
]),
|
|
61
|
+
nested: z.array(z.string()).optional()
|
|
42
62
|
}).passthrough();
|
|
43
63
|
/** Typed result of the CLI change-list JSON command. */
|
|
44
64
|
const CliChangeListSchema = z.object({
|
|
45
65
|
changes: z.array(CliChangeListEntrySchema),
|
|
66
|
+
warnings: z.array(CliChangeListWarningSchema).optional(),
|
|
46
67
|
root: CliRootSchema.nullable(),
|
|
47
68
|
status: z.array(CliDiagnosticSchema).optional()
|
|
48
69
|
}).passthrough();
|
|
@@ -452,4 +473,4 @@ function parseCliCommandResult(result, schema) {
|
|
|
452
473
|
}
|
|
453
474
|
|
|
454
475
|
//#endregion
|
|
455
|
-
export {
|
|
476
|
+
export { CliWorkflowStatusSuccessSchema as A, CliTemplatesSchema as C, CliValidateSchema as D, CliValidateReportSchema as E, CliWorkflowStatusFieldsSchema as O, CliTemplateEntrySchema as S, CliValidateFindingsSchema as T, CliSchemaWhichSchema as _, CliApplyInstructionsSuccessSchema as a, CliSpecListSchema as b, CliArchiveSchema as c, CliArtifactPathSchema as d, CliChangeListSchema as f, CliSchemaShadowSchema as g, CliSchemaResolutionSchema as h, CliApplyInstructionsSchema as i, isCliValidateFindings as j, CliWorkflowStatusSchema as k, CliArtifactInstructionsSchema as l, CliPlanningHomeSchema as m, parseCliCommandResult as n, CliArchiveInstructionsSchema as o, CliChangeListWarningSchema as p, CliActionContextSchema as r, CliArchiveInstructionsSuccessSchema as s, CliCommandTransportSchema as t, CliArtifactInstructionsSuccessSchema as u, CliShowSpecDocumentSchema as v, CliValidateFindingsResultSchema as w, CliSpecRequirementSchema as x, CliShowSpecSchema as y };
|