64c374a910
- Added OpenCode discovery provider that loads configuration from ~/.config/opencode/ and .opencode/ directories. - Added support for loading MCP servers from opencode.json mcp key with stdio and HTTP transport types. - Added support for loading skills from ~/.config/opencode/skills/ and .opencode/skills/ directories. - Added support for loading slash commands from ~/.config/opencode/commands/ and .opencode/commands/ directories with frontmatter parsing. - Added support for loading extension modules (plugins) from ~/.config/opencode/plugins/ and .opencode/plugins/ directories. - Added support for loading context files (AGENTS.md) and settings from OpenCode configuration.
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useConst": "error",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noEmptyInterface": "off",
|
|
"noConstEnum": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"bracketSpacing": true,
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/src/**/*.tsx",
|
|
"packages/*/test/**/*.ts",
|
|
"packages/*/examples/**/*.ts",
|
|
"packages/*/*.ts",
|
|
"!**/vendor/**/*",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/template.generated.ts",
|
|
"!**/gen/agent_pb.ts",
|
|
"!.worktrees/**/*"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|