specsmd 0.1.66 → 0.1.68
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 +11 -4
- package/bin/cli.js +14 -1
- package/lib/dashboard/web/extension-adapter.js +726 -0
- package/lib/dashboard/web/public/app.js +9 -0
- package/lib/dashboard/web/public/index.html +14 -0
- package/lib/dashboard/web/public/styles.css +36 -0
- package/lib/dashboard/web/public/webview-bundle.js +7596 -0
- package/lib/dashboard/web/server.js +376 -0
- package/lib/dashboard/web/snapshot.js +299 -0
- package/package.json +5 -2
- package/scripts/check-webview-bundle-sync.cjs +38 -0
- package/scripts/sync-webview-bundle.cjs +19 -0
package/README.md
CHANGED
|
@@ -89,9 +89,9 @@ During installation, select your flow:
|
|
|
89
89
|
|
|
90
90
|
The installer detects your AI coding tools and sets up agent definitions, slash commands, and project structure for your selected flow.
|
|
91
91
|
|
|
92
|
-
###
|
|
92
|
+
### Dashboard Web
|
|
93
93
|
|
|
94
|
-
Track
|
|
94
|
+
Track specsmd flow state from a local browser dashboard:
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
97
|
npx specsmd@latest dashboard
|
|
@@ -100,8 +100,15 @@ npx specsmd@latest dashboard
|
|
|
100
100
|
Useful options:
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
npx specsmd@latest dashboard --flow fire --path . --
|
|
104
|
-
npx specsmd@latest dashboard --
|
|
103
|
+
npx specsmd@latest dashboard --flow fire --path . --no-open
|
|
104
|
+
npx specsmd@latest dashboard --host 127.0.0.1 --port 4317
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Prefer the terminal dashboard?
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npx specsmd@latest dashboard-cli
|
|
111
|
+
npx specsmd@latest dashboard-cli --flow fire --path . --refresh-ms 1000
|
|
105
112
|
```
|
|
106
113
|
|
|
107
114
|
### Install VS Code Extension (Optional)
|
package/bin/cli.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
const { program } = require('commander');
|
|
4
4
|
const installer = require('../lib/installer');
|
|
5
5
|
const dashboard = require('../lib/dashboard');
|
|
6
|
+
const dashboardWeb = require('../lib/dashboard/web/server');
|
|
6
7
|
const packageJson = require('../package.json');
|
|
7
8
|
|
|
8
9
|
program
|
|
@@ -21,7 +22,19 @@ program
|
|
|
21
22
|
|
|
22
23
|
program
|
|
23
24
|
.command('dashboard')
|
|
24
|
-
.description('
|
|
25
|
+
.description('Local web dashboard for flow state')
|
|
26
|
+
.option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
|
|
27
|
+
.option('--path <dir>', 'Workspace path', process.cwd())
|
|
28
|
+
.option('--host <host>', 'Host to bind (default: 127.0.0.1)', '127.0.0.1')
|
|
29
|
+
.option('--port <n>', 'Port to bind (default: random available port)', '0')
|
|
30
|
+
.option('--refresh-ms <n>', 'Fallback refresh interval in milliseconds (reserved for compatibility)', '1000')
|
|
31
|
+
.option('--no-watch', 'Disable file watching')
|
|
32
|
+
.option('--no-open', 'Do not open the dashboard in a browser automatically')
|
|
33
|
+
.action((options) => dashboardWeb.run(options));
|
|
34
|
+
|
|
35
|
+
program
|
|
36
|
+
.command('dashboard-cli')
|
|
37
|
+
.description('Live terminal dashboard for flow state')
|
|
25
38
|
.option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
|
|
26
39
|
.option('--path <dir>', 'Workspace path', process.cwd())
|
|
27
40
|
.option('--worktree <nameOrPath>', 'Initial git worktree (branch name, worktree name, id, or absolute path)')
|