[tasks.lint] description = "Lint Strata" depends = ["//:install"] run = [ "biome ci --config-path ../.. .", "rumdl check --config ../../.rumdl.toml .", "taplo format --check --config ../../.taplo.toml mise.toml", ] [tasks.fmt] description = "Format Strata" depends = ["//:install"] run = [ "biome check --write --config-path ../.. .", "rumdl fmt --config ../../.rumdl.toml .", "taplo format --config ../../.taplo.toml mise.toml", ] [tasks.test] description = "Test Strata" depends = ["//:install"] run = [{ task = "//:test", args = ["extensions/strata"] }] [tasks.check] description = "Check Strata" depends = ["//:install"] run = [ { task = "//:build", args = ["strata"] }, { task = "//:build-ext", args = ["strata"] }, ] [tasks.live] description = "Open Pi's TUI with Strata and a live model (pass Pi CLI options)" depends = ["//:install"] raw = true env.STRATA_NO_OPEN = "1" run = "pi --no-extensions -e ./index.ts --no-tools --no-skills --no-prompt-templates --no-context-files --no-themes --use-theme dark --no-approve" [tasks.e2e] description = "Run Strata browser end-to-end tests" depends = ["//:install"] run = "npm exec -- playwright test --config playwright.config.ts" [tasks.verify-package] description = "Build strata and load the generated package relocated outside the checkout" depends = ["//:install"] run = [ { task = "//:build-ext", args = ["strata"] }, { task = "//:verify-packages", args = ["strata"] }, ]