fix(workboard): grant dispatch workers required tools

This commit is contained in:
Peter Steinberger
2026-07-14 00:49:21 -07:00
parent b940339c32
commit 202dea59bd
26 changed files with 557 additions and 89 deletions
+5
View File
@@ -0,0 +1,5 @@
/** Owner-scoped additive plugin tools for one trusted agent run. */
export type RuntimePluginToolGrant = {
pluginId: string;
toolNames: readonly string[];
};
+2
View File
@@ -15,6 +15,8 @@ type PluginRuntimeChannel = import("./types-channel.js").PluginRuntimeChannel;
export type SubagentRunParams = {
sessionKey: string;
message: string;
/** Add exact tools registered by the calling plugin to the worker's normal tool surface. */
toolsAlsoAllow?: string[];
provider?: string;
model?: string;
extraSystemPrompt?: string;