adhdev 0.9.82-rc.60 → 0.9.82-rc.61
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/index.js +11 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -49506,6 +49506,7 @@ var init_router = __esm({
|
|
|
49506
49506
|
workspace: readStringValue(args.node?.workspace),
|
|
49507
49507
|
startedAt: args.startedAt || (/* @__PURE__ */ new Date()).toISOString(),
|
|
49508
49508
|
...args.completedAt ? { completedAt: args.completedAt } : {},
|
|
49509
|
+
...args.retryOfJobId ? { retryOfJobId: args.retryOfJobId } : {},
|
|
49509
49510
|
eventDelivery: { pendingEvents: true, ledger: true },
|
|
49510
49511
|
evidence: {
|
|
49511
49512
|
pendingEventsCommand: "get_pending_mesh_events",
|
|
@@ -49532,6 +49533,7 @@ var init_router = __esm({
|
|
|
49532
49533
|
status: handle.status,
|
|
49533
49534
|
startedAt: handle.startedAt,
|
|
49534
49535
|
completedAt: handle.completedAt,
|
|
49536
|
+
retryOfJobId: handle.retryOfJobId,
|
|
49535
49537
|
...result ? { result } : {}
|
|
49536
49538
|
},
|
|
49537
49539
|
queuedAt: Date.now()
|
|
@@ -49554,9 +49556,11 @@ var init_router = __esm({
|
|
|
49554
49556
|
targetDaemonId: handle.targetDaemonId,
|
|
49555
49557
|
workspace: handle.workspace,
|
|
49556
49558
|
startedAt: handle.startedAt,
|
|
49557
|
-
completedAt: handle.completedAt
|
|
49559
|
+
completedAt: handle.completedAt,
|
|
49560
|
+
retryOfJobId: handle.retryOfJobId
|
|
49558
49561
|
},
|
|
49559
49562
|
async: true,
|
|
49563
|
+
retryOfJobId: handle.retryOfJobId,
|
|
49560
49564
|
...result ? {
|
|
49561
49565
|
success: result.success === true,
|
|
49562
49566
|
result,
|
|
@@ -49794,6 +49798,7 @@ var init_router = __esm({
|
|
|
49794
49798
|
completedAt,
|
|
49795
49799
|
jobId: handle.jobId,
|
|
49796
49800
|
interactionId: handle.interactionId,
|
|
49801
|
+
retryOfJobId: handle.retryOfJobId,
|
|
49797
49802
|
node: { daemonId: handle.targetDaemonId, workspace: handle.workspace }
|
|
49798
49803
|
});
|
|
49799
49804
|
const terminal2 = { ...terminalHandle, result };
|
|
@@ -49808,13 +49813,12 @@ var init_router = __esm({
|
|
|
49808
49813
|
const running = this.runningRefineJobs.get(key);
|
|
49809
49814
|
if (running) return { ...running, duplicate: true };
|
|
49810
49815
|
const terminal2 = this.terminalRefineJobs.get(key);
|
|
49811
|
-
if (terminal2) return { ...terminal2, duplicate: true };
|
|
49812
49816
|
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
49813
49817
|
const mesh = meshRecord?.mesh;
|
|
49814
49818
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
49815
49819
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh` };
|
|
49816
49820
|
if (!node.isLocalWorktree || !node.workspace) return { success: false, error: `Refinery requires a local worktree node` };
|
|
49817
|
-
const handle = this.buildRefineJobHandle({ meshId, nodeId, node });
|
|
49821
|
+
const handle = this.buildRefineJobHandle({ meshId, nodeId, node, retryOfJobId: terminal2?.jobId });
|
|
49818
49822
|
this.runningRefineJobs.set(key, handle);
|
|
49819
49823
|
await this.appendRefineJobLedger("task_dispatched", handle);
|
|
49820
49824
|
this.queueRefineJobEvent("refine:accepted", handle);
|
|
@@ -60597,7 +60601,7 @@ var require_yoctocolors_cjs = __commonJS({
|
|
|
60597
60601
|
}
|
|
60598
60602
|
});
|
|
60599
60603
|
|
|
60600
|
-
// ../../node_modules/@inquirer/figures/dist/esm/index.
|
|
60604
|
+
// ../../node_modules/@inquirer/figures/dist/esm/index.mjs
|
|
60601
60605
|
function isUnicodeSupported() {
|
|
60602
60606
|
if (import_node_process3.default.platform !== "win32") {
|
|
60603
60607
|
return import_node_process3.default.env["TERM"] !== "linux";
|
|
@@ -60609,7 +60613,7 @@ function isUnicodeSupported() {
|
|
|
60609
60613
|
}
|
|
60610
60614
|
var import_node_process3, common2, specialMainSymbols, specialFallbackSymbols, mainSymbols, fallbackSymbols, shouldUseMain, figures, esm_default, replacements;
|
|
60611
60615
|
var init_esm3 = __esm({
|
|
60612
|
-
"../../node_modules/@inquirer/figures/dist/esm/index.
|
|
60616
|
+
"../../node_modules/@inquirer/figures/dist/esm/index.mjs"() {
|
|
60613
60617
|
"use strict";
|
|
60614
60618
|
import_node_process3 = __toESM(require("process"), 1);
|
|
60615
60619
|
common2 = {
|
|
@@ -60880,10 +60884,7 @@ var init_esm3 = __esm({
|
|
|
60880
60884
|
oneNinth: "1/9",
|
|
60881
60885
|
oneTenth: "1/10"
|
|
60882
60886
|
};
|
|
60883
|
-
mainSymbols = {
|
|
60884
|
-
...common2,
|
|
60885
|
-
...specialMainSymbols
|
|
60886
|
-
};
|
|
60887
|
+
mainSymbols = { ...common2, ...specialMainSymbols };
|
|
60887
60888
|
fallbackSymbols = {
|
|
60888
60889
|
...common2,
|
|
60889
60890
|
...specialFallbackSymbols
|
|
@@ -101012,7 +101013,7 @@ var init_adhdev_daemon = __esm({
|
|
|
101012
101013
|
init_version();
|
|
101013
101014
|
init_src();
|
|
101014
101015
|
init_runtime_defaults();
|
|
101015
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
101016
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.61" });
|
|
101016
101017
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
101017
101018
|
localHttpServer = null;
|
|
101018
101019
|
localWss = null;
|