Commit Graph
5636 Commits
Author SHA1 Message Date
Dylan M. Taylor 01b2e48034 feat(nightly): wire craft-nightly for self-isolated direct launch (#2751)
* feat(nightly): wire craft-nightly for self-isolated direct launch

* fix(nightly): answer bare version queries before profile resolution

* test(nightly): cover launcher delimiter, spec, and launch_profile helpers

* test(nightly): retain FigCraft startup and persistence coverage

* test(nightly): keep previous write-probe files intact
2026-11-29 15:29:37 -05:00
BFlat f30df4db19 Merge pull request #2760 from B-uchi/pr/implement-prompt-mapping-path
M8: implement_design gives sync_mappings the project's mapping file
2026-11-30 02:37:32 +07:00
FredApps 39dd64a305 Merge pull request #2758 from storytold/chore/free-macos-release-runner
ci: use standard macOS runner for release builds
2026-11-29 20:26:38 +01:00
FredApps 0a0ea494a6 Merge pull request #2759 from storytold/chore/release-0.19.0
Release FigCraft 0.19.0
2026-11-29 20:26:32 +01:00
BFlat 12682b6e9a Merge pull request #2757 from storytold/feat/2345-shared-property-window
M3, #2345: boolean, text, instance swap and slot properties get the Edit property window
2026-11-30 02:03:02 +07:00
BFlat 4525362846 Merge pull request #2755 from storytold/chore/unify-craft-libs-9949e08
deps: align craft-libs to 9949e08
2026-11-30 01:59:42 +07:00
Codex e7d118957f Release FigCraft 0.19.0 2026-11-29 19:40:56 +01:00
Codex 565d0cb89f ci: use standard macOS runner for release builds 2026-11-29 19:28:25 +01:00
bflatastic 823f0a61e3 M3, #2345: boolean, text, instance swap and slot properties get the Edit property window 2026-11-30 01:27:07 +07:00
BFlat 7d9fe2469c Merge pull request #2753 from storytold/feat/2345-property-edit-popover
M3, #2345: a variant property is one row, its values edited in an Edit property window
2026-11-30 01:13:39 +07:00
bflatastic fc53d90e63 Close the Edit property window on another document, and scroll a long list of values 2026-11-30 00:40:17 +07:00
Dylan M. Taylor baba38de22 Merge main and align newly added craft-control dependency 2026-11-29 12:14:42 -05:00
BFlat 4ea43ac911 Merge pull request #2741 from davidmann4/feat/agents-launcher-switch
MCP: agents in the open window through the ArtCraft Launcher's switch
2026-11-30 00:10:18 +07:00
BFlat b8155c5301 Merge pull request #2754 from hoangquocvietuet/fix/2567-text-run-blend
M3: a text run's blend fill in a shadowed pass-through frame blends with the backdrop (#2567)
2026-11-30 00:09:51 +07:00
bflatastic 95578633f4 Test renaming the property and setting its default from the window 2026-11-29 23:51:30 +07:00
BFlat 9dc9ec44aa Merge pull request #2749 from storytold/feat/2424-code-connect-raw
M10, #2424: code connect takes a raw template, with no import line or escaping
2026-11-29 23:48:46 +07:00
hoangquocvietuet ebf39d0e0d M3, #2567: a text layer's own blend fill counts too; read paints through own_paints; fail the font skip when fonts are required 2026-11-29 16:22:59 +00:00
Dylan M. Taylor 66a31d076e deps: align craft-libs revision to 9949e08 2026-11-29 11:20:36 -05:00
David Mann d87b5cc9d5 control server: the plain line reader is test-only now; its docs point at read_line_by 2026-11-29 17:15:46 +01:00
BFlat 06da46115b Merge pull request #2739 from LS254/fix/clip-covers-corner-style
M8, #2738: a chamfered or concave corner counts as cut off square for a clip that takes in the view
2026-11-29 23:15:18 +07:00
BFlat aa62719032 Merge pull request #2750 from storytold/feat/2508-copy-prototype-link
M5, #2508: Cmd/Ctrl+L in the presenter copies a link to the prototype
2026-11-29 23:07:31 +07:00
bflatastic 2df5c5bef5 Test the raw link's Connect to code fields and a swapped-in raw component 2026-11-29 23:02:25 +07:00
David Mann 28a7dbe49c Merge remote-tracking branch 'origin/main' into feat/agents-launcher-switch 2026-11-29 16:59:34 +01:00
David Mann ccb2b62533 agents: the token wait is one deadline for the whole first line; stale connection file test
A client sending a byte at a time, never a newline, kept an unauthenticated connection open past
the token wait: the read timeout bounded each read, not the line. The line reader now counts the
remaining time down to the deadline before every read until the token is shown.

The CLI tests now check that a connection file a crashed app left (nothing listens on its port)
isn't used, as #2740 asks.
2026-11-29 16:59:28 +01:00
bflatastic 48f819686c M3, #2345: a variant property is one row, its values edited in an Edit property window 2026-11-29 22:56:57 +07:00
hoangquocvietuet 1dbea4b552 M3, #2567: a text run's blend fill in a shadowed pass-through frame blends with the backdrop 2026-11-29 15:56:50 +00:00
hoangquocvietuet 261d9d3847 M3, #2567: a text run's blend fill in a shadowed pass-through frame blends with the backdrop (failing test) 2026-11-29 15:56:50 +00:00
BFlat 6782b3f25e Merge pull request #2748 from hrb9/feat/hebrew-sync-ui-strings
i18n(he): translate 67 new UI strings to restore 100% coverage
2026-11-29 22:53:39 +07:00
David Mann fe3e2c3e10 Merge branch 'feat/agents-launcher-switch' of https://github.com/davidmann4/figcraft into feat/agents-launcher-switch
# Conflicts:
#	apps/figcraft-cli/src/live_tests.rs
2026-11-29 16:51:34 +01:00
bflatastic 9c89a490ef cli: the live tests write their token file owner-only
On Unix the token client refuses a token file others can read, so the
window test failed on Linux and the wrong-token test passed for that reason.
2026-11-29 22:50:04 +07:00
David Mann e1c5d99399 cli: the live tests' token file is owner-only, as the shared client requires on Unix
craft_control refuses a token file group or others can read; the test wrote one with mode 644,
so the window test failed on Linux (and the wrong-token test passed on that refusal instead of
the window's). The file is now 0600 and the wrong-token test checks the window's own refusal.
2026-11-29 16:35:46 +01:00
BFlat 76ad9955be Merge pull request #2743 from storytold/fix/2512-cmd-w-closes-presentation
M7, #2512: Cmd/Ctrl+W closes a presentation tab
2026-11-29 22:34:21 +07:00
bflatastic dc7ebee625 Say raw snippets stay out of generated layer trees 2026-11-29 22:32:55 +07:00
bflatastic c8989491b0 M5, #2508: Cmd/Ctrl+L in the presenter copies a link to the prototype 2026-11-29 22:32:23 +07:00
BFlat 6c37bdd586 Merge pull request #2747 from storytold/feat/2529-plugin-clock
M11, #2529: plugins get the time and the user's UTC offset (plugin API 7)
2026-11-29 22:30:16 +07:00
bflatastic c9d37c21a7 M10, #2424: code connect takes a raw template, with no import line or escaping 2026-11-29 22:22:03 +07:00
BFlat d2c6671cd3 Merge pull request #2746 from viet-initx/fix/2564-click-visible-area
M1: a click selects an image only where it is visible (#2564)
2026-11-29 22:12:49 +07:00
BFlat 4312dda983 Merge pull request #2745 from mastel2/thai-word-marks
fix(engine): keep Thai vowels and tone marks in their word
2026-11-29 22:12:42 +07:00
HagaiBA 2c1e963475 i18n(he): translate 67 new UI strings to restore 100% coverage 2026-11-29 17:05:46 +02:00
David Mann 0b64b6c85f Merge branch 'feat/agents-launcher-switch' of https://github.com/davidmann4/figcraft into feat/agents-launcher-switch 2026-11-29 16:03:49 +01:00
David Mann a665a05860 agents: second round of review fixes (#2741)
- Stopping a listener closes its registry under the lock a connection takes to queue, so a
  request either is cancelled by the stop or is refused after it; none queues after the stop.
- A save a field deferred keeps the roots of the agent input that pressed it.
- Queued ui.input roots live with each window's pending batch (beside control_input_doc), so
  one window's frame never takes another window's roots.
2026-11-29 16:03:17 +01:00
bflatastic bfa5bc998d Read Cmd/Ctrl+W before the comment field draws, and leave it to a comment being typed 2026-11-29 21:48:00 +07:00
bflatastic 99a88f8095 Check the offset at the returned time 2026-11-29 21:45:06 +07:00
bflatastic a6cb63afda app: a connection that ended closes its socket for the client too
The worker kept a handle on the socket until the next connection reaped it, so
a silent client stayed connected past the token wait. Shut the socket down
when the connection thread ends.
2026-11-29 21:43:04 +07:00
David Mann 0d933a62f9 agents: review fixes (#2741)
- Live mode keeps every --automation-write-root, not only the first.
- --attach sends this machine's token file only to a loopback address; another host gets only
  FIGCRAFT_CONTROL_TOKEN.
- Stopping a listener (the launcher's switch off) cancels its requests still queued, so none runs
  after the stop.
- A screenshot write is checked against the request's roots again when it happens.
- The frame that applies an agent's queued ui.input batch runs confined to that agent's roots, so
  a queued Save shortcut can't write outside them.
- The headless confinement test uses the registered file.saveAs; docs say both roots are
  required only without the switch or with --headless.
2026-11-29 15:42:04 +01:00
bflatastic 9b162937b2 M11, #2529: plugins get the time and the user's UTC offset (plugin API 7) 2026-11-29 21:31:47 +07:00
David Mann f2876cfb17 Merge the draft's empty WIP commit 2026-11-29 15:21:20 +01:00
KEEP_DARK [-อาร์ต-] 9dae8271c9 fix(engine): keep Thai vowels and tone marks in their word
word_class walks back over combining marks to their base letter, but
only for the combining-diacritics blocks. Thai vowels and tone marks
written above and below a letter (U+0E31, U+0E34-0E3A, U+0E47-0E4E)
aren't alphanumeric, so Alt+Arrow, Alt+Backspace/Delete and
double-click stopped at them inside a word. They now go with their
letter, as combining accents do.

Closes #2744.
2026-11-29 21:19:11 +07:00
David Mann 48287201cf mcp: plain figcraft-cli mcp reaches the open window through the launcher's switch (#2740)
While the ArtCraft Launcher's switch lets agents use FigCraft, figcraft-cli mcp sends each call
to the open window through craft_control::agents::Live (the connection file, the token file; a
closed app is started) and otherwise runs headless in the automation roots or the agent folder.
Without the switch it still needs both roots (rule 18); --headless forces headless. --attach
reads the token file of its port.

Requests from the agent listener carry the agent folder as their roots (ControlRequest::roots):
handle runs confined to them and a screenshot path is checked as it is admitted, unless the app
was started with roots of its own. Docs: mcp.md, control-protocol.md, cli.md.
2026-11-29 15:18:51 +01:00
bflatastic 5e9c7f6ea4 M7, #2512: Cmd/Ctrl+W closes a presentation tab 2026-11-29 21:13:12 +07:00