Skip to content

Releases: alexknowshtml/smaug

v0.3.1 - Version Sync & Bug Fixes

06 Jan 02:14

Choose a tag to compare

  • Sync package.json version with GitHub releases
  • Fix bird CLI v0.6.0 paginated JSON output format
  • Replace curl with native fetch for Windows compatibility
  • Add credential safety warning to setup wizard
  • Prevent credential leaks with gitignored config

v0.3.0 - Cost Tracking, Folder Tags & Cross-Platform Support

05 Jan 21:06

Choose a tag to compare

What's New

💰 Token Usage Tracking

Track your Claude API costs with the new -t flag:

npx smaug run -t

Displays a detailed breakdown at the end of each run showing input/output tokens, cache usage, and estimated costs by model.

📁 Bookmark Folder Support

Preserve your Twitter bookmark folder organization! Configure folder IDs mapped to tag names:

{
  "folders": {
    "1234567890": "ai-tools",
    "0987654321": "articles-to-read"
  }
}

Bookmarks now include folder tags in both bookmarks.md entries and knowledge file frontmatter.

⚡ Configurable Parallel Processing

New parallelThreshold config option (default: 8) controls when parallel subagent processing kicks in. Small batches now process sequentially for faster results:

{
  "parallelThreshold": 8
}

🎯 Batch Limiting

Process bookmarks in controlled batches with the new --limit flag:

npx smaug run --limit 50 -t    # Process 50 at a time with cost tracking

🐛 Bug Fixes

  • Fixed nested Claude invocation - Resolved hanging issues when Claude spawns subprocesses
  • Fixed stdin handling - Changed from inherit to pipe to prevent blocking
  • Fixed bird CLI pipe buffering - JSON output now captured correctly on all systems
  • Fixed tilde expansion - Home directory paths now work reliably across platforms

🌍 Cross-Platform Improvements

  • Replaced jq and sed shell commands with Node.js equivalents
  • No additional system dependencies beyond Node.js
  • Works on Windows (with Node.js), macOS, and Linux

🧪 Developer Experience

  • Added comprehensive test suite
  • CI workflow for automated testing
  • Improved error messages and logging

Upgrading

git pull
npm install

No breaking changes from v0.2.x.

Full Changelog

v0.2...v0.3.0

Windows compatability, like support and experimental media support

02 Jan 20:25

Choose a tag to compare

What's Changed

  • Fix Windows compatibility for ESM paths and temp directory by @dctmfoo in #1
  • Like support added, requires latest version of Bird dependency
  • Experimental media support added, pending merge of media support in Bird. For now falls back gracefully.
  • Improve reliability with multi-step protocol for long running command
  • Small QOL updates

New Contributors

Full Changelog: https://github.com/alexknowshtml/smaug/commits/v0.2