{ "name": "dsh-anagenesis", "version": "0.4.1", "description": "给 Agent 一套它自己管得住、你也看得见的记忆:20 个语义工具、7 种意图召回、可切换策略栈、项目隔离、预设即权限、事件溯源与可回滚、离线检索基准;零运行时依赖、离线、单文件 JSONL,并自带设施仪表盘与终端可视化。", "keywords": [ "dsh", "deepseek-harness", "dsh-plugin", "cordis-plugin", "memory", "agent-memory", "local-first", "anagenesis" ], "type": "module", "main": "src/index.js", "exports": { ".": "./src/index.js", "./core": "./src/index.js", "./paths": "./src/paths.js", "./tools": "./src/tools/index.js", "./tools-gated": "./src/tools/gated.js", "./tools-definitions": "./src/tools/definitions.js", "./guard": "./src/guard/index.js", "./preset": "./src/preset/index.js", "./preset-bind": "./src/preset/bind.js", "./scope": "./src/scope/index.js", "./scope-project": "./src/scope/project.js", "./permission": "./src/permission/registry.js", "./permission-tiers": "./src/permission/tiers.js", "./viz": "./src/viz/index.js", "./viz/model": "./src/viz/model.js", "./viz/tui": "./src/viz/tui.js", "./viz/diagram": "./src/viz/diagram.js", "./viz/facility": "./src/viz/facility.js", "./viz/redact": "./src/viz/redact.js", "./viz/mirror": "./src/viz/mirror.js", "./window": "./window/src/index.js", "./client": "./window/client.js", "./package.json": "./package.json" }, "files": [ "src", "bench", "window/src", "window/client.js", "window/client.d.ts", "window/tools", "window/README.md", "window/README.en.md", "tools/viz-watch.mjs", "tools/migrate-store.mjs", "tools/scope-report.mjs", "tools/preflight-publish.mjs", "cordis.patch.yml", "README.md", "README.en.md", "LICENSE", "CHANGELOG.md" ], "dsh": { "manifestVersion": 1, "plugin": true, "kind": "server", "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web" } }, "disclosure": { "cloud": false, "network": [ "registry.npmjs.org (HTTPS GET only, and only when the core row sets updateCheck = npm — the shipped bundle does; set it to `off` for a fully offline install). It reads https://registry.npmjs.org/dsh-anagenesis/latest, compares that version with its own package.json version and shows the result in the window/dashboard. It sends no identifiers (no instance id, no project fingerprint, no memory content), downloads nothing, installs nothing and changes no file. Every failure is shown as a state (\"check failed: ...\") and never blocks anything else." ], "offlineMode": true, "apiKeys": [], "permissions": { "filesystem": "dsh-anagenesis owns $DSH_HOME/anagenesis/ (journal/*.jsonl append-only log + snapshot.json). For read compatibility with the pre-rename layout it will ALSO open $DSH_HOME/evolution/ when the new directory does not exist yet, and it never moves that data on its own — `tools/migrate-store.mjs` does the copy and only when the operator runs it. It reads and writes nothing else; it never opens another plugin's memory store. The visualization row only reads that store, and `tools/viz-watch.mjs` is a standalone read-only viewer the operator runs themselves — the plugin never spawns a process. The `anagenesis` preset row may also write $DSH_HOME/.agent-presets/anagenesis/ on hosts that still discover presets as directories, and removes exactly the files it created when unloaded.", "subprocess": "none — no shell, no network, no model calls" }, "jurisdiction": [], "retention": "local-only journal under $DSH_HOME/anagenesis; memory deletion is explicit via ana_forget/ana_expire and is itself journaled. Compaction appends archive segments and by default keeps every seq revertible; the optional retainEvents policy (default 0 = off) may prune whole archive segments, and any such loss is recorded in journal/pruned.json and reported by ana_audit view=status" }, "engines": { "dsh": ">=0.2.0-rc.2" }, "peerDependencies": { "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2", "@deepseek-ai/schemastery": "^3.18.1" }, "peerDependenciesMeta": { "@deepseek-ai/dsh-tools": { "optional": true }, "@deepseek-ai/schemastery": { "optional": true } }, "scripts": { "test": "node --import ./test/host-loader.mjs --test test/*.test.js", "bench": "node bench/run.mjs", "bench:check": "node --check bench/run.mjs && node --check bench/corpus.mjs && node --check bench/queries.mjs && node --check bench/metrics.mjs", "check": "node --check src/index.js && node --check src/util.js && node --check src/store/schema.js && node --check src/store/store.js && node --check src/store/patch.js && node --check src/store/journal.js && node --check src/memory/embed.js && node --check src/memory/recall.js && node --check src/memory/ops.js && node --check src/paths.js && node --check src/scope/project.js && node --check src/scope/index.js && node --check src/permission/tiers.js && node --check src/permission/registry.js && node --check src/permission/guard.js && node --check src/permission/autonomy.js && node --check src/tools/index.js && node --check src/tools/gated.js && node --check src/tools/definitions.js && node --check src/preset/index.js && node --check src/preset/bind.js && node --check src/preset/persona.js && node --check src/preset/definition.js && node --check src/guard/index.js && node --check src/guard/invariants.js && node --check src/meta/reflect.js && node --check src/viz/index.js && node --check src/viz/model.js && node --check src/viz/lang.js && node --check src/viz/tui.js && node --check src/viz/diagram.js && node --check src/viz/facility.js && node --check src/update/check.js && node --check tools/viz-watch.mjs && node --check tools/asar-scan.mjs && node --check tools/migrate-store.mjs && node --check tools/preflight-publish.mjs && node --check tools/pack-gate.mjs && node --check tools/scope-report.mjs", "verify:boot": "node tools/verify-boot.mjs", "test:window": "node --import ./test/host-loader.mjs --test window/test/*.test.mjs", "gate:window": "npm run build:client && npm run check:window && npm run test:window && npm run probe:window", "gate:pack": "node tools/pack-gate.mjs", "migrate:store": "node tools/migrate-store.mjs", "migrate:store:apply": "node tools/migrate-store.mjs --apply", "scan:asar": "node tools/asar-scan.mjs", "viz": "node tools/viz-watch.mjs --once", "viz:watch": "node tools/viz-watch.mjs --watch", "preflight": "node tools/preflight-publish.mjs", "build:client": "node window/tools/build-client.mjs", "check:window": "node --check window/src/index.js && node --check window/src/host/viz.js && node --check window/src/host/rpc.js && node --check window/src/host/tool.js && node --check window/client.js && node --check window/tools/live-probe.mjs && node window/tools/build-client.mjs --check", "probe:window": "node --import ./test/host-loader.mjs window/tools/live-probe.mjs", "preview": "node window/tools/preview.mjs", "test:ui": "node window/tools/live-ui-probe.mjs" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/3likofj/dsh-anagenesis.git" }, "homepage": "https://github.com/3likofj/dsh-anagenesis#readme", "bugs": { "url": "https://github.com/3likofj/dsh-anagenesis/issues" }, "author": "dsh-anagenesis contributors" }