@wrongstack/cli 0.1.9 → 0.2.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 +19 -3
- package/dist/index.js +3796 -3041
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ wstack mcp add <preset> # add an MCP server (see @wrongstack/mcp)
|
|
|
31
31
|
wstack mcp list # show configured MCP servers
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
`--no-tui` forces REPL mode even when `--tui` is configured globally.
|
|
34
|
+
`--no-tui` forces REPL mode even when `--tui` is configured globally. The TUI uses Ink's alt-screen buffer by default so it can capture every keystroke (Ctrl+S/Q/Z/\\ included) and avoid live-region leaks into scrollback; pass `--no-alt-screen` if you specifically want completed chat to survive after exit.
|
|
35
35
|
|
|
36
36
|
## Slash commands inside the REPL/TUI
|
|
37
37
|
|
|
@@ -47,6 +47,10 @@ wstack mcp list # show configured MCP servers
|
|
|
47
47
|
/context # show token usage breakdown
|
|
48
48
|
/sessions # list past sessions
|
|
49
49
|
/resume <id> # resume a session
|
|
50
|
+
/todos [show|add|done|clear] # tactical task board (auto-checkpointed)
|
|
51
|
+
/plan [show|add|start|done|remove|clear] # strategic roadmap (persistent across resume)
|
|
52
|
+
/director # promote the current session into multi-agent director mode
|
|
53
|
+
/fleet status|usage|kill|manifest|retry [taskId|all]|log [<id> [raw]] # inspect/control + retry + view subagent transcripts
|
|
50
54
|
/exit # quit
|
|
51
55
|
```
|
|
52
56
|
|
|
@@ -59,12 +63,24 @@ wstack mcp list # show configured MCP servers
|
|
|
59
63
|
~/.wrongstack/skills/ user-global skills
|
|
60
64
|
~/.wrongstack/projects/<hash>/ per-project state
|
|
61
65
|
memory.md project memory (auto-gitignored)
|
|
62
|
-
sessions/
|
|
66
|
+
sessions/ per-session artifacts
|
|
67
|
+
<id>.jsonl append-only event log (messages, tool calls, task_* events)
|
|
68
|
+
<id>.summary.json fast-path manifest read by /sessions
|
|
69
|
+
<id>.todos.json ctx.todos checkpoint (atomic-written on every mutation)
|
|
70
|
+
<id>.plan.json /plan strategic roadmap (atomic-written on every mutation)
|
|
71
|
+
<id>/ multi-agent (director mode) fleet workspace
|
|
72
|
+
fleet.json director manifest (debounced ~2s; final on shutdown)
|
|
73
|
+
director-state.json live task graph: pending/running/completed + spawn roster
|
|
74
|
+
shared/ cross-subagent scratchpad (markdown findings)
|
|
75
|
+
subagents/<runId>/<subagentId>.jsonl per-subagent transcripts
|
|
76
|
+
attachments/ spooled images/files for the session
|
|
63
77
|
trust.json per-project tool/permission trust
|
|
64
78
|
.wrongstack/AGENTS.md committable project memory
|
|
65
79
|
.wrongstack/skills/ committable project skills
|
|
66
80
|
```
|
|
67
81
|
|
|
82
|
+
**Resume semantics.** `wstack --resume <id>` replays the messages JSONL into the agent context, reloads `<id>.todos.json` if present, and surfaces a banner summarizing any prior plan items and unfinished fleet tasks. Per-subagent transcripts under `subagents/` survive crashes — combine with the `director-state.json` checkpoint to inspect what each worker was doing when the run was interrupted.
|
|
83
|
+
|
|
68
84
|
API keys are encrypted at rest with AES-256-GCM and the key file at `~/.wrongstack/.key`. The vault auto-bootstraps on first run; the key never leaves the machine.
|
|
69
85
|
|
|
70
86
|
## Flags
|
|
@@ -76,7 +92,7 @@ API keys are encrypted at rest with AES-256-GCM and the key file at `~/.wrongsta
|
|
|
76
92
|
| `--provider <id>` | Override the configured provider |
|
|
77
93
|
| `--model <id>` | Override the configured model |
|
|
78
94
|
| `--resume <id>` | Resume a saved session by id |
|
|
79
|
-
| `--alt-screen` |
|
|
95
|
+
| `--no-alt-screen` | Render TUI inline in scrollback (default is alt-screen so all shortcuts are captured). |
|
|
80
96
|
| `--config <path>` | Use a non-default config file |
|
|
81
97
|
| `--debug` | Verbose logging to `~/.wrongstack/logs/wrongstack.log` |
|
|
82
98
|
| `--version` | Print version |
|