@c4a/context-cli 0.6.2 → 0.6.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.
- package/README.md +51 -3
- package/README.zh-CN.md +43 -3
- package/cli.js +32849 -28177
- package/docs/context-debug-event-v1.schema.json +31 -0
- package/docs/context-debug-replay-v1.schema.json +33 -0
- package/docs/debug-tracing.md +94 -0
- package/docs/quickstart.md +1 -1
- package/package.json +6 -3
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/continue.md +19 -14
- package/plugins/claude/commands/init.md +3 -1
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/continue/SKILL.md +19 -14
- package/plugins/codex/skills/init/SKILL.md +2 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/context-continue.md +19 -14
- package/plugins/cursor/commands/context-init.md +3 -1
- package/plugins/skills/context-continue/SKILL.md +19 -14
- package/plugins/skills/context-init/SKILL.md +2 -0
- package/providers/context/actions/inspect-code-extraction.yaml +5 -0
- package/providers/context/actions/inspect-repository-recovery.yaml +6 -0
- package/providers/context/actions/reconcile-review-identities.yaml +5 -0
- package/providers/context/actions/repair-verification.yaml +3 -3
- package/providers/context/actions/restore-repository-sources.yaml +7 -0
- package/providers/context/codes.yaml +2 -1
- package/providers/context/graphs/workspace.yaml +51 -8
- package/providers/context/manifest.json +126 -45
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/dialogue/code-extraction.md +11 -0
- package/providers/context/resources/dialogue/package-output.md +9 -0
- package/providers/context/resources/dialogue/repository-source-recovery.md +23 -0
- package/providers/context/resources/manuals/guides/lark-resources.md +121 -0
- package/providers/context/resources/manuals/guides/package-outputs.md +22 -0
- package/providers/context/resources/manuals/reference/code-extractors.md +94 -0
- package/providers/context/resources/manuals/reference/package-templates.md +52 -0
- package/providers/context/resources/manuals/reference/project-api.md +78 -7
- package/providers/context/resources/procedures/close-and-build.md +5 -3
- package/providers/context/resources/procedures/code-extraction.md +23 -0
- package/providers/context/resources/procedures/document-capture.md +5 -1
- package/providers/context/resources/procedures/knowledge-review.md +10 -0
- package/providers/context/resources/procedures/package-output.md +21 -0
- package/providers/context/resources/procedures/repository-source-recovery.md +43 -0
- package/providers/context/resources/procedures/source-capture-detailed.md +13 -0
- package/providers/context/resources/procedures/verify-and-repair.md +12 -0
- package/providers/context/resources/semantic/align/gates.md +2 -2
- package/providers/context/resources/semantic/align/structure-planning.md +8 -3
- package/providers/context/resources/views/source-boundary.yaml +6 -0
- package/providers/context/schemas/repository-source-recovery.schema.json +40 -0
- package/providers/context/actions/ensure-repository-sources.yaml +0 -5
|
@@ -256,9 +256,14 @@ It splits non-contiguous Section mirrors and can expand a broad cross-heading
|
|
|
256
256
|
Section into Markdown structural groups within the same View. Apply the
|
|
257
257
|
non-blocking repair hint when the groups should be independently retrievable;
|
|
258
258
|
otherwise keep the Section and explain the grouping in structure review.
|
|
259
|
-
Oversized Views still require the Agent to apply the returned child-View and
|
|
260
|
-
classifying every child Node from evidence.
|
|
261
|
-
|
|
259
|
+
Oversized Views still require the Agent to apply the returned child-View and
|
|
260
|
+
contains-edge suggestions while classifying every child Node from evidence.
|
|
261
|
+
Those suggestions preserve Section order and place adjacent Sections into
|
|
262
|
+
bounded groups; `part-N` names are placeholders, not semantic titles. Rename
|
|
263
|
+
and classify each child from evidence instead of expanding one child View per
|
|
264
|
+
Section or treating the suggested grouping as a content decision. The repair
|
|
265
|
+
command does not resolve orphan ownership, unsupported evidence, or competing
|
|
266
|
+
semantic groupings.
|
|
262
267
|
|
|
263
268
|
When the cited source sentence itself is uncertain, preserve that uncertainty on
|
|
264
269
|
the edge with `confidence: possible` or `confidence: hypothesis`. This is only
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "context.repository-source-recovery.v1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["schema", "repositories"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": {
|
|
9
|
+
"const": "context.repository-source-recovery.v1"
|
|
10
|
+
},
|
|
11
|
+
"repositories": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"minItems": 1,
|
|
14
|
+
"items": {
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"required": ["source", "mode", "path"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"source": { "type": "string", "minLength": 1 },
|
|
22
|
+
"mode": { "const": "local" },
|
|
23
|
+
"path": { "type": "string", "minLength": 1 }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["source", "mode"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"source": { "type": "string", "minLength": 1 },
|
|
32
|
+
"mode": { "const": "clone" },
|
|
33
|
+
"path": { "type": "string", "minLength": 1 }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|