@c4a/context-cli 0.7.83 → 0.7.84

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.83",
4
+ "version": "0.7.84",
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.83",
3
+ "version": "0.7.84",
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.83",
28
- "@c4a/extract": "0.7.83",
29
- "@c4a/extract-contract": "0.7.83",
30
- "@c4a/extract-go": "0.7.83",
31
- "@c4a/extract-mdx": "0.7.83",
32
- "@c4a/extract-proto": "0.7.83",
33
- "@c4a/extract-rush": "0.7.83",
34
- "@c4a/extract-sql": "0.7.83",
35
- "@c4a/extract-style": "0.7.83",
36
- "@c4a/extract-thrift": "0.7.83",
37
- "@c4a/extract-ts": "0.7.83",
27
+ "@c4a/context": "0.7.84",
28
+ "@c4a/extract": "0.7.84",
29
+ "@c4a/extract-contract": "0.7.84",
30
+ "@c4a/extract-go": "0.7.84",
31
+ "@c4a/extract-mdx": "0.7.84",
32
+ "@c4a/extract-proto": "0.7.84",
33
+ "@c4a/extract-rush": "0.7.84",
34
+ "@c4a/extract-sql": "0.7.84",
35
+ "@c4a/extract-style": "0.7.84",
36
+ "@c4a/extract-thrift": "0.7.84",
37
+ "@c4a/extract-ts": "0.7.84",
38
38
  "@mermaid-js/layout-elk": "0.2.0",
39
39
  "commander": "^11.0.0",
40
40
  "fast-xml-parser": "^5.10.1",
