Skip to content

Releases: nerveband/drafts-applescript-cli

v3.0.2

09 Mar 17:36

Choose a tag to compare

Changelog

  • 8b43a14 fix: avoid stale self-update cache after upgrade

v3.0.1

09 Mar 17:34

Choose a tag to compare

Changelog

  • c54606c fix: make self-update release assets discoverable

v3.0.0

09 Mar 17:31

Choose a tag to compare

Changelog

  • 373a421 feat: release v3 agent-first Drafts CLI
  • 8fa8943 feat: add AI agent skill file and update README with new commands

v2.1.0

29 Jan 22:04

Choose a tag to compare

Changelog

  • a957004 docs: add AppleScript docs alignment implementation plan
  • 166c10f chore: update goreleaser config to version 2
  • 98e28b9 chore: bump version to 2.1.0
  • 849ec5b feat: update schema with flag, unflag, syntax, workspace tools and list search/workspace
  • 6a597fa refactor: use pkg/drafts.Workspaces() in info command and remove dead code
  • 1d5167e feat: add flag, unflag, syntax, workspace CLI commands and list search/workspace options
  • aa36a8f feat: add workspace operations (QueryWorkspace, CurrentWorkspace, Workspaces)
  • 6add416 feat: add content search and fix FilterFlagged in Query()
  • 9c5e510 feat: add SetLanguageGrammar() to set draft syntax
  • d7b24b6 feat: add SetFlagged() to flag/unflag existing drafts
  • 94b4b12 feat: add location fields to Draft struct and fix AppleScript property names
  • 321fe88 feat: add LLM-friendly CLI enhancements
  • 9c73a6f feat: add self-upgrade, ASCII banner, and promo GIF
  • 346759c name update

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