Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

v0.2.1

Latest

Choose a tag to compare

@code-crusher code-crusher released this 29 Jun 04:12
b454b81

What's Changed

Summary

Implemented a robust JSON parsing mechanism to handle complex JSON structures with special content like suggestion blocks and mermaid diagrams. This enhancement improves the reliability of parsing JSON responses from AI services.

New Features

  • Added new jsonHelper.ts utility with repairAndParseJSON function
  • Implemented special handling for suggestion blocks and mermaid diagrams in JSON
  • Added fallback parsing mechanisms for improved reliability

Commits

Dependencies added

  • json-bigint: Used for handling large integers in JSON with storeAsString option
  • jsonrepair: Utilized for repairing malformed JSON before parsing