@c4a/context-cli 0.7.97 → 0.7.99
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 +4 -1
- package/README.zh-CN.md +2 -0
- package/cli.js +11542 -11342
- 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/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/skills/context/SKILL.md +1 -1
- package/providers/context/manifest.json +10 -10
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +7 -1
- package/providers/context/resources/manuals/guides/lark-resources.md +2 -0
- package/providers/context/resources/procedures/document-capture.md +7 -1
- package/providers/context/resources/procedures/knowledge-updates.md +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.99",
|
|
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.99",
|
|
28
|
+
"@c4a/extract": "0.7.99",
|
|
29
|
+
"@c4a/extract-contract": "0.7.99",
|
|
30
|
+
"@c4a/extract-go": "0.7.99",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.99",
|
|
32
|
+
"@c4a/extract-proto": "0.7.99",
|
|
33
|
+
"@c4a/extract-rush": "0.7.99",
|
|
34
|
+
"@c4a/extract-sql": "0.7.99",
|
|
35
|
+
"@c4a/extract-style": "0.7.99",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.99",
|
|
37
|
+
"@c4a/extract-ts": "0.7.99",
|
|
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.99
|
|
@@ -140,7 +140,7 @@ without the user's authorization.
|
|
|
140
140
|
|
|
141
141
|
### Check the CLI first
|
|
142
142
|
|
|
143
|
-
This Skill ships with Context 0.7.
|
|
143
|
+
This Skill ships with Context 0.7.99.
|
|
144
144
|
|
|
145
145
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
146
146
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.99",
|
|
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.99",
|
|
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",
|
|
@@ -138,7 +138,7 @@ without the user's authorization.
|
|
|
138
138
|
|
|
139
139
|
### Check the CLI first
|
|
140
140
|
|
|
141
|
-
This Skill ships with Context 0.7.
|
|
141
|
+
This Skill ships with Context 0.7.99.
|
|
142
142
|
|
|
143
143
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
144
144
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -135,7 +135,7 @@ without the user's authorization.
|
|
|
135
135
|
|
|
136
136
|
### Check the CLI first
|
|
137
137
|
|
|
138
|
-
This Skill ships with Context 0.7.
|
|
138
|
+
This Skill ships with Context 0.7.99.
|
|
139
139
|
|
|
140
140
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
141
141
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -138,7 +138,7 @@ without the user's authorization.
|
|
|
138
138
|
|
|
139
139
|
### Check the CLI first
|
|
140
140
|
|
|
141
|
-
This Skill ships with Context 0.7.
|
|
141
|
+
This Skill ships with Context 0.7.99.
|
|
142
142
|
|
|
143
143
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
144
144
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -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.99"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
{
|
|
194
194
|
"id": "context.sdk.lark-resources",
|
|
195
195
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
196
|
-
"digest": "sha256:
|
|
196
|
+
"digest": "sha256:495f7eebf73ffdf8fdfa8cd8619e3029f5c65b3ead1fff15be8e14d0fd4a2bd2"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
"id": "context.sdk.package-outputs",
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
{
|
|
304
304
|
"id": "procedure.document-capture",
|
|
305
305
|
"path": "resources/procedures/document-capture.md",
|
|
306
|
-
"digest": "sha256:
|
|
306
|
+
"digest": "sha256:fcb68eccaa5c7307cafbaa42348a618b9c741aecc96cd1b6f430a446fc9b8b70"
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"id": "procedure.document-code-investigation",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
{
|
|
329
329
|
"id": "procedure.knowledge-updates",
|
|
330
330
|
"path": "resources/procedures/knowledge-updates.md",
|
|
331
|
-
"digest": "sha256:
|
|
331
|
+
"digest": "sha256:cea8c52aa3144586a3bc3a27d6d042b11046c1df7778e4f3a6ec297883eaf335"
|
|
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:bf773d3c10980aad74a8a54af2426ebdb1c438cfbf7a607e1f76a341c71ee716"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -658,11 +658,11 @@
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
661
|
-
"digest": "sha256:
|
|
661
|
+
"digest": "sha256:9d708ae727e4ae7be5427720ee1ba02d33fce8848d05a258ac1081ce62fa8407"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
665
|
-
"digest": "sha256:
|
|
665
|
+
"digest": "sha256:495f7eebf73ffdf8fdfa8cd8619e3029f5c65b3ead1fff15be8e14d0fd4a2bd2"
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
668
|
"path": "resources/manuals/guides/markdown-indexer-skill-authoring.md",
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
736
|
"path": "resources/procedures/document-capture.md",
|
|
737
|
-
"digest": "sha256:
|
|
737
|
+
"digest": "sha256:fcb68eccaa5c7307cafbaa42348a618b9c741aecc96cd1b6f430a446fc9b8b70"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
"path": "resources/procedures/document-code-investigation.md",
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"path": "resources/procedures/knowledge-updates.md",
|
|
757
|
-
"digest": "sha256:
|
|
757
|
+
"digest": "sha256:cea8c52aa3144586a3bc3a27d6d042b11046c1df7778e4f3a6ec297883eaf335"
|
|
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:d711c04544bcf629397905d1c78a4da4c956cc0cbba8d8fef2df4e2d7f5dde6d"
|
|
925
925
|
}
|
|
@@ -618,7 +618,13 @@ restoring an absent file. Include changed sources/configuration/processed scopes
|
|
|
618
618
|
when they belong to the rollback. Leave unrelated and pre-existing edits alone.
|
|
619
619
|
An empty list only discards unfinished work and must not be described as undoing
|
|
620
620
|
already delivered pages. The preview shows actual before/after contents and
|
|
621
|
-
draft loss
|
|
621
|
+
draft loss, including the open production stage: `production.effect` is
|
|
622
|
+
`discard-whole-task` (cleanup deletes the stage, its unfinished tasks and every
|
|
623
|
+
unsubmitted file in its working directory) or `keep` (only a page revision that
|
|
624
|
+
interrupted production is rolled back; production resumes unchanged).
|
|
625
|
+
`discarded_revision_delivery` lists pages of a requested partial delivery that
|
|
626
|
+
the rollback cancels. A production stage prepared after the rollback was applied
|
|
627
|
+
is not part of it and is kept. State this to the user. Once the user approves that exact scope, run the preview's apply
|
|
622
628
|
command with its plan digest. Then follow the rollback Route through close,
|
|
623
629
|
build and cleanup. A failed build retries delivery, not the already-applied
|
|
624
630
|
reversions. Begin the independent task only after cleanup succeeds.
|
|
@@ -270,6 +270,8 @@ tokens in generated pages or claim that excluded images have been interpreted.
|
|
|
270
270
|
The selected document identity remains fixed for resource reads. In Bot mode,
|
|
271
271
|
only an authorization failure while reading the body can restart the article
|
|
272
272
|
as the current user. Resource failures never trigger that identity fallback.
|
|
273
|
+
The capture report records the identity and the reason for a fallback, and
|
|
274
|
+
`context status` keeps showing it until the document is captured again.
|
|
273
275
|
Images may use the official same-identity preview endpoint after download
|
|
274
276
|
permission is denied. Previews are marked explicitly; unavailable resources
|
|
275
277
|
retain references and diagnostics. Use available body evidence without inferring
|
|
@@ -72,7 +72,13 @@ The fallback restarts the entire body, including pagination; never combine body
|
|
|
72
72
|
pages from different identities. Once the body is available, its identity is
|
|
73
73
|
fixed for all media, synced references, Sheets, Base and whiteboard reads.
|
|
74
74
|
Resource failures do not request user authorization or restart the article.
|
|
75
|
-
Network, rate-limit and format errors do not switch identity.
|
|
75
|
+
Network, rate-limit and format errors do not switch identity. When a capture
|
|
76
|
+
result or `context status` reports `lark.capture.identity-fallback`, tell the
|
|
77
|
+
user which documents were read as them, the risk (content only they can see is
|
|
78
|
+
now in the snapshot; later bot captures may not read it) and the remedy (ask the
|
|
79
|
+
document's owner to share it with the bot). When a capture is deferred
|
|
80
|
+
(`document.acquisition-unavailable`), relay the warning's `next` instead of
|
|
81
|
+
retrying on your own.
|
|
76
82
|
|
|
77
83
|
An image download denied by permissions may use the official preview endpoint
|
|
78
84
|
once with the same identity. A captured preview is explicitly marked as such.
|
|
@@ -618,7 +618,13 @@ restoring an absent file. Include changed sources/configuration/processed scopes
|
|
|
618
618
|
when they belong to the rollback. Leave unrelated and pre-existing edits alone.
|
|
619
619
|
An empty list only discards unfinished work and must not be described as undoing
|
|
620
620
|
already delivered pages. The preview shows actual before/after contents and
|
|
621
|
-
draft loss
|
|
621
|
+
draft loss, including the open production stage: `production.effect` is
|
|
622
|
+
`discard-whole-task` (cleanup deletes the stage, its unfinished tasks and every
|
|
623
|
+
unsubmitted file in its working directory) or `keep` (only a page revision that
|
|
624
|
+
interrupted production is rolled back; production resumes unchanged).
|
|
625
|
+
`discarded_revision_delivery` lists pages of a requested partial delivery that
|
|
626
|
+
the rollback cancels. A production stage prepared after the rollback was applied
|
|
627
|
+
is not part of it and is kept. State this to the user. Once the user approves that exact scope, run the preview's apply
|
|
622
628
|
command with its plan digest. Then follow the rollback Route through close,
|
|
623
629
|
build and cleanup. A failed build retries delivery, not the already-applied
|
|
624
630
|
reversions. Begin the independent task only after cleanup succeeds.
|