@minonl/dia 0.0.15 → 0.0.16
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/README.md +6 -0
- package/dist/cli.js +1589 -31
- package/docs/cli.md +3 -2
- package/docs/design/graph-prio-dag.md +85 -0
- package/docs/design/graph-ui-m1.md +106 -0
- package/docs/design/graph-web-m1.md +113 -0
- package/docs/design/graph-web-m2.md +92 -0
- package/docs/design/graph-web-mockup.html +49 -25
- package/docs/design/graph-web.md +9 -4
- package/docs/design/seat-scheduling-m2.md +138 -0
- package/docs/index.md +8 -1
- package/docs/install-guard-design.md +148 -0
- package/docs/kit-install.md +7 -0
- package/docs/kit-layer.md +78 -0
- package/docs/migrations/data-root-2026-11.md +3 -2
- package/docs/status.md +2 -0
- package/kits/git/dia.json +10 -0
- package/kits/git/knowledge/hooks.md +30 -0
- package/kits/git/knowledge/worktree.md +34 -0
- package/kits/node/dia.json +10 -0
- package/kits/node/knowledge/hook-managers.md +17 -0
- package/kits/node/knowledge/pnpm.md +34 -0
- package/package.json +1 -1
- package/packages/wt/bin/dia-wt +15 -0
- package/packages/wt/tests/adopt.test.sh +8 -0
package/README.md
CHANGED
|
@@ -78,6 +78,12 @@ dia version && dia doctor
|
|
|
78
78
|
|
|
79
79
|
- 依赖:Node ≥ 24 或 Bun ≥ 1.2(见 `package.json` 的 `engines`)。
|
|
80
80
|
- 安装只落盘:**不启停服务、不改宿主默认 agent**。
|
|
81
|
+
- **安装守卫**:`~/.local/bin/dia` 当前属于包管理器全局安装(npm/bun 的 `node_modules/@minonl/dia` 软链,
|
|
82
|
+
pnpm/yarn 的 shim 脚本,volta 的 bin —— 即会被脚本安装抢走)时,`install.sh` **拒绝并 exit 3,不改动任何文件**;
|
|
83
|
+
确实想换脚本安装用 `DIA_ALLOW_SCRIPT_INSTALL=1 bash install.sh`,想留在 npm 安装用
|
|
84
|
+
`ln -sfn "$(npm prefix -g)/bin/dia" ~/.local/bin/dia`。只装到别处(不碰生效链接)用
|
|
85
|
+
`bash install.sh --home DIR --bin BINDIR`——`--home` 单独用只改安装目录,链接仍写默认 bin,守卫照旧生效。
|
|
86
|
+
装完会打印 `effective: <实际生效的 dia> (<version>)`,顺带暴露 PATH 顺序问题。
|
|
81
87
|
- 装 persona(示例 dabo):`dia persona add dabo --from git+https://github.com/minonl/dabo-agent.git`
|
|
82
88
|
- 卸载:`dia persona remove dabo`(只删带 `.dia-managed` 的产物)。
|
|
83
89
|
|