sdk

Radroots SDK and bindings
git clone https://radroots.dev/git/sdk.git
Log | Files | Refs | README

commit f7d67411344be9cf9934a79803644220936d022d
parent 57ff247a12aa8893a8ccaf38fcc05886695c3e34
Author: triesap <tyson@radroots.org>
Date:   Tue, 23 Jun 2026 01:54:49 +0000

packages: expose sdk validation scripts

- add root check script that regenerates artifacts before package validation
- add root coverage script for the xtask coverage lane
- record generated TypeScript and entrypoint coverage posture
- keep generated package outputs ignored and reproducible

Diffstat:
Mcontracts/coverage.toml | 2+-
Mpackage.json | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/contracts/coverage.toml b/contracts/coverage.toml @@ -14,7 +14,7 @@ output = "target/sdk-coverage/summary.json" ignore_filename_regex = "(/target/|/\\.cargo/registry/|/Cellar/rust/|/tools/xtask/|/crates/.+_bindings/|/crates/binding_model/|/crates/replica_db_wasm/src/wasm_impl.rs)" [generated] -typescript = "generated TypeScript is excluded from line coverage and verified by generator tests, generated-output reproducibility, package export checks, and pnpm typecheck" +typescript = "generated TypeScript is excluded from line coverage and verified by generator tests, generated-output reproducibility, package export checks, and pnpm typecheck; current handwritten package entrypoints only re-export generated surfaces and must gain focused tests if runtime logic is added" binding_crates = "generated Rust binding crates are excluded from line coverage and verified by generator unit tests plus generated TypeScript reproducibility" wasm_glue = "wasm-bindgen glue is excluded only while pure SDK behavior is covered by native extracted-logic tests and generated package checks" diff --git a/package.json b/package.json @@ -5,6 +5,8 @@ "scripts": { "generate:ts": "cargo xtask generate ts", "generate:wasm": "cargo xtask generate wasm", + "check": "cargo xtask generate ts && cargo xtask generate wasm && cargo xtask check && pnpm -r build && pnpm -r typecheck", + "coverage": "cargo xtask coverage run", "build": "pnpm -r build", "typecheck": "pnpm -r typecheck" },