@adminforth/agent 1.26.16 → 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 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 207,892 bytes received 558 bytes 416,900.00 bytes/sec
42
- total size is 205,582 speedup is 0.99
41
+ sent 208,054 bytes received 562 bytes 417,232.00 bytes/sec
42
+ total size is 205,740 speedup is 0.99
@@ -81,13 +81,22 @@
81
81
  @click="agentStore.setFullScreen(false)"
82
82
  />
83
83
  </div>
84
-
85
- <IconCloseOutline
86
- class="m-2 w-8 h-8 p-1 cursor-pointer hover:scale-110 rounded transition-colors duration-200
87
- text-lightNavbarIcons hover:text-lightNavbarIcons/80 hover:bg-lightNavbarIcons/20
88
- dark:text-darkNavbarIcons hover:text-darkNavbarIcons/80 hover:bg-darkNavbarIcons/20 "
89
- @click="agentStore.setIsChatOpen(false)"
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 mt-4"
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' });
@@ -81,13 +81,22 @@
81
81
  @click="agentStore.setFullScreen(false)"
82
82
  />
83
83
  </div>
84
-
85
- <IconCloseOutline
86
- class="m-2 w-8 h-8 p-1 cursor-pointer hover:scale-110 rounded transition-colors duration-200
87
- text-lightNavbarIcons hover:text-lightNavbarIcons/80 hover:bg-lightNavbarIcons/20
88
- dark:text-darkNavbarIcons hover:text-darkNavbarIcons/80 hover:bg-darkNavbarIcons/20 "
89
- @click="agentStore.setIsChatOpen(false)"
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 mt-4"
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' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "1.26.16",
3
+ "version": "1.27.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",