forked from 1b-agent/fieldcraft-upstream
fieldcraft-cli snapshot script.json --out shot.png [--view] [--size WxH] draws the engine's framed scene (engine::view::frame, shared with the CPU render_png) with the viewport's GPU pipelines offscreen: hardware GPU, then a software one, then the CPU rasterizer (FIELDCRAFT_GPU=auto|hardware| software|cpu). CI installs lavapipe so the GPU path runs there. Refs #422 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
23 lines
634 B
TOML
23 lines
634 B
TOML
[package]
|
|
name = "fieldcraft-cli"
|
|
description = "FieldCraft from the command line: list commands, run scripts, draw snapshots, serve MCP"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
fieldcraft-engine = { workspace = true }
|
|
fieldcraft-gpu = { workspace = true }
|
|
fieldcraft-render = { workspace = true }
|
|
fieldcraft-io = { workspace = true }
|
|
fieldcraft-mcp = { workspace = true }
|
|
fieldcraft-update = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
png = { workspace = true }
|
|
fieldcraft-update = { workspace = true, features = ["mock"] }
|