Skip to content

v1.10.2

Choose a tag to compare

@husniadil husniadil released this 28 Dec 04:25
· 4 commits to main since this release
060cfbd

What's Changed

Ultrathink Plugin v2.0.2

Auto-correct shell escaped quotes in JSON arguments

Fixed a common issue where LLMs would pass incorrectly escaped JSON arguments to the ultrathink CLI, causing validation errors.

Features

  • Auto-correct shell escaping mistakes like '[{\"id\":\"A1\"}]' to valid JSON
  • Handle nested escaping where text contains escaped quotes (e.g., '[{\"text\":\"has \\\"quotes\\\"\"}]')
  • Refactored _parse_json_list() for cleaner code and better maintainability

Technical Details

  • Added _fix_shell_escaped_quotes() function to detect and fix common shell escaping patterns
  • Added _ParseResult class and _try_parse_as_list() helper for cleaner parsing logic
  • All 134 tests passing

🤖 Generated with Claude Code