mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1859] [MERGED] feat(long-term-memory): offer to turn on Slurp's memory switch after sharing is turned on (1.5.9) #2001
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#2001
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1859
Author: @Promansis
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/slurp-memory-offer📝 Commits (2)
c539ecbfeat(long-term-memory): offer to turn on Slurp's memory switch after sharing is turned on (#1854)c69d06fchore(long-term-memory): release 1.5.9 (#1854)📊 Changes
20 files changed (+189 additions, -69 deletions)
View changed files
➕
artifacts/long-term-memory-1.5.9.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+28 -28)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts(+7 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+5 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json(+5 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+25 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/settings-shared.tsx(+2 -0)➕
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/slurp-memory-offer.ts(+23 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/types.ts(+1 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-debug-activity.regression.ts(+39 -0)📝
tests/long-term-memory-feedback-clarity-ui.regression.mjs(+10 -0)📄 Description
Pull request
Linked issue
Closes #1854
Why this change
Slurp's Creators use Long-Term Memory's memories only when two switches are on: Long-Term Memory's "Other Agents can read memories" and Slurp's "What your other Agents know". A player who turns Long-Term Memory sharing on while Slurp's switch is off sees nothing happen and has to know to open Slurp → Backstage → Engine link. Memory Settings now asks, once, after a Save that turns sharing on. This is the Long-Term Memory side of the pair; the Slurp side shipped in #1855.
What changed
settings/slurp-memory-offer.ts(new):offerSlurpMemories({ read, confirm, save })with injected dependencies, the same contract as Slurp'sofferLtmSharing. It skips when Slurp's settings can't be read (Slurp not installed) or its switch is already on, otherwise asks and, on "Turn it on", saves onlyflavourFromAgents: true. "Not now" changes nothing.MemorySettings.tsxsaveSettings: the offer runs only after a successful global save that changed sharing from off to on, never on the toggle flip, so Discard can't leave Slurp changed. Reset and Import don't trigger it. A failed Slurp save shows a fixed message that still says Long-Term Memory saved.api.tsrequestHost: optionalmethodandbody, with the admin-secret header and, for writes, the CSRF header thatrequestsends. Used for Slurp's existingPATCH /api/slurp2/settings.settings-shared.tsxconfirm()andtypes.tsconfirmAction: optionalcancelLabel, passed through to the Engine's confirm dialog so the button reads "Not now".long-term-memory-debug-activity.regression.ts, and a source pin inlong-term-memory-feedback-clarity-ui.regression.mjsthat the offer runs only after the global PUT and only on an off→on change.long-term-memory1.5.9 with rebuiltclient.js, manifest, artifact and catalog entries.server.mjsis unchanged. The builder's version still read 1.5.7 after the 1.5.8 release (#1843), so it is set to 1.5.9 here. Mergesstagingat4afbf1acf.Package and security impact
long-term-memoryengine.minunchanged at 2.5.1); no Engine changeGET/PATCH /api/slurp2/settingsonly when Slurp is installed.requestHostnow sends the same-origin admin-secret header on its existing GET callers too, matchingrequestValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
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.