refactor(tui): align prompt submit dispatch#276
Open
nicko-ai wants to merge 1 commit into
Open
Conversation
- restore upstream-style fire-and-forget prompt dispatch after Run-mode gates - keep Agency auth failure recovery dialog without restoring submitted drafts - remove the completed prompt-submit cleanup queue item
Contributor
|
The following comment was made by an LLM, it may be inaccurate: |
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.
Issue for this PR
N/A - refactor PR; the PR standards workflow skips issue linking for
refactor:titles.Type of change
What does this PR do?
Restores the prompt submit path to upstream-style fire-and-forget dispatch after the existing Run-mode auth and reconnect gates pass. The submitted prompt now clears immediately, editor context is marked sent immediately, and async prompt failures report telemetry/toast while Agency auth failures still reopen
/auth.Removes the completed prompt-submit cleanup item from
FORK_CHANGELOG.md.How did you verify your code works?
npx --yes bun@1.3.13 install --frozen-lockfilenpx --yes bun@1.3.13 test --timeout 30000 test/cli/tui/prompt.test.tsxnpx --yes bun@1.3.13 test --timeout 30000 test/cli/tui/session-error.test.ts test/cli/tui/dialog-auth-modal.test.tsx test/cli/tui/prompt-framework-mode.test.tsxnpx --yes bun@1.3.13 run typecheckfrompackages/opencodebun turbo typecheckwith Bun 1.3.13Screenshots / recordings
N/A - TUI submit-control refactor covered by focused tests.
Checklist