@adminforth/agent 2.5.0 → 2.5.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.
@@ -20,7 +20,7 @@
20
20
  rows="1"
21
21
  @input="autoResize"
22
22
  :class="[
23
- 'h-8 px-4 py-3 border-b rounded-xl rounded-b-none w-full resize-none overflow-hidden text-lightInputText dark:text-darkInputText rounded-md bg-transparent text-sm bg-gray-50 dark:bg-gray-700 dark:border-gray-600 focus:outline-none',
23
+ 'h-8 px-4 py-3 rounded-xl rounded-b-none w-full resize-none overflow-hidden text-lightInputText dark:text-darkInputText rounded-md bg-transparent text-sm bg-gray-50 dark:bg-gray-700 dark:border-gray-600 focus:outline-none',
24
24
  { '!text-base': coreStore.isIos }
25
25
  ]"
26
26
  :placeholder="placeholderText"
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div
3
3
  class="relative flex flex-col w-full group/msg"
4
+ @mouseenter="showEditButtonOnHover"
5
+ @mouseleave="hideEditButtonOnHover"
4
6
  >
5
7
  <div
6
8
  v-if="showActionsBar"
7
9
  class="absolute w-full h-[calc(100%+1.5rem)] pb-8"
8
- @mouseenter="showEditButtonOnHover"
9
- @mouseleave="hideEditButtonOnHover"
10
10
  />
11
11
  <Transition
12
12
  enter-active-class="transition ease-out duration-200"
@@ -16,7 +16,7 @@
16
16
  >
17
17
  {{ inProgress ? $t('Thinking') : $t('Thoughts') }}
18
18
  </p>
19
-
19
+ <ThreeDotsAnimation v-if="inProgress" />
20
20
  <span v-if="thinkingDuration > 0">({{ (thinkingDuration/1000).toFixed(2) }} s)</span>
21
21
  <IconAngleDownOutline
22
22
  v-if="ToolOrReasoningParts.length > 0"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="flex items-center justify-center rounded-xl border px-6 border-gray-200 dark:border-gray-700 min-w-0 transition-shadow duration-150"
3
+ class="flex items-center justify-center rounded-xl border px-6 border-gray-200 dark:border-gray-700 min-w-0 transition-shadow duration-150 z-20"
4
4
  @click="handleMarkdownLinkClick"
5
5
  :class="[
6
6
  hasVegaLite ? 'w-full my-2' : 'm-2',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",