philholden/partialupdate — reverse-engineered prompt
Reverse engineered prompt
Build me a local first demo of this idea, a multi user AI chat where the assistant can change the page itself as part of the conversation. I want the model to reply with real HTML, CSS, and JS instead of markdown, so it can add widgets, forms, visualizations, simple games, and even redesign the interface while people are chatting.
Make it feel like a shared room that multiple people can use at once. Forms created by the AI should be able to send structured input back into the conversation. It should support partial page updates so new content can be inserted or sections replaced without reloading everything. If possible, show off a few fun examples like a multiplayer game, translated views for different users, and a page that restyles itself.
Please wire it up the way this project expects with Cloudflare and the AI gateway, but keep it aimed at local development since this seems risky and I do not want surprise costs. Include clear setup using the example env files and make npm run dev work. Look up current docs online if you need to.
Want more depth? Deep Reverse