Repository navigation
Conversation
kube
added this pull request to stack #10107
October 19, 2026 22:04
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 19, 2026 22:49
320f7e0 to
c5b1b8c
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 11:28
c5b1b8c to
c5912c1
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 13:41
c5912c1 to
d17120d
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 15:53
d17120d to
b4f4888
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 16:04
b4f4888 to
1401ffa
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 16:16
65ad085 to
06b1a02
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 16:43
06b1a02 to
5442882
Compare
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 17:08
5442882 to
b88b82a
Compare
…der in a preview The copied chat reads the panel's focus and start requests, collapses it to the Voice dock, pauses on Close and renders in AssistantPanelPreview in tests. The empty-canvas prompt offers a plugin's start action.
The Brunch integration suite calls installPetrinautDomShims without the website's vitest setup, so its DOM tests failed to load once the shim moved out.
Brunch-only UI moves into the Brunch plugin, and each assistant plugin renders its own transcript.
The comment told hosts to render the chat as an assistant plugin's view, a field the plugin API does not have; the chat is the plugin's assistant.content. It also called the assistant panel a window.
kube
force-pushed
the
claude/petrinaut-ai-own-ui
branch
from
October 20, 2026 21:11
b88b82a to
ffd9bd2
Compare
This branch was successfully deployed
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
Before this PR, Petrinaut AI on the demo site was the library's built-in chat, which the demo shell configured through the
aiAssistantprop. The AI experiments demo used the same prop.Plugin API gains what that chat needs: focus, collapse, start requests, a start action in the empty-canvas prompt and a preview. Website now has its own copy of the chat in
plugins/_shared/chat.AssistantChattakes the plugin'sapiand a configuration with thePetrinautAiAssistantfields, and renders in the assistant panel through the plugin API. Petrinaut AI and the AI experiments demo are plugins that render it, with a title in the title bar. Brunch's chat comes through theaiAssistantprop in this PR.Links
Changes
Plugin API
useAssistantPanel()adds focus, collapse and the start requestAssistantPanelTitletakesonCloseAssistantPanelPreviewrenders an assistant's content outside an editor, for stories and tests/uiexportsAiAssistantIcon,HorizontalTabsHeaderanduseExperimentalIconPackEnabledChat kit
plugins/_shared/chatholds a copy of the library's chatAssistantChatreaches the editor only through the pluginapiAssistantPanelTitleanduseAssistantPanelpresentationoption is deprecated@ai-sdk/react,@ark-ui/reactandvscode-languageserver-typesjoin the website's dependenciesPlugins
website.petrinaut-aiplugin/ai-experimentspasses its scripted assistant as thewebsite.ai-experiments-demopluginTest coverage
editor-assistant.test.tsx,ai-cta-modal.test.tsx:plugins/_shared/chat:petrinaut-ai/plugin.test.tsx:use-local-storage-ai-messages.test.ts:local-storage-demo-app.test.tsx:How to test
Petrinaut AI
Build an SIR modelin promptAI experiments demo
run