Repository navigation
v1.4.3
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.tsused__dirname, which doesn't exist in ESM modules - Impact:
syrin updateandsyrin rollbackcommands were completely broken - Fix: Replaced with ESM-compatible approach using
import.meta.urlandfileURLToPath
2. Logger Output Stream
- Issue:
log.error()usedconsole.loginstead ofconsole.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 ofrole: 'tool' - Impact: Broke multi-turn tool calling; LLM couldn't distinguish its own responses from tool outputs
- Fix:
- Updated
MessageRoletype to include'tool' - Changed all tool result messages to use correct
'tool'role
- Updated