Skip to content

Feat/vue tool provider 498#629

Open
shogun444 wants to merge 3 commits into
thesysdev:mainfrom
shogun444:feat/vue-tool-provider-498
Open

Feat/vue tool provider 498#629
shogun444 wants to merge 3 commits into
thesysdev:mainfrom
shogun444:feat/vue-tool-provider-498

Conversation

@shogun444

@shogun444 shogun444 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What

Closes #498.

This PR adds first-class tool provider support to @openuidev/vue-lang, bringing Vue much closer to feature parity with the React runtime. Queries, mutations, loading states, ActionPlan execution, and runtime error propagation are now supported through the Vue runtime.

Changes

A new useOpenUIState composable was added to manage Store, QueryManager, and parser orchestration. The runtime was migrated to createStreamingParser, query and mutation execution support was implemented, and React-equivalent ActionPlan handling was added. The renderer now supports toolProvider, queryLoader, and onError, while QueryManager instances react correctly to tool provider changes. Additional integration tests were added to cover query execution, mutations, provider updates, loading states, and error handling.

Also added Vue examples and documentation for tool-backed UI

Test Plan

Verified locally by running:

pnpm --filter @openuidev/vue-lang test
pnpm --filter @openuidev/vue-lang build

All Vue runtime tests pass successfully (36/36).

Checklist

  • I linked a related issue, if applicable
  • I updated docs/README when needed
  • I considered backwards compatibility

Comment thread packages/lang-core/tsdown.config.ts Outdated
clean: true,
deps: {
neverBundle: [/^[^./]/],
neverBundle: [/^(?![./]|[A-Za-z]:[/\\])/],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this commit has leftovers from a previous pr. kindly rebase.

Comment thread packages/react-email/tsdown.config.ts Outdated
clean: true,
deps: {
neverBundle: [/^[^./]/],
neverBundle: [/^(?![./]|[A-Za-z]:[/\\])/],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this commit has leftovers from a previous pr. kindly rebase.

clean: true,
deps: {
neverBundle: [/^[^./]/],
neverBundle: [/^(?![./]|[A-Za-z]:[/\\])/],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this commit has leftovers from a previous pr. kindly rebase.

Comment thread packages/react-lang/tsdown.config.ts Outdated
clean: true,
deps: {
neverBundle: [/^[^./]/],
neverBundle: [/^(?![./]|[A-Za-z]:[/\\])/],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this commit has leftovers from a previous pr. kindly rebase.

Comment thread packages/react-ui/tsdown.config.ts Outdated
clean: false,
deps: {
neverBundle: [/^[^./]/, /\.scss$/, /\.css$/],
neverBundle: [/^(?![./]|[A-Za-z]:[/\\])/, /\.scss$/, /\.css$/],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this commit has leftovers from a previous pr. kindly rebase.

@shogun444 shogun444 force-pushed the feat/vue-tool-provider-498 branch from bb004df to 86dcb82 Compare June 10, 2026 11:59
@shogun444

Copy link
Copy Markdown
Contributor Author

Cleaned up the scope of the PR.
removed all previous unnecessary commits.

@shogun444 shogun444 requested a review from vishxrad June 10, 2026 12:01
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.

Add tool provider support for Vue

2 participants