mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
* feat(coding-agent): allow comments and trailing commas in models.json Run user-supplied models.json through a small `stripJsonComments` helper before JSON.parse so users can annotate their config and leave trailing commas without breaking the loader. Co-Authored-By: julien-agent <Agents+cyolo@huggingface.co> * fix(coding-agent): strip comments before trailing commas in models.json The single-pass regex couldn't see a trailing comma when a `//` comment sat between the comma and its closer. Split into two passes: strip comments first, then strip trailing commas on the cleaned input. Co-Authored-By: julien-agent <Agents+cyolo@huggingface.co> --------- Co-authored-by: julien-agent <Agents+cyolo@huggingface.co> |
||
|---|---|---|
| .. | ||
| bun | ||
| cli | ||
| core | ||
| modes | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||
| package-manager-cli.ts | ||