Skip to content

v1.4.0

Choose a tag to compare

@brian-mwirigi brian-mwirigi released this 09 Feb 11:45
· 167 commits to main since this release

What's New

Configurable pricing

  • cs pricing list/set/reset commands
  • Custom pricing stored in ~/.codesession/pricing.json, merged with 17 built-in models
  • SKILL.md no longer hardcodes prices — points agents to cs pricing list

Session annotations

  • cs note 'message' adds timestamped annotations to active session
  • Annotations appear as annotations[] in all JSON output

Crash recovery

  • cs start --resume — reattach to existing session for current directory
  • cs start --close-stale — auto-end orphaned sessions before starting
  • cs recover --max-age <hours> — batch-close stale sessions

Session ID targeting

  • -s/--session <id> flag on log-ai, status, end
  • getActiveSessionForDir(dir) for multi-workspace scoping

DB path migration

  • Renamed ~/.devsession/ to ~/.codesession/ to match package name
  • Auto-migration on first run (copies, does not delete old directory)

Integration contract

  • Exit codes, non-interactive guarantees, cs status --json contract
  • Recommended agent lifecycle documented in README

Full Changelog: v1.3.0...v1.4.0