Repository navigation
0.51.0
[0.51.0] - 2026-11-24
Phase D2 sandbox, pack security, and frontend hygiene release: retires the dead pre-0.47.0 Deno template path, unifies map pack critical scan-gating with direct map imports, tightens frontend TypeScript interfaces, adds in_chat_system to the Lorebook Position dropdown, and adds cross-feature regression tests.
Changed
- Retired dead pre-0.47.0 Deno template path. Removed
app/services/deno_template.mjsand the unused legacy cold-runner helpers (_TEMPLATE_PATH,_build_runner_script,_run_deno_sync,_execute_deno,_execute_deno_interactive,_run_deno_interactive) fromapp/services/deno_runner.py, eliminating the duplicate Passenger stderr-pump copy now that all cantrips run through thedeno_worker.mjspool. - Map pack installs now enforce
gate_scan_findings(behavior change).POST /api/packs/installpreviously bypassedgate_scan_findingsforresource_type == "map", allowing embedded cantrips or lorebooks with critical safety findings to install withoutoverride_scan=True. Map pack installs now reject critical findings with HTTP 422 (unlessoverride_scan=True), matchingPOST /api/maps/import.
Added
in_chat_systemoption in Lorebooks Position dropdown (frontend/src/pages/Lorebooks.svelte) so all four backend-supportedINJECTION_POSITIONS(system_start,before_last_message,in_chat_system,user_tail) are selectable in the UI.- Large
summarization_block_sizeUI hint (frontend/src/pages/Settings.svelte): displays a non-blocking note whensummarization_block_size > 20explaining that compaction waits until at least that many older messages accumulate past the Keep Recent window. - Strict frontend TypeScript interfaces (
frontend/src/api.ts): removed[key: string]: anyfromMapStageandUserSettingsand added explicitMapStageResourceandPipelineOrderPlantypes. - Cross-feature regression tests (
tests/test_phase51_d2_cleanup.py) covering map-pack critical scan-gating parity, lorebook + cantripuser_tailcoexistence in both orders,context.history.droprelative tohistory_windowinside a Map stage, and dead-template removal.