@evandu/super-pi 0.1.175 → 0.1.176

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.
@@ -40,5 +40,5 @@
40
40
  "src/client/types.ts": "34a933e47e37a8fab6b0b33a5e325d0e504cceada95e13b0a45a00c489767388",
41
41
  "src/client/vite-env.d.ts": "65996936fbb042915f7b74a200fcdde7e410f32a669b1ab9597cfaa4b0faddb5"
42
42
  },
43
- "recordedAt": "2026-11-09T08:08:44.739Z"
43
+ "recordedAt": "2026-11-09T11:37:14.663Z"
44
44
  }
@@ -1389,7 +1389,7 @@ export class RunService {
1389
1389
  // The offset says whether the reasoning grew after this call was initiated. The captured
1390
1390
  // `thinkingActive` flag covers the final-moment case, unless answer text later appeared after
1391
1391
  // thinking_end. That exclusion keeps after-body questions out of the previous reasoning fold.
1392
- const callThinkingBlock = prepared[1].thinkingAt < thought || (prepared[1].thinkingActive && !answerAfterThinking) ? prepared[1].thinkingBlock : null;
1392
+ const callThinkingBlock = !answerAfterThinking && (prepared[1].thinkingAt < thought || prepared[1].thinkingActive) ? prepared[1].thinkingBlock : null;
1393
1393
  // `at` is corrected to the execution position; `thinkingAt` stays at initiation so calls
1394
1394
  // inside one reasoning block do not all collapse onto the final reasoning offset.
1395
1395
  enqueueTools("a tool call", () => this.store.updateToolCall(conversation.id, assistant.id, row, { label: call.name, detail: call.detail, args: call.args, live: "", preparing: false, at, thinkingBlock: callThinkingBlock, ...(call.question ? { question: call.question } : {}) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evandu/super-pi",
3
- "version": "0.1.175",
3
+ "version": "0.1.176",
4
4
  "description": "Web control plane and companion for Pi",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,6 +52,7 @@
52
52
  "scripts/agent-picker-order.test.mjs",
53
53
  "scripts/inline-thinking.test.mjs",
54
54
  "scripts/thinking-block-identity.test.mjs",
55
+ "scripts/question-in-thinking-block.test.mjs",
55
56
  "scripts/inline-thinking-close-tag.test.mjs",
56
57
  "scripts/pi-session.test.mjs",
57
58
  "scripts/length-continuation.test.mjs",