[PR #5634] [MERGED] feat(capability): resolve live embeddings #6858

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5634
Author: @Promansis
Created: 8/29/2026
Status: ✅ Merged
Merged: 8/30/2026
Merged by: @Promansis

Base: staging ← Head: feature(capability)/live-embeddings


📝 Commits (10+)

  • fc3aa29 feat(capability): resolve live embeddings
  • 772184d chore(release): bump version to 2.4.5
  • 4c4141f fix(android): advance release version code
  • e9ec9d2 fix(release): add 2.4.5 changelog section
  • b482cc3 fix(e2e): reset mobile message actions
  • 105429c feat(capability): resolve live embeddings
  • 34244e8 chore(release): bump version to 2.4.5
  • 46e32c0 fix(android): advance release version code
  • 4ffb2eb fix(release): add 2.4.5 changelog section
  • bb2d318 fix(e2e): reset mobile message actions

📊 Changes

14 files changed (+81 additions, -23 deletions)

View changed files

📝 CHANGELOG.md (+3 -1)
📝 android/app/build.gradle (+3 -3)
📝 package.json (+1 -1)
📝 packages/client/package.json (+1 -1)
📝 packages/client/public/manifest.json (+1 -1)
📝 packages/server/package.json (+1 -1)
📝 packages/server/src/services/capability-packages/capability-module-runtime.service.ts (+6 -0)
📝 packages/shared/package.json (+1 -1)
📝 packages/shared/src/constants/defaults.ts (+1 -1)
📝 packages/shared/src/schemas/capability-package.schema.ts (+2 -1)
📝 packages/shared/src/types/capability-runtime.ts (+2 -0)
📝 scripts/regressions/capability-package-lifecycle.regression.ts (+55 -8)
📝 win/installer/install.bat (+2 -2)
📝 win/installer/installer.nsi (+2 -2)

📄 Description

Linked issue

Closes #5623

Why this change

Capability packages need to follow changed package-specific or global embedding connections without reactivation, while older packages must retain their activation-time embedding host.

What changed

  • Raised the capability API to 1.15.
  • Added runtime.resolveEmbeddings() to resolve current package configuration and global embedding defaults.
  • Preserved static runtime.embeddings for legacy consumers.
  • Added lifecycle regression coverage for global default changes, package overrides, and override clearing.
  • Bumped Engine to 2.4.5 and synchronized release metadata, including Android versionCode 46.
  • Added the versioned 2.4.5 changelog section.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated validation passed on the exact pushed HEAD: pnpm check; focused capability lifecycle regression; pnpm version:check; release-note rendering for 2.4.5; release-tag regression; installer-artifact guard; and git diff --check. Android/Windows runtime and manual UI verification were not performed.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see docs-i18n workflow)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not applicable: capability runtime, regression, and release metadata only.

Summary by CodeRabbit

  • New Features

    • Added support for resolving the current embedding connection without reactivating a capability package.
    • Embedding resolution supports package-specific connections and global defaults, with automatic fallback when needed.
  • Release

    • Updated the application, web app, mobile app, and desktop installer to version 2.4.5.
  • Documentation

    • Documented Capability API 1.15 and the new embedding resolution capability, including compatibility details for existing packages.

🔄 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/5634 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/29/2026 **Status:** ✅ Merged **Merged:** 8/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(capability)/live-embeddings` --- ### 📝 Commits (10+) - [`fc3aa29`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fc3aa29c3d95af44f460dbb76da50bd8f99dfaf7) feat(capability): resolve live embeddings - [`772184d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/772184d59f63ddaf065b23b4f0cb56dc6994514c) chore(release): bump version to 2.4.5 - [`4c4141f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4c4141fa4b595234706b449ec5a5bb26918c8bb3) fix(android): advance release version code - [`e9ec9d2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e9ec9d211384a84ab7b79bff274ff4554cbe5ad7) fix(release): add 2.4.5 changelog section - [`b482cc3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b482cc3350c92f844be367bc16014af9a793e28a) fix(e2e): reset mobile message actions - [`105429c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/105429c3ce6ea110f84d5d79cb661b6e9501a3a1) feat(capability): resolve live embeddings - [`34244e8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/34244e81095bb863a9482fd8211e4a943389882d) chore(release): bump version to 2.4.5 - [`46e32c0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/46e32c0ea775ace9d9d2716c6169265f0c4e1cdd) fix(android): advance release version code - [`4ffb2eb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4ffb2ebd3417aad34582a0fcfbd8b6969de9b5ec) fix(release): add 2.4.5 changelog section - [`bb2d318`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bb2d318e08113078fca407e2191eca167248b64f) fix(e2e): reset mobile message actions ### 📊 Changes **14 files changed** (+81 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -1) 📝 `android/app/build.gradle` (+3 -3) 📝 `package.json` (+1 -1) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/public/manifest.json` (+1 -1) 📝 `packages/server/package.json` (+1 -1) 📝 `packages/server/src/services/capability-packages/capability-module-runtime.service.ts` (+6 -0) 📝 `packages/shared/package.json` (+1 -1) 📝 `packages/shared/src/constants/defaults.ts` (+1 -1) 📝 `packages/shared/src/schemas/capability-package.schema.ts` (+2 -1) 📝 `packages/shared/src/types/capability-runtime.ts` (+2 -0) 📝 `scripts/regressions/capability-package-lifecycle.regression.ts` (+55 -8) 📝 `win/installer/install.bat` (+2 -2) 📝 `win/installer/installer.nsi` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #5623 ## Why this change Capability packages need to follow changed package-specific or global embedding connections without reactivation, while older packages must retain their activation-time embedding host. ## What changed - Raised the capability API to 1.15. - Added `runtime.resolveEmbeddings()` to resolve current package configuration and global embedding defaults. - Preserved static `runtime.embeddings` for legacy consumers. - Added lifecycle regression coverage for global default changes, package overrides, and override clearing. - Bumped Engine to 2.4.5 and synchronized release metadata, including Android `versionCode 46`. - Added the versioned 2.4.5 changelog section. ## Validation - [x] `pnpm check` passes locally - [x] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated validation passed on the exact pushed HEAD: `pnpm check`; focused capability lifecycle regression; `pnpm version:check`; release-note rendering for `2.4.5`; release-tag regression; installer-artifact guard; and `git diff --check`. Android/Windows runtime and manual UI verification were not performed. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see `docs-i18n` workflow) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not applicable: capability runtime, regression, and release metadata only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for resolving the current embedding connection without reactivating a capability package. * Embedding resolution supports package-specific connections and global defaults, with automatic fallback when needed. * **Release** * Updated the application, web app, mobile app, and desktop installer to version 2.4.5. * **Documentation** * Documented Capability API 1.15 and the new embedding resolution capability, including compatibility details for existing packages. <!-- 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:14:22 +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#6858
No description provided.