@yh-ui/nuxt 0.1.7 → 0.1.12

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.
package/dist/module.cjs CHANGED
@@ -142,7 +142,25 @@ const yhNuxtModule = kit.defineNuxtModule({
142
142
  "Grid",
143
143
  "GridItem",
144
144
  // Mention
145
- "Mention"
145
+ "Mention",
146
+ // AI Components
147
+ "AiChat",
148
+ "AiBubble",
149
+ "AiSender",
150
+ "AiThoughtChain",
151
+ "AiCodeBlock",
152
+ "AiThinking",
153
+ "AiWelcome",
154
+ "AiActionGroup",
155
+ "AiEditorSender",
156
+ "AiArtifacts",
157
+ "AiVoiceTrigger",
158
+ "AiConversations",
159
+ "AiPrompts",
160
+ // New AI Components (Phase 2-5)
161
+ "AiAgentCard",
162
+ "AiSources",
163
+ "AiProvider"
146
164
  ];
147
165
  components.forEach((name) => {
148
166
  kit.addComponent({
@@ -164,7 +182,15 @@ const yhNuxtModule = kit.defineNuxtModule({
164
182
  "useEventListener",
165
183
  "useScrollLock",
166
184
  "useClickOutside",
167
- "useConfig"
185
+ "useConfig",
186
+ "useAiChat",
187
+ "useAiStream",
188
+ "useAiConversations",
189
+ // Adapters / parsers
190
+ "openaiParser",
191
+ "ernieParser",
192
+ "qwenParser",
193
+ "plainTextParser"
168
194
  ];
169
195
  hooks.forEach((name) => {
170
196
  kit.addImports({
package/dist/module.mjs CHANGED
@@ -135,7 +135,25 @@ const yhNuxtModule = defineNuxtModule({
135
135
  "Grid",
136
136
  "GridItem",
137
137
  // Mention
138
- "Mention"
138
+ "Mention",
139
+ // AI Components
140
+ "AiChat",
141
+ "AiBubble",
142
+ "AiSender",
143
+ "AiThoughtChain",
144
+ "AiCodeBlock",
145
+ "AiThinking",
146
+ "AiWelcome",
147
+ "AiActionGroup",
148
+ "AiEditorSender",
149
+ "AiArtifacts",
150
+ "AiVoiceTrigger",
151
+ "AiConversations",
152
+ "AiPrompts",
153
+ // New AI Components (Phase 2-5)
154
+ "AiAgentCard",
155
+ "AiSources",
156
+ "AiProvider"
139
157
  ];
140
158
  components.forEach((name) => {
141
159
  addComponent({
@@ -157,7 +175,15 @@ const yhNuxtModule = defineNuxtModule({
157
175
  "useEventListener",
158
176
  "useScrollLock",
159
177
  "useClickOutside",
160
- "useConfig"
178
+ "useConfig",
179
+ "useAiChat",
180
+ "useAiStream",
181
+ "useAiConversations",
182
+ // Adapters / parsers
183
+ "openaiParser",
184
+ "ernieParser",
185
+ "qwenParser",
186
+ "plainTextParser"
161
187
  ];
162
188
  hooks.forEach((name) => {
163
189
  addImports({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yh-ui/nuxt",
3
- "version": "0.1.7",
3
+ "version": "0.1.12",
4
4
  "description": "Nuxt module for YH-UI",
5
5
  "type": "module",
6
6
  "main": "./dist/module.cjs",
@@ -18,8 +18,8 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@nuxt/kit": "^3.11.0 || ^4.0.0",
21
- "@yh-ui/components": "0.1.7",
22
- "@yh-ui/theme": "0.1.7"
21
+ "@yh-ui/components": "0.1.12",
22
+ "@yh-ui/theme": "0.1.12"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@nuxt/schema": "^3.11.0 || ^4.0.0",
@@ -42,6 +42,7 @@
42
42
  "nuxt",
43
43
  "module"
44
44
  ],
45
+ "homepage": "https://1079161148.github.io/yh-ui/",
45
46
  "license": "MIT",
46
47
  "scripts": {
47
48
  "build": "unbuild",