omnius 1.0.26 → 1.0.27
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 +19 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -631555,7 +631555,25 @@ Respond to the scoped Telegram target when complete.`);
|
|
|
631555
631555
|
};
|
|
631556
631556
|
const dispatchDueReminders = async () => {
|
|
631557
631557
|
try {
|
|
631558
|
-
const
|
|
631558
|
+
const sessionId = process.env["OMNIUS_SESSION_ID"] || "terminal";
|
|
631559
|
+
const dueBatches = await Promise.all([
|
|
631560
|
+
getDueReminders(repoRoot, {
|
|
631561
|
+
deliveryMode: "any",
|
|
631562
|
+
includeUnscoped: true,
|
|
631563
|
+
scope: { surface: "tui", targetId: sessionId }
|
|
631564
|
+
}),
|
|
631565
|
+
getDueReminders(repoRoot, {
|
|
631566
|
+
deliveryMode: "any",
|
|
631567
|
+
scope: { surface: "telegram" }
|
|
631568
|
+
}),
|
|
631569
|
+
getDueReminders(repoRoot, {
|
|
631570
|
+
deliveryMode: "any",
|
|
631571
|
+
scope: { surface: "global" }
|
|
631572
|
+
})
|
|
631573
|
+
]);
|
|
631574
|
+
const due = Array.from(
|
|
631575
|
+
new Map(dueBatches.flat().map((reminder) => [reminder.id, reminder])).values()
|
|
631576
|
+
);
|
|
631559
631577
|
const dispatched = [];
|
|
631560
631578
|
for (const reminder of due) {
|
|
631561
631579
|
const ok2 = await dispatchDueReminder(reminder);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.27",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED