@c4a/context 0.7.1 → 0.7.4

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.
Files changed (117) hide show
  1. package/README.md +65 -170
  2. package/README.zh-CN.md +52 -129
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -428
  6. package/docs/guides/agent-guide.md +94 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +24 -13
  8. package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
  9. package/docs/reference/code-extractors.md +29 -121
  10. package/docs/reference/indexer-provider-protocol.md +43 -110
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -986
  13. package/index.d.ts +10 -8
  14. package/index.js +4739 -7103
  15. package/indexerAgentStepProtocol.d.ts +1366 -7649
  16. package/indexerArtifact.d.ts +225 -0
  17. package/indexerArtifactDependencies.d.ts +41 -39
  18. package/indexerArtifactResult.d.ts +219 -252
  19. package/indexerAuthorizedWorksetView.d.ts +368 -0
  20. package/indexerBaseQuestionAmendment.d.ts +484 -280
  21. package/indexerBenchmark.d.ts +16 -16
  22. package/indexerCandidateCompile.d.ts +66 -60
  23. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  24. package/indexerCatalogFallback.d.ts +122 -128
  25. package/indexerCollectionMapping.d.ts +13 -13
  26. package/indexerContentLayers.d.ts +8 -8
  27. package/indexerContractOverlay.d.ts +10 -10
  28. package/indexerControlledInvocation.d.ts +12 -12
  29. package/indexerControlledProgram.d.ts +2467 -2797
  30. package/indexerCoreExports.d.ts +6 -6
  31. package/indexerCustomizationDraft.d.ts +3315 -2091
  32. package/indexerCustomizationLadder.d.ts +2 -2
  33. package/indexerDependencyView.d.ts +108 -108
  34. package/indexerEffectiveArtifact.d.ts +1134 -0
  35. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  36. package/indexerEvidenceAdapterResult.d.ts +52 -52
  37. package/indexerExampleDecision.d.ts +128 -128
  38. package/indexerExampleIdentity.d.ts +6 -6
  39. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  40. package/indexerIncrementalImpact.d.ts +16 -16
  41. package/indexerInspectorWorksetProjection.d.ts +6 -0
  42. package/indexerInventoryDisposition.d.ts +70 -70
  43. package/indexerLayerComposition.d.ts +2139 -373
  44. package/indexerLayoutChange.d.ts +10 -10
  45. package/indexerLayoutProposalSet.d.ts +71 -66
  46. package/indexerLayoutResolver.d.ts +53 -48
  47. package/indexerLayoutTransition.d.ts +0 -50
  48. package/indexerLifecycle.d.ts +0 -13
  49. package/indexerMainLifecycle.d.ts +10 -0
  50. package/indexerMainRunLedger.d.ts +138 -11
  51. package/indexerMainRunProtocol.d.ts +1406 -785
  52. package/indexerMainWorkset.d.ts +460 -206
  53. package/indexerMaterialGapLedger.d.ts +13 -2904
  54. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  56. package/indexerParserCapabilityCatalog.d.ts +136 -0
  57. package/indexerParserCoordinate.d.ts +16 -16
  58. package/indexerParserDependencyIntent.d.ts +22 -0
  59. package/indexerParserExecutionPlan.d.ts +388 -0
  60. package/indexerParserFactView.d.ts +42 -22
  61. package/indexerPartitionConvergence.d.ts +0 -3
  62. package/indexerPartitionInventory.d.ts +2 -0
  63. package/indexerPartitionPlan.d.ts +101 -99
  64. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  65. package/indexerPostAuthorComposition.d.ts +116 -1156
  66. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  67. package/indexerPrimaryProjection.d.ts +10 -10
  68. package/indexerPrimaryResultView.d.ts +435 -0
  69. package/indexerProfileContract.d.ts +181 -181
  70. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  71. package/indexerProgramRunProtocol.d.ts +2141 -2749
  72. package/indexerProjectProposal.d.ts +496 -292
  73. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  74. package/indexerProtocolCommon.d.ts +4 -1
  75. package/indexerProvider.d.ts +134 -218
  76. package/indexerProviderComposition.d.ts +53 -53
  77. package/indexerProviderResolution.d.ts +12 -12
  78. package/indexerProviderResolutionAction.d.ts +14 -14
  79. package/indexerProviderRouting.d.ts +923 -515
  80. package/indexerProviderSelectionProposal.d.ts +893 -485
  81. package/indexerQuestionAuthority.d.ts +46 -47
  82. package/indexerReaderTargetInventory.d.ts +8 -8
  83. package/indexerRegistry.d.ts +765 -357
  84. package/indexerRequirementConfirmation.d.ts +98 -98
  85. package/indexerRequirementLifecycle.d.ts +224 -224
  86. package/indexerResultReconciliation.d.ts +204 -5919
  87. package/indexerResultReconciliationRun.d.ts +0 -1
  88. package/indexerRunEnvelope.d.ts +20 -20
  89. package/indexerSemanticInput.d.ts +3678 -0
  90. package/indexerStructuredDeclaration.d.ts +57 -53
  91. package/indexerSubjectCatalog.d.ts +14 -14
  92. package/indexerSubjectIdentity.d.ts +2 -2
  93. package/indexerSubjectKeyAuthority.d.ts +31 -30
  94. package/indexerTemplateRendering.d.ts +64 -64
  95. package/indexerToolSnapshot.d.ts +8 -8
  96. package/package.json +1 -1
  97. package/phases.d.ts +3 -183
  98. package/codeIndexPlan.d.ts +0 -158
  99. package/indexerAuditFacts.d.ts +0 -66
  100. package/indexerAuditOverrideReadiness.d.ts +0 -27
  101. package/indexerAuditProtocol.d.ts +0 -238
  102. package/indexerAuditRevision.d.ts +0 -726
  103. package/indexerAuditRevisionActions.d.ts +0 -236
  104. package/indexerMaterialAnswer.d.ts +0 -738
  105. package/indexerMaterialAnswerActualization.d.ts +0 -91
  106. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  107. package/indexerMaterialAnswerFlow.d.ts +0 -63
  108. package/indexerMaterialAnswerLayout.d.ts +0 -76
  109. package/indexerMaterialAnswerReview.d.ts +0 -217
  110. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  111. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  112. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  113. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  114. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  115. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  116. package/indexerProfileMetricAudit.d.ts +0 -218
  117. package/indexerWorksetRead.d.ts +0 -287
