@a-t-h-i/bot-lobby 0.6.60 → 0.6.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a-t-h-i/bot-lobby",
3
- "version": "0.6.60",
3
+ "version": "0.6.61",
4
4
  "description": "Structured multi-agent software engineering orchestrator for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -241,7 +241,7 @@ export async function delegationHost(options: PiRunOptions, run: ProcessRunner)
241
241
  const consults = canConsult(agent, config.workflow.consultExpert);
242
242
  // Durable artifact reads appear only when the caller handed the host a live assignment access.
243
243
  const artifactTool = options.runtimeAccess?.authorize("artifact.read") === true ? DURABLE_OUTPUT_TOOL : undefined;
244
- const tools = [...new Set([...baseTools, "codemode", "tool_search", ...(artifactTool ? [artifactTool] : []), ...(canDelegate(agent, quota.used) ? [DELEGATE_TOOL] : []), ...(consults ? [EXPERT_TOOL] : {})])];
244
+ const tools = [...new Set([...baseTools, "codemode", "tool_search", ...(artifactTool ? [artifactTool] : []), ...(canDelegate(agent, quota.used) ? [DELEGATE_TOOL] : []), ...(consults ? [EXPERT_TOOL] : [])])];
245
245
  // A caller that passes its profile's grant (even an absent one, meaning every connected tool) wins over the role's.
246
246
  const mcpTools = mcpGrant("mcpTools" in options ? options.mcpTools : agentProfile(config, agent.domain, agent.role).mcpTools, !editable);
247
247
  const policy: AgentPolicy = { tools, mcpTools, readOnly: !editable, depth };