Skip to content

scoot 0.4.0

Choose a tag to compare

@sergenes sergenes released this 06 Sep 13:59
· 68 commits to main since this release
38d6b69
  • Hooks: shell commands on SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, Notification, and SessionEnd, configured in ~/.config/scoot/hooks.json and .scoot/hooks.json with Claude Code-shaped payloads and decisions (allow, deny, ask, block, context, exit 2). /hooks lists them; SCOOT_HOOKS=0 disables.
  • Headless mode: scoot --headless speaks line-delimited JSON on stdin and stdout (prompts, approvals, notes, interrupts, commands in; streamed text, tool calls, approval requests, results, plans, usage, errors, heartbeat out). Protocol version 1, documented in docs/headless-protocol.md; SCOOT_APPROVAL_TIMEOUT bounds unanswered approvals.
  • Notes sent while a turn runs are delivered to the model at its next call.
  • First run, fixed from a real Linux install: the setup guidance is now part of the REPL banner (it used to print before the screen clear and vanish); the status bar and banner say "not set up" instead of showing an unconfigured provider and model; readiness is re-checked after /auth set|clear and /model, so the bar flips to the real provider as soon as a key is saved; the "connection refused" hint for a local server names both hosted providers when no key exists, or points at /model when one does; readiness follows the active model's provider, not only the default.
  • Install docs: the quick start is pipx install scootcli && pipx ensurepath with the pipx package hint for Debian, Ubuntu, Pop!_OS, and macOS; install.sh prints the PATH line for the user's shell (bash, zsh, fish) and notes that a new login shell picks ~/.local/bin up on Linux.

Install: pipx install scootcli && pipx ensurepath, or curl -fsSL https://raw.githubusercontent.com/sergenes/scootcli/main/install.sh | bash, or download scoot.pyz below and run it with any Python 3.9+. Upgrade: pipx upgrade scootcli.