Skip to content

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 10:14
· 43 commits to main since this release
v1.9.0
9c0c80a

Changed

  • /about page: "Buy me a coffee" (Buy Me a Coffee) is now a button with a cup icon in the open-source section, instead of a fourth plain text link that was easy to miss.

Tests

  • Sonicake Smart Box: the frames the editor sends after a notice from the unit are now pinned by e2e tests (no change in behavior). A knob (12 48) or block switch (12 49) notice updates the screen and sends nothing (zero reads, also for a burst of ten); a preset switch (12 43) causes one 12 41 read after it settles, also for a burst of five switches, and never a 12 4F. docs/smart-box.md lists what each notice does.

Security

  • Dependencies: cross-spawn 7.0.6 to 7.1.2 (lockfile refresh within ^7; fixes the Windows batch-file command injection, used by the MCP SDK and electron-builder) and tar 7.5.23 to 8.0.5 through a root overrides entry (fixes node-tar's UnpackSync never completing after a failing entry; build-time only, pulled by electron-builder's app-builder-lib and node-gyp, whose latest releases still depend on ^7). tar 8 needs Node 22 or newer, which the repo already requires. Closes the two open Dependabot alerts.

Fixed

  • Sonicake Smart Box (found on the unit, 2026-12-01): copying a preset (P01 to P32) failed once with "copied, but P32 does not hold the same preset as P01" and passed when repeated, because the destination was read back before the unit had committed it. copyStoredPreset (shared by both pedals) now reads the source once and, on a mismatch, waits 300 ms and reads only the destination again, up to 3 times (COPY_READBACK_RETRIES, COPY_READBACK_RETRY_MS), failing only if it still differs. That error and "the pedal reported that the copy failed" now reach the Portuguese UI translated ("Copiado, mas o P32 não tem o mesmo preset que o P01.").
  • Sonicake Smart Box: a footswitch takes at most 3 blocks (confirmed on the unit: with DRV, AMP and DLY on FS1, adding RVB was acknowledged and not taken). POCKET_PROFILES['smart-box'].maxBlocksPerFootswitch is 3; the core refuses a fourth block before any frame is built, and a block's FS1/FS2 toggle is disabled when that footswitch is full, with the tooltip "FS1 já controla 3 blocos (máximo da Smart Box)". The simulated Smart Box refuses a fourth too.

Docs

  • README updated for 1.8.0: the shared header on both pedals, Convert preset to… (with convert_preset in the MCP tools), Organize presets, the Matribox's Revert, Copy…, Tuner and per-slot Backups list, and the role chip taken from the preset name (press the role button again to clear it); the removed preset library and saved-tone tools are no longer mentioned; the /about page (EN and PT-BR) mentions Convert preset to…, Organize and the per-slot backup list, and the Smart Box entry is reduced to "in testing, experimental" (its features are listed in PR #314's docs); the open-source section links Buy me a coffee (the link already in the README and FUNDING.yml).

