@jskit-ai/assistant-core 0.1.194 → 0.1.195
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.
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"build": "vite build"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@jskit-ai/assistant-core": "0.1.
|
|
12
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
13
|
-
"@jskit-ai/kernel": "0.1.
|
|
11
|
+
"@jskit-ai/assistant-core": "0.1.195",
|
|
12
|
+
"@jskit-ai/http-runtime": "0.1.215",
|
|
13
|
+
"@jskit-ai/kernel": "0.1.217",
|
|
14
14
|
"@mdi/js": "^7.4.47",
|
|
15
15
|
"vue": "^3.5.13",
|
|
16
16
|
"vuetify": "^4.0.0",
|
|
17
|
-
"@jskit-ai/connectors-core": "0.1.
|
|
18
|
-
"@jskit-ai/connectors-catalog": "0.1.
|
|
17
|
+
"@jskit-ai/connectors-core": "0.1.34",
|
|
18
|
+
"@jskit-ai/connectors-catalog": "0.1.34"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@vitejs/plugin-vue": "^6.0.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/assistant-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.195",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ai-sdk/perplexity": "^4.0.43",
|
|
35
35
|
"@ai-sdk/togetherai": "^3.0.49",
|
|
36
36
|
"@ai-sdk/xai": "^4.0.58",
|
|
37
|
-
"@jskit-ai/resource-core": "0.1.
|
|
38
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
37
|
+
"@jskit-ai/resource-core": "0.1.159",
|
|
38
|
+
"@jskit-ai/resource-crud-core": "0.1.159",
|
|
39
39
|
"@mdi/js": "^7.4.47",
|
|
40
40
|
"@openrouter/ai-sdk-provider": "^3.0.0",
|
|
41
41
|
"ai": "^7.0.101",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"ws": "^8.20.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
48
|
-
"@jskit-ai/kernel": "0.1.
|
|
47
|
+
"@jskit-ai/http-runtime": "0.1.215",
|
|
48
|
+
"@jskit-ai/kernel": "0.1.217",
|
|
49
49
|
"vue": "^3.5.13",
|
|
50
50
|
"vuetify": "^4.0.0"
|
|
51
51
|
},
|
|
@@ -211,14 +211,17 @@ test("conversation scrolling preserves history anchors and resets expansion on s
|
|
|
211
211
|
await page.goto(`${vite.baseURL}/?controls=1`);
|
|
212
212
|
const body = page.locator(".assistant-transcript__body");
|
|
213
213
|
await expect(page.getByText("Conversation line 70:", { exact: false })).toBeVisible();
|
|
214
|
-
//
|
|
215
|
-
|
|
216
|
-
await
|
|
214
|
+
// User input cancels startup following; a scrollTop assignment does not.
|
|
215
|
+
// Automatic history loading may preserve an anchor above scrollTop zero.
|
|
216
|
+
await body.hover();
|
|
217
|
+
await page.mouse.wheel(0, -100_000);
|
|
218
|
+
await expect(page.getByRole("button", { name: "Read more", exact: true })).toBeVisible();
|
|
217
219
|
await page.getByRole("button", { name: "Read more", exact: true }).click();
|
|
218
220
|
await expect(page.getByRole("button", { name: "Show less", exact: true })).toBeVisible();
|
|
219
221
|
const original = page.getByText("Conversation line 1:", { exact: false }).first();
|
|
220
222
|
const originalTop = (await original.boundingBox()).y;
|
|
221
|
-
|
|
223
|
+
// Measure history anchoring without Playwright first scrolling to the button.
|
|
224
|
+
await page.getByRole("button", { name: "Load older messages", exact: true }).evaluate(element => element.click());
|
|
222
225
|
await expect.poll(async () => Math.abs((await original.boundingBox()).y - originalTop)).toBeLessThan(2);
|
|
223
226
|
const before = await body.evaluate((element) => element.scrollTop);
|
|
224
227
|
await page.getByRole("button", { name: "Append reply", exact: true }).click();
|