Files
kilocode/packages/script/package.json
T
kirillk 07e97005e3 fix(cli): annotation check supports JSX comment syntax in TSX files
The kilocode_change annotation CI check (introduced in #8531) only
recognized // style comments. TSX files require {/* */} syntax inside
JSX templates, causing false failures for any PR adding Kilo-specific
JSX in packages/opencode/ — specifically reported in #6966.

Covers:
- MARKER_PREFIX regex matching both // and {/* */} styles
- Updated all 5 regex locations (whole-file, block-start/end, inline, self-exclusion)
- JSX/TSX examples in error output and AGENTS.md
- Test suite in packages/script/tests/ (98 tests across 6 describe blocks)

Test results: 98 pass, 0 fail, 107 expect() calls
2026-04-08 11:09:24 -04:00

18 lines
325 B
JSON

{
"$schema": "https://json.schemastore.org/package",
"name": "@opencode-ai/script",
"license": "MIT",
"devDependencies": {
"@types/bun": "catalog:"
},
"exports": {
".": "./src/index.ts"
},
"version": "7.2.0",
"scripts": {
"test": "bun test"
},
"dependencies": {},
"peerDependencies": {}
}