Plugins: add bound TaskFlow runtime (#59622)

Merged via squash.

Prepared head SHA: b4649f3238
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
This commit is contained in:
Mariano
2026-04-02 13:17:09 +02:00
committed by GitHub
parent 474409deb5
commit bbf9800a8e
9 changed files with 703 additions and 0 deletions

View File

@@ -189,6 +189,15 @@ describe("plugin runtime command execution", () => {
]);
},
},
{
name: "exposes runtime.taskFlow binding helpers",
assert: (runtime: ReturnType<typeof createPluginRuntime>) => {
expectFunctionKeys(runtime.taskFlow as Record<string, unknown>, [
"bindSession",
"fromToolContext",
]);
},
},
{
name: "exposes runtime.agent host helpers",
assert: (runtime: ReturnType<typeof createPluginRuntime>) => {