@chai-ui/vue 0.9.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/DESIGN.md +1 -1
  2. package/README.md +5 -5
  3. package/package.json +5 -4
package/DESIGN.md CHANGED
@@ -44,7 +44,7 @@ use these names: `Results`, `Compare`, `ModelPicker`,
44
44
  5. **API keys never reach the browser.** Engines call one same-origin
45
45
  route, `/api/chai/*`, served by `createChaiHandler` from
46
46
  `@chai-ui/core/server`, which adds the key. Never pass a key to
47
- `createFalEngine` or `createOpenRouterEngine`. In production, set the
47
+ `createFalEngine`, `createOpenRouterEngine` or `createVercelEngine`. In production, set the
48
48
  handler's `authorize` and `allowedModels`.
49
49
  6. **Media generation and reasoning are separate choices.** `engine`
50
50
  generates media and defaults to Fal.ai. `ChaiProvider`'s
package/README.md CHANGED
@@ -12,10 +12,10 @@
12
12
 
13
13
  # @chai-ui/vue
14
14
 
15
- Vue components for the input and output surfaces of generative-media
16
- apps: a prompt composer, a media-to-prompt analyzer, a result card and an
17
- edit card, with the AI work built in and wired to Fal.ai, OpenRouter or
18
- your own engine. Everything is controlled: you own the state with
15
+ Chai UI for Vue: drop-in components for the input and output surfaces of
16
+ generative-media apps: a prompt composer, a media-to-prompt analyzer, a result card and an
17
+ edit card, with the AI work built in and wired to Fal.ai, OpenRouter, Vercel
18
+ AI Gateway or your own engine. Everything is controlled: you own the state with
19
19
  `v-model`, and the components render it.
20
20
 
21
21
  These are the same components as [`@chai-ui/react`](https://www.npmjs.com/package/@chai-ui/react),
@@ -118,6 +118,6 @@ const chai = createChaiHandler();
118
118
  export default defineEventHandler((event) => chai.handle(toWebRequest(event)));
119
119
  ```
120
120
 
121
- Then set `FAL_KEY` and `OPENROUTER_API_KEY` on your server. Other servers,
121
+ Then set `FAL_KEY`, `OPENROUTER_API_KEY` or `AI_GATEWAY_API_KEY` on your server. Other servers,
122
122
  and `authorize` and `allowedModels` for production, are in the
123
123
  [`@chai-ui/core` README](https://github.com/kazarazat/chai-ui/tree/main/packages/core#the-server-route-chai-uicoreserver).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chai-ui/vue",
3
- "version": "0.9.0",
4
- "description": "CHAI UI Vue components — smart, drop-in UI for AI apps: Composer, Media Analyzer, Result Card, Edit Card, and the useComposer composable.",
3
+ "version": "0.10.1",
4
+ "description": "Chai UI Vue components — smart, drop-in UI for AI apps: Composer, Media Analyzer, Result Card, Edit Card, and the useComposer composable.",
5
5
  "license": "MIT",
6
6
  "author": "kazarazat",
7
7
  "homepage": "https://chai-ui.com",
@@ -14,6 +14,7 @@
14
14
  "url": "https://github.com/kazarazat/chai-ui/issues"
15
15
  },
16
16
  "keywords": [
17
+ "chai-ui",
17
18
  "ai",
18
19
  "generative-ai",
19
20
  "design-system",
@@ -46,8 +47,8 @@
46
47
  "dependencies": {
47
48
  "@fontsource/roboto": "^5.3.0",
48
49
  "@material/web": "^2.5.0",
49
- "@chai-ui/core": "0.9.0",
50
- "@chai-ui/tokens": "0.9.0"
50
+ "@chai-ui/tokens": "0.10.1",
51
+ "@chai-ui/core": "0.10.1"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@vitejs/plugin-vue": "^6.0.9",