[GH-ISSUE #3524] [Feature]: Add server-backed storage for extensions #1904

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

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

What problem does this solve?

Extensions need a supported way to store global settings and small persistent state for the installed Marinara instance.

Without server-backed extension storage, extensions that need settings have to rely on client-side storage or workarounds. Client-side storage means users may need to enter the same settings again on every browser or client they use, and extension behavior can differ between devices connected to the same instance.

Proposed solution

Add server-backed extension storage endpoints scoped to installed extensions.

Extensions should be able to:

  • retrieve their stored settings/state
  • patch stored values
  • delete or clear their stored values

The storage should be keyed internally by the installed extension identity so extension code does not need to manage raw storage keys directly.

Alternatives considered

Client-side storage is the main alternative, but it only persists per browser/client. That makes it a poor fit for instance-level settings that should follow the extension across devices.

Another workaround is storing data indirectly through unrelated entities, such as a fake/unused agent, but that mixes extension settings with agent memory and makes the storage relationship unclear.

Additional context

This is intended for global extension settings and lightweight extension-owned state. It is not intended to replace existing app storage systems.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kaldigo on GitHub (Jul 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3524 ## What problem does this solve? Extensions need a supported way to store global settings and small persistent state for the installed Marinara instance. Without server-backed extension storage, extensions that need settings have to rely on client-side storage or workarounds. Client-side storage means users may need to enter the same settings again on every browser or client they use, and extension behavior can differ between devices connected to the same instance. ## Proposed solution Add server-backed extension storage endpoints scoped to installed extensions. Extensions should be able to: - retrieve their stored settings/state - patch stored values - delete or clear their stored values The storage should be keyed internally by the installed extension identity so extension code does not need to manage raw storage keys directly. ## Alternatives considered Client-side storage is the main alternative, but it only persists per browser/client. That makes it a poor fit for instance-level settings that should follow the extension across devices. Another workaround is storing data indirectly through unrelated entities, such as a fake/unused agent, but that mixes extension settings with agent memory and makes the storage relationship unclear. ## Additional context This is intended for global extension settings and lightweight extension-owned state. It is not intended to replace existing app storage systems. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:41 +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-Engine#1904
No description provided.