Commit Graph
232 Commits
Author SHA1 Message Date
SoftFever 75d117f669 Explain in the MCP design doc why tools have no output schema 2026-11-04 12:28:00 +08:00
SoftFever 5e5571a99f Make the MCP tool descriptions shorter and consistent, with the UI locators described once 2026-11-04 04:03:04 +08:00
SoftFever 3050fbc6a6 Tell agents what list_objects ids are for and how paged replies continue 2026-11-04 03:22:00 +08:00
SoftFever 11ec4d8970 Show agents the selection, the Python setting and the Design tab in get_state 2026-11-04 02:06:30 +08:00
SoftFever 8f61a3a34e Let agents select hidden filaments and printers by name 2026-11-04 01:43:48 +08:00
SoftFever e4ee75e749 Ask for approval only on MCP calls that delete without undo, and mark the tools that reach outside the app 2026-11-04 01:06:55 +08:00
SoftFever ec0f3d864f Tell agents which scope a setting belongs to when they name the wrong one or none 2026-11-03 23:56:08 +08:00
SoftFever f776208c94 Document the whole orca Python API and search every catalog from api_describe 2026-11-03 23:10:10 +08:00
SoftFever ee0314dee2 Merge branch 'main' into feature/mcp 2026-11-03 16:28:57 +08:00
SoftFever cc05d87607 Run Python scripts like python file.py, with the whole plugin API 2026-11-03 16:12:04 +08:00
Ian Chua fcab66ca9e fix: revert native device tab flag (#17162) 2026-11-02 22:09:49 +08:00
HanifKoh 5fb129f1f3 Read a Retyped Option From the Preset Cache as a JSON Profile Would (#17047)
A vendor's installed preset cache survives an app upgrade, and the
dictionary records the type every option was written as. When a build
reads a cache written by a build that typed an option differently, the
reader dropped the option and the preset fell back to the collection
default, which is not what the vendor's JSON says. enable_arc_fitting
became an enum in 2.5.0-beta, so every vendor whose bundle was not bumped
between the alpha and the beta now loads with arc fitting off from the
alpha's cache, and the alpha reads the beta's cache the same way.

Read such a value by the writer's type and hand its text to
set_deserialize through a scratch config, so handle_legacy and the
bool/enum substitution run on it exactly as for a JSON profile and a
failed parse leaves nothing behind. A text this build cannot place is
still dropped, reported once per key per file.
2026-11-02 17:20:33 +08:00
SoftFever 99018203de Add Python scripts and plugin tools to the MCP server
The MCP tools are listed in core, API and UI lanes. With Python scripts turned on in Preferences, agents
and people can run Python against the open app; plugins holding the tools permission can call the tools,
and plugins can offer operations of their own to agents. Calls can pin object and volume ids so a stale
index is refused, and run_script takes a script as JSON text as well as an object.
2026-11-02 16:05:13 +08:00
SoftFever f31843dcd1 Merge branch 'main' into feature/mcp 2026-11-01 17:40:28 +08:00
SoftFever 39705d7bb9 Make canvas screenshots taken right after a layer or view type change show the change 2026-11-01 17:39:07 +08:00
Ian BassiandRodrigo Faselli 3aedd50bcb Draw the Section View Cut Face in Its Part's Color (#17105)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-10-31 19:04:53 -03:00
SoftFever 7136e78c5b Name the open dialog when a script step times out waiting for its job 2026-10-31 23:45:23 +08:00
SoftFever b9127cb454 Tell MCP agents when a call fails because the display is off 2026-10-31 23:16:07 +08:00
SoftFever b90392d393 Report frames that failed to encode in stop_recording's result 2026-10-31 23:02:16 +08:00
SoftFever b3d3374f8b Fix MCP canvas captures failing right after a tab switch on Wayland 2026-10-31 22:47:31 +08:00
SoftFever 457ed1aacb Let MCP agents read and drive web dialogs and plugin pages
Agents can also answer a native message box that is already open (Windows and Linux), and URLs in
replies hide credential values.
2026-10-31 17:56:38 +08:00
SoftFever 7bafc3928c Add a script editor with suggestions and saving to the Run Script dialog 2026-10-31 02:13:22 +08:00
SoftFever 385471a32f Make the MCP tools easier for agents to use
get_settings now gives each setting's description and settings page and finds settings by what
they do, replacing explain_settings. set_view orbits the camera by degrees, the same on every
install, and a painting stroke that would miss the object is refused with the pixel to start it
at instead of turning the camera. Tools accept the argument names and forms agents commonly use,
save_project refuses a .gcode.3mf path, and select range-checks part and instance indices.
2026-10-30 23:43:23 +08:00
SoftFever 4439b743a8 Show a REC pill in the tab bar while a recording runs 2026-10-30 23:30:32 +08:00
SoftFever 48deb31a50 Let agents ask for an MP4 when starting a recording 2026-10-30 20:47:56 +08:00
SoftFever 15277639a0 Make recording overlays opt-in, with pointer and caption switches in Start Recording 2026-10-30 20:19:36 +08:00
SoftFever 6c1518aa61 Stop the app flickering while a recording runs on Windows 2026-10-30 19:23:12 +08:00
SoftFever c56d9968a1 Add app recording and screenshots for MCP agents and the Help menu
Agents can record OrcaSlicer to video, captioned with the current tool call, and encode it to MP4.
People get Take Screenshot and Start/Stop Recording in the Speed Dial and the Help menu, with a
dialog for the recording and encoding settings.
2026-10-30 18:41:40 +08:00
SoftFever c9db694c32 Add a Run Script dialog for running MCP scripts in the app 2026-10-30 07:46:10 +08:00
SoftFever bd26585ec1 Add explain_settings so agents can look up what settings do
It returns each setting's full tooltip, its page and group, and its wiki link, maps every setting
by page and group, and finds settings by the words of their help text. get_settings no longer
includes tooltips in its metadata.
2026-10-30 04:33:07 +08:00
SoftFever a63410029a Point agents at the MCP harness instead of an in-repo skill 2026-10-29 20:08:06 +08:00
SoftFever db75a6dc37 Let MCP clients do the OrcaSlicer tasks the agent benchmark found missing 2026-10-29 20:02:27 +08:00
SoftFever 0fc5b70cf4 Let MCP clients drive every gizmo
Also fixes a crash when a script answers the primitive size dialog, the Simplify ratio box being
ignored, a Measure crash after a reload, and Mesh Boolean showing a bare "tool" label.
2026-10-29 04:14:43 +08:00
SoftFever 5c05a8e662 Merge branch 'main' into feature/mcp 2026-10-28 23:32:22 +08:00
SoftFever 8cf1075d89 Let users choose HTTP or stdio when adding OrcaSlicer to an agent 2026-10-28 22:32:19 +08:00
SoftFever f5254f90aa Give the MCP server its own AI features group in Preferences
The group shows whether agents can connect and at which address, and copies a
ready-made setup for Claude Code, Codex, opencode, DeepSeek Harness or other
apps. A second OrcaSlicer window on the same configuration folder says another
window is serving agents and takes the server over when that window closes.
2026-10-28 21:58:47 +08:00
SoftFever 7791044458 Make MCP mouse modifiers mean the same keys as ui_key 2026-10-28 20:56:04 +08:00
SoftFever 854430d747 Report native dialogs that hold the MCP UI thread on macOS 2026-10-28 20:40:54 +08:00
Kris Austin 42608687e5 Fix AltGr typing in settings boxes switching tabs, and add go-to shortcuts for the other tabs (#16918)
Remove the old Ctrl+1 to Ctrl+4 key handler on settings fields. wxWidgets reports AltGr as Ctrl+Alt, so on AZERTY and similar layouts, typing `{`, `~` or `#` in a multi-line settings box switched the main tab. The handler was also outside the shortcut registry and clashed with the Ctrl+1 to Ctrl+4 camera shortcuts.

Add unbound "Go to the ... tab" shortcuts for Home, Design, Multi-device and Calibration, next to the Prepare, Preview, Device and Project ones from #16301.

Fixes #9649
2026-10-28 07:17:52 -05:00
SoftFever f4f997b8e0 Let a cancel stop an MCP slice that is still waiting to start 2026-10-28 19:43:10 +08:00
SoftFever c7b9cd6741 Drop the automatic-reslice due-time check that wx timers make unnecessary 2026-10-28 19:43:10 +08:00
SoftFever d8e41ea138 Count only runs a slice request started as the MCP slice's own, and ignore stale auto-reslice timer events 2026-10-28 19:43:09 +08:00
SoftFever 603d38b9c9 Report a refused MCP slice request as an error, and keep cancelled automatic reslices from running 2026-10-28 19:43:09 +08:00
SoftFever 1f06eda308 Report each plate from the MCP slice's own run, and drop a queued automatic reslice on cancel 2026-10-28 19:43:09 +08:00
SoftFever 23f04a5bc4 Keep MCP slice results standing and free the service only once idle
A slice requested after an MCP slice finished no longer marks it superseded, a slice already
running when MCP asks counts as its own, and Slice All reports an invalid plate's validation
message. The Preview tab shows after an MCP slice, as after the Slice button. Point settings
accept [x, y] pairs, a ui_mouse move drags while a button is held, a tab can be captured, and
dialog rules a client sets after the server is turned off are refused.
2026-10-28 19:43:09 +08:00
SoftFever c8c37986ac Keep MCP calls safe across shutdown and UI rebuilds, and attribute slices to their own runs
Also handles non-ASCII paths on Windows, lets file pickers only be auto-cancelled, ends a client's auto-answers when the server is turned off, gives the stdio bridge deadlines, and adds notebook tabs, ImGui checkboxes and index-aware locators to GUI automation.
2026-10-28 19:43:09 +08:00
SoftFever 6ffe80a6a8 Describe how screenshots handle Wayland decorations and undrawn 3D views 2026-10-28 19:43:09 +08:00
SoftFever 367030a20e Capture a single widget or window by ref, cancel a given job, and count a pending auto-reslice as slicing 2026-10-28 19:43:09 +08:00
SoftFever 39d921d921 Check that a dialog can be answered while stalled MCP clients hold every connection 2026-10-28 19:43:09 +08:00
SoftFever 0fed1f6077 Document the MCP server and add an agent skill for driving OrcaSlicer 2026-10-28 19:43:09 +08:00