sheets: read_range (one cell or an A1 rectangle, up to 2000 cells, rows as tab-separated display values), find (case-insensitive over the used range, 50 hits), write_cell and set_range (Act) — edits go through the same commit path as paste and direct entry, so recalculation, undo and the chrome all see them; the module executor answers the same tools. files: mkdir, rename (a bare name, no separators) and trash (into the app's own trash dir, never a delete) — Destructive, so the router shows a confirm card first; every path through the jail, on the demo VFS as on disk. Written by the delegate from the existing shapes; sheets 88, files 158 tests. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
25 lines
828 B
TOML
25 lines
828 B
TOML
[package]
|
|
name = "makepad-files"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "files"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["chat"]
|
|
chat = ["dep:makepad-ai-hub"]
|
|
demo = []
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../widgets" }
|
|
makepad-wm-theme = { path = "../../libs/wm_theme" }
|
|
makepad-wm-api = { path = "../../libs/wm_api" }
|
|
# The AI services wire: bounded read and confirmed mutation tools on the bus
|
|
# (hosted port, id-correlated runner — see ai_service.rs).
|
|
makepad-ai-services = { path = "../../libs/ai/services" }
|
|
makepad-strict-json = { path = "../../libs/strict_json" }
|
|
# The ask panel's local model: an in-process Qwen GGUF on makepad-ggml, loaded
|
|
# only when the panel is first opened.
|
|
makepad-ai-hub = { path = "../../libs/ai/hub", default-features = false, features = ["llm"], optional = true }
|