sandtable 0.3.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/README.md +40 -0
- package/dashboard/css/dashboard.css +731 -0
- package/dashboard/dashboard.html +1086 -0
- package/dashboard/js/conventions-viewer.js +37 -0
- package/dashboard/js/data-loader.js +147 -0
- package/dashboard/js/event-stream-renderer.js +158 -0
- package/dashboard/js/filter-controller.js +102 -0
- package/dashboard/js/journal-timeline.js +29 -0
- package/dashboard/js/roadmap-renderer.js +72 -0
- package/dashboard/js/timeline-renderer.js +283 -0
- package/dashboard/js/waterfall-renderer.js +189 -0
- package/harness/install-hooks.sh +34 -0
- package/harness/post-commit +17 -0
- package/harness/post-merge +17 -0
- package/harness/summary-hook.md +18 -0
- package/package.json +38 -0
- package/server.js +60 -0
- package/skills/build-json.md +36 -0
- package/skills/scan-docs.md +38 -0
- package/skills/summarize.md +66 -0
- package/src/builder/build.js +1019 -0
- package/src/cli/sandtable.js +970 -0
- package/src/scanner/scan.js +415 -0
- package/templates/.sandtable.template.json +51 -0
- package/templates/journal-entry.md +22 -0
- package/templates/summary-block.md +42 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# 沙盘 Sandtable
|
|
2
|
+
|
|
3
|
+
AI 编程项目的可视化指挥面板工具包。
|
|
4
|
+
|
|
5
|
+
## 一句话
|
|
6
|
+
|
|
7
|
+
帮你在 AI coding 时,实时看到项目 roadmap、进度、日志、约定简称对照——
|
|
8
|
+
打开 `dashboard/dashboard.html`,刷新即看。
|
|
9
|
+
|
|
10
|
+
## 安装
|
|
11
|
+
|
|
12
|
+
1. 将 `sandtable/` 目录放入项目根目录
|
|
13
|
+
2. (可选)将 `harness/summary-hook.md` 中的 hook 配置加入 `.claude/settings.local.json`
|
|
14
|
+
|
|
15
|
+
## 使用
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# 扫描文档目录
|
|
19
|
+
node src/cli/sandtable.js scan
|
|
20
|
+
|
|
21
|
+
# 生成 data/*.json
|
|
22
|
+
node src/cli/sandtable.js build
|
|
23
|
+
|
|
24
|
+
# 打开指挥面板
|
|
25
|
+
# 浏览器打开 dashboard/dashboard.html
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 让 AI 帮你
|
|
29
|
+
|
|
30
|
+
在 Claude Code 对话中:
|
|
31
|
+
- `/sandtable scan` — AI 扫描项目文档
|
|
32
|
+
- `/sandtable build` — AI 生成 JSON 数据
|
|
33
|
+
|
|
34
|
+
## 项目结构
|
|
35
|
+
|
|
36
|
+
见 `docs/scaffold.md`。
|
|
37
|
+
|
|
38
|
+
## 版本
|
|
39
|
+
|
|
40
|
+
v0.1 MVP — 脚手架 + scanner/builder + dashboard 渲染
|