slateboard 0.1.0 → 0.1.1
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 +33 -192
- package/dist/arch-3JZTL2DJ.js +1842 -0
- package/dist/bin.js +35 -11
- package/dist/{chunk-WXM4BB4D.js → chunk-4PKRRMRZ.js} +1340 -868
- package/dist/{chunk-FMO5B2KJ.js → chunk-4TPC7U6A.js} +5 -5
- package/dist/{chunk-SQHGMBUM.js → chunk-ANFNDJZO.js} +3 -2
- package/dist/{chunk-ONZFKR4I.js → chunk-PJ5WOZB3.js} +171 -21
- package/dist/{chunk-BWNUX4FT.js → chunk-V3PED2Z5.js} +4 -4
- package/dist/{client-JHI2EG6J.js → client-5B46626J.js} +2 -2
- package/dist/{commands-ONES545N.js → commands-6UA3YOD4.js} +1 -1
- package/dist/{doctor-H5Y5L2JZ.js → doctor-ZTQFKV32.js} +2 -2
- package/dist/{lifecycle-ZB5HEO5P.js → lifecycle-IZH4RJK5.js} +4 -4
- package/dist/{service-command-26BPMBK3.js → service-command-GKRIZCBL.js} +5 -5
- package/dist/{src-QZIVUACM.js → src-BDZFYUYY.js} +12 -2
- package/dist/{src-YVFB3ZLM.js → src-YO7L7J26.js} +13 -1
- package/dist/ui/assets/abnfDiagram-XWFEHMT6-DAC8TnbO.js +1 -0
- package/dist/ui/assets/architecture-WOLXFQ4H-X8k0-LVf.js +1 -0
- package/dist/ui/assets/architectureDiagram-CSQXQB3N-CVoxvA0s.js +36 -0
- package/dist/ui/assets/blockDiagram-BEDRHYPZ-DGf5VAwB.js +140 -0
- package/dist/ui/assets/bpmnIcons-APHXDYXF-C0jbCElo.js +1 -0
- package/dist/ui/assets/c4Diagram-M2UUVUY5-PB5quCOl.js +38 -0
- package/dist/ui/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/ui/assets/chunk-3GCGMST5-RRiusQp9.js +1 -0
- package/dist/ui/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/ui/assets/chunk-7U7NFRK5-CSOOpKZT.js +88 -0
- package/dist/ui/assets/chunk-CNRTWJTD-DJuDnaYn.js +1 -0
- package/dist/ui/assets/chunk-D5HYT7QG-imLQxbAy.js +1 -0
- package/dist/ui/assets/chunk-DUW6YSOI-Dgx8z5s3.js +1 -0
- package/dist/ui/assets/chunk-DZSZGQHW-BCXsfFfT.js +1 -0
- package/dist/ui/assets/chunk-EBZ3SEQC-CdDips7b.js +2 -0
- package/dist/ui/assets/chunk-F3AE6A5H-DTVcMSk7.js +1 -0
- package/dist/ui/assets/chunk-FGVZ23HU-BEVs0fgA.js +213 -0
- package/dist/ui/assets/chunk-GZTWQ64R-CKGVWw4I.js +62 -0
- package/dist/ui/assets/chunk-J5ZVWO5B-oDCd-gWO.js +1 -0
- package/dist/ui/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/ui/assets/chunk-KTR4FSNJ-DSr3q0Xy.js +1 -0
- package/dist/ui/assets/chunk-MDAHDJXZ-YMIkXJ0O.js +10 -0
- package/dist/ui/assets/chunk-MPYPSXSE-C-CxVwa7.js +1 -0
- package/dist/ui/assets/chunk-ND7LMLKX-lfusdDHU.js +72 -0
- package/dist/ui/assets/chunk-NGNAAXSQ-DqoPQk1a.js +136 -0
- package/dist/ui/assets/chunk-OWCVCYLK-4-W-ynqW.js +2 -0
- package/dist/ui/assets/chunk-QDWOWVBQ-Du0KmhW4.js +129 -0
- package/dist/ui/assets/chunk-T47YP6PS-CKli33QU.js +1 -0
- package/dist/ui/assets/chunk-XXDRQBXY-DSL17ZTh.js +1 -0
- package/dist/ui/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/ui/assets/classDiagram-v2-KXABOMEV-CYc2BZ2y.js +217 -0
- package/dist/ui/assets/cose-bilkent-JH36ORCC-81nUs0at.js +1 -0
- package/dist/ui/assets/cynefin-EF2NZ3EQ-Clvwy422.js +1 -0
- package/dist/ui/assets/cynefinDiagram-NJNITYFG-CsgTQqAC.js +62 -0
- package/dist/ui/assets/cytoscape.esm-BPveszXl.js +321 -0
- package/dist/ui/assets/d3-scale-lXtN6-Od.js +1 -0
- package/dist/ui/assets/d3-selection-BFzs9NTX.js +1 -0
- package/dist/ui/assets/dagre-KIHZ2IZ3--BpWd3hW.js +4 -0
- package/dist/ui/assets/diagram-7YQZDPLS-Dp_m-C1a.js +41 -0
- package/dist/ui/assets/diagram-QBROCOUO-Bt-Lp7vq.js +200 -0
- package/dist/ui/assets/diagram-RJJCUUZO-DLsG2Tej.js +30 -0
- package/dist/ui/assets/diagram-WERXNKYE-D31SLp70.js +24 -0
- package/dist/ui/assets/diagram-YHHI257C-CVMeUILe.js +3 -0
- package/dist/ui/assets/diagram-YR4HJLHV-Bz9qvIhJ.js +24 -0
- package/dist/ui/assets/dist-YCovsM_S.js +1 -0
- package/dist/ui/assets/ebnfDiagram-N527522P-_FIZSf8P.js +1 -0
- package/dist/ui/assets/elk-O5DQBFGD-BK3qD3UW.js +27 -0
- package/dist/ui/assets/erDiagram-K3K3BIDK-Dmpdi5Ob.js +99 -0
- package/dist/ui/assets/eventmodeling-K75KTNOO-Dt-51L4s.js +1 -0
- package/dist/ui/assets/flowDiagram-Z6JWZHQI-Cn2ZVzvO.js +1 -0
- package/dist/ui/assets/ganttDiagram-3PRQTZWP-BaZof7eT.js +292 -0
- package/dist/ui/assets/gitGraph-VSP46ZUC-ezyaB0jQ.js +1 -0
- package/dist/ui/assets/gitGraphDiagram-VXDFKS5L-DRNdClPw.js +106 -0
- package/dist/ui/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/ui/assets/grid-E2QIVN74--djCUwdI.js +1 -0
- package/dist/ui/assets/index-Bly281F6.css +1 -0
- package/dist/ui/assets/index-CXK8WmR8.js +45 -0
- package/dist/ui/assets/info-OHQRW6UA-DsFXrFWI.js +1 -0
- package/dist/ui/assets/infoDiagram-EZ3ZOAHP-e8qx3eqc.js +2 -0
- package/dist/ui/assets/ishikawaDiagram-S3EKX5GW-CuKExPKN.js +70 -0
- package/dist/ui/assets/journeyDiagram-POQNLL5X-D0GE8iji.js +139 -0
- package/dist/ui/assets/kanban-definition-BH5XI6FM-NL5dOF_0.js +89 -0
- package/dist/ui/assets/katex-BXIx1Jgr.js +257 -0
- package/dist/ui/assets/mermaid-parser.core-0pE4JCc_.js +7 -0
- package/dist/ui/assets/mermaid.core-BVgUieVU.js +44 -0
- package/dist/ui/assets/mindmap-definition-WVAN44T4-BLTtjuVH.js +98 -0
- package/dist/ui/assets/packet-JDAUHWVQ-C-7DeilZ.js +1 -0
- package/dist/ui/assets/pegDiagram-D4NLKWP3-F2SSXiqv.js +1 -0
- package/dist/ui/assets/pie-XZMESJXO-B4BkiWTy.js +1 -0
- package/dist/ui/assets/pieDiagram-36ENHN4W-BB5uEdtB.js +39 -0
- package/dist/ui/assets/quadrantDiagram-ZQUDMS73-B5iPooYO.js +7 -0
- package/dist/ui/assets/radar-ABXABTNO-Dx3jkQdr.js +1 -0
- package/dist/ui/assets/railroad-I3PHUGI6-BSh47OT_.js +1 -0
- package/dist/ui/assets/railroad-abnf-LNEFI6M7-BWFvDxOj.js +1 -0
- package/dist/ui/assets/railroad-ebnf-DWYD2UWJ-GBoLzumA.js +1 -0
- package/dist/ui/assets/railroad-peg-JR7BVNR7-DByw5Orh.js +1 -0
- package/dist/ui/assets/railroadDiagram-JIZHGYPL--ptGd2NR.js +1 -0
- package/dist/ui/assets/render-VIF2ZAQL-CzNp-J42.js +2 -0
- package/dist/ui/assets/requirementDiagram-AXW2TVFA-DBh9Dt63.js +84 -0
- package/dist/ui/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/dist/ui/assets/sankeyDiagram-FBCJTAIF-CjJtGyu8.js +40 -0
- package/dist/ui/assets/sequenceDiagram-3LA2ROMG-BzeMVuzG.js +169 -0
- package/dist/ui/assets/sizeCapture-2Q2CQKSF-DSY_W0YL.js +1 -0
- package/dist/ui/assets/stateDiagram-v2-ATKHQDJO-DYavre2v.js +291 -0
- package/dist/ui/assets/swimlanes-YQL5WMAO-CUTCsfPM.js +1 -0
- package/dist/ui/assets/swimlanesDiagram-UCCPES4V-B7bXxKVr.js +8 -0
- package/dist/ui/assets/timeline-definition-7Z437IG3-HWrtH0QT.js +120 -0
- package/dist/ui/assets/treeView-D4JQ5SDB-B5lbyI_M.js +1 -0
- package/dist/ui/assets/treemap-SAJKECNS-Ckfi-DGc.js +1 -0
- package/dist/ui/assets/usecaseDiagram-RDK6N6HP-BuKN2NAW.js +328 -0
- package/dist/ui/assets/vennDiagram-SHRQU5PJ-s2gljkjP.js +34 -0
- package/dist/ui/assets/wardley-7MLQ67FV-CjAqYBcP.js +1 -0
- package/dist/ui/assets/wardleyDiagram-F3OXNVQS-Ba_SoMTx.js +78 -0
- package/dist/ui/assets/xychartDiagram-GDYJKCDI-FsxUUoqL.js +7 -0
- package/dist/ui/index.html +2 -2
- package/dist/{upgrade-FND3UBJR.js → upgrade-2CI4OVTY.js} +15 -15
- package/migrations/0006_arch_auto.sql +8 -0
- package/package.json +1 -1
- package/dist/ui/assets/index-4WzXlYHs.css +0 -1
- package/dist/ui/assets/index-ZKfByx7Q.js +0 -42
package/README.md
CHANGED
|
@@ -1,218 +1,59 @@
|
|
|
1
|
-
#
|
|
1
|
+
# slateboard
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
The `slate` command: a local roadmap board for developers and their coding agents. One server on your machine
|
|
4
|
+
serves a web UI, a REST API and an MCP server over the same SQLite database, so you and Claude Code (or any MCP
|
|
5
|
+
client) read and move the same cards. Workspaces group your repositories, projects hold ordered items that move
|
|
6
|
+
through a configurable workflow, items can block each other and link to their spec, and the board finds the
|
|
7
|
+
commits that mention an item.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
[docs/design/](docs/design/) for the interface.
|
|
9
|
+
The full documentation is in the [repository](https://github.com/amenophis1er/slate#readme).
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
|
-
Requires Node 22.13 or newer (for the built-in `node:sqlite`).
|
|
13
|
+
Requires Node 22.13 or newer (for the built-in `node:sqlite`). The package has no dependencies.
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
16
|
npm i -g slateboard # or: pnpm add -g slateboard
|
|
17
|
-
slate
|
|
17
|
+
slate service install # run it as a user service, now and at login (or just `slate` to run it in the foreground)
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
With no workspace yet, the UI opens on settings:
|
|
21
|
-
holds your repositories, scan it, and register the projects.
|
|
20
|
+
Open http://127.0.0.1:4848. With no workspace yet, the UI opens on settings: add a workspace for a directory that
|
|
21
|
+
holds your repositories, scan it, and register the projects. Data lives in `~/.slate` unless `SLATE_HOME` points
|
|
22
|
+
elsewhere.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
slate ws add code ~/code
|
|
25
|
-
slate ws scan code --register
|
|
26
|
-
cd ~/code/my-app && slate add "Ship the importer" --milestone v1
|
|
27
|
-
slate next
|
|
28
|
-
```
|
|
24
|
+
## Connect Claude Code
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
Install the plugin, which adds the MCP server, the `/slate:work` and `/slate:arch` skills, and the current
|
|
27
|
+
branch's item as session context:
|
|
32
28
|
|
|
33
|
-
## Run as a service
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
slate service install # macOS launchd agent or Linux systemd --user unit; starts now and at login
|
|
37
|
-
slate status # version, pid, port, uptime, db, schema, service state, update available
|
|
38
|
-
slate stop | restart # go through the service when one is installed
|
|
39
|
-
slate service uninstall
|
|
40
29
|
```
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
your `SLATE_HOME` and `PATH`; output goes to `$SLATE_HOME/logs/server.log`. No
|
|
44
|
-
`sudo` anywhere. Without a service, `slate start --daemon` runs it detached.
|
|
45
|
-
|
|
46
|
-
`slate doctor` checks the database, schema version, lock file, port, project paths and
|
|
47
|
-
that the service unit points at the binary you are running.
|
|
48
|
-
|
|
49
|
-
## Upgrade
|
|
50
|
-
|
|
51
|
-
```sh
|
|
52
|
-
slate upgrade --check # compare with the latest version on npm
|
|
53
|
-
slate upgrade # stop, back up the database, install, migrate, start again
|
|
30
|
+
/plugin marketplace add amenophis1er/slate
|
|
31
|
+
/plugin install slate@slate
|
|
54
32
|
```
|
|
55
33
|
|
|
56
|
-
|
|
57
|
-
on the first boot of the new version, the server restores that backup and exits with the
|
|
58
|
-
migration's name. `upgrade` handles global npm and pnpm installs and prints manual steps
|
|
59
|
-
otherwise. The server also checks for a newer version once a day; `status` shows it (set
|
|
60
|
-
`SLATE_NO_UPDATE_CHECK=1` to turn that off).
|
|
61
|
-
|
|
62
|
-
## Claude Code
|
|
63
|
-
|
|
64
|
-
Add the stdio bridge as an MCP server at user scope, so it is available in every directory
|
|
65
|
-
rather than only the project you ran the command in. It talks to the running server and
|
|
66
|
-
starts one if none is listening, so the board is shared with the UI and updates live:
|
|
34
|
+
Or register only the MCP server:
|
|
67
35
|
|
|
68
36
|
```sh
|
|
69
37
|
claude mcp add --scope user slate -- slate mcp
|
|
70
38
|
```
|
|
71
39
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
```json
|
|
75
|
-
{ "mcpServers": { "slate": { "command": "slate", "args": ["mcp"] } } }
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Tools resolve the project from the directory Claude Code was started in. Clients that speak
|
|
79
|
-
streamable HTTP can use `http://127.0.0.1:4848/mcp` directly.
|
|
80
|
-
|
|
81
|
-
## Working from the board
|
|
82
|
-
|
|
83
|
-
Every item has a readable key, such as `SLT-42`: its project's key and its number. It is shown on
|
|
84
|
-
cards and at the top of the drawer (click to copy), returned by every tool as `key`, and accepted
|
|
85
|
-
wherever an item id is (a bare `42` works too inside the project's directory). Put it in the commit
|
|
86
|
-
messages for that work, for example as a trailing line:
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
feat(ui): show commit subjects in the drawer
|
|
90
|
-
|
|
91
|
-
slate: SLT-42
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
The item's id (`UGCLcTfJze`) still works in commit messages and everywhere else.
|
|
95
|
-
|
|
96
|
-
The board reads the git history of every project repository in the workspace in-process (no
|
|
97
|
-
`git` is run), so a planning board finds work shipped in sibling repositories, and lists commits
|
|
98
|
-
that mention the id under **Commits** in the item's drawer, with the project name beside commits
|
|
99
|
-
from another repository; Attach turns one into a ref. Agents see the same list through `get_item`
|
|
100
|
-
(`discovered_commits`) and `get_item_commits`.
|
|
101
|
-
|
|
102
|
-
When an item is finished, move it to a done column with the sha that completed it:
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
move_item item_id: UGCLcTfJze status: done commit: 5f4f377
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
The sha is looked up in the item's project repository, then the workspace's other project
|
|
109
|
-
repositories (a sha none of them has fails with `invalid_argument`), and attached as a commit
|
|
110
|
-
ref in the same step; passing it again is a no-op.
|
|
111
|
-
The MCP server's instructions tell agents to follow this convention.
|
|
112
|
-
|
|
113
|
-
## Board files
|
|
114
|
-
|
|
115
|
-
`slate export -o docs/ROADMAP.md` writes the project as a markdown checklist that reads well on
|
|
116
|
-
GitHub and loads back with `slate import`:
|
|
117
|
-
|
|
118
|
-
```markdown
|
|
119
|
-
## Backlog
|
|
120
|
-
|
|
121
|
-
- [ ] `pNPWQkmJL0` Design schema <!-- slate id:pNPWQkmJL0 rev:3 -->
|
|
122
|
-
- `v1` · high · #db · blocked by `5ylfZMblA2`
|
|
123
|
-
- file `docs/SPEC.md` — spec
|
|
124
|
-
<details><summary>Details</summary>
|
|
125
|
-
|
|
126
|
-
The item's details.
|
|
127
|
-
|
|
128
|
-
</details>
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Frontmatter holds the columns and milestones. Edit the file and run `slate import docs/ROADMAP.md`:
|
|
132
|
-
|
|
133
|
-
- Renamed, retagged, moved or reordered items are updated to match.
|
|
134
|
-
- A new line such as `- [ ] Write the docs` creates an item.
|
|
135
|
-
- Ticking a box moves the item to done.
|
|
136
|
-
|
|
137
|
-
`--dry-run` prints the plan first. An item changed on the board since the export is skipped
|
|
138
|
-
and reported as a conflict (exit code 1) unless you pass `--force`. Items the file lacks stay
|
|
139
|
-
unless you pass `--prune`. The same file restores the board into an empty slate, with its ids.
|
|
140
|
-
Agents get the same through the `export_board` and `import_board` tools. The format is
|
|
141
|
-
specified in [docs/SPEC.md](docs/SPEC.md), section 3, "Board files".
|
|
142
|
-
|
|
143
|
-
## Commands
|
|
144
|
-
|
|
145
|
-
```
|
|
146
|
-
slate start in the foreground and open the browser
|
|
147
|
-
slate start [--daemon] start (detached with --daemon)
|
|
148
|
-
slate stop | restart | status
|
|
149
|
-
slate service install [--port <n>] | uninstall | start | stop | restart | status
|
|
150
|
-
slate upgrade [--check]
|
|
151
|
-
slate doctor
|
|
152
|
-
slate mcp stdio MCP server for Claude Code
|
|
153
|
-
slate ws add <name> <path>
|
|
154
|
-
slate ws scan <name> [--register]
|
|
155
|
-
slate add "title" [--status <key>] [--milestone <name>] [--blocked-by <id>]...
|
|
156
|
-
slate next next unblocked item for the project in this directory
|
|
157
|
-
slate export [project] [-o <file>] the board file to stdout or a file; works without a running server
|
|
158
|
-
slate import <file> [--project <p>] [--dry-run] [--prune] [--force]
|
|
159
|
-
apply an edited board file
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
## Run from source
|
|
163
|
-
|
|
164
|
-
```sh
|
|
165
|
-
pnpm install
|
|
166
|
-
pnpm -r build # builds core, mcp, server, the UI, then bundles the cli
|
|
167
|
-
node packages/cli/dist/bin.js start # serves UI, REST API and MCP at http://127.0.0.1:4848
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
Until the package is on npm, `slate` is not on your PATH, so `claude mcp add slate --
|
|
171
|
-
slate mcp` fails with ENOENT. Install the local build globally first:
|
|
172
|
-
|
|
173
|
-
```sh
|
|
174
|
-
pnpm install:local # builds, packs and installs the cli globally: `slate` on PATH
|
|
175
|
-
claude mcp add --scope user slate -- slate mcp # then register it with Claude Code
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
`slate mcp` is only a proxy to the running server, so a global snapshot keeps working while
|
|
179
|
-
the server itself runs from source under `pnpm dev`. Re-run `pnpm install:local` after
|
|
180
|
-
changing the cli package. To try the package without touching your global prefix:
|
|
40
|
+
Clients that speak streamable HTTP can use `http://127.0.0.1:4848/mcp` directly.
|
|
181
41
|
|
|
182
|
-
|
|
183
|
-
cd packages/cli && npm pack && npm i -g --prefix /tmp/rb ./slateboard-*.tgz && /tmp/rb/bin/slate --version
|
|
184
|
-
```
|
|
42
|
+
## Features
|
|
185
43
|
|
|
186
|
-
|
|
44
|
+
- A board, a roadmap by milestone and a workspace view, live as agents change things.
|
|
45
|
+
- Readable item keys such as `SLT-42`, accepted everywhere an item id is.
|
|
46
|
+
- Commit discovery: commits whose message names an item show in its drawer, from every repository in the workspace.
|
|
47
|
+
- `slate start SLT-42` makes a `slate/SLT-42-…` branch and moves the item to an active column;
|
|
48
|
+
`slate hooks install` adds the `slate: SLT-42` trailer to commits on that branch.
|
|
49
|
+
- Claims, optional git-driven moves, and TODO comments turned into backlog items.
|
|
50
|
+
- Board files: the board as a markdown checklist you can edit and import back, optionally kept in your repository.
|
|
51
|
+
- An architecture map of a TypeScript or JavaScript repository (`slate arch`).
|
|
52
|
+
- Runs as a launchd or systemd user service, binds to 127.0.0.1 only, and upgrades with `slate upgrade`.
|
|
187
53
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
SessionStart hook that puts the current branch's item in context. See
|
|
191
|
-
[plugin/README.md](plugin/README.md), including how to show the item in the status line.
|
|
54
|
+
Run `slate help` for every command. See the [repository](https://github.com/amenophis1er/slate#readme) for the
|
|
55
|
+
details, and [the specification](https://github.com/amenophis1er/slate/blob/main/docs/SPEC.md).
|
|
192
56
|
|
|
193
|
-
##
|
|
57
|
+
## License
|
|
194
58
|
|
|
195
|
-
|
|
196
|
-
pnpm dev # server from source in watch mode on :4848, plus Vite with HMR on :5173
|
|
197
|
-
pnpm -r typecheck
|
|
198
|
-
pnpm -r test
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
`pnpm dev` runs `slate start` through tsx (restarting on changes to core, mcp, server or
|
|
202
|
-
cli) and the Vite dev server, which proxies `/api`, `/events` and `/mcp` to port 4848. Use
|
|
203
|
-
http://127.0.0.1:5173 while developing; port 4848 serves the last production build of the UI.
|
|
204
|
-
Set `SLATE_HOME` to keep development data away from your real board.
|
|
205
|
-
|
|
206
|
-
The UI's design tokens are generated from `docs/design/tokens.json` into
|
|
207
|
-
`packages/ui/src/styles/tokens.css` by `packages/ui/scripts/tokens.mjs`, which runs before
|
|
208
|
-
every UI dev, build and typecheck.
|
|
209
|
-
|
|
210
|
-
## Layout
|
|
211
|
-
|
|
212
|
-
```
|
|
213
|
-
packages/core store, services, schemas, events
|
|
214
|
-
packages/mcp MCP tools, resources and prompts over core
|
|
215
|
-
packages/server Hono app: REST /api, SSE /events, /mcp, static UI
|
|
216
|
-
packages/ui React + Vite board UI
|
|
217
|
-
packages/cli slate binary and the published package (esbuild bundle of everything above)
|
|
218
|
-
```
|
|
59
|
+
MIT
|