We’re pleased to announce version 0.39.1 of the Screeps GPT autonomous bot.
What’s New
Bug Fixes
- Console Output TypeError: Fixed “Cannot convert object to primitive value” error in MemoryValidator
- Changed from
result.error.messagetoJSON.stringify(result.error.issues)for proper Zod error serialization - Zod error objects lack a simple
messageproperty, causing primitive conversion errors in Screeps console - Added comprehensive regression test suite (
tests/regression/console-output-type-error.test.ts) with 6 test cases - Ensures all console logging properly handles complex objects without type conversion errors
- Resolves console errors reported via email from noreply@screeps.com (2025-11-07)
- Changed from
Full Changelog: 0.39.1 on GitHub