mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Adds a new `spawn last` command (with `rerun` alias) that instantly reruns the most recent spawn from history without requiring the interactive picker. This improves the workflow for users who frequently want to restart their last session. Features: - `spawn last` or `spawn rerun` to instantly rerun last spawn - Shows descriptive label and timestamp before rerunning - Handles empty history gracefully with helpful message - Preserves prompt from original spawn if it had one - Updated help text and examples Agent: ux-engineer Co-authored-by: spawn-refactor-bot <refactor@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
22 lines
533 B
JSON
22 lines
533 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.2.83",
|
|
"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 --packages bundle",
|
|
"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"
|
|
}
|
|
}
|