codebase-wiki 0.1.0 → 0.2.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/CHANGELOG.md +18 -0
- package/dist/codewiki.mjs +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 03a4d29: Initial v0.1.0 release of `code-wiki`.
|
|
8
|
+
|
|
9
|
+
- M1: scaffold + walker + minimal render.
|
|
10
|
+
- M2: tree-sitter extraction for TS/JS/TSX/JSX.
|
|
11
|
+
- M3: 7 more language extractors (Python / Go / Rust / Java / C / C++ / Ruby).
|
|
12
|
+
- M4: graph extraction — imports + dependents; usable by `wiki_callers` / `wiki_callees` MCP tools.
|
|
13
|
+
- M5: MCP resource pagination, smarter auto-nudge hooks (config-driven, freshness-aware).
|
|
14
|
+
- M6: incremental refresh — `codewiki refresh` uses git diff; `codewiki watch` runs chokidar.
|
|
15
|
+
- M7: optional LLM enrichment — file-level Haiku + module-level Sonnet, content-hash cached.
|
|
16
|
+
- M8: Mermaid diagrams in architecture.md and module pages.
|
|
17
|
+
|
|
3
18
|
## [Unreleased]
|
|
4
19
|
|
|
5
20
|
### Fixed
|
|
21
|
+
|
|
6
22
|
- Slash commands now invoke `${CLAUDE_PLUGIN_ROOT}/dist/codewiki.mjs` directly
|
|
7
23
|
instead of relying on a globally-installed `codewiki` binary. Plugin is fully
|
|
8
24
|
self-contained.
|
|
@@ -18,11 +34,13 @@
|
|
|
18
34
|
similar packages had escaped inlining under the old config).
|
|
19
35
|
|
|
20
36
|
### Pending
|
|
37
|
+
|
|
21
38
|
- v0.1.0 tag — all 9 milestones + install fix ready.
|
|
22
39
|
|
|
23
40
|
## v0.1.0 (in progress, target tag)
|
|
24
41
|
|
|
25
42
|
### Added
|
|
43
|
+
|
|
26
44
|
- M1: scaffolding, walker, minimal render, hooks, MCP server stub.
|
|
27
45
|
- M2: tree-sitter extraction (TS / JS / TSX / JSX).
|
|
28
46
|
- M3: 7 more language extractors (Python / Go / Rust / Java / C / C++ / Ruby).
|
package/dist/codewiki.mjs
CHANGED
|
@@ -1935,11 +1935,12 @@ async function main() {
|
|
|
1935
1935
|
const cfg = await loadConfig(cwd);
|
|
1936
1936
|
const wikiBase = path__default.join(cwd, cfg.outDir);
|
|
1937
1937
|
const rel = String(pathOrSymbol).replace(/^\.\//, "");
|
|
1938
|
+
const symbolPath = rel.includes("::") ? rel.replace(/::/g, "/") + ".md" : null;
|
|
1938
1939
|
const candidates = [
|
|
1939
1940
|
path__default.join(wikiBase, rel.endsWith(".md") ? rel : `${rel}.md`),
|
|
1940
1941
|
path__default.join(wikiBase, "files", `${rel}.md`),
|
|
1941
1942
|
path__default.join(wikiBase, "modules", `${rel}.md`),
|
|
1942
|
-
path__default.join(wikiBase, "symbols",
|
|
1943
|
+
...symbolPath ? [path__default.join(wikiBase, "symbols", symbolPath)] : []
|
|
1943
1944
|
];
|
|
1944
1945
|
for (const c of candidates) {
|
|
1945
1946
|
if (await exists(c)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebase-wiki",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Token-efficient code wiki for Claude Code. Generates a browsable .codewiki/ index so models read summaries on-demand.",
|
|
5
5
|
"homepage": "https://github.com/harrycjs/code-wiki",
|
|
6
6
|
"repository": {
|