mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-30 20:34:32 +00:00
- Add "Did you mean?" suggestions when agent/cloud names have typos (using Levenshtein distance, max 3 edits) - Handle "spawn <agent> --help" to show agent info instead of failing with "invalid characters" error on the --help flag - Handle "--help" after subcommands (spawn list --help, spawn agents --help) to show general help instead of silently ignoring the flag - Bump CLI version to 0.2.13 - Add 15 tests for levenshtein and findClosestMatch functions Agent: ux-engineer Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
22 lines
515 B
JSON
22 lines
515 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.2.13",
|
|
"type": "module",
|
|
"bin": {
|
|
"spawn": "cli.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun run src/index.ts",
|
|
"build": "bun build src/index.ts --outfile cli.js --target bun --minify",
|
|
"compile": "bun build src/index.ts --compile --outfile spawn",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^1.0.0",
|
|
"picocolors": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.8"
|
|
}
|
|
}
|