@adminforth/agent 1.16.3 → 1.16.4
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
|
@@ -31,5 +31,5 @@ custom/skills/fetch_data/SKILL.md
|
|
|
31
31
|
custom/skills/mutate_data/
|
|
32
32
|
custom/skills/mutate_data/SKILL.md
|
|
33
33
|
|
|
34
|
-
sent
|
|
35
|
-
total size is 183,
|
|
34
|
+
sent 185,131 bytes received 436 bytes 371,134.00 bytes/sec
|
|
35
|
+
total size is 183,342 speedup is 0.99
|
|
@@ -6,10 +6,16 @@
|
|
|
6
6
|
"
|
|
7
7
|
>
|
|
8
8
|
<h3 :class="h3Style">{{ $t('Chat history') }}</h3>
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
</div>
|
|
13
19
|
<div class="w-full border-b border-gray-200 dark:border-gray-700"/>
|
|
14
20
|
<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">
|
|
15
21
|
<Spinner class="w-8 h-8" v-if="agentStore.isResponseInProgress" />
|
|
@@ -23,11 +29,12 @@
|
|
|
23
29
|
<button
|
|
24
30
|
v-for="session in group.sessions"
|
|
25
31
|
:key="session.sessionId"
|
|
26
|
-
class="flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
|
|
32
|
+
class=" flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
|
|
27
33
|
:class="{
|
|
28
34
|
'bg-lightPrimary/20 hover:bg-lightPrimary/20 dark:bg-darkPrimary/20 dark:hover:bg-darkPrimary/20': agentStore.activeSessionId === session.sessionId,
|
|
29
|
-
'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress
|
|
30
|
-
|
|
35
|
+
'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress,
|
|
36
|
+
'pl-8': agentStore.isFullScreen
|
|
37
|
+
}"
|
|
31
38
|
@click="agentStore.setActiveSession(session.sessionId); agentStore.setSessionHistoryOpen(false);"
|
|
32
39
|
:disabled="agentStore.isResponseInProgress"
|
|
33
40
|
>
|
package/custom/ToolRenderer.vue
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
/>
|
|
26
26
|
</div>
|
|
27
27
|
<transition name="expand">
|
|
28
|
-
<div v-show="isInputOutputExpanded" class="max-h-72 space-y-3 overflow-y-auto pr-1">
|
|
28
|
+
<div v-if="isInputOutputExpanded" v-show="isInputOutputExpanded" class="max-h-72 space-y-3 overflow-y-auto pr-1">
|
|
29
29
|
<section
|
|
30
30
|
v-for="section in toolSections"
|
|
31
31
|
:key="section.label"
|
|
@@ -6,10 +6,16 @@
|
|
|
6
6
|
"
|
|
7
7
|
>
|
|
8
8
|
<h3 :class="h3Style">{{ $t('Chat history') }}</h3>
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
</div>
|
|
13
19
|
<div class="w-full border-b border-gray-200 dark:border-gray-700"/>
|
|
14
20
|
<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">
|
|
15
21
|
<Spinner class="w-8 h-8" v-if="agentStore.isResponseInProgress" />
|
|
@@ -23,11 +29,12 @@
|
|
|
23
29
|
<button
|
|
24
30
|
v-for="session in group.sessions"
|
|
25
31
|
:key="session.sessionId"
|
|
26
|
-
class="flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
|
|
32
|
+
class=" flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
|
|
27
33
|
:class="{
|
|
28
34
|
'bg-lightPrimary/20 hover:bg-lightPrimary/20 dark:bg-darkPrimary/20 dark:hover:bg-darkPrimary/20': agentStore.activeSessionId === session.sessionId,
|
|
29
|
-
'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress
|
|
30
|
-
|
|
35
|
+
'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress,
|
|
36
|
+
'pl-8': agentStore.isFullScreen
|
|
37
|
+
}"
|
|
31
38
|
@click="agentStore.setActiveSession(session.sessionId); agentStore.setSessionHistoryOpen(false);"
|
|
32
39
|
:disabled="agentStore.isResponseInProgress"
|
|
33
40
|
>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
/>
|
|
26
26
|
</div>
|
|
27
27
|
<transition name="expand">
|
|
28
|
-
<div v-show="isInputOutputExpanded" class="max-h-72 space-y-3 overflow-y-auto pr-1">
|
|
28
|
+
<div v-if="isInputOutputExpanded" v-show="isInputOutputExpanded" class="max-h-72 space-y-3 overflow-y-auto pr-1">
|
|
29
29
|
<section
|
|
30
30
|
v-for="section in toolSections"
|
|
31
31
|
:key="section.label"
|