From 283d9779e293561be457451d62734abb0406c691 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Mon, 27 Apr 2026 23:48:24 -0700 Subject: [PATCH] disk/speaker: drop static-import ?v= cache busters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The oven bundler's rewriteImports regex strips ?query suffixes from relative imports, but a stale snapshot on the live oven server is preserving them — packed pieces emit `import * as l5 from "lib/l5.mjs?v=20260330-runtime-support"`, which fails browser import-map resolution since map keys are query-less ("Failed to resolve module specifier"). Cache busting for these built-in modules is already handled by the service worker, the lith deploy hash, and per-bundle blob URLs. Removing the queries makes the bundle robust regardless of which bundler version the oven is running. Co-Authored-By: Claude Opus 4.7 (1M context) --- system/public/aesthetic.computer/lib/disk.mjs | 2 +- system/public/aesthetic.computer/lib/speaker.mjs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/system/public/aesthetic.computer/lib/disk.mjs b/system/public/aesthetic.computer/lib/disk.mjs index 844faaacac..eebcf70d85 100644 --- a/system/public/aesthetic.computer/lib/disk.mjs +++ b/system/public/aesthetic.computer/lib/disk.mjs @@ -67,7 +67,7 @@ import { TextInput, Typeface } from "../lib/type.mjs"; import * as lisp from "./kidlisp.mjs"; import { isKidlispSource, fetchCachedCode, fetchKidlispMetadata, getCachedCode, initPersistentCache, getCachedCodeMultiLevel, saveCodeToAllCaches, enableKidlispConsole, enableKidlispTrace, disableKidlispTrace, clearExecutionTrace, postExecutionTrace } from "./kidlisp.mjs"; // Add lisp evaluator. -import * as l5 from "./l5.mjs?v=20260330-runtime-support"; +import * as l5 from "./l5.mjs"; import { qrcode as qr, ErrorCorrectLevel } from "../dep/@akamfoad/qr/qr.mjs"; import { microtype, MatrixChunky8 } from "../disks/common/fonts.mjs"; diff --git a/system/public/aesthetic.computer/lib/speaker.mjs b/system/public/aesthetic.computer/lib/speaker.mjs index 82fabfbaa4..bef5c2013c 100644 --- a/system/public/aesthetic.computer/lib/speaker.mjs +++ b/system/public/aesthetic.computer/lib/speaker.mjs @@ -3,8 +3,7 @@ // import * as sine from "./sound/sine.js"; import { volume } from "./sound/volume.mjs"; import { checkPackMode } from "./pack-mode.mjs"; -// Cache bust: Feb 4, 2026 - fixed _fillCustomBuffer for AudioWorklet compatibility -import Synth from "./sound/synth.mjs?v=20260204"; +import Synth from "./sound/synth.mjs"; import Bubble from "./sound/bubble.mjs"; import Fart from "./sound/fart.mjs"; import { lerp, within, clamp } from "./num.mjs"; -- 2.51.2