51ec9bd05d
- Added docs:// internal URL protocol handler for accessing embedded markdown documentation files with path traversal validation. - Added support for executable tool files (.ts, .js, .sh, .bash, .py) in custom tools discovery from .omp/tools/ and .claude/tools/ directories. - Added generate-docs-index build script to automatically scan and embed markdown documentation files at build time. - Updated system prompt to document docs:// protocol usage and identify agent as operating within Oh My Pi harness.
54 lines
1.1 KiB
JSON
54 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",
|
|
"!**/docs-index.generated.ts",
|
|
"!**/gen/agent_pb.ts",
|
|
"!.worktrees/**/*"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|