[PR #1372] [MERGED] feat(avatars): offer 2D Avatars and 3D Avatars to Engine staging testers #1424

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

📋 Pull Request Information

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

Base: staging ← Head: feat/avatars-staging-catalog


📝 Commits (1)

  • e27eb58 feat(avatars): offer 2D Avatars and 3D Avatars to Engine staging testers (#1371)

📊 Changes

14 files changed (+411 additions, -10 deletions)

View changed files

📝 README.md (+2 -2)
➕ artifacts/2d-avatars-0.1.1.zip (+0 -0)
➕ artifacts/3d-avatars-0.1.1.zip (+0 -0)
📝 catalog/preview/catalog.json (+98 -0)
📝 catalog/preview/notes.json (+32 -0)
📝 catalog/preview/v2/catalog.json (+98 -0)
📝 catalog/preview/v2/notes.json (+32 -0)
📝 catalog/preview/v3/catalog.json (+98 -0)
📝 catalog/preview/v3/notes.json (+32 -0)
📝 packages/2d-avatars/CHANGELOG.md (+5 -0)
📝 packages/2d-avatars/manifest.json (+2 -2)
📝 packages/3d-avatars/CHANGELOG.md (+5 -0)
📝 packages/3d-avatars/manifest.json (+2 -2)
📝 scripts/catalog-incomplete.mjs (+5 -4)

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

Part of the Engine epic Pasta-Devs/Marinara-Engine#7537. Follows Pasta-Devs/Marinara-Agents#1369 (the packages, held back as in development).

Why this change

What changed

  • scripts/catalog-incomplete.mjs: 2d-avatars and 3d-avatars move from INCOMPLETE_PACKAGE_IDS to STAGING_ONLY_PACKAGE_IDS (the CONTRIBUTING.md promotion path). Only pixelforge is left as in development.
  • Both packages go from 0.1.0 to 0.1.1. No catalog ever published either id (git log origin/staging -p -- catalog/ has no 2d-avatars-* or 3d-avatars-* artifact), so 0.1.1 is above every published version. It still gets a new number because the manifest changed (builtAgainst), so the 0.1.0 ZIPs stay as committed instead of being rewritten under the same version.
  • builtAgainst is now Engine 2.5.0 at 1cd98bc161fb12717cda5fb1f9871c3d14de36e2, the Engine staging head that merged #7554 right after #7555. Capability API stays 1.73 and the range stays >=2.5.0 <4.0.0, which matches what that Engine reports (see Validation).
  • packages/<id>/CHANGELOG.md: a 0.1.1 entry each. The notes builder requires the newest entry to be the published version.
  • Generated by node scripts/build-agent-catalog.mjs 2d-avatars 3d-avatars with MARINARA_ENGINE_ROOT set to a clean detached Engine worktree at 1cd98bc16 (this builder does not read it; it is the Engine the packages were checked against):
    • artifacts/2d-avatars-0.1.1.zip, artifacts/3d-avatars-0.1.1.zip, and the two manifests.
    • Preview overlay catalog/preview/{catalog,v2/catalog,v3/catalog}.json and its notes.json sidecars, with both packages added.
    • The published lanes (catalog/catalog.json, catalog/v2, catalog/v3 and their notes) are byte-identical, so stable users see nothing new. agents.json and locales/en.json are unchanged.
  • README.md: both rows under In development now say Staging only and where testers find them. The stable counts (39 packages) are unchanged, as the README says for staging-only previews.
  • Covers: no change needed. Both catalog entries carry iconUrl .../main/artwork/agent-covers/<id>.png (from catalogArtworkUrl). A staging Engine rewrites that to the staging branch, where both 512x512 covers already exist and serve HTTP 200.

Package and security impact

  • Affected package IDs: 2d-avatars, 3d-avatars.
  • Engine compatibility impact: none to the declared range. Listed only to Engines on the exact staging branch (the preview overlay). Stable Engines never request the overlay, and stable 2.5.0 (Capability API 1.66) would refuse the install anyway.
  • New or changed permissions/entrypoints: none. Still agents.json only, with agent-runtime, chat-read, storage and ui.
  • Restart, storage, update, or uninstall impact: no restart. The packages store nothing themselves; avatar files live in Engine-owned storage.

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 on this branch (boxes above are left for a human):

  • npm run check: exit 0. Prettier is clean, and ESLint shows 0 errors (the same 811 warnings as staging).
  • node scripts/test-catalog-lanes.mjs: passed.
  • node scripts/validate-package-locales.mjs: passed.
  • node scripts/validate-catalog.mjs: passed. "Catalog valid: 39 packages (24 agents, 15 features, 0 rulesets)", "Preview overlay valid: 4 staging-only package(s) (2d-avatars, 3d-avatars, modern-life-sim, ruleset-5e-2014)", "Uncatalogued package manifests valid: pixelforge".
  • node scripts/tests/catalog-release-notes.regression.mjs: OK.
  • git diff --check: clean.
  • The ZIPs hold exactly manifest.json and agents.json, byte-identical to the package sources, and their SHA-256 values match the overlay entries.
  • Engine contract at 1cd98bc16: APP_VERSION 2.5.0, supportedCapabilityApi 1.79 (≥ 1.73). AVATAR_PROMPT_TEMPLATE_SETTINGS_KEY, AVATAR_PROMPT_TEMPLATE_IDS and AVATAR_PROMPT_TEMPLATE_VARIABLES in packages/shared/src/types/avatars.ts are identical to the package-owned copies in scripts/avatar-package-checks.mjs. Neither #7555 nor #7554 changed that file.
  • Install proof against the staging Engine (no live Engine, temp data dir, script not committed): with MARINARA_GIT_BRANCH=staging, the Engine's own capabilityPackageManager.catalog() read this branch's catalog/v2/catalog.json and catalog/preview/v2/catalog.json through a stub fetch. It listed both packages as preview: true at 0.1.1, with artifact and icon URLs rewritten to Agents staging. A main branch Engine resolved no overlay URL. capabilityPackageManager.install() then installed both through the real checksum, manifest and file-hash checks; only the ZIPs were downloaded, from this branch on raw.githubusercontent.com, because they are not on Agents staging until merge. agentDefinitions() loaded both as execution: "host" for roleplay and game, 2D with the three generation template ids. uninstall() removed both and left the registry empty.
  • Local CodeRabbit review (coderabbit review --agent --committed, base cdb583a9, head e27eb581): 1 finding, rejected as a false positive. The reasons are in the PR comment. The GitHub CodeRabbit review of the same head had no actionable comments.
  • Re-run after review on the same head e27eb581 (no new commits on this branch): npm run check exit 0 (0 errors, the same 811 warnings), node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs (39 packages; preview overlay lists 2d-avatars, 3d-avatars, modern-life-sim and ruleset-5e-2014), node scripts/tests/catalog-release-notes.regression.mjs and git diff --check: all pass.
  • Review follow-up, Engine-side: Download Agents takes its Roleplay/Game/Conversation filter and row badges from a fixed map in the Engine (OFFICIAL_PACKAGE_MODES in AgentCatalogView.tsx). That map had no 2d-avatars or 3d-avatars entry, so on Engine staging 1cd98bc16 both agents are listed only under All and show no mode badges. The catalog entry cannot carry the fix: the view never reads the packages' modeAllowlist, which is inside the ZIP. Fixed in Pasta-Devs/Marinara-Engine#7583. Nothing in this PR changes because of it.

Manual verification notes

How Mari installs them on her staging Engine, after this PR is merged into Agents staging:

  1. Update the Engine on the staging branch to at least 1cd98bc16 (it includes #7555 and #7554), then restart it. The Engine must be on the branch named exactly staging. A detached checkout or another branch name never reads the preview overlay. It must also have no MARINARA_AGENT_CATALOG_URL override set.
  2. Open Agents → Download Agents. 2D Avatars and 3D Avatars appear under Misc Agents with their covers. Install either or both. Neither asks for a restart. Keep the mode filter on All: until Pasta-Devs/Marinara-Engine#7583 is on the Engine, the Roleplay and Game filters hide both agents.
  3. Open Agents, then 2D Avatars or 3D Avatars, and set up an avatar in the Avatars section near the top (pick the character or persona, pick the avatar type, import or use sprites, then Preview).
  4. In a Roleplay or Game chat, open Chat Settings → Agents → Misc Agents and add the agent. The first time an avatar agent is on in a Roleplay chat, the Engine downloads its expression model by itself.

Manually verify:

  • Manually verify that both packages appear in Download Agents on the staging Engine and that a stable (main) Engine does not list them.
  • Once Pasta-Devs/Marinara-Engine#7583 is merged, manually verify that the Roleplay and Game filters in Download Agents list both packages and that their rows show those two badges.
  • Manually verify that the version history in the package details shows 0.1.1 and 0.1.0.
  • Manually verify that installing and uninstalling each package needs no restart.
  • Manually verify that saved avatars are still there after uninstalling and reinstalling an agent. The packages store nothing themselves; avatar files are Engine-owned.

Documentation impact

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

Not changed here, flagged for a follow-up: Engine docs/agents/avatars.md still says, under "Downloading the agents", that both agents are still in development and not in Download Agents yet. Once this lands, that sentence is true only for stable users. It is an Engine doc, so it needs an Engine PR (and the docs-i18n mirror).

UI evidence (if applicable)

None. No package UI changed.

Summary by CodeRabbit

  • New Features

    • 2D Avatars and 3D Avatars packages are available in Agents → Download Agents for Engine staging testers, at version 0.1.1.
    • The 2D package includes tools for creating blink and talking images, or a mesh avatar from sprites.
  • Improvements

    • Both packages have been checked against Engine avatar features, including live faces and lip sync.
    • Package listings and release notes now identify the avatars as staging-only.

🔄 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/1372 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/avatars-staging-catalog` --- ### 📝 Commits (1) - [`e27eb58`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e27eb5819b2753e443de847d2ac192b5ea0e4f5d) feat(avatars): offer 2D Avatars and 3D Avatars to Engine staging testers (#1371) ### 📊 Changes **14 files changed** (+411 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -2) ➕ `artifacts/2d-avatars-0.1.1.zip` (+0 -0) ➕ `artifacts/3d-avatars-0.1.1.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+98 -0) 📝 `catalog/preview/notes.json` (+32 -0) 📝 `catalog/preview/v2/catalog.json` (+98 -0) 📝 `catalog/preview/v2/notes.json` (+32 -0) 📝 `catalog/preview/v3/catalog.json` (+98 -0) 📝 `catalog/preview/v3/notes.json` (+32 -0) 📝 `packages/2d-avatars/CHANGELOG.md` (+5 -0) 📝 `packages/2d-avatars/manifest.json` (+2 -2) 📝 `packages/3d-avatars/CHANGELOG.md` (+5 -0) 📝 `packages/3d-avatars/manifest.json` (+2 -2) 📝 `scripts/catalog-incomplete.mjs` (+5 -4) </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 #1371 Part of the Engine epic Pasta-Devs/Marinara-Engine#7537. Follows Pasta-Devs/Marinara-Agents#1369 (the packages, held back as in development). ## Why this change - Mari tests features once they are on Engine `staging`. Until now she could not install the avatar agents there, because `2d-avatars` and `3d-avatars` sat in `INCOMPLETE_PACKAGE_IDS`, which keeps a package out of every catalog, including the staging preview. - The Engine's publish rule (`docs/development/optional-agent-packages.md`, "Capability API 1.73") holds them back only until the Engine's setup, stage and a renderer are on `staging`. All of that is on Engine `staging` now, plus the rest of the feature: the contract (Pasta-Devs/Marinara-Engine#7539), base setup and stage (Pasta-Devs/Marinara-Engine#7556), the 2D and 3D renderers (Pasta-Devs/Marinara-Engine#7549, Pasta-Devs/Marinara-Engine#7557), TTS lip sync (Pasta-Devs/Marinara-Engine#7547), live faces (Pasta-Devs/Marinara-Engine#7555) and generation (Pasta-Devs/Marinara-Engine#7554). - Staging only, not stable: stable Engine 2.5.0 supports Capability API 1.66 and would refuse both packages, and the feature has not been tested yet. ## What changed - `scripts/catalog-incomplete.mjs`: `2d-avatars` and `3d-avatars` move from `INCOMPLETE_PACKAGE_IDS` to `STAGING_ONLY_PACKAGE_IDS` (the CONTRIBUTING.md promotion path). Only `pixelforge` is left as in development. - Both packages go from 0.1.0 to **0.1.1**. No catalog ever published either id (`git log origin/staging -p -- catalog/` has no `2d-avatars-*` or `3d-avatars-*` artifact), so 0.1.1 is above every published version. It still gets a new number because the manifest changed (`builtAgainst`), so the 0.1.0 ZIPs stay as committed instead of being rewritten under the same version. - `builtAgainst` is now Engine `2.5.0` at `1cd98bc161fb12717cda5fb1f9871c3d14de36e2`, the Engine `staging` head that merged #7554 right after #7555. Capability API stays 1.73 and the range stays `>=2.5.0 <4.0.0`, which matches what that Engine reports (see Validation). - `packages/<id>/CHANGELOG.md`: a 0.1.1 entry each. The notes builder requires the newest entry to be the published version. - Generated by `node scripts/build-agent-catalog.mjs 2d-avatars 3d-avatars` with `MARINARA_ENGINE_ROOT` set to a clean detached Engine worktree at `1cd98bc16` (this builder does not read it; it is the Engine the packages were checked against): - `artifacts/2d-avatars-0.1.1.zip`, `artifacts/3d-avatars-0.1.1.zip`, and the two manifests. - Preview overlay `catalog/preview/{catalog,v2/catalog,v3/catalog}.json` and its `notes.json` sidecars, with both packages added. - The published lanes (`catalog/catalog.json`, `catalog/v2`, `catalog/v3` and their notes) are byte-identical, so stable users see nothing new. `agents.json` and `locales/en.json` are unchanged. - `README.md`: both rows under **In development** now say **Staging only** and where testers find them. The stable counts (39 packages) are unchanged, as the README says for staging-only previews. - Covers: no change needed. Both catalog entries carry `iconUrl` `.../main/artwork/agent-covers/<id>.png` (from `catalogArtworkUrl`). A staging Engine rewrites that to the `staging` branch, where both 512x512 covers already exist and serve HTTP 200. ## Package and security impact - Affected package IDs: `2d-avatars`, `3d-avatars`. - Engine compatibility impact: none to the declared range. Listed only to Engines on the exact `staging` branch (the preview overlay). Stable Engines never request the overlay, and stable 2.5.0 (Capability API 1.66) would refuse the install anyway. - New or changed permissions/entrypoints: none. Still `agents.json` only, with `agent-runtime`, `chat-read`, `storage` and `ui`. - Restart, storage, update, or uninstall impact: no restart. The packages store nothing themselves; avatar files live in Engine-owned storage. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 on this branch (boxes above are left for a human): - `npm run check`: exit 0. Prettier is clean, and ESLint shows 0 errors (the same 811 warnings as staging). - `node scripts/test-catalog-lanes.mjs`: passed. - `node scripts/validate-package-locales.mjs`: passed. - `node scripts/validate-catalog.mjs`: passed. "Catalog valid: 39 packages (24 agents, 15 features, 0 rulesets)", "Preview overlay valid: 4 staging-only package(s) (2d-avatars, 3d-avatars, modern-life-sim, ruleset-5e-2014)", "Uncatalogued package manifests valid: pixelforge". - `node scripts/tests/catalog-release-notes.regression.mjs`: OK. - `git diff --check`: clean. - The ZIPs hold exactly `manifest.json` and `agents.json`, byte-identical to the package sources, and their SHA-256 values match the overlay entries. - Engine contract at `1cd98bc16`: `APP_VERSION` 2.5.0, `supportedCapabilityApi` 1.79 (≥ 1.73). `AVATAR_PROMPT_TEMPLATE_SETTINGS_KEY`, `AVATAR_PROMPT_TEMPLATE_IDS` and `AVATAR_PROMPT_TEMPLATE_VARIABLES` in `packages/shared/src/types/avatars.ts` are identical to the package-owned copies in `scripts/avatar-package-checks.mjs`. Neither #7555 nor #7554 changed that file. - **Install proof against the staging Engine (no live Engine, temp data dir, script not committed):** with `MARINARA_GIT_BRANCH=staging`, the Engine's own `capabilityPackageManager.catalog()` read this branch's `catalog/v2/catalog.json` and `catalog/preview/v2/catalog.json` through a stub fetch. It listed both packages as `preview: true` at 0.1.1, with artifact and icon URLs rewritten to Agents `staging`. A `main` branch Engine resolved no overlay URL. `capabilityPackageManager.install()` then installed both through the real checksum, manifest and file-hash checks; only the ZIPs were downloaded, from this branch on raw.githubusercontent.com, because they are not on Agents `staging` until merge. `agentDefinitions()` loaded both as `execution: "host"` for `roleplay` and `game`, 2D with the three generation template ids. `uninstall()` removed both and left the registry empty. - Local CodeRabbit review (`coderabbit review --agent --committed`, base `cdb583a9`, head `e27eb581`): 1 finding, rejected as a false positive. The reasons are in the PR comment. The GitHub CodeRabbit review of the same head had no actionable comments. - Re-run after review on the same head `e27eb581` (no new commits on this branch): `npm run check` exit 0 (0 errors, the same 811 warnings), `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs` (39 packages; preview overlay lists 2d-avatars, 3d-avatars, modern-life-sim and ruleset-5e-2014), `node scripts/tests/catalog-release-notes.regression.mjs` and `git diff --check`: all pass. - Review follow-up, Engine-side: **Download Agents** takes its Roleplay/Game/Conversation filter and row badges from a fixed map in the Engine (`OFFICIAL_PACKAGE_MODES` in `AgentCatalogView.tsx`). That map had no `2d-avatars` or `3d-avatars` entry, so on Engine `staging` `1cd98bc16` both agents are listed only under **All** and show no mode badges. The catalog entry cannot carry the fix: the view never reads the packages' `modeAllowlist`, which is inside the ZIP. Fixed in Pasta-Devs/Marinara-Engine#7583. Nothing in this PR changes because of it. ### Manual verification notes How Mari installs them on her staging Engine, after this PR is merged into Agents `staging`: 1. Update the Engine on the **`staging` branch** to at least `1cd98bc16` (it includes #7555 and #7554), then restart it. The Engine must be on the branch named exactly `staging`. A detached checkout or another branch name never reads the preview overlay. It must also have no `MARINARA_AGENT_CATALOG_URL` override set. 2. Open **Agents → Download Agents**. **2D Avatars** and **3D Avatars** appear under **Misc Agents** with their covers. Install either or both. Neither asks for a restart. Keep the mode filter on **All**: until Pasta-Devs/Marinara-Engine#7583 is on the Engine, the **Roleplay** and **Game** filters hide both agents. 3. Open **Agents**, then **2D Avatars** or **3D Avatars**, and set up an avatar in the **Avatars** section near the top (pick the character or persona, pick the avatar type, import or use sprites, then **Preview**). 4. In a Roleplay or Game chat, open **Chat Settings → Agents → Misc Agents** and add the agent. The first time an avatar agent is on in a Roleplay chat, the Engine downloads its expression model by itself. Manually verify: - Manually verify that both packages appear in Download Agents on the staging Engine and that a stable (`main`) Engine does not list them. - Once Pasta-Devs/Marinara-Engine#7583 is merged, manually verify that the **Roleplay** and **Game** filters in Download Agents list both packages and that their rows show those two badges. - Manually verify that the version history in the package details shows 0.1.1 and 0.1.0. - Manually verify that installing and uninstalling each package needs no restart. - Manually verify that saved avatars are still there after uninstalling and reinstalling an agent. The packages store nothing themselves; avatar files are Engine-owned. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Not changed here, flagged for a follow-up: Engine `docs/agents/avatars.md` still says, under "Downloading the agents", that both agents are still in development and not in **Download Agents** yet. Once this lands, that sentence is true only for stable users. It is an Engine doc, so it needs an Engine PR (and the `docs-i18n` mirror). ## UI evidence (if applicable) None. No package UI changed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * 2D Avatars and 3D Avatars packages are available in **Agents → Download Agents** for Engine staging testers, at version 0.1.1. * The 2D package includes tools for creating blink and talking images, or a mesh avatar from sprites. * **Improvements** * Both packages have been checked against Engine avatar features, including live faces and lip sync. * Package listings and release notes now identify the avatars as staging-only. <!-- 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:18 +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#1424
No description provided.