openpencil/crates/op-cli/src
Kayshen-X b8b1b4ed7e feat(mcp): expose batch frame export and the deck board list
Exporting every frame on a page meant calling export_item once per frame
and inventing file names; the editor's own batch has resolved collisions,
capped long AI-authored names and skipped hidden frames since v0.8.3.
export_frames reuses plan_frame_exports rather than re-deriving any of it,
so an agent writes what the Export panel writes.

Partial failure is reported, not raised: one unrenderable frame must not
throw away the files that did land.

get_deck_boards is the read half. Slideshow control is deliberately absent:
entering preview is a host mode transition rather than document state, and
a file-backed MCP session has no window to present in. The board list is
the part an agent can act on — verifying a deck before exporting one.
2026-08-11 08:11:39 +08:00
..
app_control_cli.rs chore(rust): align workspace checks 2026-08-01 16:19:26 +08:00
app_control_cli_tests.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
cli_conversion.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
cli_conversion_tests.rs feat(openpencil): add code-to-design conversion flow 2026-07-04 13:23:28 +08:00
cli_design_tests.rs feat(cli): route op design --script / @file.js payloads to batch_design script mode 2026-07-03 22:08:24 +08:00
cli_error.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
cli_export_tests.rs feat(mcp): expose batch frame export and the deck board list 2026-08-11 08:11:39 +08:00
cli_file_flag_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_import_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_node_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_selection_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_start_tests.rs feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00
codegen_cli.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
command_helpers.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
command_mappers.rs refactor: final 800-line sweep across editor, mcp, services, and tool crates 2026-07-26 22:34:37 +08:00
export_cli.rs feat(mcp): expose batch frame export and the deck board list 2026-08-11 08:11:39 +08:00
figma_cli.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
html_cli.rs feat(html): overhaul HTML and browser-snapshot import fidelity 2026-08-04 21:47:49 +08:00
main.rs feat(mcp): expose batch frame export and the deck board list 2026-08-11 08:11:39 +08:00
mcp_http_cli.rs chore: bump version to 0.8.3 2026-08-06 21:15:39 +08:00
page_theme_cli.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
path_args.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
skill_export_cli.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
skill_install_cli.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
skill_install_error.rs refactor(cli,mcp,web): typed error enums for the densest stringly paths 2026-07-26 13:20:59 +08:00
template_cli.rs feat(mcp): expose the style-guide catalogue to MCP and the CLI 2026-08-11 08:03:39 +08:00
tests.rs feat(cli): import:html url routing with --out and import:snapshot subcommand 2026-07-19 20:45:03 +08:00
usage.txt feat(mcp): expose batch frame export and the deck board list 2026-08-11 08:11:39 +08:00