@openspecui/core 12.0.0 → 13.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.
- package/dist/{active-root-config-Ba57tJrq.d.mts → active-root-config-_ZXqUzpc.d.mts} +5 -5
- package/dist/active-root-config.d.mts +5 -5
- package/dist/app-daemon-control.d.mts +8 -8
- package/dist/{cli-projection-CvtX601c.d.mts → cli-projection-D932MJzB.d.mts} +9 -9
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{command-result-DbXO8ZgG.mjs → command-result-Eq147Dt4.mjs} +8 -1
- package/dist/{dashboard-summary-transport-edeWQPi7.d.mts → dashboard-summary-transport-DS-bPqn1.d.mts} +1315 -1278
- package/dist/dashboard-summary-transport.d.mts +18 -18
- package/dist/{document-translation-CGMD0RLA.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +18 -18
- package/dist/hosted-contract.d.mts +18 -18
- package/dist/{index-D9qYKNqh.d.mts → index-zESQZeBd.d.mts} +77 -70
- package/dist/index.d.mts +18 -18
- package/dist/index.mjs +44 -33
- package/dist/{local-download-profiles-DaFozMhH.d.mts → local-download-profiles-Dj0nGG1k.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-Dkoh_xrs.d.mts → notifications-DwiGoWFM.d.mts} +12 -12
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-compat-CpMO8-dz.mjs → openspec-compat-CNMMuTot.mjs} +15 -14
- package/dist/openspec-compat.d.mts +4 -4
- package/dist/openspec-compat.mjs +2 -2
- package/dist/{openspec-projection-46QLZ6b8.d.mts → openspec-projection-MyG567IF.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-Btqm5OhC.d.mts → opsx-entity-BsYtWdkc.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-C4VyWZ8B.d.mts → opsx-schema-detail-Cbg1qHlw.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-hVFHL9Cb.d.mts → opsx-types-8fxRIEhj.d.mts} +102 -80
- package/dist/{planning-cli-projection-BUU26bEw.mjs → planning-cli-projection-CttkbBh9.mjs} +11 -3
- package/dist/planning-cli-projection.d.mts +18 -18
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-Ce7B_SNx.d.mts → schemas-CdprtB2t.d.mts} +112 -112
- package/dist/{sounds-DzDkqTIX.d.mts → sounds-BCmBc3Lm.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-DshONoJ9.mjs → spec-catalog-DYJ4dxTY.mjs} +1 -1
- package/dist/spec-catalog.d.mts +18 -18
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-mutation-protocol-DHjp76v0.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +48 -48
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-vKTsXtfb.d.mts → store-types-Ch6RIfO6.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-C6kc0fbX.d.mts → terminal-audio-uas32Aa-.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-zNp8J57-.d.mts → terminal-invocation-DSEgzEiU.d.mts} +125 -125
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-DZO_bY1X.d.mts → translator-2hRDPD9f.d.mts} +61 -61
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as CliJsonValue, Ft as CliRootSource, Lt as CliExecutor, Rt as CliResult, Tt as CliDiagnostic, f as CliDoctor, kt as CliDoctorReferenceEntry, l as OpenSpecCliContractExecutor, n as CliRootSelector, u as CliContext, xt as CliCommandResult } from "./index-
|
|
1
|
+
import { Ct as CliJsonValue, Ft as CliRootSource, Lt as CliExecutor, Rt as CliResult, Tt as CliDiagnostic, f as CliDoctor, kt as CliDoctorReferenceEntry, l as OpenSpecCliContractExecutor, n as CliRootSelector, u as CliContext, xt as CliCommandResult } from "./index-zESQZeBd.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/open-spec-data-scope.d.ts
|
|
@@ -551,8 +551,6 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
551
551
|
filePath: z.ZodString;
|
|
552
552
|
revision: z.ZodString;
|
|
553
553
|
}, "strict", z.ZodTypeAny, {
|
|
554
|
-
mode: "structured";
|
|
555
|
-
revision: string;
|
|
556
554
|
update: {
|
|
557
555
|
schema: string;
|
|
558
556
|
context: string | null;
|
|
@@ -566,11 +564,11 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
566
564
|
} | null;
|
|
567
565
|
} | null;
|
|
568
566
|
};
|
|
567
|
+
mode: "structured";
|
|
568
|
+
revision: string;
|
|
569
569
|
filePath: string;
|
|
570
570
|
ownerPath: string;
|
|
571
571
|
}, {
|
|
572
|
-
mode: "structured";
|
|
573
|
-
revision: string;
|
|
574
572
|
update: {
|
|
575
573
|
schema: string;
|
|
576
574
|
context: string | null;
|
|
@@ -584,6 +582,8 @@ declare const ActiveRootMutationSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
584
582
|
} | null;
|
|
585
583
|
} | null;
|
|
586
584
|
};
|
|
585
|
+
mode: "structured";
|
|
586
|
+
revision: string;
|
|
587
587
|
filePath: string;
|
|
588
588
|
ownerPath: string;
|
|
589
589
|
}>, z.ZodObject<{
|
|
@@ -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-zESQZeBd.mjs";
|
|
2
|
+
import "./document-translation-DM2eydNr.mjs";
|
|
3
|
+
import "./sounds-BCmBc3Lm.mjs";
|
|
4
|
+
import "./notifications-DwiGoWFM.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-_ZXqUzpc.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 };
|
|
@@ -302,21 +302,21 @@ declare const AppDaemonStartManagedProjectResponseSchema: z.ZodDiscriminatedUnio
|
|
|
302
302
|
code: z.ZodEnum<["UNSUPPORTED", "INVALID_DIRECTORY", "SPAWN_FAILED", "GENERATION_MISMATCH", "INVALID_REQUEST"]>;
|
|
303
303
|
message: z.ZodString;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
code: "
|
|
305
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
306
306
|
message: string;
|
|
307
307
|
}, {
|
|
308
|
-
code: "
|
|
308
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
309
309
|
message: string;
|
|
310
310
|
}>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
error: {
|
|
313
|
-
code: "
|
|
313
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
314
314
|
message: string;
|
|
315
315
|
};
|
|
316
316
|
ok: false;
|
|
317
317
|
}, {
|
|
318
318
|
error: {
|
|
319
|
-
code: "
|
|
319
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
320
320
|
message: string;
|
|
321
321
|
};
|
|
322
322
|
ok: false;
|
|
@@ -338,21 +338,21 @@ declare const AppDaemonStopManagedProjectResponseSchema: z.ZodDiscriminatedUnion
|
|
|
338
338
|
code: z.ZodEnum<["UNSUPPORTED", "INVALID_DIRECTORY", "SPAWN_FAILED", "GENERATION_MISMATCH", "INVALID_REQUEST"]>;
|
|
339
339
|
message: z.ZodString;
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
|
-
code: "
|
|
341
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
342
342
|
message: string;
|
|
343
343
|
}, {
|
|
344
|
-
code: "
|
|
344
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
345
345
|
message: string;
|
|
346
346
|
}>;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
348
|
error: {
|
|
349
|
-
code: "
|
|
349
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
350
350
|
message: string;
|
|
351
351
|
};
|
|
352
352
|
ok: false;
|
|
353
353
|
}, {
|
|
354
354
|
error: {
|
|
355
|
-
code: "
|
|
355
|
+
code: "UNSUPPORTED" | "INVALID_DIRECTORY" | "SPAWN_FAILED" | "GENERATION_MISMATCH" | "INVALID_REQUEST";
|
|
356
356
|
message: string;
|
|
357
357
|
};
|
|
358
358
|
ok: false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as CliJsonValue, xt as CliCommandResult } from "./index-
|
|
1
|
+
import { Ct as CliJsonValue, xt as CliCommandResult } from "./index-zESQZeBd.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/cli-projection.d.ts
|
|
@@ -216,20 +216,20 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
|
|
|
216
216
|
invalidationCause: z.ZodEnum<["initial", "dependency", "explicit-refresh", "subscriber-resume"]>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
error: null;
|
|
219
|
-
identity: string;
|
|
220
219
|
state: "loading";
|
|
221
220
|
data: null;
|
|
222
221
|
freshness: null;
|
|
223
222
|
snapshotGeneration: null;
|
|
223
|
+
identity: string;
|
|
224
224
|
workGeneration: number;
|
|
225
225
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
226
226
|
}, {
|
|
227
227
|
error: null;
|
|
228
|
-
identity: string;
|
|
229
228
|
state: "loading";
|
|
230
229
|
data: null;
|
|
231
230
|
freshness: null;
|
|
232
231
|
snapshotGeneration: null;
|
|
232
|
+
identity: string;
|
|
233
233
|
workGeneration: number;
|
|
234
234
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
235
235
|
}>, z.ZodObject<{
|
|
@@ -409,11 +409,11 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
|
|
|
409
409
|
contractError?: string | undefined;
|
|
410
410
|
} | null;
|
|
411
411
|
};
|
|
412
|
-
identity: string;
|
|
413
412
|
state: "error";
|
|
414
413
|
data: null;
|
|
415
414
|
freshness: null;
|
|
416
415
|
snapshotGeneration: null;
|
|
416
|
+
identity: string;
|
|
417
417
|
workGeneration: number;
|
|
418
418
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
419
419
|
}, {
|
|
@@ -436,11 +436,11 @@ declare function createCliProjectionStateSchema<TOutput, TInput>(dataSchema: z.Z
|
|
|
436
436
|
contractError?: string | undefined;
|
|
437
437
|
} | null;
|
|
438
438
|
};
|
|
439
|
-
identity: string;
|
|
440
439
|
state: "error";
|
|
441
440
|
data: null;
|
|
442
441
|
freshness: null;
|
|
443
442
|
snapshotGeneration: null;
|
|
443
|
+
identity: string;
|
|
444
444
|
workGeneration: number;
|
|
445
445
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
446
446
|
}>, z.ZodObject<{
|
|
@@ -761,15 +761,15 @@ 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
|
-
|
|
765
|
-
state: "error" | "ready" | "loading" | "revalidating" | "refresh-error";
|
|
764
|
+
state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
|
|
766
765
|
snapshotGeneration: number | null;
|
|
766
|
+
identity: string;
|
|
767
767
|
workGeneration: number;
|
|
768
768
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
769
769
|
}, {
|
|
770
|
-
|
|
771
|
-
state: "error" | "ready" | "loading" | "revalidating" | "refresh-error";
|
|
770
|
+
state: "error" | "loading" | "ready" | "revalidating" | "refresh-error";
|
|
772
771
|
snapshotGeneration: number | null;
|
|
772
|
+
identity: string;
|
|
773
773
|
workGeneration: number;
|
|
774
774
|
invalidationCause: "initial" | "dependency" | "explicit-refresh" | "subscriber-resume";
|
|
775
775
|
}>;
|
|
@@ -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-zESQZeBd.mjs";
|
|
2
|
+
import "./document-translation-DM2eydNr.mjs";
|
|
3
|
+
import "./sounds-BCmBc3Lm.mjs";
|
|
4
|
+
import "./notifications-DwiGoWFM.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-D932MJzB.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-
|
|
6
|
+
* Orthogonal intents (updated 2026-09-12 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`.
|
|
@@ -17,12 +17,17 @@ import { z } from "zod";
|
|
|
17
17
|
* the upstream-guaranteed invariants (non-empty per-item issues, returnedItems bounded
|
|
18
18
|
* by totalItems), and the union guard validates the discriminator shape rather than
|
|
19
19
|
* mere `report`-key presence.
|
|
20
|
+
* 8. Type the OpenSpec 1.13 Apply Instructions `missingPrerequisites` (build-order closure,
|
|
21
|
+
* present even when ready) and `warnings` (no-delta-specs advisory) as additive optional
|
|
22
|
+
* success members that never gain default empty arrays, never alter `state`/`progress`/
|
|
23
|
+
* `tasks`/`missingArtifacts` semantics, and stay verbatim CLI evidence.
|
|
20
24
|
*
|
|
21
25
|
* Original request (2026-07-15): "为不同命令建立强类型适配器,不实现平行解析规则。"
|
|
22
26
|
* Original request (2026-07-26): "展开全面的接口升级和内核升级和测试升级。"
|
|
23
27
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
24
28
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
25
29
|
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
30
|
+
* Original request (2026-09-12): "Openspec 1.13.0 释放了,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。让 codex 参与。"
|
|
26
31
|
*/
|
|
27
32
|
const CliChangeListEntrySchema = z.object({
|
|
28
33
|
name: z.string(),
|
|
@@ -214,6 +219,8 @@ const CliApplyInstructionsSuccessSchema = z.object({
|
|
|
214
219
|
"ready"
|
|
215
220
|
]),
|
|
216
221
|
missingArtifacts: z.array(z.string()).optional(),
|
|
222
|
+
missingPrerequisites: z.array(z.string()).optional(),
|
|
223
|
+
warnings: z.array(z.string()).optional(),
|
|
217
224
|
instruction: z.string(),
|
|
218
225
|
references: z.array(CliReferenceIndexEntrySchema).optional(),
|
|
219
226
|
context: z.string().optional(),
|