@@ -344,12 +344,12 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
344
344
  path: z.ZodEffects<z.ZodString, string, string>;
345
345
  expires_at: z.ZodString;
346
346
  }, "strict", z.ZodTypeAny, {
347
- kind: "directory" | "archive";
348
347
  path: string;
348
+ kind: "directory" | "archive";
349
349
  expires_at: string;
350
350
  }, {
351
- kind: "directory" | "archive";
352
351
  path: string;
352
+ kind: "directory" | "archive";
353
353
  expires_at: string;
354
354
  }>;
355
355
  files: z.ZodArray<z.ZodObject<{
@@ -379,11 +379,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
379
379
  resolved_at: string;
380
380
  }>;
381
381
  }, "strict", z.ZodTypeAny, {
382
- protocol: "context.indexer.resolved-provider-bundle/v1";
383
382
  files: {
384
383
  path: string;
385
384
  digest: string;
386
385
  }[];
386
+ protocol: "context.indexer.resolved-provider-bundle/v1";
387
387
  request: {
388
388
  skill: string;
389
389
  version: string;
@@ -413,8 +413,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
413
413
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
414
414
  };
415
415
  transport: {
416
- kind: "directory" | "archive";
417
416
  path: string;
417
+ kind: "directory" | "archive";
418
418
  expires_at: string;
419
419
  };
420
420
  receipt: {
@@ -424,11 +424,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
424
424
  resolved_at: string;
425
425
  };
426
426
  }, {
427
- protocol: "context.indexer.resolved-provider-bundle/v1";
428
427
  files: {
429
428
  path: string;
430
429
  digest: string;
431
430
  }[];
431
+ protocol: "context.indexer.resolved-provider-bundle/v1";
432
432
  request: {
433
433
  skill: string;
434
434
  version: string;
@@ -458,8 +458,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
458
458
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
459
459
  };
460
460
  transport: {
461
- kind: "directory" | "archive";
462
461
  path: string;
462
+ kind: "directory" | "archive";
463
463
  expires_at: string;
464
464
  };
465
465
  receipt: {
@@ -469,11 +469,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
469
469
  resolved_at: string;
470
470
  };
471
471
  }>, {
472
- protocol: "context.indexer.resolved-provider-bundle/v1";
473
472
  files: {
474
473
  path: string;
475
474
  digest: string;
476
475
  }[];
476
+ protocol: "context.indexer.resolved-provider-bundle/v1";
477
477
  request: {
478
478
  skill: string;
479
479
  version: string;
@@ -503,8 +503,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
503
503
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
504
504
  };
505
505
  transport: {
506
- kind: "directory" | "archive";
507
506
  path: string;
507
+ kind: "directory" | "archive";
508
508
  expires_at: string;
509
509
  };
510
510
  receipt: {
@@ -514,11 +514,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
514
514
  resolved_at: string;
515
515
  };
516
516
  }, {
517
- protocol: "context.indexer.resolved-provider-bundle/v1";
518
517
  files: {
519
518
  path: string;
520
519
  digest: string;
521
520
  }[];
521
+ protocol: "context.indexer.resolved-provider-bundle/v1";
522
522
  request: {
523
523
  skill: string;
524
524
  version: string;
@@ -548,8 +548,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
548
548
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
549
549
  };
550
550
  transport: {
551
- kind: "directory" | "archive";
552
551
  path: string;
552
+ kind: "directory" | "archive";
553
553
  expires_at: string;
554
554
  };
555
555
  receipt: {
@@ -565,11 +565,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
565
565
  output_digest: string;
566
566
  request_digest: string;
567
567
  envelope: {
568
- protocol: "context.indexer.resolved-provider-bundle/v1";
569
568
  files: {
570
569
  path: string;
571
570
  digest: string;
572
571
  }[];
572
+ protocol: "context.indexer.resolved-provider-bundle/v1";
573
573
  request: {
574
574
  skill: string;
575
575
  version: string;
@@ -599,8 +599,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
599
599
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
600
600
  };
601
601
  transport: {
602
- kind: "directory" | "archive";
603
602
  path: string;
603
+ kind: "directory" | "archive";
604
604
  expires_at: string;
605
605
  };
606
606
  receipt: {
@@ -615,11 +615,11 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
615
615
  output_digest: string;
616
616
  request_digest: string;
617
617
  envelope: {
618
- protocol: "context.indexer.resolved-provider-bundle/v1";
619
618
  files: {
620
619
  path: string;
621
620
  digest: string;
622
621
  }[];
622
+ protocol: "context.indexer.resolved-provider-bundle/v1";
623
623
  request: {
624
624
  skill: string;
625
625
  version: string;
@@ -649,8 +649,8 @@ export declare const indexerProviderResolutionActionOutputSchema: z.ZodObject<{
649
649
  trust: "first-party" | "verified" | "project-authorized" | "untrusted";
650
650
  };
651
651
  transport: {
652
- kind: "directory" | "archive";
653
652
  path: string;
653
+ kind: "directory" | "archive";
654
654
  expires_at: string;
655
655
  };
656
656
  receipt: {