TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/irchaosclub/FANGS/llms.txt
Use this file to discover all available pages before exploring further.
fangs package subcommands manage which npm packages FANGS monitors and give a quick summary of each package’s run history. Adding a package triggers an immediate kickoff scan of its current latest version so that a baseline exists before the first autonomous watcher cycle fires. Removing a package stops future monitoring but leaves all existing runs and deviations intact.
Subcommands
| Subcommand | Description |
|---|---|
fangs package list | All packages ever seen in runs, with run counts, latest version, and latest deviation count |
fangs package watched | Only packages in the active watcher list, with timestamps |
fangs package add <name> | Add a package to the watcher and optionally queue a kickoff scan |
fangs package remove <name> | Remove a package from the watcher (existing runs are preserved) |
fangs package list
Lists every package that has appeared in at least one run, whether or not it is currently watched. This is useful for auditing what FANGS has scanned historically.| Column | Description |
|---|---|
PACKAGE | npm package name |
RUNS | Total number of sandbox runs ever recorded |
BASELINES | Number of runs currently in the baseline set |
LATEST_VERSION | Version string from the most recent run |
LATEST_DEVS | Deviation count on the most recent run |
LATEST_RUN | Short hex ID of the most recent run |
fangs package watched
Lists only the packages currently in the watcher’s poll loop — the set that FANGS checks for new releases on each watcher interval (default: every 5 minutes).| Column | Description |
|---|---|
PACKAGE | npm package name |
ADDED | UTC timestamp when the package was added |
LAST_CHECKED | UTC timestamp of the most recent watcher poll ((never) if not yet checked) |
LAST_SEEN | Last version the watcher observed (- if unknown) |
fangs package add
Adds a package to the watcher and, by default, immediately queues a sandbox scan of the current latest version. That scan becomes the initial baseline once it completes with zero deviations.Flags
Orchestrator base URL for submitting the kickoff scan. Must be reachable from the machine running the CLI.
Target runner ID for the kickoff scan. When empty the orchestrator picks the first registered runner.
Skip the automatic kickoff scan. The package is still added to the watcher; a scan will be queued the next time a new version is detected, or you can submit one manually with
fangs scan submit.Skip verifying the package exists on
registry.npmjs.org. Useful in air-gapped or offline test environments.Maximum sandbox duration for the kickoff scan. Passed through to the runner as the scan timeout.
Behavior
Duplicate check
The CLI calls
ListWatchedPackages and refuses with an error if the package name is already in the list. Re-adding a package is a no-op error: package "X" is already watched (added <timestamp>).Registry validation
Unless
-skip-registry-validate is set, the CLI resolves <name>@latest against registry.npmjs.org. This both confirms the package exists and retrieves the current latest version string for use in the kickoff scan. Returns ErrPackageNotFound if the package does not exist.Stamp last_seen_version
Calls
UpdatePackageCheck to record the latest version just retrieved. This prevents the autonomous watcher from treating the current latest as a newly-discovered release and queuing a second scan on top of the kickoff scan.Output
Examples
fangs package remove
Removes a package from the watcher. The package will no longer be polled for new releases and no future scans will be auto-submitted. All existing run and deviation rows are preserved — they can still be queried withfangs run list and fangs deviation list.
rm as an alias: fangs package rm axios.