@polka-codes/core 0.9.17 → 0.9.19
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/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1883,10 +1883,10 @@ Request timeout after ${requestTimeoutSeconds} seconds. Canceling current reques
|
|
|
1883
1883
|
onChunk: async ({ chunk }) => {
|
|
1884
1884
|
resetTimeout();
|
|
1885
1885
|
switch (chunk.type) {
|
|
1886
|
-
case "text":
|
|
1886
|
+
case "text-delta":
|
|
1887
1887
|
await this.#callback({ kind: "Text" /* Text */, agent: this, newText: chunk.text });
|
|
1888
1888
|
break;
|
|
1889
|
-
case "reasoning":
|
|
1889
|
+
case "reasoning-delta":
|
|
1890
1890
|
await this.#callback({ kind: "Reasoning" /* Reasoning */, agent: this, newText: chunk.text });
|
|
1891
1891
|
break;
|
|
1892
1892
|
case "tool-call":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.19",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"type": "module",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"build": "tsup src/index.ts --experimental-dts --format esm --clean"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ai-sdk/provider": "2.0.0
|
|
21
|
-
"@ai-sdk/provider-utils": "3.0.0
|
|
22
|
-
"ai": "5.0.0
|
|
20
|
+
"@ai-sdk/provider": "^2.0.0",
|
|
21
|
+
"@ai-sdk/provider-utils": "^3.0.0",
|
|
22
|
+
"ai": "^5.0.0",
|
|
23
23
|
"lodash": "^4.17.21",
|
|
24
24
|
"yaml": "^2.7.1",
|
|
25
25
|
"zod": "^4.0.8"
|