[GH-ISSUE #3612] Make agents and heavyweight capabilities optional downloadable packages #1953

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

Originally created by @SpicyMarinara on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3612

Originally assigned to: @SpicyMarinara on GitHub.

User problem

Marinara Engine has grown too large for storage-constrained installations, especially Termux. Many users do not need every built-in agent or heavyweight feature, but all implementation code currently ships in the base application.

Goal

Create a trusted downloadable package system backed by a new public Pasta-Devs/Marinara-Agents catalog repository. Fresh installs ship without optional agents/capabilities. Existing users retain already-available agents and feature access after upgrading.

Initial extraction scope

  • Every existing built-in agent
  • Hierarchical maps/spatial context from PR #3565, exposed as an agent/capability in Roleplay and Game setup/settings
  • Conversation audio and video calls
  • Conversation games: UNO, Chess, Poker, 8-Ball Pool, Tic-Tac-Toe, and Rock-Paper-Scissors

Required experience

  • Add Download Agents to the Agents panel, styled consistently with Bot Browser Browse Online
  • Open a responsive full-screen catalog with package details, compatibility, permissions, install/update/uninstall actions, and clear offline/error states
  • Hot-load packages when supported; only request a restart when the runtime actually requires it
  • Installed agents appear in the existing Agents library and chat/game pickers
  • Fully uninstall package code/assets/configuration without deleting historical chat content
  • Update Professor Mari knowledge, onboarding, guides, and empty states

Architecture and safety requirements

  • Packages live in the data directory and survive Marinara updates
  • First-party trusted executable bundles are checksum-verified and engine-version-gated
  • No lifecycle/install scripts; bounded downloads and traversal-safe atomic extraction
  • Stable capability API for server runtime, client surfaces, prompt providers, storage, and result handlers
  • Preserve existing custom agents and migrate legacy built-in availability as installed packages
  • Base production bundles must no longer contain extracted feature implementations

Proof required

  • Fresh install with no optional packages
  • Upgrade retaining prior agents/features
  • Install/update/uninstall/rollback, offline catalog, incompatible package, corrupt checksum, and interrupted download
  • Roleplay/Game mode availability and setup behavior
  • Desktop and mobile catalog flows
  • Termux-compatible filesystem behavior and measurable base install/bundle reduction
  • pnpm check, relevant regression lanes, and UI smoke coverage
Originally created by @SpicyMarinara on GitHub (Jul 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3612 Originally assigned to: @SpicyMarinara on GitHub. ## User problem Marinara Engine has grown too large for storage-constrained installations, especially Termux. Many users do not need every built-in agent or heavyweight feature, but all implementation code currently ships in the base application. ## Goal Create a trusted downloadable package system backed by a new public `Pasta-Devs/Marinara-Agents` catalog repository. Fresh installs ship without optional agents/capabilities. Existing users retain already-available agents and feature access after upgrading. ## Initial extraction scope - Every existing built-in agent - Hierarchical maps/spatial context from PR #3565, exposed as an agent/capability in Roleplay and Game setup/settings - Conversation audio and video calls - Conversation games: UNO, Chess, Poker, 8-Ball Pool, Tic-Tac-Toe, and Rock-Paper-Scissors ## Required experience - Add **Download Agents** to the Agents panel, styled consistently with Bot Browser **Browse Online** - Open a responsive full-screen catalog with package details, compatibility, permissions, install/update/uninstall actions, and clear offline/error states - Hot-load packages when supported; only request a restart when the runtime actually requires it - Installed agents appear in the existing Agents library and chat/game pickers - Fully uninstall package code/assets/configuration without deleting historical chat content - Update Professor Mari knowledge, onboarding, guides, and empty states ## Architecture and safety requirements - Packages live in the data directory and survive Marinara updates - First-party trusted executable bundles are checksum-verified and engine-version-gated - No lifecycle/install scripts; bounded downloads and traversal-safe atomic extraction - Stable capability API for server runtime, client surfaces, prompt providers, storage, and result handlers - Preserve existing custom agents and migrate legacy built-in availability as installed packages - Base production bundles must no longer contain extracted feature implementations ## Proof required - Fresh install with no optional packages - Upgrade retaining prior agents/features - Install/update/uninstall/rollback, offline catalog, incompatible package, corrupt checksum, and interrupted download - Roleplay/Game mode availability and setup behavior - Desktop and mobile catalog flows - Termux-compatible filesystem behavior and measurable base install/bundle reduction - `pnpm check`, relevant regression lanes, and UI smoke coverage
bsakaguchi 2026-10-21 05:44:08 +07:00
  • closed this issue
  • added the
    in-pr
    label
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-Engine#1953
No description provided.