refactor: optimize configuration and tool implementations

- Standardized error handling across tool implementations
- Improved return type consistency for tool execution results
- Simplified configuration parsing and type definitions
- Enhanced type safety for various configuration schemas
- Cleaned up and normalized tool response structures
- Updated SSE and event subscription tool implementations
This commit is contained in:
jango-blockchained
2025-02-04 00:56:45 +01:00
parent 9a02bdaf11
commit bc1dc8278a
65 changed files with 7094 additions and 7675 deletions

View File

@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "node",
"outDir": "./dist",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "dist",
"rootDir": ".",
"strict": true,
"esModuleInterop": true,
@@ -16,8 +16,6 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"types": [
"node",
"jest",
"bun-types"
],
"typeRoots": [
@@ -28,11 +26,8 @@
],
"baseUrl": ".",
"paths": {
"@src/*": [
"src/*"
],
"@tests/*": [
"__tests__/*"
"*": [
"node_modules/*"
]
}
},