[PR #1839] [MERGED] feat(store): Agent Organizer store data, icons and banners #1993

Closed
opened 2026-11-07 16:38:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1839
Author: @Gunterlie
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @Gunterlie

Base: agentstore-agents ← Head: feat/agentstore-store-data


📝 Commits (2)

  • 7302eea feat(store): add Agent Organizer store data, icons and banners
  • 859eac5 fix(store): handle empty lanes, stale preview sidecars and dev builds

📊 Changes

201 files changed (+1585 additions, -12 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+1 -0)
📝 CONTRIBUTING.md (+20 -9)
➕ catalog/preview/store.json (+37 -0)
➕ catalog/preview/v2/store.json (+37 -0)
➕ catalog/preview/v3/store.json (+37 -0)
➕ catalog/store.json (+316 -0)
➕ catalog/v2/store.json (+316 -0)
➕ catalog/v3/store.json (+316 -0)
➕ scripts/build-store.mjs (+63 -0)
📝 scripts/catalog-lanes.mjs (+19 -1)
➕ scripts/catalog-store.mjs (+90 -0)
➕ scripts/tests/catalog-store.regression.mjs (+70 -0)
📝 scripts/validate-catalog.mjs (+19 -2)
➕ store/banners/2d-avatars-1200.webp (+0 -0)
➕ store/banners/2d-avatars.webp (+0 -0)
➕ store/banners/3d-avatars-1200.webp (+0 -0)
➕ store/banners/3d-avatars.webp (+0 -0)
➕ store/banners/background-1200.webp (+0 -0)
➕ store/banners/background.webp (+0 -0)
➕ store/banners/beholder-1200.webp (+0 -0)

...and 80 more files

📄 Description

Why

"Download Agents" in the Engine becomes the Agent Organizer: an app-store view with a Home page, 8 sections and a page per agent. It needs data the catalog does not carry: which section an agent sits in, a short tagline, a Featured order, an icon, a wide banner and (for apps) real screenshots. This step adds that data to the Agents repo. The Engine side (reader, Organizer UI) follows in separate PRs into agentstore-engine.

This is a step PR into the agentstore-agents working branch, not into staging. Planned roadmap work, so there is no linked issue.

What changed

  • store/store.json (hand-written source): section, tagline (max 60 characters) and optional featured position for all 48 packages, including the 5 staging-only ones and held-back PixelForge.
  • Images under store/: 48 Professor Mari banners (2400 × 900 WebP, plus generated 1200 px copies), 41 icon SVG sources with generated 256 px WebP icons (apps keep their Home tab icon), and real screenshots for Noodle, Slurp and Story Writer. Only WebP is published; the Engine accepts no SVG.
  • store.json sidecar beside every catalog.json (published lanes, legacy alias, preview overlay), the same pattern as notes.json: the Engine's strict catalog entry schema would drop new keys on older Engines. Paths are relative to the sidecar, so a mirror or branch serves its own images.
  • scripts/build-store.mjs renders the WebP files with the Chromium that Playwright already provides, then rewrites the sidecars through writeCatalogFamily. Every package builder also writes them.
  • validate-catalog.mjs fails when a published package has no store entry, banner or (non-app) icon, or when a committed store.json does not match a rebuild. A stale catalog/preview/store.json is caught too.
  • New regression scripts/tests/catalog-store.regression.mjs (wired into PR checks) and a "Store data" section in CONTRIBUTING.md.

Size: about 19 MB of WebP images (store/).

Proof

  • npm run check (Prettier + ESLint)
  • node scripts/validate-catalog.mjs, node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs
  • every scripts/tests/*.mjs regression, including the new store test
  • negative checks by hand: a changed tagline in a committed sidecar and a missing icon each fail validate-catalog.mjs
  • a second build-store.mjs run changes no files
  • git diff --check
  • Review: read-only Marinara reviewer pass. Its 4 findings are fixed in the second commit (empty-lane sidecar, stale preview sidecar, dev builds with held-back packages, doc note on .. paths).

No package payload, manifest, artifact or catalog entry changed, so no package version bump and no test install: no Engine reads store.json yet.

Notes

  • The 5 banners kept from the first round (Noodle, Chess, Illustrator, Lorebook Keeper, 2D Avatars) were 1600 × 600 and are scaled up to 2400 × 900.
  • PNG banner masters (about 5 MB each) stay out of the repo; the 2400 px WebP is the source.
  • Virtual Phone has a banner and icon ready, but stays out until its package is on staging.

Manual verification

  • Look through the 48 banners in store/banners/ and the icons in store/icons/
  • Confirm the sections, taglines and Featured order in store/store.json

🔄 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/1839 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `agentstore-agents` ← **Head:** `feat/agentstore-store-data` --- ### 📝 Commits (2) - [`7302eea`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7302eeae9ed756a62dcd4268d5ccbab1b1465c08) feat(store): add Agent Organizer store data, icons and banners - [`859eac5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/859eac596c04b9e337d68ff377b0fba48662cb23) fix(store): handle empty lanes, stale preview sidecars and dev builds ### 📊 Changes **201 files changed** (+1585 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+1 -0) 📝 `CONTRIBUTING.md` (+20 -9) ➕ `catalog/preview/store.json` (+37 -0) ➕ `catalog/preview/v2/store.json` (+37 -0) ➕ `catalog/preview/v3/store.json` (+37 -0) ➕ `catalog/store.json` (+316 -0) ➕ `catalog/v2/store.json` (+316 -0) ➕ `catalog/v3/store.json` (+316 -0) ➕ `scripts/build-store.mjs` (+63 -0) 📝 `scripts/catalog-lanes.mjs` (+19 -1) ➕ `scripts/catalog-store.mjs` (+90 -0) ➕ `scripts/tests/catalog-store.regression.mjs` (+70 -0) 📝 `scripts/validate-catalog.mjs` (+19 -2) ➕ `store/banners/2d-avatars-1200.webp` (+0 -0) ➕ `store/banners/2d-avatars.webp` (+0 -0) ➕ `store/banners/3d-avatars-1200.webp` (+0 -0) ➕ `store/banners/3d-avatars.webp` (+0 -0) ➕ `store/banners/background-1200.webp` (+0 -0) ➕ `store/banners/background.webp` (+0 -0) ➕ `store/banners/beholder-1200.webp` (+0 -0) _...and 80 more files_ </details> ### 📄 Description ## Why "Download Agents" in the Engine becomes the **Agent Organizer**: an app-store view with a Home page, 8 sections and a page per agent. It needs data the catalog does not carry: which section an agent sits in, a short tagline, a Featured order, an icon, a wide banner and (for apps) real screenshots. This step adds that data to the Agents repo. The Engine side (reader, Organizer UI) follows in separate PRs into `agentstore-engine`. This is a step PR into the `agentstore-agents` working branch, not into `staging`. Planned roadmap work, so there is no linked issue. ## What changed - **`store/store.json`** (hand-written source): section, tagline (max 60 characters) and optional `featured` position for all 48 packages, including the 5 staging-only ones and held-back PixelForge. - **Images under `store/`**: 48 Professor Mari banners (2400 × 900 WebP, plus generated 1200 px copies), 41 icon SVG sources with generated 256 px WebP icons (apps keep their Home tab icon), and real screenshots for Noodle, Slurp and Story Writer. Only WebP is published; the Engine accepts no SVG. - **`store.json` sidecar beside every `catalog.json`** (published lanes, legacy alias, preview overlay), the same pattern as `notes.json`: the Engine's strict catalog entry schema would drop new keys on older Engines. Paths are relative to the sidecar, so a mirror or branch serves its own images. - **`scripts/build-store.mjs`** renders the WebP files with the Chromium that Playwright already provides, then rewrites the sidecars through `writeCatalogFamily`. Every package builder also writes them. - **`validate-catalog.mjs`** fails when a published package has no store entry, banner or (non-app) icon, or when a committed `store.json` does not match a rebuild. A stale `catalog/preview/store.json` is caught too. - New regression `scripts/tests/catalog-store.regression.mjs` (wired into PR checks) and a "Store data" section in `CONTRIBUTING.md`. Size: about 19 MB of WebP images (`store/`). ## Proof - `npm run check` (Prettier + ESLint) - `node scripts/validate-catalog.mjs`, `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs` - every `scripts/tests/*.mjs` regression, including the new store test - negative checks by hand: a changed tagline in a committed sidecar and a missing icon each fail `validate-catalog.mjs` - a second `build-store.mjs` run changes no files - `git diff --check` - Review: read-only Marinara reviewer pass. Its 4 findings are fixed in the second commit (empty-lane sidecar, stale preview sidecar, dev builds with held-back packages, doc note on `..` paths). No package payload, manifest, artifact or catalog entry changed, so no package version bump and no test install: no Engine reads `store.json` yet. ## Notes - The 5 banners kept from the first round (Noodle, Chess, Illustrator, Lorebook Keeper, 2D Avatars) were 1600 × 600 and are scaled up to 2400 × 900. - PNG banner masters (about 5 MB each) stay out of the repo; the 2400 px WebP is the source. - Virtual Phone has a banner and icon ready, but stays out until its package is on `staging`. ## Manual verification - [ ] Look through the 48 banners in `store/banners/` and the icons in `store/icons/` - [ ] Confirm the sections, taglines and Featured order in `store/store.json` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:35 +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#1993
No description provided.