@buildautomaton/cli 0.1.95 → 0.1.96
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/cli.js +6 -4
- package/dist/cli.js.map +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +2 -2
- package/dist/worker.js +0 -1
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40386,7 +40386,7 @@ function createBridgeHeartbeatController(params) {
|
|
|
40386
40386
|
}
|
|
40387
40387
|
|
|
40388
40388
|
// ../bridge/src/cli/cli-version.ts
|
|
40389
|
-
var CLI_VERSION = "0.1.
|
|
40389
|
+
var CLI_VERSION = "0.1.96".length > 0 ? "0.1.96" : "0.0.0-dev";
|
|
40390
40390
|
|
|
40391
40391
|
// ../bridge/src/connection/identify/send-bridge-identify.ts
|
|
40392
40392
|
function sendBridgeIdentify(ws, params) {
|
|
@@ -50880,6 +50880,7 @@ async function executePromptQueueActions(actions, deps) {
|
|
|
50880
50880
|
continue;
|
|
50881
50881
|
}
|
|
50882
50882
|
if (action.type === "start_run") {
|
|
50883
|
+
if (getRunIdQueueKey(action.turn.turnId)) continue;
|
|
50883
50884
|
const ok = await markTurnRunning(action.queueKey, action.turn, deps);
|
|
50884
50885
|
if (!ok) {
|
|
50885
50886
|
report[action.queueKey] = [{ turnId: action.turn.turnId, cliState: "failed" }];
|
|
@@ -50930,7 +50931,7 @@ var SLOW_QUEUE_SYNC_MS = 2e3;
|
|
|
50930
50931
|
async function persistAndReconcileQueue(queueKey, serverTurns, deps) {
|
|
50931
50932
|
const prev = await readPersistedQueue(queueKey);
|
|
50932
50933
|
const merged = mergeServerSnapshotWithLocal(queueKey, serverTurns, prev);
|
|
50933
|
-
const liveCheck = (runId) => deps.acpManager.isRegisteredRun(runId);
|
|
50934
|
+
const liveCheck = (runId) => deps.acpManager.isRegisteredRun(runId) || getRunIdQueueKey(runId) != null;
|
|
50934
50935
|
const actions = reconcileQueueActions(queueKey, merged.turns, liveCheck);
|
|
50935
50936
|
merged.turns = applyStaleRunningNormalization(merged.turns, liveCheck);
|
|
50936
50937
|
await writePersistedQueue(merged);
|
|
@@ -53344,7 +53345,7 @@ function createPendingAuthOnMessage(params) {
|
|
|
53344
53345
|
}
|
|
53345
53346
|
|
|
53346
53347
|
// src/cli-version.ts
|
|
53347
|
-
var CLI_VERSION2 = "0.1.
|
|
53348
|
+
var CLI_VERSION2 = "0.1.96".length > 0 ? "0.1.96" : "0.0.0-dev";
|
|
53348
53349
|
|
|
53349
53350
|
// src/auth/pending/pending-auth-on-open.ts
|
|
53350
53351
|
function createPendingAuthOnOpen(params) {
|