94f725c50b
- Remove llmProvider and workspace from CursorAgentConfig (now just command/model/timeout) - extractWorkspacePath uses runtime.extract + runtime.cas instead of standalone reactor - TextProducerFn signature gains runtime parameter: (ctx, prompt, runtime) - develop-entry.ts hardcodes cursor-agent path, no more env var dependency - Drop @uncaged/workflow-reactor dep from workflow-agent-cursor - Update tests for simplified config 小橘 <xiaoju@shazhou.work>
82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
|
|
"files": {
|
|
"includes": ["**", "!**/dist", "!**/node_modules", "!packages/workflow/workflow"]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double",
|
|
"semicolons": "always"
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/__tests__/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noExplicitAny": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/*.d.ts"],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"noDefaultExport": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noDefaultExport": "error",
|
|
"useNodejsImportProtocol": "error",
|
|
"noNamespace": "error",
|
|
"noParameterProperties": "error",
|
|
"useImportType": "error",
|
|
"useShorthandFunctionType": "error",
|
|
"useConst": "error",
|
|
"useEnumInitializers": "error"
|
|
},
|
|
"complexity": {
|
|
"noThisInStatic": "error",
|
|
"noStaticOnlyClass": "error",
|
|
"noForEach": "error",
|
|
"useArrowFunction": "error",
|
|
"noExcessiveCognitiveComplexity": {
|
|
"level": "warn",
|
|
"options": {
|
|
"maxAllowedComplexity": 15
|
|
}
|
|
}
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noVar": "error",
|
|
"noConsole": "error"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "error",
|
|
"noUnusedImports": "error"
|
|
},
|
|
"nursery": {}
|
|
}
|
|
}
|
|
}
|