@drisp/cli 0.6.0 → 0.6.1
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.
|
@@ -15063,6 +15063,7 @@ function createDashboardFeedOutbox(options = {}) {
|
|
|
15063
15063
|
last_error
|
|
15064
15064
|
FROM dashboard_feed_outbox
|
|
15065
15065
|
WHERE acked_at IS NULL AND next_attempt_at <= ?
|
|
15066
|
+
AND (? IS NULL OR instance_id = ?)
|
|
15066
15067
|
ORDER BY delivery_seq ASC
|
|
15067
15068
|
LIMIT ?
|
|
15068
15069
|
`);
|
|
@@ -15106,7 +15107,13 @@ function createDashboardFeedOutbox(options = {}) {
|
|
|
15106
15107
|
enqueueTx(input);
|
|
15107
15108
|
},
|
|
15108
15109
|
pendingBatch(input) {
|
|
15109
|
-
const
|
|
15110
|
+
const instanceId = input.instanceId ?? null;
|
|
15111
|
+
const rows = selectPending.all(
|
|
15112
|
+
input.now,
|
|
15113
|
+
instanceId,
|
|
15114
|
+
instanceId,
|
|
15115
|
+
input.limit
|
|
15116
|
+
);
|
|
15110
15117
|
return rows.map((row) => {
|
|
15111
15118
|
const feedEvent = JSON.parse(row.feed_event_json);
|
|
15112
15119
|
return {
|
|
@@ -15170,7 +15177,18 @@ function createPairedFeedPublisher(options = {}) {
|
|
|
15170
15177
|
}
|
|
15171
15178
|
function drain(force = false) {
|
|
15172
15179
|
if (!transport) return;
|
|
15180
|
+
let config2;
|
|
15181
|
+
try {
|
|
15182
|
+
config2 = readConfig2();
|
|
15183
|
+
} catch (err) {
|
|
15184
|
+
onError(
|
|
15185
|
+
`paired feed drain failed: ${err instanceof Error ? err.message : String(err)}`
|
|
15186
|
+
);
|
|
15187
|
+
return;
|
|
15188
|
+
}
|
|
15189
|
+
if (!config2) return;
|
|
15173
15190
|
const rows = getOutbox().pendingBatch({
|
|
15191
|
+
instanceId: config2.instanceId,
|
|
15174
15192
|
limit: 100,
|
|
15175
15193
|
now: force ? Number.POSITIVE_INFINITY : now()
|
|
15176
15194
|
});
|
|
@@ -34101,4 +34119,4 @@ export {
|
|
|
34101
34119
|
RunnerStartupError,
|
|
34102
34120
|
startRunnerProcess
|
|
34103
34121
|
};
|
|
34104
|
-
//# sourceMappingURL=chunk-
|
|
34122
|
+
//# sourceMappingURL=chunk-HQWVYIYF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startRunnerProcess
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQWVYIYF.js";
|
|
4
4
|
|
|
5
5
|
// src/app/entry/runnerDaemon.ts
|
|
6
6
|
import path from "path";
|
|
@@ -53,4 +53,4 @@ if (process.argv.includes("--help")) {
|
|
|
53
53
|
export {
|
|
54
54
|
runRunnerDaemonEntry
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-OT72W4DD.js.map
|
package/dist/cli.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
wrapText,
|
|
102
102
|
writeAttachmentMirror,
|
|
103
103
|
writeDashboardClientConfig
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-HQWVYIYF.js";
|
|
105
105
|
import {
|
|
106
106
|
generateId as generateId2
|
|
107
107
|
} from "./chunk-USK5VSQ7.js";
|
|
@@ -8811,7 +8811,7 @@ function WizardHints({ stepState, stepIndex }) {
|
|
|
8811
8811
|
|
|
8812
8812
|
// src/infra/telemetry/client.ts
|
|
8813
8813
|
import { PostHog } from "posthog-node";
|
|
8814
|
-
var POSTHOG_API_KEY = true ? "
|
|
8814
|
+
var POSTHOG_API_KEY = true ? "" : "";
|
|
8815
8815
|
var POSTHOG_HOST = "https://us.i.posthog.com";
|
|
8816
8816
|
var client = null;
|
|
8817
8817
|
var deviceId = null;
|
|
@@ -13147,7 +13147,7 @@ var cachedVersion = null;
|
|
|
13147
13147
|
function readPackageVersion() {
|
|
13148
13148
|
if (cachedVersion !== null) return cachedVersion;
|
|
13149
13149
|
try {
|
|
13150
|
-
const injected = "0.6.
|
|
13150
|
+
const injected = "0.6.1";
|
|
13151
13151
|
if (typeof injected === "string" && injected.length > 0) {
|
|
13152
13152
|
cachedVersion = injected;
|
|
13153
13153
|
return cachedVersion;
|
package/dist/dashboard-daemon.js
CHANGED
package/dist/runner.js
CHANGED