@saga-ai/dashboard 3.0.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 ADDED
@@ -0,0 +1,62 @@
1
+ # @saga-ai/dashboard
2
+
3
+ Dashboard and session monitoring for SAGA (Structured Autonomous Goal Achievement) - a structured development workflow that combines human-guided epic planning with autonomous story execution.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js >= 18.0.0
8
+
9
+ ## Usage
10
+
11
+ Run commands using npx (no global installation required):
12
+
13
+ ```bash
14
+ npx @saga-ai/dashboard dashboard
15
+ npx @saga-ai/dashboard sessions list
16
+ npx @saga-ai/dashboard sessions status <name>
17
+ npx @saga-ai/dashboard sessions logs <name>
18
+ ```
19
+
20
+ ## Commands
21
+
22
+ ### `saga dashboard`
23
+
24
+ Start the SAGA dashboard server for viewing epics, stories, and progress.
25
+
26
+ ```bash
27
+ saga dashboard
28
+ saga dashboard --port 8080
29
+ saga dashboard --path /path/to/project
30
+ ```
31
+
32
+ Options:
33
+ - `--port <n>` - Port to run the server on (default: 3847)
34
+
35
+ ### `saga sessions`
36
+
37
+ Monitor tmux sessions created by SAGA worker runs.
38
+
39
+ ```bash
40
+ saga sessions list # List all SAGA sessions
41
+ saga sessions status <name> # Check if session is running
42
+ saga sessions logs <name> # Stream session output
43
+ ```
44
+
45
+ Subcommands:
46
+ - `list` - Returns JSON array of all SAGA sessions with name, status, and output file
47
+ - `status <name>` - Returns JSON with session status details
48
+ - `logs <name>` - Streams the session output file via `tail -f`
49
+
50
+ ## Global Options
51
+
52
+ - `-p, --path <dir>` - Path to SAGA project directory (overrides auto-discovery)
53
+ - `-V, --version` - Output the version number
54
+ - `-h, --help` - Display help for command
55
+
56
+ ## Project Discovery
57
+
58
+ The CLI automatically discovers SAGA projects by looking for a `.saga/` directory in the current directory or any parent directory. Use `--path` to override this behavior.
59
+
60
+ ## License
61
+
62
+ MIT