@tastehub/ckb-linux-arm64 7.3.0 → 7.5.0
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/bin/README.md +66 -4
- package/bin/ckb +0 -0
- package/package.json +1 -1
package/bin/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# CKB — Code Knowledge Backend
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@tastehub/ckb)
|
|
4
|
+
[](https://codecov.io/gh/SimplyLiz/CodeMCP)
|
|
4
5
|
[](https://github.com/SimplyLiz/CodeMCP/wiki)
|
|
5
6
|
|
|
6
7
|
**The missing link between your codebase and AI assistants.**
|
|
@@ -149,8 +150,9 @@ Now Claude can answer questions like:
|
|
|
149
150
|
|
|
150
151
|
### Fast Indexing
|
|
151
152
|
- **Zero-Index Operation** — Tree-sitter fallback works without SCIP index
|
|
152
|
-
- **Incremental Updates** — O(changed files) instead of full reindex (Go)
|
|
153
|
+
- **Incremental Updates** — O(changed files) instead of full reindex (Go, TypeScript, Python, Dart, Rust)
|
|
153
154
|
- **Smart Caching** — Skip-if-fresh, watch mode, transitive invalidation
|
|
155
|
+
- **Auto Index Updates** — Watch mode, daemon file watcher, webhook API for CI/CD
|
|
154
156
|
|
|
155
157
|
### Remote Index Server
|
|
156
158
|
- **Index Serving** — Serve symbol indexes over HTTP for federation
|
|
@@ -161,9 +163,10 @@ Now Claude can answer questions like:
|
|
|
161
163
|
|
|
162
164
|
📋 **[Full Changelog](https://github.com/SimplyLiz/CodeMCP/blob/main/CHANGELOG.md)** — Detailed version history from v5.1 to current
|
|
163
165
|
|
|
164
|
-
### Zero-Friction UX (v7.0)
|
|
166
|
+
### Zero-Friction UX (v7.0+)
|
|
165
167
|
- **npm Distribution** — `npm install -g @tastehub/ckb` or `npx @tastehub/ckb`
|
|
166
168
|
- **Auto-Setup** — `ckb setup` configures Claude Code integration automatically
|
|
169
|
+
- **Update Notifications** — Automatic update check for npm installs (disable with `CKB_NO_UPDATE_CHECK=1`)
|
|
167
170
|
|
|
168
171
|
### Zero-Index Operation (v7.1)
|
|
169
172
|
- **Tree-sitter Fallback** — Symbol search works without SCIP index (8 languages)
|
|
@@ -188,6 +191,13 @@ Now Claude can answer questions like:
|
|
|
188
191
|
- **Rename Awareness** — Suggest new names when documented symbols are renamed
|
|
189
192
|
- **CI Enforcement** — `--fail-under` flag for documentation coverage thresholds
|
|
190
193
|
|
|
194
|
+
### Standardized Response Envelope (v7.4)
|
|
195
|
+
- **Unified Metadata** — All 76 MCP tool responses now include structured metadata
|
|
196
|
+
- **Confidence Tiers** — High/Medium/Low/Speculative tiers based on data freshness and source
|
|
197
|
+
- **Provenance Tracking** — Know which backends (SCIP, Git, LSP) contributed to results
|
|
198
|
+
- **Truncation Awareness** — Metadata shows when results are truncated and total counts
|
|
199
|
+
- **Suggested Next Calls** — Structured drilldown suggestions for follow-up queries
|
|
200
|
+
|
|
191
201
|
### Production Hardening (v7.3)
|
|
192
202
|
- **Delta Artifacts** — CI-generated diffs for O(delta) ingestion instead of O(N)
|
|
193
203
|
- **FTS5 Search** — SQLite FTS5 for instant search (replaces LIKE scans)
|
|
@@ -202,7 +212,24 @@ Now Claude can answer questions like:
|
|
|
202
212
|
- **Python Venv Detection** — Auto-detect virtual environments with activation recommendations
|
|
203
213
|
- **TypeScript Monorepo** — Detect pnpm, lerna, nx, yarn workspaces with per-package tsconfig status
|
|
204
214
|
|
|
205
|
-
|
|
215
|
+
### Auto Index Updates (v7.5)
|
|
216
|
+
- **Watch Mode** — `ckb index --watch` and `ckb mcp --watch --watch-interval 15s`
|
|
217
|
+
- **Daemon File Watcher** — Automatic incremental refresh on git changes
|
|
218
|
+
- **Webhook API** — `POST /api/v1/refresh` for CI/CD integration
|
|
219
|
+
- **Index Staleness** — `ckb status` and `getStatus` show commits behind, index age, staleness reasons
|
|
220
|
+
- **Token Efficiency Visibility** — Startup banner shows active tools, estimated tokens, preset savings (83% with core)
|
|
221
|
+
|
|
222
|
+
### Multi-Language Incremental (v7.5)
|
|
223
|
+
- **Expanded Support** — Go, TypeScript, Python, Dart, Rust (automatic indexer detection)
|
|
224
|
+
- **Graceful Degradation** — Install hints when indexer is missing
|
|
225
|
+
- **Unified API** — `IndexIncrementalWithLang(ctx, since, lang)` for all languages
|
|
226
|
+
|
|
227
|
+
### Performance Improvements (v7.5)
|
|
228
|
+
- **SCIP Backend** — Up to 2,500x faster: FindReferences (136x), SearchSymbols (7x), FindSymbolLocation (2,500x)
|
|
229
|
+
- **Git Backend** — 53x faster getHotspots (single git command vs 4 per file)
|
|
230
|
+
- **Pre-computed Indexes** — RefIndex, ConvertedSymbols cache, ContainerIndex for O(1) lookups
|
|
231
|
+
|
|
232
|
+
## MCP Tools (76 Available)
|
|
206
233
|
|
|
207
234
|
CKB exposes code intelligence through the Model Context Protocol:
|
|
208
235
|
|
|
@@ -598,6 +625,41 @@ Use `cmd /c` wrapper in any config above:
|
|
|
598
625
|
|
|
599
626
|
</details>
|
|
600
627
|
|
|
628
|
+
<details>
|
|
629
|
+
<summary><strong>Presets (Token Optimization)</strong></summary>
|
|
630
|
+
|
|
631
|
+
CKB exposes 76 tools, but most sessions only need a subset. Use presets to reduce token overhead by up to 83%:
|
|
632
|
+
|
|
633
|
+
```bash
|
|
634
|
+
# Default: core preset (14 essential tools)
|
|
635
|
+
ckb mcp
|
|
636
|
+
|
|
637
|
+
# Workflow-specific presets
|
|
638
|
+
ckb mcp --preset=core # 14 tools - search, explain, impact (default)
|
|
639
|
+
ckb mcp --preset=review # 19 tools - core + diff, ownership
|
|
640
|
+
ckb mcp --preset=refactor # 19 tools - core + coupling, dead code
|
|
641
|
+
ckb mcp --preset=federation # 28 tools - core + cross-repo
|
|
642
|
+
ckb mcp --preset=docs # 20 tools - core + doc-symbol linking
|
|
643
|
+
ckb mcp --preset=ops # 25 tools - core + jobs, webhooks, metrics
|
|
644
|
+
ckb mcp --preset=full # 76 tools - all tools (legacy)
|
|
645
|
+
```
|
|
646
|
+
|
|
647
|
+
In MCP config:
|
|
648
|
+
```json
|
|
649
|
+
{
|
|
650
|
+
"mcpServers": {
|
|
651
|
+
"ckb": {
|
|
652
|
+
"command": "npx",
|
|
653
|
+
"args": ["@tastehub/ckb", "mcp", "--preset=review"]
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
The AI can dynamically expand the toolset mid-session using the `expandToolset` tool.
|
|
660
|
+
|
|
661
|
+
</details>
|
|
662
|
+
|
|
601
663
|
## Under the Hood
|
|
602
664
|
|
|
603
665
|
CKB orchestrates multiple code intelligence backends:
|
|
@@ -634,7 +696,7 @@ See the **[Full Documentation Wiki](https://github.com/SimplyLiz/CodeMCP/wiki)**
|
|
|
634
696
|
- [Incremental Indexing](https://github.com/SimplyLiz/CodeMCP/wiki/Incremental-Indexing) — Fast index updates for Go projects
|
|
635
697
|
- [Doc-Symbol Linking](https://github.com/SimplyLiz/CodeMCP/wiki/Doc-Symbol-Linking) — Symbol detection in docs, staleness checking
|
|
636
698
|
- [Authentication](https://github.com/SimplyLiz/CodeMCP/wiki/Authentication) — API tokens, scopes, rate limiting
|
|
637
|
-
- [MCP Integration](https://github.com/SimplyLiz/CodeMCP/wiki/MCP-Integration) — Claude Code setup,
|
|
699
|
+
- [MCP Integration](https://github.com/SimplyLiz/CodeMCP/wiki/MCP-Integration) — Claude Code setup, 76 tools
|
|
638
700
|
- [API Reference](https://github.com/SimplyLiz/CodeMCP/wiki/API-Reference) — HTTP API documentation
|
|
639
701
|
- [Daemon Mode](https://github.com/SimplyLiz/CodeMCP/wiki/Daemon-Mode) — Always-on service with scheduler, webhooks
|
|
640
702
|
- [Configuration](https://github.com/SimplyLiz/CodeMCP/wiki/Configuration) — All options including MODULES.toml
|
package/bin/ckb
CHANGED
|
Binary file
|