FE-1448: Petrinaut hosts render their own interactive chat tools - #9249
Draft
lunelson wants to merge 2 commits into
Draft
FE-1448: Petrinaut hosts render their own interactive chat tools#9249lunelson wants to merge 2 commits into
lunelson wants to merge 2 commits into
Conversation
Exercise the real AiAssistantPanel and AI SDK addToolOutput path, including exactly one automatic follow-up after duplicate submits. Keep rejected submissions retryable, use Panda styles in the visible story, and delimit the synthetic transport steps to prevent repeated follow-ups.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
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.

🌟 What is the purpose of this PR?
Allow Petrinaut hosts to register typed interactive AI tools through the public
aiAssistantconfiguration. Registered tools render inline, submit exactly one output through the existing AI SDK lifecycle, and remain retryable after rejected submissions; built-in tools are unchanged and unknown tools still fail loudly.🔗 Related links
🚫 Blocked by
Nothing.
🔍 What does this change?
@hashintel/petrinautaddToolOutputfollow-up pathPre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
None.
🐾 Next steps
FE-1449 will register brunch's current structured ask component and prove suspend/resume through the real Petrinaut panel.
🛡 What tests cover this?
AiAssistantPanelsubmission/follow-up lifecycle tests, including duplicate and rejected submissions❓ How to test this?
@hashintel/petrinauttests.