github digitalocean/doctl v1.170.0

4 hours ago

What’s new

Create and talk to agents

  • Start a session from a YAML/JSON manifest, a saved config, or quick flags (--harness, --gh-repo, --prompt, and more)
  • create builds a session without attaching; launch opens one (and creates it first if needed)
  • prompt / ask sends one message and prints the answer — good for scripts
  • Interactive attach shows markdown replies, reasoning (“thinking”), and a clearer live stream
  • First session create shows Public Preview terms

Approvals and human-in-the-loop

  • Approve, reject, or defer actions while attached
  • Handle MCP-style prompts: simple yes/no, open a URL, or fill in a short form
  • Headless mode with --on-hitl for unattended runs
  • Out-of-band approve for pending requests (including form answers via --content)

Session lifecycle

  • List, show, pause, resume, update, and remove sessions
  • Filter lists by status, name, parent session, or pause reason (e.g. low balance)
  • Fork and roll back from checkpoints
  • Clearer messaging when a session pauses (including low-balance pauses)

Workspace and sandbox

  • Upload and download files
  • Run commands in the sandbox with exec
  • Forward local ports into the session
  • Bridge Codex / OpenCode CLIs with start-proxy

Templates, configs, sizes, triggers, files

  • Manage reusable templates and configs
  • List sizes
  • Set up triggers (including webhook secrets handled safely for scripting)
  • Browse workspace files

Billing awareness

  • balance shows your team’s prepayment balance and gate status
  • When funds run out, commands show a clear add-funds message instead of a generic failure
  • Sessions that pause for billing explain why, including mid-stream

Don't miss a new doctl release

NewReleases is sending notifications on new releases.