@facet-tools/ui 0.0.0-stage → 0.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +6 -0
- package/README.md +24 -2
- package/THIRD_PARTY.md +673 -0
- package/dist/NOTICE +6 -0
- package/dist/THIRD_PARTY.md +15 -0
- package/dist/atlas-BsWEDCxa.d.cts +4861 -0
- package/dist/atlas-BsWEDCxa.d.ts +4861 -0
- package/dist/chunk-7FW4IMVY.cjs +2013 -0
- package/dist/chunk-7FW4IMVY.cjs.map +1 -0
- package/dist/chunk-7SLSRYM3.cjs +6324 -0
- package/dist/chunk-7SLSRYM3.cjs.map +1 -0
- package/dist/chunk-A4BERWE6.js +19973 -0
- package/dist/chunk-A4BERWE6.js.map +1 -0
- package/dist/chunk-EZP2CCQY.js +6209 -0
- package/dist/chunk-EZP2CCQY.js.map +1 -0
- package/dist/chunk-FR6DIALV.js +511 -0
- package/dist/chunk-FR6DIALV.js.map +1 -0
- package/dist/chunk-GDFKDECN.cjs +1788 -0
- package/dist/chunk-GDFKDECN.cjs.map +1 -0
- package/dist/chunk-K2OVG2BC.cjs +20035 -0
- package/dist/chunk-K2OVG2BC.cjs.map +1 -0
- package/dist/chunk-LOI5RY3Y.js +1754 -0
- package/dist/chunk-LOI5RY3Y.js.map +1 -0
- package/dist/chunk-SWCO2XQL.js +1968 -0
- package/dist/chunk-SWCO2XQL.js.map +1 -0
- package/dist/chunk-WAG2ZZJH.cjs +514 -0
- package/dist/chunk-WAG2ZZJH.cjs.map +1 -0
- package/dist/classic.cjs +467 -0
- package/dist/classic.cjs.map +1 -0
- package/dist/classic.css +635 -0
- package/dist/classic.d.cts +4 -0
- package/dist/classic.d.ts +4 -0
- package/dist/classic.js +6 -0
- package/dist/classic.js.map +1 -0
- package/dist/companion-BUs0yNdX.d.cts +110 -0
- package/dist/companion-DOQ435G6.d.ts +110 -0
- package/dist/core/fixtures.cjs +268 -0
- package/dist/core/fixtures.cjs.map +1 -0
- package/dist/core/fixtures.d.cts +11 -0
- package/dist/core/fixtures.d.ts +11 -0
- package/dist/core/fixtures.js +261 -0
- package/dist/core/fixtures.js.map +1 -0
- package/dist/core.cjs +310 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +268 -0
- package/dist/core.d.ts +268 -0
- package/dist/core.js +5 -0
- package/dist/core.js.map +1 -0
- package/dist/elements.cjs +616 -0
- package/dist/elements.cjs.map +1 -0
- package/dist/elements.d.cts +20 -0
- package/dist/elements.d.ts +20 -0
- package/dist/elements.js +612 -0
- package/dist/elements.js.map +1 -0
- package/dist/facet/atlas.cjs +25 -0
- package/dist/facet/atlas.cjs.map +1 -0
- package/dist/facet/atlas.d.cts +2 -0
- package/dist/facet/atlas.d.ts +2 -0
- package/dist/facet/atlas.js +4 -0
- package/dist/facet/atlas.js.map +1 -0
- package/dist/facet-ui.standalone.js +104 -0
- package/dist/facet.cjs +253 -0
- package/dist/facet.cjs.map +1 -0
- package/dist/facet.css +10649 -0
- package/dist/facet.d.cts +91 -0
- package/dist/facet.d.ts +91 -0
- package/dist/facet.js +4 -0
- package/dist/facet.js.map +1 -0
- package/dist/index.cjs +467 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1584 -0
- package/dist/index.d.ts +1584 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/licenses/react-dom@19.2.8/LICENSE +21 -0
- package/dist/licenses/react@19.2.8/LICENSE +21 -0
- package/dist/licenses/scheduler@0.27.0/LICENSE +21 -0
- package/dist/tokens.css +635 -0
- package/dist/types-DkZBrIXE.d.cts +527 -0
- package/dist/types-DkZBrIXE.d.ts +527 -0
- package/package.json +169 -4
package/dist/core.cjs
ADDED
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7FW4IMVY_cjs = require('./chunk-7FW4IMVY.cjs');
|
|
4
|
+
var chunkGDFKDECN_cjs = require('./chunk-GDFKDECN.cjs');
|
|
5
|
+
require('./chunk-WAG2ZZJH.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "AGENT_PATH", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk7FW4IMVY_cjs.AGENT_PATH; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "AGENT_STATE_PATH", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk7FW4IMVY_cjs.AGENT_STATE_PATH; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "COMPANION_FOOT", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunk7FW4IMVY_cjs.COMPANION_FOOT; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "COMPANION_INTRO", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunk7FW4IMVY_cjs.COMPANION_INTRO; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "INDEX_PHASES", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunk7FW4IMVY_cjs.INDEX_PHASES; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "KNOWLEDGE_SLOT_KEYS", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunk7FW4IMVY_cjs.KNOWLEDGE_SLOT_KEYS; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "MIN_SUBSTANTIAL_CAPABILITY_RECORDS", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunk7FW4IMVY_cjs.MIN_SUBSTANTIAL_CAPABILITY_RECORDS; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "RAG_PATH", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunk7FW4IMVY_cjs.RAG_PATH; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "RAG_TOOL", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunk7FW4IMVY_cjs.RAG_TOOL; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "ROLES", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunk7FW4IMVY_cjs.ROLES; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "agentPlan", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunk7FW4IMVY_cjs.agentPlan; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "agentState", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunk7FW4IMVY_cjs.agentState; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "askAgent", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunk7FW4IMVY_cjs.askAgent; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "buildQuietLines", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunk7FW4IMVY_cjs.buildQuietLines; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "buildTermIndex", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunk7FW4IMVY_cjs.buildTermIndex; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "codeCoverageOf", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunk7FW4IMVY_cjs.codeCoverageOf; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "companionAnswer", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunk7FW4IMVY_cjs.companionAnswer; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "companionRecord", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunk7FW4IMVY_cjs.companionRecord; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "companionRoute", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunk7FW4IMVY_cjs.companionRoute; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "companionScope", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunk7FW4IMVY_cjs.companionScope; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "companionSuggestions", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunk7FW4IMVY_cjs.companionSuggestions; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "focusItems", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunk7FW4IMVY_cjs.focusItems; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "initialStatus", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunk7FW4IMVY_cjs.initialStatus; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "isRagTool", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunk7FW4IMVY_cjs.isRagTool; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "isSafeHref", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunk7FW4IMVY_cjs.isSafeHref; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "knowledgeCoverage", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunk7FW4IMVY_cjs.knowledgeCoverage; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "leadFor", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunk7FW4IMVY_cjs.leadFor; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "leadSentenceFacts", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunk7FW4IMVY_cjs.leadSentenceFacts; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "mergeStatus", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunk7FW4IMVY_cjs.mergeStatus; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "nextRole", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunk7FW4IMVY_cjs.nextRole; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "parseInline", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunk7FW4IMVY_cjs.parseInline; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "parseMarkdown", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunk7FW4IMVY_cjs.parseMarkdown; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "phaseRank", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunk7FW4IMVY_cjs.phaseRank; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "probeOf", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunk7FW4IMVY_cjs.probeOf; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "queryIndex", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunk7FW4IMVY_cjs.queryIndex; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "ragEmptyPlan", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return chunk7FW4IMVY_cjs.ragEmptyPlan; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "ragPlan", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return chunk7FW4IMVY_cjs.ragPlan; }
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "ragQueryOf", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return chunk7FW4IMVY_cjs.ragQueryOf; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "roleByKey", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return chunk7FW4IMVY_cjs.roleByKey; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "shouldConsultIndex", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunk7FW4IMVY_cjs.shouldConsultIndex; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "slotStateFor", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunk7FW4IMVY_cjs.slotStateFor; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "subscribeCorpus", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunk7FW4IMVY_cjs.subscribeCorpus; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "termOwner", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunk7FW4IMVY_cjs.termOwner; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "DEFAULT_ERROR_CODE_PATTERN", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunkGDFKDECN_cjs.DEFAULT_ERROR_CODE_PATTERN; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "GHERKIN_LABEL", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunkGDFKDECN_cjs.GHERKIN_LABEL; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "RENDERED_PATHS", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunkGDFKDECN_cjs.RENDERED_PATHS; }
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(exports, "YamlError", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () { return chunkGDFKDECN_cjs.YamlError; }
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, "anyAnchorProves", {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () { return chunkGDFKDECN_cjs.anyAnchorProves; }
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "buildEnumRegister", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () { return chunkGDFKDECN_cjs.buildEnumRegister; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "buildErrorCodeRegister", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunkGDFKDECN_cjs.buildErrorCodeRegister; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "buildModel", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunkGDFKDECN_cjs.buildModel; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "collectEnumConstraints", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkGDFKDECN_cjs.collectEnumConstraints; }
|
|
216
|
+
});
|
|
217
|
+
Object.defineProperty(exports, "collectPaths", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () { return chunkGDFKDECN_cjs.collectPaths; }
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, "coverage", {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () { return chunkGDFKDECN_cjs.coverage; }
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(exports, "errorCodeBand", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return chunkGDFKDECN_cjs.errorCodeBand; }
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(exports, "extractErrorCodes", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return chunkGDFKDECN_cjs.extractErrorCodes; }
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "formatNumber", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () { return chunkGDFKDECN_cjs.formatNumber; }
|
|
236
|
+
});
|
|
237
|
+
Object.defineProperty(exports, "glossaryTermList", {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () { return chunkGDFKDECN_cjs.glossaryTermList; }
|
|
240
|
+
});
|
|
241
|
+
Object.defineProperty(exports, "humanize", {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () { return chunkGDFKDECN_cjs.humanize; }
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(exports, "isRenderedPath", {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () { return chunkGDFKDECN_cjs.isRenderedPath; }
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(exports, "linkTerms", {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return chunkGDFKDECN_cjs.linkTerms; }
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(exports, "loadCorpus", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () { return chunkGDFKDECN_cjs.loadCorpus; }
|
|
256
|
+
});
|
|
257
|
+
Object.defineProperty(exports, "lookupTerm", {
|
|
258
|
+
enumerable: true,
|
|
259
|
+
get: function () { return chunkGDFKDECN_cjs.lookupTerm; }
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(exports, "parseEnumConstraint", {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
get: function () { return chunkGDFKDECN_cjs.parseEnumConstraint; }
|
|
264
|
+
});
|
|
265
|
+
Object.defineProperty(exports, "parseGherkin", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () { return chunkGDFKDECN_cjs.parseGherkin; }
|
|
268
|
+
});
|
|
269
|
+
Object.defineProperty(exports, "parseGlossary", {
|
|
270
|
+
enumerable: true,
|
|
271
|
+
get: function () { return chunkGDFKDECN_cjs.parseGlossary; }
|
|
272
|
+
});
|
|
273
|
+
Object.defineProperty(exports, "parseTaxonomy", {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function () { return chunkGDFKDECN_cjs.parseTaxonomy; }
|
|
276
|
+
});
|
|
277
|
+
Object.defineProperty(exports, "parseYaml", {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
get: function () { return chunkGDFKDECN_cjs.parseYaml; }
|
|
280
|
+
});
|
|
281
|
+
Object.defineProperty(exports, "pct", {
|
|
282
|
+
enumerable: true,
|
|
283
|
+
get: function () { return chunkGDFKDECN_cjs.pct; }
|
|
284
|
+
});
|
|
285
|
+
Object.defineProperty(exports, "recordKindOf", {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function () { return chunkGDFKDECN_cjs.recordKindOf; }
|
|
288
|
+
});
|
|
289
|
+
Object.defineProperty(exports, "scenarioPreview", {
|
|
290
|
+
enumerable: true,
|
|
291
|
+
get: function () { return chunkGDFKDECN_cjs.scenarioPreview; }
|
|
292
|
+
});
|
|
293
|
+
Object.defineProperty(exports, "shapeDefects", {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
get: function () { return chunkGDFKDECN_cjs.shapeDefects; }
|
|
296
|
+
});
|
|
297
|
+
Object.defineProperty(exports, "shapeRecord", {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function () { return chunkGDFKDECN_cjs.shapeRecord; }
|
|
300
|
+
});
|
|
301
|
+
Object.defineProperty(exports, "taxonomyTree", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function () { return chunkGDFKDECN_cjs.taxonomyTree; }
|
|
304
|
+
});
|
|
305
|
+
Object.defineProperty(exports, "tokenizeGherkin", {
|
|
306
|
+
enumerable: true,
|
|
307
|
+
get: function () { return chunkGDFKDECN_cjs.tokenizeGherkin; }
|
|
308
|
+
});
|
|
309
|
+
//# sourceMappingURL=core.cjs.map
|
|
310
|
+
//# sourceMappingURL=core.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"core.cjs"}
|
package/dist/core.d.cts
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { R as RepoScan, b as RecordKind, Y as YamlValue, D as Defects, c as RawRecord, F as FacetRecord, E as EnumRegister, d as ErrorCodeRegister, e as CorpusError, T as Taxonomy, C as Calibration, f as Glossary, A as AtlasModel, g as EnumRawConstraint, h as ErrorCodeEntry, i as ScannedFile, j as RoleDef, a as RoleKey } from './types-DkZBrIXE.cjs';
|
|
2
|
+
export { k as Alert, l as AlertEntry, m as Anchor, n as CalibrationMetric, o as CheckEntry, p as Classification, q as Clause, r as ComplianceCheck, s as ContinuousCheck, t as Dashboard, u as DecisionTarget, v as DefectFix, w as Domain, x as DomainCoverage, y as DriftEntry, z as Edge, B as EnumRegisterEntry, H as EnumValueSet, I as ErrorCodeBandGroup, J as ErrorCodeMention, K as Evidence, L as FeatureFlag, M as FieldPath, G as GherkinKeyword, N as GlossaryTerm, O as KnowledgeSlot, P as LogEvent, Q as MetricEmission, U as OrphanAnchor, V as ProseSegment, W as RecordVariant, X as Scenario, Z as ScenarioAudience, _ as ScenarioBacking, $ as ScenarioDeviation, a0 as ScenarioEntry, S as ScenarioStep, a1 as SchemaField, a2 as Slo, a3 as SloEntry, a4 as TaxonomyBranch, a5 as TaxonomyCapability, a6 as TaxonomyDomain, a7 as TaxonomyNode, a8 as TeamEntry, a9 as TestRef, aa as TraceEmission, ab as UndeclaredMention, ac as VocabCoverage, ad as VocabGroup, ae as VocabValue, af as YamlError, ag as glossaryTermList, ah as linkTerms, ai as lookupTerm, aj as parseGlossary, ak as parseTaxonomy, al as parseYaml, am as taxonomyTree } from './types-DkZBrIXE.cjs';
|
|
3
|
+
import { C as CompanionPlan } from './companion-BUs0yNdX.cjs';
|
|
4
|
+
export { a as COMPANION_FOOT, b as COMPANION_INTRO, c as CompanionFact, d as CompanionRoute, e as CompanionSource, f as CorpusSource, g as CorpusStream, h as CorpusStreamHandlers, i as CorpusStreamOptions, G as GHERKIN_LABEL, j as GherkinToken, k as GherkinTokenKind, I as INDEX_PHASES, l as IndexPhase, m as IndexStatus, L as LeadSegment, P as ProbeKey, n as ProbeMeaning, o as ProbeRow, p as ProbeView, q as agentPlan, r as companionAnswer, s as companionRecord, t as companionRoute, u as companionScope, v as companionSuggestions, w as initialStatus, x as leadFor, y as loadCorpus, z as mergeStatus, A as parseGherkin, B as phaseRank, D as probeOf, E as scenarioPreview, F as subscribeCorpus, H as tokenizeGherkin } from './companion-BUs0yNdX.cjs';
|
|
5
|
+
|
|
6
|
+
type MdInline = {
|
|
7
|
+
kind: "text";
|
|
8
|
+
text: string;
|
|
9
|
+
} | {
|
|
10
|
+
kind: "strong";
|
|
11
|
+
text: string;
|
|
12
|
+
} | {
|
|
13
|
+
kind: "em";
|
|
14
|
+
text: string;
|
|
15
|
+
} | {
|
|
16
|
+
kind: "code";
|
|
17
|
+
text: string;
|
|
18
|
+
} | {
|
|
19
|
+
kind: "link";
|
|
20
|
+
text: string;
|
|
21
|
+
href: string;
|
|
22
|
+
};
|
|
23
|
+
type MdBlock = {
|
|
24
|
+
kind: "paragraph";
|
|
25
|
+
inline: MdInline[];
|
|
26
|
+
} | {
|
|
27
|
+
kind: "heading";
|
|
28
|
+
level: number;
|
|
29
|
+
inline: MdInline[];
|
|
30
|
+
} | {
|
|
31
|
+
kind: "list";
|
|
32
|
+
ordered: boolean;
|
|
33
|
+
items: MdInline[][];
|
|
34
|
+
} | {
|
|
35
|
+
kind: "code";
|
|
36
|
+
language: string;
|
|
37
|
+
text: string;
|
|
38
|
+
} | {
|
|
39
|
+
kind: "quote";
|
|
40
|
+
inline: MdInline[];
|
|
41
|
+
} | {
|
|
42
|
+
kind: "rule";
|
|
43
|
+
};
|
|
44
|
+
declare function parseMarkdown(text: string): MdBlock[];
|
|
45
|
+
declare function parseInline(text: string): MdInline[];
|
|
46
|
+
declare function isSafeHref(href: string): boolean;
|
|
47
|
+
|
|
48
|
+
declare function anyAnchorProves(scan: RepoScan | undefined): boolean;
|
|
49
|
+
declare function recordKindOf(id: string): RecordKind;
|
|
50
|
+
declare function shapeDefects(value: YamlValue | undefined): Defects;
|
|
51
|
+
declare function shapeRecord(raw: RawRecord, scan: RepoScan | undefined): FacetRecord;
|
|
52
|
+
|
|
53
|
+
declare function humanize(segment: string): string;
|
|
54
|
+
|
|
55
|
+
declare function pct(part: number, total: number): number;
|
|
56
|
+
declare function formatNumber(n: number): string;
|
|
57
|
+
declare const RENDERED_PATHS: readonly string[];
|
|
58
|
+
declare function isRenderedPath(path: string): boolean;
|
|
59
|
+
declare function collectPaths(node: YamlValue | undefined, prefix: string, out: Record<string, number>): void;
|
|
60
|
+
declare function parseEnumConstraint(text: string): string[] | null;
|
|
61
|
+
declare function collectEnumConstraints(entities: FacetRecord[]): EnumRawConstraint[];
|
|
62
|
+
declare function buildEnumRegister(entities: FacetRecord[]): EnumRegister;
|
|
63
|
+
declare function buildModel(rc: Record<string, YamlValue>, paths: string[], raws: RawRecord[], scan?: RepoScan, corpusErrors?: CorpusError[], taxonomy?: Taxonomy | null, calibration?: Calibration | null, glossary?: Glossary | null): AtlasModel;
|
|
64
|
+
declare const DEFAULT_ERROR_CODE_PATTERN: RegExp;
|
|
65
|
+
declare function errorCodeBand(code: string): string;
|
|
66
|
+
declare function extractErrorCodes(recs: FacetRecord[], pattern?: RegExp): ErrorCodeEntry[];
|
|
67
|
+
declare function buildErrorCodeRegister(recs: FacetRecord[], pattern?: RegExp): ErrorCodeRegister;
|
|
68
|
+
declare function coverage(policy: FacetRecord, feature: FacetRecord): "direct" | "area" | null;
|
|
69
|
+
|
|
70
|
+
type AnchoredFileCoverage = ScannedFile & {
|
|
71
|
+
anchors: number;
|
|
72
|
+
locPerAnchor: number | null;
|
|
73
|
+
};
|
|
74
|
+
type DirCoverage = {
|
|
75
|
+
dir: string;
|
|
76
|
+
filesTotal: number;
|
|
77
|
+
filesAnchored: number;
|
|
78
|
+
locTotal: number;
|
|
79
|
+
locAnchored: number;
|
|
80
|
+
unanchored: ScannedFile[];
|
|
81
|
+
anchored: AnchoredFileCoverage[];
|
|
82
|
+
};
|
|
83
|
+
type CodeCoverage = {
|
|
84
|
+
filesTotal: number;
|
|
85
|
+
filesAnchored: number;
|
|
86
|
+
locTotal: number;
|
|
87
|
+
locAnchored: number;
|
|
88
|
+
dirs: DirCoverage[];
|
|
89
|
+
};
|
|
90
|
+
declare function codeCoverageOf(model: AtlasModel): CodeCoverage | null;
|
|
91
|
+
|
|
92
|
+
declare const ROLES: readonly RoleDef[];
|
|
93
|
+
declare function roleByKey(key: RoleKey | null | undefined): RoleDef;
|
|
94
|
+
declare function nextRole(key: RoleKey | null | undefined): RoleKey;
|
|
95
|
+
|
|
96
|
+
declare const KNOWLEDGE_SLOT_KEYS: readonly ["prerequisite_knowledge", "not_for", "success_signal", "common_pitfalls", "discoverability"];
|
|
97
|
+
type KnowledgeSlotKey = (typeof KNOWLEDGE_SLOT_KEYS)[number];
|
|
98
|
+
type KnowledgeCellState = "answered" | "question" | "missing";
|
|
99
|
+
type KnowledgeSlotCounts = Record<KnowledgeCellState, number>;
|
|
100
|
+
type CapabilityKnowledge = {
|
|
101
|
+
domain: string;
|
|
102
|
+
capability: string;
|
|
103
|
+
records: FacetRecord[];
|
|
104
|
+
noKnowledge: FacetRecord[];
|
|
105
|
+
slots: Record<KnowledgeSlotKey, KnowledgeSlotCounts>;
|
|
106
|
+
answered: number;
|
|
107
|
+
total: number;
|
|
108
|
+
};
|
|
109
|
+
declare function slotStateFor(record: FacetRecord, key: KnowledgeSlotKey): KnowledgeCellState;
|
|
110
|
+
declare function knowledgeCoverage(model: AtlasModel): CapabilityKnowledge[];
|
|
111
|
+
|
|
112
|
+
type AgentStep = {
|
|
113
|
+
kind: "status";
|
|
114
|
+
text: string;
|
|
115
|
+
tokens?: number;
|
|
116
|
+
} | {
|
|
117
|
+
kind: "thinking";
|
|
118
|
+
text: string;
|
|
119
|
+
} | {
|
|
120
|
+
kind: "read";
|
|
121
|
+
tool: string;
|
|
122
|
+
target: string;
|
|
123
|
+
} | {
|
|
124
|
+
kind: "text";
|
|
125
|
+
text: string;
|
|
126
|
+
} | {
|
|
127
|
+
kind: "compacted";
|
|
128
|
+
text: string;
|
|
129
|
+
} | {
|
|
130
|
+
kind: "done";
|
|
131
|
+
session: string;
|
|
132
|
+
cost: number;
|
|
133
|
+
turns?: number;
|
|
134
|
+
} | {
|
|
135
|
+
kind: "signin";
|
|
136
|
+
text: string;
|
|
137
|
+
hint: string;
|
|
138
|
+
} | {
|
|
139
|
+
kind: "failed";
|
|
140
|
+
text: string;
|
|
141
|
+
};
|
|
142
|
+
type AgentState = {
|
|
143
|
+
auth: {
|
|
144
|
+
loggedIn: boolean;
|
|
145
|
+
authMethod?: string;
|
|
146
|
+
email?: string;
|
|
147
|
+
subscriptionType?: string;
|
|
148
|
+
available: boolean;
|
|
149
|
+
reason?: string;
|
|
150
|
+
hint?: string;
|
|
151
|
+
};
|
|
152
|
+
models: {
|
|
153
|
+
id: string;
|
|
154
|
+
label: string;
|
|
155
|
+
note?: string;
|
|
156
|
+
}[];
|
|
157
|
+
model: string;
|
|
158
|
+
};
|
|
159
|
+
type AgentHandlers = {
|
|
160
|
+
onStatus?: (status: string, tokens: number) => void;
|
|
161
|
+
onThinking?: (text: string) => void;
|
|
162
|
+
onRead?: (target: string, tool: string) => void;
|
|
163
|
+
onCompacted?: () => void;
|
|
164
|
+
onSignIn?: (reason: string, hint: string) => void;
|
|
165
|
+
onText?: (text: string) => void;
|
|
166
|
+
onDone?: (session: string, cost: number) => void;
|
|
167
|
+
onError?: (error: Error) => void;
|
|
168
|
+
};
|
|
169
|
+
type AgentStream = {
|
|
170
|
+
addEventListener(type: string, listener: (event: MessageEvent) => void): void;
|
|
171
|
+
close(): void;
|
|
172
|
+
};
|
|
173
|
+
type AgentOptions = {
|
|
174
|
+
open?: (url: string) => AgentStream;
|
|
175
|
+
session?: string | null;
|
|
176
|
+
model?: string | null;
|
|
177
|
+
context?: readonly string[];
|
|
178
|
+
mode?: string | null;
|
|
179
|
+
};
|
|
180
|
+
declare const AGENT_PATH = "/api/companion";
|
|
181
|
+
declare function askAgent(question: string, handlers?: AgentHandlers, options?: AgentOptions): () => void;
|
|
182
|
+
declare const AGENT_STATE_PATH = "/api/companion/state";
|
|
183
|
+
declare function agentState(fetcher?: typeof fetch): Promise<AgentState | null>;
|
|
184
|
+
|
|
185
|
+
type RagHit = {
|
|
186
|
+
feature?: string;
|
|
187
|
+
registry?: string;
|
|
188
|
+
kind: string;
|
|
189
|
+
facet: string;
|
|
190
|
+
path: string;
|
|
191
|
+
title?: string;
|
|
192
|
+
score: number;
|
|
193
|
+
text: string;
|
|
194
|
+
};
|
|
195
|
+
type RagResponse = {
|
|
196
|
+
available: boolean;
|
|
197
|
+
reason?: string;
|
|
198
|
+
hint?: string;
|
|
199
|
+
model?: string;
|
|
200
|
+
chunks?: number;
|
|
201
|
+
lexical?: boolean;
|
|
202
|
+
hits: RagHit[];
|
|
203
|
+
};
|
|
204
|
+
declare const RAG_PATH = "/api/rag";
|
|
205
|
+
declare const RAG_TOOL = "mcp__facet__rag_query";
|
|
206
|
+
declare function isRagTool(tool: string): boolean;
|
|
207
|
+
declare function ragQueryOf(tool: string, target: string): string | null;
|
|
208
|
+
type RagOptions = {
|
|
209
|
+
fetcher?: typeof fetch;
|
|
210
|
+
limit?: number;
|
|
211
|
+
signal?: AbortSignal;
|
|
212
|
+
};
|
|
213
|
+
declare function queryIndex(question: string, options?: RagOptions): Promise<RagResponse | null>;
|
|
214
|
+
declare function shouldConsultIndex(model: AtlasModel, question: string): boolean;
|
|
215
|
+
declare function ragPlan(response: RagResponse): CompanionPlan;
|
|
216
|
+
declare function ragEmptyPlan(response: RagResponse): CompanionPlan;
|
|
217
|
+
|
|
218
|
+
type FocusSeverity = 0 | 1 | 2;
|
|
219
|
+
type FocusBodyRow = {
|
|
220
|
+
label: string;
|
|
221
|
+
value: string;
|
|
222
|
+
};
|
|
223
|
+
type FocusItem = {
|
|
224
|
+
id: string;
|
|
225
|
+
severity: FocusSeverity;
|
|
226
|
+
section: string;
|
|
227
|
+
title: string;
|
|
228
|
+
why: string;
|
|
229
|
+
meta: string;
|
|
230
|
+
body: FocusBodyRow[];
|
|
231
|
+
};
|
|
232
|
+
declare function focusItems(model: AtlasModel): FocusItem[];
|
|
233
|
+
type LeadSentenceFacts = {
|
|
234
|
+
open: number;
|
|
235
|
+
overdue: number;
|
|
236
|
+
untested: number;
|
|
237
|
+
unanchored: number;
|
|
238
|
+
features: number;
|
|
239
|
+
domains: number;
|
|
240
|
+
coverage: number;
|
|
241
|
+
};
|
|
242
|
+
declare function leadSentenceFacts(model: AtlasModel): LeadSentenceFacts;
|
|
243
|
+
|
|
244
|
+
type TermCategoryKind = "domain" | "capability" | "entity" | "policy" | "assumption";
|
|
245
|
+
type TermEntry = {
|
|
246
|
+
key: string;
|
|
247
|
+
kind: TermCategoryKind;
|
|
248
|
+
label: string;
|
|
249
|
+
count: number;
|
|
250
|
+
owner: string;
|
|
251
|
+
records: string[];
|
|
252
|
+
};
|
|
253
|
+
type TermIndex = {
|
|
254
|
+
domains: TermEntry[];
|
|
255
|
+
capabilities: TermEntry[];
|
|
256
|
+
entities: TermEntry[];
|
|
257
|
+
policies: TermEntry[];
|
|
258
|
+
assumptions: TermEntry[];
|
|
259
|
+
};
|
|
260
|
+
declare const MIN_SUBSTANTIAL_CAPABILITY_RECORDS = 3;
|
|
261
|
+
declare function termOwner(records: {
|
|
262
|
+
team: string;
|
|
263
|
+
}[]): string;
|
|
264
|
+
declare function buildTermIndex(model: AtlasModel): TermIndex;
|
|
265
|
+
|
|
266
|
+
declare function buildQuietLines(model: AtlasModel): string[];
|
|
267
|
+
|
|
268
|
+
export { AGENT_PATH, AGENT_STATE_PATH, type AgentHandlers, type AgentOptions, type AgentState, type AgentStep, type AgentStream, type AnchoredFileCoverage, AtlasModel, Calibration, type CapabilityKnowledge, type CodeCoverage, CompanionPlan, CorpusError, DEFAULT_ERROR_CODE_PATTERN, Defects, type DirCoverage, EnumRawConstraint, EnumRegister, ErrorCodeEntry, ErrorCodeRegister, FacetRecord, type FocusBodyRow, type FocusItem, type FocusSeverity, Glossary, KNOWLEDGE_SLOT_KEYS, type KnowledgeCellState, type KnowledgeSlotCounts, type KnowledgeSlotKey, type LeadSentenceFacts, MIN_SUBSTANTIAL_CAPABILITY_RECORDS, type MdBlock, type MdInline, RAG_PATH, RAG_TOOL, RENDERED_PATHS, ROLES, type RagHit, type RagOptions, type RagResponse, RawRecord, RecordKind, RepoScan, RoleDef, RoleKey, ScannedFile, Taxonomy, type TermCategoryKind, type TermEntry, type TermIndex, YamlValue, agentState, anyAnchorProves, askAgent, buildEnumRegister, buildErrorCodeRegister, buildModel, buildQuietLines, buildTermIndex, codeCoverageOf, collectEnumConstraints, collectPaths, coverage, errorCodeBand, extractErrorCodes, focusItems, formatNumber, humanize, isRagTool, isRenderedPath, isSafeHref, knowledgeCoverage, leadSentenceFacts, nextRole, parseEnumConstraint, parseInline, parseMarkdown, pct, queryIndex, ragEmptyPlan, ragPlan, ragQueryOf, recordKindOf, roleByKey, shapeDefects, shapeRecord, shouldConsultIndex, slotStateFor, termOwner };
|