@adminforth/agent 1.24.6 → 1.24.7

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 201,365 bytes received 566 bytes 403,862.00 bytes/sec
42
- total size is 199,057 speedup is 0.99
41
+ sent 201,370 bytes received 566 bytes 403,872.00 bytes/sec
42
+ total size is 199,062 speedup is 0.99
@@ -10,13 +10,6 @@
10
10
  >
11
11
  </div>
12
12
  <div class="relative flex-1 min-h-0 overflow-hidden" @click="recalculateScroll()">
13
- <button @click="scrollContainer.scrollToBottom();">
14
- <IconArrowDownOutline
15
- class="absolute z-10 bottom-8 left-1/2 bg-lightPrimary dark:bg-darkPrimary text-white p-2 w-10 h-10 rounded-full transition-opacity duration-100 ease-in"
16
- :class="showScrollToBottomButton ? 'opacity-100' : 'opacity-0 pointer-events-none'"
17
- :disabled="!showScrollToBottomButton"
18
- />
19
- </button>
20
13
  <CustomAutoScrollContainer
21
14
  v-if="showScrollContainer"
22
15
  :enabled="!showScrollToBottomButton"
@@ -47,7 +40,7 @@
47
40
 
48
41
  <div
49
42
  v-for="(message, index) in props.messages" :key="message.id"
50
- class="flex flex-col w-full"
43
+ class="flex flex-col w-full mt-2"
51
44
  :class="message.role === 'user' ? 'self-end' : 'self-start'"
52
45
  >
53
46
  <MessageRenderer :message="message" :isLastMessageInChat="index === props.messages.length - 1"/>
@@ -60,6 +53,13 @@
60
53
  <p class="tracking-normal text-base text">{{ $t('Give any input to begin') }}</p>
61
54
  </div>
62
55
  </CustomAutoScrollContainer>
56
+ <button @click="scrollContainer.scrollToBottom();">
57
+ <IconArrowDownOutline
58
+ class="absolute z-10 bottom-8 left-1/2 bg-lightPrimary dark:bg-darkPrimary text-white p-2 w-10 h-10 rounded-full transition-opacity duration-100 ease-in"
59
+ :class="showScrollToBottomButton ? 'opacity-100' : 'opacity-0 pointer-events-none'"
60
+ :disabled="!showScrollToBottomButton"
61
+ />
62
+ </button>
63
63
  </div>
64
64
  </template>
65
65
 
@@ -10,13 +10,6 @@
10
10
  >
11
11
  </div>
12
12
  <div class="relative flex-1 min-h-0 overflow-hidden" @click="recalculateScroll()">
13
- <button @click="scrollContainer.scrollToBottom();">
14
- <IconArrowDownOutline
15
- class="absolute z-10 bottom-8 left-1/2 bg-lightPrimary dark:bg-darkPrimary text-white p-2 w-10 h-10 rounded-full transition-opacity duration-100 ease-in"
16
- :class="showScrollToBottomButton ? 'opacity-100' : 'opacity-0 pointer-events-none'"
17
- :disabled="!showScrollToBottomButton"
18
- />
19
- </button>
20
13
  <CustomAutoScrollContainer
21
14
  v-if="showScrollContainer"
22
15
  :enabled="!showScrollToBottomButton"
@@ -47,7 +40,7 @@
47
40
 
48
41
  <div
49
42
  v-for="(message, index) in props.messages" :key="message.id"
50
- class="flex flex-col w-full"
43
+ class="flex flex-col w-full mt-2"
51
44
  :class="message.role === 'user' ? 'self-end' : 'self-start'"
52
45
  >
53
46
  <MessageRenderer :message="message" :isLastMessageInChat="index === props.messages.length - 1"/>
@@ -60,6 +53,13 @@
60
53
  <p class="tracking-normal text-base text">{{ $t('Give any input to begin') }}</p>
61
54
  </div>
62
55
  </CustomAutoScrollContainer>
56
+ <button @click="scrollContainer.scrollToBottom();">
57
+ <IconArrowDownOutline
58
+ class="absolute z-10 bottom-8 left-1/2 bg-lightPrimary dark:bg-darkPrimary text-white p-2 w-10 h-10 rounded-full transition-opacity duration-100 ease-in"
59
+ :class="showScrollToBottomButton ? 'opacity-100' : 'opacity-0 pointer-events-none'"
60
+ :disabled="!showScrollToBottomButton"
61
+ />
62
+ </button>
63
63
  </div>
64
64
  </template>
65
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "1.24.6",
3
+ "version": "1.24.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",