@c4a/context-cli 0.7.108 → 0.7.109
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 +946 -871
- 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 +1 -1
- package/plugins/claude/resources/context/routine-update.md +2 -1
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/codex/skills/context/references/routine-update.md +2 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/cursor/resources/context/routine-update.md +2 -1
- package/plugins/skills/context/SKILL.md +1 -1
- package/plugins/skills/context/references/routine-update.md +2 -1
- package/providers/context/manifest.json +8 -8
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +7 -3
- package/providers/context/resources/procedures/knowledge-review.md +7 -1
- package/providers/context/resources/procedures/knowledge-updates.md +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.109",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local runtime and Agent integration for traceable knowledge production",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@c4a/agent-graph": "0.3.0",
|
|
27
|
-
"@c4a/context": "0.7.
|
|
28
|
-
"@c4a/extract": "0.7.
|
|
29
|
-
"@c4a/extract-contract": "0.7.
|
|
30
|
-
"@c4a/extract-go": "0.7.
|
|
31
|
-
"@c4a/extract-mdx": "0.7.
|
|
32
|
-
"@c4a/extract-proto": "0.7.
|
|
33
|
-
"@c4a/extract-rush": "0.7.
|
|
34
|
-
"@c4a/extract-sql": "0.7.
|
|
35
|
-
"@c4a/extract-style": "0.7.
|
|
36
|
-
"@c4a/extract-thrift": "0.7.
|
|
37
|
-
"@c4a/extract-ts": "0.7.
|
|
27
|
+
"@c4a/context": "0.7.109",
|
|
28
|
+
"@c4a/extract": "0.7.109",
|
|
29
|
+
"@c4a/extract-contract": "0.7.109",
|
|
30
|
+
"@c4a/extract-go": "0.7.109",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.109",
|
|
32
|
+
"@c4a/extract-proto": "0.7.109",
|
|
33
|
+
"@c4a/extract-rush": "0.7.109",
|
|
34
|
+
"@c4a/extract-sql": "0.7.109",
|
|
35
|
+
"@c4a/extract-style": "0.7.109",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.109",
|
|
37
|
+
"@c4a/extract-ts": "0.7.109",
|
|
38
38
|
"@mermaid-js/layout-elk": "0.2.0",
|
|
39
39
|
"commander": "^11.0.0",
|
|
40
40
|
"d3-force": "3.0.0",
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.109
|
|
@@ -144,7 +144,7 @@ without the user's authorization.
|
|
|
144
144
|
|
|
145
145
|
### Check the CLI first
|
|
146
146
|
|
|
147
|
-
This Skill ships with Context 0.7.
|
|
147
|
+
This Skill ships with Context 0.7.109.
|
|
148
148
|
|
|
149
149
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
150
150
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -114,7 +114,8 @@ workspace targets or the delivery configuration.
|
|
|
114
114
|
knowledge-updates guide, "Refresh several registered sources", step 4):
|
|
115
115
|
1. Fetch and check out each of the batch's repositories at its new commit in
|
|
116
116
|
a shallow or partial clone, keeping the processed commit available:
|
|
117
|
-
`--input` reads only what the checkout already has
|
|
117
|
+
`--input` reads only what the checkout already has (a partial clone also
|
|
118
|
+
downloads the processed commit's cited contents). Skip this for a
|
|
118
119
|
repository read from Sourcegraph; size its change with the Sourcegraph
|
|
119
120
|
diff instead.
|
|
120
121
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.109",
|
|
4
4
|
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
|
|
5
5
|
"author": { "name": "c4a" },
|
|
6
6
|
"homepage": "https://github.com/context4ai/c4a",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"skills": "./skills/",
|
|
11
11
|
"interface": {
|
|
12
12
|
"displayName": "C4A Context",
|
|
13
|
-
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.
|
|
13
|
+
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.109",
|
|
14
14
|
"longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
|
|
15
15
|
"developerName": "c4a",
|
|
16
16
|
"category": "Productivity",
|
|
@@ -142,7 +142,7 @@ without the user's authorization.
|
|
|
142
142
|
|
|
143
143
|
### Check the CLI first
|
|
144
144
|
|
|
145
|
-
This Skill ships with Context 0.7.
|
|
145
|
+
This Skill ships with Context 0.7.109.
|
|
146
146
|
|
|
147
147
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
148
148
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -114,7 +114,8 @@ workspace targets or the delivery configuration.
|
|
|
114
114
|
knowledge-updates guide, "Refresh several registered sources", step 4):
|
|
115
115
|
1. Fetch and check out each of the batch's repositories at its new commit in
|
|
116
116
|
a shallow or partial clone, keeping the processed commit available:
|
|
117
|
-
`--input` reads only what the checkout already has
|
|
117
|
+
`--input` reads only what the checkout already has (a partial clone also
|
|
118
|
+
downloads the processed commit's cited contents). Skip this for a
|
|
118
119
|
repository read from Sourcegraph; size its change with the Sourcegraph
|
|
119
120
|
diff instead.
|
|
120
121
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
@@ -139,7 +139,7 @@ without the user's authorization.
|
|
|
139
139
|
|
|
140
140
|
### Check the CLI first
|
|
141
141
|
|
|
142
|
-
This Skill ships with Context 0.7.
|
|
142
|
+
This Skill ships with Context 0.7.109.
|
|
143
143
|
|
|
144
144
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
145
145
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -114,7 +114,8 @@ workspace targets or the delivery configuration.
|
|
|
114
114
|
knowledge-updates guide, "Refresh several registered sources", step 4):
|
|
115
115
|
1. Fetch and check out each of the batch's repositories at its new commit in
|
|
116
116
|
a shallow or partial clone, keeping the processed commit available:
|
|
117
|
-
`--input` reads only what the checkout already has
|
|
117
|
+
`--input` reads only what the checkout already has (a partial clone also
|
|
118
|
+
downloads the processed commit's cited contents). Skip this for a
|
|
118
119
|
repository read from Sourcegraph; size its change with the Sourcegraph
|
|
119
120
|
diff instead.
|
|
120
121
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
@@ -142,7 +142,7 @@ without the user's authorization.
|
|
|
142
142
|
|
|
143
143
|
### Check the CLI first
|
|
144
144
|
|
|
145
|
-
This Skill ships with Context 0.7.
|
|
145
|
+
This Skill ships with Context 0.7.109.
|
|
146
146
|
|
|
147
147
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
148
148
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -114,7 +114,8 @@ workspace targets or the delivery configuration.
|
|
|
114
114
|
knowledge-updates guide, "Refresh several registered sources", step 4):
|
|
115
115
|
1. Fetch and check out each of the batch's repositories at its new commit in
|
|
116
116
|
a shallow or partial clone, keeping the processed commit available:
|
|
117
|
-
`--input` reads only what the checkout already has
|
|
117
|
+
`--input` reads only what the checkout already has (a partial clone also
|
|
118
|
+
downloads the processed commit's cited contents). Skip this for a
|
|
118
119
|
repository read from Sourcegraph; size its change with the Sourcegraph
|
|
119
120
|
diff instead.
|
|
120
121
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "agent-graph.bundle.v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "c4a/context",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.109"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -323,12 +323,12 @@
|
|
|
323
323
|
{
|
|
324
324
|
"id": "procedure.knowledge-review",
|
|
325
325
|
"path": "resources/procedures/knowledge-review.md",
|
|
326
|
-
"digest": "sha256:
|
|
326
|
+
"digest": "sha256:df9a49469125a71c85e2e45f3b5bda10f5f48d881f6f22c6fb5b7060f8b9e925"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"id": "procedure.knowledge-updates",
|
|
330
330
|
"path": "resources/procedures/knowledge-updates.md",
|
|
331
|
-
"digest": "sha256:
|
|
331
|
+
"digest": "sha256:e19042360b99f4acdd0fa8104b0587fa53d41cbdfb925dacc0c5c83bdc1b55d1"
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"id": "procedure.note",
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
"path": "provider.yaml",
|
|
601
|
-
"digest": "sha256:
|
|
601
|
+
"digest": "sha256:4dc4bc3e5426c75c06a2de3bfcf1c3a9479e9ac98a66420f18ab9064b46d50ca"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
661
|
-
"digest": "sha256:
|
|
661
|
+
"digest": "sha256:060230f6eca33687ba421ea847db53bdc82ce148a329451ac4de80bf494d557d"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
@@ -750,11 +750,11 @@
|
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
752
|
"path": "resources/procedures/knowledge-review.md",
|
|
753
|
-
"digest": "sha256:
|
|
753
|
+
"digest": "sha256:df9a49469125a71c85e2e45f3b5bda10f5f48d881f6f22c6fb5b7060f8b9e925"
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"path": "resources/procedures/knowledge-updates.md",
|
|
757
|
-
"digest": "sha256:
|
|
757
|
+
"digest": "sha256:e19042360b99f4acdd0fa8104b0587fa53d41cbdfb925dacc0c5c83bdc1b55d1"
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
"path": "resources/procedures/note.md",
|
|
@@ -921,5 +921,5 @@
|
|
|
921
921
|
"indexer": [],
|
|
922
922
|
"workspace": []
|
|
923
923
|
},
|
|
924
|
-
"digest": "sha256:
|
|
924
|
+
"digest": "sha256:c7763747332e8425c8b836b3b2f79fbfb6d1678f178be6840f33710cb01ca7b2"
|
|
925
925
|
}
|
|
@@ -494,8 +494,9 @@ first and update them in batches, so each review covers related pages:
|
|
|
494
494
|
pages in groups.
|
|
495
495
|
4. **Run one batch at a time.** Context keeps one active update. When a batch
|
|
496
496
|
starts, fetch and check out its repositories at the target commits with the
|
|
497
|
-
cited files' contents available (`--input` reads only what the checkout has
|
|
498
|
-
|
|
497
|
+
cited files' contents available (`--input` reads only what the checkout has,
|
|
498
|
+
except that a partial clone downloads the processed commit's cited contents
|
|
499
|
+
for history evidence; keep the processed commit available), move only this batch's
|
|
499
500
|
registrations (`context source add repo` changing only `--ref`; register a
|
|
500
501
|
checkout kept outside the workspace through a workspace-relative alias such
|
|
501
502
|
as `.tmp/repo/<name>`, as `context source restore` does, not an absolute
|
|
@@ -507,7 +508,10 @@ first and update them in batches, so each review covers related pages:
|
|
|
507
508
|
batch is reviewed, closed and built as usual, but the Route does not ask for
|
|
508
509
|
a workspace version, so the next batch can start right after the build.
|
|
509
510
|
Leave it out of the last batch; its Route records the one version (and
|
|
510
|
-
changelog entry) of the whole refresh.
|
|
511
|
+
changelog entry) of the whole refresh. A standalone revision between batches
|
|
512
|
+
also leaves its version to the last batch; `context status` shows
|
|
513
|
+
`version_deferred` meanwhile, and an update without `more_batches` or
|
|
514
|
+
`context version record` ends the deferral. When earlier batches were already
|
|
511
515
|
committed and the workspace has no `v<version>` tag (for example a
|
|
512
516
|
workspace inside a larger repository), the default comparison base is
|
|
513
517
|
`HEAD` and would list only the last batch: run `context version inspect
|
|
@@ -28,7 +28,13 @@ Without explicit session-managed authority, open the report returned by the
|
|
|
28
28
|
Route and request confirmation or revision notes through the host user-question
|
|
29
29
|
tool. When the CLI cannot open it (for example without a graphical
|
|
30
30
|
session), follow `open_next`: open the same report path the same way after each
|
|
31
|
-
regeneration, so the reader's READ marks carry over to unchanged pages.
|
|
31
|
+
regeneration, so the reader's READ marks carry over to unchanged pages. When the
|
|
32
|
+
host can open the file, open it directly; when it can open only HTTP addresses, a
|
|
33
|
+
read-only local server for the report directory is fine, at the same URL each time. When the task
|
|
34
|
+
completes, its reports move to `.tmp/context-runtime/review-archive/<time>/`
|
|
35
|
+
(the newest five are kept), so a reviewed report stays readable afterwards;
|
|
36
|
+
this is separate from the copy of an applied report kept in `.tmp/review-reports/`. A
|
|
37
|
+
rolled-back task discards its reports instead. Follow the selected knowledge-review dialogue to distinguish feedback,
|
|
32
38
|
approval and approval-after-repair. Keep the exact report reference, presented
|
|
33
39
|
scope and user intent in this conversation. The HTML contains reading progress
|
|
34
40
|
and plain revision notes, not approval authority. Normal explicit confirmation
|
|
@@ -494,8 +494,9 @@ first and update them in batches, so each review covers related pages:
|
|
|
494
494
|
pages in groups.
|
|
495
495
|
4. **Run one batch at a time.** Context keeps one active update. When a batch
|
|
496
496
|
starts, fetch and check out its repositories at the target commits with the
|
|
497
|
-
cited files' contents available (`--input` reads only what the checkout has
|
|
498
|
-
|
|
497
|
+
cited files' contents available (`--input` reads only what the checkout has,
|
|
498
|
+
except that a partial clone downloads the processed commit's cited contents
|
|
499
|
+
for history evidence; keep the processed commit available), move only this batch's
|
|
499
500
|
registrations (`context source add repo` changing only `--ref`; register a
|
|
500
501
|
checkout kept outside the workspace through a workspace-relative alias such
|
|
501
502
|
as `.tmp/repo/<name>`, as `context source restore` does, not an absolute
|
|
@@ -507,7 +508,10 @@ first and update them in batches, so each review covers related pages:
|
|
|
507
508
|
batch is reviewed, closed and built as usual, but the Route does not ask for
|
|
508
509
|
a workspace version, so the next batch can start right after the build.
|
|
509
510
|
Leave it out of the last batch; its Route records the one version (and
|
|
510
|
-
changelog entry) of the whole refresh.
|
|
511
|
+
changelog entry) of the whole refresh. A standalone revision between batches
|
|
512
|
+
also leaves its version to the last batch; `context status` shows
|
|
513
|
+
`version_deferred` meanwhile, and an update without `more_batches` or
|
|
514
|
+
`context version record` ends the deferral. When earlier batches were already
|
|
511
515
|
committed and the workspace has no `v<version>` tag (for example a
|
|
512
516
|
workspace inside a larger repository), the default comparison base is
|
|
513
517
|
`HEAD` and would list only the last batch: run `context version inspect
|