[PR #229] [MERGED] Fix Calls summary connection routing #866

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/229
Author: @SpicyMarinara
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/fix-call-summary-connection


📝 Commits (3)

  • f8c98a8 Start call summary routing fix
  • 643bef0 Fix Calls summary connection routing
  • 2a6259d Address Calls summary review feedback

📊 Changes

11 files changed (+491 additions, -273 deletions)

View changed files

➕ artifacts/conversation-calls-1.0.9.zip (+0 -0)
📝 catalog/catalog.json (+10 -10)
📝 catalog/v2/catalog.json (+10 -10)
📝 catalog/v3/catalog.json (+10 -10)
📝 packages/conversation-calls/client.js (+2 -2)
📝 packages/conversation-calls/manifest.json (+6 -6)
📝 packages/conversation-calls/server.mjs (+219 -219)
📝 scripts/build-feature-packages.mjs (+17 -1)
📝 sources/engine/packages/server/src/routes/conversation-calls.routes.ts (+16 -15)
➕ sources/engine/packages/server/src/services/conversation/call-summary-routing.ts (+86 -0)
➕ tests/conversation-calls-summary.regression.mjs (+115 -0)

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

Related Engine issue: Pasta-Devs/Marinara-Engine#4527
Related Engine PR: Pasta-Devs/Marinara-Engine#4553

Why this change

  • Completed Calls summaries always reused the chat connection, dropped connection default parameters when creating the provider, and capped the summary at 600 tokens. Users could not select a dedicated summary model, and provider-specific reasoning/custom parameters could be discarded.

What changed

  • Affected package: conversation-calls.
  • Resolve summaries from the per-chat selection, then Agent default, then chat connection.
  • Preserve connection default parameters and raise the summary output budget to 4096 tokens.
  • Add a Calls settings selector for the summary connection.
  • Bump Calls to 1.0.9, rebuild the payloads/artifact/manifests/catalogs, and add a focused regression.

Package and security impact

  • Affected package IDs: conversation-calls
  • Engine compatibility impact: minimum Engine version increases from 2.3.0 to 2.4.1 for the new host capability/metadata contract.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: normal package update; one optional chat metadata field is added, with no uninstall cleanup requirement.

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

  • Focused validation performed: Calls summary regression, catalog lane tests, catalog validation, git diff --check, and generated manifest/bundle/catalog/ZIP inspection.
  • Manually install/update Calls 1.0.9, select a dedicated summary connection, complete a call, verify custom/reasoning parameters, then verify Agent-default/chat fallback.

Documentation impact

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

UI evidence (if applicable)

  • The selector is generated in the package settings UI; an installed-package screenshot remains a manual verification item.

Summary by CodeRabbit

  • New Features
    • Added per-chat connection selection for conversation summaries.
    • Chat-specific connection choices are validated and preserved for future use.
  • Updates
    • Upgraded Conversation Calls to version 1.0.9.
    • Requires engine version 2.4.1 or newer.
  • Bug Fixes
    • Improved handling when a configured summary connection is unavailable.
  • Tests
    • Added regression coverage for connection defaults, summary configuration, package metadata, and token limits.

🔄 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/229 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-call-summary-connection` --- ### 📝 Commits (3) - [`f8c98a8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f8c98a8c74ae560e3882ef33d7c2b82665ee5aaf) Start call summary routing fix - [`643bef0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/643bef0f7da95f1e964ab74ad88a03dcb3175928) Fix Calls summary connection routing - [`2a6259d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2a6259d37ef25e88b611897c5c4466775aecddf1) Address Calls summary review feedback ### 📊 Changes **11 files changed** (+491 additions, -273 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/conversation-calls-1.0.9.zip` (+0 -0) 📝 `catalog/catalog.json` (+10 -10) 📝 `catalog/v2/catalog.json` (+10 -10) 📝 `catalog/v3/catalog.json` (+10 -10) 📝 `packages/conversation-calls/client.js` (+2 -2) 📝 `packages/conversation-calls/manifest.json` (+6 -6) 📝 `packages/conversation-calls/server.mjs` (+219 -219) 📝 `scripts/build-feature-packages.mjs` (+17 -1) 📝 `sources/engine/packages/server/src/routes/conversation-calls.routes.ts` (+16 -15) ➕ `sources/engine/packages/server/src/services/conversation/call-summary-routing.ts` (+86 -0) ➕ `tests/conversation-calls-summary.regression.mjs` (+115 -0) </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 #228 Related Engine issue: Pasta-Devs/Marinara-Engine#4527 Related Engine PR: Pasta-Devs/Marinara-Engine#4553 ## Why this change - Completed Calls summaries always reused the chat connection, dropped connection default parameters when creating the provider, and capped the summary at 600 tokens. Users could not select a dedicated summary model, and provider-specific reasoning/custom parameters could be discarded. ## What changed - Affected package: `conversation-calls`. - Resolve summaries from the per-chat selection, then Agent default, then chat connection. - Preserve connection default parameters and raise the summary output budget to 4096 tokens. - Add a Calls settings selector for the summary connection. - Bump Calls to 1.0.9, rebuild the payloads/artifact/manifests/catalogs, and add a focused regression. ## Package and security impact - Affected package IDs: `conversation-calls` - Engine compatibility impact: minimum Engine version increases from 2.3.0 to 2.4.1 for the new host capability/metadata contract. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: normal package update; one optional chat metadata field is added, with no uninstall cleanup requirement. ## 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 - Focused validation performed: Calls summary regression, catalog lane tests, catalog validation, `git diff --check`, and generated manifest/bundle/catalog/ZIP inspection. - Manually install/update Calls 1.0.9, select a dedicated summary connection, complete a call, verify custom/reasoning parameters, then verify Agent-default/chat fallback. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - The selector is generated in the package settings UI; an installed-package screenshot remains a manual verification item. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added per-chat connection selection for conversation summaries. * Chat-specific connection choices are validated and preserved for future use. * **Updates** * Upgraded Conversation Calls to version 1.0.9. * Requires engine version 2.4.1 or newer. * **Bug Fixes** * Improved handling when a configured summary connection is unavailable. * **Tests** * Added regression coverage for connection defaults, summary configuration, package metadata, and token limits. <!-- 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:47 +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#866
No description provided.