mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 09:31:15 +00:00
fix(ux): add spawn link to help output and --fast to KNOWN_FLAGS (#2828)
spawn link is a fully implemented command (440 lines) that was completely missing from `spawn help`. Users had no way to discover it through the CLI's self-documentation. Also adds --fast to the KNOWN_FLAGS set for consistency — it was accepted by the CLI but not registered in the flag validation set. Agent: ux-engineer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
21c0e1511c
commit
f4e2cd80a4
4 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.25.4",
|
||||
"version": "0.25.5",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
|
|
@ -225,6 +225,7 @@ describe("KNOWN_FLAGS completeness", () => {
|
|||
"-m",
|
||||
"--config",
|
||||
"--steps",
|
||||
"--fast",
|
||||
"--user",
|
||||
"-u",
|
||||
];
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@ function getHelpUsageSection(): string {
|
|||
spawn status --prune Remove gone servers from history
|
||||
spawn fix Re-run agent setup on an existing VM (re-inject credentials, reinstall)
|
||||
spawn fix <spawn-id> Fix a specific spawn by name or ID
|
||||
spawn link <ip> Register an existing VM by IP (alias: reconnect)
|
||||
spawn link <ip> --agent <agent> Specify the agent running on the VM
|
||||
spawn link <ip> --cloud <cloud> Specify the cloud provider
|
||||
spawn last Instantly rerun the most recent spawn (alias: rerun)
|
||||
spawn matrix Full availability matrix (alias: m)
|
||||
spawn agents List all agents with descriptions
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ export const KNOWN_FLAGS = new Set([
|
|||
"-m",
|
||||
"--config",
|
||||
"--steps",
|
||||
"--fast",
|
||||
"--user",
|
||||
"-u",
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue