mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
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
18 lines
325 B
JSON
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": {}
|
|
}
|