@adminforth/agent 1.26.15 → 1.27.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/build.log +2 -2
- package/custom/ChatSurface.vue +17 -8
- package/custom/SessionsHistory.vue +1 -9
- package/custom/conversation_area/ReasoningRenderer.vue +1 -1
- package/custom/conversation_area/TextRenderer.vue +1 -1
- package/dist/custom/ChatSurface.vue +17 -8
- package/dist/custom/SessionsHistory.vue +1 -9
- package/dist/custom/conversation_area/ReasoningRenderer.vue +1 -1
- package/dist/custom/conversation_area/TextRenderer.vue +1 -1
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -38,5 +38,5 @@ custom/skills/fetch_data/SKILL.md
|
|
|
38
38
|
custom/skills/mutate_data/
|
|
39
39
|
custom/skills/mutate_data/SKILL.md
|
|
40
40
|
|
|
41
|
-
sent
|
|
42
|
-
total size is 205,
|
|
41
|
+
sent 208,054 bytes received 562 bytes 417,232.00 bytes/sec
|
|
42
|
+
total size is 205,740 speedup is 0.99
|
package/custom/ChatSurface.vue
CHANGED
|
@@ -81,13 +81,22 @@
|
|
|
81
81
|
@click="agentStore.setFullScreen(false)"
|
|
82
82
|
/>
|
|
83
83
|
</div>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
<div class="flex items-center justify-center">
|
|
85
|
+
<Button
|
|
86
|
+
@click="agentStore.createPreSession(); agentStore.setSessionHistoryOpen(false); agentStore.focusTextInput();"
|
|
87
|
+
:disabled="agentStore.isResponseInProgress"
|
|
88
|
+
class="!py-2 !px-2 rounded-3xl text-gray-800 dark:text-gray-200 max-w-64 mr-2"
|
|
89
|
+
>
|
|
90
|
+
<IconPlusOutline class="w-5 h-5" />
|
|
91
|
+
{{ $t('New chat') }}
|
|
92
|
+
</Button>
|
|
93
|
+
<IconCloseOutline
|
|
94
|
+
class="m-2 w-8 h-8 p-1 cursor-pointer hover:scale-110 rounded transition-colors duration-200
|
|
95
|
+
text-lightNavbarIcons hover:text-lightNavbarIcons/80 hover:bg-lightNavbarIcons/20
|
|
96
|
+
dark:text-darkNavbarIcons hover:text-darkNavbarIcons/80 hover:bg-darkNavbarIcons/20 "
|
|
97
|
+
@click="agentStore.setIsChatOpen(false)"
|
|
98
|
+
/>
|
|
99
|
+
</div>
|
|
91
100
|
|
|
92
101
|
</div>
|
|
93
102
|
<div
|
|
@@ -177,7 +186,7 @@
|
|
|
177
186
|
|
|
178
187
|
<script setup lang="ts">
|
|
179
188
|
import { IconChatBubbleLeft20Solid, IconSparklesSolid, IconArrowsPointingOut, IconArrowsPointingIn } from '@iconify-prerendered/vue-heroicons';
|
|
180
|
-
import { IconCloseOutline, IconBarsOutline, IconArrowUpOutline, IconCloseSidebarSolid, IconOpenSidebarSolid, IconAngleDownOutline } from '@iconify-prerendered/vue-flowbite';
|
|
189
|
+
import { IconCloseOutline, IconBarsOutline, IconArrowUpOutline, IconCloseSidebarSolid, IconOpenSidebarSolid, IconAngleDownOutline, IconPlusOutline } from '@iconify-prerendered/vue-flowbite';
|
|
181
190
|
import { useTemplateRef, onMounted, ref } from 'vue';
|
|
182
191
|
import { onClickOutside } from '@vueuse/core'
|
|
183
192
|
import ConversationArea from './conversation_area/ConversationArea.vue';
|
|
@@ -7,14 +7,6 @@
|
|
|
7
7
|
>
|
|
8
8
|
<h3 :class="h3Style">{{ $t('Chat history') }}</h3>
|
|
9
9
|
<div class="w-full flex items-center justify-center">
|
|
10
|
-
<Button
|
|
11
|
-
@click="agentStore.createPreSession(); agentStore.setSessionHistoryOpen(false); agentStore.focusTextInput();"
|
|
12
|
-
:disabled="agentStore.isResponseInProgress"
|
|
13
|
-
class="w-[90%] my-2 mb-4 rounded-3xl text-gray-800 dark:text-gray-200"
|
|
14
|
-
>
|
|
15
|
-
<IconPlusOutline class="w-5 h-5" />
|
|
16
|
-
{{ $t('New chat') }}
|
|
17
|
-
</Button>
|
|
18
10
|
</div>
|
|
19
11
|
<div class="w-full border-b border-gray-200 dark:border-gray-700"/>
|
|
20
12
|
<div class="absolute w-full h-full flex flex-col items-center justify-center bg-gray-100/50 dark:bg-gray-700/50 z-10" v-if="agentStore.isResponseInProgress">
|
|
@@ -62,7 +54,7 @@ import { useAgentStore } from './composables/useAgentStore';
|
|
|
62
54
|
|
|
63
55
|
const agentStore = useAgentStore();
|
|
64
56
|
|
|
65
|
-
const h3Style = "text-gray-800 dark:text-gray-200 font-medium text-xl tracking-widest
|
|
57
|
+
const h3Style = "text-gray-800 dark:text-gray-200 font-medium text-xl tracking-widest my-2"
|
|
66
58
|
|
|
67
59
|
const dayLabelFormatter = new Intl.DateTimeFormat(undefined, { month: 'short', day: 'numeric' });
|
|
68
60
|
const dayLabelWithYearFormatter = new Intl.DateTimeFormat(undefined, { month: 'short', day: 'numeric', year: 'numeric' });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<li class="mb-6
|
|
2
|
+
<li class="mb-6 mx-2 mt-2 px-2 z-50 overflow-hidden">
|
|
3
3
|
<span class="bg-lightNavbar dark:bg-darkNavbar absolute flex items-center text-listTableHeadingText dark:text-darkListTableHeadingText justify-center w-5 h-5 bg-brand-softer rounded-full -start-[0.68rem] ring-4 ring-lightNavbar dark:ring-darkNavbar ring-default">
|
|
4
4
|
<div class="w-5 h-5 rounded-full flex items-center justify-center">
|
|
5
5
|
<IconBrainOutline class="w-4 h-4" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@click="handleMarkdownLinkClick"
|
|
5
5
|
:class="[
|
|
6
6
|
hasVegaLite ? 'w-full' : '',
|
|
7
|
-
props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end max-w-[80%]'
|
|
7
|
+
props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end max-w-[80%] mr-4'
|
|
8
8
|
: 'border-none self-start'
|
|
9
9
|
]"
|
|
10
10
|
>
|
|
@@ -81,13 +81,22 @@
|
|
|
81
81
|
@click="agentStore.setFullScreen(false)"
|
|
82
82
|
/>
|
|
83
83
|
</div>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
<div class="flex items-center justify-center">
|
|
85
|
+
<Button
|
|
86
|
+
@click="agentStore.createPreSession(); agentStore.setSessionHistoryOpen(false); agentStore.focusTextInput();"
|
|
87
|
+
:disabled="agentStore.isResponseInProgress"
|
|
88
|
+
class="!py-2 !px-2 rounded-3xl text-gray-800 dark:text-gray-200 max-w-64 mr-2"
|
|
89
|
+
>
|
|
90
|
+
<IconPlusOutline class="w-5 h-5" />
|
|
91
|
+
{{ $t('New chat') }}
|
|
92
|
+
</Button>
|
|
93
|
+
<IconCloseOutline
|
|
94
|
+
class="m-2 w-8 h-8 p-1 cursor-pointer hover:scale-110 rounded transition-colors duration-200
|
|
95
|
+
text-lightNavbarIcons hover:text-lightNavbarIcons/80 hover:bg-lightNavbarIcons/20
|
|
96
|
+
dark:text-darkNavbarIcons hover:text-darkNavbarIcons/80 hover:bg-darkNavbarIcons/20 "
|
|
97
|
+
@click="agentStore.setIsChatOpen(false)"
|
|
98
|
+
/>
|
|
99
|
+
</div>
|
|
91
100
|
|
|
92
101
|
</div>
|
|
93
102
|
<div
|
|
@@ -177,7 +186,7 @@
|
|
|
177
186
|
|
|
178
187
|
<script setup lang="ts">
|
|
179
188
|
import { IconChatBubbleLeft20Solid, IconSparklesSolid, IconArrowsPointingOut, IconArrowsPointingIn } from '@iconify-prerendered/vue-heroicons';
|
|
180
|
-
import { IconCloseOutline, IconBarsOutline, IconArrowUpOutline, IconCloseSidebarSolid, IconOpenSidebarSolid, IconAngleDownOutline } from '@iconify-prerendered/vue-flowbite';
|
|
189
|
+
import { IconCloseOutline, IconBarsOutline, IconArrowUpOutline, IconCloseSidebarSolid, IconOpenSidebarSolid, IconAngleDownOutline, IconPlusOutline } from '@iconify-prerendered/vue-flowbite';
|
|
181
190
|
import { useTemplateRef, onMounted, ref } from 'vue';
|
|
182
191
|
import { onClickOutside } from '@vueuse/core'
|
|
183
192
|
import ConversationArea from './conversation_area/ConversationArea.vue';
|
|
@@ -7,14 +7,6 @@
|
|
|
7
7
|
>
|
|
8
8
|
<h3 :class="h3Style">{{ $t('Chat history') }}</h3>
|
|
9
9
|
<div class="w-full flex items-center justify-center">
|
|
10
|
-
<Button
|
|
11
|
-
@click="agentStore.createPreSession(); agentStore.setSessionHistoryOpen(false); agentStore.focusTextInput();"
|
|
12
|
-
:disabled="agentStore.isResponseInProgress"
|
|
13
|
-
class="w-[90%] my-2 mb-4 rounded-3xl text-gray-800 dark:text-gray-200"
|
|
14
|
-
>
|
|
15
|
-
<IconPlusOutline class="w-5 h-5" />
|
|
16
|
-
{{ $t('New chat') }}
|
|
17
|
-
</Button>
|
|
18
10
|
</div>
|
|
19
11
|
<div class="w-full border-b border-gray-200 dark:border-gray-700"/>
|
|
20
12
|
<div class="absolute w-full h-full flex flex-col items-center justify-center bg-gray-100/50 dark:bg-gray-700/50 z-10" v-if="agentStore.isResponseInProgress">
|
|
@@ -62,7 +54,7 @@ import { useAgentStore } from './composables/useAgentStore';
|
|
|
62
54
|
|
|
63
55
|
const agentStore = useAgentStore();
|
|
64
56
|
|
|
65
|
-
const h3Style = "text-gray-800 dark:text-gray-200 font-medium text-xl tracking-widest
|
|
57
|
+
const h3Style = "text-gray-800 dark:text-gray-200 font-medium text-xl tracking-widest my-2"
|
|
66
58
|
|
|
67
59
|
const dayLabelFormatter = new Intl.DateTimeFormat(undefined, { month: 'short', day: 'numeric' });
|
|
68
60
|
const dayLabelWithYearFormatter = new Intl.DateTimeFormat(undefined, { month: 'short', day: 'numeric', year: 'numeric' });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<li class="mb-6
|
|
2
|
+
<li class="mb-6 mx-2 mt-2 px-2 z-50 overflow-hidden">
|
|
3
3
|
<span class="bg-lightNavbar dark:bg-darkNavbar absolute flex items-center text-listTableHeadingText dark:text-darkListTableHeadingText justify-center w-5 h-5 bg-brand-softer rounded-full -start-[0.68rem] ring-4 ring-lightNavbar dark:ring-darkNavbar ring-default">
|
|
4
4
|
<div class="w-5 h-5 rounded-full flex items-center justify-center">
|
|
5
5
|
<IconBrainOutline class="w-4 h-4" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@click="handleMarkdownLinkClick"
|
|
5
5
|
:class="[
|
|
6
6
|
hasVegaLite ? 'w-full' : '',
|
|
7
|
-
props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end max-w-[80%]'
|
|
7
|
+
props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end max-w-[80%] mr-4'
|
|
8
8
|
: 'border-none self-start'
|
|
9
9
|
]"
|
|
10
10
|
>
|