- Added Cursor AI provider with HTTP/2 streaming support using Connect protocol and protobuf binary serialization. - Added OAuth authentication flow for Cursor including browser-based login, token refresh, and expiry detection. - Added 14 Cursor model definitions including Claude 4.5, GPT 5.x, Gemini 3, and Grok variants. - Added execution bridge for Cursor tool calls supporting read, ls, grep, write, delete, shell, diagnostics, and MCP operations. - Added cursorExecHandlers and cursorOnToolResult options to Agent for local tool execution with cursor-based streaming. - Added emitExternalEvent method to Agent class for external event injection into agent state.
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.11/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,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"bracketSpacing": true,
|
|
"arrowParentheses": "always"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/test/**/*.ts",
|
|
"packages/coding-agent/examples/**/*.ts",
|
|
"packages/web-ui/src/**/*.ts",
|
|
"packages/web-ui/example/**/*.ts",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/models.generated.ts",
|
|
"!**/template.generated.ts",
|
|
"!**/gen/agent_pb.ts",
|
|
"!packages/web-ui/src/app.css",
|
|
"!packages/mom/data/**/*",
|
|
"!!**/node_modules"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|