[PR #1855] [MERGED] feat(slurp2): offer to turn on Long-Term Memory sharing (0.4.10) #2000

Closed
opened 2026-11-07 16:38:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: feature(slurp2)/ltm-sharing-offer


📝 Commits (2)

📊 Changes

19 files changed (+261 additions, -122 deletions)

View changed files

➕ artifacts/slurp2-0.4.10.zip (+0 -0)
📝 catalog/catalog.json (+12 -12)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+12 -12)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+12 -12)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+4 -0)
📝 packages/slurp2/client.js (+52 -52)
📝 packages/slurp2/manifest.json (+9 -9)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpEngineLinkPanel.tsx (+29 -1)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-ltm-sharing-offer.ts (+24 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+5 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+5 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+5 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+5 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp2-ltm-recall.regression.ts (+60 -0)

📄 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 #1853

Why this change

Creators only use Long-Term Memory's memories when two switches are on: Slurp's "What your other Agents know" and Long-Term Memory's "Other Agents can read memories". A player who turned the second one off and then turns the first one on sees only a quiet status line and has to find the right switch in another package's settings. Slurp now asks, once, at the moment the player turns its switch on.

What changed

  • slp-ltm-sharing-offer.ts (new): offerLtmSharing({ read, confirm, save }) with injected dependencies. It reads Long-Term Memory's settings, skips when they can't be read or sharing is already on, otherwise asks and, on "Turn it on", saves only longTermMemoryShareWithPackages: true. "Not now" changes nothing.
  • SlpEngineLinkPanel.tsx: the offer runs only when "What your other Agents know" is turned on. A failed save shows an alert and Slurp's own switch stays on either way. The memory status refreshes after a successful save.
  • Locales (en, de, ko, pl): new offer title, message and button labels; the switch's help text no longer says Slurp never changes other Agents.
  • tests/slurp2-ltm-recall.regression.ts: the four offer cases (confirmed, declined, already on, read fails) plus a source pin for the value-true branch and cancelLabel.
  • Release: slurp2 0.4.10 with the splash entry, rebuilt client.js, manifest, artifact and catalog entries. server.mjs is unchanged.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (engine.min unchanged at 2.4.6); uses Long-Term Memory's existing GET/PUT /long-term-memory/settings
  • New or changed permissions/entrypoints: none, no new route or capability service
  • Restart, storage, update, or uninstall impact: none; Slurp's settings schema is unchanged and it writes Long-Term Memory's setting only after the player clicks "Turn it on"

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

Documentation impact

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

UI evidence (if applicable)

🤖 Generated with Claude Code


🔄 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/1855 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(slurp2)/ltm-sharing-offer` --- ### 📝 Commits (2) - [`aaafd8e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aaafd8e2d1d9f2f0b7d62c84e45fe08f5e177e55) feat(slurp2): offer to turn on Long-Term Memory sharing (#1853) - [`9a29f00`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9a29f008f6832639571f6ab41b28eb3dd8d51dd4) chore(slurp2): release 0.4.10 (#1853) ### 📊 Changes **19 files changed** (+261 additions, -122 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.4.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+12 -12) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+12 -12) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+12 -12) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+4 -0) 📝 `packages/slurp2/client.js` (+52 -52) 📝 `packages/slurp2/manifest.json` (+9 -9) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpEngineLinkPanel.tsx` (+29 -1) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-ltm-sharing-offer.ts` (+24 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+5 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+5 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+5 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+5 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp2-ltm-recall.regression.ts` (+60 -0) </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 #1853 ## Why this change Creators only use Long-Term Memory's memories when two switches are on: Slurp's "What your other Agents know" and Long-Term Memory's "Other Agents can read memories". A player who turned the second one off and then turns the first one on sees only a quiet status line and has to find the right switch in another package's settings. Slurp now asks, once, at the moment the player turns its switch on. ## What changed - `slp-ltm-sharing-offer.ts` (new): `offerLtmSharing({ read, confirm, save })` with injected dependencies. It reads Long-Term Memory's settings, skips when they can't be read or sharing is already on, otherwise asks and, on "Turn it on", saves only `longTermMemoryShareWithPackages: true`. "Not now" changes nothing. - `SlpEngineLinkPanel.tsx`: the offer runs only when "What your other Agents know" is turned on. A failed save shows an alert and Slurp's own switch stays on either way. The memory status refreshes after a successful save. - Locales (en, de, ko, pl): new offer title, message and button labels; the switch's help text no longer says Slurp never changes other Agents. - `tests/slurp2-ltm-recall.regression.ts`: the four offer cases (confirmed, declined, already on, read fails) plus a source pin for the `value`-true branch and `cancelLabel`. - Release: `slurp2` 0.4.10 with the splash entry, rebuilt `client.js`, manifest, artifact and catalog entries. `server.mjs` is unchanged. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (`engine.min` unchanged at 2.4.6); uses Long-Term Memory's existing `GET`/`PUT /long-term-memory/settings` - New or changed permissions/entrypoints: none, no new route or capability service - Restart, storage, update, or uninstall impact: none; Slurp's settings schema is unchanged and it writes Long-Term Memory's setting only after the player clicks "Turn it on" ## 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 - ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:38 +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#2000
No description provided.