nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:QuaonY/dsh-mem-weave
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 · English
v1.0.2 · MIT · Node ≥ 22.13 · a memory and persona plugin for DeepSeek Harness
MemWeave is what gives DSH a memory. Install it once, and the AI remembers who you are, what you are working on, the mistakes it has made, and the promises it made to you. A new session no longer starts from zero.
Ranking changes; nothing is deleted.
FTS5 prefilter → keyword (BM25) + semantic + link expansion → RRF fusion
→ time decay (with floor) → diversity → rumination damping → top-k
Every hit carries its reason and decay factor, visible in the UI. The semantic route needs vector search enabled (recall.vector.enabled) plus an embedding service; without one, recall stays keyword-only. On startup MemWeave only probes Ollama / LM Studio on local 127.0.0.1, which MEMWEAVE_EMBEDDING_DISCOVERY=0 disables entirely. Vector backends are layered as sqlite-vec → vectra → builtin, and any failure falls back to keyword recall instead of breaking retrieval.
DSH is required. You do not need a separate Node.js — DSH brings its own (Node ≥ 22.13).
dsh plugin --profile desktop add https://github.com/QuaonY/dsh-mem-weave/releases/download/v1.0.2/dsh-mem-weave-1.0.2.tgz
--profile is the profile you use — usually desktop for the desktop app, web for the web app. If you already downloaded the tgz, pass the path instead:
dsh plugin --profile desktop add file:<full path to the tgz>
Restart DSH afterwards; the default configuration works out of the box. To uninstall, replace add with remove dsh-mem-weave.
The repository is also mirrored on CNB: https://cnb.cool/QuaonY/dsh-mem-weave.
The memory database lives at $DSH_HOME/memweave/memweave.db by default and can be moved via Backup → Storage location in the UI.
/weave status | reload | preset <id> | strict on|off | dream, costing no tokens.$DSH_HOME/config.json; every key has a safe default.UI walkthrough, the full key table, environment variables, tool details and FAQ: docs/USAGE.md. Layers and injection internals: docs/ARCHITECTURE.md.
agent and get E_PERM when they overreach.Details and known limits: docs/PRIVACY.md.
pnpm install
pnpm build # build lib/ (includes lib/native and lib/vendor)
pnpm typecheck
pnpm test:coverage # tests with the coverage gate
pnpm test:scale # scale benchmark (1k / 10k, needs local datasets)
pnpm conformance # factory-state zero-injection self-check
pnpm bench:guard # retrieval guardrails (needs local datasets)
pnpm weave status # command-line operations
npm pack # build a local tgz
| Directory | Contents |
|---|---|
src/core |
Rendering, tokenization, scoring, calendar |
src/store |
Database, write governance, retrieval, consolidation, backup |
src/host |
Plugin entry, service, AI tools |
src/client |
UI |
src/privacy |
Sensitive detection and redaction |
src/presets |
Built-in personas |
test / bench |
Tests and recall benchmarks |
Bundled dependency versions are pinned in scripts/vendor-pins.mjs. Releases run through .github/workflows/release.yml, and the tag must match the package.json version.
| Document | Contents |
|---|---|
| docs/USAGE.md | Install, full config table, env vars, UI, tools, CLI, FAQ |
| docs/ARCHITECTURE.md | Layers, three-section injection, recall pipeline, write governance, data layout |
| docs/PRIVACY.md | Sensitive data handling, permission boundary, encrypted backup, known limits |
| CHANGELOG.md | Release notes (current version only) |
| THIRD_PARTY_NOTICES.md | Third-party components and licenses |
MIT © 2026 Quaon
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: persona。