Repository navigation
fix(cli): wraithgrid send marks the pane as having a conversation - #157
Merged
Merged
Conversation
The window marks a terminal pane as having a conversation when Enter is typed in it, so a restart resumes it. `wraithgrid send` wrote straight to the host, so the window never knew, and a restart started the pane fresh (H6 follow-up). After pressing Enter, send now tells the window through the existing gui relay (new `sent` action, no host protocol change). With no window open there is nothing to mark, and send still succeeds. Also clears docs/TODO.md of six items that had already shipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
H6 follow-up from
docs/TODO.md.Bug: the window marks a terminal pane as having a conversation (
hasConversation) when Enter is typed in it; that is what makes a restart resume it.wraithgrid sendwrites straight to the host, so the window never knew, and after a restart the pane started fresh instead of resuming.Fix: after pressing Enter,
wraithgrid sendtells the window through the existingguirelay thatwraithgrid new/splitalready use. A new action{ kind: 'sent', paneId }makes the window callmarkConversation. Neither host's protocol changes. With no window open there is nothing to mark, andsendstill succeeds;--no-entersends no action.Tests:
cli.test.tschecks the action is sent after Enter and not with--no-enter;cli.spec.ts(e2e) checks thatconfig.jsonhashasConversation: trueafter awraithgrid send. Also typecheck, lint, 493 unit tests.Docs:
docs/TODO.mdis cleared of six items that had already shipped: agy and Codex chat (#41, #40), "Running in background" (#39), file attach, the delete-chat confirm, the sign-in dialog.🤖 Generated with Claude Code