[PR #252] [MERGED] MARI DONT MERGE!!!!!!fix(long-term-memory): show chat activation toggle #880

Closed
opened 2026-10-20 17:31:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/252
Author: @Promansis
Created: 8/5/2026
Status: ✅ Merged
Merged: 8/5/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/inactive-chat-status


📝 Commits (2)

  • 53e950b fix(long-term-memory): show chat activation toggle
  • 7d1ce3f fix(long-term-memory): polish activation toggle

📊 Changes

10 files changed (+194 additions, -50 deletions)

View changed files

➕ artifacts/long-term-memory-1.1.8.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/long-term-memory/client.js (+12 -12)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+70 -7)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+2 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-lifecycle.regression.ts (+85 -6)

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

Why this change

  • The Long-Term Memory chat activation control was hidden whenever the capability props did not include a chatId, even when the existing activation callback was available. The status also incorrectly remained active after disabling the chat toggle.

What changed

  • Updated Long-Term Memory to render and operate the per-chat toggle when onEnabledForChatChange is available, with inactive status and accessible labels.
  • Bumped the Long-Term Memory package from 1.1.7 to 1.1.8.
  • Rebuilt the client bundle, ZIP artifact, manifest hashes, and v2/v3/legacy catalogs.
  • Added regression coverage for inactive status and callback-backed rendering without a chatId.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; existing >=2.4.1 <4.0.0 range retained.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Package version bump requires the normal package update/restart path; no storage migration.

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

  • Automated Engine-backed lifecycle regression passed for 1.1.8, including install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.
  • Browser regression covered active/inactive toggle states, the callback-backed no-chatId rendering case, and mobile layout.
  • Manual UI verification and CI were not performed.

Documentation impact

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

UI evidence (if applicable)

Automated browser coverage verifies the activation control is visible and operable on mobile.

Summary by CodeRabbit

  • New Features

    • Long-Term Memory activation controls now clearly indicate whether the feature is active or inactive in the current chat.
    • Added accessible labels for activation states, including chats without available context.
    • Improved responsive presentation of activation controls across desktop and mobile layouts.
  • Bug Fixes

    • Improved activation control behavior when chat information is unavailable.
    • Clarified inactive-state messaging for long chat names and mobile experiences.
  • Chores

    • Updated Long-Term Memory to version 1.1.8.

🔄 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/252 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/5/2026 **Status:** ✅ Merged **Merged:** 8/5/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/inactive-chat-status` --- ### 📝 Commits (2) - [`53e950b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/53e950bfd4384f5bdfc053ffc7ab2770b0a36ba5) fix(long-term-memory): show chat activation toggle - [`7d1ce3f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7d1ce3f05b42169239ca60727c51a4222c756859) fix(long-term-memory): polish activation toggle ### 📊 Changes **10 files changed** (+194 additions, -50 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.1.8.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/long-term-memory/client.js` (+12 -12) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+70 -7) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+2 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+85 -6) </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 #251 ## Why this change - The Long-Term Memory chat activation control was hidden whenever the capability props did not include a `chatId`, even when the existing activation callback was available. The status also incorrectly remained active after disabling the chat toggle. ## What changed - Updated Long-Term Memory to render and operate the per-chat toggle when `onEnabledForChatChange` is available, with inactive status and accessible labels. - Bumped the Long-Term Memory package from `1.1.7` to `1.1.8`. - Rebuilt the client bundle, ZIP artifact, manifest hashes, and v2/v3/legacy catalogs. - Added regression coverage for inactive status and callback-backed rendering without a `chatId`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; existing `>=2.4.1 <4.0.0` range retained. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Package version bump requires the normal package update/restart path; no storage migration. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated Engine-backed lifecycle regression passed for `1.1.8`, including install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. - Browser regression covered active/inactive toggle states, the callback-backed no-`chatId` rendering case, and mobile layout. - Manual UI verification and CI were not performed. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Automated browser coverage verifies the activation control is visible and operable on mobile. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Long-Term Memory activation controls now clearly indicate whether the feature is active or inactive in the current chat. * Added accessible labels for activation states, including chats without available context. * Improved responsive presentation of activation controls across desktop and mobile layouts. * **Bug Fixes** * Improved activation control behavior when chat information is unavailable. * Clarified inactive-state messaging for long chat names and mobile experiences. * **Chores** * Updated Long-Term Memory to version 1.1.8. <!-- 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-20 17:31:55 +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#880
No description provided.