[PR #8440] [MERGED] feat(agents): Agent Organizer, step 1: store pages and new update modal #8603

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

📋 Pull Request Information

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

Base: agentstore-engine ← Head: feat/agent-organizer


📝 Commits (7)

  • 027e214 feat(agents): read the Agent Organizer store sidecar beside the catalog
  • 37750df feat(agents): turn Download Agents into the Agent Organizer
  • b345e5d docs(agents): rename Download Agents to Agent Organizer and describe its pages
  • e6cda40 style: format the store sidecar reader
  • 08fe131 fix(agents): review fixes for the Agent Organizer
  • aee6a67 fix(agents): fit the agent header and update rows on phones
  • 873aa2b fix(agents): CodeRabbit fixes for the Agent Organizer

📊 Changes

48 files changed (+2171 additions, -866 deletions)

View changed files

📝 README.md (+1 -1)
📝 docs/CONFIGURATION.md (+4 -4)
📝 docs/FAQ.md (+4 -4)
📝 docs/TROUBLESHOOTING.md (+4 -4)
📝 docs/agents/agents-overview.md (+7 -7)
📝 docs/agents/avatars.md (+2 -2)
📝 docs/agents/built-in-agents.md (+11 -11)
📝 docs/agents/custom-agents.md (+1 -1)
📝 docs/agents/hierarchical-maps.md (+1 -1)
📝 docs/characters/sprites.md (+1 -1)
📝 docs/connections/local-model.md (+1 -1)
📝 docs/conversation/calls.md (+2 -2)
📝 docs/conversation/getting-started.md (+2 -2)
📝 docs/conversation/selfies.md (+1 -1)
📝 docs/conversation/table-games.md (+1 -1)
📝 docs/development/game-rulesets-and-sheets-implementation.md (+1 -1)
📝 docs/development/optional-agent-packages.md (+3 -3)
📝 docs/extending/writing-rulesets.md (+1 -1)
📝 docs/game/getting-started.md (+2 -2)
📝 docs/game/ltx-2-3-storyboards.md (+1 -1)

...and 28 more files

📄 Description

Why

"Download Agents" is a long flat list. With 48 packages it is hard to find an app, see what is new, or tell what an agent does before you install it. Users also see a plain update prompt that installs everything or nothing.

This PR turns the screen into the Agent Organizer ("Download and manage"): a small app store for agents. It is step 1 of the Engine side; the Agents-repo side (store/store.json, banners, icons, previews) merged in Pasta-Devs/Marinara-Agents#1839.

What changed

  • Server: reads an optional store.json sidecar beside every catalog (published and preview lanes). It adds section, tagline, featured order, and icon/banner/preview URLs to each catalog entry. Paths resolve against the sidecar URL and must stay on its https origin. A missing or broken sidecar, or a bad entry, never breaks the catalog.
  • Agent Organizer pages:
    • Home: featured agents (store order), an updates strip, and one shelf per section.
    • Section, Installed (version, size, ⋯ menu) and Updates (from → to, What's new, Update all).
    • Agent page: banner, facts (type, works in, version, size, source), previews, how-to steps, about, version history, permissions, and more in the section.
    • Desktop has a side nav with search, mode filter and sections. Phones get a search field and a chip row.
    • The header ⋯ menu has Update all, Install all, Custom sources, Refresh catalog and Uninstall all.
  • Update modal: each update has a checkbox (unchecked ones count as Not now), What's new notes, and "See in Agent Organizer". While it runs, every row shows Updating, Updated or Failed. A failed row shows the reason and Retry. Restart now appears when an update needs it.
  • Agent page facts also show the minimum Engine version.
  • Copy: "Download Agents" becomes "Agent Organizer" in the UI, the docs, and Prof. Mari's knowledge text. What's New history keeps the old name.

Left out on purpose (no data source yet): starter kits, a "needs check" state, "where used / on in N chats", sort, a settings button, and how-to pictures (text steps instead).

Validation

  • pnpm check
  • pnpm localization:check
  • Regressions: capability-store (new), capability-release-notes, capability-preview-overlay, official-catalog-file-artifacts, capability-package-lifecycle, capability-package-install-refusal
  • Screenshots at 390, 768 and 1440 px on a local dev server against the agentstore-agents catalog (Home, Section, Installed, Updates, agent page, search, menus, update modal open and failed states). No console errors.
  • Local CodeRabbit review: 8 findings. Fixed 7 (doc wording, stale No button name, touch targets, helper moved to lib/, status red for failures); the docs-i18n one is #8439.
  • Second review (Opus) fixes: parallel store fetch, deep link opens the agent page at once, restart reminder kept, minimum Engine version shown.

Note: on the test catalog the Slurp 0.4.7 install returned 404 because that ZIP is not on the agentstore-agents branch. The modal showed the Failed state as designed.

Manual checks

  • Manually verify the Organizer at 390, 768 and 1440 px in Conversation and Roleplay mode, with both visual themes.
  • Manually verify Get, Update, Open (for apps) and Uninstall from a row, the agent page and the ⋯ menus.
  • Manually verify the update modal: clear one box, Update, then see Updated/Failed per row, Retry, and Restart now.
  • Manually verify a custom catalog without store.json still lists every agent (under "More agents" or the fallback section).
  • Manually verify the catalog error and empty states.

Docs changed under docs/: translation follow-up is #8439.

No linked issue: this is planned roadmap work (Agent Organizer plan); step PRs go into agentstore-engine, then one PR goes to staging.


🔄 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-Engine/pull/8440 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `agentstore-engine` ← **Head:** `feat/agent-organizer` --- ### 📝 Commits (7) - [`027e214`](https://github.com/Pasta-Devs/Marinara-Engine/commit/027e214933c9673dc90cd0decedc0a52f8606f63) feat(agents): read the Agent Organizer store sidecar beside the catalog - [`37750df`](https://github.com/Pasta-Devs/Marinara-Engine/commit/37750dff0f1d74cc9ef454047ef752a117f1ac5e) feat(agents): turn Download Agents into the Agent Organizer - [`b345e5d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b345e5d3aeb984fa5f0dcda5dec0bfc51a85065e) docs(agents): rename Download Agents to Agent Organizer and describe its pages - [`e6cda40`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6cda40eb70e79e1d6d51d80e67b156ddbc7cdd0) style: format the store sidecar reader - [`08fe131`](https://github.com/Pasta-Devs/Marinara-Engine/commit/08fe1311e923ca56f22e427635bfea2739338d63) fix(agents): review fixes for the Agent Organizer - [`aee6a67`](https://github.com/Pasta-Devs/Marinara-Engine/commit/aee6a6761fb91593c67e72e145133381c8b01e03) fix(agents): fit the agent header and update rows on phones - [`873aa2b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/873aa2b508871a408dadd1dc8182e3fec0ed7b7f) fix(agents): CodeRabbit fixes for the Agent Organizer ### 📊 Changes **48 files changed** (+2171 additions, -866 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `docs/CONFIGURATION.md` (+4 -4) 📝 `docs/FAQ.md` (+4 -4) 📝 `docs/TROUBLESHOOTING.md` (+4 -4) 📝 `docs/agents/agents-overview.md` (+7 -7) 📝 `docs/agents/avatars.md` (+2 -2) 📝 `docs/agents/built-in-agents.md` (+11 -11) 📝 `docs/agents/custom-agents.md` (+1 -1) 📝 `docs/agents/hierarchical-maps.md` (+1 -1) 📝 `docs/characters/sprites.md` (+1 -1) 📝 `docs/connections/local-model.md` (+1 -1) 📝 `docs/conversation/calls.md` (+2 -2) 📝 `docs/conversation/getting-started.md` (+2 -2) 📝 `docs/conversation/selfies.md` (+1 -1) 📝 `docs/conversation/table-games.md` (+1 -1) 📝 `docs/development/game-rulesets-and-sheets-implementation.md` (+1 -1) 📝 `docs/development/optional-agent-packages.md` (+3 -3) 📝 `docs/extending/writing-rulesets.md` (+1 -1) 📝 `docs/game/getting-started.md` (+2 -2) 📝 `docs/game/ltx-2-3-storyboards.md` (+1 -1) _...and 28 more files_ </details> ### 📄 Description ## Why "Download Agents" is a long flat list. With 48 packages it is hard to find an app, see what is new, or tell what an agent does before you install it. Users also see a plain update prompt that installs everything or nothing. This PR turns the screen into the **Agent Organizer** ("Download and manage"): a small app store for agents. It is step 1 of the Engine side; the Agents-repo side (`store/store.json`, banners, icons, previews) merged in Pasta-Devs/Marinara-Agents#1839. ## What changed - **Server:** reads an optional `store.json` sidecar beside every catalog (published and preview lanes). It adds section, tagline, featured order, and icon/banner/preview URLs to each catalog entry. Paths resolve against the sidecar URL and must stay on its https origin. A missing or broken sidecar, or a bad entry, never breaks the catalog. - **Agent Organizer pages:** - **Home:** featured agents (store order), an updates strip, and one shelf per section. - **Section**, **Installed** (version, size, ⋯ menu) and **Updates** (from → to, What's new, Update all). - **Agent page:** banner, facts (type, works in, version, size, source), previews, how-to steps, about, version history, permissions, and more in the section. - Desktop has a side nav with search, mode filter and sections. Phones get a search field and a chip row. - The header ⋯ menu has Update all, Install all, Custom sources, Refresh catalog and Uninstall all. - **Update modal:** each update has a checkbox (unchecked ones count as Not now), What's new notes, and "See in Agent Organizer". While it runs, every row shows Updating, Updated or Failed. A failed row shows the reason and Retry. Restart now appears when an update needs it. - **Agent page facts** also show the minimum Engine version. - **Copy:** "Download Agents" becomes "Agent Organizer" in the UI, the docs, and Prof. Mari's knowledge text. What's New history keeps the old name. Left out on purpose (no data source yet): starter kits, a "needs check" state, "where used / on in N chats", sort, a settings button, and how-to pictures (text steps instead). ## Validation - `pnpm check` - `pnpm localization:check` - Regressions: `capability-store` (new), `capability-release-notes`, `capability-preview-overlay`, `official-catalog-file-artifacts`, `capability-package-lifecycle`, `capability-package-install-refusal` - Screenshots at 390, 768 and 1440 px on a local dev server against the `agentstore-agents` catalog (Home, Section, Installed, Updates, agent page, search, menus, update modal open and failed states). No console errors. - Local CodeRabbit review: 8 findings. Fixed 7 (doc wording, stale **No** button name, touch targets, helper moved to `lib/`, status red for failures); the docs-i18n one is #8439. - Second review (Opus) fixes: parallel store fetch, deep link opens the agent page at once, restart reminder kept, minimum Engine version shown. Note: on the test catalog the Slurp 0.4.7 install returned 404 because that ZIP is not on the `agentstore-agents` branch. The modal showed the Failed state as designed. ## Manual checks - [ ] Manually verify the Organizer at 390, 768 and 1440 px in Conversation and Roleplay mode, with both visual themes. - [ ] Manually verify Get, Update, Open (for apps) and Uninstall from a row, the agent page and the ⋯ menus. - [ ] Manually verify the update modal: clear one box, Update, then see Updated/Failed per row, Retry, and Restart now. - [ ] Manually verify a custom catalog without `store.json` still lists every agent (under "More agents" or the fallback section). - [ ] Manually verify the catalog error and empty states. Docs changed under `docs/`: translation follow-up is #8439. No linked issue: this is planned roadmap work (Agent Organizer plan); step PRs go into `agentstore-engine`, then one PR goes to `staging`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:45: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-Engine#8603
No description provided.