@polka-codes/runner 0.9.18 → 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21067,7 +21067,7 @@ var {
21067
21067
  Help
21068
21068
  } = import__.default;
21069
21069
  // package.json
21070
- var version = "0.9.18";
21070
+ var version = "0.9.19";
21071
21071
 
21072
21072
  // src/runner.ts
21073
21073
  import { execSync } from "node:child_process";
@@ -57021,10 +57021,10 @@ Request timeout after ${requestTimeoutSeconds} seconds. Canceling current reques
57021
57021
  onChunk: async ({ chunk }) => {
57022
57022
  resetTimeout();
57023
57023
  switch (chunk.type) {
57024
- case "text":
57024
+ case "text-delta":
57025
57025
  await this.#callback({ kind: "Text" /* Text */, agent: this, newText: chunk.text });
57026
57026
  break;
57027
- case "reasoning":
57027
+ case "reasoning-delta":
57028
57028
  await this.#callback({ kind: "Reasoning" /* Reasoning */, agent: this, newText: chunk.text });
57029
57029
  break;
57030
57030
  case "tool-call":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/runner",
3
- "version": "0.9.18",
3
+ "version": "0.9.19",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",