6b3577a09e
improvise-pntu: FoldMemo was keyed by (key, span) while the aggregation and covers were call arguments, so one memo across two covers answered the first (5.0 where 2.0 was right). FoldMemo::new(agg, covers) now owns both and the _in functions read them off it; GridLayout::fold_memo builds the grid's. The mismatched call no longer compiles. improvise-0jw5: a test in improvise-command counts fold evaluations across one grid_body call (18) against a fresh-memo control (90). A per-cell or per-total fresh memo fails it. The counter is exposed through a new test-support feature on improvise-core, enabled only as a dev-dependency. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
29 lines
1.1 KiB
TOML
29 lines
1.1 KiB
TOML
[package]
|
|
name = "improvise-command"
|
|
version = "0.1.0-rc2"
|
|
edition = "2024"
|
|
description = "Command/effect layer and semantic app state for improvise"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/fiddlerwoaroof/improvise"
|
|
|
|
[dependencies]
|
|
improvise-core = { path = "../improvise-core" }
|
|
improvise-protocol = { path = "../improvise-protocol" }
|
|
improvise-formula = { path = "../improvise-formula" }
|
|
improvise-io = { path = "../improvise-io" }
|
|
improvise-gp = { path = "../improvise-gp" }
|
|
anyhow = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
# Parses JSON a user's numbers cross, so it must read back the f64 written: per crate,
|
|
# because each build stands alone (improvise-6yvg, context/code/protocol.md).
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
unicode-width = "^0.2"
|
|
# Instant::now() panics on wasm32-unknown-unknown; web_time re-exports
|
|
# std::time off-wasm and uses performance.now() on it (improvise-ywd).
|
|
web-time = "1"
|
|
|
|
[dev-dependencies]
|
|
improvise-core = { path = "../improvise-core", features = ["test-support"] }
|
|
improvise-protocol = { path = "../improvise-protocol", features = ["test-support"] }
|
|
tempfile = "3"
|