Skip to content

Commit 3077af9

Browse files
committed
chore: align GitHub URLs with tooltrim and prefer TOOLTRIM_LOG_LEVEL
1 parent 9bfdfa7 commit 3077af9

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
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",

src/logger.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ let rootLogger: Logger | undefined;
1212

1313
export 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
};

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)