Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Keep shared/wire.ts within the 1,000-line limit after merging main
AdityaUmale0fa22905fb94
diff --git a/shared/wire.ts b/shared/wire.tsindex af832c7835..9dfd9bcc4e 100644--- a/shared/wire.ts+++ b/shared/wire.ts@@ -464,10 +464,9 @@ export interface WireMessage extends HelperIntroField, SetupCardFields, WaitLinetokensBefore: number;by: "person" | "harness";};- /** Renderers receive only the allowlisted /api/attachments URL. `file`- * entries are opened through the message-scoped file route, never by path. */+ /** Renderers receive only the allowlisted /api/attachments URL. `file` entries are opened through the message-scoped+ * file route, never by path. `source`: a bot attach-file copy's original path on the server, for Show in folder. */attachments?: Array<- /** `source`: where a bot's attach-file copy came from on the server's computer, for the desktop app's Show in folder. */| { kind: "image"; path: string; mime: string; name?: string; source?: string }| { kind: "file"; path: string; mime: string; name: string; source?: string }/** `text` is the words the note speaks (secret-redacted when stored): clients show it behind a