45bade9612
- Added fully-qualified anchor paths in chunk read output showing complete path hierarchy with CRC checksums. - Added exact chunk selector resolution with CRC validation to enforce canonical chunk paths in edit operations. - Added `?` selector option to read syntax-aware chunks by canonical path listing when anchor paths are unclear. - Improved tree-sitter range handling with `end_row_as_line()` function to correctly convert half-open ranges to 1-indexed line numbers. - Extracted anchor label logic into `chunk_anchor_label()` const function and consolidated style-based selection. - Removed --dev flag support from native build pipeline and dev:native npm scripts.
51 lines
2.4 KiB
JSON
51 lines
2.4 KiB
JSON
{
|
|
"name": "omp-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"install:dev": "bun install && bun --cwd=packages/coding-agent link && bun --cwd=packages/ai link",
|
|
"dev": "bun --cwd=packages/coding-agent src/cli.ts",
|
|
"stats": "bun --cwd=packages/coding-agent src/cli.ts stats",
|
|
"test": "bun run --workspaces --if-present --parallel test",
|
|
"check": "bun run --parallel check:ts check:rs",
|
|
"check:ts": "biome check . && tsgo -p tsconfig.json",
|
|
"check:rs": "cargo fmt --all -- --check && cargo clippy --workspace -- -D warnings",
|
|
"lint": "bun run --parallel lint:ts lint:rs",
|
|
"lint:ts": "biome lint .",
|
|
"lint:rs": "cargo clippy --workspace -- -D warnings",
|
|
"fmt": "bun run --parallel fmt:ts fmt:rs",
|
|
"fmt:ts": "biome format --write .",
|
|
"fmt:rs": "cargo fmt --all",
|
|
"fix": "bun run --parallel fix:ts fix:rs",
|
|
"fix:ts": "biome check --write --unsafe . && bun --cwd=packages/coding-agent run format-prompts && bun --cwd=packages/coding-agent run generate-docs-index",
|
|
"fix:rs": "cargo fmt --all && cargo clippy --fix --allow-dirty --all-targets --no-deps --allow-staged --broken-code --allow-no-vcs",
|
|
"build:native": "bun --cwd=packages/natives run build:native",
|
|
"bench:gen-fixtures": "bun --cwd=packages/typescript-edit-benchmark run src/generate.ts --typescript-dir /tmp/typescript-source --count-per-type 8",
|
|
"bench:edit": "bun --cwd=packages/typescript-edit-benchmark run start",
|
|
"prepublishOnly": "bun run check",
|
|
"prepare": "bun --cwd=packages/coding-agent run generate-docs-index",
|
|
"publish": "bun run prepublishOnly && npm publish -ws --access public",
|
|
"publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run",
|
|
"release": "bun scripts/release.ts",
|
|
"generate-models": "bun --cwd=packages/ai scripts/generate-models.ts",
|
|
"generate-docs-index": "bun --cwd=packages/coding-agent run generate-docs-index",
|
|
"generate-template": "bun --cwd=packages/coding-agent run generate-template",
|
|
"sync-exports": "bun scripts/sync-exports.ts",
|
|
"check-spoofed-versions": "bun scripts/check-spoofed-versions.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4",
|
|
"@bufbuild/protoc-gen-es": "^2.11",
|
|
"@types/bun": "^1.3",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260302.1",
|
|
"lint-staged": "^16.3",
|
|
"prettier": "^3.8"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched"
|
|
}
|
|
}
|