mirror of
https://github.com/earendil-works/pi.git
synced 2026-09-28 14:13:13 +08:00
Move catalog layout, index validation, version selection, and request negotiation into scripts/model-catalog-protocol.ts. pi.dev keeps an identical copy, so the publisher and a test running the current client exercise the same selection pi.dev performs. Replaces the cross-repository compatibility dispatch. Related to #9099.
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useConst": "error",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noEmptyInterface": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"scripts/model-catalog-protocol.ts",
|
|
"scripts/model-catalog-protocol.test.ts",
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/test/**/*.ts",
|
|
"packages/session-backends/*/src/**/*.ts",
|
|
"packages/session-backends/*/test/**/*.ts",
|
|
"packages/coding-agent/examples/**/*.ts",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/models.generated.ts",
|
|
"!**/*.models.ts",
|
|
"!packages/mom/data/**/*",
|
|
"!!**/node_modules"
|
|
]
|
|
},
|
|
"plugins": ["./scripts/biome/model-type-comparison.grit"]
|
|
}
|