Added

  • Sonicake Smart Box: settings writes (2.0 phase, test version; PT-BR notice "Smart Box: edições ao vivo, salvar, renomear, copiar, ordem da cadeia, volume, BPM, footswitches, ajustes, EXP/FS, afinador, Organizar e importar liberados para teste; slots de IR e captura, restaurar fábrica e o resto ainda bloqueados."). The allowlist (isSmartBoxWrite) now also takes, each with its exact payload and range: the preset BPM 11 42 02 20 01 00 lo hi (40..260, setPresetBpm); global settings 11 11 a0 a1 00 00 int32 for the records identified on the unit only (master 0..100, the four levels -20..20, USB recording mode, re-amp, ECO, boot anti-touch protection, EXP/FS type 0..2, backlight 0..10; never battery-only or any unidentified record); the EXP/FS targets 11 17 01 v (0..7) and 11 16 00|02|04 v (0..17); the per-block footswitch 11 4D switch module on (setFootswitch, module 0..8, never 9); and the tuner, exactly B0 3A 7F or B0 3A 00. Settings are written one record at a time, so the rest of the 107-byte globals reply is never touched, and each batch is read back: the reply before the first write is compared with the one after (globalsNotTaken: every written setting holds its value, every other record is byte for byte as it was); a mismatch is named ("Smart Box: não aplicado: Master.") and the open Global options show what the unit holds. The footswitch masks are decoded from the edit buffer's record 0x0003 (Preset.footswitch, Smart Box only: FS1 and FS2 bit masks over modules 0..8; P02 reads FS1 = DRV, FS2 = DLY+RVB), edited per block with FS1/FS2 toggles in the block header and read back; the BPM is a knob next to the preset volume, read back from record 0x2002. diffPresets never asks for BPM or footswitch edits on a Pocket Master preset (that unit ignores them). EXP/FS targets are not in the settings reply, so they are sent and not read back. Global options on the Smart Box add USB recording, re-amp, ECO and the EXP/FS jack, and never show the factory reset. 11 3F factory reset, 11 23 IR clear, 11 27 capture clear, IR/capture uploads and renames, firmware messages, the amp-mode switch to a captured profile, battery-only, the unconfirmed Sync/Trail switches and the assistant stay refused, with negative tests. Tested against the simulated Smart Box only; owner's checklist H0-H9 to run on scratch slots P31-P33.

  • Sonicake Smart Box: storing presets (2.0 phase, test version; PT-BR notice "Smart Box: edições ao vivo, salvar, renomear, copiar, ordem da cadeia, volume, Organizar e importar liberados para teste; ajustes, afinador, slots de IR e captura e o resto ainda bloqueados."). The allowlist (isSmartBoxWrite) now also takes save/rename 11 4A (P01..P50 only, a name exactly as encodeName writes it), copy 11 4B (into P01..P50 only), chain order 11 44 (a valid chain) and preset volume 11 42 01 (0..100), each with its exact payload; a model swap 11 47 must name a model the Smart Box catalog lists for that block, so TWD-P 1x10 or an unknown code never reaches the unit. Save, rename, Organize and Restore use the Pocket Master's flows: the target backed up first (tagged "pedal": "smart-box", never restored into the other pedal), then the save, the names and the loaded slot read back, and on the Smart Box the stored slot (12 4F) compared with the buffer too. Copy backs the destination up first on the Smart Box. Chain order and volume are read back like the live edits. A Pocket Master preset file picked on a Smart Box always goes through the conversion (models the Smart Box lacks are mapped) and loadIntoEditBuffer refuses another pedal's preset or an unknown model before anything is sent. The core backup flows decode dumps in the connected pedal's catalog. BPM, globals, EXP/FS, footswitch, tuner, IR/capture uploads, renames and clears, factory reset and the unconfirmed Sync/Trail switches stay refused. docs/smart-box.md also records that the Smart Box acknowledges 11 43 with 14 08 (owner's log, 2026-12-01). Tested against the simulated Smart Box only; owner's checklist G1-G8 to run on the unit.

  • Sonicake Smart Box: live edits with readback (2.0 phase, test version; PT-BR "Smart Box: edições ao vivo liberadas para teste; salvar e o resto ainda bloqueados"). A knob, block on/off, a model swap within a module and loading a preset slot (with the "Discard and load" question over unsaved edits) now go to the Smart Box, the same frames the Pocket Master editor sends; Undo, Redo and Revert work because they use only those. Each is read back: live edits from the edit buffer once the editor is quiet (each edit checked on its own field), a load by the current preset and the edit buffer against the stored slot. A write the unit did not take is named in a PT/EN error and the screen shows what the unit holds; nothing is retried. The core link's Smart Box guard is now an allowlist of frame types (isSmartBoxWrite: 11 48, 11 49 modules 0..8, 11 47, 11 43, exact lengths), so save, rename, copy, chain order, preset volume, BPM, globals, EXP/FS, footswitch, tuner, uploads, IR and capture clears, factory reset and the amp-mode switch stay refused; they stay disabled in place with the reason. Sync/Trail switches not yet checked on the unit (all but the reverbs' Trail and Sweep's), including the Analog delay's, are disabled and refused (isUnconfirmedParam). Tested against the simulated Smart Box only; to check on the unit before anything else is enabled. See docs/smart-box.md.

  • Sonicake Smart Box, read-only (experimental, test version; PT-BR "Smart Box: leitura apenas nesta versão de testes"). The editor recognises the Smart Box by its USB MIDI port name ("Smart Box", and "Smart Box BLE" over Bluetooth), opens it with the Pocket Master's protocol and shows its presets, chain, blocks, parameters, global settings, firmware and IR and capture names, and follows what is done on the unit (knobs, block switches, preset switches, the modified flag). Every write is refused in the core link for the Smart Box (nothing but read queries is sent), and the header, the block knobs, the preset list, the IR and capture slots, the global settings, the backups and the AI tab show their write actions disabled in place with the reason. Read, Export preset and Convert preset to… work. Tested against a simulated Smart Box only; to check on the unit (firmware V1.0.6). See docs/smart-box.md.

  • Core: a Smart Box catalog (smartBoxCatalog, an overlay on the Pocket Master's): the 36 models SonicMaster adds (FX, amps, Bass 4x10 cab, delays) and Sync/Trail switches, with the official QME-20 data winning where the two disagree (no TWD-P 1x10, 0x0B000001 is Echo and 0x0B000014 Analog (both confirmed on the unit), Trail on the reverbs, Sweep's S-Sync/D-Sync/Trail). PedalKind gains 'smart-box'; PocketMasterLink takes the pedal and its profile (POCKET_PROFILES); a decoded preset and a preset file carry pedal: 'smart-box', so its models resolve in the right catalog and the Pocket Master refuses a Smart Box file as its own.

  • Convert preset to… lists the Smart Box (TONE_ADAPTERS['smart-box'], the Pocket Master adapter over the Smart Box catalog). Converting to it only downloads a file: nothing is loaded into the unit in this version.

  • MCP server: which_pedal names a connected Smart Box; no tool drives it yet.