agileflow 4.0.0-alpha.26 → 4.0.0-alpha.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agileflow",
3
- "version": "4.0.0-alpha.26",
3
+ "version": "4.0.0-alpha.28",
4
4
  "description": "AI-driven agile development toolkit for Claude Code — skills-first architecture with opt-in plugins (v4)",
5
5
  "keywords": [
6
6
  "agile",
@@ -273,15 +273,18 @@ const TAB_KEYBINDS = [
273
273
  hint: "Alt+, → rename current tab",
274
274
  },
275
275
  {
276
- // Direct kill-window no CLI roundtrip. The previous
277
- // run-shell-to-agileflow approach added Node-startup latency
278
- // (150ms+) and could no-op silently if the binary path resolution
279
- // returned stale state (e.g. after npx cache cleanup). Killing
280
- // via tmux directly is instant and bulletproof. Undo is provided
281
- // by Alt+Shift+T (which reads the closed-windows log populated by
282
- // the window-unlinked hook installed in applyTabFormat).
276
+ // Routes through the agileflow callback which probes the window's
277
+ // name + cwd, pushes a closed-window record (for Alt+Shift+T undo),
278
+ // then kill-windows. The callback adds ~150ms Node-startup
279
+ // latency vs direct kill-window, but in exchange the user gets
280
+ // a working undo (Chrome's Ctrl+Shift+T pattern). We pass session
281
+ // and window index positionally so a focus shift between Alt+w
282
+ // and the subprocess running doesn't close the wrong tab.
283
283
  key: "M-w",
284
- action: ["kill-window"],
284
+ action: [
285
+ "run-shell",
286
+ "%AGILEFLOW% launch __close-window #{session_name} #{window_index}",
287
+ ],
285
288
  hint: "Alt+w → close current tab (Alt+Shift+T to undo)",
286
289
  },
287
290
  {