tovuk-0.1.73 is not a library.
tovuk
Rust CLI package for deploying Rust workers, static frontends, and worker-static
services to Tovuk.
This is the native source of truth for the Tovuk CLI. It does not require
Node.js, npm, Python, or any JavaScript runtime.
cargo install tovuk
tovuk init hello-service --template worker-static-rust-tanstack
cd hello-service/web && bun install && cd ..
tovuk check --json
tovuk deploy --dry-run --json
tovuk preview
tovuk deploy --wait --json
From a worker-static repo root, tovuk deploy reads one root tovuk.toml,
builds the worker and frontend roots, and returns one service URL with /api/*
routed to the Rust worker.
Static frontend deploys require TypeScript browser source, stable native
type-aware TypeScript checks, native linting such as oxlint, biome check,
or deno lint, and Fallow dead-code, semantic duplicate-code, and health
gates.
The npm package is also available:
npm install -g tovuk
tovuk deploy
The Cargo package exposes the same agent command surface as npm:
tovuk capabilities
tovuk pricing --json
tovuk deploy --dry-run --json
tovuk me
tovuk usage --json
tovuk activity --json
tovuk service list
tovuk service show service_1 --json
tovuk service delete service_1 --json
tovuk deploys --service service_1
tovuk builds
tovuk logs --build job_1 --limit 100 --json
tovuk env list --service service_1
tovuk env set --service service_1 API_KEY=value
tovuk env delete --service service_1 API_KEY
tovuk domains add --service service_1 api.example.com
tovuk domains verify --service service_1 api.example.com
tovuk storage list --service service_1 --json
tovuk storage upload --service service_1 ./logo.png uploads/logo.png --public --json
tovuk storage download --service service_1 uploads/logo.png ./logo.png --json
tovuk storage delete --service service_1 uploads/logo.png --json
tovuk platform --service service_1 --json
tovuk database create --service service_1 DB --json
tovuk database query --service service_1 DB "select 1" --json
tovuk database delete --service service_1 DB --json
tovuk kv create --service service_1 CACHE --json
tovuk kv put --service service_1 CACHE user:1 '{"name":"Ada"}' --json
tovuk kv get --service service_1 CACHE user:1 --json
tovuk kv bulk put --service service_1 CACHE '[{"key":"feature:search","value":"enabled"}]' --json
tovuk kv bulk get --service service_1 CACHE feature:search user:1 --json
tovuk kv bulk delete --service service_1 CACHE feature:search old:key --json
tovuk kv namespace delete --service service_1 CACHE --json
tovuk queue create --service service_1 failed_jobs --json
tovuk queue create --service service_1 jobs --max-batch-size 10 --max-batch-timeout-seconds 5 --dead-letter-queue failed_jobs --json
tovuk queue update --service service_1 jobs --max-batch-size 25 --json
tovuk queue update --service service_1 jobs --clear-dead-letter-queue --json
tovuk queue send --service service_1 jobs '{"task":"sync"}' --json
tovuk queue send-batch --service service_1 jobs '[{"body":{"task":"sync"}},{"body":{"task":"index"}}]' --json
tovuk queue metrics --service service_1 jobs --json
tovuk queue delete --service service_1 jobs --json
tovuk cron create --service service_1 nightly "0 0 * * *" --json
tovuk cron update --service service_1 nightly "*/15 * * * *" --json
tovuk cron disable --service service_1 nightly --json
tovuk cron enable --service service_1 nightly --json
tovuk cron delete --service service_1 nightly --json
tovuk state create --service service_1 Room --json
tovuk state put --service service_1 Room room-1 counter 1 --json
tovuk state get --service service_1 Room room-1 counter --json
tovuk state delete --service service_1 Room --json
tovuk binding create --service service_1 AUTH_SERVICE --target auth-service --json
tovuk binding delete --service service_1 AUTH_SERVICE --json
tovuk limit set worker_requests --period day --value 100000 --json
tovuk limit set state_requests --period month --value 1000000 --json
tovuk limit set state_sqlite_rows_written --period month --value 50000000 --json
tovuk limit delete worker_requests --period day --json
tovuk billing checkout --json
tovuk billing portal
tovuk support create "Deploy failed" "Agent retried deploy after check." --service service_1 --build job_1 --deploy deploy_1 --failing-command "tovuk deploy --wait --json" --first-log-line "cargo check failed in src/main.rs" --json
tovuk support list --json
tovuk support resolve ticket_0123456789abcdef0123 --json
tovuk usage --json includes billingEstimate.lineItems for current-month
cost estimates.
tovuk deploy --dry-run --json combines tovuk.toml, quality checks, capability meters,
account limits, and billingEstimate before deploy, without creating a build.
tovuk storage upload automatically switches to multipart transfer for files
larger than 100 MiB.
Agent repair loop:
tovuk check --json
tovuk deploy --dry-run --json
tovuk deploy --wait --json
tovuk logs --build job_1 --json
Fix the first failed agent_instruction. If a build fails, inspect build logs,
fix the first actionable log error, rerun check, then redeploy.
On first deploy, the CLI opens browser login, waits for GitHub or Google, stores
the Tovuk session in the OS credential store when available, and continues the
deploy. Later commands reuse that session.