mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #653] [CLOSED] Add Quartermaster: RPG character sheet/inventory manager #1073
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#1073
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/653
Author: @newfiesledneck
Created: 8/29/2026
Status: ❌ Closed
Base:
staging← Head:Quartermaster📝 Commits (10+)
ddb5d4eScaffold Quartermaster capability package19a6549fix: set restartRequired for Quartermaster's routes permissionf8c17e1feat: add Quartermaster's first inventory data model slicecd1467efix: normalize CRLF on read so the build is deterministic636f745fix: style the roleplay-tracker toolbar button, bump to a dev version942e25dfeat: self-managed floating panel for the character sheet UI3333cbcfix: use real version bumps for dev-iteration builds, not a prerelease suffix914bb66fix: theme-matched panel, DELETE body bug, and add-form state loss2281f6cfeat: equip slots and item locationsc4490dcfeat: item descriptions, saved outfits, and appearance-feed mode📊 Changes
19 files changed (+6397 additions, -1 deletions)
View changed files
📝
README.md(+1 -0)➕
artifacts/quartermaster-0.1.0.zip(+0 -0)➕
artifacts/quartermaster-0.1.1.zip(+0 -0)📝
eslint.config.mjs(+25 -0)➕
packages/quartermaster/README.md(+99 -0)➕
packages/quartermaster/agents.json(+25 -0)➕
packages/quartermaster/client.js(+2525 -0)➕
packages/quartermaster/locales/en.json(+17 -0)➕
packages/quartermaster/manifest.json(+60 -0)➕
packages/quartermaster/server.mjs(+905 -0)➕
packages/quartermaster/src/00-api.js(+85 -0)➕
packages/quartermaster/src/05-state.js(+389 -0)➕
packages/quartermaster/src/07-ui.js(+135 -0)➕
packages/quartermaster/src/10-dock.js(+1450 -0)➕
packages/quartermaster/src/15-panel.js(+354 -0)➕
packages/quartermaster/src/90-element.js(+95 -0)➕
scripts/build-quartermaster-package.mjs(+227 -0)📝
scripts/catalog-incomplete.mjs(+1 -1)📝
scripts/catalog-package-guidance.mjs(+4 -0)📄 Description
Pull request
Linked issue
Closes #652
Why this change
Marinara's built-in available catalogue of agents are mainly LLM-only structured trackers— they have no dedicated UI for users to manage their tracked items with pre-set/saved outfits with equip-slot concept, no way to manage a character cards appearance and have it automatically update based on currently equipped gear to feed other agents/illustrators a live fed of their outfit. And no way to swap avatars based on currently equipped gear.
Quartermaster ports my third party exxtension ("RPG Inventory") into a native capability package: a real character-sheet-style inventory manager for Roleplay mode, with equip slots, saved outfits, and item locations, usable
entirely by hand or kept in sync automatically by a tracker agent.
What changed
New package
packages/quartermaster/—manifest.json,agents.json(one Agent definition,matching the package ID),
client.js(generated, concatenated fromsrc/*.js),server.mjs(routes, storage,
agent-runtime,prompt-context).Self-managed, draggable/resizable dock: a portrait ring of 16 equip slots (head, neck, eyes,
ears, armor torso/legs, clothing torso/legs, underwear top/bottom, back, hands, weapon
left/right hand, feet, belt), an outfits column, a bag column, visibility toggles for
underwear/armor/weapons, and a UI-size control.
Native-styled inline accordion section in the Tracker Panel, reading the same state as the dock.
A
post_processingtracker agent that reconciles equipped/inventory state from eachturn's narration — full-snapshot semantics, matching the established convention (Inventory
Tracker, Character Tracker, World State).
A curated, read-only narrator prompt-context contribution, gated on the agent being currently
enabled for the chat (
chatMeta.enableAgents/activeAgentIds— the same signal every built-intracker uses).
Export/import — download a chat's items/outfits/settings as a portable JSON file, or restore
them from one, ported from the original extension.
scripts/build-quartermaster-package.mjs— a dedicated build script for packages with both client and server entrypoints.Files outside packages/quartermaster/: everything above lives entirely under packages/quartermaster/ and artifacts/quartermaster-0.1.0.zip, plus the new scripts/build-quartermaster-package.mjs, except four small, purely additive edits to existing shared files — no existing line in any of them was changed or removed:
README.md — one new catalog row.
eslint.config.mjs — one new scoped override block (packages/quartermaster/src/**/*.js) for the concatenated client bundle's shared globals.
scripts/catalog-incomplete.mjs — "quartermaster" added to the existing INCOMPLETE_PACKAGE_IDS set.
scripts/catalog-package-guidance.mjs — one new activation-guidance entry, same shape as every other package's.
Package and security impact
quartermaster(new)2.4.4+
agent-runtime,chat-read,chat-write,prompt-context,routes,storage,ui— every one is exercised (agent-runtimefor the tracker agent's own context/reconciliation,
chat-read/chat-writefor persona lookupand the appearance-macro sync,
prompt-contextfor the narrator feed,routesfor the dock'sCRUD API,
storagefor per-chat inventory state,uifor the dock and tracker-panel client)restartRequired: true(required by the Engine'sown install-issue check for any package declaring
routes); storage is scoped perchat+owner, nothing shared across chats
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Using a separate dev branch to test the agent with .env set to MARINARA_AGENT_CATALOG_URL= pointed at my dev branch. This PR is from a clean branch that respects the "include incomplete packages" not being part of the Quartermaster branch.
quartermasterstays inINCOMPLETE_PACKAGE_IDSon this branch.Tested extensively against a local Marinara Engine staging build over the course of development:
equip-slot/outfit/dock UI end to end, the tracker agent's equip/unequip/add/remove, export then
import inventory into a fresh chat, install/update/uninstall through Download Agents, and the
narrator prompt-context feed correctly starting/stopping as the agent is enabled/disabled for a
chat.
The commits history notes validate-catalog.mjs/validate-package-locales.mjs errors were when I tried the checks, they failed locally on eightball/background — confirmed via a clean git worktree comparison this was local CRLF checkout drift on my PC, not a real issue with those packages or anything this PR touches. Corrected autoCRLF and they were fine. The actual failures were local CRLF line-ending drift causing the checks to not match bytes.
Documentation impact
Package-level documentation lives at
packages/quartermaster/README.md, linked viadocumentationUrlin the manifest.UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.