mirror of
https://github.com/wassname/HumanAgent-MCP.git
synced 2026-08-20 12:00:30 +08:00
- Remove session management complexity from MCP server and UI - Update chatWebviewProvider for direct messaging without sessions - Fix MCP tool response format to use content array as per specification - Restore cog icon for MCP configuration (install global/local) - Add safety checks for message content handling - Resolve 'o.content is not iterable' error by using proper MCP format
28 lines
629 B
JavaScript
28 lines
629 B
JavaScript
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
import tsParser from "@typescript-eslint/parser";
|
|
|
|
export default [{
|
|
files: ["**/*.ts"],
|
|
}, {
|
|
plugins: {
|
|
"@typescript-eslint": typescriptEslint,
|
|
},
|
|
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
ecmaVersion: 2022,
|
|
sourceType: "module",
|
|
},
|
|
|
|
rules: {
|
|
"@typescript-eslint/naming-convention": ["warn", {
|
|
selector: "import",
|
|
format: ["camelCase", "PascalCase"],
|
|
}],
|
|
|
|
curly: "warn",
|
|
eqeqeq: "warn",
|
|
"no-throw-literal": "warn",
|
|
semi: "warn",
|
|
},
|
|
}]; |