@openspecui/core 6.2.1 → 7.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-BXb2HeOF.d.mts +668 -0
- package/dist/active-root-config-L5QaMb3A.mjs +333 -0
- package/dist/active-root-config.d.mts +6 -0
- package/dist/active-root-config.mjs +3 -0
- package/dist/{cli-projection-Cus0QYkY.d.mts → cli-projection-CBwRFPMi.d.mts} +1 -1
- package/dist/{cli-projection-BHfqvlpA.mjs → cli-projection-CKRwTvwf.mjs} +1 -1
- package/dist/cli-projection.d.mts +5 -5
- package/dist/cli-projection.mjs +2 -2
- package/dist/{common-BpgNUOOT.mjs → common-BRL_34xt.mjs} +2 -1
- package/dist/{dashboard-summary-transport-ByWMiUWn.d.mts → dashboard-summary-transport-BCaB0LKb.d.mts} +1925 -1133
- package/dist/{dashboard-summary-transport-BMtZ0q12.mjs → dashboard-summary-transport-ILCfZD_I.mjs} +2 -2
- package/dist/dashboard-summary-transport.d.mts +26 -25
- package/dist/dashboard-summary-transport.mjs +4 -4
- package/dist/{document-translation-CUkkxnYV.mjs → document-translation-B3xaP0dJ.mjs} +1 -1
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-C3gBSvov.mjs → hosted-app-B_T_tTvO.mjs} +7 -2
- package/dist/hosted-app.d.mts +27 -26
- package/dist/hosted-app.mjs +7 -7
- package/dist/{hosted-contract-CaN2aw54.mjs → hosted-contract-BxUx6ksP.mjs} +5 -5
- package/dist/hosted-contract.d.mts +26 -25
- package/dist/hosted-contract.mjs +6 -6
- package/dist/{command-result-BkUqqa0m.d.mts → index-CF5niw80.d.mts} +8119 -7978
- package/dist/index.d.mts +27 -26
- package/dist/index.mjs +904 -332
- package/dist/{local-download-profiles-Detliqbu.d.mts → local-download-profiles-Bq0bQbTA.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-w686Obnl.d.mts → markdown-reading--Sr6JAl5.d.mts} +1 -1
- package/dist/{markdown-reading-0L-mVBJp.mjs → markdown-reading-LtgFpB8E.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-COeXWb2h.d.mts → notifications-ClhEHZU3.d.mts} +4 -4
- package/dist/{notifications-E6_WBjQO.mjs → notifications-Cy74GVN7.mjs} +2 -2
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-DiHje5HD.mjs → openspec-annotations-BJ1BlVyo.mjs} +2 -2
- package/dist/{openspec-annotations-BXAqKLXc.d.mts → openspec-annotations-BylPW5rz.d.mts} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +14 -14
- package/dist/openspec-compat.mjs +18 -32
- package/dist/{openspec-projection-DvJnsxLZ.mjs → openspec-projection-Cno7FlwE.mjs} +2 -2
- package/dist/{openspec-projection-BwPchxIq.d.mts → openspec-projection-EgTIZCfC.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-D3aLGfC7.d.mts → opsx-entity-BNthD6Ks.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-DJ9QKFSH.d.mts → opsx-schema-detail-B4li4BMU.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/{opsx-types-BJTT7C4w.d.mts → opsx-types-DP8JjGq0.d.mts} +361 -112
- package/dist/opsx-workflows.d.mts +1 -1
- package/dist/opsx-workflows.mjs +1 -1
- package/dist/{planning-cli-projection-DrkT18EI.mjs → planning-cli-projection-BreqsrYA.mjs} +51 -11
- package/dist/planning-cli-projection.d.mts +26 -25
- package/dist/planning-cli-projection.mjs +7 -7
- package/dist/{schemas-DKF6kaQ3.d.mts → schemas-divIlNvA.d.mts} +92 -92
- package/dist/{sounds-CsPiQKxX.d.mts → sounds-qIKfPgxj.d.mts} +1 -1
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/{spec-catalog-Dv2qolxy.mjs → spec-catalog-DEk_oHAx.mjs} +99 -18
- package/dist/spec-catalog.d.mts +27 -26
- package/dist/spec-catalog.mjs +5 -5
- package/dist/{store-content-projection-CiMcGZnG.mjs → store-content-projection-Bpdb7_d9.mjs} +1 -1
- package/dist/store-content-projection.d.mts +1 -1
- package/dist/store-content-projection.mjs +2 -2
- package/dist/{store-mutation-protocol-CLtYUSwC.mjs → store-mutation-protocol-CJGUWWI6.mjs} +1 -1
- package/dist/{store-mutation-protocol-ZUGSy1a0.d.mts → store-mutation-protocol-Cr4pWWbh.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/store-mutation-protocol.mjs +2 -2
- package/dist/{store-types-B42Br9lz.d.mts → store-types-DjWxHHvs.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/store-types.mjs +1 -1
- package/dist/{task-progress-DpZak5xA.mjs → task-progress-Bvid_Ws8.mjs} +1 -1
- package/dist/task-progress.d.mts +6 -6
- package/dist/task-progress.mjs +2 -2
- package/dist/{terminal-audio-BXa1vpkF.d.mts → terminal-audio-CSUGxzx3.d.mts} +2 -2
- package/dist/{terminal-audio-punFQHXI.mjs → terminal-audio-DeubAfFC.mjs} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-Bkic6avG.d.mts → terminal-invocation-kFxUD_5T.d.mts} +26 -26
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +15 -5
- /package/dist/{document-translation-J_NddeDy.d.mts → document-translation-BNbM3fEj.d.mts} +0 -0
- /package/dist/{local-download-profiles-DK4g6FRe.mjs → local-download-profiles-h9lUTXr-.mjs} +0 -0
- /package/dist/{markdown-facts-Dve6IAJP.mjs → markdown-facts-BIx47NNY.mjs} +0 -0
- /package/dist/{markdown-facts-C9yWB2I9.d.mts → markdown-facts-DLclHfpE.d.mts} +0 -0
- /package/dist/{opsx-display-path-eWJ4ve-O.d.mts → opsx-display-path-BD34M8QV.d.mts} +0 -0
- /package/dist/{opsx-display-path-DuPEvPV0.mjs → opsx-display-path-ocbNzMZj.mjs} +0 -0
- /package/dist/{opsx-entity-Br5S5N0o.mjs → opsx-entity-BnO3k48r.mjs} +0 -0
- /package/dist/{opsx-schema-detail-CckZIEVr.mjs → opsx-schema-detail-zk8ePaKK.mjs} +0 -0
- /package/dist/{opsx-workflows-Bhh_bI-e.d.mts → opsx-workflows-DX1r6e5j.d.mts} +0 -0
- /package/dist/{opsx-workflows-GPZSe1C_.mjs → opsx-workflows-byPfLlo8.mjs} +0 -0
- /package/dist/{schemas-BrS9qSB3.mjs → schemas-CMThmKx1.mjs} +0 -0
- /package/dist/{sounds-na4c8j0c.mjs → sounds-6prQvKXl.mjs} +0 -0
- /package/dist/{store-content-projection-BPDCma8v.d.mts → store-content-projection-R74MV_sD.d.mts} +0 -0
- /package/dist/{store-types-Cs40yohL.mjs → store-types-CvpEVNoE.mjs} +0 -0
- /package/dist/{terminal-control-BvoxwQ6m.mjs → terminal-control-c6oS-lFb.mjs} +0 -0
- /package/dist/{terminal-invocation-BexVY5E2.mjs → terminal-invocation-DIpoFYDo.mjs} +0 -0
- /package/dist/{terminal-theme-DIhzj5Si.mjs → terminal-theme-Byzxmnjm.mjs} +0 -0
- /package/dist/{terminal-theme-BzARb2Do.d.mts → terminal-theme-DX08Gci8.d.mts} +0 -0
- /package/dist/{translation-language-pair-DeAiww3_.d.mts → translation-language-pair-BR5uxGm-.d.mts} +0 -0
- /package/dist/{translation-language-pair-BV2cGjfv.mjs → translation-language-pair-DG9mOuFD.mjs} +0 -0
- /package/dist/{translator-DCCZeHt1.mjs → translator-CEGdRmKw.mjs} +0 -0
- /package/dist/{translator-D_V2ZFPP.d.mts → translator-DgIIyl6v.d.mts} +0 -0
|
@@ -1,9 +1,47 @@
|
|
|
1
|
-
import { l as SpecSchema } from "./schemas-
|
|
2
|
-
import { a as CliRootSchema, i as CliReferenceIndexEntrySchema, n as CliDiagnosticSchema, r as CliDoctorReferenceEntrySchema, t as CliDiagnosticFailureSchema } from "./common-
|
|
3
|
-
import { r as CliProjectionCommandEvidenceSchema } from "./cli-projection-
|
|
1
|
+
import { l as SpecSchema } from "./schemas-CMThmKx1.mjs";
|
|
2
|
+
import { a as CliRootSchema, i as CliReferenceIndexEntrySchema, n as CliDiagnosticSchema, r as CliDoctorReferenceEntrySchema, t as CliDiagnosticFailureSchema } from "./common-BRL_34xt.mjs";
|
|
3
|
+
import { r as CliProjectionCommandEvidenceSchema } from "./cli-projection-CKRwTvwf.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { match } from "ts-pattern";
|
|
6
6
|
|
|
7
|
+
//#region src/entity-id.ts
|
|
8
|
+
const MAX_OPENSPEC_SPEC_ID_LENGTH = 4096;
|
|
9
|
+
const MAX_OPENSPEC_SPEC_ID_DECODE_DEPTH = 8;
|
|
10
|
+
/** Return one path-safe OpenSpec entity id or reject it before filesystem access. */
|
|
11
|
+
function requireCanonicalOpenSpecEntityId(value, field) {
|
|
12
|
+
if (value.length === 0 || value !== value.trim() || value === "." || value === ".." || value.includes("/") || value.includes("\\") || value.includes("\0")) throw new Error(`Invalid ${field}: expected one canonical path segment.`);
|
|
13
|
+
return value;
|
|
14
|
+
}
|
|
15
|
+
function assertCanonicalSpecPath(value) {
|
|
16
|
+
const segments = value.split("/");
|
|
17
|
+
if (value.length === 0 || value !== value.trim() || value.includes("\\") || value.includes("\0") || value.startsWith("/") || /^[A-Za-z]:/.test(value) || segments.some((segment) => segment.length === 0 || segment === "." || segment === "..")) throw new Error("Invalid specId: expected a canonical recursive Spec path.");
|
|
18
|
+
}
|
|
19
|
+
/** Return one canonical slash-separated Spec id or reject raw and encoded traversal. */
|
|
20
|
+
function requireCanonicalOpenSpecSpecId(value) {
|
|
21
|
+
if (value.length > MAX_OPENSPEC_SPEC_ID_LENGTH) throw new Error("Invalid specId: recursive Spec path exceeds the supported length.");
|
|
22
|
+
let candidate = value;
|
|
23
|
+
for (let depth = 0; depth < MAX_OPENSPEC_SPEC_ID_DECODE_DEPTH; depth += 1) {
|
|
24
|
+
assertCanonicalSpecPath(candidate);
|
|
25
|
+
try {
|
|
26
|
+
const decoded = decodeURIComponent(candidate);
|
|
27
|
+
if (decoded === candidate) return value;
|
|
28
|
+
candidate = decoded;
|
|
29
|
+
} catch {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
throw new Error("Invalid specId: encoded Spec path exceeds the supported decode depth.");
|
|
34
|
+
}
|
|
35
|
+
/** Return one normalized entity-relative path or glob without parent traversal. */
|
|
36
|
+
function requireOpenSpecEntityRelativePath(value, field) {
|
|
37
|
+
const normalizedSeparators = value.replace(/\\/g, "/");
|
|
38
|
+
if (normalizedSeparators.length === 0 || normalizedSeparators.includes("\0") || normalizedSeparators.startsWith("/") || /^[A-Za-z]:/.test(normalizedSeparators) || normalizedSeparators.split("/").includes("..")) throw new Error(`Invalid ${field}: expected an entity-relative path.`);
|
|
39
|
+
const normalizedPath = normalizedSeparators.split("/").filter((segment) => segment.length > 0 && segment !== ".").join("/");
|
|
40
|
+
if (!normalizedPath) throw new Error(`Invalid ${field}: expected an entity-relative path.`);
|
|
41
|
+
return normalizedPath;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
7
45
|
//#region src/cli-contracts/command-result.ts
|
|
8
46
|
/**
|
|
9
47
|
* Orthogonal intents (created 2026-07-15 Asia/Shanghai):
|
|
@@ -188,11 +226,11 @@ const CliStoreCommandFailureSchema = z.union([
|
|
|
188
226
|
//#endregion
|
|
189
227
|
//#region src/cli-contracts/workflow.ts
|
|
190
228
|
/**
|
|
191
|
-
* Orthogonal intents (updated 2026-
|
|
229
|
+
* Orthogonal intents (updated 2026-08-01 Asia/Shanghai):
|
|
192
230
|
* 1. Model camelCase workflow JSON independently from Store-family JSON.
|
|
193
231
|
* 2. Preserve strict validate and archive outcomes, including failure payloads.
|
|
194
232
|
* 3. Preserve multiline requirement bodies from `show --json`.
|
|
195
|
-
* 4. Preserve complete OpenSpec 1.
|
|
233
|
+
* 4. Preserve complete OpenSpec 1.7 Status and operation-Instruction contracts as CLI facts.
|
|
196
234
|
* 5. Export the successful Spec-document schema for browser-safe projection validation.
|
|
197
235
|
*
|
|
198
236
|
* Original request (2026-07-15): "为不同命令建立强类型适配器,不实现平行解析规则。"
|
|
@@ -317,9 +355,11 @@ const CliStatusArtifactSchema = z.object({
|
|
|
317
355
|
outputPath: z.string(),
|
|
318
356
|
status: z.enum([
|
|
319
357
|
"done",
|
|
358
|
+
"skipped",
|
|
320
359
|
"ready",
|
|
321
360
|
"blocked"
|
|
322
361
|
]),
|
|
362
|
+
requires: z.array(z.string()),
|
|
323
363
|
missingDeps: z.array(z.string()).optional()
|
|
324
364
|
}).passthrough();
|
|
325
365
|
/** Complete successful Status payload for one OpenSpec change. */
|
|
@@ -342,7 +382,8 @@ const CliInstructionDependencySchema = z.object({
|
|
|
342
382
|
id: z.string(),
|
|
343
383
|
done: z.boolean(),
|
|
344
384
|
path: z.string(),
|
|
345
|
-
description: z.string()
|
|
385
|
+
description: z.string(),
|
|
386
|
+
skipped: z.boolean().optional()
|
|
346
387
|
}).passthrough();
|
|
347
388
|
/** Complete successful artifact Instructions payload. */
|
|
348
389
|
const CliArtifactInstructionsSuccessSchema = z.object({
|
|
@@ -391,10 +432,21 @@ const CliApplyInstructionsSuccessSchema = z.object({
|
|
|
391
432
|
missingArtifacts: z.array(z.string()).optional(),
|
|
392
433
|
instruction: z.string(),
|
|
393
434
|
references: z.array(CliReferenceIndexEntrySchema).optional(),
|
|
435
|
+
context: z.string().optional(),
|
|
436
|
+
operationGuidance: z.array(z.string()).optional(),
|
|
394
437
|
root: CliRootSchema
|
|
395
438
|
}).passthrough();
|
|
396
439
|
/** Typed success or diagnostic failure result of the CLI Apply Instructions command. */
|
|
397
440
|
const CliApplyInstructionsSchema = z.union([CliApplyInstructionsSuccessSchema, CliDiagnosticFailureSchema]);
|
|
441
|
+
/** Complete successful Archive Instructions payload for the selected Root. */
|
|
442
|
+
const CliArchiveInstructionsSuccessSchema = z.object({
|
|
443
|
+
changeName: z.string(),
|
|
444
|
+
context: z.string().optional(),
|
|
445
|
+
operationGuidance: z.array(z.string()).optional(),
|
|
446
|
+
root: CliRootSchema
|
|
447
|
+
}).passthrough();
|
|
448
|
+
/** Typed success or diagnostic failure result of the CLI Archive Instructions command. */
|
|
449
|
+
const CliArchiveInstructionsSchema = z.union([CliArchiveInstructionsSuccessSchema, CliDiagnosticFailureSchema]);
|
|
398
450
|
const CliValidationIssueSchema = z.object({
|
|
399
451
|
level: z.enum([
|
|
400
452
|
"ERROR",
|
|
@@ -534,6 +586,16 @@ var OpenSpecCliContractExecutor = class {
|
|
|
534
586
|
"--json"
|
|
535
587
|
], options), CliApplyInstructionsSchema);
|
|
536
588
|
}
|
|
589
|
+
/** Read complete Archive Instructions evidence for one change. */
|
|
590
|
+
async archiveInstructions(changeId, options = {}) {
|
|
591
|
+
return this.execute(this.withWorkflowOptions([
|
|
592
|
+
"instructions",
|
|
593
|
+
"archive",
|
|
594
|
+
"--change",
|
|
595
|
+
changeId,
|
|
596
|
+
"--json"
|
|
597
|
+
], options), CliArchiveInstructionsSchema);
|
|
598
|
+
}
|
|
537
599
|
/** Inspect selected-root, Store, and Reference health through CLI Doctor. */
|
|
538
600
|
async doctorRoot(selector = {}) {
|
|
539
601
|
return this.execute(this.withRoot(["doctor", "--json"], selector), CliDoctorSchema);
|
|
@@ -632,25 +694,37 @@ var OpenSpecCliContractExecutor = class {
|
|
|
632
694
|
//#endregion
|
|
633
695
|
//#region src/spec-catalog.ts
|
|
634
696
|
/**
|
|
635
|
-
* Orthogonal intents (updated 2026-
|
|
697
|
+
* Orthogonal intents (updated 2026-08-01 Asia/Shanghai):
|
|
636
698
|
* 1. Define collision-safe owned and referenced Spec identity.
|
|
637
699
|
* 2. Build one source-aware live/static Spec Catalog with CLI-owned membership and source-exact provenance.
|
|
638
|
-
* 3. Define
|
|
639
|
-
* 4.
|
|
700
|
+
* 3. Define shared route, cache, and display-path projections for complete recursive identities.
|
|
701
|
+
* 4. Define source-distinct Spec detail projections without inventing upstream or snapshot fields.
|
|
702
|
+
* 5. Publish browser-safe Catalog/document runtime schemas for typed Projection Pull.
|
|
640
703
|
*
|
|
641
704
|
* Original request (2026-07-15): "Live and static modes share one source-aware Spec Catalog."
|
|
642
705
|
* Original request (2026-07-26): "展开全面的接口升级和内核升级和测试升级。"
|
|
706
|
+
* Original request (2026-08-01): adapt OpenSpec 1.7 nested Spec ids such as `platform/auth`.
|
|
643
707
|
*/
|
|
708
|
+
const RecursiveSpecIdSchema = z.string().superRefine((value, context) => {
|
|
709
|
+
try {
|
|
710
|
+
requireCanonicalOpenSpecSpecId(value);
|
|
711
|
+
} catch (error) {
|
|
712
|
+
context.addIssue({
|
|
713
|
+
code: z.ZodIssueCode.custom,
|
|
714
|
+
message: error instanceof Error ? error.message : "Invalid specId."
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
});
|
|
644
718
|
/** Runtime validator for one writable owned Spec identity. */
|
|
645
719
|
const OwnedSpecIdentitySchema = z.object({
|
|
646
720
|
kind: z.literal("owned"),
|
|
647
|
-
specId:
|
|
721
|
+
specId: RecursiveSpecIdSchema
|
|
648
722
|
});
|
|
649
723
|
/** Runtime validator for one Store-qualified read-only Spec identity. */
|
|
650
724
|
const ReferencedSpecIdentitySchema = z.object({
|
|
651
725
|
kind: z.literal("referenced"),
|
|
652
726
|
storeId: z.string().min(1),
|
|
653
|
-
specId:
|
|
727
|
+
specId: RecursiveSpecIdSchema
|
|
654
728
|
});
|
|
655
729
|
/** Runtime validator for the complete compound Spec identity union. */
|
|
656
730
|
const SpecIdentitySchema = z.discriminatedUnion("kind", [OwnedSpecIdentitySchema, ReferencedSpecIdentitySchema]);
|
|
@@ -831,24 +905,31 @@ const SpecDocumentProjectionSchema = z.union([
|
|
|
831
905
|
]);
|
|
832
906
|
/** Build a collision-safe cache/search key for a compound Spec identity. */
|
|
833
907
|
function specIdentityKey(identity) {
|
|
834
|
-
const
|
|
835
|
-
|
|
908
|
+
const parsed = SpecIdentitySchema.parse(identity);
|
|
909
|
+
const specId = encodeURIComponent(parsed.specId);
|
|
910
|
+
return parsed.kind === "owned" ? `owned:${specId}` : `referenced:${encodeURIComponent(parsed.storeId)}:${specId}`;
|
|
836
911
|
}
|
|
837
912
|
/** Build the canonical live/static route for a compound Spec identity. */
|
|
838
913
|
function specRoutePath(identity) {
|
|
839
|
-
const
|
|
840
|
-
|
|
914
|
+
const parsed = SpecIdentitySchema.parse(identity);
|
|
915
|
+
const specId = encodeURIComponent(parsed.specId);
|
|
916
|
+
return parsed.kind === "owned" ? `/specs/owned/${specId}` : `/specs/referenced/${encodeURIComponent(parsed.storeId)}/${specId}`;
|
|
917
|
+
}
|
|
918
|
+
/** Build the shared user-visible document path for live and static search results. */
|
|
919
|
+
function specDocumentDisplayPath(identity) {
|
|
920
|
+
const parsed = SpecIdentitySchema.parse(identity);
|
|
921
|
+
return parsed.kind === "owned" ? `owned:openspec/specs/${parsed.specId}/spec.md` : `referenced:${parsed.storeId}:specs/${parsed.specId}/spec.md`;
|
|
841
922
|
}
|
|
842
923
|
/** Recover compound Spec identity from canonical route parameters. */
|
|
843
924
|
function specIdentityFromRoute(params) {
|
|
844
|
-
return params.storeId === void 0 ? {
|
|
925
|
+
return SpecIdentitySchema.parse(params.storeId === void 0 ? {
|
|
845
926
|
kind: "owned",
|
|
846
927
|
specId: params.specId
|
|
847
928
|
} : {
|
|
848
929
|
kind: "referenced",
|
|
849
930
|
storeId: params.storeId,
|
|
850
931
|
specId: params.specId
|
|
851
|
-
};
|
|
932
|
+
});
|
|
852
933
|
}
|
|
853
934
|
/** Merge already projected owned and referenced entries without bare-id deduplication. */
|
|
854
935
|
function mergeSpecCatalog(owned, referenced, ownedProjection, referenceSources, observedAt, referenceProjection = { provenance: "live" }) {
|
|
@@ -898,4 +979,4 @@ function isReferencedSpecIdentity(identity) {
|
|
|
898
979
|
}
|
|
899
980
|
|
|
900
981
|
//#endregion
|
|
901
|
-
export {
|
|
982
|
+
export { CliSchemaInfoSchema as A, CliWorkflowStatusSuccessSchema as B, CliArchiveInstructionsSuccessSchema as C, CliArtifactPathSchema as D, CliArtifactInstructionsSuccessSchema as E, CliShowSpecSchema as F, CliStoreDoctorSchema as G, CliDoctorSchema as H, CliSpecListSchema as I, CliStoreSchema as J, CliStoreListSchema as K, CliTemplateEntrySchema as L, CliSchemaShadowSchema as M, CliSchemasSchema as N, CliChangeListSchema as O, CliShowSpecDocumentSchema as P, requireOpenSpecEntityRelativePath as Q, CliValidateSchema as R, CliArchiveInstructionsSchema as S, CliArtifactInstructionsSchema as T, CliStoreCleanupSchema as U, CliContextSchema as V, CliStoreDoctorEntrySchema as W, requireCanonicalOpenSpecEntityId as X, parseCliCommandResult as Y, requireCanonicalOpenSpecSpecId as Z, specRoutePath as _, SpecDocumentProjectionSchema as a, CliApplyInstructionsSchema as b, createStaticSpecCatalogOwnedProjection as c, getSpecCatalogEntry as d, isReferencedSpecIdentity as f, specIdentityKey as g, specIdentityFromRoute as h, SpecCommandEvidenceSchema as i, CliSchemaResolutionSchema as j, CliPlanningHomeSchema as k, createStaticSpecCatalogReferenceProjection as l, specDocumentDisplayPath as m, ReferencedSpecIdentitySchema as n, SpecIdentitySchema as o, mergeSpecCatalog as p, CliStoreMutationSchema as q, SpecCatalogSchema as r, buildSpecCatalog as s, OwnedSpecIdentitySchema as t, createStaticSpecCatalogReferenceSource as u, OpenSpecCliContractExecutor as v, CliArchiveSchema as w, CliApplyInstructionsSuccessSchema as x, CliActionContextSchema as y, CliWorkflowStatusSchema as z };
|
package/dist/spec-catalog.d.mts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./opsx-
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./markdown-
|
|
12
|
-
import "./
|
|
13
|
-
import "./openspec-
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./store-
|
|
23
|
-
import "./
|
|
24
|
-
import "./terminal-
|
|
25
|
-
import "./
|
|
26
|
-
|
|
1
|
+
import "./document-translation-BNbM3fEj.mjs";
|
|
2
|
+
import "./sounds-qIKfPgxj.mjs";
|
|
3
|
+
import "./notifications-ClhEHZU3.mjs";
|
|
4
|
+
import "./index-CF5niw80.mjs";
|
|
5
|
+
import "./active-root-config-BXb2HeOF.mjs";
|
|
6
|
+
import "./cli-projection-CBwRFPMi.mjs";
|
|
7
|
+
import "./schemas-divIlNvA.mjs";
|
|
8
|
+
import "./opsx-types-DP8JjGq0.mjs";
|
|
9
|
+
import "./opsx-entity-BNthD6Ks.mjs";
|
|
10
|
+
import { $a as SpecCatalogOwnedProjection, Ba as LiveSpecCatalogOwnedProjection, Co as specRoutePath, Ga as OwnedSpecIdentity, Ha as LiveSpecCatalogReferenceSource, Ja as ReferencedSpecDocumentProjection, Ka as OwnedSpecIdentitySchema, Qa as SpecCatalogEntry, Ra as CliShowSpecDocument, So as specIdentityKey, Ua as OwnedSpecCatalogEntry, Va as LiveSpecCatalogReferenceProjection, Wa as OwnedSpecDocumentProjection, Xa as ReferencedSpecIdentitySchema, Ya as ReferencedSpecIdentity, Za as SpecCatalog, _o as getSpecCatalogEntry, ao as SpecDocumentProjection, bo as specDocumentDisplayPath, co as SpecIdentitySchema, do as StaticSpecCatalogReferenceProjection, eo as SpecCatalogReferenceProjection, fo as StaticSpecCatalogReferenceSource, go as createStaticSpecCatalogReferenceSource, ho as createStaticSpecCatalogReferenceProjection, io as SpecCommandEvidenceSchema, lo as StaticReferencedSpecDocumentProjection, mo as createStaticSpecCatalogOwnedProjection, no as SpecCatalogSchema, oo as SpecDocumentProjectionSchema, po as buildSpecCatalog, qa as ReferencedSpecCatalogEntry, ro as SpecCommandEvidence, so as SpecIdentity, to as SpecCatalogReferenceSource, uo as StaticSpecCatalogOwnedProjection, vo as isReferencedSpecIdentity, xo as specIdentityFromRoute, yo as mergeSpecCatalog, za as LiveReferencedSpecDocumentProjection } from "./dashboard-summary-transport-BCaB0LKb.mjs";
|
|
11
|
+
import "./markdown-facts-DLclHfpE.mjs";
|
|
12
|
+
import "./markdown-reading--Sr6JAl5.mjs";
|
|
13
|
+
import "./openspec-annotations-BylPW5rz.mjs";
|
|
14
|
+
import "./openspec-projection-EgTIZCfC.mjs";
|
|
15
|
+
import "./translator-DgIIyl6v.mjs";
|
|
16
|
+
import "./terminal-audio-CSUGxzx3.mjs";
|
|
17
|
+
import "./local-download-profiles-Bq0bQbTA.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-Cr4pWWbh.mjs";
|
|
23
|
+
import "./store-types-DjWxHHvs.mjs";
|
|
24
|
+
import "./terminal-invocation-kFxUD_5T.mjs";
|
|
25
|
+
import "./terminal-theme-DX08Gci8.mjs";
|
|
26
|
+
import "./opsx-schema-detail-B4li4BMU.mjs";
|
|
27
|
+
export { CliShowSpecDocument, LiveReferencedSpecDocumentProjection, LiveSpecCatalogOwnedProjection, LiveSpecCatalogReferenceProjection, LiveSpecCatalogReferenceSource, OwnedSpecCatalogEntry, OwnedSpecDocumentProjection, OwnedSpecIdentity, OwnedSpecIdentitySchema, ReferencedSpecCatalogEntry, ReferencedSpecDocumentProjection, ReferencedSpecIdentity, ReferencedSpecIdentitySchema, SpecCatalog, SpecCatalogEntry, SpecCatalogOwnedProjection, SpecCatalogReferenceProjection, SpecCatalogReferenceSource, SpecCatalogSchema, SpecCommandEvidence, SpecCommandEvidenceSchema, SpecDocumentProjection, SpecDocumentProjectionSchema, SpecIdentity, SpecIdentitySchema, StaticReferencedSpecDocumentProjection, StaticSpecCatalogOwnedProjection, StaticSpecCatalogReferenceProjection, StaticSpecCatalogReferenceSource, buildSpecCatalog, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, getSpecCatalogEntry, isReferencedSpecIdentity, mergeSpecCatalog, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath };
|
package/dist/spec-catalog.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./cli-projection-
|
|
1
|
+
import { _ as specRoutePath, a as SpecDocumentProjectionSchema, c as createStaticSpecCatalogOwnedProjection, d as getSpecCatalogEntry, f as isReferencedSpecIdentity, g as specIdentityKey, h as specIdentityFromRoute, i as SpecCommandEvidenceSchema, l as createStaticSpecCatalogReferenceProjection, m as specDocumentDisplayPath, n as ReferencedSpecIdentitySchema, o as SpecIdentitySchema, p as mergeSpecCatalog, r as SpecCatalogSchema, s as buildSpecCatalog, t as OwnedSpecIdentitySchema, u as createStaticSpecCatalogReferenceSource } from "./spec-catalog-DEk_oHAx.mjs";
|
|
2
|
+
import "./schemas-CMThmKx1.mjs";
|
|
3
|
+
import "./common-BRL_34xt.mjs";
|
|
4
|
+
import "./cli-projection-CKRwTvwf.mjs";
|
|
5
5
|
|
|
6
|
-
export { OwnedSpecIdentitySchema, ReferencedSpecIdentitySchema, SpecCatalogSchema, SpecCommandEvidenceSchema, SpecDocumentProjectionSchema, SpecIdentitySchema, buildSpecCatalog, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, getSpecCatalogEntry, isReferencedSpecIdentity, mergeSpecCatalog, specIdentityFromRoute, specIdentityKey, specRoutePath };
|
|
6
|
+
export { OwnedSpecIdentitySchema, ReferencedSpecIdentitySchema, SpecCatalogSchema, SpecCommandEvidenceSchema, SpecDocumentProjectionSchema, SpecIdentitySchema, buildSpecCatalog, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, getSpecCatalogEntry, isReferencedSpecIdentity, mergeSpecCatalog, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as STORE_CONTENT_INSPECT_CAPABILITY, c as StoreContentChangeList, d as StoreContentKindSchema, f as StoreContentSpecEntry, h as StoreContentSpecListSchema, i as HostedStoreContentSpecsEnvelopeSchema, l as StoreContentChangeListSchema, m as StoreContentSpecList, n as HostedStoreContentChangesEnvelopeSchema, o as StoreContentChangeEntry, p as StoreContentSpecEntrySchema, r as HostedStoreContentSpecsEnvelope, s as StoreContentChangeEntrySchema, t as HostedStoreContentChangesEnvelope, u as StoreContentKind } from "./store-content-projection-
|
|
1
|
+
import { a as STORE_CONTENT_INSPECT_CAPABILITY, c as StoreContentChangeList, d as StoreContentKindSchema, f as StoreContentSpecEntry, h as StoreContentSpecListSchema, i as HostedStoreContentSpecsEnvelopeSchema, l as StoreContentChangeListSchema, m as StoreContentSpecList, n as HostedStoreContentChangesEnvelopeSchema, o as StoreContentChangeEntry, p as StoreContentSpecEntrySchema, r as HostedStoreContentSpecsEnvelope, s as StoreContentChangeEntrySchema, t as HostedStoreContentChangesEnvelope, u as StoreContentKind } from "./store-content-projection-R74MV_sD.mjs";
|
|
2
2
|
export { HostedStoreContentChangesEnvelope, HostedStoreContentChangesEnvelopeSchema, HostedStoreContentSpecsEnvelope, HostedStoreContentSpecsEnvelopeSchema, STORE_CONTENT_INSPECT_CAPABILITY, StoreContentChangeEntry, StoreContentChangeEntrySchema, StoreContentChangeList, StoreContentChangeListSchema, StoreContentKind, StoreContentKindSchema, StoreContentSpecEntry, StoreContentSpecEntrySchema, StoreContentSpecList, StoreContentSpecListSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./store-types-
|
|
2
|
-
import { a as StoreContentChangeListSchema, c as StoreContentSpecListSchema, i as StoreContentChangeEntrySchema, n as HostedStoreContentSpecsEnvelopeSchema, o as StoreContentKindSchema, r as STORE_CONTENT_INSPECT_CAPABILITY, s as StoreContentSpecEntrySchema, t as HostedStoreContentChangesEnvelopeSchema } from "./store-content-projection-
|
|
1
|
+
import "./store-types-CvpEVNoE.mjs";
|
|
2
|
+
import { a as StoreContentChangeListSchema, c as StoreContentSpecListSchema, i as StoreContentChangeEntrySchema, n as HostedStoreContentSpecsEnvelopeSchema, o as StoreContentKindSchema, r as STORE_CONTENT_INSPECT_CAPABILITY, s as StoreContentSpecEntrySchema, t as HostedStoreContentChangesEnvelopeSchema } from "./store-content-projection-Bpdb7_d9.mjs";
|
|
3
3
|
|
|
4
4
|
export { HostedStoreContentChangesEnvelopeSchema, HostedStoreContentSpecsEnvelopeSchema, STORE_CONTENT_INSPECT_CAPABILITY, StoreContentChangeEntrySchema, StoreContentChangeListSchema, StoreContentKindSchema, StoreContentSpecEntrySchema, StoreContentSpecListSchema };
|
package/dist/{store-mutation-protocol-ZUGSy1a0.d.mts → store-mutation-protocol-Cr4pWWbh.d.mts}
RENAMED
|
@@ -68,17 +68,17 @@ declare const StoreMutationSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObjec
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
status: "accepted" | "running";
|
|
70
70
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
71
|
-
requestId: string;
|
|
72
71
|
envUri: string;
|
|
73
72
|
observedAt: number;
|
|
73
|
+
requestId: string;
|
|
74
74
|
storeId?: string | undefined;
|
|
75
75
|
result?: undefined;
|
|
76
76
|
}, {
|
|
77
77
|
status: "accepted" | "running";
|
|
78
78
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
79
|
-
requestId: string;
|
|
80
79
|
envUri: string;
|
|
81
80
|
observedAt: number;
|
|
81
|
+
requestId: string;
|
|
82
82
|
storeId?: string | undefined;
|
|
83
83
|
result?: undefined;
|
|
84
84
|
}>, z.ZodObject<{
|
|
@@ -144,9 +144,9 @@ declare const StoreMutationSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObjec
|
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
145
|
status: "failed" | "succeeded" | "indeterminate";
|
|
146
146
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
147
|
-
requestId: string;
|
|
148
147
|
envUri: string;
|
|
149
148
|
observedAt: number;
|
|
149
|
+
requestId: string;
|
|
150
150
|
result: {
|
|
151
151
|
exitStatus: number | null;
|
|
152
152
|
stdout?: string | undefined;
|
|
@@ -165,9 +165,9 @@ declare const StoreMutationSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObjec
|
|
|
165
165
|
}, {
|
|
166
166
|
status: "failed" | "succeeded" | "indeterminate";
|
|
167
167
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
168
|
-
requestId: string;
|
|
169
168
|
envUri: string;
|
|
170
169
|
observedAt: number;
|
|
170
|
+
requestId: string;
|
|
171
171
|
result: {
|
|
172
172
|
exitStatus: number | null;
|
|
173
173
|
stdout?: string | undefined;
|
|
@@ -197,17 +197,17 @@ declare const StoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDiscrimin
|
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
status: "accepted" | "running";
|
|
199
199
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
200
|
-
requestId: string;
|
|
201
200
|
envUri: string;
|
|
202
201
|
observedAt: number;
|
|
202
|
+
requestId: string;
|
|
203
203
|
storeId?: string | undefined;
|
|
204
204
|
result?: undefined;
|
|
205
205
|
}, {
|
|
206
206
|
status: "accepted" | "running";
|
|
207
207
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
208
|
-
requestId: string;
|
|
209
208
|
envUri: string;
|
|
210
209
|
observedAt: number;
|
|
210
|
+
requestId: string;
|
|
211
211
|
storeId?: string | undefined;
|
|
212
212
|
result?: undefined;
|
|
213
213
|
}>, z.ZodObject<{
|
|
@@ -273,9 +273,9 @@ declare const StoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDiscrimin
|
|
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
|
274
274
|
status: "failed" | "succeeded" | "indeterminate";
|
|
275
275
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
276
|
-
requestId: string;
|
|
277
276
|
envUri: string;
|
|
278
277
|
observedAt: number;
|
|
278
|
+
requestId: string;
|
|
279
279
|
result: {
|
|
280
280
|
exitStatus: number | null;
|
|
281
281
|
stdout?: string | undefined;
|
|
@@ -294,9 +294,9 @@ declare const StoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDiscrimin
|
|
|
294
294
|
}, {
|
|
295
295
|
status: "failed" | "succeeded" | "indeterminate";
|
|
296
296
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
297
|
-
requestId: string;
|
|
298
297
|
envUri: string;
|
|
299
298
|
observedAt: number;
|
|
299
|
+
requestId: string;
|
|
300
300
|
result: {
|
|
301
301
|
exitStatus: number | null;
|
|
302
302
|
stdout?: string | undefined;
|
|
@@ -335,17 +335,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
336
|
status: "accepted" | "running";
|
|
337
337
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
338
|
-
requestId: string;
|
|
339
338
|
envUri: string;
|
|
340
339
|
observedAt: number;
|
|
340
|
+
requestId: string;
|
|
341
341
|
storeId?: string | undefined;
|
|
342
342
|
result?: undefined;
|
|
343
343
|
}, {
|
|
344
344
|
status: "accepted" | "running";
|
|
345
345
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
346
|
-
requestId: string;
|
|
347
346
|
envUri: string;
|
|
348
347
|
observedAt: number;
|
|
348
|
+
requestId: string;
|
|
349
349
|
storeId?: string | undefined;
|
|
350
350
|
result?: undefined;
|
|
351
351
|
}>, z.ZodObject<{
|
|
@@ -411,9 +411,9 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
status: "failed" | "succeeded" | "indeterminate";
|
|
413
413
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
414
|
-
requestId: string;
|
|
415
414
|
envUri: string;
|
|
416
415
|
observedAt: number;
|
|
416
|
+
requestId: string;
|
|
417
417
|
result: {
|
|
418
418
|
exitStatus: number | null;
|
|
419
419
|
stdout?: string | undefined;
|
|
@@ -432,9 +432,9 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
432
432
|
}, {
|
|
433
433
|
status: "failed" | "succeeded" | "indeterminate";
|
|
434
434
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
435
|
-
requestId: string;
|
|
436
435
|
envUri: string;
|
|
437
436
|
observedAt: number;
|
|
437
|
+
requestId: string;
|
|
438
438
|
result: {
|
|
439
439
|
exitStatus: number | null;
|
|
440
440
|
stdout?: string | undefined;
|
|
@@ -457,17 +457,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
457
457
|
records: ({
|
|
458
458
|
status: "accepted" | "running";
|
|
459
459
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
460
|
-
requestId: string;
|
|
461
460
|
envUri: string;
|
|
462
461
|
observedAt: number;
|
|
462
|
+
requestId: string;
|
|
463
463
|
storeId?: string | undefined;
|
|
464
464
|
result?: undefined;
|
|
465
465
|
} | {
|
|
466
466
|
status: "failed" | "succeeded" | "indeterminate";
|
|
467
467
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
468
|
-
requestId: string;
|
|
469
468
|
envUri: string;
|
|
470
469
|
observedAt: number;
|
|
470
|
+
requestId: string;
|
|
471
471
|
result: {
|
|
472
472
|
exitStatus: number | null;
|
|
473
473
|
stdout?: string | undefined;
|
|
@@ -490,17 +490,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
490
490
|
records: ({
|
|
491
491
|
status: "accepted" | "running";
|
|
492
492
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
493
|
-
requestId: string;
|
|
494
493
|
envUri: string;
|
|
495
494
|
observedAt: number;
|
|
495
|
+
requestId: string;
|
|
496
496
|
storeId?: string | undefined;
|
|
497
497
|
result?: undefined;
|
|
498
498
|
} | {
|
|
499
499
|
status: "failed" | "succeeded" | "indeterminate";
|
|
500
500
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
501
|
-
requestId: string;
|
|
502
501
|
envUri: string;
|
|
503
502
|
observedAt: number;
|
|
503
|
+
requestId: string;
|
|
504
504
|
result: {
|
|
505
505
|
exitStatus: number | null;
|
|
506
506
|
stdout?: string | undefined;
|
|
@@ -532,17 +532,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
status: "accepted" | "running";
|
|
534
534
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
535
|
-
requestId: string;
|
|
536
535
|
envUri: string;
|
|
537
536
|
observedAt: number;
|
|
537
|
+
requestId: string;
|
|
538
538
|
storeId?: string | undefined;
|
|
539
539
|
result?: undefined;
|
|
540
540
|
}, {
|
|
541
541
|
status: "accepted" | "running";
|
|
542
542
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
543
|
-
requestId: string;
|
|
544
543
|
envUri: string;
|
|
545
544
|
observedAt: number;
|
|
545
|
+
requestId: string;
|
|
546
546
|
storeId?: string | undefined;
|
|
547
547
|
result?: undefined;
|
|
548
548
|
}>, z.ZodObject<{
|
|
@@ -608,9 +608,9 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
609
|
status: "failed" | "succeeded" | "indeterminate";
|
|
610
610
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
611
|
-
requestId: string;
|
|
612
611
|
envUri: string;
|
|
613
612
|
observedAt: number;
|
|
613
|
+
requestId: string;
|
|
614
614
|
result: {
|
|
615
615
|
exitStatus: number | null;
|
|
616
616
|
stdout?: string | undefined;
|
|
@@ -629,9 +629,9 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
629
629
|
}, {
|
|
630
630
|
status: "failed" | "succeeded" | "indeterminate";
|
|
631
631
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
632
|
-
requestId: string;
|
|
633
632
|
envUri: string;
|
|
634
633
|
observedAt: number;
|
|
634
|
+
requestId: string;
|
|
635
635
|
result: {
|
|
636
636
|
exitStatus: number | null;
|
|
637
637
|
stdout?: string | undefined;
|
|
@@ -654,17 +654,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
654
654
|
record: {
|
|
655
655
|
status: "accepted" | "running";
|
|
656
656
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
657
|
-
requestId: string;
|
|
658
657
|
envUri: string;
|
|
659
658
|
observedAt: number;
|
|
659
|
+
requestId: string;
|
|
660
660
|
storeId?: string | undefined;
|
|
661
661
|
result?: undefined;
|
|
662
662
|
} | {
|
|
663
663
|
status: "failed" | "succeeded" | "indeterminate";
|
|
664
664
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
665
|
-
requestId: string;
|
|
666
665
|
envUri: string;
|
|
667
666
|
observedAt: number;
|
|
667
|
+
requestId: string;
|
|
668
668
|
result: {
|
|
669
669
|
exitStatus: number | null;
|
|
670
670
|
stdout?: string | undefined;
|
|
@@ -687,17 +687,17 @@ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
687
687
|
record: {
|
|
688
688
|
status: "accepted" | "running";
|
|
689
689
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
690
|
-
requestId: string;
|
|
691
690
|
envUri: string;
|
|
692
691
|
observedAt: number;
|
|
692
|
+
requestId: string;
|
|
693
693
|
storeId?: string | undefined;
|
|
694
694
|
result?: undefined;
|
|
695
695
|
} | {
|
|
696
696
|
status: "failed" | "succeeded" | "indeterminate";
|
|
697
697
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
698
|
-
requestId: string;
|
|
699
698
|
envUri: string;
|
|
700
699
|
observedAt: number;
|
|
700
|
+
requestId: string;
|
|
701
701
|
result: {
|
|
702
702
|
exitStatus: number | null;
|
|
703
703
|
stdout?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StoreMutationResultSchema, c as StoreMutationStartResponseSchema, i as StoreMutationResultEnvelope, n as StoreMutationLifecycleEvent, o as StoreMutationSchema, r as StoreMutationLifecycleEventSchema, s as StoreMutationStartResponse, t as StoreMutationEnvelope } from "./store-mutation-protocol-
|
|
1
|
+
import { a as StoreMutationResultSchema, c as StoreMutationStartResponseSchema, i as StoreMutationResultEnvelope, n as StoreMutationLifecycleEvent, o as StoreMutationSchema, r as StoreMutationLifecycleEventSchema, s as StoreMutationStartResponse, t as StoreMutationEnvelope } from "./store-mutation-protocol-Cr4pWWbh.mjs";
|
|
2
2
|
export { StoreMutationEnvelope, StoreMutationLifecycleEvent, StoreMutationLifecycleEventSchema, StoreMutationResultEnvelope, StoreMutationResultSchema, StoreMutationSchema, StoreMutationStartResponse, StoreMutationStartResponseSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { i as StoreMutationStartResponseSchema, n as StoreMutationResultSchema, r as StoreMutationSchema, t as StoreMutationLifecycleEventSchema } from "./store-mutation-protocol-
|
|
1
|
+
import "./common-BRL_34xt.mjs";
|
|
2
|
+
import { i as StoreMutationStartResponseSchema, n as StoreMutationResultSchema, r as StoreMutationSchema, t as StoreMutationLifecycleEventSchema } from "./store-mutation-protocol-CJGUWWI6.mjs";
|
|
3
3
|
|
|
4
4
|
export { StoreMutationLifecycleEventSchema, StoreMutationResultSchema, StoreMutationSchema, StoreMutationStartResponseSchema };
|
package/dist/store-types.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import { _ as classifyStoreCliResult, a as StoreDiagnostic, c as StoreDoctorResultSchema, d as StoreFeatureError, f as StoreFeatureResult, g as StoreListResultSchema, h as StoreListResult, i as StoreDataIncompatibleError, l as StoreDoctorStore, m as StoreListEntrySchema, n as StoreCommandEvidence, o as StoreDiagnosticSchema, p as StoreListEntry, r as StoreCommandUnavailableError, s as StoreDoctorResult, t as StoreClassification, u as StoreDoctorStoreSchema, v as toStoreFeatureResult } from "./store-types-
|
|
1
|
+
import "./document-translation-BNbM3fEj.mjs";
|
|
2
|
+
import "./sounds-qIKfPgxj.mjs";
|
|
3
|
+
import "./notifications-ClhEHZU3.mjs";
|
|
4
|
+
import "./index-CF5niw80.mjs";
|
|
5
|
+
import { _ as classifyStoreCliResult, a as StoreDiagnostic, c as StoreDoctorResultSchema, d as StoreFeatureError, f as StoreFeatureResult, g as StoreListResultSchema, h as StoreListResult, i as StoreDataIncompatibleError, l as StoreDoctorStore, m as StoreListEntrySchema, n as StoreCommandEvidence, o as StoreDiagnosticSchema, p as StoreListEntry, r as StoreCommandUnavailableError, s as StoreDoctorResult, t as StoreClassification, u as StoreDoctorStoreSchema, v as toStoreFeatureResult } from "./store-types-DjWxHHvs.mjs";
|
|
6
6
|
export { StoreClassification, StoreCommandEvidence, StoreCommandUnavailableError, StoreDataIncompatibleError, StoreDiagnostic, StoreDiagnosticSchema, StoreDoctorResult, StoreDoctorResultSchema, StoreDoctorStore, StoreDoctorStoreSchema, StoreFeatureError, StoreFeatureResult, StoreListEntry, StoreListEntrySchema, StoreListResult, StoreListResultSchema, classifyStoreCliResult, toStoreFeatureResult };
|
package/dist/store-types.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as StoreListResultSchema, i as StoreListEntrySchema, n as StoreDoctorResultSchema, o as classifyStoreCliResult, r as StoreDoctorStoreSchema, s as toStoreFeatureResult, t as StoreDiagnosticSchema } from "./store-types-
|
|
1
|
+
import { a as StoreListResultSchema, i as StoreListEntrySchema, n as StoreDoctorResultSchema, o as classifyStoreCliResult, r as StoreDoctorStoreSchema, s as toStoreFeatureResult, t as StoreDiagnosticSchema } from "./store-types-CvpEVNoE.mjs";
|
|
2
2
|
|
|
3
3
|
export { StoreDiagnosticSchema, StoreDoctorResultSchema, StoreDoctorStoreSchema, StoreListEntrySchema, StoreListResultSchema, classifyStoreCliResult, toStoreFeatureResult };
|
package/dist/task-progress.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./schemas-
|
|
6
|
-
import { $ as
|
|
1
|
+
import "./document-translation-BNbM3fEj.mjs";
|
|
2
|
+
import "./sounds-qIKfPgxj.mjs";
|
|
3
|
+
import "./notifications-ClhEHZU3.mjs";
|
|
4
|
+
import "./index-CF5niw80.mjs";
|
|
5
|
+
import "./schemas-divIlNvA.mjs";
|
|
6
|
+
import { $ as isMarkdownTaskSourcePath, B as DocumentChecklistGroup, G as TrackedTaskLocation, H as TaskProjectionOptions, J as TrackedTaskSource, K as TrackedTaskPhase, L as ApplyInstructionDivergence, Q as deriveTrackedTaskPhase, R as ApplyInstructionProgress, U as TaskProjections, V as DocumentChecklistSummary, W as TrackedTask, X as createDocumentChecklistSummary, Y as createApplyInstructionProgress, Z as createTrackedTaskProgress, et as parseMarkdownTasks, nt as toggleMarkdownTask, q as TrackedTaskProgress, tt as projectTaskProjectionsFromMarkdownFiles, z as ApplyInstructionState } from "./opsx-types-DP8JjGq0.mjs";
|
|
7
7
|
export { ApplyInstructionDivergence, ApplyInstructionProgress, ApplyInstructionState, DocumentChecklistGroup, DocumentChecklistSummary, TaskProjectionOptions, TaskProjections, TrackedTask, TrackedTaskLocation, TrackedTaskPhase, TrackedTaskProgress, TrackedTaskSource, createApplyInstructionProgress, createDocumentChecklistSummary, createTrackedTaskProgress, deriveTrackedTaskPhase, isMarkdownTaskSourcePath, parseMarkdownTasks, projectTaskProjectionsFromMarkdownFiles, toggleMarkdownTask };
|