Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge pull request #6116 from luishron123/feat/composer-context-menu
milind-soni5cc1d073c0fd
diff --cc server/routes/bot-messages.tsindex 9eab2d1d3c,5a6e97c864..c947efd23b--- a/server/routes/bot-messages.ts+++ b/server/routes/bot-messages.ts@@@ -36,10 -36,10 +36,10 @@@ import { extractSteerImages } from "../import { followupFacts, helperFollowup, helperFollowupBody, mayFollowUp } from "../helper-followup.ts";import type { UsageTrigger } from "../usage-ledger.ts";import { noteTypedSend } from "../typed-sends.ts";- import { startFresh } from "../fresh-start.ts";+ import { engineSessionOutdated, startFresh } from "../fresh-start.ts";import { parseMentionPicks } from "../../shared/room-mentions.ts";import { pinnedClientThreadGuard } from "./pinned-client-thread.ts";-import { refusalBody, userError } from "../user-errors.ts";+import { refusalBody, refusalText, userError } from "../user-errors.ts";import { PASS, type RouteHandler } from "./table.ts";type RunningInstance = ReturnType<ProviderRegistry["get"]>;diff --cc src/locales/en.jsonindex ac617664ba,e9c818839a..fda38eb1a1--- a/src/locales/en.json+++ b/src/locales/en.json@@@ -2741,9 -2735,29 +2741,29 @@@"contextWarning.compactNow": "Compact now","contextWarning.compacting": "Compacting…","contextWarning.busy": "Stop this bot's turn first",- "contextWarning.room": "{name}'s context in this room is {percent}% full.",+ "contextWarning.room": "{name}'s context in this room is {tokens}.","contextWarning.roomHint": "Its next turn here starts fresh with the room's recent messages. Nothing in the room is deleted.","contextWarning.roomRequested": "Compacts before its next turn.",+ "contextMenu.title": "Context",+ "contextMenu.roomTitle": "Context of each bot in this room",+ "contextMenu.used": "{percent}% used",+ "contextMenu.tokensOfWindow": "{tokens} of {window} tokens",+ "contextMenu.tokens": "{tokens} tokens",+ "contextMenu.rowShare": "{tokens} · {percent}%",+ "contextMenu.empty": "No reading yet. It shows after the bot's next reply.",+ "contextMenu.roomEmpty": "No reading yet. A bot's context shows after its next turn in this room.",+ "contextMenu.providerCompacts": "The provider compacts this conversation automatically.",+ "contextMenu.compact": "Compact context",+ "contextMenu.compactHint": "Summarizes older messages into a short note. The whole conversation stays here.",+ "contextMenu.category.systemPrompt": "System prompt",+ "contextMenu.category.memoryFiles": "Memory files",+ "contextMenu.category.tools": "Tools",+ "contextMenu.category.skills": "Skills and subagents",+ "contextMenu.category.toolCalls": "Tool calls and results",+ "contextMenu.category.messages": "Messages",+ "contextMenu.category.other": "Other",+ "contextMenu.category.reserved": "Reserved for compacting",+ "contextMenu.category.free": "Free space","chat.emptyPrompt": "Send a message to start the conversation.","chat.chiefOfStaff": "Chief of Staff","chat.openProfile": "Open agent profile",