Skip to main content

Module deploy

Module deploy 

Source
Expand description

Shared compressor for edge/PaaS deploy commands (vercel, fly, wrangler, skaffold, supabase).

These tools emit long build/upload logs and end with the few lines that matter: the deployment URL, the release/version, and any error. The algorithm is deliberately conservative — it NEVER drops a line containing a URL or an error indicator — so the agent always receives the deploy target. Build noise (compiling, bundling, progress, layer hashes) is dropped.

Subcommand gating lives here: only deploy-style subcommands are handled; list/status/inspect/dev/login return None so they keep their existing (verbatim/passthrough/generic) treatment.

Functions§

compress