[PR #1469] [MERGED] fix(beholder): keep Beholder open when its first-open note is dismissed (1.3.13) #1476

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1469
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/beholder-onboard-note


📝 Commits (3)

  • 40aa275 fix(beholder): keep Beholder open when its first-open note is dismissed (1.3.13)
  • 9f59d4a Merge branch 'staging' into fix/beholder-onboard-note
  • 186e7c8 Merge branch 'staging' into fix/beholder-onboard-note

📊 Changes

13 files changed (+58 additions, -24 deletions)

View changed files

➕ artifacts/beholder-1.3.13.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/beholder/CHANGELOG.md (+4 -0)
📝 packages/beholder/client.js (+8 -2)
📝 packages/beholder/manifest.json (+3 -3)
📝 packages/beholder/src/70-backfill.js (+3 -0)
📝 packages/beholder/src/76-onboard.js (+3 -0)
📝 scripts/build-beholder-package.mjs (+1 -1)

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

Reported in Pasta-Devs/Marinara-Engine#7800 (this PR fixes it; the Engine host needs no change).

Why this change

  • Opened from its shortcut (the Beholder bubble's window in a Roleplay chat), pressing "Got it" or the x on Beholder's first-open note closed the whole Beholder window, not just the note. From the tracker page it worked.
  • Cause: the note is appended to document.body, outside the panel. The Engine's control window closes on any press outside itself, except presses on [data-chat-floating-panel] elements (the Beholder panel already carries that marker). The note had none, so the press minimized the control window, the toolbar host unmounted, and BH.dock.releaseHost() closed Beholder.
  • The build menu (.beholder-bf-menu) is also on document.body and had the same problem: picking "Re-extract this turn" from the shortcut window could close Beholder instead of running.
  • The host behaviour is correct for every package (it already exempts the marker), so the fix belongs in the package. Mounting the note inside the panel was not used: the panel clips its overflow, and the note sits beside it.

What changed

  • packages/beholder/src/76-onboard.js: the first-open note carries data-chat-floating-panel.
  • packages/beholder/src/70-backfill.js: the build menu carries data-chat-floating-panel.
  • Version bumped to 1.3.13 (above every published Beholder version, highest was 1.3.12), with a packages/beholder/CHANGELOG.md entry.
  • Rebuilt with node scripts/build-beholder-package.mjs: packages/beholder/client.js, manifest.json, artifacts/beholder-1.3.13.zip, and the catalog/ lanes and notes.

Package and security impact

  • Affected package IDs: beholder
  • Engine compatibility impact: none (range unchanged, >=2.4.4 <4.0.0; the marker is an existing host contract)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; a normal package update

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

Commands run by the agent:

  • npm run check: Prettier clean; ESLint 0 errors (811 existing repo-wide warnings, none in the touched files)
  • node scripts/test-catalog-lanes.mjs: passed
  • node scripts/validate-package-locales.mjs: passed
  • node scripts/validate-catalog.mjs: passed (v2=39, v3=39)
  • node scripts/tests/catalog-release-notes.regression.mjs: OK
  • npx tsx tests/beholder-client-contract.regression.ts: passed
  • npx tsx tests/beholder-parity.regression.ts: 239/239
  • git diff --check: clean

Manual verification notes

  • Manually verify in a Roleplay chat on a computer: clear marinara.beholder.onboarded in localStorage, open Beholder from its shortcut bubble, press "Got it". Only the note closes; Beholder stays open.
  • Manually verify the same with the note's x button.
  • Manually verify on a phone (sheet layout): same steps, Beholder stays open after dismissing the note.
  • Manually verify from the shortcut window that the build menu (caret next to the history button) runs "Re-extract this turn" and Beholder stays open.
  • Manually verify that pressing elsewhere in the chat still minimizes the shortcut window as before.

Documentation impact

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

UI evidence (if applicable)

None from the agent. The reporter's recording is on Pasta-Devs/Marinara-Engine#7800.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed an issue where interacting with the first-open note or build menu could close Beholder when launched from its shortcut.
  • Updates
    • Released Beholder version 1.3.13.

🔄 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/1469 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/beholder-onboard-note` --- ### 📝 Commits (3) - [`40aa275`](https://github.com/Pasta-Devs/Marinara-Agents/commit/40aa275bcaac96f8498a3afd3cd70f209e9bfae3) fix(beholder): keep Beholder open when its first-open note is dismissed (1.3.13) - [`9f59d4a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9f59d4aed562c7ae327a741eaeecff8e53fb234e) Merge branch 'staging' into fix/beholder-onboard-note - [`186e7c8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/186e7c87f7ccf3615f02011f4104f26cef760cb9) Merge branch 'staging' into fix/beholder-onboard-note ### 📊 Changes **13 files changed** (+58 additions, -24 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/beholder-1.3.13.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/beholder/CHANGELOG.md` (+4 -0) 📝 `packages/beholder/client.js` (+8 -2) 📝 `packages/beholder/manifest.json` (+3 -3) 📝 `packages/beholder/src/70-backfill.js` (+3 -0) 📝 `packages/beholder/src/76-onboard.js` (+3 -0) 📝 `scripts/build-beholder-package.mjs` (+1 -1) </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 #1468 Reported in Pasta-Devs/Marinara-Engine#7800 (this PR fixes it; the Engine host needs no change). ## Why this change - Opened from its shortcut (the Beholder bubble's window in a Roleplay chat), pressing "Got it" or the x on Beholder's first-open note closed the whole Beholder window, not just the note. From the tracker page it worked. - Cause: the note is appended to `document.body`, outside the panel. The Engine's control window closes on any press outside itself, except presses on `[data-chat-floating-panel]` elements (the Beholder panel already carries that marker). The note had none, so the press minimized the control window, the toolbar host unmounted, and `BH.dock.releaseHost()` closed Beholder. - The build menu (`.beholder-bf-menu`) is also on `document.body` and had the same problem: picking "Re-extract this turn" from the shortcut window could close Beholder instead of running. - The host behaviour is correct for every package (it already exempts the marker), so the fix belongs in the package. Mounting the note inside the panel was not used: the panel clips its overflow, and the note sits beside it. ## What changed - `packages/beholder/src/76-onboard.js`: the first-open note carries `data-chat-floating-panel`. - `packages/beholder/src/70-backfill.js`: the build menu carries `data-chat-floating-panel`. - Version bumped to 1.3.13 (above every published Beholder version, highest was 1.3.12), with a `packages/beholder/CHANGELOG.md` entry. - Rebuilt with `node scripts/build-beholder-package.mjs`: `packages/beholder/client.js`, `manifest.json`, `artifacts/beholder-1.3.13.zip`, and the `catalog/` lanes and notes. ## Package and security impact - Affected package IDs: `beholder` - Engine compatibility impact: none (range unchanged, `>=2.4.4 <4.0.0`; the marker is an existing host contract) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; a normal package update ## 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` Commands run by the agent: - `npm run check`: Prettier clean; ESLint 0 errors (811 existing repo-wide warnings, none in the touched files) - `node scripts/test-catalog-lanes.mjs`: passed - `node scripts/validate-package-locales.mjs`: passed - `node scripts/validate-catalog.mjs`: passed (v2=39, v3=39) - `node scripts/tests/catalog-release-notes.regression.mjs`: OK - `npx tsx tests/beholder-client-contract.regression.ts`: passed - `npx tsx tests/beholder-parity.regression.ts`: 239/239 - `git diff --check`: clean ### Manual verification notes - Manually verify in a Roleplay chat on a computer: clear `marinara.beholder.onboarded` in localStorage, open Beholder from its shortcut bubble, press "Got it". Only the note closes; Beholder stays open. - Manually verify the same with the note's x button. - Manually verify on a phone (sheet layout): same steps, Beholder stays open after dismissing the note. - Manually verify from the shortcut window that the build menu (caret next to the history button) runs "Re-extract this turn" and Beholder stays open. - Manually verify that pressing elsewhere in the chat still minimizes the shortcut window as before. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) None from the agent. The reporter's recording is on Pasta-Devs/Marinara-Engine#7800. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed an issue where interacting with the first-open note or build menu could close Beholder when launched from its shortcut. * **Updates** * Released Beholder version 1.3.13. <!-- 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:11:54 +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#1476
No description provided.