telegram-notifications-mcp 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/config.js +0 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -686,8 +686,6 @@ The first match wins:
|
|
|
686
686
|
3. `TELEGRAM_NOTIF_CONFIG_FILE`: a file path.
|
|
687
687
|
4. The default path above, or an existing legacy file.
|
|
688
688
|
|
|
689
|
-
Existing `config.json` and `targets.json` files in the former `telegram-notif-mcp` directory are reused in place. The former Windows `targets.json` location is `~/.config/telegram-notif-mcp/targets.json`. If more than one default or legacy file exists, select one with `--config` or `TELEGRAM_NOTIF_CONFIG_FILE`. Managed secrets remain beside their config.
|
|
690
|
-
|
|
691
689
|
### Environment variables
|
|
692
690
|
|
|
693
691
|
| Variable | Purpose |
|
|
@@ -781,7 +779,7 @@ npm install --global telegram-notifications-mcp@latest # update
|
|
|
781
779
|
npm install --global telegram-notifications-mcp@1 # stay on 1.x
|
|
782
780
|
```
|
|
783
781
|
|
|
784
|
-
To pin an exact release, append its version, for example `@1.0.
|
|
782
|
+
To pin an exact release, append its version, for example `@1.0.2` if that release is available. Restart your MCP servers after updating and change their configured command. Your `config.json` is not touched.
|
|
785
783
|
|
|
786
784
|
To skip the global install, an MCP entry can run the package through `npx` instead:
|
|
787
785
|
|
package/dist/config.js
CHANGED
|
@@ -36,11 +36,8 @@ export async function resolveConfigPath(options = {}) {
|
|
|
36
36
|
const home = options.home ?? os.homedir();
|
|
37
37
|
const canonical = defaultConfigPath(env, platform, home);
|
|
38
38
|
const pathApi = platform === "win32" ? path.win32 : path;
|
|
39
|
-
const oldConfig = pathApi.join(pathApi.dirname(pathApi.dirname(canonical)), "telegram-notif-mcp", "config.json");
|
|
40
39
|
const candidates = [
|
|
41
40
|
canonical,
|
|
42
|
-
oldConfig,
|
|
43
|
-
pathApi.join(home, ".config", "telegram-notif-mcp", "targets.json"),
|
|
44
41
|
pathApi.join(home, ".config", "telegram-notifs-mcp", "targets.json"),
|
|
45
42
|
];
|
|
46
43
|
const exists = await Promise.all(candidates.map(fileExists));
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "telegram-notifications-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Telegram notifications MCP server with local and hosted modes; opt-in administrator chat discovery.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/gmoz22/telegram-notifications-mcp.git"
|
|
9
9
|
},
|
|
10
|
+
"keywords": ["telegram", "notifications", "mcp"],
|
|
10
11
|
"type": "module",
|
|
11
12
|
"engines": {
|
|
12
13
|
"node": ">=20"
|