{"_id":"@cobanalitalha/claude-dino","_rev":"2-121515e41dbded9a4caf0ded75615910","name":"@cobanalitalha/claude-dino","dist-tags":{"latest":"3.0.2"},"versions":{"3.0.1":{"name":"@cobanalitalha/claude-dino","version":"3.0.1","keywords":["claude","claude-code","terminal","game","dino","hooks"],"author":{"name":"Ali Talha ÇOBAN"},"license":"MIT","_id":"@cobanalitalha/claude-dino@3.0.1","maintainers":[{"name":"alitalhacoban","email":"alitalha823@gmail.com"}],"homepage":"https://github.com/carpodok/claude-spinner#readme","bugs":{"url":"https://github.com/carpodok/claude-spinner/issues"},"bin":{"claude-dino":"bin/claude-spinner.js"},"dist":{"shasum":"52f6af5a0adda2ea011aeb48d48487e49e18a833","tarball":"https://registry.npmjs.org/@cobanalitalha/claude-dino/-/claude-dino-3.0.1.tgz","fileCount":6,"integrity":"sha512-lxsIXG5t2fpU8/y/Xd1uS/JuoN7aNvkvlPshgBBEgfmAfEvb+TNOL+bunjN0Z1eySFsoV6sTt4fToTNjoa7FzQ==","signatures":[{"sig":"MEQCIEIdOcygZkADZrK7AYww7jAxLPaKp1F4hNiZZoi0/LIGAiBDTAIP5239A8N0mt3C7uYn9oUmhXAQqpn5XEiB/gEYqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20632},"engines":{"node":">=18"},"gitHead":"42f63ca6f8dbf486b056c229d85c9c107bb95d26","_npmUser":{"name":"alitalhacoban","email":"alitalha823@gmail.com"},"repository":{"url":"git+https://github.com/carpodok/claude-spinner.git","type":"git"},"_npmVersion":"11.9.0","description":"Play a dino game while Claude Code is thinking","directories":{},"_nodeVersion":"25.6.1","dependencies":{"@cobanalitalha/claude-dino":"^3.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/claude-dino_3.0.1_1775778598631_0.1771694350026367","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@cobanalitalha/claude-dino","version":"3.0.2","description":"Play a dino game while Claude Code is thinking","bin":{"claude-dino":"bin/claude-dino.js"},"engines":{"node":">=18"},"keywords":["claude","claude-code","terminal","game","dino","hooks"],"author":{"name":"Ali Talha ÇOBAN"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/cobanalitalha/claude-dino.git"},"gitHead":"f06deb7deb08106418a22c57f0b9471b1663db76","_id":"@cobanalitalha/claude-dino@3.0.2","bugs":{"url":"https://github.com/cobanalitalha/claude-dino/issues"},"homepage":"https://github.com/cobanalitalha/claude-dino#readme","_nodeVersion":"25.6.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-62Z4auamzqXXSWfo6jwbZ6IzOyzKYGau1++5VJqrqUfYnu5wJXlYXXE+T4cOqdtEJLz+gkPpzsJvl47j4emdpw==","shasum":"f05305a0265dbec7ee92b6b9472eb3b1275f5126","tarball":"https://registry.npmjs.org/@cobanalitalha/claude-dino/-/claude-dino-3.0.2.tgz","fileCount":6,"unpackedSize":20536,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCwYRqC2KJqe3JIzJWea4Z3SluRxLqLI+AFB4SB9DJdGAIhAJ7Ch4gTGV7Ixwp/FA6iKHdg1mWnvIC9eVKgUz9movU+"}]},"_npmUser":{"name":"alitalhacoban","email":"alitalha823@gmail.com"},"directories":{},"maintainers":[{"name":"alitalhacoban","email":"alitalha823@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-dino_3.0.2_1775925761558_0.25810680530499486"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T23:49:58.548Z","modified":"2026-04-11T16:42:41.805Z","3.0.1":"2026-04-09T23:49:58.757Z","3.0.2":"2026-04-11T16:42:41.696Z"},"bugs":{"url":"https://github.com/cobanalitalha/claude-dino/issues"},"author":{"name":"Ali Talha ÇOBAN"},"license":"MIT","homepage":"https://github.com/cobanalitalha/claude-dino#readme","keywords":["claude","claude-code","terminal","game","dino","hooks"],"repository":{"type":"git","url":"git+https://github.com/cobanalitalha/claude-dino.git"},"description":"Play a dino game while Claude Code is thinking","maintainers":[{"name":"alitalhacoban","email":"alitalha823@gmail.com"}],"readme":"# claude-dino\n\nPlay a terminal dino game while Claude Code is thinking.\n\n`claude-dino` hooks into [Claude Code](https://claude.ai/code) and launches a playable dino game at the bottom of your terminal whenever Claude is working. Jump over cacti to pass the time — the game stops automatically when Claude finishes.\n\n---\n\n## Gameplay\n\n```\nScore: 0042                                        SPACE to jump\n\n                                                  |\n  O                                               |\n /|\\                                              ^\n / \\\n────────────────────────────────────────────────────────────\n```\n\n- Press **SPACE** or **ENTER** to jump\n- Cacti spawn from the right and move left\n- Speed increases as your score grows\n- Game over? No worries — Claude keeps working\n\n---\n\n## How it works\n\n- When Claude starts using a tool (`PreToolUse`), the game launches in the background\n- It draws directly to your terminal via `/dev/tty`, so it never interferes with Claude's output\n- The terminal is restored cleanly when Claude finishes (`Stop` hook)\n- If the hook's stdin is piped (non-TTY), the real terminal device is resolved by walking up the process tree\n\n---\n\n## Installation\n\n```bash\nnpm install -g @cobanalitalha/claude-dino\nclaude-dino install\n```\n\nThen restart Claude Code. That's it.\n\n`claude-dino install` adds two hooks to `~/.claude/settings.json`:\n\n| Hook | Command | Effect |\n|------|---------|--------|\n| `PreToolUse` | `claude-dino start` | Launches the game when Claude begins working |\n| `Stop` | `claude-dino stop` | Stops the game when Claude finishes |\n\n---\n\n## Requirements\n\n- Node.js 18 or later\n- macOS or Linux (requires `/dev/tty` access)\n- [Claude Code](https://claude.ai/code) CLI\n\n---\n\n## Commands\n\n```bash\nclaude-dino install     # Add hooks to ~/.claude/settings.json\nclaude-dino uninstall   # Remove hooks from ~/.claude/settings.json\nclaude-dino start       # Launch the game manually\nclaude-dino stop        # Stop the game\nclaude-dino status      # Show whether the game is running\n```\n\n---\n\n## Uninstall\n\n```bash\nclaude-dino uninstall\nnpm uninstall -g @cobanalitalha/claude-dino\n```\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}