mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1929] [MERGED] feat(long-term-memory): hide imported messages from the AI (1.5.15) #2035
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#2035
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/1929
Author: @Promansis
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/hide-imported-messages📝 Commits (4)
53cfb0efeat(long-term-memory): hide imported messages from the AI (#1914)ff4ad5bMerge upstream/staging into feature(long-term-memory)/hide-imported-messages; release long-term-memory 1.5.15be879f9fix(long-term-memory): keep the index rebuild when showing hidden messages fails (#1914)e9758d9Merge branch 'staging' into feature(long-term-memory)/hide-imported-messages📊 Changes
29 files changed (+703 additions, -148 deletions)
View changed files
📝
.github/workflows/ltm-browser.yml(+1 -1)➕
artifacts/long-term-memory-1.5.15.zip(+0 -0)📝
catalog/catalog.json(+9 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+9 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+9 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+21 -21)📝
packages/long-term-memory/docs/UI.md(+8 -0)📝
packages/long-term-memory/manifest.json(+6 -5)📝
packages/long-term-memory/server.mjs(+64 -64)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts(+2 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+3 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json(+3 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+15 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/settings-shared.tsx(+10 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/package-runtime.ts(+2 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/persistence/backup-restore.ts(+3 -0)...and 9 more files
📄 Description
Pull request
Linked issue
Closes #1914
Why this change
A long imported chat is sent to the AI twice: once as the chat messages and again as the memories extracted from them. This adds an opt-in setting that hides the messages of an imported and extracted piece from the AI, like the chat summary's "Hide summarised messages", so the same history is not sent twice.
What changed
setMessagesHiddenFromAI.config/hidden-messages.json) holds only the ids the host reported changed. Turning the setting off, resetting settings, permanently deleting a source note, and backup restore / Delete all show exactly those messages again. Messages shown or hidden by hand are never touched.long-term-memory1.5.15 (rebuilt payloads, artifact, catalog entries). Also addschat-writeto the builder's permissions so the rebuilt manifest keeps it. New regression suitehide-imported-messagesruns inltm-browser.yml.Package and security impact
long-term-memorycapabilityApistays 1.387. The host method is optional and feature-detected, so an Engine without it hides nothing and records nothing.chat-write. Package code calls onlysetMessagesHiddenFromAI;chat-writealso grants the other chat-write methods, which the package does not use.config/hidden-messages.json(not in backups; restored messages are shown before the swap). Branches copyhiddenFromAI; those copies are not owned, so they stay hidden until shown by hand (documented in the CHANGELOG and docs/UI.md).Validation
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.