chore: upgrade pi dependencies to 0.84.1

This commit is contained in:
Erik Kotsiuba
2026-08-12 14:18:59 +02:00
parent bd5f4520a3
commit 0365b6f1ff
17 changed files with 242 additions and 118 deletions
+12 -2
View File
@@ -82,7 +82,7 @@ function toolResult(toolCallId: string) {
function storedPayload(
sourceEntryId: string,
storedParams: AskParams = params,
storedParams: unknown = params,
version = 1
) {
return {
@@ -185,12 +185,22 @@ test("pending ask scan validates recorded arguments as payload fallback", () =>
),
{ params, toolCallId: "call-2" }
);
assert.deepEqual(
findPendingAskToolCall(
scannerContext([askToolCall("call-3"), storedPayload("call-3", {})])
),
{ params, toolCallId: "call-3" }
);
assert.equal(
findPendingAskToolCall(
scannerContext([askToolCall("call-3", { questions: [] })])
scannerContext([askToolCall("call-4", { questions: [] })])
),
undefined
);
assert.equal(
findPendingAskToolCall(scannerContext([askToolCall("call-5", {})])),
undefined
);
});
test("pending ask scan skips a newer invalid call for an older valid call", () => {