@agentproto/corpus 0.2.1 → 0.3.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/LICENSE +202 -21
- package/dist/index.d.ts +39 -1
- package/dist/index.mjs +99 -14
- package/dist/index.mjs.map +1 -1
- package/dist/report/index.d.ts +27 -2
- package/dist/report/index.mjs +55 -4
- package/dist/report/index.mjs.map +1 -1
- package/package.json +9 -9
package/LICENSE
CHANGED
|
@@ -1,21 +1,202 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/dist/index.d.ts
CHANGED
|
@@ -995,6 +995,34 @@ declare function parseItems(text: string): DistilledItem[];
|
|
|
995
995
|
|
|
996
996
|
declare function scanDistilledSourceIds(fs: FsPort): Promise<Set<string>>;
|
|
997
997
|
|
|
998
|
+
/**
|
|
999
|
+
* readDistillSources — scan `sources/**/*.md` into {@link DistillSource}
|
|
1000
|
+
* objects, deriving each source's provenance `id` from FRONTMATTER `id` and its
|
|
1001
|
+
* distill body from the FRONTMATTER-STRIPPED content.
|
|
1002
|
+
*
|
|
1003
|
+
* This is the ONE implementation of the source-scan glue that used to live only
|
|
1004
|
+
* in the Bureau client's `corpus.provider.ts` (`readSources`). Extracting it
|
|
1005
|
+
* here (FsPort-based, like {@link scanDistilledSourceIds}) means the client
|
|
1006
|
+
* driver and the server-side synthesize payoff distill from IDENTICAL sources —
|
|
1007
|
+
* so the entries a server run produces carry the same `sources: [<id>]`
|
|
1008
|
+
* provenance backlinks and the same frontmatter-free LLM bodies a local run
|
|
1009
|
+
* would. Swapping in `LocalFilesImporter` (filename-slug id, whole-file body)
|
|
1010
|
+
* would silently drift provenance; this doesn't.
|
|
1011
|
+
*/
|
|
1012
|
+
|
|
1013
|
+
interface ReadDistillSourcesOptions {
|
|
1014
|
+
/** Cap the number of sources returned (scan stops once reached). */
|
|
1015
|
+
readonly max?: number;
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Read every `sources/**/*.md` under the workspace into a `DistillSource`.
|
|
1019
|
+
* A file is skipped when it has no frontmatter `id` or an empty body (the same
|
|
1020
|
+
* two skip conditions the client scan applies). Tolerant of both `walk`
|
|
1021
|
+
* conventions a host's FsPort may use (paths relative to the walked dir, or
|
|
1022
|
+
* anchored at the workspace root) by normalizing each back under `sources/`.
|
|
1023
|
+
*/
|
|
1024
|
+
declare function readDistillSources(fs: FsPort, opts?: ReadDistillSourcesOptions): Promise<DistillSource[]>;
|
|
1025
|
+
|
|
998
1026
|
/**
|
|
999
1027
|
* modelDistiller — a {@link DistillPort} backed by any structural model port
|
|
1000
1028
|
* (`complete({prompt}) → {result}`). This is the seam that unifies distill with
|
|
@@ -2259,6 +2287,16 @@ interface CorpusValidatorOptions {
|
|
|
2259
2287
|
}
|
|
2260
2288
|
declare class CorpusValidator {
|
|
2261
2289
|
private readonly validators;
|
|
2290
|
+
/**
|
|
2291
|
+
* Per-doctype map of `schema:` discriminator value → validator for
|
|
2292
|
+
* that single oneOf branch (e.g. "knowledge.source/v1" → the AIP-10
|
|
2293
|
+
* source branch). Built from each schema's `oneOf` of local `$refs`
|
|
2294
|
+
* whose target declares `properties.schema.const`. Used to report
|
|
2295
|
+
* the RIGHT branch's errors when a file declares its doctype
|
|
2296
|
+
* explicitly, instead of ajv's full oneOf fan-out (which buries the
|
|
2297
|
+
* one real error under every other branch's missing-property noise).
|
|
2298
|
+
*/
|
|
2299
|
+
private readonly branchValidators;
|
|
2262
2300
|
constructor(opts: CorpusValidatorOptions);
|
|
2263
2301
|
/**
|
|
2264
2302
|
* Validate a single parsed file. Returns issues + a valid flag.
|
|
@@ -3401,4 +3439,4 @@ declare class PlaybookEvaluator {
|
|
|
3401
3439
|
declare const SPEC_NAME: "agentcorpus/v1";
|
|
3402
3440
|
declare const SPEC_VERSION: "0.1.0-alpha";
|
|
3403
3441
|
|
|
3404
|
-
export { ANY_REF, type AccessCaller, type AccessClassification, type AccessContext, type AccessDecision, type AccessModesMap, type ActivateResult, type AggregateOptions, type AggregateResult, type AipSchemaBundle, type AipSchemaKey, type ArchiveResult, type AttachmentAsset, type AttachmentDeclaration, type Attestation, type AttestationKind, type AutoPromoteConfig, type AutoPromoteRequirements, type AxisDefinition, type AxisRegistry, type BatchReport, type BuildOverlayOptions, type CalibrationOptions, type CandidateForGate, type CandidateRow, type CandidateStatus, CandidatesSidecar, type CandidatesSidecarOptions, type Capability, type CapabilityCaller, type CapabilityDecision, type CapabilityRule, type ChunkerOptions, ClaudeDistiller, type ClaudeDistillerOptions, ClockPort, type ConversationDoc, ConversationImporter, type ConversationImporterOptions, type ConversationSourcePort, type ConversationThreadRef, type ConversationTurn, type ConversationWindowSource, type CorpusAccessSpec, type CorpusEntryQuery, type CorpusEvent, CorpusEventEmitter, type CorpusEventEmitterOptions, type CorpusEventKind, type CorpusHost, type CorpusImporter, CorpusIndexer, type CorpusIndexerOptions, CorpusLinter, type CorpusLinterOptions, type CorpusPreset, type CorpusPresetBootstrapContext, CorpusPromoter, CorpusValidator, type CorpusValidatorOptions, CorpusVersionConflictError, CorpusWorkspaceReader, type CorpusWorkspaceReaderOptions, type CorpusWorkspaceSnapshot, CorpusWorkspaceWriter, type CorpusWorkspaceWriterOptions, type CustomLintRunner, DEFAULT_TRANSITIONS, DISTILL_INDEX_PATH, type DimensionProvider, type DimensionValue, type Dimensions, type DistillBinding, type DistillCoreReport, type DistillDescriptor, type DistillFromImporterOptions, DistillIndex, type DistillIndexOptions, type DistillIndexRecord, type DistillInput, type DistillPort, type DistillRegistry, type DistillReport, type DistillRunReport, DistillRunner, type DistillRunnerOptions, type DistillScope, type DistillSource, type DistillTarget, type DistilledItem, EMPTY_SELECTOR, type EntryLayout, type EvalCase, EvalContextPort, EvalRubricPort, EvaluatorPort, FetcherPort, type FileKind, FsLockHandle, FsPort, FsStat, type GateFailure, type GateResult, IdentityPort, IllegalPlaybookTransitionError, IllegalTransitionError, type ImportedSource, ImporterRunner, type ImporterRunnerOptions, type ImporterTarget, type IndexReport, type KbListLike, type KbMigrationConfig, KbMigrationImporter, type KbSourceLike, type LanguageFilter, type LayerMode, type LayerProvider, type LayerRef, type LayerShadow, type Lens, type LensMode, type LensStaleness, type LintIssue, type LintReport, LocalFilesImporter, type LocalFilesImporterOptions, type MarkdownDoc, type MatchAttachmentsOptions, type MatchOptions, MemFs, MemFsCorpusHost, type ModelDistillerOptions, OperatorOverlayResolver, OverlayFs, type OverlayFsOptions, type ParsedFile, type Playbook, type PlaybookBatchOptions, type PlaybookBatchResult, type PlaybookCorpusMeta, PlaybookEvaluator, type PlaybookEvaluatorOptions, type PlaybookKind, PlaybookLifecycle, type PlaybookLifecycleOptions, PlaybookNotFoundError, type PlaybookQuery, PlaybookRegistry, type PlaybookRegistryOptions, type PlaybookStatus, type PlaybookTarget, type PlaybookTargetKind, type PromoteContext, type PromoteOptions, PromoteRejectedError, type PromoteResult, type PushChunksInput, type PushSourceInput, REFINED_KIND_SCHEMA, ReadOnlyFs, type RefinedKind, type RenderedOverlays, type ResolutionContext, type ResolveContext, type ResolveKnowledgeOptions, type ResolveLanguageFilterInput, type ResolveResult, type ResolvedEntry, type ResolvedOverlay, type ReviewerCalibration, type ReviewerScore, ReviewerTrackRecord, type ReviewerTrackRecordOptions, type RunDistillOptions, SPEC_NAME, SPEC_VERSION, SYNTHESIS_ROLE_TAG, type Selector, type SelectorTerm, SidecarDuplicateError, SidecarNotFoundError, type SinkItem, type SinkPort, type SinkPushResult, type SlugifyOptions, type SourceRef, type SourceSelector, type StackEntry, type StackRefPartition, type StackResolution, StackResolver, type StackSkip, type StandardSubject, type SyncReport, SyncRunner, type SyncRunnerOptions, type SynthesisAtom, type SynthesisInput, type SynthesisPort, type SynthesizeLensOptions, type SynthesizeLensReport, type TrackRecordEntry, type TransitionCheck, type ValidationIssue, type ValidationResult, WELL_KNOWN_AXES, WHITEOUT_SUFFIX, WebImporter, type WebImporterOptions, type WriterChunk, type WriterPort, aggregateReviewerScores, appendAttestation, assembleDimensions, assertTransition, buildDistillPrompt, buildOverlayFromStack, buildSynthesisPrompt, canTransition, capabilityAxis, chunkText, compileLegacyPlaybookBinding, computeReviewerCalibration, createAxisRegistry, createDistillRegistry, currentLensAtoms, defaultSynthesisPath, distillFromImporter, enumerateWindowRefs, evaluateAccess, evaluateCapability, evaluateGate, extractAutoPromoteConfig, flattenPackRefs, identityAxis, isEmptySelector, isEntrySlug, isRefinedKind, isSourceSlug, lensAspect, lensAspectTag, lensSynthesisStale, makeAttestation, matchAttachmentRefs, matchAttachments, matchesLanguageFilter, matchesSelector, modelDistiller, normalizeLanguageTag, parseItems, parseSelectorFrontmatter, parseWindowRef, partitionStackRefs, pearsonCorrelation, positionAxis, prefixedRefNormalizer, readAccessModes, readAccessSpec, readAttestations, readEntryLanguage, readOperatorLocale, readWorkspaceDefaultLanguage, renderOverlays, resolveKnowledge, resolveLanguageFilter, roleAxis, runDistill, scanDistilledSourceIds, slugify, standardDimensionProvider, synthesizeLens, transitionGraphFromCollection, uniqueSlug, windowRef, windowSlug };
|
|
3442
|
+
export { ANY_REF, type AccessCaller, type AccessClassification, type AccessContext, type AccessDecision, type AccessModesMap, type ActivateResult, type AggregateOptions, type AggregateResult, type AipSchemaBundle, type AipSchemaKey, type ArchiveResult, type AttachmentAsset, type AttachmentDeclaration, type Attestation, type AttestationKind, type AutoPromoteConfig, type AutoPromoteRequirements, type AxisDefinition, type AxisRegistry, type BatchReport, type BuildOverlayOptions, type CalibrationOptions, type CandidateForGate, type CandidateRow, type CandidateStatus, CandidatesSidecar, type CandidatesSidecarOptions, type Capability, type CapabilityCaller, type CapabilityDecision, type CapabilityRule, type ChunkerOptions, ClaudeDistiller, type ClaudeDistillerOptions, ClockPort, type ConversationDoc, ConversationImporter, type ConversationImporterOptions, type ConversationSourcePort, type ConversationThreadRef, type ConversationTurn, type ConversationWindowSource, type CorpusAccessSpec, type CorpusEntryQuery, type CorpusEvent, CorpusEventEmitter, type CorpusEventEmitterOptions, type CorpusEventKind, type CorpusHost, type CorpusImporter, CorpusIndexer, type CorpusIndexerOptions, CorpusLinter, type CorpusLinterOptions, type CorpusPreset, type CorpusPresetBootstrapContext, CorpusPromoter, CorpusValidator, type CorpusValidatorOptions, CorpusVersionConflictError, CorpusWorkspaceReader, type CorpusWorkspaceReaderOptions, type CorpusWorkspaceSnapshot, CorpusWorkspaceWriter, type CorpusWorkspaceWriterOptions, type CustomLintRunner, DEFAULT_TRANSITIONS, DISTILL_INDEX_PATH, type DimensionProvider, type DimensionValue, type Dimensions, type DistillBinding, type DistillCoreReport, type DistillDescriptor, type DistillFromImporterOptions, DistillIndex, type DistillIndexOptions, type DistillIndexRecord, type DistillInput, type DistillPort, type DistillRegistry, type DistillReport, type DistillRunReport, DistillRunner, type DistillRunnerOptions, type DistillScope, type DistillSource, type DistillTarget, type DistilledItem, EMPTY_SELECTOR, type EntryLayout, type EvalCase, EvalContextPort, EvalRubricPort, EvaluatorPort, FetcherPort, type FileKind, FsLockHandle, FsPort, FsStat, type GateFailure, type GateResult, IdentityPort, IllegalPlaybookTransitionError, IllegalTransitionError, type ImportedSource, ImporterRunner, type ImporterRunnerOptions, type ImporterTarget, type IndexReport, type KbListLike, type KbMigrationConfig, KbMigrationImporter, type KbSourceLike, type LanguageFilter, type LayerMode, type LayerProvider, type LayerRef, type LayerShadow, type Lens, type LensMode, type LensStaleness, type LintIssue, type LintReport, LocalFilesImporter, type LocalFilesImporterOptions, type MarkdownDoc, type MatchAttachmentsOptions, type MatchOptions, MemFs, MemFsCorpusHost, type ModelDistillerOptions, OperatorOverlayResolver, OverlayFs, type OverlayFsOptions, type ParsedFile, type Playbook, type PlaybookBatchOptions, type PlaybookBatchResult, type PlaybookCorpusMeta, PlaybookEvaluator, type PlaybookEvaluatorOptions, type PlaybookKind, PlaybookLifecycle, type PlaybookLifecycleOptions, PlaybookNotFoundError, type PlaybookQuery, PlaybookRegistry, type PlaybookRegistryOptions, type PlaybookStatus, type PlaybookTarget, type PlaybookTargetKind, type PromoteContext, type PromoteOptions, PromoteRejectedError, type PromoteResult, type PushChunksInput, type PushSourceInput, REFINED_KIND_SCHEMA, type ReadDistillSourcesOptions, ReadOnlyFs, type RefinedKind, type RenderedOverlays, type ResolutionContext, type ResolveContext, type ResolveKnowledgeOptions, type ResolveLanguageFilterInput, type ResolveResult, type ResolvedEntry, type ResolvedOverlay, type ReviewerCalibration, type ReviewerScore, ReviewerTrackRecord, type ReviewerTrackRecordOptions, type RunDistillOptions, SPEC_NAME, SPEC_VERSION, SYNTHESIS_ROLE_TAG, type Selector, type SelectorTerm, SidecarDuplicateError, SidecarNotFoundError, type SinkItem, type SinkPort, type SinkPushResult, type SlugifyOptions, type SourceRef, type SourceSelector, type StackEntry, type StackRefPartition, type StackResolution, StackResolver, type StackSkip, type StandardSubject, type SyncReport, SyncRunner, type SyncRunnerOptions, type SynthesisAtom, type SynthesisInput, type SynthesisPort, type SynthesizeLensOptions, type SynthesizeLensReport, type TrackRecordEntry, type TransitionCheck, type ValidationIssue, type ValidationResult, WELL_KNOWN_AXES, WHITEOUT_SUFFIX, WebImporter, type WebImporterOptions, type WriterChunk, type WriterPort, aggregateReviewerScores, appendAttestation, assembleDimensions, assertTransition, buildDistillPrompt, buildOverlayFromStack, buildSynthesisPrompt, canTransition, capabilityAxis, chunkText, compileLegacyPlaybookBinding, computeReviewerCalibration, createAxisRegistry, createDistillRegistry, currentLensAtoms, defaultSynthesisPath, distillFromImporter, enumerateWindowRefs, evaluateAccess, evaluateCapability, evaluateGate, extractAutoPromoteConfig, flattenPackRefs, identityAxis, isEmptySelector, isEntrySlug, isRefinedKind, isSourceSlug, lensAspect, lensAspectTag, lensSynthesisStale, makeAttestation, matchAttachmentRefs, matchAttachments, matchesLanguageFilter, matchesSelector, modelDistiller, normalizeLanguageTag, parseItems, parseSelectorFrontmatter, parseWindowRef, partitionStackRefs, pearsonCorrelation, positionAxis, prefixedRefNormalizer, readAccessModes, readAccessSpec, readAttestations, readDistillSources, readEntryLanguage, readOperatorLocale, readWorkspaceDefaultLanguage, renderOverlays, resolveKnowledge, resolveLanguageFilter, roleAxis, runDistill, scanDistilledSourceIds, slugify, standardDimensionProvider, synthesizeLens, transitionGraphFromCollection, uniqueSlug, windowRef, windowSlug };
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { REFINED_KIND_SCHEMA, resolveKnowledge } from './chunk-JV6VRZ6U.mjs';
|
|
|
3
3
|
export { REFINED_KIND_SCHEMA, isRefinedKind, resolveKnowledge } from './chunk-JV6VRZ6U.mjs';
|
|
4
4
|
import { CandidatesSidecar } from './chunk-WF5KGEL6.mjs';
|
|
5
5
|
export { CandidatesSidecar, SidecarDuplicateError, SidecarNotFoundError } from './chunk-WF5KGEL6.mjs';
|
|
6
|
-
import
|
|
6
|
+
import matter7 from 'gray-matter';
|
|
7
7
|
import { createHash } from 'crypto';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { parse, stringify } from 'yaml';
|
|
@@ -381,7 +381,7 @@ var CorpusWorkspaceReader = class {
|
|
|
381
381
|
};
|
|
382
382
|
for (const path of mdFiles) {
|
|
383
383
|
const content = await this.opts.fs.readFile(path);
|
|
384
|
-
const parsed =
|
|
384
|
+
const parsed = matter7(content);
|
|
385
385
|
const file = {
|
|
386
386
|
// Workspace-relative path. The walk returns paths anchored at
|
|
387
387
|
// the host's storage root (which already includes `root` for
|
|
@@ -541,7 +541,7 @@ var CorpusWorkspaceWriter = class _CorpusWorkspaceWriter {
|
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
function serializeMarkdown(doc) {
|
|
544
|
-
return
|
|
544
|
+
return matter7.stringify(doc.body.startsWith("\n") ? doc.body : "\n" + doc.body, doc.frontmatter);
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
// src/importers/runner.ts
|
|
@@ -680,7 +680,7 @@ function serializeSource(source, archiveDirSegment, clock) {
|
|
|
680
680
|
}
|
|
681
681
|
};
|
|
682
682
|
}
|
|
683
|
-
return
|
|
683
|
+
return matter7.stringify(
|
|
684
684
|
source.body.startsWith("\n") ? source.body : "\n" + source.body,
|
|
685
685
|
fm
|
|
686
686
|
);
|
|
@@ -1055,7 +1055,7 @@ function serializeEntry(item, slug, source, clock) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
1057
|
const body = item.body.trim();
|
|
1058
|
-
return
|
|
1058
|
+
return matter7.stringify(body.startsWith("\n") ? body : "\n" + body, fm);
|
|
1059
1059
|
}
|
|
1060
1060
|
function withAspect(tags, aspect) {
|
|
1061
1061
|
if (!aspect) return [...tags];
|
|
@@ -1172,13 +1172,46 @@ async function scanDistilledSourceIds(fs) {
|
|
|
1172
1172
|
if (!rel.endsWith(".md")) continue;
|
|
1173
1173
|
const path = rel.startsWith("entries/") ? rel : `entries/${rel}`;
|
|
1174
1174
|
try {
|
|
1175
|
-
const fm = ENTRY_SOURCES.parse(
|
|
1175
|
+
const fm = ENTRY_SOURCES.parse(matter7(await fs.readFile(path)).data);
|
|
1176
1176
|
if (fm.sources) for (const s of fm.sources) ids.add(s);
|
|
1177
1177
|
} catch {
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
return ids;
|
|
1181
1181
|
}
|
|
1182
|
+
var SOURCE_FM = z.object({
|
|
1183
|
+
id: z.string().optional().catch(void 0),
|
|
1184
|
+
title: z.string().optional().catch(void 0),
|
|
1185
|
+
tags: z.array(z.string()).optional().catch(void 0)
|
|
1186
|
+
}).loose();
|
|
1187
|
+
async function readDistillSources(fs, opts = {}) {
|
|
1188
|
+
let rels;
|
|
1189
|
+
try {
|
|
1190
|
+
rels = await fs.walk("sources");
|
|
1191
|
+
} catch {
|
|
1192
|
+
return [];
|
|
1193
|
+
}
|
|
1194
|
+
const out = [];
|
|
1195
|
+
for (const rel of rels) {
|
|
1196
|
+
if (!rel.endsWith(".md")) continue;
|
|
1197
|
+
const path = rel.startsWith("sources/") ? rel : `sources/${rel}`;
|
|
1198
|
+
try {
|
|
1199
|
+
const parsed = matter7(await fs.readFile(path));
|
|
1200
|
+
const fm = SOURCE_FM.parse(parsed.data);
|
|
1201
|
+
const body = parsed.content.trim();
|
|
1202
|
+
if (!fm.id || !body) continue;
|
|
1203
|
+
out.push({
|
|
1204
|
+
id: fm.id,
|
|
1205
|
+
title: fm.title ?? fm.id,
|
|
1206
|
+
body,
|
|
1207
|
+
...fm.tags ? { tags: fm.tags } : {}
|
|
1208
|
+
});
|
|
1209
|
+
} catch {
|
|
1210
|
+
}
|
|
1211
|
+
if (opts.max !== void 0 && out.length >= opts.max) break;
|
|
1212
|
+
}
|
|
1213
|
+
return out;
|
|
1214
|
+
}
|
|
1182
1215
|
|
|
1183
1216
|
// src/distill/model-distiller.ts
|
|
1184
1217
|
function modelDistiller(model, opts = {}) {
|
|
@@ -1399,7 +1432,7 @@ async function readEntries(fs) {
|
|
|
1399
1432
|
const path = `entries/${rel}`;
|
|
1400
1433
|
let parsed;
|
|
1401
1434
|
try {
|
|
1402
|
-
parsed =
|
|
1435
|
+
parsed = matter7(await fs.readFile(path));
|
|
1403
1436
|
} catch {
|
|
1404
1437
|
continue;
|
|
1405
1438
|
}
|
|
@@ -1441,7 +1474,7 @@ async function lensSynthesisStale(fs, lens) {
|
|
|
1441
1474
|
}
|
|
1442
1475
|
let recorded = [];
|
|
1443
1476
|
try {
|
|
1444
|
-
const fm = ATOM_FRONTMATTER.parse(
|
|
1477
|
+
const fm = ATOM_FRONTMATTER.parse(matter7(await fs.readFile(path)).data);
|
|
1445
1478
|
recorded = fm.sources ?? [];
|
|
1446
1479
|
} catch {
|
|
1447
1480
|
return { stale: true, reason: "drifted", atomCount: atoms.length };
|
|
@@ -1503,7 +1536,7 @@ function serializeSynthesis(body, lens, atoms, clock) {
|
|
|
1503
1536
|
}
|
|
1504
1537
|
};
|
|
1505
1538
|
const trimmed = body.trim();
|
|
1506
|
-
return
|
|
1539
|
+
return matter7.stringify("\n" + trimmed, fm);
|
|
1507
1540
|
}
|
|
1508
1541
|
function buildSynthesisPrompt(input) {
|
|
1509
1542
|
const atomBlock = input.atoms.map((a, i) => `### Atom ${i + 1}: ${a.title}
|
|
@@ -2169,6 +2202,16 @@ var FILE_KIND_TO_SCHEMA = {
|
|
|
2169
2202
|
};
|
|
2170
2203
|
var CorpusValidator = class {
|
|
2171
2204
|
validators;
|
|
2205
|
+
/**
|
|
2206
|
+
* Per-doctype map of `schema:` discriminator value → validator for
|
|
2207
|
+
* that single oneOf branch (e.g. "knowledge.source/v1" → the AIP-10
|
|
2208
|
+
* source branch). Built from each schema's `oneOf` of local `$refs`
|
|
2209
|
+
* whose target declares `properties.schema.const`. Used to report
|
|
2210
|
+
* the RIGHT branch's errors when a file declares its doctype
|
|
2211
|
+
* explicitly, instead of ajv's full oneOf fan-out (which buries the
|
|
2212
|
+
* one real error under every other branch's missing-property noise).
|
|
2213
|
+
*/
|
|
2214
|
+
branchValidators;
|
|
2172
2215
|
constructor(opts) {
|
|
2173
2216
|
const ajv = new Ajv2020({
|
|
2174
2217
|
strict: false,
|
|
@@ -2181,10 +2224,13 @@ var CorpusValidator = class {
|
|
|
2181
2224
|
if (id && !ajv.getSchema(id)) ajv.addSchema(ext);
|
|
2182
2225
|
}
|
|
2183
2226
|
const validators = {};
|
|
2227
|
+
const branches = /* @__PURE__ */ new Map();
|
|
2184
2228
|
for (const key of Object.keys(opts.bundle.schemas)) {
|
|
2185
2229
|
validators[key] = ajv.compile(opts.bundle.schemas[key]);
|
|
2230
|
+
branches.set(key, compileBranchValidators(ajv, opts.bundle.schemas[key]));
|
|
2186
2231
|
}
|
|
2187
2232
|
this.validators = validators;
|
|
2233
|
+
this.branchValidators = branches;
|
|
2188
2234
|
}
|
|
2189
2235
|
/**
|
|
2190
2236
|
* Validate a single parsed file. Returns issues + a valid flag.
|
|
@@ -2212,7 +2258,9 @@ var CorpusValidator = class {
|
|
|
2212
2258
|
issues: []
|
|
2213
2259
|
};
|
|
2214
2260
|
}
|
|
2215
|
-
const
|
|
2261
|
+
const declared = file.frontmatter["schema"];
|
|
2262
|
+
const branchValidator = typeof declared === "string" ? this.branchValidators.get(schemaKey)?.get(declared) : void 0;
|
|
2263
|
+
const validator = branchValidator ?? this.validators[schemaKey];
|
|
2216
2264
|
const ok = validator(file.frontmatter);
|
|
2217
2265
|
if (ok) return { valid: true, issues: [] };
|
|
2218
2266
|
const issues = (validator.errors ?? []).map((e) => ({
|
|
@@ -2253,6 +2301,43 @@ var CorpusValidator = class {
|
|
|
2253
2301
|
};
|
|
2254
2302
|
}
|
|
2255
2303
|
};
|
|
2304
|
+
function compileBranchValidators(ajv, schemaDoc) {
|
|
2305
|
+
const out = /* @__PURE__ */ new Map();
|
|
2306
|
+
if (typeof schemaDoc !== "object" || schemaDoc === null) return out;
|
|
2307
|
+
const doc = schemaDoc;
|
|
2308
|
+
if (!Array.isArray(doc.oneOf)) return out;
|
|
2309
|
+
for (const branch of doc.oneOf) {
|
|
2310
|
+
const resolved = resolveLocalRef(doc, branch);
|
|
2311
|
+
const discriminator = discriminatorOf(resolved);
|
|
2312
|
+
if (!discriminator || out.has(discriminator)) continue;
|
|
2313
|
+
const standalone = {
|
|
2314
|
+
$defs: doc.$defs ?? {},
|
|
2315
|
+
...branch
|
|
2316
|
+
};
|
|
2317
|
+
out.set(discriminator, ajv.compile(standalone));
|
|
2318
|
+
}
|
|
2319
|
+
return out;
|
|
2320
|
+
}
|
|
2321
|
+
function resolveLocalRef(doc, branch) {
|
|
2322
|
+
if (typeof branch !== "object" || branch === null) return branch;
|
|
2323
|
+
const ref = branch.$ref;
|
|
2324
|
+
if (typeof ref !== "string" || !ref.startsWith("#/")) return branch;
|
|
2325
|
+
let node = doc;
|
|
2326
|
+
for (const seg of ref.slice(2).split("/")) {
|
|
2327
|
+
if (typeof node !== "object" || node === null) return void 0;
|
|
2328
|
+
node = node[seg.replace(/~1/g, "/").replace(/~0/g, "~")];
|
|
2329
|
+
}
|
|
2330
|
+
return node;
|
|
2331
|
+
}
|
|
2332
|
+
function discriminatorOf(branchDef) {
|
|
2333
|
+
if (typeof branchDef !== "object" || branchDef === null) return void 0;
|
|
2334
|
+
const props = branchDef.properties;
|
|
2335
|
+
if (typeof props !== "object" || props === null) return void 0;
|
|
2336
|
+
const schemaProp = props.schema;
|
|
2337
|
+
if (typeof schemaProp !== "object" || schemaProp === null) return void 0;
|
|
2338
|
+
const c = schemaProp.const;
|
|
2339
|
+
return typeof c === "string" ? c : void 0;
|
|
2340
|
+
}
|
|
2256
2341
|
|
|
2257
2342
|
// src/validate/linter.ts
|
|
2258
2343
|
var CorpusLinter = class {
|
|
@@ -3332,7 +3417,7 @@ var MemFsCorpusHost = class {
|
|
|
3332
3417
|
} catch {
|
|
3333
3418
|
continue;
|
|
3334
3419
|
}
|
|
3335
|
-
const parsed =
|
|
3420
|
+
const parsed = matter7(content);
|
|
3336
3421
|
playbooks.push({
|
|
3337
3422
|
path,
|
|
3338
3423
|
kind: "playbook",
|
|
@@ -3580,7 +3665,7 @@ var PlaybookLifecycle = class {
|
|
|
3580
3665
|
async writeWith(playbook, patch) {
|
|
3581
3666
|
const writer = new CorpusWorkspaceWriter({ fs: this.opts.fs });
|
|
3582
3667
|
const nextFm = patch({ ...playbook.file.frontmatter });
|
|
3583
|
-
const nextContent =
|
|
3668
|
+
const nextContent = matter7.stringify(
|
|
3584
3669
|
playbook.body.startsWith("\n") ? playbook.body : "\n" + playbook.body,
|
|
3585
3670
|
nextFm
|
|
3586
3671
|
);
|
|
@@ -3749,7 +3834,7 @@ var PlaybookEvaluator = class {
|
|
|
3749
3834
|
note: `n=${metrics.sampleSize} winRate=${metrics.winRateVsBaseline.toFixed(3)}`
|
|
3750
3835
|
})
|
|
3751
3836
|
);
|
|
3752
|
-
const content =
|
|
3837
|
+
const content = matter7.stringify(
|
|
3753
3838
|
playbook.body.startsWith("\n") ? playbook.body : "\n" + playbook.body,
|
|
3754
3839
|
fm
|
|
3755
3840
|
);
|
|
@@ -3788,6 +3873,6 @@ function joinPath5(a, b) {
|
|
|
3788
3873
|
var SPEC_NAME = "agentcorpus/v1";
|
|
3789
3874
|
var SPEC_VERSION = "0.1.0-alpha";
|
|
3790
3875
|
|
|
3791
|
-
export { ANY_REF, ClaudeDistiller, ConversationImporter, CorpusEventEmitter, CorpusIndexer, CorpusLinter, CorpusPromoter, CorpusValidator, CorpusVersionConflictError, CorpusWorkspaceReader, CorpusWorkspaceWriter, DEFAULT_TRANSITIONS, DISTILL_INDEX_PATH, DistillIndex, DistillRunner, EMPTY_SELECTOR, IllegalPlaybookTransitionError, IllegalTransitionError, ImporterRunner, KbMigrationImporter, LocalFilesImporter, MemFs, MemFsCorpusHost, OperatorOverlayResolver, OverlayFs, PlaybookEvaluator, PlaybookLifecycle, PlaybookNotFoundError, PlaybookRegistry, PromoteRejectedError, ReadOnlyFs, ReviewerTrackRecord, SPEC_NAME, SPEC_VERSION, SYNTHESIS_ROLE_TAG, StackResolver, SyncRunner, WELL_KNOWN_AXES, WHITEOUT_SUFFIX, WebImporter, aggregateReviewerScores, appendAttestation, assembleDimensions, assertTransition, buildDistillPrompt, buildOverlayFromStack, buildSynthesisPrompt, canTransition, capabilityAxis, chunkText, compileLegacyPlaybookBinding, computeReviewerCalibration, createAxisRegistry, createDistillRegistry, currentLensAtoms, defaultSynthesisPath, distillFromImporter, enumerateWindowRefs, evaluateAccess, evaluateCapability, evaluateGate, extractAutoPromoteConfig, flattenPackRefs, identityAxis, isEmptySelector, isEntrySlug, isSourceSlug, lensAspect, lensAspectTag, lensSynthesisStale, makeAttestation, matchAttachmentRefs, matchAttachments, matchesLanguageFilter, matchesSelector, modelDistiller, normalizeLanguageTag, parseItems, parseSelectorFrontmatter, parseWindowRef, partitionStackRefs, pearsonCorrelation, positionAxis, prefixedRefNormalizer, readAccessModes, readAccessSpec, readAttestations, readEntryLanguage, readOperatorLocale, readWorkspaceDefaultLanguage, renderOverlays, resolveLanguageFilter, roleAxis, runDistill, scanDistilledSourceIds, slugify, standardDimensionProvider, synthesizeLens, transitionGraphFromCollection, uniqueSlug, windowRef, windowSlug };
|
|
3876
|
+
export { ANY_REF, ClaudeDistiller, ConversationImporter, CorpusEventEmitter, CorpusIndexer, CorpusLinter, CorpusPromoter, CorpusValidator, CorpusVersionConflictError, CorpusWorkspaceReader, CorpusWorkspaceWriter, DEFAULT_TRANSITIONS, DISTILL_INDEX_PATH, DistillIndex, DistillRunner, EMPTY_SELECTOR, IllegalPlaybookTransitionError, IllegalTransitionError, ImporterRunner, KbMigrationImporter, LocalFilesImporter, MemFs, MemFsCorpusHost, OperatorOverlayResolver, OverlayFs, PlaybookEvaluator, PlaybookLifecycle, PlaybookNotFoundError, PlaybookRegistry, PromoteRejectedError, ReadOnlyFs, ReviewerTrackRecord, SPEC_NAME, SPEC_VERSION, SYNTHESIS_ROLE_TAG, StackResolver, SyncRunner, WELL_KNOWN_AXES, WHITEOUT_SUFFIX, WebImporter, aggregateReviewerScores, appendAttestation, assembleDimensions, assertTransition, buildDistillPrompt, buildOverlayFromStack, buildSynthesisPrompt, canTransition, capabilityAxis, chunkText, compileLegacyPlaybookBinding, computeReviewerCalibration, createAxisRegistry, createDistillRegistry, currentLensAtoms, defaultSynthesisPath, distillFromImporter, enumerateWindowRefs, evaluateAccess, evaluateCapability, evaluateGate, extractAutoPromoteConfig, flattenPackRefs, identityAxis, isEmptySelector, isEntrySlug, isSourceSlug, lensAspect, lensAspectTag, lensSynthesisStale, makeAttestation, matchAttachmentRefs, matchAttachments, matchesLanguageFilter, matchesSelector, modelDistiller, normalizeLanguageTag, parseItems, parseSelectorFrontmatter, parseWindowRef, partitionStackRefs, pearsonCorrelation, positionAxis, prefixedRefNormalizer, readAccessModes, readAccessSpec, readAttestations, readDistillSources, readEntryLanguage, readOperatorLocale, readWorkspaceDefaultLanguage, renderOverlays, resolveLanguageFilter, roleAxis, runDistill, scanDistilledSourceIds, slugify, standardDimensionProvider, synthesizeLens, transitionGraphFromCollection, uniqueSlug, windowRef, windowSlug };
|
|
3792
3877
|
//# sourceMappingURL=index.mjs.map
|
|
3793
3878
|
//# sourceMappingURL=index.mjs.map
|