[PR #105] [MERGED] Unify the Hierarchical Maps Agent editor #809

Closed
opened 2026-10-20 17:31:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/105
Author: @SpicyMarinara
Created: 7/25/2026
Status: ✅ Merged
Merged: 7/25/2026
Merged by: @SpicyMarinara

Base: main ← Head: fix/4081-maps-agent-editor-consistency


📝 Commits (2)

  • de1bde7 Unify Hierarchical Maps agent editor
  • 5bb0cbf Address Hierarchical Maps review feedback

📊 Changes

13 files changed (+765 additions, -267 deletions)

View changed files

➕ artifacts/hierarchical-maps-1.1.10.zip (+0 -0)
📝 catalog/catalog.json (+9 -9)
📝 catalog/v2/catalog.json (+9 -9)
📝 catalog/v3/catalog.json (+1 -1)
📝 packages/hierarchical-maps/client.js (+56 -52)
📝 packages/hierarchical-maps/manifest.json (+5 -5)
📝 packages/hierarchical-maps/server.mjs (+48 -48)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx (+388 -100)
📝 packages/hierarchical-maps/src/engine/packages/client/src/hooks/use-spatial-context.ts (+57 -2)
📝 packages/hierarchical-maps/src/engine/packages/server/src/routes/spatial-context.routes.ts (+30 -1)
📝 packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/package-runtime.ts (+76 -30)
📝 scripts/build-feature-packages.mjs (+7 -7)
📝 tests/spatial-context.e2e.ts (+79 -3)

📄 Description

Linked issue

Closes #106

Companion host integration: Pasta-Devs/Marinara-Engine#4097.

Why this change

  • Hierarchical Maps used a package-specific dashboard that looked and behaved unlike standard Marinara Agent editors. It lacked the shared editor header, common Agent metadata fields, pipeline presentation, persistent connection override, and responsive editor structure shown by built-in Agents such as Character Tracker.

What changed

  • Rebuilt the hierarchical-maps detail surface around the shared Marinara editor shell, header, panels, fields, actions, spacing, and responsive behavior.
  • Added standard Description, Author, Pipeline Phase, and Connection Override sections.
  • Presents the package-owned Pre-Generation phase explicitly while keeping Parallel and Post-Processing unavailable, because Maps injects saved location context before the main response.
  • Persists Description, Author, and AI connection overrides through the Engine Agent configuration API.
  • Applies the saved connection override to AI map drafting and expansion, with the current chat connection as the fallback.
  • Preserves the existing package installation, current-chat activation, prompt-library, location-type, and map-workspace controls inside the unified editor hierarchy.
  • Adds unsaved-change handling, accessible mobile Save and package-management actions, and desktop/mobile regression assertions.
  • Rebuilt the generated client and server payloads, all catalog lanes, and artifacts/hierarchical-maps-1.1.10.zip.

Package and security impact

  • Affected package IDs: hierarchical-maps
  • Engine compatibility impact: requires the companion Engine host metadata pass-through in Pasta-Devs/Marinara-Engine#4097; package compatibility remains Engine 2.3.3 through pre-3.0.
  • New or changed permissions/entrypoints: no new permissions or entrypoints.
  • Restart, storage, update, or uninstall impact: package version advances to 1.1.10 and requires the existing restart flow after update. Existing map and Agent settings are preserved.

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

Manual verification notes

  • Automated validation performed: node scripts/build-feature-packages.mjs hierarchical-maps, node scripts/test-catalog-lanes.mjs, node scripts/validate-catalog.mjs, and git diff --check.
  • The existing Hierarchical Maps home flow passed on desktop Chromium and mobile Chromium against an isolated Engine data directory.
  • Manual reinstall, light-theme, and uninstall-cleanup verification remain for the human reviewer.

Documentation impact

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

No user documentation files changed. The generated catalogs and package metadata were updated for 1.1.10.

UI evidence (if applicable)

Before-state screenshots were supplied during implementation. No temporary proof images are committed.

Summary by CodeRabbit

  • New Features

    • Added a “Hierarchical Maps agent” configuration editor to the spatial map home, with authoring fields and save/discard flow for unsaved changes.
    • Added package-level Connection Override support for map generation, including a persisted saved-connection state.
  • Bug Fixes

    • Improved configuration loading and persistence, including more accurate UI handling of available vs. unavailable connections.
  • Release

    • Updated Hierarchical Maps to version 1.1.10.

🔄 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/105 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/25/2026 **Status:** ✅ Merged **Merged:** 7/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `fix/4081-maps-agent-editor-consistency` --- ### 📝 Commits (2) - [`de1bde7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/de1bde734d004f56335b2b6367c7bbfeb66909dd) Unify Hierarchical Maps agent editor - [`5bb0cbf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5bb0cbf91bea413063cfb45288c3af3733f4f7c1) Address Hierarchical Maps review feedback ### 📊 Changes **13 files changed** (+765 additions, -267 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/hierarchical-maps-1.1.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -9) 📝 `catalog/v2/catalog.json` (+9 -9) 📝 `catalog/v3/catalog.json` (+1 -1) 📝 `packages/hierarchical-maps/client.js` (+56 -52) 📝 `packages/hierarchical-maps/manifest.json` (+5 -5) 📝 `packages/hierarchical-maps/server.mjs` (+48 -48) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx` (+388 -100) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/hooks/use-spatial-context.ts` (+57 -2) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/routes/spatial-context.routes.ts` (+30 -1) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/package-runtime.ts` (+76 -30) 📝 `scripts/build-feature-packages.mjs` (+7 -7) 📝 `tests/spatial-context.e2e.ts` (+79 -3) </details> ### 📄 Description ## Linked issue Closes #106 Companion host integration: Pasta-Devs/Marinara-Engine#4097. ## Why this change - Hierarchical Maps used a package-specific dashboard that looked and behaved unlike standard Marinara Agent editors. It lacked the shared editor header, common Agent metadata fields, pipeline presentation, persistent connection override, and responsive editor structure shown by built-in Agents such as Character Tracker. ## What changed - Rebuilt the `hierarchical-maps` detail surface around the shared Marinara editor shell, header, panels, fields, actions, spacing, and responsive behavior. - Added standard Description, Author, Pipeline Phase, and Connection Override sections. - Presents the package-owned Pre-Generation phase explicitly while keeping Parallel and Post-Processing unavailable, because Maps injects saved location context before the main response. - Persists Description, Author, and AI connection overrides through the Engine Agent configuration API. - Applies the saved connection override to AI map drafting and expansion, with the current chat connection as the fallback. - Preserves the existing package installation, current-chat activation, prompt-library, location-type, and map-workspace controls inside the unified editor hierarchy. - Adds unsaved-change handling, accessible mobile Save and package-management actions, and desktop/mobile regression assertions. - Rebuilt the generated client and server payloads, all catalog lanes, and `artifacts/hierarchical-maps-1.1.10.zip`. ## Package and security impact - Affected package IDs: `hierarchical-maps` - Engine compatibility impact: requires the companion Engine host metadata pass-through in Pasta-Devs/Marinara-Engine#4097; package compatibility remains Engine 2.3.3 through pre-3.0. - New or changed permissions/entrypoints: no new permissions or entrypoints. - Restart, storage, update, or uninstall impact: package version advances to 1.1.10 and requires the existing restart flow after update. Existing map and Agent settings are preserved. ## 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` ### Manual verification notes - Automated validation performed: `node scripts/build-feature-packages.mjs hierarchical-maps`, `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-catalog.mjs`, and `git diff --check`. - The existing Hierarchical Maps home flow passed on desktop Chromium and mobile Chromium against an isolated Engine data directory. - Manual reinstall, light-theme, and uninstall-cleanup verification remain for the human reviewer. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No user documentation files changed. The generated catalogs and package metadata were updated for 1.1.10. ## UI evidence (if applicable) Before-state screenshots were supplied during implementation. No temporary proof images are committed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a “Hierarchical Maps agent” configuration editor to the spatial map home, with authoring fields and save/discard flow for unsaved changes. * Added package-level Connection Override support for map generation, including a persisted saved-connection state. * **Bug Fixes** * Improved configuration loading and persistence, including more accurate UI handling of available vs. unavailable connections. * **Release** * Updated Hierarchical Maps to version **1.1.10**. <!-- 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-20 17:31:10 +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#809
No description provided.