@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.
- package/dist/{active-root-config-wpH_ZblJ.d.mts → active-root-config-DvfqdWF7.d.mts} +3 -3
- package/dist/active-root-config.d.mts +5 -5
- package/dist/{cli-projection-0tdEPnTe.d.mts → cli-projection-CXrDqHG1.d.mts} +17 -17
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{command-result-DfCY18TD.mjs → command-result-DqV3-Bf9.mjs} +13 -2
- package/dist/{dashboard-summary-transport-uE7nCxmD.d.mts → dashboard-summary-transport-C4sdZq07.d.mts} +636 -545
- package/dist/dashboard-summary-transport.d.mts +17 -17
- package/dist/{document-translation-DzF7Og-j.d.mts → document-translation-CGMD0RLA.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +17 -17
- package/dist/hosted-contract.d.mts +17 -17
- package/dist/{index-DPsUTX4C.d.mts → index-D9LApBD3.d.mts} +113 -80
- package/dist/index.d.mts +17 -17
- package/dist/index.mjs +11 -6
- package/dist/{local-download-profiles-CsKGe_qF.d.mts → local-download-profiles-DtOKu_Qa.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-B8Ael_hq.d.mts → notifications-B72cq-2I.d.mts} +8 -8
- 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-xOnjhQ7v.d.mts → openspec-projection-Dm-H-UMk.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-DsigFL5Z.d.mts → opsx-entity-C4DJzbUg.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-IlY4T5vO.d.mts → opsx-schema-detail-CnTtGQsR.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-r1oKVWgZ.d.mts → opsx-types-BbERbtH2.d.mts} +114 -41
- package/dist/{planning-cli-projection-C4eG7-Yr.mjs → planning-cli-projection-DpQfHj61.mjs} +42 -4
- package/dist/planning-cli-projection.d.mts +17 -17
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-pfpqDlAd.d.mts → schemas-Bmw7OKBb.d.mts} +82 -82
- package/dist/{sounds-B0GiWqBN.d.mts → sounds-BpMOHwvO.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-B8TIBzwP.mjs → spec-catalog-Cx_PE3WR.mjs} +1 -1
- package/dist/spec-catalog.d.mts +17 -17
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-types-BghVB9Qj.d.mts → store-types-DzBETNjJ.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-BpfUW_eB.d.mts → terminal-audio-BZDsms7w.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-CYibC-WC.d.mts → terminal-invocation-BA-nywHh.d.mts} +40 -40
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-BdTMcSWN.d.mts → translator-C_jPrCMR.d.mts} +217 -217
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Tt as CliJsonValue } from "./index-
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-
|
|
1
|
+
import { Tt as CliJsonValue } from "./index-D9LApBD3.mjs";
|
|
2
|
+
import { n as ChangeFile, v as Task } from "./schemas-Bmw7OKBb.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/task-progress.d.ts
|
|
@@ -985,14 +985,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
|
|
|
985
985
|
}, "strip", z.ZodTypeAny, {
|
|
986
986
|
path: string;
|
|
987
987
|
id: string;
|
|
988
|
-
description: string;
|
|
989
988
|
done: boolean;
|
|
989
|
+
description: string;
|
|
990
990
|
skipped?: boolean | undefined;
|
|
991
991
|
}, {
|
|
992
992
|
path: string;
|
|
993
993
|
id: string;
|
|
994
|
-
description: string;
|
|
995
994
|
done: boolean;
|
|
995
|
+
description: string;
|
|
996
996
|
skipped?: boolean | undefined;
|
|
997
997
|
}>;
|
|
998
998
|
type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
|
|
@@ -1002,12 +1002,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
|
|
|
1002
1002
|
done: z.ZodBoolean;
|
|
1003
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
1004
|
id: string;
|
|
1005
|
-
description: string;
|
|
1006
1005
|
done: boolean;
|
|
1006
|
+
description: string;
|
|
1007
1007
|
}, {
|
|
1008
1008
|
id: string;
|
|
1009
|
-
description: string;
|
|
1010
1009
|
done: boolean;
|
|
1010
|
+
description: string;
|
|
1011
1011
|
}>;
|
|
1012
1012
|
type ApplyTask = z.infer<typeof ApplyTaskSchema>;
|
|
1013
1013
|
declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
@@ -1023,17 +1023,28 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1023
1023
|
done: z.ZodBoolean;
|
|
1024
1024
|
}, "strip", z.ZodTypeAny, {
|
|
1025
1025
|
id: string;
|
|
1026
|
-
description: string;
|
|
1027
1026
|
done: boolean;
|
|
1027
|
+
description: string;
|
|
1028
1028
|
}, {
|
|
1029
1029
|
id: string;
|
|
1030
|
-
description: string;
|
|
1031
1030
|
done: boolean;
|
|
1031
|
+
description: string;
|
|
1032
1032
|
}>, "many">;
|
|
1033
1033
|
state: z.ZodEnum<["blocked", "all_done", "ready"]>;
|
|
1034
1034
|
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1035
1035
|
missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1036
1036
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1037
|
+
taskTrackingConfigured: z.ZodOptional<z.ZodBoolean>;
|
|
1038
|
+
unavailableTrackingFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
path: z.ZodString;
|
|
1040
|
+
reason: z.ZodString;
|
|
1041
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
|
+
path: string;
|
|
1043
|
+
reason: string;
|
|
1044
|
+
}, {
|
|
1045
|
+
path: string;
|
|
1046
|
+
reason: string;
|
|
1047
|
+
}>, "many">>;
|
|
1037
1048
|
instruction: z.ZodString;
|
|
1038
1049
|
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
1050
|
store_id: z.ZodString;
|
|
@@ -1399,8 +1410,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1399
1410
|
state: "ready" | "blocked" | "all_done";
|
|
1400
1411
|
tasks: {
|
|
1401
1412
|
id: string;
|
|
1402
|
-
description: string;
|
|
1403
1413
|
done: boolean;
|
|
1414
|
+
description: string;
|
|
1404
1415
|
}[];
|
|
1405
1416
|
evidence: {
|
|
1406
1417
|
success: boolean;
|
|
@@ -1494,13 +1505,18 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1494
1505
|
warnings?: string[] | undefined;
|
|
1495
1506
|
missingArtifacts?: string[] | undefined;
|
|
1496
1507
|
missingPrerequisites?: string[] | undefined;
|
|
1508
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
1509
|
+
unavailableTrackingFiles?: {
|
|
1510
|
+
path: string;
|
|
1511
|
+
reason: string;
|
|
1512
|
+
}[] | undefined;
|
|
1497
1513
|
operationGuidance?: string[] | undefined;
|
|
1498
1514
|
}, {
|
|
1499
1515
|
state: "ready" | "blocked" | "all_done";
|
|
1500
1516
|
tasks: {
|
|
1501
1517
|
id: string;
|
|
1502
|
-
description: string;
|
|
1503
1518
|
done: boolean;
|
|
1519
|
+
description: string;
|
|
1504
1520
|
}[];
|
|
1505
1521
|
evidence: {
|
|
1506
1522
|
success: boolean;
|
|
@@ -1594,6 +1610,11 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1594
1610
|
warnings?: string[] | undefined;
|
|
1595
1611
|
missingArtifacts?: string[] | undefined;
|
|
1596
1612
|
missingPrerequisites?: string[] | undefined;
|
|
1613
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
1614
|
+
unavailableTrackingFiles?: {
|
|
1615
|
+
path: string;
|
|
1616
|
+
reason: string;
|
|
1617
|
+
}[] | undefined;
|
|
1597
1618
|
operationGuidance?: string[] | undefined;
|
|
1598
1619
|
}>;
|
|
1599
1620
|
declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
@@ -1620,17 +1641,28 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1620
1641
|
done: z.ZodBoolean;
|
|
1621
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1643
|
id: string;
|
|
1623
|
-
description: string;
|
|
1624
1644
|
done: boolean;
|
|
1645
|
+
description: string;
|
|
1625
1646
|
}, {
|
|
1626
1647
|
id: string;
|
|
1627
|
-
description: string;
|
|
1628
1648
|
done: boolean;
|
|
1649
|
+
description: string;
|
|
1629
1650
|
}>, "many">;
|
|
1630
1651
|
state: z.ZodEnum<["blocked", "all_done", "ready"]>;
|
|
1631
1652
|
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1632
1653
|
missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1633
1654
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1655
|
+
taskTrackingConfigured: z.ZodOptional<z.ZodBoolean>;
|
|
1656
|
+
unavailableTrackingFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1657
|
+
path: z.ZodString;
|
|
1658
|
+
reason: z.ZodString;
|
|
1659
|
+
}, "strip", z.ZodTypeAny, {
|
|
1660
|
+
path: string;
|
|
1661
|
+
reason: string;
|
|
1662
|
+
}, {
|
|
1663
|
+
path: string;
|
|
1664
|
+
reason: string;
|
|
1665
|
+
}>, "many">>;
|
|
1634
1666
|
instruction: z.ZodString;
|
|
1635
1667
|
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1636
1668
|
store_id: z.ZodString;
|
|
@@ -1886,8 +1918,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1886
1918
|
state: "ready" | "blocked" | "all_done";
|
|
1887
1919
|
tasks: {
|
|
1888
1920
|
id: string;
|
|
1889
|
-
description: string;
|
|
1890
1921
|
done: boolean;
|
|
1922
|
+
description: string;
|
|
1891
1923
|
}[];
|
|
1892
1924
|
evidence: {
|
|
1893
1925
|
success: boolean;
|
|
@@ -1915,16 +1947,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1915
1947
|
} & {
|
|
1916
1948
|
[k: string]: unknown;
|
|
1917
1949
|
};
|
|
1918
|
-
progress: {
|
|
1919
|
-
complete: number;
|
|
1920
|
-
total: number;
|
|
1921
|
-
remaining: number;
|
|
1922
|
-
};
|
|
1923
1950
|
changeName: string;
|
|
1924
1951
|
schemaName: string;
|
|
1925
1952
|
changeDir: string;
|
|
1926
1953
|
instruction: string;
|
|
1927
1954
|
contextFiles: Record<string, string[]>;
|
|
1955
|
+
progress: {
|
|
1956
|
+
complete: number;
|
|
1957
|
+
total: number;
|
|
1958
|
+
remaining: number;
|
|
1959
|
+
};
|
|
1928
1960
|
references?: z.objectOutputType<{
|
|
1929
1961
|
store_id: z.ZodString;
|
|
1930
1962
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1964,13 +1996,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1964
1996
|
warnings?: string[] | undefined;
|
|
1965
1997
|
missingArtifacts?: string[] | undefined;
|
|
1966
1998
|
missingPrerequisites?: string[] | undefined;
|
|
1999
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2000
|
+
unavailableTrackingFiles?: {
|
|
2001
|
+
path: string;
|
|
2002
|
+
reason: string;
|
|
2003
|
+
}[] | undefined;
|
|
1967
2004
|
operationGuidance?: string[] | undefined;
|
|
1968
2005
|
}, {
|
|
1969
2006
|
state: "ready" | "blocked" | "all_done";
|
|
1970
2007
|
tasks: {
|
|
1971
2008
|
id: string;
|
|
1972
|
-
description: string;
|
|
1973
2009
|
done: boolean;
|
|
2010
|
+
description: string;
|
|
1974
2011
|
}[];
|
|
1975
2012
|
evidence: {
|
|
1976
2013
|
success: boolean;
|
|
@@ -1998,16 +2035,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1998
2035
|
} & {
|
|
1999
2036
|
[k: string]: unknown;
|
|
2000
2037
|
};
|
|
2001
|
-
progress: {
|
|
2002
|
-
complete: number;
|
|
2003
|
-
total: number;
|
|
2004
|
-
remaining: number;
|
|
2005
|
-
};
|
|
2006
2038
|
changeName: string;
|
|
2007
2039
|
schemaName: string;
|
|
2008
2040
|
changeDir: string;
|
|
2009
2041
|
instruction: string;
|
|
2010
2042
|
contextFiles: Record<string, string | string[]>;
|
|
2043
|
+
progress: {
|
|
2044
|
+
complete: number;
|
|
2045
|
+
total: number;
|
|
2046
|
+
remaining: number;
|
|
2047
|
+
};
|
|
2011
2048
|
references?: z.objectInputType<{
|
|
2012
2049
|
store_id: z.ZodString;
|
|
2013
2050
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2047,14 +2084,19 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2047
2084
|
warnings?: string[] | undefined;
|
|
2048
2085
|
missingArtifacts?: string[] | undefined;
|
|
2049
2086
|
missingPrerequisites?: string[] | undefined;
|
|
2087
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2088
|
+
unavailableTrackingFiles?: {
|
|
2089
|
+
path: string;
|
|
2090
|
+
reason: string;
|
|
2091
|
+
}[] | undefined;
|
|
2050
2092
|
operationGuidance?: string[] | undefined;
|
|
2051
2093
|
}>, {
|
|
2052
2094
|
applyInstructionProgress: ApplyInstructionProgress;
|
|
2053
2095
|
state: "ready" | "blocked" | "all_done";
|
|
2054
2096
|
tasks: {
|
|
2055
2097
|
id: string;
|
|
2056
|
-
description: string;
|
|
2057
2098
|
done: boolean;
|
|
2099
|
+
description: string;
|
|
2058
2100
|
}[];
|
|
2059
2101
|
evidence: {
|
|
2060
2102
|
success: boolean;
|
|
@@ -2126,13 +2168,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2126
2168
|
warnings?: string[] | undefined;
|
|
2127
2169
|
missingArtifacts?: string[] | undefined;
|
|
2128
2170
|
missingPrerequisites?: string[] | undefined;
|
|
2171
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2172
|
+
unavailableTrackingFiles?: {
|
|
2173
|
+
path: string;
|
|
2174
|
+
reason: string;
|
|
2175
|
+
}[] | undefined;
|
|
2129
2176
|
operationGuidance?: string[] | undefined;
|
|
2130
2177
|
}, {
|
|
2131
2178
|
state: "ready" | "blocked" | "all_done";
|
|
2132
2179
|
tasks: {
|
|
2133
2180
|
id: string;
|
|
2134
|
-
description: string;
|
|
2135
2181
|
done: boolean;
|
|
2182
|
+
description: string;
|
|
2136
2183
|
}[];
|
|
2137
2184
|
evidence: {
|
|
2138
2185
|
success: boolean;
|
|
@@ -2160,16 +2207,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2160
2207
|
} & {
|
|
2161
2208
|
[k: string]: unknown;
|
|
2162
2209
|
};
|
|
2163
|
-
progress: {
|
|
2164
|
-
complete: number;
|
|
2165
|
-
total: number;
|
|
2166
|
-
remaining: number;
|
|
2167
|
-
};
|
|
2168
2210
|
changeName: string;
|
|
2169
2211
|
schemaName: string;
|
|
2170
2212
|
changeDir: string;
|
|
2171
2213
|
instruction: string;
|
|
2172
2214
|
contextFiles: Record<string, string | string[]>;
|
|
2215
|
+
progress: {
|
|
2216
|
+
complete: number;
|
|
2217
|
+
total: number;
|
|
2218
|
+
remaining: number;
|
|
2219
|
+
};
|
|
2173
2220
|
references?: z.objectInputType<{
|
|
2174
2221
|
store_id: z.ZodString;
|
|
2175
2222
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,6 +2256,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2209
2256
|
warnings?: string[] | undefined;
|
|
2210
2257
|
missingArtifacts?: string[] | undefined;
|
|
2211
2258
|
missingPrerequisites?: string[] | undefined;
|
|
2259
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2260
|
+
unavailableTrackingFiles?: {
|
|
2261
|
+
path: string;
|
|
2262
|
+
reason: string;
|
|
2263
|
+
}[] | undefined;
|
|
2212
2264
|
operationGuidance?: string[] | undefined;
|
|
2213
2265
|
}>, z.ZodObject<{
|
|
2214
2266
|
changeName: z.ZodString;
|
|
@@ -2221,17 +2273,28 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2221
2273
|
done: z.ZodBoolean;
|
|
2222
2274
|
}, "strip", z.ZodTypeAny, {
|
|
2223
2275
|
id: string;
|
|
2224
|
-
description: string;
|
|
2225
2276
|
done: boolean;
|
|
2277
|
+
description: string;
|
|
2226
2278
|
}, {
|
|
2227
2279
|
id: string;
|
|
2228
|
-
description: string;
|
|
2229
2280
|
done: boolean;
|
|
2281
|
+
description: string;
|
|
2230
2282
|
}>, "many">;
|
|
2231
2283
|
state: z.ZodEnum<["blocked", "all_done", "ready"]>;
|
|
2232
2284
|
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2233
2285
|
missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2234
2286
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2287
|
+
taskTrackingConfigured: z.ZodOptional<z.ZodBoolean>;
|
|
2288
|
+
unavailableTrackingFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2289
|
+
path: z.ZodString;
|
|
2290
|
+
reason: z.ZodString;
|
|
2291
|
+
}, "strip", z.ZodTypeAny, {
|
|
2292
|
+
path: string;
|
|
2293
|
+
reason: string;
|
|
2294
|
+
}, {
|
|
2295
|
+
path: string;
|
|
2296
|
+
reason: string;
|
|
2297
|
+
}>, "many">>;
|
|
2235
2298
|
instruction: z.ZodString;
|
|
2236
2299
|
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2237
2300
|
store_id: z.ZodString;
|
|
@@ -2597,8 +2660,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2597
2660
|
state: "ready" | "blocked" | "all_done";
|
|
2598
2661
|
tasks: {
|
|
2599
2662
|
id: string;
|
|
2600
|
-
description: string;
|
|
2601
2663
|
done: boolean;
|
|
2664
|
+
description: string;
|
|
2602
2665
|
}[];
|
|
2603
2666
|
evidence: {
|
|
2604
2667
|
success: boolean;
|
|
@@ -2692,13 +2755,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2692
2755
|
warnings?: string[] | undefined;
|
|
2693
2756
|
missingArtifacts?: string[] | undefined;
|
|
2694
2757
|
missingPrerequisites?: string[] | undefined;
|
|
2758
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2759
|
+
unavailableTrackingFiles?: {
|
|
2760
|
+
path: string;
|
|
2761
|
+
reason: string;
|
|
2762
|
+
}[] | undefined;
|
|
2695
2763
|
operationGuidance?: string[] | undefined;
|
|
2696
2764
|
}, {
|
|
2697
2765
|
state: "ready" | "blocked" | "all_done";
|
|
2698
2766
|
tasks: {
|
|
2699
2767
|
id: string;
|
|
2700
|
-
description: string;
|
|
2701
2768
|
done: boolean;
|
|
2769
|
+
description: string;
|
|
2702
2770
|
}[];
|
|
2703
2771
|
evidence: {
|
|
2704
2772
|
success: boolean;
|
|
@@ -2792,6 +2860,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2792
2860
|
warnings?: string[] | undefined;
|
|
2793
2861
|
missingArtifacts?: string[] | undefined;
|
|
2794
2862
|
missingPrerequisites?: string[] | undefined;
|
|
2863
|
+
taskTrackingConfigured?: boolean | undefined;
|
|
2864
|
+
unavailableTrackingFiles?: {
|
|
2865
|
+
path: string;
|
|
2866
|
+
reason: string;
|
|
2867
|
+
}[] | undefined;
|
|
2795
2868
|
operationGuidance?: string[] | undefined;
|
|
2796
2869
|
}>>;
|
|
2797
2870
|
type ApplyInstructions = z.infer<typeof ApplyInstructionsSchema>;
|
|
@@ -3026,14 +3099,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3026
3099
|
}, "strip", z.ZodTypeAny, {
|
|
3027
3100
|
path: string;
|
|
3028
3101
|
id: string;
|
|
3029
|
-
description: string;
|
|
3030
3102
|
done: boolean;
|
|
3103
|
+
description: string;
|
|
3031
3104
|
skipped?: boolean | undefined;
|
|
3032
3105
|
}, {
|
|
3033
3106
|
path: string;
|
|
3034
3107
|
id: string;
|
|
3035
|
-
description: string;
|
|
3036
3108
|
done: boolean;
|
|
3109
|
+
description: string;
|
|
3037
3110
|
skipped?: boolean | undefined;
|
|
3038
3111
|
}>, "many">;
|
|
3039
3112
|
unlocks: z.ZodArray<z.ZodString, "many">;
|
|
@@ -3314,16 +3387,16 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3314
3387
|
} & {
|
|
3315
3388
|
[k: string]: unknown;
|
|
3316
3389
|
};
|
|
3317
|
-
description: string;
|
|
3318
3390
|
changeName: string;
|
|
3319
3391
|
schemaName: string;
|
|
3320
3392
|
changeDir: string;
|
|
3393
|
+
description: string;
|
|
3321
3394
|
template: string;
|
|
3322
3395
|
dependencies: {
|
|
3323
3396
|
path: string;
|
|
3324
3397
|
id: string;
|
|
3325
|
-
description: string;
|
|
3326
3398
|
done: boolean;
|
|
3399
|
+
description: string;
|
|
3327
3400
|
skipped?: boolean | undefined;
|
|
3328
3401
|
}[];
|
|
3329
3402
|
unlocks: string[];
|
|
@@ -3394,16 +3467,16 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3394
3467
|
} & {
|
|
3395
3468
|
[k: string]: unknown;
|
|
3396
3469
|
};
|
|
3397
|
-
description: string;
|
|
3398
3470
|
changeName: string;
|
|
3399
3471
|
schemaName: string;
|
|
3400
3472
|
changeDir: string;
|
|
3473
|
+
description: string;
|
|
3401
3474
|
template: string;
|
|
3402
3475
|
dependencies: {
|
|
3403
3476
|
path: string;
|
|
3404
3477
|
id: string;
|
|
3405
|
-
description: string;
|
|
3406
3478
|
done: boolean;
|
|
3479
|
+
description: string;
|
|
3407
3480
|
skipped?: boolean | undefined;
|
|
3408
3481
|
}[];
|
|
3409
3482
|
unlocks: string[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as CliSchemaInfoSchema, a as SpecDocumentProjectionSchema, o as SpecIdentitySchema, r as SpecCatalogSchema } from "./spec-catalog-
|
|
1
|
+
import { D as CliSchemaInfoSchema, a as SpecDocumentProjectionSchema, o as SpecIdentitySchema, r as SpecCatalogSchema } from "./spec-catalog-Cx_PE3WR.mjs";
|
|
2
2
|
import { t as createApplyInstructionProgress } from "./task-progress-moL-QUhJ.mjs";
|
|
3
3
|
import { a as CliRootSchema, i as CliReferenceIndexEntrySchema, n as CliDiagnosticSchema } from "./common-BRL_34xt.mjs";
|
|
4
|
-
import { S as CliTemplateEntrySchema, d as CliArtifactPathSchema, g as CliSchemaShadowSchema, h as CliSchemaResolutionSchema, m as CliPlanningHomeSchema, p as CliChangeListWarningSchema, r as CliActionContextSchema } from "./command-result-
|
|
4
|
+
import { S as CliTemplateEntrySchema, d as CliArtifactPathSchema, g as CliSchemaShadowSchema, h as CliSchemaResolutionSchema, m as CliPlanningHomeSchema, p as CliChangeListWarningSchema, r as CliActionContextSchema } from "./command-result-DqV3-Bf9.mjs";
|
|
5
5
|
import { r as CliProjectionCommandEvidenceSchema, u as createCliProjectionStateSchema } from "./cli-projection-Bc2WVwGj.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/opsx-types.ts
|
|
9
9
|
/**
|
|
10
|
-
* Orthogonal intents (updated 2026-09-
|
|
10
|
+
* Orthogonal intents (updated 2026-09-26 Asia/Shanghai):
|
|
11
11
|
* 1. Publish runtime schemas for final Projection Work payloads, including transformed Apply progress.
|
|
12
12
|
* 2. Keep isPlanningComplete as the authoritative planning fact over any local tracked alias.
|
|
13
13
|
* 3. Carry CLI status evidence, diagnostics, and per-artifact requires as typed facts.
|
|
@@ -16,14 +16,42 @@ import { z } from "zod";
|
|
|
16
16
|
* 6. Project the OpenSpec 1.13 Apply `warnings` and `missingPrerequisites` fields through the
|
|
17
17
|
* input and final projection schemas verbatim: optional everywhere, never defaulted to
|
|
18
18
|
* empty arrays, and never allowed to alter state/progress/tasks semantics.
|
|
19
|
+
* 7. Project the OpenSpec 1.13.2 Apply tracking-evidence members (`taskTrackingConfigured`,
|
|
20
|
+
* `unavailableTrackingFiles`) the same way: absent-when-upstream-absent (never a
|
|
21
|
+
* synthesized `false` or empty array), verbatim evidence, never apply gating.
|
|
22
|
+
* 8. Keep `isGlobPattern` a verbatim parity port of the pinned CLI's artifact-graph
|
|
23
|
+
* recognition (OpenSpec 1.13.2, references/openspec/src/core/artifact-graph/outputs.ts):
|
|
24
|
+
* original wildcards plus extglob groups and brace expansions after POSIX separator
|
|
25
|
+
* normalization — watcher-granularity only, so dependency watching never forks upstream.
|
|
19
26
|
*
|
|
20
27
|
* Original request (2026-07-15): "为内核载荷建立强类型。"
|
|
21
28
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
22
29
|
* Original request (2026-09-12): "Openspec 1.13.0 释放了,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进。让 codex 参与。"
|
|
30
|
+
* Original request (2026-09-26): "Openspec 1.13.2 释放了…" — tracking-evidence projection + glob-recognition watcher parity (update-openspec-cli-1132 Slice 2).
|
|
23
31
|
*/
|
|
32
|
+
/**
|
|
33
|
+
* Recognizes artifact globs while preserving literal output filenames — a verbatim
|
|
34
|
+
* parity port of the pinned CLI's artifact-graph recognition (OpenSpec 1.13.2,
|
|
35
|
+
* references/openspec/src/core/artifact-graph/outputs.ts, including its
|
|
36
|
+
* `toPosixPath` normalization, extglob regex, and brace-expansion scanner with
|
|
37
|
+
* unmatched-closer/empty-stack semantics). Watcher-granularity only.
|
|
38
|
+
*/
|
|
39
|
+
const EXTGLOB_RE = /[!*+?@]\([^(]*\)/u;
|
|
40
|
+
const BRACE_EXPANSION_SEPARATORS_RE = /,|\.\./u;
|
|
41
|
+
function hasBraceExpansion(pattern) {
|
|
42
|
+
const openings = [];
|
|
43
|
+
for (let index = 0; index < pattern.length; index += 1) {
|
|
44
|
+
if (pattern[index] === "{") openings.push(index);
|
|
45
|
+
if (pattern[index] !== "}") continue;
|
|
46
|
+
const opening = openings.pop();
|
|
47
|
+
if (opening !== void 0 && BRACE_EXPANSION_SEPARATORS_RE.test(pattern.slice(opening, index))) return true;
|
|
48
|
+
}
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
24
51
|
/** Check if an outputPath contains glob pattern characters */
|
|
25
52
|
function isGlobPattern(pattern) {
|
|
26
|
-
|
|
53
|
+
const normalized = pattern.replace(/\\/g, "/");
|
|
54
|
+
return normalized.includes("*") || normalized.includes("?") || normalized.includes("[") || EXTGLOB_RE.test(normalized) || hasBraceExpansion(normalized);
|
|
27
55
|
}
|
|
28
56
|
/** Runtime schema for one JSON value retained from a CLI Status stdout document. */
|
|
29
57
|
const OpsxCliJsonValueSchema = z.lazy(() => z.union([
|
|
@@ -120,6 +148,11 @@ const ApplyInstructionsInputSchema = z.object({
|
|
|
120
148
|
missingArtifacts: z.array(z.string()).optional(),
|
|
121
149
|
missingPrerequisites: z.array(z.string()).optional(),
|
|
122
150
|
warnings: z.array(z.string()).optional(),
|
|
151
|
+
taskTrackingConfigured: z.boolean().optional(),
|
|
152
|
+
unavailableTrackingFiles: z.array(z.object({
|
|
153
|
+
path: z.string(),
|
|
154
|
+
reason: z.string()
|
|
155
|
+
})).optional(),
|
|
123
156
|
instruction: z.string(),
|
|
124
157
|
references: z.array(CliReferenceIndexEntrySchema).optional(),
|
|
125
158
|
context: z.string().optional(),
|
|
@@ -171,6 +204,11 @@ const ApplyInstructionsProjectionSchema = z.object({
|
|
|
171
204
|
missingArtifacts: z.array(z.string()).optional(),
|
|
172
205
|
missingPrerequisites: z.array(z.string()).optional(),
|
|
173
206
|
warnings: z.array(z.string()).optional(),
|
|
207
|
+
taskTrackingConfigured: z.boolean().optional(),
|
|
208
|
+
unavailableTrackingFiles: z.array(z.object({
|
|
209
|
+
path: z.string(),
|
|
210
|
+
reason: z.string()
|
|
211
|
+
})).optional(),
|
|
174
212
|
instruction: z.string(),
|
|
175
213
|
references: z.array(CliReferenceIndexEntrySchema).optional(),
|
|
176
214
|
context: z.string().optional(),
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import "./document-translation-
|
|
3
|
-
import "./sounds-
|
|
4
|
-
import "./notifications-
|
|
5
|
-
import "./active-root-config-
|
|
6
|
-
import { u as CliProjectionNoticeSchema } from "./cli-projection-
|
|
7
|
-
import "./schemas-
|
|
8
|
-
import "./opsx-types-
|
|
9
|
-
import "./opsx-entity-
|
|
10
|
-
import { Ci as PlanningCliProjectionStateSchema, Si as PlanningCliProjectionState, _i as EnvironmentGlobalProjectionStateSchema, bi as PlanningCliProjectionSelector, di as EnvironmentGlobalFileProjectionDataSchema, fi as EnvironmentGlobalFileProjectionState, gi as EnvironmentGlobalProjectionState, hi as EnvironmentGlobalProjectionDataSchema, li as CliChangeListFacts, mi as EnvironmentGlobalProjectionData, pi as EnvironmentGlobalFileProjectionStateSchema, ui as EnvironmentGlobalFileProjectionData, vi as PlanningCliProjectionData, wi as deriveCliChangeListFacts, xi as PlanningCliProjectionSelectorSchema, yi as PlanningCliProjectionDataSchema } from "./dashboard-summary-transport-
|
|
1
|
+
import "./index-D9LApBD3.mjs";
|
|
2
|
+
import "./document-translation-CGMD0RLA.mjs";
|
|
3
|
+
import "./sounds-BpMOHwvO.mjs";
|
|
4
|
+
import "./notifications-B72cq-2I.mjs";
|
|
5
|
+
import "./active-root-config-DvfqdWF7.mjs";
|
|
6
|
+
import { u as CliProjectionNoticeSchema } from "./cli-projection-CXrDqHG1.mjs";
|
|
7
|
+
import "./schemas-Bmw7OKBb.mjs";
|
|
8
|
+
import "./opsx-types-BbERbtH2.mjs";
|
|
9
|
+
import "./opsx-entity-C4DJzbUg.mjs";
|
|
10
|
+
import { Ci as PlanningCliProjectionStateSchema, Si as PlanningCliProjectionState, _i as EnvironmentGlobalProjectionStateSchema, bi as PlanningCliProjectionSelector, di as EnvironmentGlobalFileProjectionDataSchema, fi as EnvironmentGlobalFileProjectionState, gi as EnvironmentGlobalProjectionState, hi as EnvironmentGlobalProjectionDataSchema, li as CliChangeListFacts, mi as EnvironmentGlobalProjectionData, pi as EnvironmentGlobalFileProjectionStateSchema, ui as EnvironmentGlobalFileProjectionData, vi as PlanningCliProjectionData, wi as deriveCliChangeListFacts, xi as PlanningCliProjectionSelectorSchema, yi as PlanningCliProjectionDataSchema } from "./dashboard-summary-transport-C4sdZq07.mjs";
|
|
11
11
|
import "./markdown-facts-CEACwik1.mjs";
|
|
12
12
|
import "./markdown-reading-CsLbxubT.mjs";
|
|
13
13
|
import "./openspec-annotations-8ppmICAU.mjs";
|
|
14
|
-
import "./openspec-projection-
|
|
15
|
-
import "./translator-
|
|
16
|
-
import "./terminal-audio-
|
|
17
|
-
import "./local-download-profiles-
|
|
14
|
+
import "./openspec-projection-Dm-H-UMk.mjs";
|
|
15
|
+
import "./translator-C_jPrCMR.mjs";
|
|
16
|
+
import "./terminal-audio-BZDsms7w.mjs";
|
|
17
|
+
import "./local-download-profiles-DtOKu_Qa.mjs";
|
|
18
18
|
import "./translation-language-pair-B6A39Cai.mjs";
|
|
19
19
|
import "./opsx-workflows-B72EGtj_.mjs";
|
|
20
20
|
import "./store-content-projection-DMHTVCFM.mjs";
|
|
21
21
|
import "./opsx-display-path-DvvAFlWG.mjs";
|
|
22
22
|
import "./store-mutation-protocol-DXeWtAvN.mjs";
|
|
23
|
-
import "./store-types-
|
|
24
|
-
import "./terminal-invocation-
|
|
23
|
+
import "./store-types-DzBETNjJ.mjs";
|
|
24
|
+
import "./terminal-invocation-BA-nywHh.mjs";
|
|
25
25
|
import "./terminal-theme-C7X8pUqT.mjs";
|
|
26
|
-
import "./opsx-schema-detail-
|
|
26
|
+
import "./opsx-schema-detail-CnTtGQsR.mjs";
|
|
27
27
|
export { CliChangeListFacts, CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionData, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionState, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionData, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionState, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionData, PlanningCliProjectionDataSchema, PlanningCliProjectionSelector, PlanningCliProjectionSelectorSchema, PlanningCliProjectionState, PlanningCliProjectionStateSchema, deriveCliChangeListFacts };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./spec-catalog-
|
|
1
|
+
import "./spec-catalog-Cx_PE3WR.mjs";
|
|
2
2
|
import "./schemas-CMThmKx1.mjs";
|
|
3
3
|
import "./opsx-entity-BnO3k48r.mjs";
|
|
4
4
|
import "./task-progress-moL-QUhJ.mjs";
|
|
5
5
|
import "./common-BRL_34xt.mjs";
|
|
6
|
-
import "./command-result-
|
|
6
|
+
import "./command-result-DqV3-Bf9.mjs";
|
|
7
7
|
import { o as CliProjectionNoticeSchema } from "./cli-projection-Bc2WVwGj.mjs";
|
|
8
|
-
import { a as PlanningCliProjectionDataSchema, c as deriveCliChangeListFacts, i as EnvironmentGlobalProjectionStateSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema } from "./planning-cli-projection-
|
|
8
|
+
import { a as PlanningCliProjectionDataSchema, c as deriveCliChangeListFacts, i as EnvironmentGlobalProjectionStateSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema } from "./planning-cli-projection-DpQfHj61.mjs";
|
|
9
9
|
|
|
10
10
|
export { CliProjectionNoticeSchema, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionStateSchema, PlanningCliProjectionDataSchema, PlanningCliProjectionSelectorSchema, PlanningCliProjectionStateSchema, deriveCliChangeListFacts };
|