From 09d5ea128e9b86e7bcbc716fafb20ab0f9994c55 Mon Sep 17 00:00:00 2001
From: figulusproject <269854178+figulusproject@users.noreply.github.com>
Date: Fri, 14 Aug 2026 21:10:13 -0400
Subject: [PATCH] add a status subcommand for --detach jobs, bump zod-commands
to 1.1.3 for its per-command override schema support
---
CHANGELOG.md | 3 +-
apps/cli/package.json | 2 +-
apps/cli/src/cliArgs.test.ts | 69 +++++++---
apps/cli/src/cliArgs.ts | 241 ++++++++++++++++++++---------------
apps/cli/src/runCli.test.ts | 204 ++++++++++++++++++++++++++++-
apps/cli/src/runCli.ts | 129 ++++++++++++++++++-
docs/cli.md | 19 +++
docs/flags.md | 2 +-
package-lock.json | 10 +-
package.json | 2 +-
10 files changed, 548 insertions(+), 133 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 487b9a3..d2d49bb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,11 +15,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- `@zod-crawler/components`: a new shared shadcn/Tailwind UI package holding the UI and crawl components moved out of `apps/web`, so `apps/web` and `apps/web-demo` render from the same components.
- `tools/cors-proxy`: a self-hosted CORS proxy at `zodcrawler.figulus.dev/proxy` that the demo falls back to when a target API doesn't allow direct cross-origin fetches, rate-limited per IP and capped daily.
- `tools/site-router`: routes `zodcrawler.figulus.dev`'s docs, the new demo, and everything else to the right place.
+- `@zod-crawler/cli`: a `status` subcommand (`zod-crawler status --output
`) reports on a crawl started with `--detach` - running, finished (with its recorded exit code), or crashed - by reading `