Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Merge commit 'f93b2b38' into feat/mcp-live
islandmed4f84d01466a7
diff --cc CMakeLists.txtindex 83b08de2,10b573d2..86e79a2b--- a/CMakeLists.txt+++ b/CMakeLists.txt@@@ -430,7 -427,7 +430,8 @@@ if(SCULPTFORGE_BUILD_APPsrc/app/PanelSupport.cppsrc/app/QuickTour.cppsrc/app/PanelAi.cpp+ src/app/PanelAiLink.cpp+ src/app/PanelConnectAi.cppsrc/app/PanelSupportCard.cppsrc/app/PanelIntegrations.cppsrc/app/WhatsNewPopup.cppdiff --cc docs/guide/scripting.mdindex f2e07694,efa12dc4..5b60dfa8--- a/docs/guide/scripting.md+++ b/docs/guide/scripting.md@@@ -265,44 -304,126 +304,158 @@@ It carries its own copy of `sculptforge}```- Then ask for something like "make a sphere, remesh it at 128 and export it to ~/Desktop/ball.glb". File paths- are on your machine. The agent works headless; to see the result, open the exported file in SculptForge.+ ### Every other tool++ Most tools take the same `mcpServers` entry as Claude Desktop above. Each row links the vendor's page the format is+ from.++ | Tool | Set up |+ |---|---|+ | [Cursor](https://cursor.com/docs/context/mcp) | the `mcpServers` entry in `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project) |+ | [VS Code (Copilot agent mode)](https://code.visualstudio.com/docs/agent-customization/mcp-servers) | `code --add-mcp '{"name":"sculptforge","type":"stdio","command":"/path/to/sculptforge-cli","args":["--mcp"]}'`, or **MCP: Open User Configuration** and add `"servers": {"sculptforge": {"type": "stdio", "command": "...", "args": ["--mcp"]}}` |+ | [Visual Studio](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers) | the same `servers` entry in `%USERPROFILE%\.mcp.json`; Copilot Chat in Agent mode |+ | [JetBrains AI Assistant](https://www.jetbrains.com/help/ai-assistant/mcp.html) | **Settings > Tools > AI Assistant > Model Context Protocol (MCP)**: Add, STDIO, paste the `mcpServers` entry |+ | [Zed](https://zed.dev/docs/ai/mcp) | in its settings file (`zed: open settings file`): `"context_servers": {"sculptforge": {"command": "...", "args": ["--mcp"]}}` |+ | [Windsurf (Devin Local)](https://docs.devin.ai/cli/extensibility/mcp/configuration) | `devin mcp add -s user sculptforge -- /path/to/sculptforge-cli --mcp`, or the `mcpServers` entry in `~/.config/devin/mcp_config.json` (Windows `%APPDATA%\devin\`) |+ | [Gemini CLI](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md) | `gemini mcp add --scope user sculptforge /path/to/sculptforge-cli --mcp` |+ | [Antigravity CLI](https://antigravity.google/docs/mcp/) | the `mcpServers` entry in `~/.gemini/config/mcp_config.json` |+ | [Codex CLI](https://learn.chatgpt.com/docs/extend/mcp) | `codex mcp add ...` as above, or in `~/.codex/config.toml`: `[mcp_servers.sculptforge]`, `command = "/path/to/sculptforge-cli"`, `args = ["--mcp"]` |+ | [Grok Build](https://docs.x.ai/build/features/mcp-servers) | `grok mcp add ...` as above, or the same TOML table in `~/.grok/config.toml` |+ | [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers) | `copilot mcp add sculptforge -- /path/to/sculptforge-cli --mcp` |+ | [Cline](https://docs.cline.bot/mcp/configuring-mcp-servers) | `cline mcp add sculptforge --yes -- /path/to/sculptforge-cli --mcp`, or the `mcpServers` entry under **MCP Servers > Configure** |+ | [Continue](https://docs.continue.dev/customize/deep-dives/mcp) | a file in `.continue/mcpServers/` with `mcpServers:` `- name: SculptForge`, `type: stdio`, `command: ...`, `args: ["--mcp"]` (agent mode) |+ | [Kiro](https://kiro.dev/docs/mcp/configuration/) | the `mcpServers` entry in `~/.kiro/settings/mcp.json` |+ | [Amazon Q Developer CLI](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-config-CLI.html) | `q mcp add --name sculptforge --command /path/to/sculptforge-cli --args '["--mcp"]'` |+ | [Warp](https://docs.warp.dev/knowledge-and-collaboration/mcp) | **Settings > Agents > MCP servers > Add**, paste the `mcpServers` entry |+ | [Goose](https://goose-docs.ai/docs/getting-started/using-extensions) | `goose configure` > Add Extension > Command-Line Extension, or in `~/.config/goose/config.yaml` under `extensions:` an entry with `type: stdio`, `cmd: ...`, `args: ["--mcp"]` |+ | [opencode](https://opencode.ai/docs/mcp-servers/) | in `opencode.json`: `"mcp": {"sculptforge": {"type": "local", "command": ["/path/to/sculptforge-cli", "--mcp"]}}` |+ | [Rovo Dev CLI](https://support.atlassian.com/rovo/docs/connect-to-an-mcp-server-in-rovo-dev-cli/) | the `mcpServers` entry plus `"transport": "stdio"` in `~/.rovodev/mcp.json` (`acli rovodev mcp` opens it) |+ | [LM Studio](https://lmstudio.ai/docs/app/mcp) | **Program** tab > **Install > Edit mcp.json**, paste the `mcpServers` entry |+ | [Jan](https://docs.jan.ai/desktop/mcp) | **Settings > MCP Servers > +**: command `/path/to/sculptforge-cli`, arguments `--mcp` |++ Remote only, so not for SculptForge: the ChatGPT app, the Grok app, and Rovo in Atlassian's web apps (public HTTPS+ servers added by an admin; use Rovo Dev CLI). The OpenAI and xAI APIs' built-in MCP tools also reach only remote+ servers: use the Agents SDK or plain function calling below.++ ### Using it++ Ask for something like "make a sphere, remesh it at 128 and export it to ~/Desktop/ball.glb". File paths are on your+ machine. The agent works headless on its own scene; to see the result, open the exported file in SculptForge.++ - **viewport_image** gives the agent a picture of the scene (a clay-shaded view of the visible Parts, any angle) to+ check each step by eye. Every tool call is one undo step, so the agent can take back what went wrong.+ - **Recipes**: the server offers ready-made prompts that walk an agent through a whole job. In Claude Desktop and+ other tools that show MCP prompts, pick one from the prompt menu: a creature head from a description, a stylised+ bust from a reference image, a game-ready asset (retopology, UVs, baked maps and LODs for Unreal or Godot),+ rock variations, and a step-by-step lesson.++ ### Your own agent++ The [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/mcp/) starts the server itself:++ ```python+ import asyncio+ from agents import Agent, Runner+ from agents.mcp import MCPServerStdio++ async def main():+ async with MCPServerStdio(name="SculptForge", client_session_timeout_seconds=60,+ params={"command": "/path/to/sculptforge-cli", "args": ["--mcp"]}) as sf:+ agent = Agent(name="Sculptor", instructions="Use SculptForge's tools.", mcp_servers=[sf])+ print((await Runner.run(agent, "Make a sphere, remesh it at 128 and export ball.glb")).final_output)++ asyncio.run(main())+ ```++ For plain function calling with any model API, `sculptforge-cli --schema` prints every tool as JSON+ (`name`, `description`, `input_schema`: the Claude API takes it as it is). APIs limit how many tools one request+ may carry, so pick the ones the job needs. This helper turns them into function definitions and runs each call in+ one SculptForge session (through `--mcp`, so the scene is kept between calls):++ ```python+ # sf_tools.py+ import json, subprocess+ CLI = "/path/to/sculptforge-cli"+ WANTED = {"new_sphere", "remesh", "subdivide", "stroke", "decimate", "mesh_info", "export_glb", "undo"}+ TOOLS = [{"type": "function", "name": t["name"], "description": t["description"], "parameters": t["input_schema"]}+ for t in json.loads(subprocess.run([CLI, "--schema"], capture_output=True, text=True).stdout)+ if t["name"] in WANTED]+ _sf = subprocess.Popen([CLI, "--mcp"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)+ def call(name, arguments):+ _sf.stdin.write(json.dumps({"jsonrpc": "2.0", "id": 1, "method": "tools/call",+ "params": {"name": name, "arguments": arguments}}) + "\n")+ _sf.stdin.flush()+ return json.loads(_sf.stdout.readline())["result"]["content"][0]["text"]+ ```++ [OpenAI API](https://developers.openai.com/api/docs/guides/function-calling) (Responses API). For the+ [xAI API](https://docs.x.ai/docs/guides/function-calling) use the same code with+ `OpenAI(api_key=os.environ["XAI_API_KEY"], base_url="https://api.x.ai/v1")` and a Grok model:++ ```python+ import json+ from openai import OpenAI+ from sf_tools import TOOLS, call+ client = OpenAI()+ items = [{"role": "user", "content": "Make a sphere, remesh it at 128 and export it to ball.glb"}]+ while True:+ r = client.responses.create(model="gpt-6-astra", tools=TOOLS, input=items)+ items += r.output+ calls = [i for i in r.output if i.type == "function_call"]+ if not calls: break+ items += [{"type": "function_call_output", "call_id": c.call_id,+ "output": call(c.name, json.loads(c.arguments))} for c in calls]+ print(r.output_text)+ ```++ [Gemini API](https://aistudio.google.com/docs/function-calling) (the `google-genai` package):++ ```python+ from google import genai+ from sf_tools import TOOLS, call+ client = genai.Client()+ interaction = client.interactions.create(model="gemini-3.8-flash", tools=TOOLS,+ input="Make a sphere, remesh it at 128 and export it to ball.glb")+ for step in interaction.steps:+ if step.type == "function_call":+ print(step.name, call(step.name, step.arguments))+ # Send each result back as Google's guide shows to let the model continue.+ ```- `sculptforge-cli --schema` prints the same tool definitions as JSON, for wiring SculptForge into your own- agent.+ Never point a tool at a web app's session or cookies: use each vendor's own app, CLI or API as above.+### Live mode: an AI tool sculpts in the open window++Turn on **Edit > Preferences > AI > Let AI tools control this window** (off by default, and gone while AI features+are off), then add the attach server to your AI tool:++```sh+claude mcp add sculptforge-live -- /path/to/sculptforge-cli --mcp --attach+```++Ask it to connect ("connect to SculptForge and block out a dragon head"). SculptForge shows **Let an AI tool control+this window?** with a 6-digit code: click **Approve**, or read the code to the AI tool. The approval lasts until it+disconnects. While it works:++- an **AI connected** badge sits at the bottom right of the canvas, with **Disconnect** (also in the command palette:+ *Disconnect AI tool*). Turning the switch or AI features off disconnects it too;+- every step it takes is in the undo history, labelled **AI:**, so you can step back through its work;+- it asks first (**Allow this AI step?**) before reading or writing files outside the project folder and the files+ you picked, overwriting a file, saving over the project, deleting library files, running a macro or script, or+ anything that uses the network (Generate 3D, AI Brush, the brush gallery). Deny and it is told not to retry.+ Installing or switching packs and the AI switch itself are never offered;+- it can see: `viewport_image` returns the viewport as you see it, `view_turntable` the model from 4 to 8 sides in one+ picture, `view_set` turns and frames your camera, and `stroke_screen` draws a brush stroke in screen space. With+ `blockout` (a Forge Sphere armature in one call), `measure` and `scene_overview` it can look, think and correct.+ What it sees goes to that tool's AI service, as anything you show it does.++The recipes your AI tool lists as prompts (creature head, stylised bust, game-ready, rock variations, teach me) work+in live mode too.++How it is kept safe: the connection is a Unix socket (owner-only, in your runtime folder) or, on Windows, a named+pipe only your user account can open; there is no network port. Only one AI tool can be connected at a time,+requests are rate limited, and what the tool sends is data: tool names and values, never code to run.+## See also- [The interface](interface.md): the command palette and Ctrl-hover helpdiff --cc src/app/App.cppindex c1df70ab,db375f1c..3c15e786--- a/src/app/App.cpp+++ b/src/app/App.cpp@@@ -2937,7 -2934,7 +2937,8 @@@ void App::drawUi()guide_.draw(*this); // Help > User GuidedrawPacksUi(); // pack review, New Pack, macro confirmation and editor (PanelPacks.cpp)drawMemoryConfirm(); // "Not enough free memory" before a big mesh (MemoryConfirm.cpp)+ drawAiLink(); // live mode: Approve / Allow dialogs, the "AI connected" badge (PanelAiLink.cpp)+ drawConnectAi(); // Help > Connect an AI tool (PanelConnectAi.cpp)drawHelpConsoleUi(); // console, command palette, Controls (F1), Ctrl-hover help: last, on topdrawWhatsNew(); // What's New after an update or from the Help menu (WhatsNewPopup.cpp)drawSupportCard(); // the support card at launch, over everything (PanelSupportCard.cpp)diff --cc src/app/I18nSpanish.cppindex 09ff09c7,c308513c..528ea4de--- a/src/app/I18nSpanish.cpp+++ b/src/app/I18nSpanish.cpp@@@ -3518,35 -3518,100 +3518,129 @@@ constexpr Entry kSpanish[] ={"Stamp rotation", "Rotación del sello"},{"Vector displacement", "Desplazamiento vectorial"},{"World Size", "Tamaño en el mundo"},+ // Live mode (PanelAiLink.cpp)+ {"\"%s\" on this computer asks to sculpt in this window.", "«%s», en este equipo, pide esculpir en esta ventana."},+ {"%d steps", "%d pasos"},+ {"%s wants to run:", "%s quiere ejecutar:"},+ {"AI connected: ", "IA conectada: "},+ {"AI connected: %s", "IA conectada: %s"},+ {"AI connection declined", "Conexión de IA rechazada"},+ {"AI connection request timed out", "La solicitud de conexión de IA ha caducado"},+ {"AI step declined", "Paso de IA rechazado"},+ {"AI tool disconnected", "Herramienta de IA desconectada"},+ {"AI tools can ask to control this window (Preferences > AI)", "Las herramientas de IA pueden pedir controlar esta ventana (Preferencias > IA)"},+ {"AI tools can't control this window", "Las herramientas de IA no pueden controlar esta ventana"},+ {"Allow once", "Permitir una vez"},+ {"Allow this AI step?", "¿Permitir este paso de IA?"},+ {"An AI tool on this computer (sculptforge-cli --mcp --attach) can ask to sculpt here while you watch. You approve each connection; it can see the viewport, and what it sees goes to that tool's AI service. Files outside the project, scripts and the network ask you first. Nothing listens on the network.", "Una herramienta de IA de este equipo (sculptforge-cli --mcp --attach) puede pedir esculpir aquí mientras miras. Apruebas cada conexión; puede ver el visor, y lo que ve va al servicio de IA de esa herramienta. Los archivos fuera del proyecto, los scripts y la red te preguntan antes. Nada escucha en la red."},+ {"Approve", "Aprobar"},+ {"Click Approve, or tell your AI tool this code. Approval lasts until it disconnects.", "Pulsa Aprobar o dile este código a tu herramienta de IA. La aprobación dura hasta que se desconecte."},+ {"Code", "Código"},+ {"Deny", "Denegar"},+ {"Disconnect AI tool", "Desconectar herramienta de IA"},+ {"Disconnect", "Desconectar"},+ {"It can run SculptForge's commands and see the viewport; what it sees goes to that tool's AI service. Every step is in Undo. Files outside the project, scripts and the network ask you first.", "Puede ejecutar los comandos de SculptForge y ver el visor; lo que ve va al servicio de IA de esa herramienta. Cada paso queda en Deshacer. Los archivos fuera del proyecto, los scripts y la red te preguntan antes."},+ {"Let AI tools control this window", "Permitir que herramientas de IA controlen esta ventana"},+ {"Let an AI tool control this window?", "¿Permitir que una herramienta de IA controle esta ventana?"},+ {"Live mode can't start: ", "El modo en vivo no puede iniciarse: "},+ {"Live mode: an AI tool on this computer (sculptforge-cli --mcp --attach) can ask to sculpt in this window while you watch. You approve each connection; files outside the project, scripts and the network ask first. Nothing listens on the network.", "Modo en vivo: una herramienta de IA de este equipo (sculptforge-cli --mcp --attach) puede pedir esculpir en esta ventana mientras miras. Apruebas cada conexión; los archivos fuera del proyecto, los scripts y la red preguntan antes. Nada escucha en la red."},+ {"Stop the AI tool controlling this window now (its steps stay in Undo).", "Detener ahora la herramienta de IA que controla esta ventana (sus pasos quedan en Deshacer)."},+ {"Stop the AI tool now. Its steps stay in Undo.", "Detener ahora la herramienta de IA. Sus pasos quedan en Deshacer."},+ {"Your AI tool asks: ", "Tu herramienta de IA pide: "},++ // --- Help > Connect an AI tool (PanelConnectAi.cpp, ConnectAi.cpp) ---+ {"Add to Cursor's global MCP file (or .cursor/mcp.json in a project).",+ "Añádelo al archivo MCP global de Cursor (o a .cursor/mcp.json en un proyecto)."},+ {"Add to Kiro's user MCP file.",+ "Añádelo al archivo MCP de usuario de Kiro."},+ {"Add to Rovo Dev's MCP file (acli rovodev mcp opens it).",+ "Añádelo al archivo MCP de Rovo Dev (acli rovodev mcp lo abre)."},+ {"Add to Zed's settings file (command palette: zed: open settings file).",+ "Añádelo al archivo de ajustes de Zed (paleta de comandos: zed: open settings file)."},+ {"Add to opencode.json.",+ "Añádelo a opencode.json."},+ {"Add to the global MCP file, then use it from Copilot Chat in Agent mode.",+ "Añádelo al archivo MCP global y úsalo desde Copilot Chat en modo Agent."},+ {"Add to:",+ "Añadir a:"},+ {"Add under extensions in Goose's configuration file (or goose configure > Add Extension > Command-Line Extension).",+ "Añádelo en extensions del archivo de configuración de Goose (o goose configure > Add Extension > Command-Line Extension)."},+ {"Claude Code uses your Pro, Max or Ultra plan when you sign in with your Claude account. If ANTHROPIC_API_KEY is set, it uses that key and API billing instead.",+ "Claude Code usa tu plan Pro, Max o Ultra cuando inicias sesión con tu cuenta de Claude. Si ANTHROPIC_API_KEY está definida, usa esa clave y se factura como API."},+ {"Claude on the web and on phones can't start programs on your computer: use Claude Desktop or Claude Code.",+ "Claude en la web y en el móvil no puede iniciar programas en tu ordenador: usa Claude Desktop o Claude Code."},+ {"Connect an AI tool",+ "Conectar una herramienta de IA"},+ {"Connect an AI tool...",+ "Conectar una herramienta de IA..."},+ {"Copied to the clipboard",+ "Copiado al portapapeles"},+ {"Download the Claude Desktop bundle",+ "Descargar el paquete para Claude Desktop"},+ {"Fields:",+ "Campos:"},+ {"For Gemini Code Assist Standard or Enterprise, or a Gemini API key. Run once in a terminal.",+ "Para Gemini Code Assist Standard o Enterprise, o una clave de la API de Gemini. Ejecútalo una vez en una terminal."},+ {"Google's CLI for personal Google accounts (free, Google AI Pro and Ultra). Add this to its MCP file, then sign in with Google.",+ "La CLI de Google para cuentas personales de Google (gratis, Google AI Pro y Ultra). Añade esto a su archivo MCP e inicia sesión con Google."},+ {"I have a subscription to",+ "Tengo una suscripción a"},+ {"In a terminal:",+ "En una terminal:"},+ {"Let an AI assistant use SculptForge's tools: it starts sculptforge-cli on this computer and talks to it directly. Nothing listens on the network. The assistant works on its own scene and saves files where you ask; open them here to see the result.",+ "Deja que un asistente de IA use las herramientas de SculptForge: inicia sculptforge-cli en este ordenador y habla con él directamente. Nada escucha en la red. El asistente trabaja en su propia escena y guarda los archivos donde le pidas; ábrelos aquí para ver el resultado."},+ {"Download the bundle for your system and install it in Claude Desktop under Settings > Extensions > Advanced settings. Or add SculptForge to its configuration file and restart it.",+ "Descarga el paquete para tu sistema e instálalo en Claude Desktop en Settings > Extensions > Advanced settings. O añade SculptForge a su archivo de configuración y reinícialo."},+ {"Other tools",+ "Otras herramientas"},+ {"Program tab > Install > Edit mcp.json, then paste this.",+ "Pestaña Program > Install > Edit mcp.json, y pega esto."},+ {"Rovo in Atlassian's web apps only takes public HTTPS servers added by an admin: use Rovo Dev CLI.",+ "Rovo en las aplicaciones web de Atlassian solo acepta servidores HTTPS públicos añadidos por un administrador: usa Rovo Dev CLI."},+ {"Run once in a terminal (Cline CLI), or paste into Cline's MCP settings (MCP Servers > Configure).",+ "Ejecútalo una vez en una terminal (Cline CLI), o pégalo en los ajustes MCP de Cline (MCP Servers > Configure)."},+ {"Run once in a terminal, or add to the user MCP file.",+ "Ejecútalo una vez en una terminal, o añádelo al archivo MCP de usuario."},+ {"Run once in a terminal, or open the command MCP: Open User Configuration and add the entry.",+ "Ejecútalo una vez en una terminal, o abre el comando MCP: Open User Configuration y añade la entrada."},+ {"Run once in a terminal, then choose Sign in with ChatGPT when Codex starts.",+ "Ejecútalo una vez en una terminal y elige Sign in with ChatGPT cuando Codex se inicie."},+ {"Run once in a terminal.",+ "Ejecútalo una vez en una terminal."},+ {"Run once in a terminal; it signs in with your Claude plan.",+ "Ejecútalo una vez en una terminal; inicia sesión con tu plan de Claude."},+ {"Save as a file in your workspace's .continue/mcpServers folder; tools work in agent mode.",+ "Guárdalo como archivo en la carpeta .continue/mcpServers de tu espacio de trabajo; las herramientas funcionan en modo agent."},+ {"Settings > Agents > MCP servers > Add, then paste this.",+ "Settings > Agents > MCP servers > Add, y pega esto."},+ {"Settings > MCP Servers > +, then fill in these fields.",+ "Settings > MCP Servers > +, y rellena estos campos."},+ {"Settings > Tools > AI Assistant > Model Context Protocol (MCP): Add, choose STDIO and paste this.",+ "Settings > Tools > AI Assistant > Model Context Protocol (MCP): Add, elige STDIO y pega esto."},+ {"Since June 2026 personal Google accounts (free, Google AI Pro, Google AI Ultra) use Antigravity CLI; Gemini CLI is for Gemini Code Assist and API keys.",+ "Desde junio de 2026 las cuentas personales de Google (gratis, Google AI Pro, Google AI Ultra) usan Antigravity CLI; Gemini CLI es para Gemini Code Assist y claves de API."},+ {"The ChatGPT app only connects to remote (HTTPS) servers, and SculptForge doesn't run one: nothing of yours listens on the network. Codex CLI runs on your computer and signs in with your ChatGPT plan.",+ "La aplicación de ChatGPT solo se conecta a servidores remotos (HTTPS), y SculptForge no ejecuta ninguno: nada tuyo escucha en la red. Codex CLI se ejecuta en tu ordenador e inicia sesión con tu plan de ChatGPT."},+ {"The Grok app (web, phone, X) can't reach programs on your computer, only public HTTPS servers: use Grok Build. xAI's documentation doesn't say which plans Grok Build's sign-in includes; it also takes an xAI API key.",+ "La aplicación de Grok (web, móvil, X) no llega a los programas de tu ordenador, solo a servidores HTTPS públicos: usa Grok Build. La documentación de xAI no dice qué planes incluye el inicio de sesión de Grok Build; también acepta una clave de la API de xAI."},+ {"Their documentation",+ "Su documentación"},+ {"This install:",+ "Esta instalación:"},+ {"Turn this off in Preferences > AI.",+ "Desactívalo en Preferencias > IA."},+ {"Use SculptForge from Claude, ChatGPT (Codex), Gemini, Grok, Cursor, VS Code and other AI tools: the exact command or settings for this install, with Copy buttons. The tool starts SculptForge on this computer; nothing listens on the network.",+ "Usa SculptForge desde Claude, ChatGPT (Codex), Gemini, Grok, Cursor, VS Code y otras herramientas de IA: el comando o los ajustes exactos para esta instalación, con botones Copiar. La herramienta inicia SculptForge en este ordenador; nada escucha en la red."},+ {"User guide: AI agents",+ "Guía del usuario: agentes de IA"},+ {"Your own agent in Python (uses the OpenAI API with an API key).",+ "Tu propio agente en Python (usa la API de OpenAI con una clave de API)."},+ {"Your own code with the OpenAI, Gemini or xAI API: sculptforge-cli --schema prints every tool as JSON (examples in the user guide, Scripting > AI agents).",+ "Tu propio código con la API de OpenAI, Gemini o xAI: sculptforge-cli --schema imprime cada herramienta como JSON (ejemplos en la guía del usuario, Scripting > AI agents)."},+ {"Your own code with the xAI API: sculptforge-cli --schema gives the tool definitions (examples in the user guide, Scripting > AI agents). API usage is billed by xAI.",+ "Tu propio código con la API de xAI: sculptforge-cli --schema da las definiciones de las herramientas (ejemplos en la guía del usuario, Scripting > AI agents). xAI factura el uso de la API."},+ {"xAI's coding agent (the grok command). Run once in a terminal; it signs in with your xAI account in the browser.",+ "El agente de programación de xAI (el comando grok). Ejecútalo una vez en una terminal; inicia sesión con tu cuenta de xAI en el navegador."},};} // namespacediff --cc src/app/I18nTraditionalChinese.cppindex 770171d5,adb733ce..2077f6bc--- a/src/app/I18nTraditionalChinese.cpp+++ b/src/app/I18nTraditionalChinese.cpp@@@ -3050,35 -3050,100 +3050,129 @@@ constexpr Entry kTraditionalChinese[]{"Stamp rotation", "印章旋轉"},{"Vector displacement", "向量位移"},{"World Size", "世界尺寸"},+ // Live mode (PanelAiLink.cpp)+ {"\"%s\" on this computer asks to sculpt in this window.", "這台電腦上的「%s」要求在此視窗中雕刻。"},+ {"%d steps", "%d 個步驟"},+ {"%s wants to run:", "%s 想要執行:"},+ {"AI connected: ", "AI 已連線:"},+ {"AI connected: %s", "AI 已連線:%s"},+ {"AI connection declined", "已拒絕 AI 連線"},+ {"AI connection request timed out", "AI 連線要求已逾時"},+ {"AI step declined", "已拒絕 AI 步驟"},+ {"AI tool disconnected", "AI 工具已中斷連線"},+ {"AI tools can ask to control this window (Preferences > AI)", "AI 工具可要求控制此視窗(偏好設定 > AI)"},+ {"AI tools can't control this window", "AI 工具無法控制此視窗"},+ {"Allow once", "允許一次"},+ {"Allow this AI step?", "允許此 AI 步驟?"},+ {"An AI tool on this computer (sculptforge-cli --mcp --attach) can ask to sculpt here while you watch. You approve each connection; it can see the viewport, and what it sees goes to that tool's AI service. Files outside the project, scripts and the network ask you first. Nothing listens on the network.", "這台電腦上的 AI 工具(sculptforge-cli --mcp --attach)可要求在你觀看時於此雕刻。每次連線都需你核准;它能看到視埠,看到的內容會傳送到該工具的 AI 服務。專案外的檔案、指令碼和網路都會先詢問你。不會在網路上監聽。"},+ {"Approve", "核准"},+ {"Click Approve, or tell your AI tool this code. Approval lasts until it disconnects.", "按「核准」,或把這組代碼告訴你的 AI 工具。核准在其中斷連線前有效。"},+ {"Code", "代碼"},+ {"Deny", "拒絕"},+ {"Disconnect AI tool", "中斷 AI 工具連線"},+ {"Disconnect", "中斷連線"},+ {"It can run SculptForge's commands and see the viewport; what it sees goes to that tool's AI service. Every step is in Undo. Files outside the project, scripts and the network ask you first.", "它可以執行 SculptForge 的指令並看到視埠;看到的內容會傳送到該工具的 AI 服務。每個步驟都在「復原」中。專案外的檔案、指令碼和網路都會先詢問你。"},+ {"Let AI tools control this window", "允許 AI 工具控制此視窗"},+ {"Let an AI tool control this window?", "允許 AI 工具控制此視窗?"},+ {"Live mode can't start: ", "即時模式無法啟動:"},+ {"Live mode: an AI tool on this computer (sculptforge-cli --mcp --attach) can ask to sculpt in this window while you watch. You approve each connection; files outside the project, scripts and the network ask first. Nothing listens on the network.", "即時模式:這台電腦上的 AI 工具(sculptforge-cli --mcp --attach)可要求在你觀看時於此視窗雕刻。每次連線都需你核准;專案外的檔案、指令碼和網路會先詢問。不會在網路上監聽。"},+ {"Stop the AI tool controlling this window now (its steps stay in Undo).", "立即停止控制此視窗的 AI 工具(其步驟保留在「復原」中)。"},+ {"Stop the AI tool now. Its steps stay in Undo.", "立即停止 AI 工具。其步驟保留在「復原」中。"},+ {"Your AI tool asks: ", "你的 AI 工具要求:"},++ // --- Help > Connect an AI tool (PanelConnectAi.cpp, ConnectAi.cpp) ---+ {"Add to Cursor's global MCP file (or .cursor/mcp.json in a project).",+ "加入 Cursor 的全域 MCP 檔案(或專案中的 .cursor/mcp.json)。"},+ {"Add to Kiro's user MCP file.",+ "加入 Kiro 的使用者 MCP 檔案。"},+ {"Add to Rovo Dev's MCP file (acli rovodev mcp opens it).",+ "加入 Rovo Dev 的 MCP 檔案(acli rovodev mcp 會開啟它)。"},+ {"Add to Zed's settings file (command palette: zed: open settings file).",+ "加入 Zed 的設定檔(命令面板:zed: open settings file)。"},+ {"Add to opencode.json.",+ "加入 opencode.json。"},+ {"Add to the global MCP file, then use it from Copilot Chat in Agent mode.",+ "加入全域 MCP 檔案,然後在 Copilot Chat 的 Agent 模式中使用。"},+ {"Add to:",+ "加入:"},+ {"Add under extensions in Goose's configuration file (or goose configure > Add Extension > Command-Line Extension).",+ "加入 Goose 設定檔的 extensions 下(或 goose configure > Add Extension > Command-Line Extension)。"},+ {"Claude Code uses your Pro, Max or Ultra plan when you sign in with your Claude account. If ANTHROPIC_API_KEY is set, it uses that key and API billing instead.",+ "以 Claude 帳號登入時,Claude Code 會使用你的 Pro、Max 或 Ultra 方案。若設定了 ANTHROPIC_API_KEY,則改用該金鑰並按 API 計費。"},+ {"Claude on the web and on phones can't start programs on your computer: use Claude Desktop or Claude Code.",+ "網頁版與手機版 Claude 無法啟動你電腦上的程式:請使用 Claude Desktop 或 Claude Code。"},+ {"Connect an AI tool",+ "連接 AI 工具"},+ {"Connect an AI tool...",+ "連接 AI 工具..."},+ {"Copied to the clipboard",+ "已複製到剪貼簿"},+ {"Download the Claude Desktop bundle",+ "下載 Claude Desktop 套件"},+ {"Fields:",+ "欄位:"},+ {"For Gemini Code Assist Standard or Enterprise, or a Gemini API key. Run once in a terminal.",+ "適用於 Gemini Code Assist Standard 或 Enterprise,或 Gemini API 金鑰。在終端機執行一次。"},+ {"Google's CLI for personal Google accounts (free, Google AI Pro and Ultra). Add this to its MCP file, then sign in with Google.",+ "Google 為個人 Google 帳號(免費、Google AI Pro 與 Ultra)提供的 CLI。將此加入其 MCP 檔案,然後以 Google 登入。"},+ {"I have a subscription to",+ "我訂閱了"},+ {"In a terminal:",+ "在終端機中:"},+ {"Let an AI assistant use SculptForge's tools: it starts sculptforge-cli on this computer and talks to it directly. Nothing listens on the network. The assistant works on its own scene and saves files where you ask; open them here to see the result.",+ "讓 AI 助理使用 SculptForge 的工具:它會在這台電腦上啟動 sculptforge-cli 並直接與之溝通。沒有任何東西在網路上監聽。助理在自己的場景中工作,並把檔案存到你指定的位置;在這裡開啟即可查看結果。"},+ {"Download the bundle for your system and install it in Claude Desktop under Settings > Extensions > Advanced settings. Or add SculptForge to its configuration file and restart it.",+ "下載適合你系統的套件,並在 Claude Desktop 的 Settings > Extensions > Advanced settings 中安裝。或將 SculptForge 加入其設定檔後重新啟動。"},+ {"Other tools",+ "其他工具"},+ {"Program tab > Install > Edit mcp.json, then paste this.",+ "Program 分頁 > Install > Edit mcp.json,然後貼上這段。"},+ {"Rovo in Atlassian's web apps only takes public HTTPS servers added by an admin: use Rovo Dev CLI.",+ "Atlassian 網頁應用程式中的 Rovo 只接受由管理員加入的公開 HTTPS 伺服器:請使用 Rovo Dev CLI。"},+ {"Run once in a terminal (Cline CLI), or paste into Cline's MCP settings (MCP Servers > Configure).",+ "在終端機執行一次(Cline CLI),或貼到 Cline 的 MCP 設定(MCP Servers > Configure)。"},+ {"Run once in a terminal, or add to the user MCP file.",+ "在終端機執行一次,或加入使用者 MCP 檔案。"},+ {"Run once in a terminal, or open the command MCP: Open User Configuration and add the entry.",+ "在終端機執行一次,或開啟命令 MCP: Open User Configuration 並加入此項目。"},+ {"Run once in a terminal, then choose Sign in with ChatGPT when Codex starts.",+ "在終端機執行一次,然後在 Codex 啟動時選擇 Sign in with ChatGPT。"},+ {"Run once in a terminal.",+ "在終端機執行一次。"},+ {"Run once in a terminal; it signs in with your Claude plan.",+ "在終端機執行一次;它會以你的 Claude 方案登入。"},+ {"Save as a file in your workspace's .continue/mcpServers folder; tools work in agent mode.",+ "存成工作區 .continue/mcpServers 資料夾中的檔案;工具在 agent 模式下運作。"},+ {"Settings > Agents > MCP servers > Add, then paste this.",+ "Settings > Agents > MCP servers > Add,然後貼上這段。"},+ {"Settings > MCP Servers > +, then fill in these fields.",+ "Settings > MCP Servers > +,然後填入這些欄位。"},+ {"Settings > Tools > AI Assistant > Model Context Protocol (MCP): Add, choose STDIO and paste this.",+ "Settings > Tools > AI Assistant > Model Context Protocol (MCP):Add,選擇 STDIO 並貼上這段。"},+ {"Since June 2026 personal Google accounts (free, Google AI Pro, Google AI Ultra) use Antigravity CLI; Gemini CLI is for Gemini Code Assist and API keys.",+ "自 2026 年 6 月起,個人 Google 帳號(免費、Google AI Pro、Google AI Ultra)使用 Antigravity CLI;Gemini CLI 則用於 Gemini Code Assist 與 API 金鑰。"},+ {"The ChatGPT app only connects to remote (HTTPS) servers, and SculptForge doesn't run one: nothing of yours listens on the network. Codex CLI runs on your computer and signs in with your ChatGPT plan.",+ "ChatGPT 應用程式只連接遠端(HTTPS)伺服器,而 SculptForge 不執行這種伺服器:你的電腦上沒有任何東西在網路上監聽。Codex CLI 在你的電腦上執行,並以你的 ChatGPT 方案登入。"},+ {"The Grok app (web, phone, X) can't reach programs on your computer, only public HTTPS servers: use Grok Build. xAI's documentation doesn't say which plans Grok Build's sign-in includes; it also takes an xAI API key.",+ "Grok 應用程式(網頁、手機、X)無法連到你電腦上的程式,只能連公開的 HTTPS 伺服器:請使用 Grok Build。xAI 的文件沒有說明 Grok Build 的登入包含哪些方案;它也接受 xAI API 金鑰。"},+ {"Their documentation",+ "官方文件"},+ {"This install:",+ "此安裝:"},+ {"Turn this off in Preferences > AI.",+ "可在偏好設定 > AI 中關閉。"},+ {"Use SculptForge from Claude, ChatGPT (Codex), Gemini, Grok, Cursor, VS Code and other AI tools: the exact command or settings for this install, with Copy buttons. The tool starts SculptForge on this computer; nothing listens on the network.",+ "從 Claude、ChatGPT(Codex)、Gemini、Grok、Cursor、VS Code 等 AI 工具使用 SculptForge:此安裝的確切命令或設定,附複製按鈕。該工具會在這台電腦上啟動 SculptForge;沒有任何東西在網路上監聽。"},+ {"User guide: AI agents",+ "使用者指南:AI 代理"},+ {"Your own agent in Python (uses the OpenAI API with an API key).",+ "你自己的 Python 代理(以 API 金鑰使用 OpenAI API)。"},+ {"Your own code with the OpenAI, Gemini or xAI API: sculptforge-cli --schema prints every tool as JSON (examples in the user guide, Scripting > AI agents).",+ "以 OpenAI、Gemini 或 xAI API 撰寫你自己的程式:sculptforge-cli --schema 會把每個工具輸出為 JSON(範例見使用者指南,Scripting > AI agents)。"},+ {"Your own code with the xAI API: sculptforge-cli --schema gives the tool definitions (examples in the user guide, Scripting > AI agents). API usage is billed by xAI.",+ "以 xAI API 撰寫你自己的程式:sculptforge-cli --schema 提供工具定義(範例見使用者指南,Scripting > AI agents)。API 用量由 xAI 計費。"},+ {"xAI's coding agent (the grok command). Run once in a terminal; it signs in with your xAI account in the browser.",+ "xAI 的程式設計代理(grok 命令)。在終端機執行一次;它會在瀏覽器中以你的 xAI 帳號登入。"},};} // namespace