mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #496] [MERGED] beholder 1.3.0: ship the paper doll as a toolbar capability #999
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#999
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/496
Author: @GetBeholder
Created: 8/22/2026
Status: ✅ Merged
Merged: 8/22/2026
Merged by: @GetBeholder
Base:
staging← Head:feat/beholder-capability-ui📝 Commits (5)
af5c331beholder 1.3.0: ship the paper doll as a toolbar capabilityc7d8cd0test(beholder): make the doll fixture exercise what it claims0586e4cfix(beholder): escape prose-derived values, drop the unused merge engine9c17744fix(beholder): build the character map without a prototypedf9bdc5Merge remote-tracking branch 'origin/staging' into feat/beholder-capability-ui📊 Changes
22 files changed (+8507 additions, -32 deletions)
View changed files
➕
artifacts/beholder-1.3.0.zip(+0 -0)📝
catalog/catalog.json(+19 -8)📝
catalog/v2/catalog.json(+19 -8)📝
catalog/v3/catalog.json(+19 -8)📝
eslint.config.mjs(+23 -0)📝
packages/beholder/agents.json(+1 -1)➕
packages/beholder/bh-logo.png(+0 -0)➕
packages/beholder/client.js(+2279 -0)📝
packages/beholder/locales/en.json(+2 -2)📝
packages/beholder/manifest.json(+16 -5)➕
packages/beholder/src/00-prelude.js(+90 -0)➕
packages/beholder/src/10-garment-data.js(+19 -0)➕
packages/beholder/src/12-colors.js(+63 -0)➕
packages/beholder/src/15-state.js(+78 -0)➕
packages/beholder/src/30-paperdoll.js(+1598 -0)➕
packages/beholder/src/80-dock.js(+283 -0)➕
packages/beholder/src/90-element.js(+124 -0)➕
packages/beholder/src/fa-embed.css(+4 -0)➕
packages/beholder/src/locales/en.json(+15 -0)➕
packages/beholder/src/style.css(+3502 -0)...and 2 more files
📄 Description
Pull request
Linked issue
Closes #497
Why this change
What changed
beholder1.3.0: addsentrypoints.clientand theconversation-toolbarslot;client.js, artifact and catalog entry regenerated.toolbarButtonClassrather than cloning a neighbour's classes; the dock slides in from the right and the chat reflows via--tracker-chat-avoid-right; offsets are measured from the live layout on open so it never parks on another right-side panel; narrow viewports get the bottom sheet and compact list. Panel state lives in module scope so it survives the remounts the host performs on chat switch, version bump and error retry.scripts/build-beholder-package.mjsis new:build-agent-catalog.mjsskips client-bearing packages by design, so Beholder owns its build the way Pixelforge does.agents.jsonprompt templates are untouched — the model is trained against those exact strings. The builder only stamps thedescriptionthe catalog requires to match the manifest, so the diff there is one line.@importis dropped so the client makes no third-party request at runtime.Package and security impact
beholderminstays 2.4.4); theconversation-toolbarslot andtoolbarButtonClassare already provided by that line.entrypoints.clientandcontributions.slots: ["conversation-toolbar"]. Permissions are unchanged —uiwas already declared, and it is the one a client entrypoint requires. Nonetworkpermission: the client only calls the Engine's own same-origin route, and the test asserts the bundle references no remote host.restartRequiredstays false. The client stores two display preferences (layout, layer toggles) inlocalStorageundermarinara.beholder.*; nothing else is persisted client-side. Uninstalling removes the contribution, so the toggle and panel disappear with it.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Two unticked boxes above are honest: this has not been installed through a running Engine yet, because the catalog artifact URL resolves only once this is on
main. What was verified:npx tsx tests/beholder-client-contract.regression.ts): pins those six digests, asserts the fixture actually exercises worn / held / missing / bare / wound / chip markers, and checks the bundle contract (element registration, no remote hosts, every source module present, shipped bytes match the manifest). Confirmed it fails when a renderer module is altered, so it is not vacuous.client.jsagainst a stubbed host: element registers; the toggle renders with the host's class, the brand mark and the localized label; no panel exists until it is clicked; clicking docks the panel on screen below the top bar, setsbody.bh-dock-openand--tracker-chat-avoid-right: min(500px,94vw); the doll renders (2 character tabs, 76 slot elements, the silhouette SVG, ~20KB markup) with worn chips, the held-item marker, the missing cascade on arm+hand, the bare foot and the bleeding wound card; the Color/Damage/Wounds layer toggles applybh-hide-*; the close button collapses the dock and releases the reflow. No console or page errors.node scripts/validate-package-locales.mjs,npm run test:security, andnpm run check— the 8 remaining Prettier warnings are pre-existing onstaging; every file added here is clean.Happy to do the install/uninstall/mode pass against a locally served catalog before merge if you would like that ticked first.
Documentation impact
The package description now mentions the panel, and it is generated from one constant in the builder so the manifest,
agents.jsonand locale cannot drift.UI evidence (if applicable)
Captured from the Chromium check above (docked panel, Maggie active, Kheza tab showing an unviewed marker):
Maggie · humanserious,bleedingchestBlouse (torn, white swatch),waistBelt (brown),left_legTrouser (bloodied, black),left_handLantern with the held-item marker on the silhouetter. armandr. handstruck through and tagged MISSING (the distal cascade),r. foottagged BAREI can attach the screenshots to this PR on request.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.