Desktop app for designing parametric 3D models in CadQuery together with the coding agent of your choice
TypeScript 3d-modeling3d-printing3d-printing-toolsagentagentic-aiai-cadcadcadqueryclaude-codecodexelectronfemllmmacdmakeropencodeparametric-designpythonsteptext-to-cad
Doku: Agenten-Apps (Codex-App, Claude Desktop) in README und Anleitung, Changelog
Kai-Jungsthoefela5b2797a125e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2cd8697..c893b7d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,14 @@ the version is bumped.## [Unreleased]+### Added++- The guide (F1) and the README explain how to work with an agent app such as the Codex app or Claude Desktop instead of an agent in SOMA's terminal.++### Changed++- "Send to agent" also copies its note to the clipboard, so you can paste it into an agent app outside SOMA. Without an open terminal it no longer shows an error, the note is in the clipboard.+### Security- The bundled Python environment uses Pillow 13.0.0 and aiohttp 3.14.4, which fix several reported vulnerabilities (crafted image files, HTTP server limits).diff --git a/README.md b/README.mdindex ac3a16b..b8e1f16 100644--- a/README.md+++ b/README.md@@ -36,6 +36,16 @@ Download SOMA from [somacad.app/download](https://somacad.app/download/), whichPress F1 in the app for a short guide with numbered screenshots. The agent knows the same guide, so you can also just ask it how something works.+## Agent apps (Codex app, Claude Desktop)++Instead of an agent in SOMA's terminal you can use a desktop agent app that works on a local folder and can run commands, for example the Codex app or Claude Code in Claude Desktop.++1. Open the model in SOMA and keep SOMA open.+2. Click the **+** above the terminal and choose **Copy path for agent app**. For a model you opened with **Open folder**, the path is simply that folder.+3. In the agent app, open this path as the project folder and tell the agent what you need.++The agent reads its instructions from `AGENTS.md` (Codex) or `CLAUDE.md` (Claude) in that folder. SOMA rebuilds and shows every change, as with an agent in its own terminal. If `soma` is not on the agent's PATH, it runs it through the model's environment (`.soma/env/Scripts/python -m soma build` on Windows), the skill "Shell environment" explains this to the agent. `soma render` needs SOMA running with this model open. **Send to agent** also copies its note to the clipboard: paste it into the agent app. A markup note names its picture in `.soma/feedback/`, which the agent opens itself. A chat without file access and commands does not work.+## Features- **Models as code:** Python with CadQuery, rebuilt on every changediff --git a/app/resources/skills/soma-app.md b/app/resources/skills/soma-app.mdindex e5cfe29..86003fc 100644--- a/app/resources/skills/soma-app.md+++ b/app/resources/skills/soma-app.md@@ -78,11 +78,24 @@ disappears like any new model you did not change.app, and SOMA shows its changes like those of an agent in a tab.Type your wishes into the agent and press Enter. Everything with **Send to agent** (a part, a measurement, an error,-a drawing) puts a short note into the agent's input. Add your own words, then press Enter. You can also drag a file+a drawing) puts a short note into the agent's input and copies it to the clipboard. Add your own words, then press Enter. You can also drag a filefrom Files into the terminal to name it.The agent works with your user rights. Permissions and safety settings are part of the agent, not of SOMA.+### Agent apps++A desktop agent app that works on a local folder and can run commands, such as the Codex app or Claude Code in Claude+Desktop, works instead of an agent in a tab:++1. Keep the model open in SOMA.+2. Choose **Copy path for agent app** in the menu of the **+** above the terminal. For a model opened with **Open+ folder**, the path is that folder itself.+3. Open the path as the project folder in the agent app.++**Send to agent** also copies its note to the clipboard: paste it into the agent app. A markup note names its picture in `.soma/feedback/`,+the agent opens it itself. A plain chat without access to files and commands cannot work on the model.+## Viewer