Skip to content

Releases: nerveband/drafts-applescript-cli

v2.0.0 - AppleScript Backend

19 Jan 18:59

Choose a tag to compare

What's New

Major refactor: replaced URL scheme + callback handler with pure AppleScript.

Highlights

  • Zero dependencies - No helper apps or Drafts actions needed
  • JSON output by default - Designed for LLM integration
  • New commands:
    • run - Execute Drafts actions from CLI
    • schema - Output tool-use schema for LLMs
    • create - Alias for new command

Downloads

File Description
drafts-macos-universal.zip Works on both Intel and Apple Silicon (recommended)
drafts-macos-apple-silicon.zip Apple Silicon (M1/M2/M3) only
drafts-macos-intel.zip Intel Macs only

Installation

  1. Download the appropriate zip file
  2. Unzip and move to your PATH:
    unzip drafts-macos-universal.zip
    chmod +x drafts-darwin-universal
    mv drafts-darwin-universal /usr/local/bin/drafts

Or install via Go:

go install github.com/nerveband/drafts/cmd/drafts@latest

Requirements

⚠️ macOS only - This CLI uses AppleScript

  • macOS (Intel or Apple Silicon)
  • Drafts app must be installed AND running
  • Drafts Pro subscription required

Breaking Changes

  • Removed URL scheme backend
  • Removed callback handler dependency
  • No longer requires "Drafts CLI Helper" app or action