Commit Graph
257 Commits
Author SHA1 Message Date
SoftFever 9c1d0e20ec Reach the Design tab only through the MCP server 2026-11-09 21:02:25 +08:00
SoftFever 0b9c47be29 Move the Design tab's MCP code next to the MCP server 2026-11-09 20:42:30 +08:00
SoftFever 70ca70ceb3 Give MCP tools plain names and call recorded tool lists replays 2026-11-09 20:21:02 +08:00
SoftFever 70842d3165 Add an MCP tool that lists open windows with refs for screenshots and input 2026-11-09 04:23:07 +08:00
SoftFever 643319c40b Split Run Script into Action Replay and a docked Python Run Script panel 2026-11-09 03:25:25 +08:00
SoftFever d56a80515f Move the MCP server only when its port is edited in Preferences 2026-11-08 16:04:04 +08:00
SoftFever fe12c41057 Fix Windows popup capture and MCP stalls in native menus and dialogs 2026-11-08 15:39:07 +08:00
SoftFever cd76a0ffdd Show context menus, dialogs and web views in macOS screenshots and recordings
Recording frames are also spaced as documented when capture is slow, and a drop-down that has left the screen is no longer drawn into macOS frames.
2026-11-08 01:38:33 +08:00
SoftFever 4e11be7f3f Show popups in Windows and macOS recordings and screenshots 2026-11-07 22:24:11 +08:00
SoftFever 65d5867d61 Show popups, context menus and tooltips in Wayland recordings and screenshots 2026-11-07 22:15:34 +08:00
SoftFever 3a0dc1785d Show dialogs in Wayland recordings and stop blank Wayland window captures 2026-11-07 20:02:27 +08:00
SoftFever 15ee17cf92 Start OrcaSlicer from the stdio bridge only when a tool is called 2026-11-07 16:51:11 +08:00
SoftFever be94a6a0da Report why a local plugin install failed 2026-11-07 12:42:01 +08:00
SoftFever 09aa257c76 Let install_local_plugin take a plugin file's path 2026-11-07 12:41:59 +08:00
SoftFever eedd56991c Merge branch 'main' into feature/mcp 2026-11-07 02:51:37 +08:00
SoftFever 8b5bbcb7e8 Read a modal dialog's controls and values into its MCP message 2026-11-07 02:31:07 +08:00
Ian Bassi 4cfdccfe45 Fix adaptive and TPMS infill paths that start mid-line and end on themselves (#17334) 2026-11-06 15:11:58 -03:00
932b492252 feat: Add plugin permission management to the Plugins dialog (#17285)
* feat: permissions tab in plugin dialog ui draft

* feat: allow full access, make threading a boolean

* fix: clang-tidy

* feat: save changes button

* fix: clang-tidy

* fix: only allow permission editing when plugin not loaded

* fix: plugin permission drafts, target validation, and sidecar synchronization

* fix: minor html/css changes

* fix: Make plugin permission edits immediate and thread-safe

* refactor: rehaul UI

* fix: add don't show again to request permission dialog

* fix: permission request dialog ui

* fix: clean up plugin permission dialog and mutation APIs

* fix: retry Windows plugin permission file replacement

* test: extract and cover plugin permission validators

* fix: show clear denial for worker plugin file operations

* fix: clang-tidy

* docs: clarify plugin filesystem permissions and clean up declaration

* fix: handle the 3 states of install state read

* fix: match equivalent paths for exact filesystem grants

* fix: preserve unreadable plugin state and allow socket grant editing

* Recover plugins whose install-state file cannot be parsed

---------

Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2026-11-07 00:00:18 +08:00
SoftFever 56b03d7bdf Merge branch 'main' into feature/mcp 2026-11-05 18:07:30 +08:00
anjis 3bda653448 Fix Type 1 wipe tower filament statistics for non-Bambu printers (#17199) 2026-11-04 09:31:08 -03:00
Ian Bassi 88c4c1e915 Print gap fill after the lines next to it in fills that keep their order
insert_gap_fill() put each piece of gap fill wherever it added the least
travel, which could be before the extrusions bordering it: the centre gap
of a Spiral Inset printed before the spiral that starts there, and gaps
where spirals meet printed before the later spiral. Each piece now only
goes after the last extrusion of its fill that passes within half its
widest width and a line spacing of it.
2026-11-04 08:56:28 -03:00
SoftFever 17a745e30c Merge branch 'main' into feature/mcp 2026-11-04 13:42:41 +08:00
HanifKoh 1c9f6f9318 Join Precise-Z Sliver Layers to the Prime Tower Layer Below (#17204)
* Join Precise-Z Sliver Layers to the Prime Tower Layer Below

Precise Z height ends each object at its exact top, so another object's
layers can print a few microns above these. Each sliver became its own
wipe tower layer, and a tool change on it was sized for that height: a
0.0009 mm layer asked for a 230 mm ramming band, which grew the tower
past the bed ("Prime tower is partially outside the printable area").
Once sized correctly, G-code export lost step with the tower and threw
"append_tcr was asked to do a toolchange it didn't expect".

A tower layer thinner than half the printer's minimum layer height now
joins the tower layer below: ToolOrdering records the tower layer each
layer prints on and whether it finishes it, the tower plans the joined
tool changes on that layer's z and height, and the G-code neither
advances the tower on a joined layer nor finishes the layer before it.

* Finish a Joined Prime Tower Layer on Its Last Tool Change

The joined layer always finished the tower layer, so a joined layer that
changed no tools asked for a result after the layer below had taken them
all and threw "Wipe tower generation failed". The layer that finishes is
now the last of the group that changes tools, or the last one when none
does, matching how a single layer merges its finish into a tool change.

A joined layer also reset the Type 1 tower's first print, so smooth
timelapse replayed the tower layer's wall and threw the same error.

Layers are now joined below the printer's minimum layer height instead of
half of it: precise Z height can move a layer off by up to a layer height,
and the 0.04-0.08 mm layers left on their own still grew the tower off the
bed.

* Print Joined Prime Tower Purges at the Tower Layer's Z

A joined layer printed its purges at its own nozzle height, up to just
under the minimum layer height above the tower layer, so the beads were
not pressed onto it. The emitter now descends to the tower layer's z for
a joined layer, travelling over the tower first and climbing back after,
the way it already does for a tower compacted below the objects.

Layers sliced at exactly the minimum layer height sum to gaps a hair
under it and were joined to the layer below; an EPSILON margin keeps
them apart.

* Travel Over the Prime Tower Before a Joined Layer Descends

With no change_filament_gcode and no nozzle change, the Type 1 emitter
descended to the joined tower layer's z while the head was still over the
part, then travelled to the tower at that z. It now travels over the tower
first. The tests check that every descent below the object layer happens
over the tower.
2026-11-04 13:14:01 +08:00
SoftFever 75d117f669 Explain in the MCP design doc why tools have no output schema 2026-11-04 12:28:00 +08:00
Valerii Bokhan 0b041740b1 Fix Wipe Inward retraction splitting and sandwich wall offsets (#17160) 2026-11-03 21:41:16 -03:00
Ian BassiandRodrigo Faselli 670db4b772 Faster and better outline (#17111)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-11-03 21:26:16 -03: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