Skip to content

Dev#118

Open
toughhou wants to merge 7 commits intonashsu:mainfrom
toughhou:dev
Open

Dev#118
toughhou wants to merge 7 commits intonashsu:mainfrom
toughhou:dev

Conversation

@toughhou
Copy link
Copy Markdown

@toughhou toughhou commented May 2, 2026

No description provided.

toughhou and others added 7 commits May 2, 2026 01:20
- 新增 SKILL.md(技能定义,10个命令:init/ingest/search/graph/insights/deep-research 等)
- 新增 HERMES.md(Hermes 入口骨架)
- 新增 install.sh(支持 --platform hermes/claude)
- 新增 skill/src/fs-node.ts(Tauri IPC → Node.js fs 完整替换层)
- 新增 skill/src/stores-node.ts(React stores → 模块状态替换)
- 新增 skill/src/cli.ts(CLI 入口,graph/insights/search/status 命令当前可用)
- 新增 skill/package.json + tsconfig.skill.json

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
MCP Server (mcp-server/):
- 5 MCP tools: wiki_status, wiki_search, wiki_graph, wiki_insights, wiki_lint
- Standalone Node.js package — no Tauri/GUI required
- Claude Desktop + VS Code Copilot chat compatible
- tsconfig path aliases replaced with explicit patched lib copies
- Degrades gracefully: BM25 search works without vector/LLM config

Skill CLI (skill/):
- Rebuilt as self-contained package (no path aliases, no Tauri deps)
- src/lib/: patched copies of graph-relevance, wiki-graph, graph-insights, search, path-utils
- src/shims/: fs-node.ts (Tauri IPC → Node.js fs), stores-node.ts, embedding-stub.ts
- src/types/wiki.ts: extracted FileNode/WikiProject types
- Commands: graph, insights, search, status, init, lint
- All commands tested and working

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Port llm-client.ts: OpenAI-compatible SSE streaming (native fetch)
- Port detect-language.ts: Unicode script-based language detection
- Port output-language.ts: LLM output language directive builder
- Port frontmatter.ts: js-yaml frontmatter parser
- Port sources-merge.ts: frontmatter array field union merging
- Port page-merge.ts: LLM-assisted wiki page merging
- Port ingest-sanitize.ts: LLM output sanitization
- Port ingest-cache.ts: SHA256 incremental ingest cache (Node.js crypto)
- Port project-mutex.ts: per-project async mutex
- Port web-search.ts: Tavily API web search wrapper
- Add skill/docs/skill-mcp-progress.md: project plan and progress doc

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
llm-wiki: complete Skill + MCP backend with real end-to-end validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants