Skip to content

Releases: edwinhu/superhuman-cli

v0.24.3

06 Apr 20:12

Choose a tag to compare

Fix token refresh bypass when cached tokens expire: resolveProvider() now calls getCachedToken() (which auto-refreshes via CDP) instead of short-circuiting on hasValidCachedTokens().

v0.20.0

01 Apr 16:33

Choose a tag to compare

v0.20.0 — CDP-primary architecture

Major refactor: removed MCP dependency, all operations go through CDP + Superhuman's internal APIs.

Changes

  • Remove MCP provider — no longer depends on mcp.mail.superhuman.com
  • CDP-primary architecture — all auth and operations via Chrome DevTools Protocol
  • Superhuman backend provider — direct API access for inbox, search, labels, star
  • Token refresh — background daemon keeps tokens fresh via CDP extraction
  • Fix search — search now works reliably via Superhuman portal API
  • Star/label list — new commands for managing starred emails and labels

v0.13.3

27 Feb 19:28

Choose a tag to compare

Fix: Outlook/Exchange reply-all threading (closes #15)

reply-all (and reply, forward) now correctly create threaded replies for Outlook/Exchange accounts, even when the thread is older than the 50 most recent messages.

Root cause

getThreadInfoDirect() for MS Graph accounts only searched the 50 most recent messages by conversationId. When the threadId was actually a message ID (or the thread was beyond the 50-message window), it silently returned null.

Fix

Added a message-ID fallback that tries fetching the ID directly as a message, matching the pattern already used in getThreadMessagesMsGraph and readThreadMSGraph.

v0.13.2

26 Feb 16:44

Choose a tag to compare

Bug Fix

  • fix: correct threadId extraction in SuperhumanDraftProvider (closes #14)
    • draft delete and draft update returned API 400 because threadId was undefined
    • Root cause: userdata.getThreads returns id at top level (threadItem.id), not inside thread object
    • Path was threads/undefined/messages/... → now correctly threads/draft00.../messages/...
    • Added 2 regression tests for threadId extraction

Full Changelog: v0.13.1...v0.13.2

v0.13.1

26 Feb 16:01

Choose a tag to compare

Bug Fix

  • fix: rebuild binary with DraftService constructor fix (closes #14)
    • draft delete and draft update crashed with this.providers.map is not a function
    • Root cause: v0.13.0 release binary was compiled before the fix in 121b300
    • Added build script to package.json to prevent stale binaries

Full Changelog: v0.13.0...v0.13.1

v0.13.0

26 Feb 15:23

Choose a tag to compare

fa9be47 feat: add --json, --to, --subject filters to draft list command
121b300 fix: DraftService constructor and CDP error handling
fec69a8 chore: clean up stale and duplicate tests
b7d3c9b feat: dual-path auth (Chrome extension support) and fix snippet parsing
a4d5912 feat: default CDP_PORT to 9400 via env var
b9d9512 fix: auto-delete native draft after successful send
b1ee3e9 fix: MS Graph reply threading and native draft improvements
b3f9154 Update superhuman skill documentation
8bba4f7 docs: add CDP background page monitoring requirement
5361935 chore: bump version to 0.13.0 and update docs
0dc2756 feat: add native Superhuman draft support via userdata.getThreads API
52ad129 feat: refactor draft listing to use DraftService with provider pattern
8ca0760 fix: corrected cmdListDrafts to list Superhuman synced drafts
2a3e5f3 fix: add loadTokensFromDisk() to cmdListDrafts function
3072cfb feat: Add superhuman draft list command (GitHub issue #12)
16d9209 fix: parse date-only --start/--end as local midnight, handle same-day edge case
66b55d1 fix: support --start/--end flags in calendar list and free commands (closes #11)
b8d61ae fix: parse YYYY-MM-DD calendar dates as local midnight, not UTC (closes #11)
3574acb fix: resolve read command hang by using cached token path instead of CDP fallback (closes #10)
1023d1d docs: update README and SKILL.md for v0.12.0 AI search feature
0e2e4b9 chore: bump version to v0.12.0
b21decd feat: add AI-powered email search via askAIProxy endpoint (closes #9)

v0.11.1

08 Feb 00:42

Choose a tag to compare

Fix: Default to Superhuman native API for drafts

Previously, draft create, reply, reply-all, and forward only used the Superhuman native API when --account was explicitly passed. Without it, they silently fell through to Gmail/MS Graph API.

Now all draft operations automatically use Superhuman native when cached credentials are available — no --account flag needed.

Changes

  • Added resolveSuperhumanToken() helper that tries --account first, then any cached account with valid Superhuman credentials
  • Updated draft create, reply, reply-all, forward (CLI) to use native API by default
  • Updated MCP superhuman_draft tool to prefer Superhuman native
  • CDP fallback still works when no cached credentials exist

v0.2.2

02 Feb 15:57

Choose a tag to compare

  • Add retry logic with exponential backoff for reply operations
  • Better error messages showing why reply/forward failed
  • Descriptive errors for UI state conflicts (compose window blocked, overlay present)

v0.2.1

02 Feb 15:33

Choose a tag to compare

Fix reply threading - threadId is now properly passed to reply functions

v0.2.0 - Calendar Support

02 Feb 14:47

Choose a tag to compare

Calendar CRUD for Google Calendar and Microsoft Outlook

  • superhuman calendar - List events
  • superhuman calendar-create - Create events
  • superhuman calendar-update - Update events
  • superhuman calendar-delete - Delete events
  • superhuman calendar-free - Check availability