Releases: 1a35e1/sonar-cli
Releases · 1a35e1/sonar-cli
v0.5.4
Added
- feat: surface suggestion_source in exports — New
suggestion_sourcecolumn indata exportreflects backend provenance (network/search:api/grok:ai) so you can tell which venue produced each suggestion. Existingsourcecontent-type column is unchanged. - feat: move skill content to SKILL.md at repo root — Skill now ships as a top-level SKILL.md for easier discovery.
Changed
- revert: drop sonar stats command (underwhelming) — Removed the previously-added
sonar statscommand; terminal plots didn't add enough value over existing views.
v0.5.3
v0.5.2
[0.5.2] - 2026-04-11
Added
- feat: send bad recommendation feedback to backend —
-(bad rec) in interactive mode now stores the reason text and scores as -1. - feat: lens commands — embedding-powered analysis commands for local semantic exploration.
Changed
- update: compact one-line topic rendering — topics display as a single line now that descriptions are removed.
Fixed
- fix: score bad recommendations as -1 — bad recs now set relevance to NONE (-1) alongside the feedback text.
v0.5.1
[0.5.1] - 2026-04-10
Added
- feat: data export —
sonar data export --format json --window 1dfor bulk suggestion/bookmark/like export with cursor pagination. - feat: X API rate limit handling — detect 429s explicitly with retry guidance.
Changed
- refactor: migrate CLI from Pastel to Commander + Ink — faster startup, better arg parsing, composable subcommands.
- refactor: extract parseWindow to lib/time — shared time window parsing across commands.
- refactor: add analysis helpers to lib/ai — structured OpenAI/Anthropic analysis calls for upcoming lens commands.
Fixed
- fix: use structured outputs for LLM response parsing — replaces fragile regex with JSON schema validation.
- fix: client-side input validation — topic names and descriptions validated before API call.
v0.5.0
[0.5.0] - 2026-04-09
Added
sonar feed— read-only feed view with--followfor NDJSON streaming,--offsetfor paginationsonar topics suggest— AI-powered topic suggestions via OpenAI or Anthropicsonar account— multi-account management (add, switch, rename, remove)sonar refreshcomposable flags —--bookmarks --likes --graph --tweets --suggestionssonar data pull— fast bulk export viadataExportGraphQL query (cursor-paginated, ~300ms/page)sonar datanamespace — pull, backup, restore, verify, path, sql- Semantic triage — n=read, s=save, a=archive, -=bad rec with reason prompt
- GraphQL client retry — 3 retries with jittered exponential backoff on transient failures
- Help banner —
S O N A Rheader with version - Pulse spinner — unicode-animations
Changed
- WASM SQLite — replaced better-sqlite3, works on any Node/platform
- Auth via
sonar account add— removedSONAR_API_KEYenv var - Removed
sonar sync— usesonar refresh --bookmarks/--likes - Triage shows inbox only — no more feed/suggestion merge
- Drift checks gate npm publish in CI
Fixed
v0.4.3
[0.4.3] - 2026-04-09
Changed
- Semantic triage actions — n=read (neutral), s=save (positive), a=archive (filed), -=bad rec (negative, prompts for reason)
- Triage only shows inbox suggestions — no more feed/suggestion merge. Every item is triageable.
- Feed pagination —
sonar feed --offsetfor paginated results. - Removed
sonar syncnamespace — usesonar refresh --bookmarks/--likes.
v0.4.2
v0.4.1
v0.4.0
[0.4.0] - 2026-04-08
Added
sonar account— multi-account management with add, switch, remove, renamesonar refreshcomposable flags —--bookmarks --likes --graph --tweets --suggestions, any combosonar sync likes— sync likes from Xsonar datanamespace — pull, backup, restore, verify, path, sql- Help banner with version
Changed
- WASM SQLite — replaced better-sqlite3, works on any platform/Node version
SONAR_API_KEYremoved — usesonar account add <key>insteadconfig data→data— flatter namespace- Pulse spinner via unicode-animations
Fixed
- Pipeline auth error detection and re-auth guidance
- Backend error visibility in status endpoint
v0.3.5
[0.3.5] - 2026-04-08
Fixed
- README: added missing
topics view,topics deletecommands - README: corrected
sonar synctosonar sync bookmarks - README: fixed typo ("avaliable" → "available")
- README: corrected
topics editsyntax (positional arg, not--id) - README: added
--idtoarchivecommand reference