[PR #790] [MERGED] feat(long-term-memory): preserve source availability modes #1138

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/790
Author: @Promansis
Created: 9/10/2026
Status: ✅ Merged
Merged: 9/11/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/sources-availability-modes


📝 Commits (3)

  • c9fb8c9 feat(long-term-memory): preserve source availability modes (#785)
  • 7e6092a Merge remote-tracking branch 'upstream/staging' into feature(long-term-memory)/sources-availability-modes
  • 09ce8bb fix(long-term-memory): harden source availability saves (#785)

📊 Changes

26 files changed (+407 additions, -127 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.26.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/long-term-memory/CHANGELOG.md (+4 -0)
📝 packages/long-term-memory/client.js (+22 -22)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+28 -28)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+2 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+169 -18)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+2 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/source-task.ts (+1 -0)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts (+18 -18)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts (+7 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/settings.ts (+6 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-extraction.ts (+14 -6)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-hash.ts (+0 -1)

...and 6 more files

📄 Description

Pull request

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 #785

Why this change

  • Long-Term Memory Sources needs a persistent availability choice so imported memories can be available in the intended chat modes without changing their extraction mode.

What changed

  • Updated long-term-memory to 1.2.26 with persistent Sources availability modes, serialized availability saves, settings-readiness safeguards, preserved refresh/re-extraction behavior, regression coverage, and rebuilt payload, artifact, manifest, and catalogs.

Package and security impact

  • Affected package IDs: long-term-memory 1.2.26
  • Engine compatibility impact: No compatibility-range change.
  • New or changed permissions/entrypoints: No new permissions or entrypoints.
  • Restart, storage, update, or uninstall impact: Persists the optional Sources availability setting; source notes retain saved availability on refresh and re-extraction.

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

  • npm run check, catalog validation, and the documented full Long-Term Memory regression list passed on final commit 09ce8bbf, including browser lifecycle and 1.2.26 install, offline restart, backup, uninstall, and reinstall coverage.

Documentation impact

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

UI evidence (if applicable)

  • Automated browser lifecycle coverage passed; no manual screenshots recorded.

Summary by CodeRabbit

  • New Features

    • Added persistent chat-mode availability selection for imported memories in Sources.
    • Imports can now be available across conversation, roleplay, and game modes.
    • Added loading, saving, and error states for availability settings.
    • Multi-mode selections are preserved during imports and re-imports.
  • Bug Fixes

    • Improved mode handling so source settings are respected consistently during extraction and re-imports.
  • Documentation

    • Published Long-Term Memory version 1.2.26 and updated its release notes.

🔄 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/790 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/10/2026 **Status:** ✅ Merged **Merged:** 9/11/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/sources-availability-modes` --- ### 📝 Commits (3) - [`c9fb8c9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c9fb8c923695e5c0d9a3aa13a81f86a007278aeb) feat(long-term-memory): preserve source availability modes (#785) - [`7e6092a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7e6092a624e2bf4eb66960778ac50c0c56a6f140) Merge remote-tracking branch 'upstream/staging' into feature(long-term-memory)/sources-availability-modes - [`09ce8bb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/09ce8bbfb972adf51d00852b647ef9060f478363) fix(long-term-memory): harden source availability saves (#785) ### 📊 Changes **26 files changed** (+407 additions, -127 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.26.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/long-term-memory/CHANGELOG.md` (+4 -0) 📝 `packages/long-term-memory/client.js` (+22 -22) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+28 -28) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+2 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+169 -18) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+2 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/source-task.ts` (+1 -0) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts` (+18 -18) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts` (+7 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/settings.ts` (+6 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-extraction.ts` (+14 -6) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-hash.ts` (+0 -1) _...and 6 more files_ </details> ### 📄 Description # Pull request > [!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 #785 ## Why this change - Long-Term Memory Sources needs a persistent availability choice so imported memories can be available in the intended chat modes without changing their extraction mode. ## What changed - Updated `long-term-memory` to 1.2.26 with persistent Sources availability modes, serialized availability saves, settings-readiness safeguards, preserved refresh/re-extraction behavior, regression coverage, and rebuilt payload, artifact, manifest, and catalogs. ## Package and security impact - Affected package IDs: `long-term-memory` 1.2.26 - Engine compatibility impact: No compatibility-range change. - New or changed permissions/entrypoints: No new permissions or entrypoints. - Restart, storage, update, or uninstall impact: Persists the optional Sources availability setting; source notes retain saved availability on refresh and re-extraction. ## 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 - `npm run check`, catalog validation, and the documented full Long-Term Memory regression list passed on final commit `09ce8bbf`, including browser lifecycle and 1.2.26 install, offline restart, backup, uninstall, and reinstall coverage. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Automated browser lifecycle coverage passed; no manual screenshots recorded. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added persistent chat-mode availability selection for imported memories in Sources. * Imports can now be available across conversation, roleplay, and game modes. * Added loading, saving, and error states for availability settings. * Multi-mode selections are preserved during imports and re-imports. * **Bug Fixes** * Improved mode handling so source settings are respected consistently during extraction and re-imports. * **Documentation** * Published Long-Term Memory version 1.2.26 and updated its release notes. <!-- 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:03: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-Agents#1138
No description provided.