@c4a/context-cli 0.7.67 → 0.7.71

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 (47) hide show
  1. package/README.md +9 -0
  2. package/README.zh-CN.md +2 -0
  3. package/cli.js +3371 -2942
  4. package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +2 -2
  5. package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +2 -2
  6. package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +2 -2
  7. package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +2 -2
  8. package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +2 -2
  9. package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +2 -2
  10. package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +2 -2
  11. package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +2 -2
  12. package/indexers/bundles/context-code-indexer/references/indexer.md +2 -2
  13. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +2 -1
  14. package/indexers/bundles/context-markdown-indexer/references/indexer.md +2 -2
  15. package/indexers/contracts/profile-contract.json +245 -245
  16. package/indexers/release-manifest.json +14 -14
  17. package/package.json +12 -12
  18. package/parserEntryWorker.js +40 -13
  19. package/plugins/VERSION +1 -1
  20. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  21. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  22. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  23. package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +2 -2
  24. package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +2 -2
  25. package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +2 -2
  26. package/plugins/skills/context-code-indexer/references/composers/event-flow.md +2 -2
  27. package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +2 -2
  28. package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +2 -2
  29. package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +2 -2
  30. package/plugins/skills/context-code-indexer/references/composers/public-contract.md +2 -2
  31. package/plugins/skills/context-code-indexer/references/indexer.md +2 -2
  32. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +2 -1
  33. package/plugins/skills/context-markdown-indexer/references/indexer.md +2 -2
  34. package/providers/context/manifest.json +23 -23
  35. package/providers/context/provider.yaml +1 -1
  36. package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +2 -1
  37. package/providers/context/resources/manuals/guides/knowledge-updates.md +15 -2
  38. package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +1 -1
  39. package/providers/context/resources/manuals/guides/site-translation.md +27 -2
  40. package/providers/context/resources/manuals/reference/package-templates.md +2 -2
  41. package/providers/context/resources/procedures/approved-revision.md +16 -1
  42. package/providers/context/resources/procedures/knowledge-updates.md +15 -2
  43. package/providers/context/resources/procedures/production-stage-files.md +14 -1
  44. package/providers/context/resources/procedures/source-update.md +7 -0
  45. package/providers/context/schemas/approved-revision-result.schema.json +56 -19
  46. package/providers/context/schemas/indexer-agent-step-result.schema.json +56 -19
  47. package/providers/context/skills/translate-site-locales/SKILL.md +10 -4
@@ -24,5 +24,5 @@ empty `fragments` array.
24
24
 
25
25
  Use only the supplied primary artifacts and their actual regional references.
26
26
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
27
- output fragment retains at most three real source locations; no reference
28
- ledger is reconstructed from the full inventory.
27
+ output fragment retains real source regions from at most three files (up to
28
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -23,5 +23,5 @@ empty result: the accepted layer-fragment result with `fragments: []`.
23
23
 
24
24
  Use only the supplied primary artifacts and their actual regional references.
25
25
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
26
- output fragment retains at most three real source locations; no reference
27
- ledger is reconstructed from the full inventory.
26
+ output fragment retains real source regions from at most three files (up to
27
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -23,5 +23,5 @@ return `fragments: []` in the ordinary structured result.
23
23
 
24
24
  Use only the supplied primary artifacts and their actual regional references.
25
25
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
26
- output fragment retains at most three real source locations; no reference
27
- ledger is reconstructed from the full inventory.
26
+ output fragment retains real source regions from at most three files (up to
27
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -22,5 +22,5 @@ reader value must return the normal result envelope with `fragments: []`.
22
22
 
23
23
  Use only the supplied primary artifacts and their actual regional references.
24
24
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
25
- output fragment retains at most three real source locations; no reference
26
- ledger is reconstructed from the full inventory.
25
+ output fragment retains real source regions from at most three files (up to
26
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -23,5 +23,5 @@ never invent tutorial steps.
23
23
 
24
24
  Use only the supplied primary artifacts and their actual regional references.
25
25
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
26
- output fragment retains at most three real source locations; no reference
27
- ledger is reconstructed from the full inventory.
26
+ output fragment retains real source regions from at most three files (up to
27
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -22,5 +22,5 @@ set rather than reading outside the workset.
22
22
 
23
23
  Use only the supplied primary artifacts and their actual regional references.
24
24
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
25
- output fragment retains at most three real source locations; no reference
26
- ledger is reconstructed from the full inventory.
25
+ output fragment retains real source regions from at most three files (up to
26
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -23,5 +23,5 @@ answers the reader question, return a valid result with `fragments: []`.
23
23
 
24
24
  Use only the supplied primary artifacts and their actual regional references.
25
25
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
26
- output fragment retains at most three real source locations; no reference
27
- ledger is reconstructed from the full inventory.
26
+ output fragment retains real source regions from at most three files (up to
27
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -36,5 +36,5 @@ Composer's declared result schema and actions.
36
36
 
37
37
  Use only the supplied primary artifacts and their actual regional references.
38
38
  Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
39
- output fragment retains at most three real source locations; no reference
40
- ledger is reconstructed from the full inventory.
39
+ output fragment retains real source regions from at most three files (up to
40
+ eight regions); no reference ledger is reconstructed from the full inventory.
@@ -129,8 +129,8 @@ affected sections when appropriate. Preserve still-valid examples, limitations
129
129
  and confirmed contributions. New explanatory context does not require
130
130
  repartitioning unchanged code.
131
131
 
132
- Each fragment uses actual source regions, at most three locations; the CLI
133
- computes content digests. Do not use fallback evidence from an unrelated
132
+ Each fragment uses actual source regions from at most three source files (up
133
+ to eight regions in total); the CLI computes content digests. Do not use fallback evidence from an unrelated
134
134
  member, fabricate a continuous span for unrelated locations, or include
135
135
  process identities, full source bodies or credentials in reader output.
136
136
 
@@ -61,7 +61,8 @@ owner or inventory membership is required; avoid duplicating existing prose.
61
61
  The article may cite every authorized participating source. Cover the reader
62
62
  question and relevant handoffs defined in the task brief.
63
63
  Explain operations and handoffs in reader prose, links or diagrams, citing the
64
- actual source regions for each fragment (at most three locations per fragment).
64
+ actual source regions for each fragment (at most three source files per fragment;
65
+ several regions of one file are fine, up to eight regions in total).
65
66
  Do not emit graph edges, classify nodes or create a relationship ledger.
66
67
 
67
68
  ## Granularity and stop conditions
@@ -27,8 +27,8 @@ needed section edits when appropriate. Stable section markers and title and
27
27
  description follow that schema; there is no ArtifactResult, subject identity
28
28
  or profile-owned output mapping to assemble.
29
29
 
30
- For each output fragment, cite the actual source regions used, at most three
31
- locations. Use source_ref and an inclusive file/line locator; the CLI computes
30
+ For each output fragment, cite the actual source regions used, from at most
31
+ three source files (up to eight regions in total). Use source_ref and an inclusive file/line locator; the CLI computes
32
32
  content digests. Do not attach an entire corpus to a generic paragraph or
33
33
  combine unrelated locations into a fabricated continuous span. Split genuinely
34
34
  distinct explanations when they need distinct references.