Commit Graph
15 Commits
Author SHA1 Message Date
Tanish Manku 4a25817937 chore: merge main (guide search and context help) into saved commands (M6)
Context help gains the macro namespace and the Save As Command and Manage Saved Commands
windows; the guide's chapter list numbers both new chapters.
2026-11-16 18:26:04 -07:00
Tanish Manku 8bf45991ac perf(engine): registry lookups built once; macro.history checks steps without copying them (M6)
find_command rebuilt the whole registry (~360 specs) on every call, and
macro.history cloned every recorded command's params to list a step.
panic_hunt_every_command (which runs macro.history about 600 times per
session over up to 10,000 steps): over 40 min before, 144 s after (debug,
Windows, this machine). The CLI test's failing file now selects first.
2026-11-14 04:13:02 -07:00
Tanish Manku f167ebe3da feat(engine): command macros: history records each step's commands, macro.* commands (M6)
Every undo step keeps the commands it ran; Save As Command rewrites ids of
this document to act on the selection or active layer, or names the step it
can't keep. macro.run is one transactional undo step; macros call only what
a plug-in may, and plug-ins can't call macro.*. anicraft-cli run reads saved
command files. ADR 0097.
2026-11-14 04:13:01 -07:00
Tanish Manku 3ae20fe24f feat(guide): search in the bundled guide (prebuilt index, offline search page, same ranking in anicraft-cli guide search) (M8) 2026-11-13 23:44:33 -07:00
Tanish Manku e92cdf98b6 feat(engine): exporter plug-ins (file.export_plugin, file.export_formats) and plug-in eases; anicraft-cli export and formats (M6) 2026-11-13 17:35:49 -07:00
Tanish Manku c1b5941f12 fix(xfl): one damaged part no longer refuses a .fla, white default stage, the CLI opens Animate files (M8)
Since 0.1 the importer reads bitmaps, sounds and the publish settings from the
package with `?`, so one entry failing its checksum or the archive's limits
refused the whole document (#226). Optional parts are now left out and
reported; damage to DOMDocument.xml still refuses the file. Animate omits the
default white backgroundColor, which imported as black (#163). anicraft-cli
info/render/exports open .fla/.xfl through file.open.

Tests: damaged bitmap/symbol parts (fail before the fix), white stage,
every entry point (file.open, upper-case .FLA, Open Recent, drop routing,
browser vfs) over the corpus, CLI subcommands.
2026-11-12 12:59:10 -07:00
Tanish Manku c5b016532a feat(guide): the user guide, generated command and shortcut references, Help › User Guide (M8) 2026-11-11 23:27:29 -07:00
Tanish Manku a20a488fb6 feat(export): animated PNG and animated WebP export (M4) 2026-11-11 18:03:14 -07:00
Tanish Manku 7fbad142b6 feat(cli): anicraft-cli --version, window app id ai.storyteller.anicraft (M8)
The release packaging smoke-tests every build with anicraft-cli --version. The window's
Wayland app_id / X11 class becomes the reverse-DNS id the desktop entry, AppStream, Flatpak
and macOS bundle use (platform::APP_ID), so docks match the window to its launcher.
build.rs fails instead of warning when ANICRAFT_REQUIRE_WINRES=1 and the icon can't be
embedded (set by the Windows packaging).
2026-11-09 12:29:14 -07:00
Tanish Manku f99d34c2db feat(plugins): sample Star Field and Jitter Selection plug-ins in Rust with a guest SDK; anicraft-cli --plugins (M6) 2026-11-09 03:31:44 -07:00
Tanish Manku ade67dcc9a feat(app): background autosave with Restore / Discard / Later on start (M8)
The shell schedules recovery copies (every minute or 25 changes, set in
Preferences > Files > Autosave, with an off switch) on the engine's
Autosaver, waking itself when the interval runs out; the recovery folder
comes from platform::recovery_dir. A non-blocking window offers work left
by crashed sessions; File > Recover Autosaved Documents brings it back.
Clean exits and saves remove the copy. Preferences scroll when taller
than the window. bench measures one autosave.
2026-11-09 02:19:34 -07:00
Tanish Manku ada6505bcd perf: enforce machine-independent budgets in tests; bench --check for timing budgets 2026-11-06 22:10:34 -07:00
Tanish Manku 244d7e02f6 feat(cli): MCP server (anicraft-cli mcp) for AI assistants over the command registry 2026-11-06 21:57:09 -07:00
Tanish Manku 99ef1c3a9a feat(model): scenes: Document.scenes with per-session scene, movie vs scene evaluation, scene commands and menu, XFL imports every scene, format v3 (ADR 0011) 2026-11-06 19:24:28 -07:00
Tanish Manku e3913afa36 Initial commit v0.1.0 early alpha
AniCraft 0.1.0 (early alpha): milestones M0 and M1. Contributors are credited in AUTHORS.md.
2026-11-05 23:58:25 -07:00