@locusai/telegram 0.9.11 → 0.9.12
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/telegram.js +2 -5
- package/package.json +2 -2
package/bin/telegram.js
CHANGED
|
@@ -40519,12 +40519,9 @@ class WorktreeManager {
|
|
|
40519
40519
|
return null;
|
|
40520
40520
|
}
|
|
40521
40521
|
this.git("add -A", worktreePath);
|
|
40522
|
-
try {
|
|
40523
|
-
this.git("reset HEAD -- .locus/project/progress.md", worktreePath);
|
|
40524
|
-
} catch {}
|
|
40525
40522
|
const staged = this.git("diff --cached --name-only", worktreePath).trim();
|
|
40526
40523
|
if (!staged) {
|
|
40527
|
-
this.log("No changes to commit
|
|
40524
|
+
this.log("No changes to commit", "info");
|
|
40528
40525
|
return null;
|
|
40529
40526
|
}
|
|
40530
40527
|
this.gitExec(["commit", "-m", message], worktreePath);
|
|
@@ -40549,8 +40546,8 @@ class WorktreeManager {
|
|
|
40549
40546
|
} catch {}
|
|
40550
40547
|
this.gitExec(["push", "--force-with-lease", "-u", remote, branch], worktreePath);
|
|
40551
40548
|
this.log(`Pushed ${branch} to ${remote} with --force-with-lease`, "success");
|
|
40549
|
+
return branch;
|
|
40552
40550
|
}
|
|
40553
|
-
return branch;
|
|
40554
40551
|
}
|
|
40555
40552
|
getBranch(worktreePath) {
|
|
40556
40553
|
return this.git("rev-parse --abbrev-ref HEAD", worktreePath).trim();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/telegram",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.12",
|
|
4
4
|
"description": "Telegram bot for Locus - remote control your AI agents from Telegram",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"author": "",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@locusai/sdk": "^0.9.
|
|
35
|
+
"@locusai/sdk": "^0.9.12",
|
|
36
36
|
"dotenv": "^16.4.7",
|
|
37
37
|
"telegraf": "^4.16.3"
|
|
38
38
|
},
|