Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Allow the paired companion to read thread goals
vincentf42402d85c30
diff --git a/companion/src/routes.ts b/companion/src/routes.tsindex 0ce4755ae9..0fc2e228dd 100644--- a/companion/src/routes.ts+++ b/companion/src/routes.ts@@ -183,6 +183,7 @@ const ALLOWED: ReadonlyArray<{ method: string; path: RegExp }> = [{ method: "DELETE", path: /^\/api\/groups\/[\w-]+\/tasks\/[\w-]+$/ },{ method: "GET", path: /^\/api\/threads\/[\w-]+\/messages$/ },+ { method: "GET", path: /^\/api\/threads\/[\w-]+\/goals$/ },{ method: "GET", path: /^\/api\/threads\/[\w-]+\/messages\/[\w-]+\/image$/ },{ method: "GET", path: /^\/api\/threads\/[\w-]+\/messages\/[\w-]+\/tool$/ },// An app row's document is transcript data, scoped to its thread. `rpc` reaches only the app's own MCPdiff --git a/companion/test/routes.test.ts b/companion/test/routes.test.tsindex f931ad66dc..38357a2c99 100644--- a/companion/test/routes.test.ts+++ b/companion/test/routes.test.ts@@ -95,6 +95,7 @@ describe("what the app may do", () => {["PATCH", "/api/groups/room-1/tasks/th_1"],["DELETE", "/api/groups/room-1/tasks/th_1"],["GET", "/api/threads/th_1/messages"],+ ["GET", "/api/threads/th_1/goals"],["GET", "/api/threads/th_1/messages/msg_2/image"],["GET", "/api/threads/th_1/messages/msg_2/tool"],["GET", "/api/threads/th_1/messages/msg_2/app"],