@c4a/context-cli 0.7.94 → 0.7.96
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/cli.js +1740 -1162
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +25 -4
- package/plugins/claude/resources/context/routine-update.md +79 -26
- package/plugins/claude/resources/context/version-alignment.md +3 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +25 -4
- package/plugins/codex/skills/context/references/routine-update.md +79 -26
- package/plugins/codex/skills/context/references/version-alignment.md +3 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +25 -4
- package/plugins/cursor/resources/context/routine-update.md +79 -26
- package/plugins/cursor/resources/context/version-alignment.md +3 -0
- package/plugins/skills/context/SKILL.md +25 -4
- package/plugins/skills/context/references/routine-update.md +79 -26
- package/plugins/skills/context/references/version-alignment.md +3 -0
- package/providers/context/manifest.json +8 -8
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/procedures/approved-revision.md +7 -0
- package/providers/context/resources/procedures/source-update.md +18 -4
- package/providers/context/skills/translate-site-locales/SKILL.md +1 -0
|
@@ -25,15 +25,23 @@ updates and `context update --pending`, pages whose citations
|
|
|
25
25
|
are unchanged or only moved are not candidates, so an empty list is possible;
|
|
26
26
|
still check the change for additions before submitting the scope decision.
|
|
27
27
|
Those pages are listed in `scope_pages`: they need no decision, but include one
|
|
28
|
-
with an `instruction` when an addition or shared change affects it.
|
|
28
|
+
with an `instruction` when an addition or shared change affects it. When the
|
|
29
|
+
pages you revise are written by other Agents, give each writer its page's
|
|
30
|
+
`changed_references` entries and their evidence.
|
|
29
31
|
|
|
30
32
|
Follow each changed reference's `evidence_ref` into the JSON array in
|
|
31
33
|
`reference_evidence_file` (`reference_evidence_count` entries) for
|
|
32
34
|
digest-verified historical text and the current excerpt. Read only the entries
|
|
33
35
|
for references you are deciding; the Route does not repeat them inline. Missing history is
|
|
34
36
|
explicitly marked unavailable. The current excerpt is from the old position
|
|
35
|
-
or nearby lines, not a claimed replacement
|
|
36
|
-
entry supplies
|
|
37
|
+
or nearby lines, not a claimed replacement. For documents, a
|
|
38
|
+
`format_only_proposals` entry supplies mapped replacements. A repository
|
|
39
|
+
citation's entry may carry `suggested`: where the source diff moves the old lines,
|
|
40
|
+
with their current text and a ready `locator` to cite if that text still
|
|
41
|
+
supports the section. It saves computing line numbers; it is not a semantic
|
|
42
|
+
match, and submission checks it again. When the mapped lines are ones an
|
|
43
|
+
earlier citation used, the suggested locator is a quote, because repeating
|
|
44
|
+
those line numbers keeps the earlier evidence.
|
|
37
45
|
|
|
38
46
|
When `format_only_proposals` is present, compare every proposed old/new region.
|
|
39
47
|
Only if the document's changes preserve meaning, keep the affected page bodies
|
|
@@ -45,7 +53,13 @@ If any mapping is missing or uncertain, use normal revision. A format-only
|
|
|
45
53
|
decision does not authorize publication or suppress unrelated version changes.
|
|
46
54
|
|
|
47
55
|
Also inspect additions and shared dependencies in the source change. Existing
|
|
48
|
-
page references cannot discover every new topic.
|
|
56
|
+
page references cannot discover every new topic. For repositories,
|
|
57
|
+
`uncited_changes` lists the changed files no approved page cites, grouped by
|
|
58
|
+
directory with added, modified and deleted counts; `new_directory` marks a
|
|
59
|
+
directory the processed commit did not have. Lock files and generated output
|
|
60
|
+
are left out. An entry with `unavailable` means those changes are unknown, not
|
|
61
|
+
absent. Start from new directories and read the diff only for groups that look
|
|
62
|
+
like lasting knowledge. List necessary new pages in `new_topics`, each with a readable `path` in an existing
|
|
49
63
|
collection, `title`, registered `source_refs` and an `instruction` describing the
|
|
50
64
|
reader task and material to use. Reuse the established purpose and page forms.
|
|
51
65
|
Use an empty list only when existing pages cover the change or the additions
|
|
@@ -18,6 +18,7 @@ whenever `source_diff` is `null`, align the whole draft with the current
|
|
|
18
18
|
approved article before submitting. Keep the translation's structure exactly:
|
|
19
19
|
|
|
20
20
|
- frontmatter contains only a translated `title` and optional `description`;
|
|
21
|
+
drop a `translation` record copied from a kept draft, because the CLI writes it;
|
|
21
22
|
- keep every `context:section` marker, id and order unchanged;
|
|
22
23
|
- keep every fenced code block and language marker; translate prose in `text`,
|
|
23
24
|
`txt`, and `plaintext` blocks, preserving commands, paths and placeholders such
|