@adminforth/agent 1.52.4 → 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 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,682,974 bytes received 940 bytes 3,367,828.00 bytes/sec
67
- total size is 1,678,746 speedup is 1.00
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 cursor-pointer select-none hover:opacity-80 tracking-wide font-medium text-sm text-listTableHeadingText dark:text-darkListTableHeadingText"
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 cursor-pointer select-none hover:opacity-80 tracking-wide font-medium text-sm text-listTableHeadingText dark:text-darkListTableHeadingText"
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.4",
3
+ "version": "1.52.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -0,0 +1,4 @@
1
+ allowBuilds:
2
+ adminforth: true
3
+ minimumReleaseAgeExclude:
4
+ - adminforth@3.0.1