Conversation
… YAML parsing - Remove framer-motion layout prop from MessageBubble and ChatInput to stop bounce during streaming and typing. Use instant scroll for streaming updates, smooth only for new messages. - Dashboard iframe now uses ha_url_remote (respecting url_preference) instead of the backend-internal ha_url. list_dashboards errors propagate as 502 with a frontend warning instead of silent empty list. - Add action_type="helper" to seek_approval so the architect can propose input helper creation (input_boolean, input_number, etc.) through the HITL approval flow. Includes deploy handler dispatching to all 8 HA create_* methods and updated architect system prompt. - Extract public parse_ha_yaml() and detect_proposal_type() from src/schema/core.py. Add yaml_content field to ProposalCreate so the backend handles all YAML parsing via the canonical pipeline. Simplify frontend handleCreateProposal from 70 lines to a single raw YAML POST, eliminating the silent catch that created empty proposals. Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
layoutprop from MessageBubble and ChatInput; use instant scroll during streaming, smooth only for new messagesha_url_remote(respectingurl_preference) for iframe URL; propagatelist_dashboardserrors as 502 with frontend warningaction_type="helper"toseek_approvalwith deploy handler for all 8 HAcreate_*methods; document in architect promptparse_ha_yaml()/detect_proposal_type()from schema internals; addyaml_contentfield toProposalCreate; simplify frontend to a single raw YAML POSTTest plan
make ci-localpasses (format, lint, mypy, bandit, pytest)Made with Cursor