[PR #1494] [MERGED] fix(packages): use the Engine's own code instead of bundled copies #1493

Closed
opened 2026-10-21 05:12:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1494
Author: @SpicyMarinara
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/20/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/ready-agents-ui-store-bundle


📝 Commits (10+)

  • 5a01975 feat(packages): Calls, Noodle and Slurp servers use the Engine's runtime services
  • 8a96c65 fix(packages): keep Slurp's memory lookup on the registry overlay; always unbind Calls
  • 3775635 fix(packages): admission check never throws; name the singleton baseline relatively
  • 4017b35 feat(packages): package clients use the Engine's host namespace
  • 0d9a397 fix(packages): host Modal keeps package i18n, stacking and tests
  • 8fc1a1e Merge branch 'feat/packages-host-runtime' into fix/ready-agents-ui-store-bundle
  • 687d95b fix(packages): require capability API 1.341 for every rebuilt package
  • e3aaecd chore(catalog): rebuild 12 packages on the Engine's host
  • 559b63f test(packages): prove every agent at once on the Engine's host
  • 1b217fd chore(catalog): rebuild the 12 packages again with the query defaults

📊 Changes

161 files changed (+6463 additions, -5512 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+21 -3)
📝 CONTRIBUTING.md (+13 -1)
📝 README.md (+2 -2)
➕ artifacts/chess-1.0.6.zip (+0 -0)
➕ artifacts/conversation-calls-1.1.5.zip (+0 -0)
➕ artifacts/eightball-1.0.6.zip (+0 -0)
➕ artifacts/hierarchical-maps-1.5.2.zip (+0 -0)
➕ artifacts/long-term-memory-1.4.56.zip (+0 -0)
➕ artifacts/memory-nag-1.2.1.zip (+0 -0)
➕ artifacts/noodle-1.5.7.zip (+0 -0)
➕ artifacts/poker-1.0.6.zip (+0 -0)
➕ artifacts/rock-paper-scissors-1.0.6.zip (+0 -0)
➕ artifacts/slurp2-0.3.51.zip (+0 -0)
➕ artifacts/tic-tac-toe-1.0.6.zip (+0 -0)
➕ artifacts/uno-1.0.6.zip (+0 -0)
📝 catalog/catalog.json (+170 -159)
📝 catalog/notes.json (+36 -12)
📝 catalog/v2/catalog.json (+170 -159)
📝 catalog/v2/notes.json (+36 -12)
📝 catalog/v3/catalog.json (+170 -159)

...and 80 more files

📄 Description

Merge after Engine E-client #7869 ; E-server #7868 ; E-disk #7870 (Pasta-Devs/Marinara-Engine). All three are now merged into Engine staging (Pasta-Devs/Marinara-Engine#7869, Pasta-Devs/Marinara-Engine#7870, and Pasta-Devs/Marinara-Engine#7868 at 25f8df7b0), so D8 holds and Engine staging reports capability API 1.341.

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #1478
Closes #1487

Engine side: Pasta-Devs/Marinara-Engine#7858.

Why this change

Twelve agent packages carried their own copies of code that Marinara Engine already runs. Several of those copies kept their own state beside the Engine's, so they broke things:

  • Settings resets (#1478). On every page load, the bundled copies of the Engine's UI settings store saved an old version of your settings over the Engine's.
  • Page-load chat bugs. Each bundled chat store remembered the chat that was open when the page loaded. Calls' connection switcher and the sticker and emoji settings in Calls, Noodle and Slurp changed that chat instead of the current one.
  • Game boards not locking. The six games read their own chat store copy, which never heard the Engine stream, so boards stayed playable while the character replied.
  • A second llama-server, and more. Calls, Noodle and Slurp each ran their own copy of the Local Model manager, connection queue, ChatGPT login refresh, chat-save queue, logger, haptics client and Spotify client. That can start a second llama-server, run background jobs while your chat is replying, rewrite sidecar-config.json, overwrite chat metadata saved in the meantime, and open two Intiface clients.
  • Duplicated MBs on disk. React ×12, the Claude Agent SDK ×3, zod, React Query, the Engine's shared package and the Engine's whole stylesheet were inside the bundles. The 12 packages shrink from 23.0 MB to 9.2 MB of ZIPs (table below).

This PR is the contract's "A-integrate" step: it merges the two infra branches (client: fix/ready-agents-ui-store-bundle, server: feat/packages-host-runtime), rebuilds all 12 packages once against one Engine, and publishes them.

Decisions (binding; made by the lead while the maintainer was asleep)

  • D1 All of the audit plan ships in this release: this_release lanes 1–4, next_release phases 1–4, disk_cleanup and every guardrail. Nothing is deferred unless proven impossible; see "Not done" below.
  • D2 One namespace: globalThis.__MARINARA_HOST__ = { version: 1, ... }. There is no __MARINARA_HOST_UI_STORE__ alias; it was never published.
  • D3 Rebuilt packages are gated on the host's capability API (1.341, bumped in the Engine by Pasta-Devs/Marinara-Engine#7868), not on engine.min, because Engine staging still reports 2.5.0 until the release bump. Engines without the members never install these versions and keep the installed version working. The UI and chat store adapters keep a read-only fallback that never writes. A package never falls back to a bundled copy of a stateful Engine service; it reports the feature unavailable.
  • D4 Packages use the host's React and the other host libraries. A host React major upgrade requires a capability API major. This is documented for package authors in CONTRIBUTING.md, "Using the Engine's host".
  • D5 During a call, Calls' connection switcher and emoji settings use the call's chat (session.chatId). Noodle and Slurp hide the chat-scoped emoji-selection settings, because they have no chat.
  • D6 Bugs only reasoned from code (ChatGPT refresh race, two haptics clients, logger shutdown hang, a cleared map move coming back) are fixed by moving to the host code, without a separate reproduction.
  • D7 Unchanged: uninstall keeps package data; launcher update backups keep copying versions/.
  • D8 Every Engine PR of this work merges to staging before this PR.
  • D9 Tested what this Mac can (below). Everything else is in the manual list for Mari.
  • D10 Never delete user data. Only Engine-side disk cleanup (Pasta-Devs/Marinara-Engine#7870) deletes anything, and only runtime copies and old package versions.

Contract decisions this PR relies on: C1 (target capability API 1.341), C2 (the 12 esbuild-built packages are rebuilt once with schemaVersion: 2; engine.min and engine.maxExclusive are unchanged; the six prebuilt packages are only gated), C3 (versions above every version any branch ever published; Slurp is 0.3.51 because origin/slurpothon published 0.3.50), C4 (one MARINARA_ENGINE_ROOT for every build; the per-package builtAgainst pins are retired, which replaces plan guardrail 6), C5 (server externals load through the Engine's packages/server dependencies), C6 (@marinara-engine/shared stays bundled, tree-shaken), C7 (Engine storage reads stay bundled under a shrink-only ratchet), C8 (host QueryClient and toasts), C9 (initReactI18next withheld), C11 (Calls, Noodle and Slurp stop bundling the Claude (Subscription) provider and its plugin), C12 (one Agents PR), C13 (no sources/engine file deleted or re-fingerprinted), C14 (new tests in new files).

What changed

  • On a Marinara Engine without capability API 1.341 (2.5.0 and older), these agent versions can no longer be installed; an agent you already have keeps working until you update Marinara Engine.
  • Noodle and Slurp no longer show the chat emoji-selection settings in their sticker and emoji pickers.
  • Client (sources/host-client-overlay, scripts/esbuild-host-plugins.mjs, scripts/client-host-gates.mjs). Every feature build stacks adapters for the Engine's 9 stores, TTS, app dialogs, API client, emoji catalog and Modal over the vendored modules, and resolves React, React DOM, React Query, zustand, sonner, zod, i18next, react-i18next, framer-motion, tailwind-merge and clsx to the Engine's own modules. Packages render with the host QueryClient and the host toaster, with no own <Toaster>, dialog renderer or QueryClient. Noodle and Slurp CSS keep only their own utilities over the Engine theme (source(none) + @reference). Calls wraps its composer in PackageChatScope (D5); World Maps uses the host chat slice for pending moves.
  • Server (sources/host-runtime-overlay, scripts/server-host-gates.mjs). Calls, Noodle and Slurp reach the Local Model, provider routing and fallback, connection admission, the command and service registries, image and video generation and the logger through api.runtime. Calls writes chats through api.runtime.persistence (patchChatMetadata, appendMessages, notes, influences) and uses the Engine's haptics, Spotify, Local Whisper and gallery. A missing host member answers HTTP 501 host_feature_unavailable. zod, adm-zip, dotenv, nanoid and jsonrepair load from the Engine for every package. The Claude (Subscription) overlay and its plugin copies are deleted.
  • Integration (this step).
    • Merged both infra branches into fix/ready-agents-ui-store-bundle and resolved scripts/build-feature-packages.mjs (client overlay for every feature, overlay-aware capture paths, server overlay, externals and gates; the Claude overlay is gone from both sides).
    • bundleServer() uses runEsbuild with sharedTreeShakingPlugin, like the clients. The esbuild CLI spawner is deleted.
    • Every rebuilt package declares schemaVersion: 2, capability API 1.341 and one builtAgainst (see "Engine build"). World Maps, Long-Term Memory and Memory Nag record the same values in engine-boundary.json; hierarchical-maps-boundary.mjs and validate-catalog.mjs expect 1.341.
    • Versions: chess, eightball, poker, rock-paper-scissors, tic-tac-toe and uno 1.0.6, Calls 1.1.5, Noodle 1.5.7, Slurp 0.3.51, World Maps 1.5.2, Long-Term Memory 1.4.56, Memory Nag 1.2.1. Each is above every version any branch ever published. Each package with a CHANGELOG has a user-facing entry; Slurp has SLURP2_VERSION and a splash entry (the oldest 0.2.20 splash entry goes to stay under the 800-line limit, as on slurpothon).
    • scripts/server-singleton-baseline.json is empty: no published package server carries a Local Model, connection-admission, Claude Agent SDK, Pino, Intiface or Spotify fingerprint any more. The Tier B baseline (scripts/server-engine-modules-baseline.json, Engine storage reads with a reason each) matches the rebuilt bundles exactly.
    • MARINARA_PACKAGE_IDS (comma list) installs several packages into one browser fixture (install-package-browser-fixture.mjs, start-package-browser-servers.mjs, run-package-browser-tests.mjs).
    • New tests/package-all-agents.e2e.ts: with all 12 rebuilt and the 5 prebuilt packages installed, three page loads keep marinara-engine-ui at the Engine's version with its browser-only settings, no package writes an Engine-owned key itself (stack-attributed, with a positive control on Noodle's own keys), every React fiber in the page has the host's suffix, there is one toaster, and Escape closes only the topmost dialog.
    • New tests/package-host-fixture.ts: the Long-Term Memory browser fixture page now provides the Engine's host libraries and QueryClient before it loads the package client.
    • Tests that pinned old behaviour: the Calls version pin, the Long-Term Memory capability API pin, a minified-name regex that missed $, and the NovelAI test now asserts Noodle's server carries no copy of the Engine's image runtime.
    • Docs: CONTRIBUTING.md gets the host-runtime overlay line, loses the Claude overlay line, and gets a "Using the Engine's host" section (rules, D4). README states the new compatibility and how package UIs follow the Engine theme.

Engine build

The committed outputs of all 12 packages come from one node scripts/build-feature-packages.mjs chess eightball poker rock-paper-scissors tic-tac-toe uno conversation-calls noodle slurp2 hierarchical-maps long-term-memory memory-nag invocation against MARINARA_ENGINE_ROOT = E_TARGET 25f8df7b0a388fe36f657d69c6fcaa9f27e066ed, the first Engine staging commit with Pasta-Devs/Marinara-Engine#7869, #7870 and #7868 (capability API 1.341). Every manifest and engine-boundary.json records it as builtAgainst (engine 2.5.0). Every client gate, server gate and the shim export check ran inside that build.

The testing below ran against a local merge of Engine staging dcae41337 and the #7868 head (3ae82c539), before #7868 merged. That merge has the same tree as E_TARGET (781097688), and the E_TARGET build left every client.js and server.mjs byte-identical; only builtAgainst, the ZIPs and the catalogs changed. The same 12-id invocation ran three times in this branch: the first outputs were replaced after the Slurp splash had to shrink below 800 lines, the second after the Long-Term Memory browser test showed the query-freshness change below, and the third only moved builtAgainst to E_TARGET.

Size before and after

Package Version client.js server.mjs ZIP
chess 1.0.5 → 1.0.6 553.5 KB → 28.2 KB 105.5 KB → 47.2 KB 661.2 KB → 77.8 KB
eightball 1.0.5 → 1.0.6 559.4 KB → 36.5 KB 88.0 KB → 29.6 KB 649.8 KB → 68.7 KB
poker 1.0.5 → 1.0.6 556.0 KB → 33.2 KB 81.7 KB → 23.4 KB 640.0 KB → 59.0 KB
rock-paper-scissors 1.0.5 → 1.0.6 552.3 KB → 27.3 KB 65.1 KB → 6.9 KB 619.7 KB → 36.8 KB
tic-tac-toe 1.0.5 → 1.0.6 548.0 KB → 23.3 KB 65.0 KB → 6.8 KB 615.4 KB → 32.7 KB
uno 1.0.5 → 1.0.6 554.4 KB → 32.6 KB 81.8 KB → 23.5 KB 638.4 KB → 58.5 KB
conversation-calls 1.1.4 → 1.1.5 863.5 KB → 163.4 KB 2.41 MB → 396.1 KB 3.25 MB → 561.8 KB
noodle 1.5.6 → 1.5.7 2.28 MB → 700.6 KB 1.93 MB → 531.2 KB 4.25 MB → 1.23 MB
slurp2 0.3.49 → 0.3.51 4.55 MB → 2.63 MB 3.37 MB → 1.83 MB 8.79 MB → 5.33 MB
hierarchical-maps 1.5.1 → 1.5.2 935.8 KB → 426.7 KB 305.9 KB → 132.3 KB 1.21 MB → 561.5 KB
long-term-memory 1.4.55 → 1.4.56 957.0 KB → 626.4 KB 462.5 KB → 462.5 KB 1.39 MB → 1.07 MB
memory-nag 1.2.0 → 1.2.1 394.0 KB → 140.7 KB 23.2 KB → 23.2 KB 420.6 KB → 167.4 KB
All 12 13.15 MB → 4.82 MB 8.96 MB → 3.48 MB 23.04 MB → 9.22 MB

Long-Term Memory and Memory Nag server bundles are unchanged byte for byte.

Package and security impact

  • Affected package IDs: chess, eightball, poker, rock-paper-scissors, tic-tac-toe, uno, conversation-calls, noodle, slurp2, hierarchical-maps, long-term-memory, memory-nag. The prebuilt beholder, gacha-forge, quartermaster, relationship-tracker, pixelforge and modern-life-sim are not rebuilt; the gates check them.
  • Engine compatibility impact: schemaVersion: 2, capability API 1.341. engine.min and engine.maxExclusive are unchanged. Engines below 1.341 refuse the install with "Package requires capability API 1.341; this Engine supports …" and keep the installed version (proved below with Engine v2.5.0's own schema).
  • New or changed permissions/entrypoints: none added. The claude-code-plugin/* assets are removed from Calls, Noodle and Slurp.
  • Restart, storage, update, or uninstall impact: the usual restart for packages with server code. No storage format change; package data is untouched. Package clients no longer write any Engine-owned browser storage.

Risky work claim boundary

  • Core claim: the 12 rebuilt packages take the Engine's stores, libraries and runtime services from the Engine instead of bundling copies, install and run on an Engine with capability API 1.341, and are refused (keeping the installed version) on older Engines.
  • Risk type: executable client/server payloads, compatibility gating, catalog and artifacts.
  • Entrypoints: every rebuilt client.js (custom element per package) and server.mjs (activate/selfCheck; Calls, Noodle and Slurp bind api.runtime first).
  • Current path tested: a 1.341 Engine (3ae82c539, the E_TARGET tree) with the new artifacts installed through the browser fixture; servers activate active/ready.
  • Legacy path tested: Engine v2.5.0's own capability-package.schema.ts parses all 41 v2 catalog manifests and refuses all 12 rebuilt ones; the update finder on 1.341 leaves out a copy that needs 1.342.
  • Positive rows: the browser suites, the all-agents test and the stub-LLM scenario below.
  • Negative controls: the storage-key gate's published 1.0.5/1.5.1 artifacts; the NovelAI assertion fails on staging's Noodle server; the all-agents attribution sees Noodle's own key writes; a 1.342 manifest is refused.
  • Ground truth: the esbuild metafiles each build writes (client and server gates) and the published bundles (fingerprint ratchet, storage-key gate).
  • Manual blockers: listed under "Manually verify".

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

What the agent ran on macOS (Node 24.16.0), against Engine 3ae82c539 (same tree as E_TARGET):

  • Every command of .github/workflows/pull-request-checks.yml (57, after npm ci), plus npm run check and git diff --check: all pass. That includes validate-catalog.mjs (storage-key gate on all 18 clients, prebuilt included), the client and server gate regressions, the server singleton gate (empty baseline), the host module shims, test-catalog-lanes.mjs, the locale checks and catalog-release-notes.
  • npm run typecheck:packages with the Engine: passes.
  • npm run test:slurp:regressions with the Engine: 299 of 299 pass.
  • Noodle regressions run one by one: 27 pass. 5 fail, and neither they nor any file they read differ from staging (noodle-public-only, noodler-content-formats, noodler-disclosure-contract, noodler-fictional-prices, noodler-generation-guidance-default; no workflow runs them).
  • Long-Term Memory, the ltm-browser.yml list through the Engine's tsx: all 20 pass, plus long-term-memory-loading and long-term-memory-runtime. long-term-memory-browser.regression.ts (the first step of that workflow) loaded no package UI at first: its fixture page had no host. With the new fixture host it renders, queries and changes memory places, and it found that Long-Term Memory lost its stale-at-once query default in the Engine's cache, which this PR restores (Noodle too). On this Mac it then stops at line 4629 of 6339, where ArrowDown and Enter on a native <select> change nothing in macOS headless Chromium (reproduced on a plain page); CI runs it on Linux.
  • Browser suites, desktop-chromium and mobile-chromium, --workers=2, ports 5460/5461:
    • Noodle 42 passed (12 skipped by design), Slurp 23 passed, Slurp guided, partner and exes 1 each, Calls 2, and the turn-game smoke for all six games (board renders, then locks while the host chat store says the character is replying): 2 each.
    • package-all-agents.e2e.ts with 17 packages installed: 2 passed.
    • Memory Nag (2 failed) and Beholder (2 failed) fail on the Engine's redesigned chat window, not on the packages: Memory Nag's test looks for the old "Agents … Show help" settings button, and Beholder's for a "Beholder" button that is now "Open Beholder" behind a window. With only those selectors changed (not committed), Beholder passed on desktop; its mobile layout needs more. Beholder is not rebuilt in this PR.
  • Stub OpenAI-compatible server on 127.0.0.1:7469, all 17 packages installed on one Engine (active/ready each):
    • While chat B streamed on the stub connection, a call in chat A started and answered, and its [schedule_update] command turn was parsed.
    • A background Noodle refresh during chat B's stream was refused with 409 "Connection … is not available for background generation", the Engine's own admission answer: the package uses the Engine's connection queue.
    • A metadata change made while the call reply was generating survived the call (concurrentChange: kept, keepMe: before); chat B's connection was unchanged.
    • Runtime copies: 16 server copies, no client.js in any of them, 13 MB in total; versions/<id> holds one version each.
  • Gating, in-process on the 1.341 Engine: getCapabilityApiCompatibilityIssue accepts all 12 rebuilt manifests; a copy needing 1.342 is refused with the exact message, and findCompatibleCapabilityPackageUpdates leaves it out while offering the real one. Engine v2.5.0's schema refuses all 12 with "Package requires capability API 1.341; this Engine supports 1.66".

Not tested here:

  • Local Model and Local Whisper at runtime (a model and runtime download on a shared Mac with 28 GB free). The Tier A gate and the empty fingerprint ratchet show no package server contains the Local Model or Whisper code; Noodle and Slurp call the Engine's provider.
  • ChatGPT login refresh, Intiface haptics, Spotify, real provider keys.
  • Docker, Windows and Termux installs; the v2.5.0 and 2.4.x Engines in a browser.
  • The rebuilt Slurp background-job admission at runtime (it goes through the same overlay as Noodle's).

Known failures that are not caused by this PR:

  • node scripts/validate-vendored-engine.mjs (Noodle browser workflow, not required) reports 146 drifted vendored files against current Engine staging. This PR changes no sources/engine file and must not re-fingerprint them (C13).
  • tests/hierarchical-maps-lifecycle.regression.ts updates a prior World Maps artifact to 1.5.2 and gets through the Game map reconciliation, then fails where the Engine's message bulk delete now answers 200 with { trashed } instead of 204.
  • Calls' [schedule_update] during a call reaches the chat's cached schedule through patchChatMetadata, but the Engine now owns schedules on the character card and re-resolves the cache, so the change does not show. Calls 1.1.4 wrote the same cached copy (by its code); it needs its own follow-up.

Manually verify (Mari)

  • Manually verify on staging that installing or updating Calls, Noodle, Slurp, World Maps, Long-Term Memory, Memory Nag and the six games succeeds and that each opens.
  • Manually verify that a browser-only setting (for example Reduced paint effects in Roleplay) survives two reloads with all agents installed.
  • Manually verify in a call: the connection switcher changes the call's chat, the sticker and emoji settings change the call's chat, [youtube] plays in the Engine's player, and adding a sticker shows its dialog.
  • Manually verify that the game boards lock while the character replies.
  • Manually verify that Noodle and Slurp look the same as before (feed, profile, composer, settings, dark and light theme) and that their toasts appear at your toast position.
  • Manually verify with your Local Model that Noodle captioning uses the Engine's model (one llama-server in Activity Monitor).
  • Manually verify ChatGPT (subscription) generation in Noodle and Slurp after a token refresh.
  • Manually verify Calls haptics with Intiface, and Calls song commands with Spotify.
  • Manually verify Calls with Local Whisper.
  • Manually verify on a v2.5.0 install that the new agent versions are refused with "Package requires capability API 1.341" and the installed ones keep working.
  • Manually verify after a restart that capability-runtime-snapshots holds only the live copies, and that versions/<id> keeps at most two versions.
  • Manually verify Docker, Windows and Termux start packages with server code (zod is loaded from the Engine).
  • Manually verify the Memory Nag settings range controls and the Beholder panel in the redesigned chat window (their browser tests need new selectors).
  • Promote Agents staging to main together with the Engine release: a v2.5.0 user who has not installed one of these agents sees it in Download Agents, but installing it is refused until they update Marinara Engine.

Not done

  • Engine storage and db reads stay bundled in Calls, Noodle and Slurp (contract N1, Tier B ratchet): the host has no read API for those tables.
  • @marinara-engine/shared is not taken from the host (N2): the vendored tree does not typecheck against today's Engine. Both sides tree-shake it instead.
  • Lazy package import and deflated ZIPs (plan phase 5) are not in D1's list (N3).

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

Summary by CodeRabbit

  • Improvements

    • Packages now share Engine-provided settings, dialogs, notifications, chat state, libraries, and local models for more consistent behavior.
    • Calls, Noodle, Slurp, and World Maps improve background-task coordination, connection switching, notification placement, and concurrent chat updates.
    • Several packages have smaller downloads and reduced duplicated functionality.
    • Missing Engine capabilities now provide clearer upgrade guidance.
  • Compatibility

    • Updated packages require Capability API 1.341 and, for selected releases, an Engine newer than 2.5.0; older installations remain supported where noted.
    • Package versions and catalog metadata were refreshed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1494 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/20/2026 **Status:** ✅ Merged **Merged:** 10/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/ready-agents-ui-store-bundle` --- ### 📝 Commits (10+) - [`5a01975`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5a01975784c4c678751310285b451dd87ac6ce51) feat(packages): Calls, Noodle and Slurp servers use the Engine's runtime services - [`8a96c65`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8a96c65df131013e5b4361521c9d0dada293f4e8) fix(packages): keep Slurp's memory lookup on the registry overlay; always unbind Calls - [`3775635`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3775635e6189def07cd7a911b7f326e0e3421b6d) fix(packages): admission check never throws; name the singleton baseline relatively - [`4017b35`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4017b35200371406fa5188ca8fb75370016102bc) feat(packages): package clients use the Engine's host namespace - [`0d9a397`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0d9a397a37a05831b230713445118b4c00995402) fix(packages): host Modal keeps package i18n, stacking and tests - [`8fc1a1e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8fc1a1e6b40a5094bf41c8a76a7b0ee25e921ea1) Merge branch 'feat/packages-host-runtime' into fix/ready-agents-ui-store-bundle - [`687d95b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/687d95b0c8265f08fce941b9f680079b3ea96608) fix(packages): require capability API 1.341 for every rebuilt package - [`e3aaecd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e3aaecd50a4b93c8f9ae96c76af12b864f033f8a) chore(catalog): rebuild 12 packages on the Engine's host - [`559b63f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/559b63f8065ced420f0ee97e250681a7cc9c9d90) test(packages): prove every agent at once on the Engine's host - [`1b217fd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1b217fd5289c75f1641ee4a45f5faaf30c4ddcb2) chore(catalog): rebuild the 12 packages again with the query defaults ### 📊 Changes **161 files changed** (+6463 additions, -5512 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+21 -3) 📝 `CONTRIBUTING.md` (+13 -1) 📝 `README.md` (+2 -2) ➕ `artifacts/chess-1.0.6.zip` (+0 -0) ➕ `artifacts/conversation-calls-1.1.5.zip` (+0 -0) ➕ `artifacts/eightball-1.0.6.zip` (+0 -0) ➕ `artifacts/hierarchical-maps-1.5.2.zip` (+0 -0) ➕ `artifacts/long-term-memory-1.4.56.zip` (+0 -0) ➕ `artifacts/memory-nag-1.2.1.zip` (+0 -0) ➕ `artifacts/noodle-1.5.7.zip` (+0 -0) ➕ `artifacts/poker-1.0.6.zip` (+0 -0) ➕ `artifacts/rock-paper-scissors-1.0.6.zip` (+0 -0) ➕ `artifacts/slurp2-0.3.51.zip` (+0 -0) ➕ `artifacts/tic-tac-toe-1.0.6.zip` (+0 -0) ➕ `artifacts/uno-1.0.6.zip` (+0 -0) 📝 `catalog/catalog.json` (+170 -159) 📝 `catalog/notes.json` (+36 -12) 📝 `catalog/v2/catalog.json` (+170 -159) 📝 `catalog/v2/notes.json` (+36 -12) 📝 `catalog/v3/catalog.json` (+170 -159) _...and 80 more files_ </details> ### 📄 Description **Merge after Engine E-client #7869 ; E-server #7868 ; E-disk #7870 (Pasta-Devs/Marinara-Engine).** All three are now merged into Engine `staging` (Pasta-Devs/Marinara-Engine#7869, Pasta-Devs/Marinara-Engine#7870, and Pasta-Devs/Marinara-Engine#7868 at `25f8df7b0`), so D8 holds and Engine `staging` reports capability API 1.341. > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1478 Closes #1487 Engine side: Pasta-Devs/Marinara-Engine#7858. ## Why this change Twelve agent packages carried their own copies of code that Marinara Engine already runs. Several of those copies kept their own state beside the Engine's, so they broke things: - **Settings resets (#1478).** On every page load, the bundled copies of the Engine's UI settings store saved an old version of your settings over the Engine's. - **Page-load chat bugs.** Each bundled chat store remembered the chat that was open when the page loaded. Calls' connection switcher and the sticker and emoji settings in Calls, Noodle and Slurp changed that chat instead of the current one. - **Game boards not locking.** The six games read their own chat store copy, which never heard the Engine stream, so boards stayed playable while the character replied. - **A second llama-server, and more.** Calls, Noodle and Slurp each ran their own copy of the Local Model manager, connection queue, ChatGPT login refresh, chat-save queue, logger, haptics client and Spotify client. That can start a second llama-server, run background jobs while your chat is replying, rewrite `sidecar-config.json`, overwrite chat metadata saved in the meantime, and open two Intiface clients. - **Duplicated MBs on disk.** React ×12, the Claude Agent SDK ×3, zod, React Query, the Engine's shared package and the Engine's whole stylesheet were inside the bundles. The 12 packages shrink from 23.0 MB to 9.2 MB of ZIPs (table below). This PR is the contract's "A-integrate" step: it merges the two infra branches (client: `fix/ready-agents-ui-store-bundle`, server: `feat/packages-host-runtime`), rebuilds all 12 packages once against one Engine, and publishes them. ### Decisions (binding; made by the lead while the maintainer was asleep) - **D1** All of the audit plan ships in this release: this_release lanes 1–4, next_release phases 1–4, disk_cleanup and every guardrail. Nothing is deferred unless proven impossible; see "Not done" below. - **D2** One namespace: `globalThis.__MARINARA_HOST__ = { version: 1, ... }`. There is no `__MARINARA_HOST_UI_STORE__` alias; it was never published. - **D3** Rebuilt packages are gated on the host's capability API (1.341, bumped in the Engine by Pasta-Devs/Marinara-Engine#7868), not on `engine.min`, because Engine staging still reports 2.5.0 until the release bump. Engines without the members never install these versions and keep the installed version working. The UI and chat store adapters keep a read-only fallback that never writes. A package never falls back to a bundled copy of a stateful Engine service; it reports the feature unavailable. - **D4** Packages use the host's React and the other host libraries. A host React major upgrade requires a capability API major. This is documented for package authors in CONTRIBUTING.md, "Using the Engine's host". - **D5** During a call, Calls' connection switcher and emoji settings use the call's chat (`session.chatId`). Noodle and Slurp hide the chat-scoped emoji-selection settings, because they have no chat. - **D6** Bugs only reasoned from code (ChatGPT refresh race, two haptics clients, logger shutdown hang, a cleared map move coming back) are fixed by moving to the host code, without a separate reproduction. - **D7** Unchanged: uninstall keeps package data; launcher update backups keep copying `versions/`. - **D8** Every Engine PR of this work merges to `staging` before this PR. - **D9** Tested what this Mac can (below). Everything else is in the manual list for Mari. - **D10** Never delete user data. Only Engine-side disk cleanup (Pasta-Devs/Marinara-Engine#7870) deletes anything, and only runtime copies and old package versions. Contract decisions this PR relies on: **C1** (target capability API 1.341), **C2** (the 12 esbuild-built packages are rebuilt once with `schemaVersion: 2`; `engine.min` and `engine.maxExclusive` are unchanged; the six prebuilt packages are only gated), **C3** (versions above every version any branch ever published; Slurp is 0.3.51 because `origin/slurpothon` published 0.3.50), **C4** (one `MARINARA_ENGINE_ROOT` for every build; the per-package `builtAgainst` pins are retired, which replaces plan guardrail 6), **C5** (server externals load through the Engine's `packages/server` dependencies), **C6** (`@marinara-engine/shared` stays bundled, tree-shaken), **C7** (Engine storage reads stay bundled under a shrink-only ratchet), **C8** (host QueryClient and toasts), **C9** (`initReactI18next` withheld), **C11** (Calls, Noodle and Slurp stop bundling the Claude (Subscription) provider and its plugin), **C12** (one Agents PR), **C13** (no `sources/engine` file deleted or re-fingerprinted), **C14** (new tests in new files). ## What changed - **On a Marinara Engine without capability API 1.341 (2.5.0 and older), these agent versions can no longer be installed; an agent you already have keeps working until you update Marinara Engine.** - Noodle and Slurp no longer show the chat emoji-selection settings in their sticker and emoji pickers. - **Client (`sources/host-client-overlay`, `scripts/esbuild-host-plugins.mjs`, `scripts/client-host-gates.mjs`).** Every feature build stacks adapters for the Engine's 9 stores, TTS, app dialogs, API client, emoji catalog and `Modal` over the vendored modules, and resolves React, React DOM, React Query, zustand, sonner, zod, i18next, react-i18next, framer-motion, tailwind-merge and clsx to the Engine's own modules. Packages render with the host QueryClient and the host toaster, with no own `<Toaster>`, dialog renderer or QueryClient. Noodle and Slurp CSS keep only their own utilities over the Engine theme (`source(none)` + `@reference`). Calls wraps its composer in `PackageChatScope` (D5); World Maps uses the host chat slice for pending moves. - **Server (`sources/host-runtime-overlay`, `scripts/server-host-gates.mjs`).** Calls, Noodle and Slurp reach the Local Model, provider routing and fallback, connection admission, the command and service registries, image and video generation and the logger through `api.runtime`. Calls writes chats through `api.runtime.persistence` (`patchChatMetadata`, `appendMessages`, notes, influences) and uses the Engine's haptics, Spotify, Local Whisper and gallery. A missing host member answers HTTP 501 `host_feature_unavailable`. `zod`, `adm-zip`, `dotenv`, `nanoid` and `jsonrepair` load from the Engine for every package. The Claude (Subscription) overlay and its plugin copies are deleted. - **Integration (this step).** - Merged both infra branches into `fix/ready-agents-ui-store-bundle` and resolved `scripts/build-feature-packages.mjs` (client overlay for every feature, overlay-aware capture paths, server overlay, externals and gates; the Claude overlay is gone from both sides). - `bundleServer()` uses `runEsbuild` with `sharedTreeShakingPlugin`, like the clients. The esbuild CLI spawner is deleted. - Every rebuilt package declares `schemaVersion: 2`, capability API 1.341 and one `builtAgainst` (see "Engine build"). World Maps, Long-Term Memory and Memory Nag record the same values in `engine-boundary.json`; `hierarchical-maps-boundary.mjs` and `validate-catalog.mjs` expect 1.341. - Versions: chess, eightball, poker, rock-paper-scissors, tic-tac-toe and uno 1.0.6, Calls 1.1.5, Noodle 1.5.7, Slurp 0.3.51, World Maps 1.5.2, Long-Term Memory 1.4.56, Memory Nag 1.2.1. Each is above every version any branch ever published. Each package with a CHANGELOG has a user-facing entry; Slurp has `SLURP2_VERSION` and a splash entry (the oldest 0.2.20 splash entry goes to stay under the 800-line limit, as on `slurpothon`). - `scripts/server-singleton-baseline.json` is empty: no published package server carries a Local Model, connection-admission, Claude Agent SDK, Pino, Intiface or Spotify fingerprint any more. The Tier B baseline (`scripts/server-engine-modules-baseline.json`, Engine storage reads with a reason each) matches the rebuilt bundles exactly. - `MARINARA_PACKAGE_IDS` (comma list) installs several packages into one browser fixture (`install-package-browser-fixture.mjs`, `start-package-browser-servers.mjs`, `run-package-browser-tests.mjs`). - New `tests/package-all-agents.e2e.ts`: with all 12 rebuilt and the 5 prebuilt packages installed, three page loads keep `marinara-engine-ui` at the Engine's version with its browser-only settings, no package writes an Engine-owned key itself (stack-attributed, with a positive control on Noodle's own keys), every React fiber in the page has the host's suffix, there is one toaster, and Escape closes only the topmost dialog. - New `tests/package-host-fixture.ts`: the Long-Term Memory browser fixture page now provides the Engine's host libraries and QueryClient before it loads the package client. - Tests that pinned old behaviour: the Calls version pin, the Long-Term Memory capability API pin, a minified-name regex that missed `$`, and the NovelAI test now asserts Noodle's server carries no copy of the Engine's image runtime. - Docs: CONTRIBUTING.md gets the host-runtime overlay line, loses the Claude overlay line, and gets a "Using the Engine's host" section (rules, D4). README states the new compatibility and how package UIs follow the Engine theme. ### Engine build The committed outputs of all 12 packages come from **one** `node scripts/build-feature-packages.mjs chess eightball poker rock-paper-scissors tic-tac-toe uno conversation-calls noodle slurp2 hierarchical-maps long-term-memory memory-nag` invocation against `MARINARA_ENGINE_ROOT` = **E_TARGET** `25f8df7b0a388fe36f657d69c6fcaa9f27e066ed`, the first Engine `staging` commit with Pasta-Devs/Marinara-Engine#7869, #7870 and #7868 (capability API 1.341). Every manifest and `engine-boundary.json` records it as `builtAgainst` (engine 2.5.0). Every client gate, server gate and the shim export check ran inside that build. The testing below ran against a local merge of Engine `staging` `dcae41337` and the #7868 head (`3ae82c539`), before #7868 merged. That merge has the same tree as E_TARGET (`781097688`), and the E_TARGET build left every `client.js` and `server.mjs` byte-identical; only `builtAgainst`, the ZIPs and the catalogs changed. The same 12-id invocation ran three times in this branch: the first outputs were replaced after the Slurp splash had to shrink below 800 lines, the second after the Long-Term Memory browser test showed the query-freshness change below, and the third only moved `builtAgainst` to E_TARGET. ### Size before and after | Package | Version | client.js | server.mjs | ZIP | | --- | --- | --- | --- | --- | | chess | 1.0.5 → 1.0.6 | 553.5 KB → 28.2 KB | 105.5 KB → 47.2 KB | 661.2 KB → 77.8 KB | | eightball | 1.0.5 → 1.0.6 | 559.4 KB → 36.5 KB | 88.0 KB → 29.6 KB | 649.8 KB → 68.7 KB | | poker | 1.0.5 → 1.0.6 | 556.0 KB → 33.2 KB | 81.7 KB → 23.4 KB | 640.0 KB → 59.0 KB | | rock-paper-scissors | 1.0.5 → 1.0.6 | 552.3 KB → 27.3 KB | 65.1 KB → 6.9 KB | 619.7 KB → 36.8 KB | | tic-tac-toe | 1.0.5 → 1.0.6 | 548.0 KB → 23.3 KB | 65.0 KB → 6.8 KB | 615.4 KB → 32.7 KB | | uno | 1.0.5 → 1.0.6 | 554.4 KB → 32.6 KB | 81.8 KB → 23.5 KB | 638.4 KB → 58.5 KB | | conversation-calls | 1.1.4 → 1.1.5 | 863.5 KB → 163.4 KB | 2.41 MB → 396.1 KB | 3.25 MB → 561.8 KB | | noodle | 1.5.6 → 1.5.7 | 2.28 MB → 700.6 KB | 1.93 MB → 531.2 KB | 4.25 MB → 1.23 MB | | slurp2 | 0.3.49 → 0.3.51 | 4.55 MB → 2.63 MB | 3.37 MB → 1.83 MB | 8.79 MB → 5.33 MB | | hierarchical-maps | 1.5.1 → 1.5.2 | 935.8 KB → 426.7 KB | 305.9 KB → 132.3 KB | 1.21 MB → 561.5 KB | | long-term-memory | 1.4.55 → 1.4.56 | 957.0 KB → 626.4 KB | 462.5 KB → 462.5 KB | 1.39 MB → 1.07 MB | | memory-nag | 1.2.0 → 1.2.1 | 394.0 KB → 140.7 KB | 23.2 KB → 23.2 KB | 420.6 KB → 167.4 KB | | **All 12** | | **13.15 MB → 4.82 MB** | **8.96 MB → 3.48 MB** | **23.04 MB → 9.22 MB** | Long-Term Memory and Memory Nag server bundles are unchanged byte for byte. ## Package and security impact - Affected package IDs: chess, eightball, poker, rock-paper-scissors, tic-tac-toe, uno, conversation-calls, noodle, slurp2, hierarchical-maps, long-term-memory, memory-nag. The prebuilt beholder, gacha-forge, quartermaster, relationship-tracker, pixelforge and modern-life-sim are not rebuilt; the gates check them. - Engine compatibility impact: `schemaVersion: 2`, capability API 1.341. `engine.min` and `engine.maxExclusive` are unchanged. Engines below 1.341 refuse the install with "Package requires capability API 1.341; this Engine supports …" and keep the installed version (proved below with Engine v2.5.0's own schema). - New or changed permissions/entrypoints: none added. The `claude-code-plugin/*` assets are removed from Calls, Noodle and Slurp. - Restart, storage, update, or uninstall impact: the usual restart for packages with server code. No storage format change; package data is untouched. Package clients no longer write any Engine-owned browser storage. ### Risky work claim boundary - **Core claim:** the 12 rebuilt packages take the Engine's stores, libraries and runtime services from the Engine instead of bundling copies, install and run on an Engine with capability API 1.341, and are refused (keeping the installed version) on older Engines. - **Risk type:** executable client/server payloads, compatibility gating, catalog and artifacts. - **Entrypoints:** every rebuilt `client.js` (custom element per package) and `server.mjs` (`activate`/`selfCheck`; Calls, Noodle and Slurp bind `api.runtime` first). - **Current path tested:** a 1.341 Engine (`3ae82c539`, the E_TARGET tree) with the new artifacts installed through the browser fixture; servers activate `active/ready`. - **Legacy path tested:** Engine v2.5.0's own `capability-package.schema.ts` parses all 41 v2 catalog manifests and refuses all 12 rebuilt ones; the update finder on 1.341 leaves out a copy that needs 1.342. - **Positive rows:** the browser suites, the all-agents test and the stub-LLM scenario below. - **Negative controls:** the storage-key gate's published 1.0.5/1.5.1 artifacts; the NovelAI assertion fails on staging's Noodle server; the all-agents attribution sees Noodle's own key writes; a 1.342 manifest is refused. - **Ground truth:** the esbuild metafiles each build writes (client and server gates) and the published bundles (fingerprint ratchet, storage-key gate). - **Manual blockers:** listed under "Manually verify". ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes What the agent ran on macOS (Node 24.16.0), against Engine `3ae82c539` (same tree as E_TARGET): - Every command of `.github/workflows/pull-request-checks.yml` (57, after `npm ci`), plus `npm run check` and `git diff --check`: all pass. That includes `validate-catalog.mjs` (storage-key gate on all 18 clients, prebuilt included), the client and server gate regressions, the server singleton gate (empty baseline), the host module shims, `test-catalog-lanes.mjs`, the locale checks and `catalog-release-notes`. - `npm run typecheck:packages` with the Engine: passes. - `npm run test:slurp:regressions` with the Engine: 299 of 299 pass. - Noodle regressions run one by one: 27 pass. 5 fail, and neither they nor any file they read differ from `staging` (`noodle-public-only`, `noodler-content-formats`, `noodler-disclosure-contract`, `noodler-fictional-prices`, `noodler-generation-guidance-default`; no workflow runs them). - Long-Term Memory, the `ltm-browser.yml` list through the Engine's tsx: all 20 pass, plus `long-term-memory-loading` and `long-term-memory-runtime`. `long-term-memory-browser.regression.ts` (the first step of that workflow) loaded no package UI at first: its fixture page had no host. With the new fixture host it renders, queries and changes memory places, and it found that Long-Term Memory lost its stale-at-once query default in the Engine's cache, which this PR restores (Noodle too). On this Mac it then stops at line 4629 of 6339, where ArrowDown and Enter on a native `<select>` change nothing in macOS headless Chromium (reproduced on a plain page); CI runs it on Linux. - Browser suites, desktop-chromium and mobile-chromium, `--workers=2`, ports 5460/5461: - Noodle 42 passed (12 skipped by design), Slurp 23 passed, Slurp guided, partner and exes 1 each, Calls 2, and the turn-game smoke for all six games (board renders, then locks while the host chat store says the character is replying): 2 each. - `package-all-agents.e2e.ts` with 17 packages installed: 2 passed. - Memory Nag (2 failed) and Beholder (2 failed) fail on the Engine's redesigned chat window, not on the packages: Memory Nag's test looks for the old "Agents … Show help" settings button, and Beholder's for a "Beholder" button that is now "Open Beholder" behind a window. With only those selectors changed (not committed), Beholder passed on desktop; its mobile layout needs more. Beholder is not rebuilt in this PR. - Stub OpenAI-compatible server on 127.0.0.1:7469, all 17 packages installed on one Engine (`active/ready` each): - While chat B streamed on the stub connection, a call in chat A started and answered, and its `[schedule_update]` command turn was parsed. - A background Noodle refresh during chat B's stream was refused with 409 "Connection … is not available for background generation", the Engine's own admission answer: the package uses the Engine's connection queue. - A metadata change made while the call reply was generating survived the call (`concurrentChange: kept`, `keepMe: before`); chat B's connection was unchanged. - Runtime copies: 16 server copies, no `client.js` in any of them, 13 MB in total; `versions/<id>` holds one version each. - Gating, in-process on the 1.341 Engine: `getCapabilityApiCompatibilityIssue` accepts all 12 rebuilt manifests; a copy needing 1.342 is refused with the exact message, and `findCompatibleCapabilityPackageUpdates` leaves it out while offering the real one. Engine v2.5.0's schema refuses all 12 with "Package requires capability API 1.341; this Engine supports 1.66". Not tested here: - Local Model and Local Whisper at runtime (a model and runtime download on a shared Mac with 28 GB free). The Tier A gate and the empty fingerprint ratchet show no package server contains the Local Model or Whisper code; Noodle and Slurp call the Engine's provider. - ChatGPT login refresh, Intiface haptics, Spotify, real provider keys. - Docker, Windows and Termux installs; the v2.5.0 and 2.4.x Engines in a browser. - The rebuilt Slurp background-job admission at runtime (it goes through the same overlay as Noodle's). Known failures that are not caused by this PR: - `node scripts/validate-vendored-engine.mjs` (Noodle browser workflow, not required) reports 146 drifted vendored files against current Engine staging. This PR changes no `sources/engine` file and must not re-fingerprint them (C13). - `tests/hierarchical-maps-lifecycle.regression.ts` updates a prior World Maps artifact to 1.5.2 and gets through the Game map reconciliation, then fails where the Engine's message bulk delete now answers 200 with `{ trashed }` instead of 204. - Calls' `[schedule_update]` during a call reaches the chat's cached schedule through `patchChatMetadata`, but the Engine now owns schedules on the character card and re-resolves the cache, so the change does not show. Calls 1.1.4 wrote the same cached copy (by its code); it needs its own follow-up. ### Manually verify (Mari) - Manually verify on staging that installing or updating Calls, Noodle, Slurp, World Maps, Long-Term Memory, Memory Nag and the six games succeeds and that each opens. - Manually verify that a browser-only setting (for example Reduced paint effects in Roleplay) survives two reloads with all agents installed. - Manually verify in a call: the connection switcher changes the call's chat, the sticker and emoji settings change the call's chat, `[youtube]` plays in the Engine's player, and adding a sticker shows its dialog. - Manually verify that the game boards lock while the character replies. - Manually verify that Noodle and Slurp look the same as before (feed, profile, composer, settings, dark and light theme) and that their toasts appear at your toast position. - Manually verify with your Local Model that Noodle captioning uses the Engine's model (one llama-server in Activity Monitor). - Manually verify ChatGPT (subscription) generation in Noodle and Slurp after a token refresh. - Manually verify Calls haptics with Intiface, and Calls song commands with Spotify. - Manually verify Calls with Local Whisper. - Manually verify on a v2.5.0 install that the new agent versions are refused with "Package requires capability API 1.341" and the installed ones keep working. - Manually verify after a restart that `capability-runtime-snapshots` holds only the live copies, and that `versions/<id>` keeps at most two versions. - Manually verify Docker, Windows and Termux start packages with server code (zod is loaded from the Engine). - Manually verify the Memory Nag settings range controls and the Beholder panel in the redesigned chat window (their browser tests need new selectors). - Promote Agents `staging` to `main` together with the Engine release: a v2.5.0 user who has not installed one of these agents sees it in Download Agents, but installing it is refused until they update Marinara Engine. ## Not done - Engine storage and db reads stay bundled in Calls, Noodle and Slurp (contract N1, Tier B ratchet): the host has no read API for those tables. - `@marinara-engine/shared` is not taken from the host (N2): the vendored tree does not typecheck against today's Engine. Both sides tree-shake it instead. - Lazy package import and deflated ZIPs (plan phase 5) are not in D1's list (N3). ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Improvements** - Packages now share Engine-provided settings, dialogs, notifications, chat state, libraries, and local models for more consistent behavior. - Calls, Noodle, Slurp, and World Maps improve background-task coordination, connection switching, notification placement, and concurrent chat updates. - Several packages have smaller downloads and reduced duplicated functionality. - Missing Engine capabilities now provide clearer upgrade guidance. - **Compatibility** - Updated packages require Capability API 1.341 and, for selected releases, an Engine newer than 2.5.0; older installations remain supported where noted. - Package versions and catalog metadata were refreshed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:12:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1493
No description provided.