File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 ],
1515 "license" : " MIT" ,
1616 "author" : " Tooltrim contributors" ,
17- "homepage" : " https://github.com/false200/LeanMCP " ,
17+ "homepage" : " https://github.com/false200/tooltrim " ,
1818 "repository" : {
1919 "type" : " git" ,
20- "url" : " https://github.com/false200/LeanMCP .git"
20+ "url" : " https://github.com/false200/tooltrim .git"
2121 },
2222 "type" : " module" ,
2323 "main" : " ./dist/index.js" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ let rootLogger: Logger | undefined;
1212
1313export function configureLogger ( cfg : LoggerConfig = { } ) : Logger {
1414 const options : LoggerOptions = {
15- level : cfg . level ?? ( process . env . MCP_DIET_LOG_LEVEL as LogLevel ) ?? "info" ,
15+ level :
16+ cfg . level ??
17+ ( process . env . TOOLTRIM_LOG_LEVEL as LogLevel ) ??
18+ ( process . env . MCP_DIET_LOG_LEVEL as LogLevel ) ??
19+ "info" ,
1620 base : { name : "tooltrim" } ,
1721 timestamp : pino . stdTimeFunctions . isoTime ,
1822 } ;
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ export default defineConfig({
1616 treeshake : true ,
1717 minify : false ,
1818 banner : {
19- js : "// Tooltrim — MCP proxy. https://github.com/false200/LeanMCP " ,
19+ js : "// Tooltrim — MCP proxy. https://github.com/false200/tooltrim " ,
2020 } ,
2121} ) ;
You can’t perform that action at this time.
0 commit comments