Svelte/SvelteKit parity beyond the initial renderer
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- react, typescript
- Área
- developer-experience
Línea de trabajo
Start by reading the existing Svelte and React package docs and comparing @openuidev/svelte-lang with @openuidev/react-lang; use examples/svelte-chat and examples/openui-chat to understand the example experience. The issue proposes several possible work areas but does not settle scope or define completion, so get maintainer direction before choosing a change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
OpenUI already has initial Svelte support through @openuidev/svelte-lang and examples/svelte-chat, which appears to address the original Svelte renderer request in #302.
I would like to help improve the next layer of Svelte/SvelteKit parity with the React-first experience, but I want to align on scope before opening implementation PRs.
This is intended as a roadmap/discussion issue, not a request to merge one large cross-package change.
Existing related issues
- #302 added/requested the initial Svelte renderer and SvelteKit example. This issue should not duplicate that work.
- #498 tracks tool provider support for Vue, which looks like a similar parity concern for non-React runtimes.
- #368 discusses DX for schema/system prompt generation across backends.
- #549 notes that Vue/Svelte renderer tests already exist and can be used as references for React renderer tests.
Current state
From the current repo structure and docs:
@openuidev/svelte-langexists.examples/svelte-chatexists as a SvelteKit + AI SDK example.- The main CLI
createflow is still documented as scaffolding a Next.js app. - React has a broader product surface through:
@openuidev/react-lang@openuidev/react-headless@openuidev/react-uiexamples/openui-chat- CLI scaffolding
Proposed contribution areas
I would like maintainer feedback on splitting this into small PRs:
-
Svelte/SvelteKit parity matrix
- Document what is supported today in Svelte/SvelteKit vs React.
- Separate intentional React-only areas from gaps that should be closed.
-
Svelte renderer/runtime parity audit
- Compare
@openuidev/react-langRenderer behavior with@openuidev/svelte-lang. - Check advanced runtime concerns such as:
- tool provider support
Query/Mutationexecution- loading and error reporting
- state hydration
- parse callbacks
- Close small gaps where maintainers agree they should be supported.
- Compare
-
SvelteKit example hardening
- Make
examples/svelte-chata strong canonical SvelteKit reference. - Verify setup docs, environment variables, generated prompt flow, dev/build commands, and examples.
- Add tests/checks only where they follow existing repo patterns.
- Make
-
CLI SvelteKit scaffold
- Add a create option such as
openui create --framework sveltekit, if maintainers want the CLI to support framework selection. - Reuse
examples/svelte-chatas the source template if that fits the current CLI architecture.
- Add a create option such as
-
Future discussion: Svelte headless/UI packages
- Discuss separately whether
@openuidev/svelte-headlessor@openuidev/svelte-uishould exist. - I would not start with new packages unless maintainers want to expand the public package surface.
- Discuss separately whether
Non-goals for the first PRs
- No large all-at-once parity PR.
- No duplicate implementation of the initial Svelte renderer already covered by #302.
- No new public Svelte UI package without maintainer approval.
- No broad refactors of
lang-coreor React packages unless needed for an approved scope. - No attempt to copy React APIs 1:1 where SvelteKit conventions call for a different API.
Suggested first PR
If this direction is acceptable, I suggest starting with either:
- a small Svelte/SvelteKit parity matrix doc, or
- a focused audit/fix PR for
@openuidev/svelte-langrenderer/runtime parity.
Questions for maintainers
- Is this next layer of Svelte/SvelteKit parity something the project wants to accept incrementally?
- Should the CLI grow a SvelteKit framework option, or should SvelteKit remain example-only for now?
- Should tool provider /
Query/Mutationparity be handled for Svelte similarly to #498 for Vue? - Are new package surfaces like
svelte-headless/svelte-uiin scope, or should contributions stay limited tosvelte-lang, examples, docs, and CLI? - Which first PR would be most useful to review?
- Lenguaje dominante
- TypeScript
- Estrellas
- 10k
- Forks
- 698
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 148
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de thesysdev/openui
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
thesysdev/openui#1445 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add dataInvention flag to PromptOptions to disable the 'generate realistic/plausible data' ruleAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
thesysdev/openui#959 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
Los mantenedores suelen responder en 1 día
Todos los issues de thesysdev/openui
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
transitmatters/shutdown-tracker#155 ·
Los mantenedores suelen responder en 2 días
-
Popping out a single panel leaves its always render overlay in the main window, blocking clicksAbiertobug triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
"Claude Code request is missing its initial user message" when the prompt starts with an image pathAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
earendil-works/pi-claude-code#31 ·
Los mantenedores suelen responder en 8 días
-
bug pending triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
privatenumber/cleye#48 ·