@c4a/context-cli 0.7.66 → 0.7.70
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 +1672 -1238
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/parserEntryWorker.js +17 -2
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/providers/context/manifest.json +21 -21
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/diagnostics/verification.md +2 -0
- package/providers/context/resources/manuals/guides/knowledge-updates.md +11 -0
- package/providers/context/resources/manuals/guides/package-outputs.md +6 -2
- package/providers/context/resources/manuals/guides/site-translation.md +26 -2
- package/providers/context/resources/procedures/approved-revision.md +11 -0
- package/providers/context/resources/procedures/knowledge-updates.md +11 -0
- package/providers/context/resources/procedures/production-stage-files.md +11 -0
- package/providers/context/schemas/approved-revision-result.schema.json +56 -19
- package/providers/context/schemas/indexer-agent-step-result.schema.json +56 -19
- package/providers/context/skills/translate-site-locales/SKILL.md +9 -2
|
@@ -8,13 +8,20 @@ knowledge map title that is missing or stale for each declared locale, with the
|
|
|
8
8
|
`expected_digest` to submit. Approved knowledge in the primary language remains
|
|
9
9
|
the only source of truth; translations never change it.
|
|
10
10
|
|
|
11
|
+
Use the returned draft and submission paths. Preserve unchanged translated parts
|
|
12
|
+
and translate the listed changes in a natural tone. For `diff: unknown`, compare
|
|
13
|
+
with the previous translation. A `rebase-required` draft must be reconciled with
|
|
14
|
+
the current source before explicitly confirming its `source_digest`.
|
|
15
|
+
|
|
11
16
|
For each article, read the approved file and write a complete translation to a
|
|
12
17
|
temporary file under `.tmp/agent-payloads/`. Keep its structure exactly:
|
|
13
18
|
|
|
14
19
|
- frontmatter contains only a translated `title` and optional `description`;
|
|
15
20
|
- keep every `context:section` marker, id and order unchanged;
|
|
16
|
-
- keep every fenced code block
|
|
17
|
-
|
|
21
|
+
- keep every fenced code block and language marker; translate prose in `text`,
|
|
22
|
+
`txt`, and `plaintext` blocks, preserving commands, paths and placeholders such
|
|
23
|
+
as `<repository>`. Mermaid labels may be translated. Keep content unchanged
|
|
24
|
+
in every other block, including blocks without a language marker;
|
|
18
25
|
- keep every link target unchanged; translate link labels only;
|
|
19
26
|
- keep product names, commands, file paths, identifiers and API names as written.
|
|
20
27
|
|