@underactive/pi-topping 0.3.0 → 0.3.1

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/package.json +1 -1
  2. package/src/session.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underactive/pi-topping",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A Pi extension that decorates user prompts and replaces the default \"Working...\" loader with a shimmering, randomized activity word, live elapsed timer, and output-token activity meter",
5
5
  "keywords": ["pi-package", "pi-extension"],
6
6
  "license": "MIT",
package/src/session.ts CHANGED
@@ -114,7 +114,10 @@ export class SessionManager {
114
114
  borderColor: this.#settings.decorations.borderColor,
115
115
  },
116
116
  },
117
- { triggerTurn: true },
117
+ {
118
+ triggerTurn: true,
119
+ ...(event.streamingBehavior ? { deliverAs: event.streamingBehavior } : {}),
120
+ },
118
121
  );
119
122
  return { action: "handled" };
120
123
  }