π OpenHands: AI-Driven Development
rename agent-server-gui to agent-canvas (#121)
Graham Neubig62871d3a7b1c
diff --git a/.agents/skills/custom-codereview-guide.md b/.agents/skills/custom-codereview-guide.mdindex 70d707183a..76726b8e59 100644--- a/.agents/skills/custom-codereview-guide.md+++ b/.agents/skills/custom-codereview-guide.md@@ -1,13 +1,13 @@---name: custom-codereview-guide-description: Repo-specific code review guidelines for OpenHands/agent-server-gui. Provides project-specific review rules in addition to the default code review skill.+description: Repo-specific code review guidelines for OpenHands/agent-canvas. Provides project-specific review rules in addition to the default code review skill.triggers:- /codereview----# OpenHands/agent-server-gui Code Review Guidelines+# OpenHands/agent-canvas Code Review Guidelines-You are an expert code reviewer for the **OpenHands/agent-server-gui** repository. This skill provides repo-specific review guidelines. Be direct but constructive.+You are an expert code reviewer for the **OpenHands/agent-canvas** repository. This skill provides repo-specific review guidelines. Be direct but constructive.## Review Decisionsdiff --git a/.env.sample b/.env.sampleindex cbb6fd4b0c..046c7cbd58 100644--- a/.env.sample+++ b/.env.sample@@ -6,7 +6,7 @@VITE_BACKEND_HOST="127.0.0.1:8000" # Host:port used by the Vite dev proxyVITE_BACKEND_BASE_URL="http://127.0.0.1:8000" # Base URL used by browser-side direct requests# VITE_SESSION_API_KEY="" # Set to the same value as backend SESSION_API_KEY or OH_SESSION_API_KEYS_0 when auth is enabled-# VITE_WORKING_DIR="/workspace/project/agent-server-gui" # Base dir for per-conversation working_dirs. Each conversation's working_dir is <VITE_WORKING_DIR>/<id_hex>. Defaults to <OH_GUI_SAFE_STATE_DIR>/workspaces, which is the sibling of the agent server's <state_dir>/conversations/ persistence dir β both share the same <id_hex> per conversation.+# VITE_WORKING_DIR="/workspace/project/agent-canvas" # Base dir for per-conversation working_dirs. Each conversation's working_dir is <VITE_WORKING_DIR>/<id_hex>. Defaults to <OH_CANVAS_SAFE_STATE_DIR>/workspaces, which is the sibling of the agent server's <state_dir>/conversations/ persistence dir β both share the same <id_hex> per conversation.# VITE_WORKER_URLS="" # Optional comma-separated worker URLs for the Browser tab# VITE_ENABLE_BROWSER_TOOLS="true" # Set to false to omit BrowserToolSet from new conversations@@ -20,9 +20,9 @@ VITE_MOCK_API="false" # Enable/disable API mocking with MSW# VITE_GITHUB_TOKEN="" # GitHub token for repository access (used in some tests)# `npm run dev` (scripts/dev-safe.mjs) β isolated local backend via uvx-# OH_GUI_SAFE_BACKEND_PORT="18000" # Port the spawned agent-server listens on-# OH_GUI_SAFE_VSCODE_PORT="18001" # Port forwarded to the embedded VS Code (defaults to backend port + 1)-# OH_GUI_SAFE_STATE_DIR="$HOME/.openhands/agent-server-gui" # Where conversations, tmux sockets, and bash events are stored+# OH_CANVAS_SAFE_BACKEND_PORT="18000" # Port the spawned agent-server listens on+# OH_CANVAS_SAFE_VSCODE_PORT="18001" # Port forwarded to the embedded VS Code (defaults to backend port + 1)+# OH_CANVAS_SAFE_STATE_DIR="$HOME/.openhands/agent-canvas" # Where conversations, tmux sockets, and bash events are stored# Agent server version selection (uvx)# OH_AGENT_SERVER_VERSION="" # Specific PyPI version (e.g., "1.18.0"). Uses latest release if unset.diff --git a/AGENTS.md b/AGENTS.mdindex a0c4558fa8..8e960f4a95 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -40,7 +40,7 @@- conversation browsing/loading: `/api/conversations/search`, `/api/conversations?ids=...`, `/api/conversations/:id`, `/api/conversations/:id/events/*`- runtime git panels: `/api/git/changes`, `/api/git/diff`- Static mock verification needs a build created with `VITE_MOCK_API=true` (use `npm run build:mock`); the client must start MSW whenever that flag is enabled, even in production/static builds, otherwise routes like `/settings` and the conversations pane fall through to the static server and crash on undefined `.filter`/`.map` assumptions.-- Frontend compatibility guard: `OptionService.getConfig()` now uses `/server_info.version` to block unsupported agent-server versions before the app loads. Git history in `software-agent-sdk` shows `/api/settings/agent-schema` and `/api/settings/conversation-schema` first shipped in tag `v1.17.0`, so the GUI currently treats `< 1.17.0` (or unknown/unparseable versions) as incompatible, `useConfig` stops retrying that case, and `src/root.tsx` renders a blocking unsupported-version notice on every route.+- Frontend compatibility guard: `OptionService.getConfig()` now uses `/server_info.version` to block unsupported agent-server versions before the app loads. Git history in `software-agent-sdk` shows `/api/settings/agent-schema` and `/api/settings/conversation-schema` first shipped in tag `v1.17.0`, so Agent Canvas currently treats `< 1.17.0` (or unknown/unparseable versions) as incompatible, `useConfig` stops retrying that case, and `src/root.tsx` renders a blocking unsupported-version notice on every route.- Useful regression tests for mock mode live in `__tests__/api/option-service.test.ts`, `__tests__/api/mock-conversation-handlers.test.ts`, and `__tests__/api/mock-settings-handlers.test.ts`.- Browser-verified mock-mode tour artifact was generated at `artifacts/frontend-tour.gif`.- Live `agent_server` compatibility quirks discovered during browser verification:@@ -49,7 +49,7 @@- The provider/model picker should use `/api/llm/providers`, `/api/llm/models`, and `/api/llm/models/verified`; `/api/v1/config/providers/search` and `/api/v1/config/models/search` 404 on current live agent-server releases.- When the browser is accessing the frontend through a remote host (for example an All Hands work URL) but `VITE_BACKEND_BASE_URL` points at `127.0.0.1`/`localhost`, browser-side REST calls must fall back to the frontend origin so Vite can proxy `/api` and `/sockets` to the local backend.- `GET /api/conversations` expects repeated `ids` params (`?ids=a&ids=b`), not Axios's default bracket form (`ids[]=a`), so the shared Axios client needs a custom params serializer.- - Runtime git panels should prefer the conversation's reported `workspace.working_dir` when present; falling back to `/workspace/project` can produce 500s like `Not a git repository` for direct local workspaces such as `/workspace/project/agent-server-gui`.+ - Runtime git panels should prefer the conversation's reported `workspace.working_dir` when present; falling back to `/workspace/project` can produce 500s like `Not a git repository` for direct local workspaces such as `/workspace/project/agent-canvas`.- For development, `npm run dev` now uses `uvx` to run a temporary agent-server installation, so no permanent `uv tool install` is required. For standalone installations, `uv tool install -U --with openhands-tools --with openhands-workspace openhands-agent-server` would expose the executable as `agent-server` (not `openhands-agent-server`), possibly requiring `~/.local/bin` on `PATH`.- Current SDK / agent-server conversation start payloads must use SDK-registered snake_case tool names, not the old class-style names. Working names against SDK v1.18.1 were:- `terminal`@@ -58,7 +58,7 @@- `browser_tool_set`Using `TerminalTool` / `FileEditorTool` / `TaskTrackerTool` / `BrowserToolSet` caused live `/api/conversations/{id}/events` runs to fail with `ToolDefinition '<name>' is not registered`.- The root compatibility bootstrap now treats `/server_info` network/timeout failures as a first-class `AgentServerUnavailableError`, uses a short 5s timeout for that probe, and disables React Query retries/toasts for the initial config fetch so missing backends fail fast with an explicit full-screen notice.- - For local verification in this repo, setting `VITE_WORKING_DIR=/workspace/project/agent-server-gui` avoids initial Changes-tab 500s from pointing conversations at the non-repo parent `/workspace/project`.+ - For local verification in this repo, setting `VITE_WORKING_DIR=/workspace/project/agent-canvas` avoids initial Changes-tab 500s from pointing conversations at the non-repo parent `/workspace/project`.- A successful end-to-end live run in this environment required a real LLM config (`LLM_MODEL` + `LLM_API_KEY`). The default `litellm_proxy/...` model with no `llm_api_key` failed at runtime with a `litellm.AuthenticationError`.- Agent-server recovery UX gotchas:@@ -104,7 +104,7 @@- Settings selectors no longer use the v2 `Autocomplete` APIs. `settings-dropdown-input.tsx` and `model-selector.tsx` now use HeroUI v3 `ComboBox` + `ListBox` patterns, and the model/provider comboboxes must keep their `name` attributes so `FormData` submission still populates settings diffs.- Tooltip consumers that used the old monolithic `Tooltip` props should prefer the shared `StyledTooltip` wrapper so HeroUI v3 trigger/content typing stays centralized.- Visual verification artifacts for the migration live under `.pr/issue-44/`; to reproduce the static screenshots, use `npm run build:mock`, serve `build/` (for example with `python -m http.server --directory build`), and navigate client-side before capturing screenshots because a plain static server will not provide SPA deep-link fallbacks.-- Library i18n is now namespace-scoped under `openhands`: `src/i18n/index.ts` exports `OPENHANDS_I18N_NAMESPACE`, `translationResources`, and `waitForI18n()`, `scripts/make-i18n-translations.cjs` emits `public/locales/<lang>/openhands.json`, standalone `src/entry.client.tsx` explicitly awaits i18n init, and host apps can register bundles via the `@openhands/agent-server-gui/i18n` subpath export.+- Library i18n is now namespace-scoped under `openhands`: `src/i18n/index.ts` exports `OPENHANDS_I18N_NAMESPACE`, `translationResources`, and `waitForI18n()`, `scripts/make-i18n-translations.cjs` emits `public/locales/<lang>/openhands.json`, standalone `src/entry.client.tsx` explicitly awaits i18n init, and host apps can register bundles via the `@openhands/agent-canvas/i18n` subpath export.- Route decoupling note: `src/components/` should stay free of direct `react-router` imports. Route state now flows through `src/context/navigation-context.tsx`, the standalone app bridges router state with `src/routes/react-router-navigation-provider.tsx`, and link-like UI should use `src/components/shared/navigation-link.tsx`.- Test helper note: `test-utils.tsx` now wraps renders with a default `NavigationProvider` (`currentPath: "/"`, `conversationId: "test-conversation-id"`). Navigation-sensitive tests can override that via `renderWithProviders(..., { navigation: { ... } })`.diff --git a/DEVELOPMENT.md b/DEVELOPMENT.mdindex 1d9eb4cc7d..16ddb6e0ae 100644--- a/DEVELOPMENT.md+++ b/DEVELOPMENT.md@@ -1,6 +1,6 @@# Development-This document is for contributors working on `agent-server-gui` itself.+This document is for contributors working on `agent-canvas` itself.## Recommended local workflow@@ -29,9 +29,9 @@ OH_AGENT_SERVER_GIT_REF=abc1234 npm run dev### Other useful overrides-- `OH_GUI_SAFE_BACKEND_PORT` β backend port for the isolated server (default `18000`)-- `OH_GUI_SAFE_VSCODE_PORT` β VS Code sidecar port (default `backend port + 1`)-- `OH_GUI_SAFE_STATE_DIR` β base directory for isolated server state+- `OH_CANVAS_SAFE_BACKEND_PORT` β backend port for the isolated server (default `18000`)+- `OH_CANVAS_SAFE_VSCODE_PORT` β VS Code sidecar port (default `backend port + 1`)+- `OH_CANVAS_SAFE_STATE_DIR` β base directory for isolated server state- `VITE_WORKING_DIR` β repo root used for new conversations (defaults to the current checkout)## Alternative development workflowsdiff --git a/README.md b/README.mdindex c83835f342..0cff703e25 100644--- a/README.md+++ b/README.md@@ -1,4 +1,4 @@-# agent-server-gui+# agent-canvas> [!WARNING]> This project is in an early incubator phase. It may be vibecoded, untested, or out of date. OpenHands takes no responsibility for the code or its support. [Learn more](https://github.com/OpenHands/incubator-program).@@ -16,8 +16,8 @@ This repository is a near-direct port of the OpenHands frontend adapted to talk### 1. Clone and install the frontend```sh-git clone https://github.com/OpenHands/agent-server-gui.git-cd agent-server-gui+git clone https://github.com/OpenHands/agent-canvas.git+cd agent-canvasnpm install```diff --git a/__tests__/api/agent-server-adapter.test.ts b/__tests__/api/agent-server-adapter.test.tsindex c5a742f25a..04bda80701 100644--- a/__tests__/api/agent-server-adapter.test.ts+++ b/__tests__/api/agent-server-adapter.test.ts@@ -10,7 +10,7 @@ import { DEFAULT_SETTINGS } from "#/services/settings";const { mockGetAgentServerWorkingDir } = vi.hoisted(() => ({mockGetAgentServerWorkingDir: vi.fn(- () => "/workspace/project/agent-server-gui",+ () => "/workspace/project/agent-canvas",),}));@@ -79,7 +79,7 @@ describe("buildStartConversationRequest", () => {]);expect(payload.agent.agent).toBeUndefined();expect(payload.workspace.working_dir).toBe(- "/workspace/project/agent-server-gui",+ "/workspace/project/agent-canvas",);expect(payload.max_iterations).toBe(123);expect(payload.initial_message.content[0]?.text).toBe("hello");diff --git a/__tests__/api/use-create-conversation-metadata.test.ts b/__tests__/api/use-create-conversation-metadata.test.tsindex ad749929b0..70c9ff28e9 100644--- a/__tests__/api/use-create-conversation-metadata.test.ts+++ b/__tests__/api/use-create-conversation-metadata.test.ts@@ -27,7 +27,7 @@ vi.mock("#/api/agent-server-config", () => ({DEFAULT_WORKING_DIR: "workspace/project",getAgentServerBaseUrl: vi.fn(() => "http://localhost:54928"),getAgentServerSessionApiKey: vi.fn(() => null),- getAgentServerWorkingDir: vi.fn(() => "/workspace/project/agent-server-gui"),+ getAgentServerWorkingDir: vi.fn(() => "/workspace/project/agent-canvas"),buildConversationWorkingDir: vi.fn((id: string) => `/state/workspaces/${id.replace(/-/g, "")}`,),diff --git a/__tests__/api/v1-conversation-service.test.ts b/__tests__/api/v1-conversation-service.test.tsindex 178c521cfd..b78bc4be71 100644--- a/__tests__/api/v1-conversation-service.test.ts+++ b/__tests__/api/v1-conversation-service.test.ts@@ -29,7 +29,7 @@ vi.mock("#/api/agent-server-config", () => ({DEFAULT_WORKING_DIR: "workspace/project",getAgentServerBaseUrl: vi.fn(() => "http://localhost:54928"),getAgentServerSessionApiKey: vi.fn(() => "test-api-key"),- getAgentServerWorkingDir: vi.fn(() => "/workspace/project/agent-server-gui"),+ getAgentServerWorkingDir: vi.fn(() => "/workspace/project/agent-canvas"),buildConversationWorkingDir: vi.fn((id: string) => `/state/workspaces/${id.replace(/-/g, "")}`,),@@ -73,7 +73,7 @@ describe("V1ConversationService", () => {created_at: "2024-01-01",updated_at: "2024-01-01",workspace: {- working_dir: "/workspace/project/agent-server-gui/conv-123",+ working_dir: "/workspace/project/agent-canvas/conv-123",},},],@@ -90,7 +90,7 @@ describe("V1ConversationService", () => {"/api/file/download",expect.objectContaining({params: {- path: "/workspace/project/agent-server-gui/conv-123/.agents_tmp/PLAN.md",+ path: "/workspace/project/agent-canvas/conv-123/.agents_tmp/PLAN.md",},responseType: "arrayBuffer",}),diff --git a/__tests__/fixtures/library-consumer-smoke.tsx b/__tests__/fixtures/library-consumer-smoke.tsxindex a368c2f6b9..a74d580ac4 100644--- a/__tests__/fixtures/library-consumer-smoke.tsx+++ b/__tests__/fixtures/library-consumer-smoke.tsx@@ -4,9 +4,9 @@ import {ConversationView,SettingsPanel,TerminalPanel,-} from "@openhands/agent-server-gui";-import { LLMSettings } from "@openhands/agent-server-gui/settings";-import { Sidebar } from "@openhands/agent-server-gui/sidebar";+} from "@openhands/agent-canvas";+import { LLMSettings } from "@openhands/agent-canvas/settings";+import { Sidebar } from "@openhands/agent-canvas/sidebar";export function SmokeImportConsumer() {return (diff --git a/__tests__/package-library.test.ts b/__tests__/package-library.test.tsindex 1e29aa2481..8db4b2748a 100644--- a/__tests__/package-library.test.ts+++ b/__tests__/package-library.test.ts@@ -14,8 +14,8 @@ const packageJson = JSON.parse(};describe("package library metadata", () => {- it("publishes the agent-server-gui package entrypoints", () => {- expect(packageJson.name).toBe("@openhands/agent-server-gui");+ it("publishes the agent-canvas package entrypoints", () => {+ expect(packageJson.name).toBe("@openhands/agent-canvas");expect(packageJson.main).toBe("./dist/index.cjs");expect(packageJson.module).toBe("./dist/index.js");expect(packageJson.types).toBe("./dist/index.d.ts");diff --git a/__tests__/root.test.tsx b/__tests__/root.test.tsxindex 99ed3003db..10e118a92c 100644--- a/__tests__/root.test.tsx+++ b/__tests__/root.test.tsx@@ -11,7 +11,7 @@ const TRANSLATIONS: Record<string, string> = {"SETTINGS$AGENT_SERVER_UPGRADE_TITLE": "Update your agent server","SETTINGS$AGENT_SERVER_UPGRADE_EYEBROW": "Upgrade required","SETTINGS$AGENT_SERVER_UPGRADE_DESCRIPTION":- "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",+ "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.","SETTINGS$AGENT_SERVER_UPGRADE_STATUS_TITLE":"The connected server is too old","SETTINGS$AGENT_SERVER_UPGRADE_STATUS_MESSAGE":@@ -19,11 +19,11 @@ const TRANSLATIONS: Record<string, string> = {"SETTINGS$AGENT_SERVER_ONBOARDING_EYEBROW": "Get started","SETTINGS$AGENT_SERVER_ONBOARDING_TITLE": "Connect to your agent server","SETTINGS$AGENT_SERVER_ONBOARDING_DESCRIPTION":- "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.","SETTINGS$AGENT_SERVER_UNAVAILABLE_STATUS_TITLE":"We couldn't reach the configured server","SETTINGS$AGENT_SERVER_UNAVAILABLE_STATUS_MESSAGE":- "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",+ "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.","SETTINGS$AGENT_SERVER_UNKNOWN_VERSION_STATUS_TITLE":"We couldn't confirm the server version","SETTINGS$AGENT_SERVER_UNKNOWN_VERSION_STATUS_MESSAGE":@@ -36,7 +36,7 @@ const TRANSLATIONS: Record<string, string> = {"SETTINGS$AGENT_SERVER_DETAILS_LABEL": "Details: {{details}}","SETTINGS$AGENT_SERVER_CONNECTION_DETAILS_TITLE": "Connection details","SETTINGS$AGENT_SERVER_CONNECTION_DETAILS_DESCRIPTION":- "Paste the agent server URL and optional session API key that this GUI should use.",+ "Paste the agent server URL and optional session API key that Agent Canvas should use.","SETTINGS$AGENT_SERVER_URL": "Agent server URL","SETTINGS$AGENT_SERVER_URL_PLACEHOLDER": "https://agent.example.com","SETTINGS$AGENT_SERVER_API_KEY": "Session API key",@@ -49,11 +49,11 @@ const TRANSLATIONS: Record<string, string> = {"SETTINGS$AGENT_SERVER_STEP_LABEL": "Step {{step}}","SETTINGS$AGENT_SERVER_STEP_UPGRADE_TITLE": "Upgrade to {{minimumVersion}}+","SETTINGS$AGENT_SERVER_STEP_UPGRADE_DESCRIPTION":- "Update the connected agent server so it exposes the APIs this GUI expects.",+ "Update the connected agent server so it exposes the APIs Agent Canvas expects.","SETTINGS$AGENT_SERVER_STEP_URL_TITLE": "Enter its URL","SETTINGS$AGENT_SERVER_STEP_URL_DESCRIPTION":"Use the address where this browser can reach the server, such as https://agent.example.com.",- "SETTINGS$AGENT_SERVER_STEP_RECONNECT_TITLE": "Reconnect the GUI",+ "SETTINGS$AGENT_SERVER_STEP_RECONNECT_TITLE": "Reconnect Agent Canvas","SETTINGS$AGENT_SERVER_STEP_RECONNECT_DESCRIPTION":"Retry once the server is upgraded, or point this browser at a newer deployment.","SETTINGS$AGENT_SERVER_STEP_START_TITLE": "Start a compatible server",@@ -165,7 +165,7 @@ describe("App root compatibility guard", () => {).toBeInTheDocument();expect(screen.getByRole("link", { name: /setup instructions/i }),- ).toHaveAttribute("href", "https://github.com/OpenHands/agent-server-gui");+ ).toHaveAttribute("href", "https://github.com/OpenHands/agent-canvas");expect(screen.queryByText(/step 1/i)).not.toBeInTheDocument();expect(screen.queryByRole("link", { name: /open full settings page/i }),diff --git a/__tests__/routes/agent-server-settings.test.tsx b/__tests__/routes/agent-server-settings.test.tsxindex d050fc2ae5..933bda1b7c 100644--- a/__tests__/routes/agent-server-settings.test.tsx+++ b/__tests__/routes/agent-server-settings.test.tsx@@ -8,10 +8,10 @@ const TRANSLATIONS: Record<string, string> = {"SETTINGS$AGENT_SERVER_ONBOARDING_EYEBROW": "Get started","SETTINGS$AGENT_SERVER_SETTINGS_TITLE": "Agent server connection","SETTINGS$AGENT_SERVER_DESCRIPTION":- "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.","SETTINGS$AGENT_SERVER_CONNECTION_DETAILS_TITLE": "Connection details","SETTINGS$AGENT_SERVER_CONNECTION_DETAILS_DESCRIPTION":- "Paste the agent server URL and optional session API key that this GUI should use.",+ "Paste the agent server URL and optional session API key that Agent Canvas should use.","SETTINGS$AGENT_SERVER_URL": "Agent server URL","SETTINGS$AGENT_SERVER_URL_PLACEHOLDER": "https://agent.example.com","SETTINGS$AGENT_SERVER_API_KEY": "Session API key",diff --git a/__tests__/scripts/dev-safe.test.ts b/__tests__/scripts/dev-safe.test.tsindex c6fbf7efcf..d35db70d4f 100644--- a/__tests__/scripts/dev-safe.test.ts+++ b/__tests__/scripts/dev-safe.test.ts@@ -21,14 +21,14 @@ const repoRoot = path.resolve(describe("formatMissingUvxGuidance", () => {it("includes install, PATH, README, and fallback workflow hints", () => {const guidance = formatMissingUvxGuidance(- "/workspace/project/agent-server-gui",+ "/workspace/project/agent-canvas",);expect(guidance).toContain("curl -LsSf https://astral.sh/uv/install.sh | sh");expect(guidance).toContain('export PATH="$HOME/.local/bin:$PATH"');expect(guidance).toContain("command -v uvx");expect(guidance).toContain(- path.join("/workspace/project/agent-server-gui", "README.md"),+ path.join("/workspace/project/agent-canvas", "README.md"),);expect(guidance).toContain("https://docs.astral.sh/uv/getting-started/installation/",@@ -122,7 +122,7 @@ describe("buildAgentServerCommand", () => {describe("buildSafeDevConfig", () => {it("builds isolated default paths and ports", () => {- const cwd = "/workspace/project/agent-server-gui";+ const cwd = "/workspace/project/agent-canvas";const config = buildSafeDevConfig(cwd, {});@@ -132,7 +132,7 @@ describe("buildSafeDevConfig", () => {expect(config.backendHost).toBe("127.0.0.1:18000");expect(config.workingDir).toBe(config.workspacesPath);expect(config.stateDir).toBe(- path.join(homedir(), ".openhands", "agent-server-gui"),+ path.join(homedir(), ".openhands", "agent-canvas"),);expect(config.tmuxTmpDir).toBe(path.join(config.stateDir, "tmux"));expect(config.conversationsPath).toBe(@@ -147,12 +147,12 @@ describe("buildSafeDevConfig", () => {});it("honors environment overrides", () => {- const cwd = "/workspace/project/agent-server-gui";+ const cwd = "/workspace/project/agent-canvas";const config = buildSafeDevConfig(cwd, {- OH_GUI_SAFE_BACKEND_PORT: "19000",- OH_GUI_SAFE_VSCODE_PORT: "19010",- OH_GUI_SAFE_STATE_DIR: ".tmp/dev-safe",+ OH_CANVAS_SAFE_BACKEND_PORT: "19000",+ OH_CANVAS_SAFE_VSCODE_PORT: "19010",+ OH_CANVAS_SAFE_STATE_DIR: ".tmp/dev-safe",VITE_WORKING_DIR: "/workspace/custom-repo",});diff --git a/__tests__/utils/get-git-path.test.ts b/__tests__/utils/get-git-path.test.tsindex cb00b4a115..a7f5bbbc1d 100644--- a/__tests__/utils/get-git-path.test.ts+++ b/__tests__/utils/get-git-path.test.ts@@ -38,9 +38,9 @@ describe("getGitPath", () => {expect(getGitPath("OpenHands/software-agent-sdk",- "/workspace/project/agent-server-gui",+ "/workspace/project/agent-canvas",),- ).toBe("/workspace/project/agent-server-gui");+ ).toBe("/workspace/project/agent-canvas");});it("ignores blank workspace paths and falls back to heuristics", () => {diff --git a/package-lock.json b/package-lock.jsonindex 557f4e6bd3..8a49bfc560 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,11 +1,11 @@{- "name": "@openhands/agent-server-gui",+ "name": "@openhands/agent-canvas","version": "1.6.0","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "@openhands/agent-server-gui",+ "name": "@openhands/agent-canvas","version": "1.6.0","license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex 08376a587d..a4e420f25a 100644--- a/package.json+++ b/package.json@@ -1,5 +1,5 @@{- "name": "@openhands/agent-server-gui",+ "name": "@openhands/agent-canvas","version": "1.6.0","license": "MIT","private": false,diff --git a/scripts/dev-safe.mjs b/scripts/dev-safe.mjsindex 81e3159b8f..8945aed1a4 100644--- a/scripts/dev-safe.mjs+++ b/scripts/dev-safe.mjs@@ -146,14 +146,17 @@ function parsePort(value, fallback) {export function buildSafeDevConfig(cwd = process.cwd(), env = process.env) {const backendPort = parsePort(- env.OH_GUI_SAFE_BACKEND_PORT,+ env.OH_CANVAS_SAFE_BACKEND_PORT,DEFAULT_BACKEND_PORT,);- const vscodePort = parsePort(env.OH_GUI_SAFE_VSCODE_PORT, backendPort + 1);+ const vscodePort = parsePort(+ env.OH_CANVAS_SAFE_VSCODE_PORT,+ backendPort + 1,+ );const stateDir = path.resolve(cwd,- env.OH_GUI_SAFE_STATE_DIR ||- path.join(homedir(), ".openhands", "agent-server-gui"),+ env.OH_CANVAS_SAFE_STATE_DIR ||+ path.join(homedir(), ".openhands", "agent-canvas"),);const conversationsPath = path.join(stateDir, "conversations");const workspacesPath = path.join(stateDir, "workspaces");diff --git a/src/i18n/translation.json b/src/i18n/translation.jsonindex f163f21bdf..5594dc8856 100644--- a/src/i18n/translation.json+++ b/src/i18n/translation.json@@ -5661,21 +5661,21 @@"ca": "Configura el nom d'usuari i el correu electrΓ²nic que OpenHands utilitza per confirmar els canvis."},"SETTINGS$AGENT_SERVER_DESCRIPTION": {- "en": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "ja": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "zh-CN": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "zh-TW": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "ko-KR": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "no": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "it": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "pt": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "es": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "ar": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "fr": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "tr": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "de": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "uk": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",- "ca": "Set the agent server URL and optional session API key that this GUI should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them."+ "en": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "ja": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "zh-CN": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "zh-TW": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "ko-KR": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "no": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "it": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "pt": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "es": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "ar": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "fr": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "tr": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "de": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "uk": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them.",+ "ca": "Set the agent server URL and optional session API key that Agent Canvas should use. Start or choose a compatible server, then save here to reconnect. Deployment defaults appear automatically until you override them."},"SETTINGS$AGENT_SERVER_URL": {"en": "Agent server URL",@@ -5780,21 +5780,21 @@"ca": "Connection details"},"SETTINGS$AGENT_SERVER_CONNECTION_DETAILS_DESCRIPTION": {- "en": "Paste the agent server URL and optional session API key that this GUI should use.",- "ja": "Paste the agent server URL and optional session API key that this GUI should use.",- "zh-CN": "Paste the agent server URL and optional session API key that this GUI should use.",- "zh-TW": "Paste the agent server URL and optional session API key that this GUI should use.",- "ko-KR": "Paste the agent server URL and optional session API key that this GUI should use.",- "no": "Paste the agent server URL and optional session API key that this GUI should use.",- "it": "Paste the agent server URL and optional session API key that this GUI should use.",- "pt": "Paste the agent server URL and optional session API key that this GUI should use.",- "es": "Paste the agent server URL and optional session API key that this GUI should use.",- "ar": "Paste the agent server URL and optional session API key that this GUI should use.",- "fr": "Paste the agent server URL and optional session API key that this GUI should use.",- "tr": "Paste the agent server URL and optional session API key that this GUI should use.",- "de": "Paste the agent server URL and optional session API key that this GUI should use.",- "uk": "Paste the agent server URL and optional session API key that this GUI should use.",- "ca": "Paste the agent server URL and optional session API key that this GUI should use."+ "en": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "ja": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "zh-CN": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "zh-TW": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "ko-KR": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "no": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "it": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "pt": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "es": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "ar": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "fr": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "tr": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "de": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "uk": "Paste the agent server URL and optional session API key that Agent Canvas should use.",+ "ca": "Paste the agent server URL and optional session API key that Agent Canvas should use."},"SETTINGS$AGENT_SERVER_RETRY_CONNECTION": {"en": "Retry connection",@@ -5950,38 +5950,38 @@"ca": "Upgrade to {{minimumVersion}}+"},"SETTINGS$AGENT_SERVER_STEP_UPGRADE_DESCRIPTION": {- "en": "Update the connected agent server so it exposes the APIs this GUI expects.",- "ja": "Update the connected agent server so it exposes the APIs this GUI expects.",- "zh-CN": "Update the connected agent server so it exposes the APIs this GUI expects.",- "zh-TW": "Update the connected agent server so it exposes the APIs this GUI expects.",- "ko-KR": "Update the connected agent server so it exposes the APIs this GUI expects.",- "no": "Update the connected agent server so it exposes the APIs this GUI expects.",- "it": "Update the connected agent server so it exposes the APIs this GUI expects.",- "pt": "Update the connected agent server so it exposes the APIs this GUI expects.",- "es": "Update the connected agent server so it exposes the APIs this GUI expects.",- "ar": "Update the connected agent server so it exposes the APIs this GUI expects.",- "fr": "Update the connected agent server so it exposes the APIs this GUI expects.",- "tr": "Update the connected agent server so it exposes the APIs this GUI expects.",- "de": "Update the connected agent server so it exposes the APIs this GUI expects.",- "uk": "Update the connected agent server so it exposes the APIs this GUI expects.",- "ca": "Update the connected agent server so it exposes the APIs this GUI expects."+ "en": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "ja": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "zh-CN": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "zh-TW": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "ko-KR": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "no": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "it": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "pt": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "es": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "ar": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "fr": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "tr": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "de": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "uk": "Update the connected agent server so it exposes the APIs Agent Canvas expects.",+ "ca": "Update the connected agent server so it exposes the APIs Agent Canvas expects."},"SETTINGS$AGENT_SERVER_STEP_RECONNECT_TITLE": {- "en": "Reconnect the GUI",- "ja": "Reconnect the GUI",- "zh-CN": "Reconnect the GUI",- "zh-TW": "Reconnect the GUI",- "ko-KR": "Reconnect the GUI",- "no": "Reconnect the GUI",- "it": "Reconnect the GUI",- "pt": "Reconnect the GUI",- "es": "Reconnect the GUI",- "ar": "Reconnect the GUI",- "fr": "Reconnect the GUI",- "tr": "Reconnect the GUI",- "de": "Reconnect the GUI",- "uk": "Reconnect the GUI",- "ca": "Reconnect the GUI"+ "en": "Reconnect Agent Canvas",+ "ja": "Reconnect Agent Canvas",+ "zh-CN": "Reconnect Agent Canvas",+ "zh-TW": "Reconnect Agent Canvas",+ "ko-KR": "Reconnect Agent Canvas",+ "no": "Reconnect Agent Canvas",+ "it": "Reconnect Agent Canvas",+ "pt": "Reconnect Agent Canvas",+ "es": "Reconnect Agent Canvas",+ "ar": "Reconnect Agent Canvas",+ "fr": "Reconnect Agent Canvas",+ "tr": "Reconnect Agent Canvas",+ "de": "Reconnect Agent Canvas",+ "uk": "Reconnect Agent Canvas",+ "ca": "Reconnect Agent Canvas"},"SETTINGS$AGENT_SERVER_STEP_RECONNECT_DESCRIPTION": {"en": "Retry once the server is upgraded, or point this browser at a newer deployment.",@@ -6035,21 +6035,21 @@"ca": "Connect to your agent server"},"SETTINGS$AGENT_SERVER_ONBOARDING_DESCRIPTION": {- "en": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "ja": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "zh-CN": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "zh-TW": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "ko-KR": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "no": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "it": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "pt": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "es": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "ar": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "fr": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "tr": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "de": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "uk": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",- "ca": "This GUI needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here."+ "en": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "ja": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "zh-CN": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "zh-TW": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "ko-KR": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "no": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "it": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "pt": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "es": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "ar": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "fr": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "tr": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "de": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "uk": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here.",+ "ca": "Agent Canvas needs an agent server before it can load conversations, tools, and settings. Start or choose a compatible server, then connect it here."},"SETTINGS$AGENT_SERVER_SETTINGS_TITLE": {"en": "Agent server connection",@@ -6086,21 +6086,21 @@"ca": "We couldn't reach the configured server"},"SETTINGS$AGENT_SERVER_UNAVAILABLE_STATUS_MESSAGE": {- "en": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "ja": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "zh-CN": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "zh-TW": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "ko-KR": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "no": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "it": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "pt": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "es": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "ar": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "fr": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "tr": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "de": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "uk": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment.",- "ca": "Check the URL, confirm the server is running, and try again. You can also point this GUI at a different deployment."+ "en": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "ja": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "zh-CN": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "zh-TW": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "ko-KR": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "no": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "it": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "pt": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "es": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "ar": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "fr": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "tr": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "de": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "uk": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment.",+ "ca": "Check the URL, confirm the server is running, and try again. You can also point Agent Canvas at a different deployment."},"SETTINGS$AGENT_SERVER_UNKNOWN_VERSION_STATUS_TITLE": {"en": "We couldn't confirm the server version",@@ -6171,21 +6171,21 @@"ca": "Update your agent server"},"SETTINGS$AGENT_SERVER_UPGRADE_DESCRIPTION": {- "en": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "ja": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "zh-CN": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "zh-TW": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "ko-KR": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "no": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "it": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "pt": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "es": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "ar": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "fr": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "tr": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "de": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "uk": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment.",- "ca": "This GUI can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point this GUI at a newer deployment."+ "en": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "ja": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "zh-CN": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "zh-TW": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "ko-KR": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "no": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "it": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "pt": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "es": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "ar": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "fr": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "tr": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "de": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "uk": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment.",+ "ca": "Agent Canvas can only connect to agent server version {{minimumVersion}} or newer. Upgrade the server or point Agent Canvas at a newer deployment."},"SETTINGS$AGENT_SERVER_UPGRADE_STATUS_TITLE": {"en": "The connected server is too old",diff --git a/src/root.tsx b/src/root.tsxindex 37c3bcf6ce..0b852da435 100644--- a/src/root.tsx+++ b/src/root.tsx@@ -138,7 +138,7 @@ function AgentServerOnboardingLayout({<p className="mt-6 max-w-3xl text-sm leading-6 text-gray-400">{t("SETTINGS$AGENT_SERVER_SETUP_GUIDE_HINT")}{" "}<a- href="https://github.com/OpenHands/agent-server-gui"+ href="https://github.com/OpenHands/agent-canvas"target="_blank"rel="noreferrer noopener"className="underline underline-offset-2 transition-colors hover:text-white"