@meistrari/chat-nuxt 1.5.1 → 1.7.0
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/README.md +82 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +129 -3
- package/dist/runtime/components/MeistrariChatEmbed.vue +3 -0
- package/dist/runtime/components/chat/message-bubble.vue +2 -1
- package/dist/runtime/composables/useChat.js +4 -2
- package/dist/runtime/composables/useChatApi.js +6 -1
- package/dist/runtime/composables/useConversations.js +5 -2
- package/dist/runtime/composables/useEmbedConfig.d.ts +2 -0
- package/dist/runtime/composables/useEmbedConfig.js +5 -0
- package/dist/runtime/composables/useGitHubSkills.js +2 -1
- package/dist/runtime/composables/useWorkspaceExternalSkills.js +2 -1
- package/dist/runtime/composables/useWorkspaceMembers.js +2 -1
- package/dist/runtime/composables/useWorkspaceSettings.js +2 -1
- package/dist/runtime/composables/useWorkspaces.js +2 -1
- package/dist/runtime/embed/components/ChatEmbed.vue +7 -3
- package/dist/runtime/embed/components/ChatEmbedInner.vue +2 -1
- package/dist/runtime/internal/agent-environment-resolver.stub.d.ts +2 -0
- package/dist/runtime/internal/agent-environment-resolver.stub.js +1 -0
- package/dist/runtime/server/api/conversations/[id]/duplicate.post.js +1 -0
- package/dist/runtime/server/api/conversations/[id]/messages/[messageId]/retry.post.js +6 -2
- package/dist/runtime/server/api/conversations/[id]/messages/index.post.js +6 -2
- package/dist/runtime/server/api/conversations/index.post.js +1 -0
- package/dist/runtime/server/db/schema/conversations.d.ts +17 -0
- package/dist/runtime/server/db/schema/conversations.js +1 -0
- package/dist/runtime/server/utils/agent-api.js +4 -3
- package/dist/runtime/server/utils/agent-environment.d.ts +8 -0
- package/dist/runtime/server/utils/agent-environment.js +34 -0
- package/dist/runtime/server/utils/auth-token.d.ts +2 -0
- package/dist/runtime/server/utils/auth-token.js +21 -0
- package/dist/runtime/server/utils/chat-context.d.ts +2 -0
- package/dist/runtime/server/utils/chat-context.js +15 -1
- package/dist/runtime/server/utils/conversation-agent-turn.d.ts +6 -1
- package/dist/runtime/server/utils/conversation-agent-turn.js +27 -8
- package/dist/runtime/server/utils/conversation-scope.js +2 -1
- package/dist/runtime/server/utils/tela-api.js +2 -1
- package/dist/runtime/server/utils/workspace.js +3 -1
- package/dist/runtime/types/chat-agent-environment-resolver.d.ts +4 -0
- package/dist/runtime/types/chat-auth.d.ts +35 -0
- package/dist/runtime/types/embed.d.ts +19 -0
- package/dist/runtime/utils/tela-chat.d.ts +3 -1
- package/dist/runtime/utils/tela-chat.js +11 -2
- package/drizzle/0015_illegal_blindfold.sql +1 -0
- package/drizzle/meta/0015_snapshot.json +738 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +6 -1
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/chat-nuxt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/types.d.mts",
|
|
8
8
|
"import": "./dist/module.mjs"
|
|
9
9
|
},
|
|
10
|
+
"./components/MeistrariChatEmbed": {
|
|
11
|
+
"types": "./dist/runtime/components/MeistrariChatEmbed.vue.d.ts",
|
|
12
|
+
"import": "./dist/runtime/components/MeistrariChatEmbed.vue"
|
|
13
|
+
},
|
|
10
14
|
"./assets/css/*": "./dist/runtime/assets/css/*",
|
|
11
15
|
"./types/*": {
|
|
12
16
|
"types": "./dist/runtime/types/*.d.ts",
|
|
@@ -26,6 +30,7 @@
|
|
|
26
30
|
"scripts": {
|
|
27
31
|
"build": "mkdir -p .nuxt && { [ -f .nuxt/tsconfig.json ] || printf '{}' > .nuxt/tsconfig.json; } && { [ -f .nuxt/tsconfig.server.json ] || printf '{}' > .nuxt/tsconfig.server.json; } && nuxt-module-build build",
|
|
28
32
|
"dev:prepare": "nuxt-module-build build --stub",
|
|
33
|
+
"test:types": "pnpm build && tsc -p tsconfig.type-tests.json --noEmit",
|
|
29
34
|
"smoke:pack": "./scripts/smoke-pack-consumer.sh",
|
|
30
35
|
"lint": "eslint .",
|
|
31
36
|
"lint:fix": "eslint . --fix",
|