Repository navigation
feat(hq): redesign HQ to the approved design, and use the SDK's dismiss, allow-always and stop - #980
Merged
Merged
Conversation
…K's dismiss, allow-always and stop
Merged
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.
📝 Description
What does this PR do?
It redesigns HQ, the Blazor playground app, to the approved design, and makes HQ use what the SDK already offers where upstream's own app uses it.
The board applies a session's later title.
SessionCreated, before the server had named it, and it ignoredSessionRenamed. A session made in HQ therefore kept a blank title, and its row had nothing to click.SessionRenamed, and an untitled row links as "Untitled session".The redesign:
localStorage.prefers-reduced-motion.Asks and forms, following upstream's app at the pin (opencode 2.3.2):
PermissionReply.Always, and the server saves the rule.settings.permissions.tool.<action>.descriptionstrings. An action with no description shows as code, as in the app.Message,metadata.input, then the resources.metadata.files[].patch. Upstream's TUI shows the same preview; the app does not.SessionClient.CancelFormAsync.InterruptAsyncwithResume = trueand ignores a refusal, as the app does.Stale asks. When a turn is interrupted, upstream's server drops the pending ask without publishing an event (anomalyco/opencode#55678, confirmed at 2.3.2).
Not matched to upstream: none of the labels above. The re-list on a turn's end is the one recorded divergence.
Further upstream app actions are tracked on the project board.
Related Issue(s):
🔄 Type of Change
🎯 Protocol & API Surface
spec/) is untouchedexternal/was hand-edited🧪 Testing
Each new test failed on the code without its change, or on a no-op, and passes now.
opencode serve(2.3.2):Test Environment:
net11.0), plus the full gate on all targets✅ Completion Gate
quality-gates.mdpasses on the head rebased ontomaster, and HQ's test project passes in full (120).📚 Documentation
playground/hq/README.mdupdated: the SDK calls dock, and the re-list with its reasonCHANGELOG.mdentry added under[Unreleased]✅ Code Quality Checklist
🔍 Additional Notes
Breaking Changes: none. Dependencies: Markdig, for the HQ playground only.