Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(#6291): name list_bots, the tool that lists teammates
milind-soni6331316613ed
diff --git a/server/drivers/agents-proxy.test.ts b/server/drivers/agents-proxy.test.tsindex 2a9010733c..0061c15b8d 100644--- a/server/drivers/agents-proxy.test.ts+++ b/server/drivers/agents-proxy.test.ts@@ -992,7 +992,7 @@ describe("agents-proxy MCP surface", () => {const res = await callTool("start_thread", { title: "Review", message: "Review the patch.", [key]: "Helper" });expect(res.result.isError).toBe(true);expect(res.result.content[0].text).toContain(`unknown arguments "${key}"`);- expect(res.result.content[0].text).toContain("coordinate_bots with bot_ids from read_team");+ expect(res.result.content[0].text).toContain("coordinate_bots with bot_ids from list_bots");expect(threadCalls).toBe(before);});diff --git a/server/drivers/agents-schema.ts b/server/drivers/agents-schema.tsindex d2f0dbc7fb..7bcae9f19d 100644--- a/server/drivers/agents-schema.ts+++ b/server/drivers/agents-schema.ts@@ -88,10 +88,10 @@ function startThreadArgumentProblem(schema: unknown, args: Json): string | undefconst properties = record(schema) && record(schema.properties) ? schema.properties : {};const unknown = Object.keys(args).filter((key) => key !== "bot_id" && !Object.hasOwn(properties, key));if (unknown.length) {- return `start_thread was not run: unknown arguments ${unknown.map((key) => JSON.stringify(key)).join(", ")}. It opens a task on yourself. To hand work to a teammate, use coordinate_bots with bot_ids from read_team and thread "new".`;+ return `start_thread was not run: unknown arguments ${unknown.map((key) => JSON.stringify(key)).join(", ")}. It opens a task on yourself. To hand work to a teammate, use coordinate_bots with bot_ids from list_bots and thread "new".`;}if (Object.hasOwn(args, "bot_id") && (typeof args.bot_id !== "string" || !args.bot_id.trim())) {- return 'start_thread was not run: bot_id must be a non-empty bot ID. For a teammate, use coordinate_bots with bot_ids from read_team and thread "new"; for a task on yourself, omit bot_id.';+ return 'start_thread was not run: bot_id must be a non-empty bot ID. For a teammate, use coordinate_bots with bot_ids from list_bots and thread "new"; for a task on yourself, omit bot_id.';}return undefined;}