squad-station 0.5.4 โ†’ 0.5.8

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +130 -0
  2. package/bin/run.js +1 -1
  3. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,130 @@
1
+ # Changelog
2
+
3
+ All notable changes to Squad Station are documented in this file.
4
+
5
+ ## v0.5.8 - 2026-03-20
6
+
7
+ ### ๐Ÿ› Bug Fixes
8
+
9
+ - Fixed `current_task` corruption when `/clear` is sent while another task is already processing โ€” `current_task` now reverts to the real task instead of staying pointed at the completed `/clear` message
10
+
11
+ ### ๐Ÿงช Tests
12
+
13
+ - Added `test_fire_and_forget_clear_while_task_processing` integration test โ€” verifies `current_task` and agent status are correct when fire-and-forget overlaps with an in-flight task
14
+
15
+ ## v0.5.7 - 2026-03-20
16
+
17
+ ### ๐Ÿ› Bug Fixes
18
+
19
+ - Fixed signal race condition: `/clear` followed by a real task no longer leaves the real task stuck at `processing` forever
20
+ - Root cause: `/clear` in Claude Code produces no response turn, so the Stop hook never fires โ€” its DB message blocked the FIFO signal queue, causing subsequent signals to complete the wrong task
21
+ - Fire-and-forget commands (e.g. `/clear`, `/clear hard`) are now auto-completed at send time in `send.rs`
22
+ - Agent status correctly resets to idle after fire-and-forget if no other tasks are queued
23
+
24
+ ### ๐Ÿงช Tests
25
+
26
+ - Added `is_fire_and_forget` unit tests (positive + negative cases)
27
+ - Added `test_fire_and_forget_clear_auto_completed` integration test โ€” reproduces the exact race condition and verifies signal targets the correct task
28
+
29
+ ## v0.5.6 - 2026-03-20
30
+
31
+ ### ๐ŸŒŸ Highlights
32
+
33
+ - `/clear` context management upgraded from vague guidance to **hard rules** โ€” weaker models (Haiku) no longer ignore `/clear` decisions
34
+
35
+ ### ๐ŸŽ Features
36
+
37
+ - Mandatory `/clear` triggers: topic shift, 3-task threshold, agent hint detection
38
+ - Pre-send checklist added to orchestrator playbook โ€” run before every `squad-station send`
39
+ - Explicit `How to /clear` section with code example
40
+ - QA Gate step 5 now says "Run the `/clear` checklist" instead of "Decide if `/clear` is needed"
41
+
42
+ ### ๐Ÿ”ง Maintenance
43
+
44
+ - Version bumped to 0.5.6 across Cargo.toml, npm-package/package.json, and bin/run.js binary download
45
+ - npm binary download version aligned to 0.5.6 (was stuck at 0.5.3)
46
+
47
+ ## v0.5.5 - 2026-03-19
48
+
49
+ ### ๐ŸŒŸ Highlights
50
+
51
+ - Orchestrator context can now be **auto-injected** on session start, resume, or compact โ€” no more forgetting to run `/squad-orchestrator`
52
+ - CLI simplified: `close` removed, `clean` now does everything (kill sessions + delete DB)
53
+ - New orchestrator guidance for managing agent context with `/clear`
54
+
55
+ ### ๐ŸŽ Features
56
+
57
+ - `squad-station context --inject` outputs orchestrator content to stdout for SessionStart hook consumption
58
+ - Orchestrator-only guard: detects tmux session name and silently skips injection for worker agents
59
+ - Provider-aware output format: raw markdown for Claude Code, JSON `hookSpecificOutput.additionalContext` for Gemini CLI
60
+ - Opt-in SessionStart hook during `squad-station init` with interactive prompt (default: No)
61
+ - New "Context Management โ€” /clear" section in orchestrator playbook
62
+ - QA Gate now includes step 5: "Decide if `/clear` is needed before the next task"
63
+
64
+ ### ๐Ÿ’ฅ Breaking Changes
65
+
66
+ - `squad-station close` command removed โ€” use `squad-station clean` instead
67
+ - `squad-station clean` now kills all tmux sessions AND deletes the database (previously only deleted the database)
68
+
69
+ ### ๐Ÿ”ง Maintenance
70
+
71
+ - Version aligned to 0.5.5 across Cargo.toml and npm-package/package.json
72
+ - Updated SDD playbooks in npm-package
73
+ - 171 tests passing
74
+
75
+ ## v0.5.3 - 2026-03-16
76
+
77
+ ### ๐ŸŒŸ Highlights
78
+
79
+ - New PostToolUse hook catches agent questions (AskUserQuestion) and forwards them to the orchestrator
80
+ - Elicitation dialog support for permission-like prompts
81
+
82
+ ### ๐ŸŽ Features
83
+
84
+ - PostToolUse hook: `AskUserQuestion` matcher notifies orchestrator when an agent asks a question
85
+ - Notification hook: added `elicitation_dialog` matcher alongside `permission_prompt`
86
+ - Orchestrator resolution fix for multi-agent squads
87
+
88
+ ### ๐Ÿ“š Documentation
89
+
90
+ - Added README to npm-package
91
+
92
+ ### ๐Ÿ”ง Maintenance
93
+
94
+ - `cargo fmt` formatting pass across source and tests
95
+ - 164 tests passing
96
+
97
+ ## v0.5.1 - 2026-03-16
98
+
99
+ ### ๐ŸŒŸ Highlights
100
+
101
+ - First public release as an npm package (`npx squad-station install`)
102
+ - Provider-agnostic hook system with auto-installation
103
+ - Colored, informative init output
104
+
105
+ ### ๐ŸŽ Features
106
+
107
+ - `npx squad-station install` โ€” npm package with postinstall binary download for macOS and Linux
108
+ - Colored init output with squad setup summary, hook status, and get-started instructions
109
+ - Gemini CLI hooks: AfterAgent (signal) and Notification (notify) auto-installed to `.gemini/settings.json`
110
+ - Claude Code hooks: Stop (signal) and Notification (permission_prompt) auto-installed to `.claude/settings.json`
111
+ - Gemini CLI slash command generated in TOML format (`.gemini/commands/squad-orchestrator.toml`)
112
+ - Provider-specific orchestrator context file paths resolved dynamically
113
+ - Freeze/unfreeze commands to block or allow orchestrator task dispatch
114
+ - Monitor session: tiled tmux view of all agent panes created during init
115
+ - Context command: generates unified `squad-orchestrator.md` with agent roster, routing rules, and playbook references
116
+ - Signal command: auto-detects agent from tmux pane ID, idempotent completion handling
117
+ - Full messaging pipeline: send, peek, list, signal with priority ordering (urgent > high > normal)
118
+ - SQLite WAL mode with single-writer pool and 5s busy timeout
119
+ - Literal-mode `send-keys` to prevent shell injection via tmux
120
+ - Antigravity provider support (DB-only orchestrator, no tmux session)
121
+ - SDD workflow orchestration: playbook-driven task delegation to agents
122
+ - Interactive TUI dashboard (ratatui) for monitoring agent status and messages
123
+
124
+ ### ๐Ÿ”ง Maintenance
125
+
126
+ - Rust CLI with clap argument parsing, async tokio runtime, sqlx migrations
127
+ - 160+ tests (unit + integration)
128
+ - CI workflow for tests, clippy, and fmt
129
+ - curl-pipe-sh installer script
130
+ - MIT license
package/bin/run.js CHANGED
@@ -43,7 +43,7 @@ function install() {
43
43
 
44
44
  function installBinary() {
45
45
  // Binary version โ€” may differ from npm package version
46
- var VERSION = '0.5.3';
46
+ var VERSION = '0.5.8';
47
47
  var REPO = 'thientranhung/squad-station';
48
48
 
49
49
  var platformMap = { darwin: 'darwin', linux: 'linux' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squad-station",
3
- "version": "0.5.4",
3
+ "version": "0.5.8",
4
4
  "description": "Message routing and orchestration for AI agent squads",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,8 @@
12
12
  "files": [
13
13
  "bin/",
14
14
  ".squad/sdd/",
15
- ".squad/examples/"
15
+ ".squad/examples/",
16
+ "CHANGELOG.md"
16
17
  ],
17
18
  "engines": {
18
19
  "node": ">=14"