@locusai/locus-telegram 0.21.14 → 0.21.15
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/bin/locus-telegram.js +3 -3
- package/package.json +2 -2
package/bin/locus-telegram.js
CHANGED
|
@@ -191,7 +191,7 @@ function loadTelegramConfig() {
|
|
|
191
191
|
const botToken = pkg?.botToken;
|
|
192
192
|
if (!botToken || typeof botToken !== "string") {
|
|
193
193
|
throw new Error(`Telegram bot token not configured. Run:
|
|
194
|
-
locus config packages.telegram.botToken "<your-token>"
|
|
194
|
+
locus config set packages.telegram.botToken "<your-token>"
|
|
195
195
|
|
|
196
196
|
Get a token from @BotFather on Telegram.`);
|
|
197
197
|
}
|
|
@@ -9881,8 +9881,8 @@ function printHelp() {
|
|
|
9881
9881
|
packages.telegram.chatIds Comma-separated chat IDs or JSON array
|
|
9882
9882
|
|
|
9883
9883
|
Setup:
|
|
9884
|
-
locus config packages.telegram.botToken "123456:ABC-DEF..."
|
|
9885
|
-
locus config packages.telegram.chatIds "12345678"
|
|
9884
|
+
locus config set packages.telegram.botToken "123456:ABC-DEF..."
|
|
9885
|
+
locus config set packages.telegram.chatIds "12345678"
|
|
9886
9886
|
|
|
9887
9887
|
Examples:
|
|
9888
9888
|
locus pkg telegram start # Start in background
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/locus-telegram",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.15",
|
|
4
4
|
"description": "Remote-control Locus via Telegram with full CLI mapping, git operations, and PM2 management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"format": "biome format --write ."
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@locusai/sdk": "^0.21.
|
|
29
|
+
"@locusai/sdk": "^0.21.15",
|
|
30
30
|
"grammy": "^1.35.0",
|
|
31
31
|
"pm2": "^6.0.5"
|
|
32
32
|
},
|