Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge remote-tracking branch 'origin/main' into cloud-bot-in-place
milind-sonif898c8db95a0
diff --cc server/routes/table.tsindex 50b9523a00,c38c1898ae..6945be9d2d--- a/server/routes/table.ts+++ b/server/routes/table.ts@@@ -4,9 -4,9 +4,10 @@@ import type { json, readBody } from "..import type { RequestAuth } from "../request-auth.ts";import { announcementRoutes } from "./announcements.ts";import { cloudSyncRoutes } from "./cloud-sync.ts";+ import { licenseRoutes } from "./license.ts";import { ownMcpHttpRoutes } from "./own-mcp-http.ts";import { webPanelRoutes } from "./web-panels.ts";+import { placeProxyRoutes } from "../places/place-proxy.ts";export const PASS: unique symbol = Symbol("route.pass");@@@ -25,7 -25,7 +26,7 @@@ export interface RouteContextexport type RouteHandler = (ctx: RouteContext) => Promise<typeof PASS | void>;/** Modules with no wiring from index.ts are listed here; index.ts pushes the rest. */- export const ROUTES: RouteHandler[] = [placeProxyRoutes, cloudSyncRoutes, ownMcpHttpRoutes, webPanelRoutes, announcementRoutes];-export const ROUTES: RouteHandler[] = [cloudSyncRoutes, ownMcpHttpRoutes, webPanelRoutes, announcementRoutes, licenseRoutes];++export const ROUTES: RouteHandler[] = [placeProxyRoutes, cloudSyncRoutes, ownMcpHttpRoutes, webPanelRoutes, announcementRoutes, licenseRoutes];/** True means stop routing. A handler that wrote a response but returned PASS still counts as answered. */export async function dispatchRoutes(routes: readonly RouteHandler[], ctx: RouteContext): Promise<boolean> {diff --cc src/components/AttachmentPreview.tsxindex 3bcbb90713,e6c06fe4d0..7772f073b7--- a/src/components/AttachmentPreview.tsx+++ b/src/components/AttachmentPreview.tsx@@@ -38,7 -36,9 +36,9 @@@ import { serverErrorText } from "@/lib/import { CopyImageButton } from "./CopyImageButton";import { FilePreviewButton } from "./FilePreviewButton";import { chipNameAction, SaveIconButton, useHtmlPreview } from "./HtmlFilePreview";- import { ImageLoading } from "./ImageLoading"; import { openLinkedFolder } from "./RevealOriginalMenu"; import { isPlaceId } from "@/lib/place-chat"; import { serverFetch } from "@/lib/relay-server";-import { ImageLoading } from "./ImageLoading"; import { OutsideWorkspaceFile } from "./OutsideWorkspacePreview"; import { openLinkedFolder } from "./RevealOriginalMenu"; import { serverFetch } from "@/lib/relay-server";++import { ImageLoading } from "./ImageLoading"; import { OutsideWorkspaceFile } from "./OutsideWorkspacePreview"; import { openLinkedFolder } from "./RevealOriginalMenu"; import { isPlaceId } from "@/lib/place-chat"; import { serverFetch } from "@/lib/relay-server";++ export { OutsideWorkspaceFile };export interface PreviewImage {src: string;