openpencil/crates/op-cli/Cargo.toml
Danny Ahn f8cfcab7fd fix(cli): validate document before starting headless MCP server
Preflight headless document loading so malformed or binary archives fail with a clear, actionable error before the MCP server starts.

Keep the CLI parser dependency lightweight by disabling op-pen-loader default features and include the updated lockfile plus regression coverage.
2026-07-13 14:29:48 +08:00

23 lines
694 B
TOML

[package]
name = "op-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "OpenPencil `op` CLI — drives the editor via the HTTP MCP transport"
# The binary is `op` (the command users type); the crate is `op-cli`.
[[bin]]
name = "op"
path = "src/main.rs"
[dependencies]
base64 = "0.22"
op-ai-skills = { path = "../op-ai-skills" }
op-config-store = { path = "../op-config-store" }
op-figma = { path = "../op-figma" }
op-pen-loader = { path = "../op-pen-loader", default-features = false }
op-process-io = { path = "../op-process-io" }
op-rpc-transport = { path = "../op-rpc-transport" }
serde_json = { workspace = true }