@evandu/super-pi 0.1.175 → 0.1.177
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-
|
|
43
|
+
"recordedAt": "2026-11-09T13:56:32.805Z"
|
|
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 ||
|
|
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 } : {}) }));
|
|
@@ -2170,6 +2170,11 @@ export class RunService {
|
|
|
2170
2170
|
const controller = new AbortController();
|
|
2171
2171
|
this.cancelledQuestionConversations.delete(conversationId);
|
|
2172
2172
|
this.claimRunSlot(conversationId, controller);
|
|
2173
|
+
// THE MARKER ONLY GUARDS THE HAND-OFF WINDOW. Once this turn owns the run slot, `activeRuns`
|
|
2174
|
+
// guards it, and the marker would only keep a SECOND interrupt-and-reply from interrupting this
|
|
2175
|
+
// one - which is exactly what the user asks for when they interrupt B's answer to answer C.
|
|
2176
|
+
if (this.interruptTargets.get(conversationId) === messageId)
|
|
2177
|
+
this.interruptTargets.delete(conversationId);
|
|
2173
2178
|
return controller;
|
|
2174
2179
|
});
|
|
2175
2180
|
if (!controller)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evandu/super-pi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.177",
|
|
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",
|
|
@@ -125,6 +126,7 @@
|
|
|
125
126
|
"scripts/workspace-identity.test.mjs",
|
|
126
127
|
"scripts/followup.test.mjs",
|
|
127
128
|
"scripts/pi-followup-queue.test.mjs",
|
|
129
|
+
"scripts/interrupt-reply-chain.test.mjs",
|
|
128
130
|
"scripts/background-result-delivery.test.mjs",
|
|
129
131
|
"scripts/background-result-one-per-turn.test.mjs",
|
|
130
132
|
"scripts/thinking-status-promotion.test.mjs",
|