abtars 0.1.0-alpha.12 → 0.1.0-alpha.14
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 +4 -4
- 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/daemon-VIBI3SQQ.js +286 -0
- package/bundle/daemon-VIBI3SQQ.js.map +7 -0
- package/bundle/install-AJ7VW76P.js +13 -0
- package/bundle/install-AJ7VW76P.js.map +7 -0
- package/bundle/meta.json +45 -74
- 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(`
|
|
@@ -1398,7 +1398,7 @@ async function main(argv) {
|
|
|
1398
1398
|
return await startCmd();
|
|
1399
1399
|
}
|
|
1400
1400
|
case "daemon": {
|
|
1401
|
-
const { daemon: daemonCmd } = await import("./daemon-
|
|
1401
|
+
const { daemon: daemonCmd } = await import("./daemon-VIBI3SQQ.js");
|
|
1402
1402
|
return await daemonCmd(argv.slice(1));
|
|
1403
1403
|
}
|
|
1404
1404
|
case "logs": {
|
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
|
});
|