Skip to content

v1.4.3

Choose a tag to compare

@divshekhar divshekhar released this 16 Feb 12:30
· 7 commits to main since this release

What's Changed

Critical Bug Fixes

This hotfix release addresses 4 critical production bugs that were blocking public launch.

1. ESM Compatibility - __dirname Error

  • Issue: src/utils/package-manager.ts used __dirname, which doesn't exist in ESM modules
  • Impact: syrin update and syrin rollback commands were completely broken
  • Fix: Replaced with ESM-compatible approach using import.meta.url and fileURLToPath

2. Logger Output Stream

  • Issue: log.error() used console.log instead of console.error
  • Impact: Error output couldn't be separated from normal output (Unix convention violation)
  • Fix: Changed to properly output errors to stderr

3. Tool Result Conversation Role

  • Issue: Tool results were added to conversation history with role: 'assistant' instead of role: 'tool'
  • Impact: Broke multi-turn tool calling; LLM couldn't distinguish its own responses from tool outputs
  • Fix:
    • Updated MessageRole type to include 'tool'
    • Changed all tool result messages to use correct 'tool' role