@automagik/omni 2.260501.5 → 2.260501.6
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/dist/index.js +1 -1
- package/dist/server/index.js +9 -6
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -114209,7 +114209,7 @@ import { fileURLToPath } from "url";
|
|
|
114209
114209
|
// package.json
|
|
114210
114210
|
var package_default = {
|
|
114211
114211
|
name: "@automagik/omni",
|
|
114212
|
-
version: "2.260501.
|
|
114212
|
+
version: "2.260501.6",
|
|
114213
114213
|
description: "LLM-optimized CLI for Omni",
|
|
114214
114214
|
type: "module",
|
|
114215
114215
|
bin: {
|
package/dist/server/index.js
CHANGED
|
@@ -224686,7 +224686,7 @@ var init_sentry_scrub = __esm(() => {
|
|
|
224686
224686
|
var require_package8 = __commonJS((exports, module) => {
|
|
224687
224687
|
module.exports = {
|
|
224688
224688
|
name: "@omni/api",
|
|
224689
|
-
version: "2.260501.
|
|
224689
|
+
version: "2.260501.6",
|
|
224690
224690
|
type: "module",
|
|
224691
224691
|
exports: {
|
|
224692
224692
|
".": {
|
|
@@ -307481,12 +307481,15 @@ async function setupHistoryPushTracker(eventBus, services) {
|
|
|
307481
307481
|
});
|
|
307482
307482
|
return;
|
|
307483
307483
|
}
|
|
307484
|
-
const update2 = {
|
|
307485
|
-
|
|
307486
|
-
|
|
307487
|
-
|
|
307488
|
-
|
|
307484
|
+
const update2 = {};
|
|
307485
|
+
if (typeof payload.fetched === "number") {
|
|
307486
|
+
update2.fetched = payload.fetched;
|
|
307487
|
+
}
|
|
307488
|
+
if (typeof payload.progress === "number" && payload.progress > 0 && typeof payload.fetched === "number") {
|
|
307489
|
+
update2.totalEstimated = Math.round(payload.fetched / (payload.progress / 100));
|
|
307489
307490
|
}
|
|
307491
|
+
if (Object.keys(update2).length === 0)
|
|
307492
|
+
return;
|
|
307490
307493
|
await services.syncJobs.updateProgress(historyPushJob.id, update2);
|
|
307491
307494
|
historyPushLog.debug("Updated history-push progress", {
|
|
307492
307495
|
jobId: historyPushJob.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automagik/omni",
|
|
3
|
-
"version": "2.260501.
|
|
3
|
+
"version": "2.260501.6",
|
|
4
4
|
"description": "LLM-optimized CLI for Omni",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"qrcode-terminal": "^0.12.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@omni/api": "2.260501.
|
|
55
|
-
"@omni/channel-discord": "2.260501.
|
|
56
|
-
"@omni/channel-gupshup": "2.260501.
|
|
57
|
-
"@omni/channel-sdk": "2.260501.
|
|
58
|
-
"@omni/channel-slack": "2.260501.
|
|
59
|
-
"@omni/channel-telegram": "2.260501.
|
|
60
|
-
"@omni/channel-whatsapp": "2.260501.
|
|
61
|
-
"@omni/core": "2.260501.
|
|
62
|
-
"@omni/sdk": "2.260501.
|
|
54
|
+
"@omni/api": "2.260501.5",
|
|
55
|
+
"@omni/channel-discord": "2.260501.5",
|
|
56
|
+
"@omni/channel-gupshup": "2.260501.5",
|
|
57
|
+
"@omni/channel-sdk": "2.260501.5",
|
|
58
|
+
"@omni/channel-slack": "2.260501.5",
|
|
59
|
+
"@omni/channel-telegram": "2.260501.5",
|
|
60
|
+
"@omni/channel-whatsapp": "2.260501.5",
|
|
61
|
+
"@omni/core": "2.260501.5",
|
|
62
|
+
"@omni/sdk": "2.260501.5",
|
|
63
63
|
"@types/node": "^22.10.3",
|
|
64
64
|
"@types/qrcode-terminal": "^0.12.2",
|
|
65
65
|
"typescript": "^5.7.3"
|