@adminforth/agent 1.26.2 → 1.26.3
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 206,
|
|
42
|
-
total size is 203,
|
|
41
|
+
sent 206,143 bytes received 562 bytes 413,410.00 bytes/sec
|
|
42
|
+
total size is 203,829 speedup is 0.99
|
|
@@ -126,11 +126,12 @@ function getScrollClientHeight() {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
async function waitForRealHeight(role: 'user' | 'assistant'): Promise<number> {
|
|
129
|
+
const realHeightWeCanApprove = role === 'user' ? EMPTY_MESSAGE_HEIGHT : 0;
|
|
129
130
|
return new Promise((resolve) => {
|
|
130
131
|
const interval = setInterval(() => {
|
|
131
132
|
const height = role === 'user' ? getHeightOfLastUserMessage() : getHeightOfLastAgentMessage();
|
|
132
133
|
|
|
133
|
-
if (height >
|
|
134
|
+
if (height > realHeightWeCanApprove) {
|
|
134
135
|
clearInterval(interval);
|
|
135
136
|
resolve(height);
|
|
136
137
|
}
|
|
@@ -126,11 +126,12 @@ function getScrollClientHeight() {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
async function waitForRealHeight(role: 'user' | 'assistant'): Promise<number> {
|
|
129
|
+
const realHeightWeCanApprove = role === 'user' ? EMPTY_MESSAGE_HEIGHT : 0;
|
|
129
130
|
return new Promise((resolve) => {
|
|
130
131
|
const interval = setInterval(() => {
|
|
131
132
|
const height = role === 'user' ? getHeightOfLastUserMessage() : getHeightOfLastAgentMessage();
|
|
132
133
|
|
|
133
|
-
if (height >
|
|
134
|
+
if (height > realHeightWeCanApprove) {
|
|
134
135
|
clearInterval(interval);
|
|
135
136
|
resolve(height);
|
|
136
137
|
}
|