@c4a/context 0.7.9 → 0.7.10-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/articleStructure.d.ts +254 -0
- package/docs/guides/agent-dialogue.md +1 -1
- package/docs/guides/code-indexer-skill-authoring.md +76 -178
- package/docs/guides/indexer-provider-and-customization.md +93 -453
- package/docs/guides/indexer-skill-creation.md +107 -97
- package/docs/guides/knowledge-updates.md +35 -14
- package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
- package/docs/reference/indexer-provider-protocol.md +52 -102
- package/docs/reference/package-templates.md +39 -65
- package/docs/reference/template-variables.md +2 -3
- package/index.d.ts +6 -10
- package/index.js +6441 -8771
- 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 +0 -18
- 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/indexerProvider.d.ts +46 -288
- package/indexerProviderComposition.d.ts +16 -42
- package/indexerQuestionAuthority.d.ts +2 -82
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerRequirementLifecycle.d.ts +6 -6
- package/indexerResultReconciliation.d.ts +35 -149
- package/indexerSemanticInput.d.ts +10642 -4685
- package/indexerStructuredDeclaration.d.ts +24 -24
- package/indexerTemplateRendering.d.ts +239 -113
- package/knowledgeMap.d.ts +5 -5
- package/package.json +1 -1
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type
|
|
2
|
+
import { type IndexerArtifact } from "./indexerArtifact.js";
|
|
3
3
|
import { type IndexerArtifactBundle } from "./indexerArtifactPolicy.js";
|
|
4
4
|
export declare const indexerComposerInvocationReceiptSchema: z.ZodObject<{
|
|
5
5
|
protocol: z.ZodLiteral<"context.indexer.composer-invocation-receipt/v1">;
|
|
@@ -206,16 +206,69 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
206
206
|
template_id: z.ZodEffects<z.ZodString, string, string>;
|
|
207
207
|
variables: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
208
208
|
value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
references: z.ZodArray<z.ZodObject<{
|
|
210
|
+
source_ref: z.ZodString;
|
|
211
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
212
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
213
|
+
start_line: z.ZodNumber;
|
|
214
|
+
end_line: z.ZodNumber;
|
|
215
|
+
}, "strict", z.ZodTypeAny, {
|
|
216
|
+
path: string;
|
|
217
|
+
start_line: number;
|
|
218
|
+
end_line: number;
|
|
219
|
+
}, {
|
|
220
|
+
path: string;
|
|
221
|
+
start_line: number;
|
|
222
|
+
end_line: number;
|
|
223
|
+
}>, {
|
|
224
|
+
path: string;
|
|
225
|
+
start_line: number;
|
|
226
|
+
end_line: number;
|
|
227
|
+
}, {
|
|
228
|
+
path: string;
|
|
229
|
+
start_line: number;
|
|
230
|
+
end_line: number;
|
|
231
|
+
}>;
|
|
232
|
+
content_digest: z.ZodString;
|
|
233
|
+
}, "strict", z.ZodTypeAny, {
|
|
234
|
+
source_ref: string;
|
|
235
|
+
locator: {
|
|
236
|
+
path: string;
|
|
237
|
+
start_line: number;
|
|
238
|
+
end_line: number;
|
|
239
|
+
};
|
|
240
|
+
content_digest: string;
|
|
241
|
+
}, {
|
|
242
|
+
source_ref: string;
|
|
243
|
+
locator: {
|
|
244
|
+
path: string;
|
|
245
|
+
start_line: number;
|
|
246
|
+
end_line: number;
|
|
247
|
+
};
|
|
248
|
+
content_digest: string;
|
|
249
|
+
}>, "many">;
|
|
211
250
|
}, "strict", z.ZodTypeAny, {
|
|
212
251
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
213
|
-
|
|
214
|
-
|
|
252
|
+
references: {
|
|
253
|
+
source_ref: string;
|
|
254
|
+
locator: {
|
|
255
|
+
path: string;
|
|
256
|
+
start_line: number;
|
|
257
|
+
end_line: number;
|
|
258
|
+
};
|
|
259
|
+
content_digest: string;
|
|
260
|
+
}[];
|
|
215
261
|
}, {
|
|
216
262
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
217
|
-
|
|
218
|
-
|
|
263
|
+
references: {
|
|
264
|
+
source_ref: string;
|
|
265
|
+
locator: {
|
|
266
|
+
path: string;
|
|
267
|
+
start_line: number;
|
|
268
|
+
end_line: number;
|
|
269
|
+
};
|
|
270
|
+
content_digest: string;
|
|
271
|
+
}[];
|
|
219
272
|
}>>;
|
|
220
273
|
section_projections: z.ZodArray<z.ZodObject<{
|
|
221
274
|
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -245,8 +298,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
245
298
|
template_id: string;
|
|
246
299
|
variables: Record<string, {
|
|
247
300
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
248
|
-
|
|
249
|
-
|
|
301
|
+
references: {
|
|
302
|
+
source_ref: string;
|
|
303
|
+
locator: {
|
|
304
|
+
path: string;
|
|
305
|
+
start_line: number;
|
|
306
|
+
end_line: number;
|
|
307
|
+
};
|
|
308
|
+
content_digest: string;
|
|
309
|
+
}[];
|
|
250
310
|
}>;
|
|
251
311
|
section_projections: {
|
|
252
312
|
section_key: string;
|
|
@@ -263,8 +323,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
263
323
|
template_id: string;
|
|
264
324
|
variables: Record<string, {
|
|
265
325
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
266
|
-
|
|
267
|
-
|
|
326
|
+
references: {
|
|
327
|
+
source_ref: string;
|
|
328
|
+
locator: {
|
|
329
|
+
path: string;
|
|
330
|
+
start_line: number;
|
|
331
|
+
end_line: number;
|
|
332
|
+
};
|
|
333
|
+
content_digest: string;
|
|
334
|
+
}[];
|
|
268
335
|
}>;
|
|
269
336
|
section_projections: {
|
|
270
337
|
section_key: string;
|
|
@@ -285,151 +352,178 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
285
352
|
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
286
353
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
287
354
|
} & {
|
|
288
|
-
blocks: z.ZodArray<z.
|
|
289
|
-
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
290
|
-
layer: z.ZodLiteral<"deterministic-block">;
|
|
291
|
-
renderer: z.ZodEnum<["bullet-list", "key-value-table", "multi-column-table", "public-contract-table", "json-code-block"]>;
|
|
292
|
-
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
293
|
-
}, "strict", z.ZodTypeAny, {
|
|
294
|
-
block_id: string;
|
|
295
|
-
layer: "deterministic-block";
|
|
296
|
-
renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
|
|
297
|
-
fact_refs: string[];
|
|
298
|
-
}, {
|
|
299
|
-
block_id: string;
|
|
300
|
-
layer: "deterministic-block";
|
|
301
|
-
renderer: "bullet-list" | "key-value-table" | "multi-column-table" | "public-contract-table" | "json-code-block";
|
|
302
|
-
fact_refs: string[];
|
|
303
|
-
}>, z.ZodObject<{
|
|
355
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
304
356
|
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
305
357
|
layer: z.ZodLiteral<"semantic-prose">;
|
|
306
358
|
markdown: z.ZodString;
|
|
307
|
-
|
|
359
|
+
references: z.ZodArray<z.ZodObject<{
|
|
360
|
+
source_ref: z.ZodString;
|
|
361
|
+
locator: z.ZodEffects<z.ZodObject<{
|
|
362
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
363
|
+
start_line: z.ZodNumber;
|
|
364
|
+
end_line: z.ZodNumber;
|
|
365
|
+
}, "strict", z.ZodTypeAny, {
|
|
366
|
+
path: string;
|
|
367
|
+
start_line: number;
|
|
368
|
+
end_line: number;
|
|
369
|
+
}, {
|
|
370
|
+
path: string;
|
|
371
|
+
start_line: number;
|
|
372
|
+
end_line: number;
|
|
373
|
+
}>, {
|
|
374
|
+
path: string;
|
|
375
|
+
start_line: number;
|
|
376
|
+
end_line: number;
|
|
377
|
+
}, {
|
|
378
|
+
path: string;
|
|
379
|
+
start_line: number;
|
|
380
|
+
end_line: number;
|
|
381
|
+
}>;
|
|
382
|
+
content_digest: z.ZodString;
|
|
383
|
+
}, "strict", z.ZodTypeAny, {
|
|
384
|
+
source_ref: string;
|
|
385
|
+
locator: {
|
|
386
|
+
path: string;
|
|
387
|
+
start_line: number;
|
|
388
|
+
end_line: number;
|
|
389
|
+
};
|
|
390
|
+
content_digest: string;
|
|
391
|
+
}, {
|
|
392
|
+
source_ref: string;
|
|
393
|
+
locator: {
|
|
394
|
+
path: string;
|
|
395
|
+
start_line: number;
|
|
396
|
+
end_line: number;
|
|
397
|
+
};
|
|
398
|
+
content_digest: string;
|
|
399
|
+
}>, "many">;
|
|
308
400
|
}, "strict", z.ZodTypeAny, {
|
|
309
|
-
|
|
401
|
+
references: {
|
|
402
|
+
source_ref: string;
|
|
403
|
+
locator: {
|
|
404
|
+
path: string;
|
|
405
|
+
start_line: number;
|
|
406
|
+
end_line: number;
|
|
407
|
+
};
|
|
408
|
+
content_digest: string;
|
|
409
|
+
}[];
|
|
310
410
|
block_id: string;
|
|
311
411
|
layer: "semantic-prose";
|
|
312
412
|
markdown: string;
|
|
313
413
|
}, {
|
|
314
|
-
|
|
414
|
+
references: {
|
|
415
|
+
source_ref: string;
|
|
416
|
+
locator: {
|
|
417
|
+
path: string;
|
|
418
|
+
start_line: number;
|
|
419
|
+
end_line: number;
|
|
420
|
+
};
|
|
421
|
+
content_digest: string;
|
|
422
|
+
}[];
|
|
315
423
|
block_id: string;
|
|
316
424
|
layer: "semantic-prose";
|
|
317
425
|
markdown: string;
|
|
318
|
-
}
|
|
426
|
+
}>, "many">;
|
|
319
427
|
}, "strict", z.ZodTypeAny, {
|
|
320
428
|
section_key: string;
|
|
321
429
|
owner_indexer_id: string;
|
|
322
430
|
document_kind: string;
|
|
323
431
|
reader_goal: string;
|
|
324
432
|
artifact_kind: string;
|
|
325
|
-
blocks:
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
433
|
+
blocks: {
|
|
434
|
+
references: {
|
|
435
|
+
source_ref: string;
|
|
436
|
+
locator: {
|
|
437
|
+
path: string;
|
|
438
|
+
start_line: number;
|
|
439
|
+
end_line: number;
|
|
440
|
+
};
|
|
441
|
+
content_digest: string;
|
|
442
|
+
}[];
|
|
332
443
|
block_id: string;
|
|
333
444
|
layer: "semantic-prose";
|
|
334
445
|
markdown: string;
|
|
335
|
-
}
|
|
446
|
+
}[];
|
|
336
447
|
}, {
|
|
337
448
|
section_key: string;
|
|
338
449
|
owner_indexer_id: string;
|
|
339
450
|
document_kind: string;
|
|
340
451
|
reader_goal: string;
|
|
341
452
|
artifact_kind: string;
|
|
342
|
-
blocks:
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
453
|
+
blocks: {
|
|
454
|
+
references: {
|
|
455
|
+
source_ref: string;
|
|
456
|
+
locator: {
|
|
457
|
+
path: string;
|
|
458
|
+
start_line: number;
|
|
459
|
+
end_line: number;
|
|
460
|
+
};
|
|
461
|
+
content_digest: string;
|
|
462
|
+
}[];
|
|
349
463
|
block_id: string;
|
|
350
464
|
layer: "semantic-prose";
|
|
351
465
|
markdown: string;
|
|
352
|
-
}
|
|
466
|
+
}[];
|
|
353
467
|
}>, "many">;
|
|
354
468
|
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
355
469
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
356
470
|
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
357
471
|
}, "strict", z.ZodTypeAny, {
|
|
358
|
-
artifact_kind: string;
|
|
359
|
-
representation: "sections";
|
|
360
|
-
artifact_id: string;
|
|
361
|
-
artifact_policy_variant: string;
|
|
362
472
|
sections: {
|
|
363
473
|
section_key: string;
|
|
364
474
|
owner_indexer_id: string;
|
|
365
475
|
document_kind: string;
|
|
366
476
|
reader_goal: string;
|
|
367
477
|
artifact_kind: string;
|
|
368
|
-
blocks:
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
478
|
+
blocks: {
|
|
479
|
+
references: {
|
|
480
|
+
source_ref: string;
|
|
481
|
+
locator: {
|
|
482
|
+
path: string;
|
|
483
|
+
start_line: number;
|
|
484
|
+
end_line: number;
|
|
485
|
+
};
|
|
486
|
+
content_digest: string;
|
|
487
|
+
}[];
|
|
375
488
|
block_id: string;
|
|
376
489
|
layer: "semantic-prose";
|
|
377
490
|
markdown: string;
|
|
378
|
-
}
|
|
491
|
+
}[];
|
|
379
492
|
}[];
|
|
380
|
-
template_id?: string | undefined;
|
|
381
|
-
}, {
|
|
382
493
|
artifact_kind: string;
|
|
383
494
|
representation: "sections";
|
|
384
495
|
artifact_id: string;
|
|
385
496
|
artifact_policy_variant: string;
|
|
497
|
+
template_id?: string | undefined;
|
|
498
|
+
}, {
|
|
386
499
|
sections: {
|
|
387
500
|
section_key: string;
|
|
388
501
|
owner_indexer_id: string;
|
|
389
502
|
document_kind: string;
|
|
390
503
|
reader_goal: string;
|
|
391
504
|
artifact_kind: string;
|
|
392
|
-
blocks:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
505
|
+
blocks: {
|
|
506
|
+
references: {
|
|
507
|
+
source_ref: string;
|
|
508
|
+
locator: {
|
|
509
|
+
path: string;
|
|
510
|
+
start_line: number;
|
|
511
|
+
end_line: number;
|
|
512
|
+
};
|
|
513
|
+
content_digest: string;
|
|
514
|
+
}[];
|
|
399
515
|
block_id: string;
|
|
400
516
|
layer: "semantic-prose";
|
|
401
517
|
markdown: string;
|
|
402
|
-
}
|
|
518
|
+
}[];
|
|
403
519
|
}[];
|
|
520
|
+
artifact_kind: string;
|
|
521
|
+
representation: "sections";
|
|
522
|
+
artifact_id: string;
|
|
523
|
+
artifact_policy_variant: string;
|
|
404
524
|
template_id?: string | undefined;
|
|
405
525
|
}>]>;
|
|
406
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
407
|
-
ref: z.ZodString;
|
|
408
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
409
|
-
source_digest: z.ZodString;
|
|
410
|
-
}, "strict", z.ZodTypeAny, {
|
|
411
|
-
ref: string;
|
|
412
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
413
|
-
source_digest: string;
|
|
414
|
-
}, {
|
|
415
|
-
ref: string;
|
|
416
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
417
|
-
source_digest: string;
|
|
418
|
-
}>, "many">, {
|
|
419
|
-
ref: string;
|
|
420
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
421
|
-
source_digest: string;
|
|
422
|
-
}[], {
|
|
423
|
-
ref: string;
|
|
424
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
425
|
-
source_digest: string;
|
|
426
|
-
}[]>;
|
|
427
526
|
}, "strict", z.ZodTypeAny, {
|
|
428
|
-
evidence_refs: {
|
|
429
|
-
ref: string;
|
|
430
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
431
|
-
source_digest: string;
|
|
432
|
-
}[];
|
|
433
527
|
composer_ref: string;
|
|
434
528
|
target_node_ref: string;
|
|
435
529
|
artifact: {
|
|
@@ -438,8 +532,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
438
532
|
template_id: string;
|
|
439
533
|
variables: Record<string, {
|
|
440
534
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
441
|
-
|
|
442
|
-
|
|
535
|
+
references: {
|
|
536
|
+
source_ref: string;
|
|
537
|
+
locator: {
|
|
538
|
+
path: string;
|
|
539
|
+
start_line: number;
|
|
540
|
+
end_line: number;
|
|
541
|
+
};
|
|
542
|
+
content_digest: string;
|
|
543
|
+
}[];
|
|
443
544
|
}>;
|
|
444
545
|
section_projections: {
|
|
445
546
|
section_key: string;
|
|
@@ -451,36 +552,34 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
451
552
|
artifact_id: string;
|
|
452
553
|
artifact_policy_variant: string;
|
|
453
554
|
} | {
|
|
454
|
-
artifact_kind: string;
|
|
455
|
-
representation: "sections";
|
|
456
|
-
artifact_id: string;
|
|
457
|
-
artifact_policy_variant: string;
|
|
458
555
|
sections: {
|
|
459
556
|
section_key: string;
|
|
460
557
|
owner_indexer_id: string;
|
|
461
558
|
document_kind: string;
|
|
462
559
|
reader_goal: string;
|
|
463
560
|
artifact_kind: string;
|
|
464
|
-
blocks:
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
561
|
+
blocks: {
|
|
562
|
+
references: {
|
|
563
|
+
source_ref: string;
|
|
564
|
+
locator: {
|
|
565
|
+
path: string;
|
|
566
|
+
start_line: number;
|
|
567
|
+
end_line: number;
|
|
568
|
+
};
|
|
569
|
+
content_digest: string;
|
|
570
|
+
}[];
|
|
471
571
|
block_id: string;
|
|
472
572
|
layer: "semantic-prose";
|
|
473
573
|
markdown: string;
|
|
474
|
-
}
|
|
574
|
+
}[];
|
|
475
575
|
}[];
|
|
576
|
+
artifact_kind: string;
|
|
577
|
+
representation: "sections";
|
|
578
|
+
artifact_id: string;
|
|
579
|
+
artifact_policy_variant: string;
|
|
476
580
|
template_id?: string | undefined;
|
|
477
581
|
};
|
|
478
582
|
}, {
|
|
479
|
-
evidence_refs: {
|
|
480
|
-
ref: string;
|
|
481
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
482
|
-
source_digest: string;
|
|
483
|
-
}[];
|
|
484
583
|
composer_ref: string;
|
|
485
584
|
target_node_ref: string;
|
|
486
585
|
artifact: {
|
|
@@ -489,8 +588,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
489
588
|
template_id: string;
|
|
490
589
|
variables: Record<string, {
|
|
491
590
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
492
|
-
|
|
493
|
-
|
|
591
|
+
references: {
|
|
592
|
+
source_ref: string;
|
|
593
|
+
locator: {
|
|
594
|
+
path: string;
|
|
595
|
+
start_line: number;
|
|
596
|
+
end_line: number;
|
|
597
|
+
};
|
|
598
|
+
content_digest: string;
|
|
599
|
+
}[];
|
|
494
600
|
}>;
|
|
495
601
|
section_projections: {
|
|
496
602
|
section_key: string;
|
|
@@ -502,39 +608,37 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
502
608
|
artifact_id: string;
|
|
503
609
|
artifact_policy_variant: string;
|
|
504
610
|
} | {
|
|
505
|
-
artifact_kind: string;
|
|
506
|
-
representation: "sections";
|
|
507
|
-
artifact_id: string;
|
|
508
|
-
artifact_policy_variant: string;
|
|
509
611
|
sections: {
|
|
510
612
|
section_key: string;
|
|
511
613
|
owner_indexer_id: string;
|
|
512
614
|
document_kind: string;
|
|
513
615
|
reader_goal: string;
|
|
514
616
|
artifact_kind: string;
|
|
515
|
-
blocks:
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
617
|
+
blocks: {
|
|
618
|
+
references: {
|
|
619
|
+
source_ref: string;
|
|
620
|
+
locator: {
|
|
621
|
+
path: string;
|
|
622
|
+
start_line: number;
|
|
623
|
+
end_line: number;
|
|
624
|
+
};
|
|
625
|
+
content_digest: string;
|
|
626
|
+
}[];
|
|
522
627
|
block_id: string;
|
|
523
628
|
layer: "semantic-prose";
|
|
524
629
|
markdown: string;
|
|
525
|
-
}
|
|
630
|
+
}[];
|
|
526
631
|
}[];
|
|
632
|
+
artifact_kind: string;
|
|
633
|
+
representation: "sections";
|
|
634
|
+
artifact_id: string;
|
|
635
|
+
artifact_policy_variant: string;
|
|
527
636
|
template_id?: string | undefined;
|
|
528
637
|
};
|
|
529
638
|
}>, "many">;
|
|
530
639
|
}, "strict", z.ZodTypeAny, {
|
|
531
640
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
532
641
|
proposals: {
|
|
533
|
-
evidence_refs: {
|
|
534
|
-
ref: string;
|
|
535
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
536
|
-
source_digest: string;
|
|
537
|
-
}[];
|
|
538
642
|
composer_ref: string;
|
|
539
643
|
target_node_ref: string;
|
|
540
644
|
artifact: {
|
|
@@ -543,8 +647,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
543
647
|
template_id: string;
|
|
544
648
|
variables: Record<string, {
|
|
545
649
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
546
|
-
|
|
547
|
-
|
|
650
|
+
references: {
|
|
651
|
+
source_ref: string;
|
|
652
|
+
locator: {
|
|
653
|
+
path: string;
|
|
654
|
+
start_line: number;
|
|
655
|
+
end_line: number;
|
|
656
|
+
};
|
|
657
|
+
content_digest: string;
|
|
658
|
+
}[];
|
|
548
659
|
}>;
|
|
549
660
|
section_projections: {
|
|
550
661
|
section_key: string;
|
|
@@ -556,39 +667,37 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
556
667
|
artifact_id: string;
|
|
557
668
|
artifact_policy_variant: string;
|
|
558
669
|
} | {
|
|
559
|
-
artifact_kind: string;
|
|
560
|
-
representation: "sections";
|
|
561
|
-
artifact_id: string;
|
|
562
|
-
artifact_policy_variant: string;
|
|
563
670
|
sections: {
|
|
564
671
|
section_key: string;
|
|
565
672
|
owner_indexer_id: string;
|
|
566
673
|
document_kind: string;
|
|
567
674
|
reader_goal: string;
|
|
568
675
|
artifact_kind: string;
|
|
569
|
-
blocks:
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
676
|
+
blocks: {
|
|
677
|
+
references: {
|
|
678
|
+
source_ref: string;
|
|
679
|
+
locator: {
|
|
680
|
+
path: string;
|
|
681
|
+
start_line: number;
|
|
682
|
+
end_line: number;
|
|
683
|
+
};
|
|
684
|
+
content_digest: string;
|
|
685
|
+
}[];
|
|
576
686
|
block_id: string;
|
|
577
687
|
layer: "semantic-prose";
|
|
578
688
|
markdown: string;
|
|
579
|
-
}
|
|
689
|
+
}[];
|
|
580
690
|
}[];
|
|
691
|
+
artifact_kind: string;
|
|
692
|
+
representation: "sections";
|
|
693
|
+
artifact_id: string;
|
|
694
|
+
artifact_policy_variant: string;
|
|
581
695
|
template_id?: string | undefined;
|
|
582
696
|
};
|
|
583
697
|
}[];
|
|
584
698
|
}, {
|
|
585
699
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
586
700
|
proposals: {
|
|
587
|
-
evidence_refs: {
|
|
588
|
-
ref: string;
|
|
589
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
590
|
-
source_digest: string;
|
|
591
|
-
}[];
|
|
592
701
|
composer_ref: string;
|
|
593
702
|
target_node_ref: string;
|
|
594
703
|
artifact: {
|
|
@@ -597,8 +706,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
597
706
|
template_id: string;
|
|
598
707
|
variables: Record<string, {
|
|
599
708
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
600
|
-
|
|
601
|
-
|
|
709
|
+
references: {
|
|
710
|
+
source_ref: string;
|
|
711
|
+
locator: {
|
|
712
|
+
path: string;
|
|
713
|
+
start_line: number;
|
|
714
|
+
end_line: number;
|
|
715
|
+
};
|
|
716
|
+
content_digest: string;
|
|
717
|
+
}[];
|
|
602
718
|
}>;
|
|
603
719
|
section_projections: {
|
|
604
720
|
section_key: string;
|
|
@@ -610,28 +726,31 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
610
726
|
artifact_id: string;
|
|
611
727
|
artifact_policy_variant: string;
|
|
612
728
|
} | {
|
|
613
|
-
artifact_kind: string;
|
|
614
|
-
representation: "sections";
|
|
615
|
-
artifact_id: string;
|
|
616
|
-
artifact_policy_variant: string;
|
|
617
729
|
sections: {
|
|
618
730
|
section_key: string;
|
|
619
731
|
owner_indexer_id: string;
|
|
620
732
|
document_kind: string;
|
|
621
733
|
reader_goal: string;
|
|
622
734
|
artifact_kind: string;
|
|
623
|
-
blocks:
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
735
|
+
blocks: {
|
|
736
|
+
references: {
|
|
737
|
+
source_ref: string;
|
|
738
|
+
locator: {
|
|
739
|
+
path: string;
|
|
740
|
+
start_line: number;
|
|
741
|
+
end_line: number;
|
|
742
|
+
};
|
|
743
|
+
content_digest: string;
|
|
744
|
+
}[];
|
|
630
745
|
block_id: string;
|
|
631
746
|
layer: "semantic-prose";
|
|
632
747
|
markdown: string;
|
|
633
|
-
}
|
|
748
|
+
}[];
|
|
634
749
|
}[];
|
|
750
|
+
artifact_kind: string;
|
|
751
|
+
representation: "sections";
|
|
752
|
+
artifact_id: string;
|
|
753
|
+
artifact_policy_variant: string;
|
|
635
754
|
template_id?: string | undefined;
|
|
636
755
|
};
|
|
637
756
|
}[];
|
|
@@ -692,11 +811,6 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
692
811
|
} | {
|
|
693
812
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
694
813
|
proposals: {
|
|
695
|
-
evidence_refs: {
|
|
696
|
-
ref: string;
|
|
697
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
698
|
-
source_digest: string;
|
|
699
|
-
}[];
|
|
700
814
|
composer_ref: string;
|
|
701
815
|
target_node_ref: string;
|
|
702
816
|
artifact: {
|
|
@@ -705,8 +819,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
705
819
|
template_id: string;
|
|
706
820
|
variables: Record<string, {
|
|
707
821
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
708
|
-
|
|
709
|
-
|
|
822
|
+
references: {
|
|
823
|
+
source_ref: string;
|
|
824
|
+
locator: {
|
|
825
|
+
path: string;
|
|
826
|
+
start_line: number;
|
|
827
|
+
end_line: number;
|
|
828
|
+
};
|
|
829
|
+
content_digest: string;
|
|
830
|
+
}[];
|
|
710
831
|
}>;
|
|
711
832
|
section_projections: {
|
|
712
833
|
section_key: string;
|
|
@@ -718,28 +839,31 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
718
839
|
artifact_id: string;
|
|
719
840
|
artifact_policy_variant: string;
|
|
720
841
|
} | {
|
|
721
|
-
artifact_kind: string;
|
|
722
|
-
representation: "sections";
|
|
723
|
-
artifact_id: string;
|
|
724
|
-
artifact_policy_variant: string;
|
|
725
842
|
sections: {
|
|
726
843
|
section_key: string;
|
|
727
844
|
owner_indexer_id: string;
|
|
728
845
|
document_kind: string;
|
|
729
846
|
reader_goal: string;
|
|
730
847
|
artifact_kind: string;
|
|
731
|
-
blocks:
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
848
|
+
blocks: {
|
|
849
|
+
references: {
|
|
850
|
+
source_ref: string;
|
|
851
|
+
locator: {
|
|
852
|
+
path: string;
|
|
853
|
+
start_line: number;
|
|
854
|
+
end_line: number;
|
|
855
|
+
};
|
|
856
|
+
content_digest: string;
|
|
857
|
+
}[];
|
|
738
858
|
block_id: string;
|
|
739
859
|
layer: "semantic-prose";
|
|
740
860
|
markdown: string;
|
|
741
|
-
}
|
|
861
|
+
}[];
|
|
742
862
|
}[];
|
|
863
|
+
artifact_kind: string;
|
|
864
|
+
representation: "sections";
|
|
865
|
+
artifact_id: string;
|
|
866
|
+
artifact_policy_variant: string;
|
|
743
867
|
template_id?: string | undefined;
|
|
744
868
|
};
|
|
745
869
|
}[];
|
|
@@ -790,11 +914,6 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
790
914
|
} | {
|
|
791
915
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
792
916
|
proposals: {
|
|
793
|
-
evidence_refs: {
|
|
794
|
-
ref: string;
|
|
795
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
796
|
-
source_digest: string;
|
|
797
|
-
}[];
|
|
798
917
|
composer_ref: string;
|
|
799
918
|
target_node_ref: string;
|
|
800
919
|
artifact: {
|
|
@@ -803,8 +922,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
803
922
|
template_id: string;
|
|
804
923
|
variables: Record<string, {
|
|
805
924
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
806
|
-
|
|
807
|
-
|
|
925
|
+
references: {
|
|
926
|
+
source_ref: string;
|
|
927
|
+
locator: {
|
|
928
|
+
path: string;
|
|
929
|
+
start_line: number;
|
|
930
|
+
end_line: number;
|
|
931
|
+
};
|
|
932
|
+
content_digest: string;
|
|
933
|
+
}[];
|
|
808
934
|
}>;
|
|
809
935
|
section_projections: {
|
|
810
936
|
section_key: string;
|
|
@@ -816,28 +942,31 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
816
942
|
artifact_id: string;
|
|
817
943
|
artifact_policy_variant: string;
|
|
818
944
|
} | {
|
|
819
|
-
artifact_kind: string;
|
|
820
|
-
representation: "sections";
|
|
821
|
-
artifact_id: string;
|
|
822
|
-
artifact_policy_variant: string;
|
|
823
945
|
sections: {
|
|
824
946
|
section_key: string;
|
|
825
947
|
owner_indexer_id: string;
|
|
826
948
|
document_kind: string;
|
|
827
949
|
reader_goal: string;
|
|
828
950
|
artifact_kind: string;
|
|
829
|
-
blocks:
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
951
|
+
blocks: {
|
|
952
|
+
references: {
|
|
953
|
+
source_ref: string;
|
|
954
|
+
locator: {
|
|
955
|
+
path: string;
|
|
956
|
+
start_line: number;
|
|
957
|
+
end_line: number;
|
|
958
|
+
};
|
|
959
|
+
content_digest: string;
|
|
960
|
+
}[];
|
|
836
961
|
block_id: string;
|
|
837
962
|
layer: "semantic-prose";
|
|
838
963
|
markdown: string;
|
|
839
|
-
}
|
|
964
|
+
}[];
|
|
840
965
|
}[];
|
|
966
|
+
artifact_kind: string;
|
|
967
|
+
representation: "sections";
|
|
968
|
+
artifact_id: string;
|
|
969
|
+
artifact_policy_variant: string;
|
|
841
970
|
template_id?: string | undefined;
|
|
842
971
|
};
|
|
843
972
|
}[];
|
|
@@ -931,11 +1060,6 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
931
1060
|
} | {
|
|
932
1061
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
933
1062
|
proposals: {
|
|
934
|
-
evidence_refs: {
|
|
935
|
-
ref: string;
|
|
936
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
937
|
-
source_digest: string;
|
|
938
|
-
}[];
|
|
939
1063
|
composer_ref: string;
|
|
940
1064
|
target_node_ref: string;
|
|
941
1065
|
artifact: {
|
|
@@ -944,8 +1068,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
944
1068
|
template_id: string;
|
|
945
1069
|
variables: Record<string, {
|
|
946
1070
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
947
|
-
|
|
948
|
-
|
|
1071
|
+
references: {
|
|
1072
|
+
source_ref: string;
|
|
1073
|
+
locator: {
|
|
1074
|
+
path: string;
|
|
1075
|
+
start_line: number;
|
|
1076
|
+
end_line: number;
|
|
1077
|
+
};
|
|
1078
|
+
content_digest: string;
|
|
1079
|
+
}[];
|
|
949
1080
|
}>;
|
|
950
1081
|
section_projections: {
|
|
951
1082
|
section_key: string;
|
|
@@ -957,28 +1088,31 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
957
1088
|
artifact_id: string;
|
|
958
1089
|
artifact_policy_variant: string;
|
|
959
1090
|
} | {
|
|
960
|
-
artifact_kind: string;
|
|
961
|
-
representation: "sections";
|
|
962
|
-
artifact_id: string;
|
|
963
|
-
artifact_policy_variant: string;
|
|
964
1091
|
sections: {
|
|
965
1092
|
section_key: string;
|
|
966
1093
|
owner_indexer_id: string;
|
|
967
1094
|
document_kind: string;
|
|
968
1095
|
reader_goal: string;
|
|
969
1096
|
artifact_kind: string;
|
|
970
|
-
blocks:
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
1097
|
+
blocks: {
|
|
1098
|
+
references: {
|
|
1099
|
+
source_ref: string;
|
|
1100
|
+
locator: {
|
|
1101
|
+
path: string;
|
|
1102
|
+
start_line: number;
|
|
1103
|
+
end_line: number;
|
|
1104
|
+
};
|
|
1105
|
+
content_digest: string;
|
|
1106
|
+
}[];
|
|
977
1107
|
block_id: string;
|
|
978
1108
|
layer: "semantic-prose";
|
|
979
1109
|
markdown: string;
|
|
980
|
-
}
|
|
1110
|
+
}[];
|
|
981
1111
|
}[];
|
|
1112
|
+
artifact_kind: string;
|
|
1113
|
+
representation: "sections";
|
|
1114
|
+
artifact_id: string;
|
|
1115
|
+
artifact_policy_variant: string;
|
|
982
1116
|
template_id?: string | undefined;
|
|
983
1117
|
};
|
|
984
1118
|
}[];
|
|
@@ -1050,11 +1184,6 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
1050
1184
|
} | {
|
|
1051
1185
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1052
1186
|
proposals: {
|
|
1053
|
-
evidence_refs: {
|
|
1054
|
-
ref: string;
|
|
1055
|
-
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1056
|
-
source_digest: string;
|
|
1057
|
-
}[];
|
|
1058
1187
|
composer_ref: string;
|
|
1059
1188
|
target_node_ref: string;
|
|
1060
1189
|
artifact: {
|
|
@@ -1063,8 +1192,15 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
1063
1192
|
template_id: string;
|
|
1064
1193
|
variables: Record<string, {
|
|
1065
1194
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1066
|
-
|
|
1067
|
-
|
|
1195
|
+
references: {
|
|
1196
|
+
source_ref: string;
|
|
1197
|
+
locator: {
|
|
1198
|
+
path: string;
|
|
1199
|
+
start_line: number;
|
|
1200
|
+
end_line: number;
|
|
1201
|
+
};
|
|
1202
|
+
content_digest: string;
|
|
1203
|
+
}[];
|
|
1068
1204
|
}>;
|
|
1069
1205
|
section_projections: {
|
|
1070
1206
|
section_key: string;
|
|
@@ -1076,28 +1212,31 @@ export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
|
1076
1212
|
artifact_id: string;
|
|
1077
1213
|
artifact_policy_variant: string;
|
|
1078
1214
|
} | {
|
|
1079
|
-
artifact_kind: string;
|
|
1080
|
-
representation: "sections";
|
|
1081
|
-
artifact_id: string;
|
|
1082
|
-
artifact_policy_variant: string;
|
|
1083
1215
|
sections: {
|
|
1084
1216
|
section_key: string;
|
|
1085
1217
|
owner_indexer_id: string;
|
|
1086
1218
|
document_kind: string;
|
|
1087
1219
|
reader_goal: string;
|
|
1088
1220
|
artifact_kind: string;
|
|
1089
|
-
blocks:
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1221
|
+
blocks: {
|
|
1222
|
+
references: {
|
|
1223
|
+
source_ref: string;
|
|
1224
|
+
locator: {
|
|
1225
|
+
path: string;
|
|
1226
|
+
start_line: number;
|
|
1227
|
+
end_line: number;
|
|
1228
|
+
};
|
|
1229
|
+
content_digest: string;
|
|
1230
|
+
}[];
|
|
1096
1231
|
block_id: string;
|
|
1097
1232
|
layer: "semantic-prose";
|
|
1098
1233
|
markdown: string;
|
|
1099
|
-
}
|
|
1234
|
+
}[];
|
|
1100
1235
|
}[];
|
|
1236
|
+
artifact_kind: string;
|
|
1237
|
+
representation: "sections";
|
|
1238
|
+
artifact_id: string;
|
|
1239
|
+
artifact_policy_variant: string;
|
|
1101
1240
|
template_id?: string | undefined;
|
|
1102
1241
|
};
|
|
1103
1242
|
}[];
|