@polka-codes/cli 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
@@ -39790,7 +39790,7 @@ var {
39790
39790
  Help
39791
39791
  } = import__.default;
39792
39792
  // package.json
39793
- var version = "0.9.18";
39793
+ var version = "0.9.19";
39794
39794
 
39795
39795
  // ../../node_modules/@inquirer/core/dist/esm/lib/key.js
39796
39796
  var isUpKey = (key) => key.name === "up" || key.name === "k" || key.ctrl && key.name === "p";
@@ -77393,10 +77393,10 @@ Request timeout after ${requestTimeoutSeconds} seconds. Canceling current reques
77393
77393
  onChunk: async ({ chunk }) => {
77394
77394
  resetTimeout();
77395
77395
  switch (chunk.type) {
77396
- case "text":
77396
+ case "text-delta":
77397
77397
  await this.#callback({ kind: "Text" /* Text */, agent: this, newText: chunk.text });
77398
77398
  break;
77399
- case "reasoning":
77399
+ case "reasoning-delta":
77400
77400
  await this.#callback({ kind: "Reasoning" /* Reasoning */, agent: this, newText: chunk.text });
77401
77401
  break;
77402
77402
  case "tool-call":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli",
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",