Skip to content

docs(playground): ai powered stream#172

Merged
farnabaz merged 30 commits into
mainfrom
docs/playground-stream
May 7, 2026
Merged

docs(playground): ai powered stream#172
farnabaz merged 30 commits into
mainfrom
docs/playground-stream

Conversation

@larbish
Copy link
Copy Markdown
Contributor

@larbish larbish commented Apr 30, 2026

Nuxt UI components:

palygroundAINuxtUI.mp4

Custom playground components:

ComarkPlaygroundAI.mp4

Edit: also resolves #181

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
comark Ready Ready Preview May 6, 2026 5:10pm
comark-json-render Ready Ready Preview May 6, 2026 5:10pm
comark-nextjs Ready Ready Preview May 6, 2026 5:10pm
comark-nuxt Ready Ready Preview May 6, 2026 5:10pm
comark-svelte Ready Ready Preview May 6, 2026 5:10pm
comark-twoslash Ready Ready Preview May 6, 2026 5:10pm
comark-vue Ready Ready Preview May 6, 2026 5:10pm

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 5, 2026

Open in StackBlitz

comark

npm i https://pkg.pr.new/comark@172

@comark/ansi

npm i https://pkg.pr.new/@comark/ansi@172

@comark/html

npm i https://pkg.pr.new/@comark/html@172

@comark/nuxt

npm i https://pkg.pr.new/@comark/nuxt@172

@comark/react

npm i https://pkg.pr.new/@comark/react@172

@comark/svelte

npm i https://pkg.pr.new/@comark/svelte@172

@comark/vue

npm i https://pkg.pr.new/@comark/vue@172

commit: c0c6056

Copy link
Copy Markdown
Contributor

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

For future, I think we can simplify the schema and test AI with simpler prompt.
I was thinking about removing json schema and only having llms.txt like file:

### components
- Card (*title, description, image - #header, #footer, #default) - description
- Card2 (*title, description - #header, #footer, #default) - description

There is lots of more information about the component that we can pass to the AI, but I believe we can have more trust in Agents and let them detect types, values and examples from whole context.

@larbish
Copy link
Copy Markdown
Contributor Author

larbish commented May 7, 2026

@farnabaz The idea behind the schema.json is simply a POC. It has been generated by this script that could become more generic and then can be used by users (and maybe get rid of nuxt component meta). In fact we can discuss it with @atinux but it could even become an mcp tool @comark/nuxt can expose to help users generate their own schema 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

All Features page on the website doesn't work

3 participants