ai-chat-bot-interface 1.5.0 → 1.5.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-chat-bot-interface",
3
3
  "private": false,
4
- "version": "1.5.0",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "description": "A AI chat bot interface. (private)",
@@ -19,13 +19,13 @@
19
19
  "dependencies": {
20
20
  "markdown-it": "^14.1.0",
21
21
  "v-viewer": "^3.0.21",
22
- "vue": "^3.5.13"
22
+ "vue": "^3.2.25"
23
23
  },
24
24
  "devDependencies": {
25
- "@vitejs/plugin-vue": "^5.2.1",
26
- "less": "^4.2.2",
25
+ "@vitejs/plugin-vue": "^2.3.3",
26
+ "less": "^4.1.2",
27
27
  "prettier": "^2.6.2",
28
- "vite": "^6.1.0"
28
+ "vite": "^2.9.9"
29
29
  },
30
30
  "author": "lin_26",
31
31
  "license": "MIT"
package/src/App.vue CHANGED
@@ -5,8 +5,8 @@ import ChatUi from './ChatUi.vue';
5
5
  <template>
6
6
  <div style="width: 100vw; height: 100vh">
7
7
  <chat-ui
8
- bot-id="555"
9
- token="pat_888"
8
+ bot-id="55555"
9
+ token="pat_888888888888"
10
10
  uid="262598"
11
11
  :def-msg="{ placeholder: '发消息...' }"
12
12
  :show-header="true"
package/src/ChatUi.vue CHANGED
@@ -174,7 +174,7 @@ import ThinkingIcon from './components/icons/ThinkingIcon.vue';
174
174
  import OkIcon from './components/icons/OkIcon.vue';
175
175
  import AssistantReplay from './components/assistantReplay/assistantReplay.vue';
176
176
  import StoreList from './components/StoreList/StoreList.vue';
177
- import MarkdownViewer from "@/components/MarkdownPlan/MarkdownViewer.vue";
177
+ import MarkdownViewer from "./components/MarkdownPlan/MarkdownViewer.vue";
178
178
 
179
179
 
180
180
  const chatOptions = computed(() => {
package/vite.config.js CHANGED
@@ -1,13 +1,12 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue';
3
- import path from 'path';
4
3
 
5
4
  // https://vite.dev/config/
6
5
  export default defineConfig({
7
6
  plugins: [vue()],
8
7
  resolve: {
9
8
  alias: {
10
- '@': path.resolve(__dirname, 'src'),
9
+ '@': '/src'
11
10
  },
12
11
  },
13
12
  css: {