@c4a/context-cli 0.7.104 → 0.7.105

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "protocol": "context.indexer.cli-release-manifest/v1",
3
3
  "package": "@c4a/context-cli",
4
- "version": "0.7.104",
4
+ "version": "0.7.105",
5
5
  "issuer": "context4ai/context",
6
6
  "bundles": [
7
7
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4a/context-cli",
3
- "version": "0.7.104",
3
+ "version": "0.7.105",
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.104",
28
- "@c4a/extract": "0.7.104",
29
- "@c4a/extract-contract": "0.7.104",
30
- "@c4a/extract-go": "0.7.104",
31
- "@c4a/extract-mdx": "0.7.104",
32
- "@c4a/extract-proto": "0.7.104",
33
- "@c4a/extract-rush": "0.7.104",
34
- "@c4a/extract-sql": "0.7.104",
35
- "@c4a/extract-style": "0.7.104",
36
- "@c4a/extract-thrift": "0.7.104",
37
- "@c4a/extract-ts": "0.7.104",
27
+ "@c4a/context": "0.7.105",
28
+ "@c4a/extract": "0.7.105",
29
+ "@c4a/extract-contract": "0.7.105",
30
+ "@c4a/extract-go": "0.7.105",
31
+ "@c4a/extract-mdx": "0.7.105",
32
+ "@c4a/extract-proto": "0.7.105",
33
+ "@c4a/extract-rush": "0.7.105",
34
+ "@c4a/extract-sql": "0.7.105",
35
+ "@c4a/extract-style": "0.7.105",
36
+ "@c4a/extract-thrift": "0.7.105",
37
+ "@c4a/extract-ts": "0.7.105",
38
38
  "@mermaid-js/layout-elk": "0.2.0",
39
39
  "commander": "^11.0.0",
40
40
  "d3-force": "3.0.0",
@@ -20173,7 +20173,7 @@ var getSourceType = (sourceDefinition) => {
20173
20173
  }), captureLark = (definition) => {
20174
20174
  const sourceDefinition = bindSourceType(definition.source, "lark", "captureLark source");
20175
20175
  const sourceId = getSourceName(sourceDefinition);
20176
- for (const key of ["images", "gifs"]) {
20176
+ for (const key of ["images", "gifs", "files", "whiteboards"]) {
20177
20177
  const value = definition.resources?.[key];
20178
20178
  if (value !== undefined && value !== "bundle" && value !== "reference-only") {
20179
20179
  throw new TypeError(`captureLark resources.${key} must be bundle or reference-only`);
@@ -20199,6 +20199,8 @@ var getSourceType = (sourceDefinition) => {
20199
20199
  resources: {
20200
20200
  ...definition.resources?.images === undefined ? {} : { images: definition.resources.images },
20201
20201
  ...definition.resources?.gifs === undefined ? {} : { gifs: definition.resources.gifs },
20202
+ ...definition.resources?.files === undefined ? {} : { files: definition.resources.files },
20203
+ ...definition.resources?.whiteboards === undefined ? {} : { whiteboards: definition.resources.whiteboards },
20202
20204
  videos: definition.resources?.videos ?? "reference-only",
20203
20205
  maxBytesPerResource,
20204
20206
  maxTotalBytes
package/plugins/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.104
1
+ 0.7.105
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
4
- "version": "0.7.104",
4
+ "version": "0.7.105",
5
5
  "author": {
6
6
  "name": "c4a"
7
7
  },
@@ -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.104.
145
+ This Skill ships with Context 0.7.105.
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](../resources/context/version-alignment.md):
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c4a",
3
- "version": "0.7.104",
3
+ "version": "0.7.105",
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.104",
13
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.105",
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",
@@ -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.104.
143
+ This Skill ships with Context 0.7.105.
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](references/version-alignment.md):
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "displayName": "C4A Context",
4
- "version": "0.7.104",
4
+ "version": "0.7.105",
5
5
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
6
6
  "author": {
7
7
  "name": "Context4AI",
@@ -137,7 +137,7 @@ without the user's authorization.
137
137
 
138
138
  ### Check the CLI first
139
139
 
140
- This Skill ships with Context 0.7.104.
140
+ This Skill ships with Context 0.7.105.
141
141
 
142
142
  When entering production in a workspace, align the CLI, this Skill and the
143
143
  workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
@@ -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.104.
143
+ This Skill ships with Context 0.7.105.
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](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.104"
5
+ "version": "0.7.105"
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:495f7eebf73ffdf8fdfa8cd8619e3029f5c65b3ead1fff15be8e14d0fd4a2bd2"
196
+ "digest": "sha256:a030f3060e8605fc1bb386f607384c50b166cbfdb5e28f1240449282ebb2d546"
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:5d18217e1447fbec427e4a70c03a950d233386782513f831e25d3407fef0a0bb"
306
+ "digest": "sha256:7a6665ea4fb15b43233b88dbc390c133e4dafdaee509a0946f950f7c2ea128a9"
307
307
  },
308
308
  {
309
309
  "id": "procedure.document-code-investigation",
@@ -598,7 +598,7 @@
598
598
  },
599
599
  {
600
600
  "path": "provider.yaml",
601
- "digest": "sha256:9268f5aadf52206b37f47dc4be1c7cb1c241a9f7c8e0459de674dc45ebe384c4"
601
+ "digest": "sha256:95d1794678fc51e0830b07d6a1cef3888766b6bc3e41bcfd9244a088d97108b2"
602
602
  },
603
603
  {
604
604
  "path": "resources/contracts/indexer-provider-guide.yaml",
@@ -662,7 +662,7 @@
662
662
  },
663
663
  {
664
664
  "path": "resources/manuals/guides/lark-resources.md",
665
- "digest": "sha256:495f7eebf73ffdf8fdfa8cd8619e3029f5c65b3ead1fff15be8e14d0fd4a2bd2"
665
+ "digest": "sha256:a030f3060e8605fc1bb386f607384c50b166cbfdb5e28f1240449282ebb2d546"
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:5d18217e1447fbec427e4a70c03a950d233386782513f831e25d3407fef0a0bb"
737
+ "digest": "sha256:7a6665ea4fb15b43233b88dbc390c133e4dafdaee509a0946f950f7c2ea128a9"
738
738
  },
739
739
  {
740
740
  "path": "resources/procedures/document-code-investigation.md",
@@ -921,5 +921,5 @@
921
921
  "indexer": [],
922
922
  "workspace": []
923
923
  },
924
- "digest": "sha256:09b7b36bf5d35fa262bc77d4c050cad5a5d244ab77a53cc1e2703c7f652249ca"
924
+ "digest": "sha256:0d0ca2b076dcb6791fca32c0df90bbe96e856380a7de42e32d84de16dddb6990"
925
925
  }
@@ -1,6 +1,6 @@
1
1
  schema: agent-graph.provider.v1
2
2
  id: c4a/context
3
- version: 0.7.104
3
+ version: 0.7.105
4
4
  name: Context workflow
5
5
  description: Internal work contract for Context knowledge workspaces.
6
6
  graphs:
@@ -247,13 +247,33 @@ To retain static images but exclude GIF files:
247
247
  captureLark({ source: handbook, resources: { gifs: "reference-only" } });
248
248
  ```
249
249
 
250
- Both fields also accept `bundle`; omitted fields retain normal capture behavior.
250
+ To keep file attachments or whiteboards (including diagrams that are not inline
251
+ Markdown) as references when the user explicitly asks not to download them:
252
+
253
+ ```ts
254
+ captureLark({ source: handbook, resources: { files: "reference-only", whiteboards: "reference-only" } });
255
+ ```
256
+
257
+ These fields also accept `bundle`; omitted fields retain normal capture behavior.
258
+ Sheets and Base tables are document content and have no such setting.
251
259
  Known GIF metadata avoids downloading; when a source only supplies an opaque
252
260
  media token, identification may require downloading the file. Such a GIF is then
253
261
  excluded from the snapshot assets and knowledge, rather than decoded or retained.
254
262
  Existing evidence is not deleted by changing a policy. Already approved image
255
263
  references must be revised through the normal Review flow to change their content.
256
264
 
265
+ Capture retries a resource by itself after a timeout, a gateway error (502, 503,
266
+ 504) or a dropped connection, up to three times, without stopping the other
267
+ resources. Throttling still pauses every request of the capture. When required
268
+ resources still fail, the snapshot is saved with the failure report; the retry
269
+ returned by the Route keeps the images and files already saved for the same
270
+ revision and identity, downloads only the missing ones and then completes the
271
+ snapshot. Whiteboards, Sheets, Base tables and synced blocks are read again.
272
+ Images the earlier capture skipped for exceeding the byte budget stay skipped
273
+ unless `maxBytesPerResource` or `maxTotalBytes` has been raised since.
274
+ Changing a policy to `reference-only` for a type that was captured before is
275
+ saved with placeholders and listed as a degraded resource; it is not refused.
276
+
257
277
  Inclusion does not mean lossless original-byte delivery. The package optimizer
258
278
  preserves animations without decoding every frame or silently flattening them.
259
279
  Codec failures and images that cannot fit delivery budgets become visible output
@@ -168,6 +168,14 @@ Other resource types retain their existing policies. Do not edit snapshots or
168
168
  invent unsupported flags; when a capture adapter cannot exclude images, explain
169
169
  that limitation and resolve the acquisition method before downloading.
170
170
 
171
+ Capture retries timed-out or gateway-failed resources by itself. When a capture
172
+ still reports required resources that could not be materialized, run the retry
173
+ the Route returns: it keeps the images and files already saved for the same
174
+ revision and downloads only the missing ones. If resources still fail, tell the
175
+ user which kinds failed and ask whether to keep them as references; only after
176
+ an explicit choice set `resources.images`, `resources.files` or
177
+ `resources.whiteboards` to `reference-only` for that source and capture again.
178
+
171
179
  Preserve source links/placeholders and report skipped images as not acquired or
172
180
  interpreted. This is a workflow instruction using existing resource policies, not
173
181
  a new CLI hard gate or automatic document counter. For tasks that still include