Rename SolveCraft to SolidCraft everywhere, with compatibility shims (#389)
* WIP deep rename (not for push) * WIP2 * WIP3 * WIP4 wxs fix * rustfmt * Rename the remaining identifiers in merged crash-report code Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
27415e4dd7
commit
296683229d
464 files changed
+3408
-2956
No files matched your search
+12
-11
@@ -9,14 +9,14 @@ toolbar, palette, scripts and control channel use, and never opens a dialog.
|
||||
|
||||
```sh
|
||||
# Headless: an in-process design session, no window (CPU renders for screenshots).
|
||||
solvecraft-cli mcp
|
||||
solidcraft-cli mcp
|
||||
|
||||
# Headless, starting from a design file or a command script.
|
||||
solvecraft-cli mcp --in part.solvecraft
|
||||
solidcraft-cli mcp --in part.solidcraft
|
||||
|
||||
# Bridged to the running app, so you can watch the agent model:
|
||||
solvecraft --control 7878 &
|
||||
solvecraft-cli mcp --connect 127.0.0.1:7878
|
||||
solidcraft --control 7878 &
|
||||
solidcraft-cli mcp --connect 127.0.0.1:7878
|
||||
```
|
||||
|
||||
stdout carries only protocol messages; errors go to stderr. Bridged screenshots are written to a
|
||||
@@ -24,12 +24,13 @@ temporary file by the app and read back by the server, so both must run on the s
|
||||
|
||||
### Client configuration
|
||||
|
||||
Claude Code (project `.mcp.json`, or `claude mcp add solvecraft -- solvecraft-cli mcp`):
|
||||
Claude Code (project `.mcp.json`, or `claude mcp add solidcraft -- solidcraft-cli mcp`; a setup
|
||||
added under the previous name keeps working, see the [compatibility notes](https://github.com/bherbruck/solidcraft/blob/main/docs/compatibility.md#mcp)):
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"solvecraft": { "command": "solvecraft-cli", "args": ["mcp"] }
|
||||
"solidcraft": { "command": "solidcraft-cli", "args": ["mcp"] }
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -39,7 +40,7 @@ Claude Desktop (`claude_desktop_config.json`), bridged to a running app:
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"solvecraft": { "command": "/path/to/solvecraft-cli", "args": ["mcp", "--connect", "127.0.0.1:7878"] }
|
||||
"solidcraft": { "command": "/path/to/solidcraft-cli", "args": ["mcp", "--connect", "127.0.0.1:7878"] }
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -60,7 +61,7 @@ Claude Desktop (`claude_desktop_config.json`), bridged to a running app:
|
||||
| `undo`, `redo` | — | Undo / redo one change. |
|
||||
| `crash_reports` | `id?`, `limit?` | The crash reports on this computer, newest first; with `id`, the whole report (backtrace, command, recent commands, `design_path`/`replay_path`). See [crash-reports.md](crash-reports.md). |
|
||||
| `new_design` | `name?` | Start an empty design. |
|
||||
| `open` | `path` | Open a `.solvecraft` design, a STEP file (`.step`/`.stp`) as a new design holding its bodies (an Import base feature), or a 3MF/STL file as mesh bodies. |
|
||||
| `open` | `path` | Open a `.solidcraft` design, a STEP file (`.step`/`.stp`) as a new design holding its bodies (an Import base feature), or a 3MF/STL file as mesh bodies. |
|
||||
| `save` | `path?` | Save the design (to its current file without `path`). |
|
||||
|
||||
To change a feature after it is made, read its definition with `execute` `timeline.inspect`
|
||||
@@ -68,7 +69,7 @@ To change a feature after it is made, read its definition with `execute` `timeli
|
||||
`{"extent": {"distance": "30"}}`). The fields per feature type are listed in the book's
|
||||
*Solid features* chapter.
|
||||
|
||||
Resources: `solvecraft://design` (inspect JSON with measurements) and `solvecraft://commands`
|
||||
Resources: `solidcraft://design` (inspect JSON with measurements) and `solidcraft://commands`
|
||||
(the catalog).
|
||||
|
||||
Errors: an unknown tool or arguments that don't match the tool's schema are JSON-RPC
|
||||
@@ -83,8 +84,8 @@ the batch added to the undo history.)
|
||||
|
||||
## Demo: an enclosure built over MCP
|
||||
|
||||
`examples/demo/enclosure_mcp.py` is a small MCP client. It drives a running app (`solvecraft
|
||||
--control PORT`) through `solvecraft-cli mcp --connect` and builds an electronics enclosure one
|
||||
`examples/demo/enclosure_mcp.py` is a small MCP client. It drives a running app (`solidcraft
|
||||
--control PORT`) through `solidcraft-cli mcp --connect` and builds an electronics enclosure one
|
||||
`execute` call at a time (`enclosure_steps.json`): a rounded box, shelled open at the top, a
|
||||
USB port cut through a side wall, four screw bosses, and then a change of the `width`
|
||||
parameter that the timeline rebuilds. `examples/demo/record.sh` records the run with ffmpeg,
|
||||
|
||||
Reference in new issue
Block a user