@polka-codes/cli-shared 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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51659,10 +51659,10 @@ Request timeout after ${requestTimeoutSeconds} seconds. Canceling current reques
51659
51659
  onChunk: async ({ chunk }) => {
51660
51660
  resetTimeout();
51661
51661
  switch (chunk.type) {
51662
- case "text":
51662
+ case "text-delta":
51663
51663
  await this.#callback({ kind: "Text" /* Text */, agent: this, newText: chunk.text });
51664
51664
  break;
51665
- case "reasoning":
51665
+ case "reasoning-delta":
51666
51666
  await this.#callback({ kind: "Reasoning" /* Reasoning */, agent: this, newText: chunk.text });
51667
51667
  break;
51668
51668
  case "tool-call":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
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",