package/plugins/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.83
1
+ 0.7.84
@@ -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.83",
4
+ "version": "0.7.84",
5
5
  "author": {
6
6
  "name": "c4a"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c4a",
3
- "version": "0.7.83",
3
+ "version": "0.7.84",
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.83",
13
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.84",
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "displayName": "C4A Context",
4
- "version": "0.7.83",
4
+ "version": "0.7.84",
5
5
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
6
6
  "author": {
7
7
  "name": "Context4AI",
@@ -2,7 +2,7 @@
2
2
  "schema": "agent-graph.bundle.v1",
3
3
  "provider": {
4
4
  "id": "c4a/context",
5
- "version": "0.7.83"
5
+ "version": "0.7.84"
6
6
  },
7
7
  "providerManifest": "provider.yaml",
8
8
  "graphs": [
@@ -193,12 +193,12 @@
193
193
  {
194
194
  "id": "context.sdk.package-outputs",
195
195
  "path": "resources/manuals/guides/package-outputs.md",
196
- "digest": "sha256:72293f50a37e09fe14177bb940e12ada2515d71e7826c808ab7b9f7bf47bcce3"
196
+ "digest": "sha256:d9592cf181ad4d5d3c776aed112e85ceaf90f21435d25f860a2360752f322ac4"
197
197
  },
198
198
  {
199
199
  "id": "context.sdk.package-templates",
200
200
  "path": "resources/manuals/reference/package-templates.md",
201
- "digest": "sha256:f3a7fcc0166a6af15da550edb7937c7630bd2fb2372ca2ccd430b7cd6e56a3a9"
201
+ "digest": "sha256:7ae62a76e17b016cf6382a5dd41eea6fcf2e561dcd787eefbb62de241e6ac90a"
202
202
  },
203
203
  {
204
204
  "id": "context.sdk.page-customization",
@@ -273,7 +273,7 @@
273
273
  {
274
274
  "id": "dialogue.package-output",
275
275
  "path": "resources/dialogue/package-output.md",
276
- "digest": "sha256:9fc871e50af37a4113964185ce390eda4952b02cad8abfd9c206bf408ce0e532"
276
+ "digest": "sha256:e0d5c02bf18379f455087c7c46c1e35c4fde89d8f55a0c5024e88b8b9469dbcb"
277
277
  },
278
278
  {
279
279
  "id": "dialogue.source-boundary",
@@ -589,7 +589,7 @@
589
589
  },
590
590
  {
591
591
  "path": "provider.yaml",
592
- "digest": "sha256:f2b9f9ccd887f896afd61bf6fbfc7e7e25c61b530ec15445a5284647b229924d"
592
+ "digest": "sha256:74e76d6b7812b11bfbf8bd3d9f13d7ef1711726e463b3d0e9cb5e35c2b324ad2"
593
593
  },
594
594
  {
595
595
  "path": "resources/contracts/indexer-provider-guide.yaml",
@@ -625,7 +625,7 @@
625
625
  },
626
626
  {
627
627
  "path": "resources/dialogue/package-output.md",
628
- "digest": "sha256:9fc871e50af37a4113964185ce390eda4952b02cad8abfd9c206bf408ce0e532"
628
+ "digest": "sha256:e0d5c02bf18379f455087c7c46c1e35c4fde89d8f55a0c5024e88b8b9469dbcb"
629
629
  },
630
630
  {
631
631
  "path": "resources/dialogue/source-boundary.md",
@@ -665,7 +665,7 @@
665
665
  },
666
666
  {
667
667
  "path": "resources/manuals/guides/package-outputs.md",
668
- "digest": "sha256:72293f50a37e09fe14177bb940e12ada2515d71e7826c808ab7b9f7bf47bcce3"
668
+ "digest": "sha256:d9592cf181ad4d5d3c776aed112e85ceaf90f21435d25f860a2360752f322ac4"
669
669
  },
670
670
  {
671
671
  "path": "resources/manuals/guides/page-customization.md",
@@ -705,7 +705,7 @@
705
705
  },
706
706
  {
707
707
  "path": "resources/manuals/reference/package-templates.md",
708
- "digest": "sha256:f3a7fcc0166a6af15da550edb7937c7630bd2fb2372ca2ccd430b7cd6e56a3a9"
708
+ "digest": "sha256:7ae62a76e17b016cf6382a5dd41eea6fcf2e561dcd787eefbb62de241e6ac90a"
709
709
  },
710
710
  {
711
711
  "path": "resources/manuals/reference/project-api.md",
@@ -912,5 +912,5 @@
912
912
  "indexer": [],
913
913
  "workspace": []
914
914
  },
915
- "digest": "sha256:65f0052f5ba1ed696949ac229dbde41f5510d3661d977f5629fd60f894c7f6f9"
915
+ "digest": "sha256:7868fb35f8cb5c901103659cb6d59a37dab0aad3a1912fe69a1a2193f1417248"
916
916
  }
@@ -1,6 +1,6 @@
1
1
  schema: agent-graph.provider.v1
2
2
  id: c4a/context
3
- version: 0.7.83
3
+ version: 0.7.84
4
4
  name: Context workflow
5
5
  description: Internal work contract for Context knowledge workspaces.
6
6
  graphs:
@@ -8,7 +8,7 @@ mediaType: text/markdown
8
8
 
9
9
  Explain output shapes before SDK factory names. Offer:
10
10
 
11
- - an Agent knowledge-base package with `AGENTS.md`, a knowledge-query Skill,
11
+ - an Agent knowledge-base package with `AGENTS.md`, the shared context-knowledge-query Skill,
12
12
  approved OKF roots, and adaptive indexes;
13
13
  - a searchable documentation website with the approved knowledge map, source cards and local-time update timestamps;
14
14
  - one LLM text bundle for model context or RAG import.
@@ -207,8 +207,9 @@ Typical output:
207
207
  dist/<package-name>/
208
208
  ├── AGENTS.md
209
209
  ├── skills/
210
- │ └── knowledge-query/
210
+ │ └── context-knowledge-query/
211
211
  │ └── SKILL.md
212
+ ├── others/context/search-guide.md
212
213
  └── wikis/
213
214
  ├── index.md
214
215
  └── ...
@@ -238,7 +239,7 @@ The package name already identifies the surrounding build folder, so the
238
239
  output does not repeat it inside each root:
239
240
 
240
241
  ```text
241
- skills/knowledge-query/SKILL.md
242
+ skills/context-knowledge-query/SKILL.md
242
243
  wikis/index.md
243
244
  guides/...
244
245
  rules/...
@@ -255,8 +256,14 @@ final template directory name directly—for
255
256
  example `skills/android-query/SKILL.md`. Package-root layout never renames a
256
257
  Skill.
257
258
 
258
- The default `knowledge-query` Skill is a complete generic query entry. It
259
- carries the structure-first query discipline: start from OKF directory indexes, use
259
+ The default `context-knowledge-query` Skill is a complete generic query entry,
260
+ identical in every Context package. It declares `metadata.shared: "true"` and
261
+ its Context version, so a package manager that supports shared Skills can
262
+ install one copy for all Context packages in a project, and that copy searches
263
+ every package it can find: the surrounding package, `--root`, packages under
264
+ `--base`, directories in `CONTEXT_KNOWLEDGE_PACKAGES`, and packages recorded by
265
+ the host's package manager when the distribution supports one. It carries the
266
+ structure-first query discipline: start from OKF directory indexes, use
260
267
  `context-build-inventory.json` edge records for package-visible relationships,
261
268
  read candidate pages, cite their visible headings and relevant passages, and
262
269
  report gaps when the package does not cover a requested fact. Consumer pages
@@ -269,10 +276,21 @@ scope, or a candidate page is too large to read directly, its bundled
269
276
  bounded Markdown chunks. Search results are leads; page bodies and typed edge
270
277
  records establish what the package actually says. Package authors edit the source
271
278
  template when project-specific terminology, entry points or task workflows are
272
- needed. Authoring instructions should be template comments or separate guidance,
273
- not a final section addressed to authors in the delivered query Skill. The
274
- current template-review Route can accept an intentionally sufficient generic
275
- default under its applicable authority.
279
+ needed: put terms, synonyms, common questions and preferred entry pages in
280
+ `others/context/search-guide.md`, which the Skill reads first, and keep the
281
+ shared Skill unchanged. Editing the Skill makes it package-specific; rename its
282
+ directory and `name` so it installs separately. When a page's text does not
283
+ settle a question, the Skill follows the page's `Sources` entries: repository
284
+ links are read at their recorded commit through authorized host tools, document
285
+ links open the current document, and entries without links stay unreachable
286
+ from the package. The current template-review Route can accept an intentionally
287
+ sufficient generic default under its applicable authority.
288
+
289
+ Workspaces created before the rename keep `skills/knowledge-query/` in their
290
+ template. `context build` replaces it with `context-knowledge-query` in the old
291
+ Skill's language, adds `others/context/search-guide.md` when it is missing, and
292
+ reports the replacement as an agent hint. Move any package-specific wording the
293
+ old Skill carried into the search guide.
276
294
 
277
295
  When approved pages reference materialized resources, Context keeps their
278
296
  production copies in content-addressed `knowledge/assets/` paths and bundles
@@ -135,7 +135,7 @@ that name inside the package's knowledge roots.
135
135
  Templates keep a logical, consumer-neutral layout:
136
136
 
137
137
  ```text
138
- skills/knowledge-query/SKILL.md
138
+ skills/context-knowledge-query/SKILL.md
139
139
  wikis/index.md
140
140
  guides/...
141
141
  rules/...
@@ -145,7 +145,7 @@ feats/...
145
145
  For `name: "component-lib-kb"`, `context build` writes:
146
146
 
147
147
  ```text
148
- skills/knowledge-query/SKILL.md
148
+ skills/context-knowledge-query/SKILL.md
149
149
  wikis/index.md
150
150
  guides/...
151
151
  rules/...
@@ -219,8 +219,11 @@ src/package-templates/
219
219
  │ ├── AGENTS.md
220
220
  │ ├── wikis/
221
221
  │ │ └── index.md
222
+ │ ├── others/
223
+ │ │ └── context/
224
+ │ │ └── search-guide.md
222
225
  │ └── skills/
223
- │ └── knowledge-query/
226
+ │ └── context-knowledge-query/
224
227
  │ ├── SKILL.md
225
228
  │ └── scripts/
226
229
  │ └── search.mjs
@@ -237,16 +240,25 @@ rejects it.
237
240
 
238
241
  The default kb template includes:
239
242
 
240
- - `skills/knowledge-query/SKILL.md`, a reusable skill that teaches agents to
241
- navigate copied knowledge pages, cite relevant text and its exported source
242
- attribution, and report gaps instead of inventing unsupported answers. The
243
+ - `skills/context-knowledge-query/SKILL.md`, a reusable skill shared by every
244
+ Context package (`metadata.shared: "true"`, `metadata.version` set to the
245
+ Context version). It finds the Context packages available to the project,
246
+ navigates copied knowledge pages, cites relevant text and its exported source
247
+ attribution, follows repository sources at their recorded commit when the page
248
+ text is not enough, and reports gaps instead of inventing unsupported answers.
249
+ It uses no package-specific template values, so every package renders the same
250
+ file. The
243
251
  default entry OKF root is `wikis/`; packages that select additional internal
244
252
  collections expose
245
253
  `guides/`, `rules/`, or `feats/` indexes when those roots are selected.
246
- - `skills/knowledge-query/scripts/search.mjs`, a dependency-free BM25 fallback
247
- for exact terms, mixed keyword queries, and large Markdown indexes. It chunks
248
- mechanically, returns inspectable paths and line ranges, and never replaces
249
- reading the relevant source-backed explanation.
254
+ - `skills/context-knowledge-query/scripts/search.mjs`, a dependency-free BM25
255
+ fallback for exact terms, mixed keyword queries, and large Markdown indexes.
256
+ `--list` shows the packages it found; without `--package` it ranks across all
257
+ of them. It chunks mechanically, returns package, path and line range, and
258
+ never replaces reading the relevant source-backed explanation.
259
+ - `others/context/search-guide.md`, the package's own search hints: terms,
260
+ synonyms, common questions and preferred entry pages. Edit this file, not the
261
+ shared Skill, to tune search for one package.
250
262
  - `wikis/index.md`, the editable OKF bundle entry page for the generated
251
263
  `dist/<package-name>/wikis/` directory.
252
264