From 3f5b6082e61754c9a2e6bd6ff76806df57e88d2b Mon Sep 17 00:00:00 2001 From: Surma Date: Sat, 7 Nov 2026 14:52:54 +0000 Subject: [PATCH] host/js: regenerate the p3 test bundle after the T51 merge --- host/js/p3-test-bundle.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/host/js/p3-test-bundle.js b/host/js/p3-test-bundle.js index ff03b68..757c995 100644 --- a/host/js/p3-test-bundle.js +++ b/host/js/p3-test-bundle.js @@ -31676,43 +31676,6 @@ async function openStorage(path) { return SqliteStorage.open(database); } -// environment.ts -var CodingTools2 = { ...CodingTools, tools: CodingTools.tools.map((tool) => ({ - ...tool, - execute: (args, api, context) => tool.execute(args, { ...api, env: api.env.forTool(api.callId, tool.name) }, context) -})) }; -var Started = defineDoc({ - kind: "board.started", - version: 1, - checkpointWhen: () => false, - scope: "conversation", - history: "latest", - fork: "initial", - initial: () => ({}) -}); -function conversationChains(harness, context) { - const cache = /* @__PURE__ */ new Map(); - const chain = (id) => { - let result = cache.get(id); - if (!result) { - result = (async () => { - const record2 = await harness.commit((tx) => tx.conversation(id), context); - const up = record2?.owner?.conversationId ?? record2?.parent?.conversationId; - const starter = (await harness.snapshot(Started, id, context))?.by; - return [.../* @__PURE__ */ new Set([ - String(id), - ...up === void 0 ? [] : await chain(up), - ...starter === void 0 ? [] : await chain(starter) - ])]; - })(); - cache.set(id, result); - } - return result; - }; - return chain; -} -var ops2 = Deno.core.ops; - // scripted-model.ts var textOf = (content) => typeof content === "string" ? content : (content ?? []).filter((part) => part.type === "text").map((part) => part.text).join("\n"); function answerFor(rules, transcript) {