mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 08:10:48 +00:00
* Add NanoClaw spawn script NanoClaw is a lightweight WhatsApp-based Claude AI assistant that runs agents in isolated containers. This script sets up a sprite with nanoclaw pre-configured: clones the repo, installs dependencies, configures the API key, and launches in dev mode for WhatsApp QR auth. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Fix verify_sprite_connectivity exiting script early after single failed check Retry connectivity up to 6 attempts (30s) instead of trying once and silently continuing, which caused the next sprite exec to fail under set -e. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add test harness for spawn scripts Mocks the sprite CLI and runs each script end-to-end verifying: - common.sh sources correctly and all functions resolve - Log functions write to stderr (not stdout) - Env var flow (SPRITE_NAME, OPENROUTER_API_KEY) - Sprite commands called in correct order - Temp files created and cleaned up - Each script reaches its final interactive launch Usage: bash test/run.sh 42 tests, all passing. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Sprite <noreply@sprite.dev> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| run.sh | ||