[PR #6627] [MERGED] feat: add agent Home widgets (#6621) #7260

Closed
opened 2026-10-23 04:18:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6627
Author: @Gunterlie
Created: 9/24/2026
Status: ✅ Merged
Merged: 9/24/2026
Merged by: @Gunterlie

Base: staging ← Head: feat/agent-home-widgets-6621


📝 Commits (10+)

  • 7fb0017 chore: start agent Home widgets #6621
  • ab045e3 feat: add agent Home widgets
  • 364c940 fix: harden Home widget editing
  • 2075203 feat: expand agent Home widget presentation
  • ac39c98 fix: keep agent editor open after failed save
  • 46d2017 fix: keep agent editor open after failed save
  • ea46abd fix: harden agent widget lifecycle
  • 2f5c8e3 fix: map custom widget accent safely
  • 841db92 fix: restore CI for agent Home widgets
  • 885d0e0 fix: close agent widget review gaps

📊 Changes

19 files changed (+1185 additions, -91 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 packages/client/src/components/agents/AgentEditor.tsx (+118 -2)
📝 packages/client/src/components/capabilities/CapabilityElement.tsx (+1 -0)
📝 packages/client/src/components/chat/HomeBrowserHub.tsx (+535 -76)
📝 packages/client/src/hooks/use-capability-packages.ts (+17 -0)
📝 packages/client/src/lib/capability-package-localization.ts (+10 -0)
📝 packages/client/src/localization/locales/en.json (+41 -0)
📝 packages/client/src/styles/globals.css (+17 -0)
📝 packages/server/src/routes/admin.routes.ts (+4 -1)
📝 packages/server/src/routes/agents.routes.ts (+6 -0)
📝 packages/server/src/services/capability-packages/package-manager.service.ts (+4 -1)
📝 packages/server/src/services/generation/tool-resolution-runtime.ts (+52 -4)
📝 packages/server/src/services/mari-db/mari-db.service.ts (+58 -0)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+1 -0)
📝 packages/server/src/services/storage/agents.storage.ts (+63 -1)
📝 packages/shared/src/schemas/agent.schema.ts (+49 -1)
📝 packages/shared/src/schemas/capability-package.schema.ts (+102 -1)
➕ scripts/regressions/agent-home-widgets.regression.ts (+99 -0)
📝 scripts/regressions/capability-package-lifecycle.regression.ts (+4 -4)

📄 Description

Why

Agents need a Home widget contract that lets users choose useful agent surfaces without ceding Home layout control. This is the Engine side of #6621.

Work in progress

  • Add validated agent widget contributions and Home manager support.
  • Add Noodle post navigation handoff for the companion package PR.
  • Complete local validation and review before marking ready.

Companion package issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1070

Manual verification

  • Manually verify adding, hiding, and restoring an agent widget in browser.
  • Manually verify compact and large layouts on desktop and phone.
  • Manually verify an installed package update and uninstall.

Summary by CodeRabbit

  • New Features
    • Custom agents can offer up to three Home widgets, with editable titles and descriptions, compact or large layouts, and updates of up to 500 characters.
    • Home’s Widget Manager groups built-in, agent, and personal widgets, and lets you edit personal widget titles and descriptions.
    • Agent widgets indicate when updates are unavailable or out of date. Supported package widgets can provide interactive Home content, including Noodle’s Latest Posts.
    • Large widgets take up more space in the Home layout, and package widgets can display full-bleed surfaces.

🔄 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/6627 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/24/2026 **Status:** ✅ Merged **Merged:** 9/24/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/agent-home-widgets-6621` --- ### 📝 Commits (10+) - [`7fb0017`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7fb0017352a755a379fda88fea4e6f4fc0574c6d) chore: start agent Home widgets #6621 - [`ab045e3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ab045e361bb8d9e4ca3ed14ef77b93063085d221) feat: add agent Home widgets - [`364c940`](https://github.com/Pasta-Devs/Marinara-Engine/commit/364c9409b3dcf534160dfddb4406bb462825bab9) fix: harden Home widget editing - [`2075203`](https://github.com/Pasta-Devs/Marinara-Engine/commit/20752037909211241519b0291a4f9faadbd8cb4e) feat: expand agent Home widget presentation - [`ac39c98`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ac39c9819873edf8be47f15359e6709c051b65fc) fix: keep agent editor open after failed save - [`46d2017`](https://github.com/Pasta-Devs/Marinara-Engine/commit/46d20172d2aff99f8c3bc49b978cf81e68f3f624) fix: keep agent editor open after failed save - [`ea46abd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ea46abdb23f7f08b47daadfe1377c1a372fff6d3) fix: harden agent widget lifecycle - [`2f5c8e3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2f5c8e314f8583cc274b488cfd309a2bc2a214d3) fix: map custom widget accent safely - [`841db92`](https://github.com/Pasta-Devs/Marinara-Engine/commit/841db921dd2e556bce432abe16e3dfe4b416d11a) fix: restore CI for agent Home widgets - [`885d0e0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/885d0e06b48f741bfe869903e8944be3414b0249) fix: close agent widget review gaps ### 📊 Changes **19 files changed** (+1185 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+118 -2) 📝 `packages/client/src/components/capabilities/CapabilityElement.tsx` (+1 -0) 📝 `packages/client/src/components/chat/HomeBrowserHub.tsx` (+535 -76) 📝 `packages/client/src/hooks/use-capability-packages.ts` (+17 -0) 📝 `packages/client/src/lib/capability-package-localization.ts` (+10 -0) 📝 `packages/client/src/localization/locales/en.json` (+41 -0) 📝 `packages/client/src/styles/globals.css` (+17 -0) 📝 `packages/server/src/routes/admin.routes.ts` (+4 -1) 📝 `packages/server/src/routes/agents.routes.ts` (+6 -0) 📝 `packages/server/src/services/capability-packages/package-manager.service.ts` (+4 -1) 📝 `packages/server/src/services/generation/tool-resolution-runtime.ts` (+52 -4) 📝 `packages/server/src/services/mari-db/mari-db.service.ts` (+58 -0) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+1 -0) 📝 `packages/server/src/services/storage/agents.storage.ts` (+63 -1) 📝 `packages/shared/src/schemas/agent.schema.ts` (+49 -1) 📝 `packages/shared/src/schemas/capability-package.schema.ts` (+102 -1) ➕ `scripts/regressions/agent-home-widgets.regression.ts` (+99 -0) 📝 `scripts/regressions/capability-package-lifecycle.regression.ts` (+4 -4) </details> ### 📄 Description ## Why Agents need a Home widget contract that lets users choose useful agent surfaces without ceding Home layout control. This is the Engine side of #6621. ## Work in progress - Add validated agent widget contributions and Home manager support. - Add Noodle post navigation handoff for the companion package PR. - Complete local validation and review before marking ready. Companion package issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1070 ## Manual verification - [ ] Manually verify adding, hiding, and restoring an agent widget in browser. - [ ] Manually verify compact and large layouts on desktop and phone. - [ ] Manually verify an installed package update and uninstall. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Custom agents can offer up to three Home widgets, with editable titles and descriptions, compact or large layouts, and updates of up to 500 characters. * Home’s Widget Manager groups built-in, agent, and personal widgets, and lets you edit personal widget titles and descriptions. * Agent widgets indicate when updates are unavailable or out of date. Supported package widgets can provide interactive Home content, including Noodle’s Latest Posts. * Large widgets take up more space in the Home layout, and package widgets can display full-bleed surfaces. <!-- 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-23 04:18:01 +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#7260
No description provided.