npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tingrudeng/worker-review-orchestrator-cli

v0.1.0-beta.9

Published

ForgeFlow control-layer CLI for dispatching tasks, watching execution, and submitting review decisions.

Readme

@tingrudeng/worker-review-orchestrator-cli

ForgeFlow control-layer CLI for dispatching tasks to workers, watching their status, and submitting review decisions.

Install

Preferred global install after publish:

npm install -g @tingrudeng/worker-review-orchestrator-cli
forgeflow-review-orchestrator --help

Repository-local fallback:

pnpm --filter @tingrudeng/worker-review-orchestrator-cli build
node packages/worker-review-orchestrator-cli/dist/cli.js --help

This package is meant to pair with the worker-review-orchestrator skill, but it is installed separately from the skill itself.

Commands

  • dispatch
    • POST a dispatch payload to /api/dispatches
    • Supports --target-worker-id to pin all tasks in the payload to one worker
    • Supports --require-existing-worker to verify the target worker or worker pool is already online in /api/dashboard/snapshot before posting
  • dispatch-task
    • Build and POST a single-task dispatch payload from CLI flags
    • Preferred when the control layer wants to send one focused task without hand-writing dispatch.json
    • Supports --worker-prompt and --context-markdown for inline string inputs
    • Supports --worker-prompt-file and --context-markdown-file for file-backed prompt/context inputs
    • Supports --require-existing-worker to reject dispatch when no matching online worker exists
  • continue-task
    • Continue an existing task via the redrive flow instead of creating a brand new dispatch
    • Use this for blocked/rework or failed tasks that should resume from the original task state
  • watch
    • Poll /api/dashboard/snapshot until a task reaches review, failed, merged, or blocked
  • decide
    • Submit merge or block decisions through the dispatcher review flow
    • Supports dispatcher HTTP or local state-dir fallback
    • Optional parameters: --actor, --notes, --at
  • inspect
    • Retrieve review material for a task from the dispatcher snapshot
    • Fetches task, assignment, reviews, pull request, and events to help a control-layer reviewer summarize before merge/block decision
    • Use --summary flag to get concise output with task status, branch, worker, result evidence, recent events, and review/PR state

Current Boundary

  • This package only orchestrates existing ForgeFlow dispatcher flows.
  • It does not implement worker execution.
  • It does not rewrite task state arbitrarily.

Minimal Use

forgeflow-review-orchestrator dispatch --dispatcher-url http://127.0.0.1:8787 --input dispatch.json
forgeflow-review-orchestrator dispatch --dispatcher-url http://127.0.0.1:8787 --input dispatch.json --target-worker-id trae-remote-forgeflow
forgeflow-review-orchestrator dispatch --dispatcher-url http://127.0.0.1:8787 --input dispatch.json --target-worker-id trae-local-forgeflow --require-existing-worker
forgeflow-review-orchestrator dispatch-task --dispatcher-url http://127.0.0.1:8787 --repo TingRuDeng/ForgeFlow --default-branch main --task-id task-1 --title "Update docs" --pool trae --branch-name ai/trae/task-1 --allowed-paths docs/**,README.md --acceptance "pnpm typecheck,git diff --check" --target-worker-id trae-remote-forgeflow
forgeflow-review-orchestrator dispatch-task --dispatcher-url http://127.0.0.1:8787 --repo TingRuDeng/ForgeFlow --default-branch main --task-id task-1 --title "Refactor auth" --pool codex --branch-name ai/codex/auth --allowed-paths "packages/auth/**" --acceptance "pnpm typecheck" --worker-prompt "You are a codex worker. Refactor the auth module." --context-markdown "# Context\n\nFocus on packages/auth only."
forgeflow-review-orchestrator watch --dispatcher-url http://127.0.0.1:8787 --task-id dispatch-1:task-1
forgeflow-review-orchestrator decide --dispatcher-url http://127.0.0.1:8787 --task-id dispatch-1:task-1 --decision merge
forgeflow-review-orchestrator decide --state-dir /path/to/.forgeflow-dispatcher --task-id dispatch-1:task-1 --decision block --notes "Scope exceeded"
forgeflow-review-orchestrator inspect --dispatcher-url http://127.0.0.1:8787 --task-id dispatch-1:task-1
forgeflow-review-orchestrator inspect --dispatcher-url http://127.0.0.1:8787 --task-id dispatch-1:task-1 --summary

When --target-worker-id is set, the CLI injects that worker id into every task and assignment package before posting the dispatch. This keeps the existing dispatch.json shape but gives the control layer an explicit way to target trae-local-forgeflow or trae-remote-forgeflow.

When --require-existing-worker is set, the CLI fetches /api/dashboard/snapshot before dispatch and hard-fails if the pinned target worker is offline or if no online worker exists for the required task pool. Use this when the control layer must reuse an already running dispatcher + worker runtime instead of implicitly relying on a later bootstrap step.

Use dispatch-task for the common case of one worker task with one branch, one allowedPaths list, and one acceptance list. Keep dispatch --input for more complex multi-task or prebuilt payloads.

Use continue-task when you need to resume an existing task. It preserves the original task lineage and routes through the redrive flow instead of creating a new dispatch.

For control-layer review flow, prefer this CLI over calling lower-level review-decision scripts directly. Keep the scripts as compatibility and implementation detail, but use forgeflow-review-orchestrator decide as the default operator entrypoint.