@openspecui/core 3.7.1 → 3.8.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/document-translation-BU8CM7oy.d.mts +263 -0
- package/dist/{document-translation-CvUxMOPl.mjs → document-translation-BrE402YR.mjs} +16 -2
- package/dist/document-translation.d.mts +2 -2
- package/dist/document-translation.mjs +3 -2
- package/dist/hosted-app.d.mts +1 -1
- package/dist/hosted-app.mjs +1 -1
- package/dist/index.d.mts +190 -33
- package/dist/index.mjs +270 -23
- package/dist/local-download-profiles-BA0ArrI0.d.mts +100 -0
- package/dist/local-download-profiles-BppI_PAq.mjs +255 -0
- package/dist/local-download-profiles.d.mts +3 -0
- package/dist/local-download-profiles.mjs +3 -0
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-CsL1q84q.mjs → markdown-reading-DYBp7qoI.mjs} +1 -1
- package/dist/{markdown-reading-BC6uFgx0.d.mts → markdown-reading-DvLPaaY1.d.mts} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-DXOoOJ3m.mjs → notifications-9vbSJQ8N.mjs} +2 -2
- package/dist/{notifications-Clq2bq-i.d.mts → notifications-DvyoW8gu.d.mts} +7 -7
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-D_xQqQOB.mjs → openspec-annotations-BxBoWlyv.mjs} +2 -2
- package/dist/{openspec-annotations-DKP1Uuho.d.mts → openspec-annotations-DVbFBz5J.d.mts} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/{openspec-projection-DgnEag63.d.mts → openspec-projection-BA3r5CYl.d.mts} +3 -3
- package/dist/{openspec-projection-DLGD1JFD.mjs → openspec-projection-Cd6oydiK.mjs} +2 -2
- 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-BhvuPO8B.d.mts → opsx-entity-pnjptBhO.d.mts} +13 -13
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-SFENVa0g.d.mts → opsx-schema-detail-X1wHtEmS.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/{schemas-DZwT0am4.d.mts → schemas-P5NxTHR9.d.mts} +8 -8
- package/dist/{sounds-PZqzoKxJ.d.mts → sounds-CYknP1uN.d.mts} +8 -8
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/{terminal-audio-BiQ9qJJW.mjs → terminal-audio-DVz0HA2H.mjs} +1 -1
- package/dist/{terminal-audio-Ci4x-tyQ.d.mts → terminal-audio-DcVgLNsd.d.mts} +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-owPZDVJF.d.mts → terminal-invocation-S8G5xSpv.d.mts} +57 -57
- 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/translator-C3LT7PqW.mjs +147 -0
- package/dist/translator-LOd1jBrH.d.mts +780 -0
- package/dist/translator.d.mts +2 -0
- package/dist/translator.mjs +3 -0
- package/package.json +15 -3
- package/dist/document-translation-VavI1QOl.d.mts +0 -140
- /package/dist/{hosted-app-Du65UHRo.mjs → hosted-app-CxpQvD1s.mjs} +0 -0
- /package/dist/{hosted-app-BqJw9WgW.d.mts → hosted-app-FuxG4-qA.d.mts} +0 -0
- /package/dist/{markdown-facts-BFqXdPfN.mjs → markdown-facts-B5RvYPKF.mjs} +0 -0
- /package/dist/{markdown-facts-DxElzSsp.d.mts → markdown-facts-DUsbNcjh.d.mts} +0 -0
- /package/dist/{opsx-display-path-BHEPZsJx.mjs → opsx-display-path-Bf89ZyM5.mjs} +0 -0
- /package/dist/{opsx-display-path-BKUYCqwP.d.mts → opsx-display-path-CbO6K0Qq.d.mts} +0 -0
- /package/dist/{opsx-entity-B_Od4N3r.mjs → opsx-entity-BR_6djiM.mjs} +0 -0
- /package/dist/{opsx-schema-detail-Bh-aNaSk.mjs → opsx-schema-detail-5Wv1oWLT.mjs} +0 -0
- /package/dist/{sounds-Ctm3QEtf.mjs → sounds-CB_gpY-y.mjs} +0 -0
- /package/dist/{terminal-control-CMkG-o9C.mjs → terminal-control-CNcEd9Rl.mjs} +0 -0
- /package/dist/{terminal-invocation-CX1LDM89.mjs → terminal-invocation-wUmtJMPl.mjs} +0 -0
- /package/dist/{terminal-theme-BOGPIiVm.mjs → terminal-theme-CHkfTDk4.mjs} +0 -0
- /package/dist/{terminal-theme-DdhVuegL.d.mts → terminal-theme-x_vAHvok.d.mts} +0 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
//#region src/local-download-profiles.ts
|
|
2
|
+
const LOCAL_MODEL_PROFILE_DEFINITIONS = [
|
|
3
|
+
{
|
|
4
|
+
id: "q1",
|
|
5
|
+
label: "q1",
|
|
6
|
+
dtype: "q1",
|
|
7
|
+
suffix: "_q1",
|
|
8
|
+
description: "1-bit quantized ONNX profile."
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
id: "q1f16",
|
|
12
|
+
label: "q1f16",
|
|
13
|
+
dtype: "q1f16",
|
|
14
|
+
suffix: "_q1f16",
|
|
15
|
+
description: "1-bit block quantized fp16 ONNX profile."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
id: "q2",
|
|
19
|
+
label: "q2",
|
|
20
|
+
dtype: "q2",
|
|
21
|
+
suffix: "_q2",
|
|
22
|
+
description: "2-bit quantized ONNX profile."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: "q2f16",
|
|
26
|
+
label: "q2f16",
|
|
27
|
+
dtype: "q2f16",
|
|
28
|
+
suffix: "_q2f16",
|
|
29
|
+
description: "2-bit block quantized fp16 ONNX profile."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "q4",
|
|
33
|
+
label: "q4",
|
|
34
|
+
dtype: "q4",
|
|
35
|
+
suffix: "_q4",
|
|
36
|
+
description: "4-bit quantized ONNX profile."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "q4f16",
|
|
40
|
+
label: "q4f16",
|
|
41
|
+
dtype: "q4f16",
|
|
42
|
+
suffix: "_q4f16",
|
|
43
|
+
description: "4-bit block quantized fp16 ONNX profile."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "bnb4",
|
|
47
|
+
label: "bnb4",
|
|
48
|
+
dtype: "bnb4",
|
|
49
|
+
suffix: "_bnb4",
|
|
50
|
+
description: "bitsandbytes 4-bit ONNX profile."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "q8",
|
|
54
|
+
label: "q8",
|
|
55
|
+
dtype: "q8",
|
|
56
|
+
suffix: "_quantized",
|
|
57
|
+
description: "8-bit quantized ONNX profile."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "int8",
|
|
61
|
+
label: "int8",
|
|
62
|
+
dtype: "int8",
|
|
63
|
+
suffix: "_int8",
|
|
64
|
+
description: "int8 ONNX profile."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "uint8",
|
|
68
|
+
label: "uint8",
|
|
69
|
+
dtype: "uint8",
|
|
70
|
+
suffix: "_uint8",
|
|
71
|
+
description: "uint8 ONNX profile."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: "fp16",
|
|
75
|
+
label: "fp16",
|
|
76
|
+
dtype: "fp16",
|
|
77
|
+
suffix: "_fp16",
|
|
78
|
+
description: "fp16 ONNX profile."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: "fp32",
|
|
82
|
+
label: "fp32",
|
|
83
|
+
dtype: "fp32",
|
|
84
|
+
suffix: "",
|
|
85
|
+
description: "fp32 ONNX profile."
|
|
86
|
+
}
|
|
87
|
+
];
|
|
88
|
+
const AUXILIARY_FILE_NAMES = new Set([
|
|
89
|
+
"added_tokens.json",
|
|
90
|
+
"config.json",
|
|
91
|
+
"generation_config.json",
|
|
92
|
+
"merges.txt",
|
|
93
|
+
"preprocessor_config.json",
|
|
94
|
+
"sentencepiece.bpe.model",
|
|
95
|
+
"source.spm",
|
|
96
|
+
"special_tokens_map.json",
|
|
97
|
+
"spiece.model",
|
|
98
|
+
"target.spm",
|
|
99
|
+
"tokenizer.json",
|
|
100
|
+
"tokenizer.model",
|
|
101
|
+
"tokenizer_config.json",
|
|
102
|
+
"vocab.json"
|
|
103
|
+
]);
|
|
104
|
+
function buildLocalDownloadPlanFromRepositoryFiles(input) {
|
|
105
|
+
const fileMap = new Map(input.files.filter((file) => file.path.length > 0).map((file) => [file.path, file.sizeBytes]));
|
|
106
|
+
const requiredBaseNames = resolveRequiredBaseNames(fileMap, input.isEncoderDecoder);
|
|
107
|
+
if (requiredBaseNames.length === 0) return null;
|
|
108
|
+
const auxiliaryFiles = collectAuxiliaryFiles(fileMap);
|
|
109
|
+
const groups = LOCAL_MODEL_PROFILE_DEFINITIONS.flatMap((profile) => {
|
|
110
|
+
const onnxFiles = collectProfileOnnxFiles({
|
|
111
|
+
fileMap,
|
|
112
|
+
requiredBaseNames,
|
|
113
|
+
suffix: profile.suffix
|
|
114
|
+
});
|
|
115
|
+
if (!onnxFiles) return [];
|
|
116
|
+
return [createDownloadGroup({
|
|
117
|
+
id: profile.id,
|
|
118
|
+
label: buildProfileLabel(profile.id),
|
|
119
|
+
description: profile.description,
|
|
120
|
+
profile: profile.id,
|
|
121
|
+
dtype: profile.dtype,
|
|
122
|
+
files: [...auxiliaryFiles, ...onnxFiles]
|
|
123
|
+
})];
|
|
124
|
+
});
|
|
125
|
+
return buildPlanFromGroups({
|
|
126
|
+
modelId: input.modelId,
|
|
127
|
+
groups,
|
|
128
|
+
selectedGroupId: input.selectedGroupId
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function buildLocalDownloadPlanFromRuntimeProfileFiles(input) {
|
|
132
|
+
const groups = input.groups.flatMap((entry) => {
|
|
133
|
+
const profile = LOCAL_MODEL_PROFILE_DEFINITIONS.find((item) => item.id === entry.profile);
|
|
134
|
+
if (!profile || entry.files.length === 0) return [];
|
|
135
|
+
return [createDownloadGroup({
|
|
136
|
+
id: profile.id,
|
|
137
|
+
label: buildProfileLabel(profile.id),
|
|
138
|
+
description: profile.description,
|
|
139
|
+
profile: profile.id,
|
|
140
|
+
dtype: entry.dtype,
|
|
141
|
+
files: entry.files
|
|
142
|
+
})];
|
|
143
|
+
});
|
|
144
|
+
return buildPlanFromGroups({
|
|
145
|
+
modelId: input.modelId,
|
|
146
|
+
groups,
|
|
147
|
+
selectedGroupId: input.selectedGroupId
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
function selectLocalDownloadGroup(plan, selectedGroupId) {
|
|
151
|
+
if (!plan?.groups?.length) return null;
|
|
152
|
+
return (selectedGroupId ? plan.groups.find((group) => group.id === selectedGroupId && group.selectable) : void 0) ?? plan.groups.find((group) => group.selected) ?? selectSmallestSelectableGroup(plan.groups);
|
|
153
|
+
}
|
|
154
|
+
function buildPlanFromGroups(input) {
|
|
155
|
+
if (input.groups.length === 0) return null;
|
|
156
|
+
const selectedGroup = selectRequestedGroup(input.groups, input.selectedGroupId) ?? selectSmallestSelectableGroup(input.groups);
|
|
157
|
+
const selectedGroupId = selectedGroup?.id;
|
|
158
|
+
const groups = input.groups.map((group) => ({
|
|
159
|
+
...group,
|
|
160
|
+
selected: group.id === selectedGroupId
|
|
161
|
+
}));
|
|
162
|
+
const selectedFiles = selectedGroup?.files ?? [];
|
|
163
|
+
return {
|
|
164
|
+
modelId: input.modelId,
|
|
165
|
+
estimatedTotalBytes: selectedGroup?.estimatedTotalBytes,
|
|
166
|
+
files: selectedFiles,
|
|
167
|
+
selectedGroupId,
|
|
168
|
+
groups
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function selectRequestedGroup(groups, selectedGroupId) {
|
|
172
|
+
if (!selectedGroupId) return null;
|
|
173
|
+
return groups.find((group) => group.id === selectedGroupId && group.selectable) ?? null;
|
|
174
|
+
}
|
|
175
|
+
function selectSmallestSelectableGroup(groups) {
|
|
176
|
+
return groups.filter((group) => group.selectable && group.estimatedTotalBytes !== void 0).sort((left, right) => (left.estimatedTotalBytes ?? 0) - (right.estimatedTotalBytes ?? 0))[0] ?? null;
|
|
177
|
+
}
|
|
178
|
+
function createDownloadGroup(input) {
|
|
179
|
+
const files = dedupeFiles(input.files).map((file) => ({
|
|
180
|
+
path: file.path,
|
|
181
|
+
sizeBytes: file.sizeBytes,
|
|
182
|
+
required: true
|
|
183
|
+
}));
|
|
184
|
+
const estimatedTotalBytes = files.reduce((total, file) => total + (file.sizeBytes ?? 0), 0);
|
|
185
|
+
const hasConcreteSizes = files.length > 0 && files.every((file) => file.sizeBytes !== void 0);
|
|
186
|
+
return {
|
|
187
|
+
id: input.id,
|
|
188
|
+
label: input.label,
|
|
189
|
+
description: input.description,
|
|
190
|
+
profile: input.profile,
|
|
191
|
+
dtype: input.dtype,
|
|
192
|
+
estimatedTotalBytes: estimatedTotalBytes > 0 ? estimatedTotalBytes : void 0,
|
|
193
|
+
selectable: hasConcreteSizes && estimatedTotalBytes > 0,
|
|
194
|
+
selected: false,
|
|
195
|
+
files
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
function resolveRequiredBaseNames(fileMap, isEncoderDecoder) {
|
|
199
|
+
const paths = [...fileMap.keys()];
|
|
200
|
+
const hasEncoder = paths.some((path) => path.startsWith("onnx/encoder_model"));
|
|
201
|
+
const hasMergedDecoder = paths.some((path) => path.startsWith("onnx/decoder_model_merged"));
|
|
202
|
+
if (isEncoderDecoder === true || hasEncoder && hasMergedDecoder) return ["encoder_model", "decoder_model_merged"];
|
|
203
|
+
if (paths.some((path) => path.startsWith("onnx/model"))) return ["model"];
|
|
204
|
+
return [];
|
|
205
|
+
}
|
|
206
|
+
function collectProfileOnnxFiles(input) {
|
|
207
|
+
const files = [];
|
|
208
|
+
for (const baseName of input.requiredBaseNames) {
|
|
209
|
+
const onnxPath = `onnx/${baseName}${input.suffix}.onnx`;
|
|
210
|
+
if (!input.fileMap.has(onnxPath)) return null;
|
|
211
|
+
files.push({
|
|
212
|
+
path: onnxPath,
|
|
213
|
+
sizeBytes: input.fileMap.get(onnxPath),
|
|
214
|
+
required: true
|
|
215
|
+
});
|
|
216
|
+
const externalPrefix = `${onnxPath}_data`;
|
|
217
|
+
for (const [path, sizeBytes] of input.fileMap) if (path.startsWith(externalPrefix)) files.push({
|
|
218
|
+
path,
|
|
219
|
+
sizeBytes,
|
|
220
|
+
required: true
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
return files;
|
|
224
|
+
}
|
|
225
|
+
function collectAuxiliaryFiles(fileMap) {
|
|
226
|
+
const files = [];
|
|
227
|
+
for (const [path, sizeBytes] of fileMap) if (AUXILIARY_FILE_NAMES.has(path)) files.push({
|
|
228
|
+
path,
|
|
229
|
+
sizeBytes,
|
|
230
|
+
required: true
|
|
231
|
+
});
|
|
232
|
+
return files.sort((left, right) => left.path.localeCompare(right.path));
|
|
233
|
+
}
|
|
234
|
+
function dedupeFiles(files) {
|
|
235
|
+
const seen = /* @__PURE__ */ new Set();
|
|
236
|
+
const result = [];
|
|
237
|
+
for (const file of files) {
|
|
238
|
+
if (!file.path || seen.has(file.path)) continue;
|
|
239
|
+
seen.add(file.path);
|
|
240
|
+
result.push(file);
|
|
241
|
+
}
|
|
242
|
+
return result;
|
|
243
|
+
}
|
|
244
|
+
function buildProfileLabel(profile) {
|
|
245
|
+
switch (profile) {
|
|
246
|
+
case "q1": return "q1 (1-bit)";
|
|
247
|
+
case "q2": return "q2 (2-bit)";
|
|
248
|
+
case "q4": return "q4 (4-bit)";
|
|
249
|
+
case "q8": return "q8 (8-bit)";
|
|
250
|
+
default: return profile;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
//#endregion
|
|
255
|
+
export { selectLocalDownloadGroup as i, buildLocalDownloadPlanFromRepositoryFiles as n, buildLocalDownloadPlanFromRuntimeProfileFiles as r, LOCAL_MODEL_PROFILE_DEFINITIONS as t };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "./translator-LOd1jBrH.mjs";
|
|
2
|
+
import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-BA0ArrI0.mjs";
|
|
3
|
+
export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-BppI_PAq.mjs";
|
|
2
|
+
|
|
3
|
+
export { LOCAL_MODEL_PROFILE_DEFINITIONS, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-
|
|
1
|
+
import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-DUsbNcjh.mjs";
|
|
2
2
|
export { MarkdownFact, MarkdownFactKind, MarkdownFactsDocument, MarkdownSourcePoint, MarkdownSourceRange, parseMarkdownFacts, toMarkdownFactKind };
|
package/dist/markdown-facts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-
|
|
1
|
+
import { r as MarkdownFactsDocument, t as MarkdownFact } from "./markdown-facts-DUsbNcjh.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown-reading.d.ts
|
|
4
4
|
type MarkdownAnnotationConfidence = 'strong' | 'weak';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
2
|
-
import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-
|
|
1
|
+
import "./markdown-facts-DUsbNcjh.mjs";
|
|
2
|
+
import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-DvLPaaY1.mjs";
|
|
3
3
|
export { MarkdownAnnotation, MarkdownAnnotationConfidence, MarkdownAnnotationContext, MarkdownAnnotationInput, MarkdownAnnotationRule, MarkdownFactSpan, MarkdownProjectionContext, MarkdownProjectionRule, MarkdownReadingDocument, MarkdownReadingLookup, MarkdownReadingPlugin, MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
2
|
-
import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-
|
|
1
|
+
import "./markdown-facts-B5RvYPKF.mjs";
|
|
2
|
+
import { a as getMarkdownAnnotation, c as getMarkdownHeadingEnd, d as trimMarkdownSlice, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, n as buildMarkdownParentMap, o as getMarkdownAnnotationsForFact, r as createMarkdownReadingDocument, s as getMarkdownFactSpan, t as MarkdownReadingPluginRegistry, u as sortMarkdownReadingPlugins } from "./markdown-reading-DYBp7qoI.mjs";
|
|
3
3
|
|
|
4
4
|
export { MarkdownReadingPluginRegistry, buildMarkdownParentMap, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, sortMarkdownReadingPlugins, trimMarkdownSlice };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-
|
|
2
|
-
import { t as TerminalControlParser } from "./terminal-control-
|
|
1
|
+
import { g as SoundVolumeSchema, m as SoundConfigIdSchema, u as DEFAULT_NOTIFICATION_SOUND_ID } from "./sounds-CB_gpY-y.mjs";
|
|
2
|
+
import { t as TerminalControlParser } from "./terminal-control-CNcEd9Rl.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/notifications.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as SoundId } from "./sounds-
|
|
1
|
+
import { x as SoundId } from "./sounds-CYknP1uN.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal-control.d.ts
|
|
@@ -304,7 +304,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
304
304
|
href: string;
|
|
305
305
|
};
|
|
306
306
|
})[];
|
|
307
|
-
level: "
|
|
307
|
+
level: "error" | "info" | "success" | "warning";
|
|
308
308
|
createdAt?: number | undefined;
|
|
309
309
|
}, {
|
|
310
310
|
title: string;
|
|
@@ -340,7 +340,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
340
340
|
};
|
|
341
341
|
label?: string | undefined;
|
|
342
342
|
})[] | undefined;
|
|
343
|
-
level?: "
|
|
343
|
+
level?: "error" | "info" | "success" | "warning" | undefined;
|
|
344
344
|
}>;
|
|
345
345
|
type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
|
|
346
346
|
declare const NotificationRecordSchema: z.ZodObject<{
|
|
@@ -446,8 +446,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
446
446
|
createdAt: z.ZodNumber;
|
|
447
447
|
groupKey: z.ZodString;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
createdAt: number;
|
|
450
449
|
id: string;
|
|
450
|
+
createdAt: number;
|
|
451
451
|
title: string;
|
|
452
452
|
body: string;
|
|
453
453
|
source: {
|
|
@@ -480,11 +480,11 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
480
480
|
href: string;
|
|
481
481
|
};
|
|
482
482
|
})[];
|
|
483
|
-
level: "
|
|
483
|
+
level: "error" | "info" | "success" | "warning";
|
|
484
484
|
groupKey: string;
|
|
485
485
|
}, {
|
|
486
|
-
createdAt: number;
|
|
487
486
|
id: string;
|
|
487
|
+
createdAt: number;
|
|
488
488
|
title: string;
|
|
489
489
|
source: {
|
|
490
490
|
type: "terminal";
|
|
@@ -518,7 +518,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
518
518
|
};
|
|
519
519
|
label?: string | undefined;
|
|
520
520
|
})[] | undefined;
|
|
521
|
-
level?: "
|
|
521
|
+
level?: "error" | "info" | "success" | "warning" | undefined;
|
|
522
522
|
}>;
|
|
523
523
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
524
524
|
interface NotificationAggregate {
|
package/dist/notifications.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./sounds-
|
|
2
|
-
import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-
|
|
1
|
+
import "./sounds-CYknP1uN.mjs";
|
|
2
|
+
import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-DvyoW8gu.mjs";
|
|
3
3
|
export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationAction, NotificationActionSchema, NotificationAggregate, NotificationGroup, NotificationGroupKey, NotificationGroupKeySchema, NotificationPublishInput, NotificationPublishInputSchema, NotificationRecord, NotificationRecordSchema, NotificationSettings, NotificationSettingsSchema, NotificationSound, NotificationSoundSchema, NotificationSource, NotificationSourceSchema, TerminalControlParser, TerminalNotificationEvent, TerminalNotificationParseResult, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
|
package/dist/notifications.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./sounds-
|
|
2
|
-
import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-
|
|
3
|
-
import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-
|
|
1
|
+
import "./sounds-CB_gpY-y.mjs";
|
|
2
|
+
import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-CNcEd9Rl.mjs";
|
|
3
|
+
import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, d as aggregateNotifications, f as getNotificationAggregateKey, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-9vbSJQ8N.mjs";
|
|
4
4
|
|
|
5
5
|
export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, NotificationSourceSchema, TerminalControlParser, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as parseMarkdownFacts } from "./markdown-facts-
|
|
2
|
-
import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-
|
|
1
|
+
import { t as parseMarkdownFacts } from "./markdown-facts-B5RvYPKF.mjs";
|
|
2
|
+
import { c as getMarkdownHeadingEnd, i as createMarkdownReadingDocumentFromFacts, l as getMarkdownHeadingFacts, s as getMarkdownFactSpan } from "./markdown-reading-DYBp7qoI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/openspec-annotations.ts
|
|
5
5
|
const OPEN_SPEC_ANNOTATION_RULES = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as MarkdownFactsDocument } from "./markdown-facts-
|
|
2
|
-
import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-
|
|
1
|
+
import { r as MarkdownFactsDocument } from "./markdown-facts-DUsbNcjh.mjs";
|
|
2
|
+
import { a as MarkdownAnnotationRule, d as MarkdownReadingPlugin, l as MarkdownReadingDocument, n as MarkdownAnnotationConfidence, t as MarkdownAnnotation } from "./markdown-reading-DvLPaaY1.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/openspec-annotations.d.ts
|
|
5
5
|
type OpenSpecSemanticKind = 'document-title' | 'purpose-section' | 'requirements-section' | 'requirement' | 'scenario' | 'scenario-step' | 'keyword';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
2
|
-
import "./markdown-reading-
|
|
3
|
-
import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-
|
|
1
|
+
import "./markdown-facts-DUsbNcjh.mjs";
|
|
2
|
+
import "./markdown-reading-DvLPaaY1.mjs";
|
|
3
|
+
import { a as OpenSpecKeyword, c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, i as OpenSpecAnnotationMetadata, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, o as OpenSpecKeywordRole, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, s as OpenSpecRequirementKeyword, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-DVbFBz5J.mjs";
|
|
4
4
|
export { AnnotatedOpenSpecDocument, OpenSpecAnnotation, OpenSpecAnnotationConfidence, OpenSpecAnnotationMetadata, OpenSpecKeyword, OpenSpecKeywordRole, OpenSpecRequirementKeyword, OpenSpecScenarioStepKeyword, OpenSpecSemanticKind, annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
2
|
-
import "./markdown-reading-
|
|
3
|
-
import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-
|
|
1
|
+
import "./markdown-facts-B5RvYPKF.mjs";
|
|
2
|
+
import "./markdown-reading-DYBp7qoI.mjs";
|
|
3
|
+
import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as annotateOpenSpecMarkdown, o as openSpecAnnotationRules, r as builtinOpenSpecReadingPlugin, t as annotateOpenSpecFacts } from "./openspec-annotations-BxBoWlyv.mjs";
|
|
4
4
|
|
|
5
5
|
export { annotateOpenSpecFacts, annotateOpenSpecMarkdown, builtinOpenSpecReadingPlugin, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, openSpecAnnotationRules };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Spec } from "./schemas-
|
|
2
|
-
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-
|
|
3
|
-
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-
|
|
1
|
+
import { g as Spec } from "./schemas-P5NxTHR9.mjs";
|
|
2
|
+
import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-DvLPaaY1.mjs";
|
|
3
|
+
import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DVbFBz5J.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/openspec-projection.d.ts
|
|
6
6
|
declare const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-
|
|
2
|
-
import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-
|
|
1
|
+
import { c as getMarkdownHeadingEnd, d as trimMarkdownSlice, l as getMarkdownHeadingFacts, r as createMarkdownReadingDocument, s as getMarkdownFactSpan } from "./markdown-reading-DYBp7qoI.mjs";
|
|
2
|
+
import { r as builtinOpenSpecReadingPlugin } from "./openspec-annotations-BxBoWlyv.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/openspec-projection.ts
|
|
5
5
|
const OPEN_SPEC_SPEC_PROJECTION_ID = "openspec.projection.spec.v2";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./schemas-
|
|
2
|
-
import "./markdown-facts-
|
|
3
|
-
import "./markdown-reading-
|
|
4
|
-
import "./openspec-annotations-
|
|
5
|
-
import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-
|
|
1
|
+
import "./schemas-P5NxTHR9.mjs";
|
|
2
|
+
import "./markdown-facts-DUsbNcjh.mjs";
|
|
3
|
+
import "./markdown-reading-DvLPaaY1.mjs";
|
|
4
|
+
import "./openspec-annotations-DVbFBz5J.mjs";
|
|
5
|
+
import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-BA3r5CYl.mjs";
|
|
6
6
|
export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OpenSpecHeadingSection, OpenSpecProjectionOptions, OpenSpecReadingSectionsProjection, OpenSpecRequirementBlock, OpenSpecScenarioBlock, ProjectedOpenSpecDocument, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./markdown-facts-
|
|
2
|
-
import "./markdown-reading-
|
|
3
|
-
import "./openspec-annotations-
|
|
4
|
-
import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-
|
|
1
|
+
import "./markdown-facts-B5RvYPKF.mjs";
|
|
2
|
+
import "./markdown-reading-DYBp7qoI.mjs";
|
|
3
|
+
import "./openspec-annotations-BxBoWlyv.mjs";
|
|
4
|
+
import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-Cd6oydiK.mjs";
|
|
5
5
|
|
|
6
6
|
export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-
|
|
1
|
+
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CbO6K0Qq.mjs";
|
|
2
2
|
export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ChangeFile } from "./schemas-
|
|
1
|
+
import { n as ChangeFile } from "./schemas-P5NxTHR9.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/opsx-types.d.ts
|
|
@@ -141,16 +141,16 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
141
141
|
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
142
142
|
instruction: z.ZodString;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
tasks: {
|
|
145
|
-
id: string;
|
|
146
|
-
description: string;
|
|
147
|
-
done: boolean;
|
|
148
|
-
}[];
|
|
149
144
|
progress: {
|
|
150
145
|
total: number;
|
|
151
146
|
complete: number;
|
|
152
147
|
remaining: number;
|
|
153
148
|
};
|
|
149
|
+
tasks: {
|
|
150
|
+
id: string;
|
|
151
|
+
description: string;
|
|
152
|
+
done: boolean;
|
|
153
|
+
}[];
|
|
154
154
|
state: "ready" | "blocked" | "all_done";
|
|
155
155
|
changeName: string;
|
|
156
156
|
schemaName: string;
|
|
@@ -159,16 +159,16 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
159
159
|
instruction: string;
|
|
160
160
|
missingArtifacts?: string[] | undefined;
|
|
161
161
|
}, {
|
|
162
|
-
tasks: {
|
|
163
|
-
id: string;
|
|
164
|
-
description: string;
|
|
165
|
-
done: boolean;
|
|
166
|
-
}[];
|
|
167
162
|
progress: {
|
|
168
163
|
total: number;
|
|
169
164
|
complete: number;
|
|
170
165
|
remaining: number;
|
|
171
166
|
};
|
|
167
|
+
tasks: {
|
|
168
|
+
id: string;
|
|
169
|
+
description: string;
|
|
170
|
+
done: boolean;
|
|
171
|
+
}[];
|
|
172
172
|
state: "ready" | "blocked" | "all_done";
|
|
173
173
|
changeName: string;
|
|
174
174
|
schemaName: string;
|
|
@@ -221,8 +221,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
221
221
|
done: boolean;
|
|
222
222
|
}[];
|
|
223
223
|
unlocks: string[];
|
|
224
|
-
instruction?: string | null | undefined;
|
|
225
224
|
context?: string | null | undefined;
|
|
225
|
+
instruction?: string | null | undefined;
|
|
226
226
|
rules?: string[] | null | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
description: string;
|
|
@@ -239,8 +239,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
239
239
|
done: boolean;
|
|
240
240
|
}[];
|
|
241
241
|
unlocks: string[];
|
|
242
|
-
instruction?: string | null | undefined;
|
|
243
242
|
context?: string | null | undefined;
|
|
243
|
+
instruction?: string | null | undefined;
|
|
244
244
|
rules?: string[] | null | undefined;
|
|
245
245
|
}>;
|
|
246
246
|
type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
|
package/dist/opsx-entity.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-
|
|
2
|
-
import "./schemas-
|
|
1
|
+
import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-pnjptBhO.mjs";
|
|
2
|
+
import "./schemas-P5NxTHR9.mjs";
|
|
3
3
|
export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
|
package/dist/opsx-entity.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-
|
|
1
|
+
import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-BR_6djiM.mjs";
|
|
2
2
|
|
|
3
3
|
export { buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./opsx-entity-
|
|
2
|
-
import "./schemas-
|
|
3
|
-
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-
|
|
1
|
+
import "./opsx-entity-pnjptBhO.mjs";
|
|
2
|
+
import "./schemas-P5NxTHR9.mjs";
|
|
3
|
+
import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-X1wHtEmS.mjs";
|
|
4
4
|
export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
|