abtars 0.1.0-alpha.12 → 0.1.0-alpha.13
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/bundle/abtars-cli.js +3 -3
- package/bundle/abtars.js +5 -1
- package/bundle/abtars.js.map +2 -2
- package/bundle/chunk-3Z3EP7E6.js +540 -0
- package/bundle/chunk-3Z3EP7E6.js.map +7 -0
- package/bundle/chunk-RB3X66KM.js +386 -0
- package/bundle/chunk-RB3X66KM.js.map +7 -0
- package/bundle/install-AJ7VW76P.js +13 -0
- package/bundle/install-AJ7VW76P.js.map +7 -0
- package/bundle/meta.json +28 -67
- package/bundle/update-U7M63AAV.js +14 -0
- package/bundle/update-U7M63AAV.js.map +7 -0
- package/package.json +1 -1
package/bundle/abtars-cli.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
showHintOnce,
|
|
5
5
|
update
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3Z3EP7E6.js";
|
|
7
7
|
import {
|
|
8
8
|
install
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RB3X66KM.js";
|
|
10
10
|
import {
|
|
11
11
|
acquireLock,
|
|
12
12
|
activate,
|
|
@@ -1036,7 +1036,7 @@ Next: cd into the abtars repo and run 'abtars update' to build and activate.
|
|
|
1036
1036
|
process.stdout.write(`
|
|
1037
1037
|
\u2500\u2500 Running 'abtars update' \u2500\u2500
|
|
1038
1038
|
`);
|
|
1039
|
-
const { update: update2 } = await import("./update-
|
|
1039
|
+
const { update: update2 } = await import("./update-U7M63AAV.js");
|
|
1040
1040
|
const updRc = await update2({ source: "local", fromLocal: true, allowAbmindMismatch: false });
|
|
1041
1041
|
if (updRc !== 0) {
|
|
1042
1042
|
process.stderr.write(`
|
package/bundle/abtars.js
CHANGED
|
@@ -938,8 +938,12 @@ var CronQueue = class {
|
|
|
938
938
|
if (!paused) this.tryInjectFailure(entry, `${status}
|
|
939
939
|
${(output || "(no output)").slice(0, 500)}`);
|
|
940
940
|
}
|
|
941
|
-
if (!paused)
|
|
941
|
+
if (!paused) {
|
|
942
|
+
if (code !== 0 || output.trim()) {
|
|
943
|
+
onComplete?.(entry.chatId, entry.message, `${status}
|
|
942
944
|
${(output || "(no output)").slice(0, 500)}`);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
943
947
|
this.clearCurrent();
|
|
944
948
|
this.processNext();
|
|
945
949
|
});
|