@vercel/dream 0.3.1 → 0.3.2

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/dream.js +5 -0
  2. package/package.json +1 -1
package/dist/dream.js CHANGED
@@ -544,6 +544,11 @@ async function runSession(client, title, systemPrompt, verbose) {
544
544
  if (event.type === "message.part.updated") {
545
545
  const { part } = event.properties;
546
546
  const delta = event.properties.delta;
547
+ if (verbose && !["text", "reasoning", "tool", "step-finish"].includes(part.type)) {
548
+ printSessionDim(
549
+ `unhandled part type: ${part.type} ${JSON.stringify(part).slice(0, 200)}`
550
+ );
551
+ }
547
552
  if (part.type === "text" && delta) {
548
553
  responseText += delta;
549
554
  if (lastOutput === "tool") process.stdout.write("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/dream",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A CLI that runs OpenCode in a loop until specs are complete",
5
5
  "type": "module",
6
6
  "bin": {