@c4a/context 0.7.8 → 0.7.10-alpha.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/articleStructure.d.ts +254 -0
- package/docs/guides/agent-dialogue.md +6 -5
- package/docs/guides/agent-guide.md +11 -5
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -398
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +137 -18
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/guides/package-outputs.md +213 -47
- package/docs/reference/indexer-provider-protocol.md +71 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/project-api.md +53 -0
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +11 -11
- package/index.js +5826 -8062
- package/indexerAgentStepProtocol.d.ts +0 -910
- package/indexerApprovedKnowledge.d.ts +98 -359
- package/indexerArticlePlan.d.ts +3 -26
- package/indexerArtifact.d.ts +201 -70
- package/indexerArtifactPolicy.d.ts +4 -22
- package/indexerArtifactResult.d.ts +240 -888
- package/indexerAuthoringFixture.d.ts +0 -13
- package/indexerBenchmark.d.ts +2 -2
- package/indexerCandidateCompile.d.ts +123 -167
- package/indexerCatalogFallback.d.ts +32 -374
- package/indexerCollectionMapping.d.ts +2 -2
- package/indexerContentLayers.d.ts +187 -41
- package/indexerContractOverlay.d.ts +30 -44
- package/indexerControlledInvocation.d.ts +6 -6
- package/indexerControlledProgram.d.ts +959 -3020
- package/indexerDependencyView.d.ts +96 -96
- package/indexerEffectiveArtifact.d.ts +381 -242
- package/indexerExampleDecision.d.ts +134 -134
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerExampleIdentityAudit.d.ts +6 -6
- package/indexerInventoryDisposition.d.ts +0 -39
- package/indexerLayerComposition.d.ts +1378 -852
- package/indexerLayoutChange.d.ts +24 -33
- package/indexerLayoutProposalSet.d.ts +143 -137
- package/indexerLayoutResolver.d.ts +116 -101
- package/indexerLayoutTransition.d.ts +6 -6
- package/indexerMainLifecycle.d.ts +1 -11
- package/indexerMainRunLedger.d.ts +0 -14
- package/indexerMainRunProtocol.d.ts +806 -2530
- package/indexerMainWorkset.d.ts +0 -1212
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
- package/indexerParserCoordinate.d.ts +2 -2
- package/indexerParserExecutionPlan.d.ts +42 -42
- package/indexerPartitionPlan.d.ts +24 -354
- package/indexerPhysicalArtifactManifest.d.ts +12 -27
- package/indexerPostAuthorComposition.d.ts +2 -253
- package/indexerPostAuthorRunLedger.d.ts +860 -562
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerPrimaryResultView.d.ts +0 -318
- package/indexerProfileContract.d.ts +200 -549
- package/indexerProgramExecutionAuthorization.d.ts +4 -4
- package/indexerProgramRunProtocol.d.ts +806 -2527
- package/indexerProjectProposal.d.ts +8 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
- package/indexerProjectedArtifactPlan.d.ts +0 -9
- package/indexerProtocolHash.d.ts +2 -0
- package/indexerProvider.d.ts +76 -318
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRegistry.d.ts +606 -0
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10926 -5665
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/{readingStructure.d.ts → knowledgeMap.d.ts} +21 -21
- package/package.json +1 -1
- package/packageSite.d.ts +25 -0
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
- package/indexerArtifactDependencies.d.ts +0 -693
- package/indexerCompositionFactDependencies.d.ts +0 -16
- package/indexerExampleFactDependencies.d.ts +0 -17
- package/indexerIncrementalImpact.d.ts +0 -221
- package/indexerKnowledgeDependency.d.ts +0 -46
- package/indexerSubjectCatalog.d.ts +0 -230
- package/indexerSubjectKeyAuthority.d.ts +0 -786
|
@@ -232,19 +232,15 @@ rejects it.
|
|
|
232
232
|
The default kb template includes:
|
|
233
233
|
|
|
234
234
|
- `skills/knowledge-query/SKILL.md`, a reusable skill that teaches agents to
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
relationships, and report gaps instead of inventing unsupported answers. The
|
|
238
|
-
build inventory also exposes `structure.relationship_coverage` so a consumer
|
|
239
|
-
can distinguish an observed zero-edge result from unknown relationship
|
|
240
|
-
coverage. The
|
|
235
|
+
navigate copied knowledge pages, cite relevant text and its exported source
|
|
236
|
+
attribution, and report gaps instead of inventing unsupported answers. The
|
|
241
237
|
default entry OKF root is `wikis/`; packages that select additional internal
|
|
242
238
|
collections expose
|
|
243
239
|
`guides/`, `rules/`, or `feats/` indexes when those roots are selected.
|
|
244
240
|
- `skills/knowledge-query/scripts/search.mjs`, a dependency-free BM25 fallback
|
|
245
241
|
for exact terms, mixed keyword queries, and large Markdown indexes. It chunks
|
|
246
242
|
mechanically, returns inspectable paths and line ranges, and never replaces
|
|
247
|
-
source-backed
|
|
243
|
+
reading the relevant source-backed explanation.
|
|
248
244
|
- `wikis/index.md`, the editable OKF bundle entry page for the generated
|
|
249
245
|
`dist/<package-name>/wikis/` directory.
|
|
250
246
|
|
|
@@ -261,10 +257,8 @@ The generated
|
|
|
261
257
|
KB entry surface. Internal collections are mapped into OKF roots during build:
|
|
262
258
|
`codeindex`, `business`, and `product` go to `wikis/`; `architecture`, `sop`,
|
|
263
259
|
`faq`, `decision`, and `incident` go to `guides/`; `standards` and `test` go to
|
|
264
|
-
`rules/`; and `feats` goes to `feats/`.
|
|
265
|
-
|
|
266
|
-
or constrain that knowledge, but directory placement alone does not establish
|
|
267
|
-
a relationship.
|
|
260
|
+
`rules/`; and `feats` goes to `feats/`. These roots organize articles by content
|
|
261
|
+
type; directory placement does not establish a relationship or a subject graph.
|
|
268
262
|
|
|
269
263
|
Default navigation rules:
|
|
270
264
|
|
|
@@ -307,54 +301,36 @@ wants project-specific behavior beyond knowledge lookup.
|
|
|
307
301
|
|
|
308
302
|
## Context OKF Profiles
|
|
309
303
|
|
|
310
|
-
Approved Markdown under `knowledge/` and
|
|
311
|
-
`knowledge/structure.yaml`
|
|
312
|
-
|
|
313
|
-
-
|
|
314
|
-
`
|
|
315
|
-
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
`source_ref` attribution. `knowledge/` is never rewritten by this projection.
|
|
341
|
-
|
|
342
|
-
Accepted section `source_ref` forms:
|
|
343
|
-
|
|
344
|
-
```text
|
|
345
|
-
src-N#symbol:<file>:<symbol-id>:<kind>@<digest>
|
|
346
|
-
src-N#span:<heading-hint> L<start>-<end>@<span-hash>
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
The code symbol form includes the source-relative file so same-name symbols in
|
|
350
|
-
different files resolve to one exact symbol-index row. Consumers should still
|
|
351
|
-
treat the complete `source_ref` as opaque. Production pages do not expose
|
|
352
|
-
Candidate fingerprints, Indexer digests, or `code_origin`.
|
|
353
|
-
|
|
354
|
-
`#span:` refs retain source snapshot line ranges for human review, diffing, and
|
|
355
|
-
stable re-pinning. They resolve against the stored file/Lark snapshot or the saved
|
|
356
|
-
Note/Sessions Markdown, not the code symbol index. A session's optional commit/MR
|
|
357
|
-
association stays in its source file; knowledge does not duplicate those fields.
|
|
304
|
+
Approved Markdown under `knowledge/` and the article index in
|
|
305
|
+
`knowledge/structure.yaml` have separate responsibilities:
|
|
306
|
+
|
|
307
|
+
- Markdown owns `title`, `type`, `description` and the ISO UTC `timestamp`.
|
|
308
|
+
`resource` and `tags` are optional reader metadata, not required identities.
|
|
309
|
+
- Structure owns stable `article_id`, `path`, `collection`, `visibility`,
|
|
310
|
+
and fragment `sections` with their region `references`.
|
|
311
|
+
- Markdown fragment markers contain only their stable ID:
|
|
312
|
+
`<!-- context:section id="usage" -->` and `<!-- /context:section -->`.
|
|
313
|
+
Structure records each corresponding ID and at most three source positions
|
|
314
|
+
per fragment, not three per article.
|
|
315
|
+
- A reference contains `source_ref`, `locator: { path, start_line, end_line }`
|
|
316
|
+
and the Host-computed regional `content_digest`. Do not duplicate this in
|
|
317
|
+
Markdown frontmatter or comments.
|
|
318
|
+
- Neither Markdown nor structure keeps a node graph, parser fact ledger,
|
|
319
|
+
evidence-binding table or a second copy of article prose.
|
|
320
|
+
- Article moves retain identity through Context's existing revision workflow.
|
|
321
|
+
Direct Markdown copies alone do not include complete provenance.
|
|
322
|
+
|
|
323
|
+
Package pages under `dist/<package-name>/` retain reader metadata and receive
|
|
324
|
+
a generated Sources section derived from the article references and source
|
|
325
|
+
registry. Repository links include file and line ranges; document links retain
|
|
326
|
+
the captured document attribution. This export does not rewrite `knowledge/`.
|
|
327
|
+
The build inventory maps exported pages back to their approved article paths.
|
|
328
|
+
|
|
329
|
+
Source snapshots and regional baselines remain machine-managed. Update checks
|
|
330
|
+
compare cited regions, relocating unchanged text only when its new position is
|
|
331
|
+
unambiguous. Missing, changed or ambiguous regions require review; an unchanged
|
|
332
|
+
region does not prove that uncited new material is irrelevant. A session's
|
|
333
|
+
optional commit/MR association stays with its source document.
|
|
358
334
|
|
|
359
335
|
The kb package root may contain agent files such as `AGENTS.md` and `skills/`.
|
|
360
336
|
The OKF-compatible surface is the selected `wikis/`, `guides/`, `rules/`, and
|
|
@@ -377,12 +353,10 @@ The OKF-compatible surface is the selected `wikis/`, `guides/`, `rules/`, and
|
|
|
377
353
|
file includes `selected_by` entries such as `{ "kind": "collection" }`,
|
|
378
354
|
`{ "kind": "okf_root" }`, `{ "kind": "include" }`, or `{ "kind": "default" }`,
|
|
379
355
|
and a `production_metadata` object for selected page-level production fields.
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
relationship citations inside the package instead of assuming the workspace
|
|
385
|
-
`knowledge/structure.yaml` file is bundled.
|
|
356
|
+
The `structure.articles` projection retains selected article identities and
|
|
357
|
+
fragment source references. It does not contain graph nodes or typed edges.
|
|
358
|
+
Published Markdown includes readable source attribution derived from these
|
|
359
|
+
references; the Agent does not maintain a second source list in the page.
|
|
386
360
|
|
|
387
361
|
For KB packages, the inventory records `package.distribution` as
|
|
388
362
|
`layout: "flat"`, `knowledge_namespace: null`, and the four package-relative
|
|
@@ -65,6 +65,51 @@ worksets, Candidate creation, Review application and delivery. Code, Markdown,
|
|
|
65
65
|
Note and Sessions Providers can use authorized supporting documents without
|
|
66
66
|
creating a second capture or knowledge pipeline.
|
|
67
67
|
|
|
68
|
+
### Batch capture from the source registry
|
|
69
|
+
|
|
70
|
+
When all registered Lark documents are intended for this project and share capture
|
|
71
|
+
settings, read the registry once instead of copying its module names into
|
|
72
|
+
`src/index.ts`. For the standard `src/index.ts` entry:
|
|
73
|
+
|
|
74
|
+
```ts
|
|
75
|
+
import { fileURLToPath } from "node:url";
|
|
76
|
+
import {
|
|
77
|
+
allSources, captureLark, defineProject, loadSourcesRegistry, source,
|
|
78
|
+
} from "@c4a/context";
|
|
79
|
+
|
|
80
|
+
const workspaceRoot = fileURLToPath(new URL("../", import.meta.url));
|
|
81
|
+
const registry = await loadSourcesRegistry({ rootDir: workspaceRoot });
|
|
82
|
+
const documents = registry.larks.map(entry =>
|
|
83
|
+
source(entry.name, { type: "lark" }),
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
export default defineProject({
|
|
87
|
+
sources: [...allSources("repo"), ...documents],
|
|
88
|
+
phases: documents.map(document => captureLark({ source: document })),
|
|
89
|
+
packages: [],
|
|
90
|
+
});
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Merge this pattern into existing declarations; preserve unrelated phases and
|
|
94
|
+
package outputs. Adjust the root calculation if the entry lives elsewhere.
|
|
95
|
+
Registry loading only reads local registrations; it does not fetch documents.
|
|
96
|
+
|
|
97
|
+
- `sources/lark/index.yaml` owns document identities, URLs and titles. The project
|
|
98
|
+
selects those identities and declares capture settings. This example includes
|
|
99
|
+
future registrations too; use it only when the entire registered set is intended.
|
|
100
|
+
- For a subset, filter registry entries by the intended namespace or names before
|
|
101
|
+
mapping. Apply exceptional resource settings within the same map instead of
|
|
102
|
+
declaring a second phase for the same document.
|
|
103
|
+
- File documents use `registry.files`, `source(entry.name, { type: "file" })`
|
|
104
|
+
and `captureFile`. Group by actual processor needs; do not apply `mdxJsonDocs()`
|
|
105
|
+
indiscriminately to all file sources.
|
|
106
|
+
- `allSources("lark")` selects a collection; its array contains a collection
|
|
107
|
+
reference, not individual documents. It neither expands capture phases nor
|
|
108
|
+
supports mapping its entries into `captureLark`.
|
|
109
|
+
- The map declares one phase per document. It does not fetch URLs, change capture
|
|
110
|
+
permissions, or request parallel execution. Run the declared phases through the
|
|
111
|
+
existing CLI flow so each document retains independent refresh and retry behavior.
|
|
112
|
+
|
|
68
113
|
## `customPhase`
|
|
69
114
|
|
|
70
115
|
```ts
|
|
@@ -83,6 +128,7 @@ kbPackage({
|
|
|
83
128
|
name: "component-kb",
|
|
84
129
|
template: "src/package-templates/kb",
|
|
85
130
|
select: { collections: ["codeindex", "architecture"] },
|
|
131
|
+
site: { title: "Component knowledge", lang: "en-US", base: "/" },
|
|
86
132
|
});
|
|
87
133
|
|
|
88
134
|
llmsPackage({
|
|
@@ -95,6 +141,13 @@ llmsPackage({
|
|
|
95
141
|
Package selection reads approved `knowledge/` only. `dist/` is generated and
|
|
96
142
|
may be rebuilt; it is not an authoring source.
|
|
97
143
|
|
|
144
|
+
`kbPackage.site` optionally adds a VitePress website at `dist/<base>-site/` in
|
|
145
|
+
the same build, beside the KB directory. `<base>` removes one trailing `-kb`
|
|
146
|
+
from the package name, if present. Omit it for KB-only output. It accepts `title`, `description`,
|
|
147
|
+
`lang` and a deployment `base` path. Knowledge map is projected from
|
|
148
|
+
`src/knowledge-map.yaml` independently of KB directories; see
|
|
149
|
+
[Package Outputs](../guides/package-outputs.md#optional-static-documentation-website).
|
|
150
|
+
|
|
98
151
|
## Indexer registry
|
|
99
152
|
|
|
100
153
|
When this file is absent, the configuration Route supplies the initial schema:
|
|
@@ -135,13 +135,12 @@ Each item contains:
|
|
|
135
135
|
| `sourcePath` | Approved knowledge path before OKF output mapping, for example `architecture/entity/button.md`. |
|
|
136
136
|
| `approved_path` | Alias for `sourcePath`. |
|
|
137
137
|
| `dist_path` | Alias for `path`. |
|
|
138
|
+
| `article_id` | Stable article identity from the approved article index. |
|
|
138
139
|
| `internalCollection` | Internal approved collection, for example `architecture`. |
|
|
139
140
|
| `internal_collection` | Alias for `internalCollection`. |
|
|
140
141
|
| `collection` | Internal approved collection; alias for `internalCollection`. |
|
|
141
142
|
| `okf_root` | OKF output root, for example `wikis`, `guides`, `rules`, or `feats`. |
|
|
142
143
|
| `okf_root_path` | Final flat package-relative OKF root. |
|
|
143
|
-
| `node_ref` | Stable NodeRef from approved frontmatter, for example `entity/button`. |
|
|
144
|
-
| `view_ref` | Stable ViewRef from approved frontmatter, for example `architecture:entity/button`. |
|
|
145
144
|
| `pathWithinCollection` | Path below the OKF root, for example `architecture/entity/button.md`. |
|
|
146
145
|
| `href` | Link relative to the template file currently being rendered. Use this in custom templates. |
|
|
147
146
|
| `hrefFromTemplate` | Alias for `href`. |
|
|
@@ -151,7 +150,7 @@ Each item contains:
|
|
|
151
150
|
| `type` | OKF `type` from frontmatter. |
|
|
152
151
|
| `description` | OKF `description` from frontmatter, when present. |
|
|
153
152
|
| `timestamp` | OKF `timestamp` from frontmatter, when present. |
|
|
154
|
-
| `source` | First
|
|
153
|
+
| `source` | First actual source reference from the article index, or the group name. |
|
|
155
154
|
| `group` | First path segment under the OKF root. |
|
|
156
155
|
| `parentPath` | Parent path below the OKF root. |
|
|
157
156
|
| `depth` | Segment count below the OKF root. |
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type PackageSiteDefinition } from "./packageSite.js";
|
|
2
|
+
export { packageSiteSchema, type PackageSiteDefinition } from "./packageSite.js";
|
|
1
3
|
import type { PackageNavigationDefinition, PackageSelectDefinition } from "./contracts.js";
|
|
2
4
|
import type { PhaseDefinition, PhaseResourceReference } from "./phases.js";
|
|
3
5
|
import type { ProjectSourceDefinition } from "./sources.js";
|
|
@@ -16,8 +18,8 @@ export type { ExpectedProviderResolution, IndexerCliReleaseManifest, IndexerHost
|
|
|
16
18
|
export * from "./indexerProviderComposition.js";
|
|
17
19
|
export * from "./indexerProviderSelectionProposal.js";
|
|
18
20
|
export * from "./indexerCustomizationLadder.js";
|
|
19
|
-
export { indexerMetricContractSchema, indexerArtifactPolicyVariantSchema, indexerInventoryDomainSchema, indexerOperatorContractDigest, indexerOperatorContractSchema, indexerProfileContractDigest, indexerProfileContractEntrySchema, indexerProfileContractSchema,
|
|
20
|
-
export type { IndexerMetricContract, IndexerOperatorContract, IndexerProfileContract, IndexerProfileContractEntry,
|
|
21
|
+
export { indexerMetricContractSchema, indexerArtifactPolicyVariantSchema, indexerInventoryDomainSchema, indexerOperatorContractDigest, indexerOperatorContractSchema, indexerProfileContractDigest, indexerProfileContractEntrySchema, indexerProfileContractSchema, indexerQuestionTargetDomainSchema, indexerReaderQuestionContractSchema, inflationSensitiveHardMaximum, validateIndexerOperatorContract, validateIndexerProfileContract, } from "./indexerProfileContract.js";
|
|
22
|
+
export type { IndexerMetricContract, IndexerOperatorContract, IndexerProfileContract, IndexerProfileContractEntry, IndexerReaderQuestionContract, } from "./indexerProfileContract.js";
|
|
21
23
|
export { createIndexerOverlayValidationReceipt, indexerContractOverlayDigest, indexerContractOverlaySchema, indexerOverlayValidationReceiptDigest, indexerOverlayValidationReceiptSchema, validateIndexerContractOverlay, validateIndexerOverlayValidationReceipt, } from "./indexerContractOverlay.js";
|
|
22
24
|
export type { IndexerContractOverlay, IndexerOverlayConformanceReport, IndexerOverlayValidationReceipt, } from "./indexerContractOverlay.js";
|
|
23
25
|
export * from "./indexerOverlayQuestionAmendment.js";
|
|
@@ -28,23 +30,19 @@ export type { IndexerEvidenceRef, IndexerLayerCompositionInput, IndexerLayerFrag
|
|
|
28
30
|
export * from "./indexerArtifact.js";
|
|
29
31
|
export { canonicalIndexerNodeRef, indexerSubjectKeySchema, } from "./indexerSubjectIdentity.js";
|
|
30
32
|
export type { IndexerSubjectKey } from "./indexerSubjectIdentity.js";
|
|
31
|
-
export * from "./indexerSubjectKeyAuthority.js";
|
|
32
33
|
export { buildIndexerPostAuthorFragmentRequest, composeIndexerPostAuthorEnvelope, indexerComposedResultEnvelopeSchema, indexerComposerInvocationReceiptSchema, indexerEffectiveComposerSchema, indexerEffectiveComposerSetSchema, indexerLayerFragmentRunResultSchema, indexerPostAuthorFragmentRequestSchema, indexerPostAuthorWorksetDigest, indexerPostAuthorWorksetSchema, indexerPostAuthorWorksetSetDigest, indexerPostAuthorWorksetSetSchema, indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerEffectiveArtifactSet, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, planIndexerPostAuthorComposition, resolveEffectiveIndexerComposers, validateIndexerPostAuthorFragmentResult, validateIndexerPostAuthorFragmentRequest, validateIndexerEffectiveComposerSet, validateIndexerPrimaryResultView, } from "./indexerPostAuthorComposition.js";
|
|
33
|
-
export type { IndexerComposedResultEnvelope, IndexerComposerInvocationReceipt, IndexerEffectiveComposer, IndexerEffectiveComposerSet, IndexerEffectiveArtifactSet, IndexerLayerFragmentRunResult, IndexerPostAuthorFragmentRequest, IndexerPostAuthorPlan, IndexerPostAuthorWorkset, IndexerPostAuthorWorksetSet, IndexerPrimaryArtifactView,
|
|
34
|
-
export { buildIndexerMainWorkset, buildIndexerMainWorksetSet, buildIndexerRepairIntent, buildIndexerMainTransportBatch,
|
|
35
|
-
export type { IndexerMainAuthorWorkset, IndexerMainPartitionWorkset, IndexerMainWorkset, IndexerMainWorksetSet, IndexerRepairIntent, IndexerMainTransportBatch,
|
|
34
|
+
export type { IndexerComposedResultEnvelope, IndexerComposerInvocationReceipt, IndexerEffectiveComposer, IndexerEffectiveComposerSet, IndexerEffectiveArtifactSet, IndexerLayerFragmentRunResult, IndexerPostAuthorFragmentRequest, IndexerPostAuthorPlan, IndexerPostAuthorWorkset, IndexerPostAuthorWorksetSet, IndexerPrimaryArtifactView, IndexerPrimaryResultView, } from "./indexerPostAuthorComposition.js";
|
|
35
|
+
export { buildIndexerMainWorkset, buildIndexerMainWorksetSet, buildIndexerRepairIntent, buildIndexerMainTransportBatch, indexerMainWorksetDigest, indexerMainWorksetSchema, indexerMainWorksetSetDigest, indexerMainWorksetSetSchema, indexerMainTransportBatchSchema, indexerOwnerCohortRef, validateIndexerMainWorkset, validateIndexerMainWorksetSet, validateIndexerRepairIntent, } from "./indexerMainWorkset.js";
|
|
36
|
+
export type { IndexerMainAuthorWorkset, IndexerMainPartitionWorkset, IndexerMainWorkset, IndexerMainWorksetSet, IndexerRepairIntent, IndexerMainTransportBatch, } from "./indexerMainWorkset.js";
|
|
36
37
|
export { indexerPartitionGroupBindingDigest, indexerPartitionGroupProjectionDigest, indexerPartitionPlanBindingDigest, indexerPartitionPlanCanonicalHash, indexerPartitionPlanSchema, indexerPartitionStrategySchema, indexerPartitionStrategySetDigest, validateIndexerPartitionPlan, } from "./indexerPartitionPlan.js";
|
|
37
38
|
export type { IndexerMemberDisposition, IndexerPartitionGroup, IndexerPartitionPlan, IndexerPartitionStrategy, } from "./indexerPartitionPlan.js";
|
|
38
39
|
export * from "./indexerPartitionInventory.js";
|
|
39
40
|
export * from "./indexerPartitionConvergence.js";
|
|
40
|
-
export * from "./indexerArtifactDependencies.js";
|
|
41
41
|
export * from "./indexerDependencyView.js";
|
|
42
42
|
export * from "./indexerRunEnvelope.js";
|
|
43
43
|
export * from "./indexerSharedArtifactFingerprint.js";
|
|
44
|
-
export * from "./indexerIncrementalImpact.js";
|
|
45
44
|
export * from "./indexerMainRunProtocol.js";
|
|
46
45
|
export * from "./indexerMainLifecycle.js";
|
|
47
|
-
export * from "./indexerSubjectCatalog.js";
|
|
48
46
|
export * from "./indexerProgramRunProtocol.js";
|
|
49
47
|
export * from "./indexerAgentStepProtocol.js";
|
|
50
48
|
export * from "./indexerSemanticInput.js";
|
|
@@ -109,6 +107,7 @@ export type KbPackageDefinition = BasePackageDefinition & {
|
|
|
109
107
|
navigation: PackageNavigationDefinition;
|
|
110
108
|
distribution?: PackageDistributionDefinition;
|
|
111
109
|
assets?: PackageAssetDefinition;
|
|
110
|
+
site?: PackageSiteDefinition;
|
|
112
111
|
};
|
|
113
112
|
export type LlmsPackageDefinition = BasePackageDefinition & {
|
|
114
113
|
kind: "package.llms";
|
|
@@ -131,6 +130,7 @@ export declare const kbPackage: (definition: {
|
|
|
131
130
|
navigation?: Partial<PackageNavigationDefinition>;
|
|
132
131
|
distribution?: PackageDistributionDefinition;
|
|
133
132
|
assets?: PackageAssetDefinition;
|
|
133
|
+
site?: PackageSiteDefinition;
|
|
134
134
|
}) => KbPackageDefinition;
|
|
135
135
|
export declare const llmsPackage: (definition: {
|
|
136
136
|
name: string;
|
|
@@ -145,6 +145,6 @@ export { sessionChangeSchema, sessionChangesSchema, readSessionChanges, writeSes
|
|
|
145
145
|
export type { SessionChange } from "./sessionMetadata.js";
|
|
146
146
|
export { indexerArticleKeySchema, indexerArticlePlanSchema, validateIndexerArticlePlan, indexerArticleSectionKey, validateIndexerPlannedArticles } from "./indexerArticlePlan.js";
|
|
147
147
|
export type { IndexerArticlePlan } from "./indexerArticlePlan.js";
|
|
148
|
-
export * from "./
|
|
149
|
-
export * from "./indexerKnowledgeDependency.js";
|
|
148
|
+
export * from "./knowledgeMap.js";
|
|
150
149
|
export * from "./indexerApprovedKnowledge.js";
|
|
150
|
+
export * from "./articleStructure.js";
|