@adminforth/agent 1.52.3 → 1.52.5
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/composables/agentStore/useAgentChat.ts +1 -0
- package/custom/conversation_area/ProcessingTimeline.vue +4 -2
- package/dist/custom/composables/agentStore/useAgentChat.ts +1 -0
- package/dist/custom/conversation_area/ProcessingTimeline.vue +4 -2
- package/package.json +6 -3
- package/pnpm-workspace.yaml +4 -0
package/build.log
CHANGED
|
@@ -63,5 +63,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
63
63
|
custom/speech_recognition_frontend/types/
|
|
64
64
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
65
65
|
|
|
66
|
-
sent 1,
|
|
67
|
-
total size is 1,678,
|
|
66
|
+
sent 1,683,204 bytes received 940 bytes 3,368,288.00 bytes/sec
|
|
67
|
+
total size is 1,678,976 speedup is 1.00
|
|
@@ -197,6 +197,7 @@ export function createAgentChatManager({
|
|
|
197
197
|
}),
|
|
198
198
|
onError(error: unknown) {
|
|
199
199
|
console.error('Chat error:', error);
|
|
200
|
+
appendTextDelta(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
200
201
|
},
|
|
201
202
|
onData: handleRealtimeChatData,
|
|
202
203
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<template v-if="ToolOrReasoningParts.length > 0 || inProgress">
|
|
3
3
|
<div
|
|
4
|
-
class="shine-text-container ml-2 px-4 flex items-center gap-1
|
|
4
|
+
class="shine-text-container ml-2 px-4 flex items-center gap-1 select-none hover:opacity-80 tracking-wide font-medium text-sm text-listTableHeadingText dark:text-darkListTableHeadingText"
|
|
5
|
+
:class="[ToolOrReasoningParts.length > 0 ? 'cursor-pointer' : '']"
|
|
5
6
|
@click="isExpanded = !isExpanded"
|
|
6
7
|
>
|
|
7
8
|
<p
|
|
@@ -13,11 +14,12 @@
|
|
|
13
14
|
`
|
|
14
15
|
: '']"
|
|
15
16
|
>
|
|
16
|
-
{{ $t('Thoughts') }}
|
|
17
|
+
{{ inProgress ? $t('Thinking') : $t('Thoughts') }}
|
|
17
18
|
</p>
|
|
18
19
|
<span v-if="thinkingDuration > 0">({{ (thinkingDuration/1000).toFixed(2) }} s)</span>
|
|
19
20
|
<!-- <ThreeDotsAnimation v-if="inProgress" /> -->
|
|
20
21
|
<IconAngleDownOutline
|
|
22
|
+
v-if="ToolOrReasoningParts.length > 0"
|
|
21
23
|
:class="isExpanded ? 'rotate-180' : 'rotate-0'"
|
|
22
24
|
class="transition-transform duration-200"
|
|
23
25
|
/>
|
|
@@ -197,6 +197,7 @@ export function createAgentChatManager({
|
|
|
197
197
|
}),
|
|
198
198
|
onError(error: unknown) {
|
|
199
199
|
console.error('Chat error:', error);
|
|
200
|
+
appendTextDelta(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
200
201
|
},
|
|
201
202
|
onData: handleRealtimeChatData,
|
|
202
203
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<template v-if="ToolOrReasoningParts.length > 0 || inProgress">
|
|
3
3
|
<div
|
|
4
|
-
class="shine-text-container ml-2 px-4 flex items-center gap-1
|
|
4
|
+
class="shine-text-container ml-2 px-4 flex items-center gap-1 select-none hover:opacity-80 tracking-wide font-medium text-sm text-listTableHeadingText dark:text-darkListTableHeadingText"
|
|
5
|
+
:class="[ToolOrReasoningParts.length > 0 ? 'cursor-pointer' : '']"
|
|
5
6
|
@click="isExpanded = !isExpanded"
|
|
6
7
|
>
|
|
7
8
|
<p
|
|
@@ -13,11 +14,12 @@
|
|
|
13
14
|
`
|
|
14
15
|
: '']"
|
|
15
16
|
>
|
|
16
|
-
{{ $t('Thoughts') }}
|
|
17
|
+
{{ inProgress ? $t('Thinking') : $t('Thoughts') }}
|
|
17
18
|
</p>
|
|
18
19
|
<span v-if="thinkingDuration > 0">({{ (thinkingDuration/1000).toFixed(2) }} s)</span>
|
|
19
20
|
<!-- <ThreeDotsAnimation v-if="inProgress" /> -->
|
|
20
21
|
<IconAngleDownOutline
|
|
22
|
+
v-if="ToolOrReasoningParts.length > 0"
|
|
21
23
|
:class="isExpanded ? 'rotate-180' : 'rotate-0'"
|
|
22
24
|
class="transition-transform duration-200"
|
|
23
25
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/agent",
|
|
3
|
-
"version": "1.52.
|
|
3
|
+
"version": "1.52.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"description": "AI agent plugin for AdminForth with tool-based workflows and persistent chat sessions",
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "latest",
|
|
28
|
+
"adminforth": "3.0.1",
|
|
28
29
|
"semantic-release": "^24.2.1",
|
|
29
30
|
"semantic-release-slack-bot": "^4.0.2",
|
|
30
31
|
"typescript": "^5.7.3"
|
|
@@ -33,7 +34,6 @@
|
|
|
33
34
|
"@langchain/core": "^1.1.40",
|
|
34
35
|
"@langchain/langgraph": "^1.2.8",
|
|
35
36
|
"@langchain/langgraph-checkpoint": "^1.0.1",
|
|
36
|
-
"adminforth": "2.72.0",
|
|
37
37
|
"dayjs": "^1.11.20",
|
|
38
38
|
"langchain": "^1.3.3",
|
|
39
39
|
"multer": "^2.1.1",
|
|
@@ -65,5 +65,8 @@
|
|
|
65
65
|
"name": "next",
|
|
66
66
|
"prerelease": true
|
|
67
67
|
}
|
|
68
|
-
]
|
|
68
|
+
],
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"adminforth": "3.0.1"
|
|
71
|
+
}
|
|
69
72
|
}
|