restore tmux session in Claude pane
test / unit + widget + golden + a11y (push) Failing after 34s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped

Reverts the bare-shell diagnostic. Spawns tmux new-session -A -s
<sessionName> for persistence. Claude command will be added back
after tmux + resize are stable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jeroen Schweitzer
2026-05-01 12:20:03 +02:00
co-authored by Claude Opus 4.6
parent 29fe6795b3
commit 0b3c6bc1f8
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"exported_at": "2026-05-01T10:11:15Z",
"exported_at": "2026-05-01T10:20:03Z",
"decisions": [
{
"id": "D-1",
+8 -4
View File
@@ -123,10 +123,14 @@ class _ClaudePaneState extends State<ClaudePane> {
? primarySessionName(repoRoot)
: secondarySessionName(repoRoot, widget.secondaryIndex!);
// TODO: restore tmux+claude once resize is stable.
// Bare shell for resize debugging.
final shell = Platform.environment['SHELL'] ?? '/bin/zsh';
var argv = <String>[shell, '-l'];
// tmux-wrapped session for persistence (D-041).
var argv = <String>[
'tmux',
'new-session',
'-A',
'-s',
sessionName,
];
var resp = await ipc.request('pane.spawn', args: {
'argv': argv,
'kind': PaneKind.claude.wire,