fix(active-memory): expose memory tools to recall runs (#74592)

Fix Active Memory recall runs so plugin tool allowlists from composed Memory Core agents flow into embedded tool execution, restoring callable memory plugin tools during recall.\n\nCo-authored-by: vyctorbrzezowski <vyctorbrzezowski@users.noreply.github.com>
This commit is contained in:
Vyctor Huggo Przozwski
2026-05-01 01:48:59 -03:00
committed by GitHub
parent 54f44ec321
commit eabab1f64f
8 changed files with 49 additions and 2 deletions

View File

@@ -1039,6 +1039,7 @@ describe("active-memory plugin", () => {
"If memory_recall is unavailable, use memory_search and memory_get.",
);
expect(runParams?.toolsAllow).toEqual(["memory_recall", "memory_search", "memory_get"]);
expect(runParams?.allowGatewaySubagentBinding).toBe(true);
expect(runParams?.prompt).toContain(
"When searching for preference or habit recall, use a permissive recall limit or memory_search threshold before deciding that no useful memory exists.",
);

View File

@@ -2138,6 +2138,7 @@ async function runRecallSubagent(params: {
trigger: "manual",
toolsAllow: ["memory_recall", "memory_search", "memory_get"],
disableMessageTool: true,
allowGatewaySubagentBinding: true,
bootstrapContextMode: "lightweight",
verboseLevel: "off",
thinkLevel: params.config.thinking,