@adhdev/daemon-standalone 0.9.82-rc.229 → 0.9.82-rc.230
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
CHANGED
|
@@ -54496,7 +54496,10 @@ ${effect.notification.body || ""}`.trim();
|
|
|
54496
54496
|
let selectedTranscriptAuthority = transcriptAuthority;
|
|
54497
54497
|
let selectedCoverage = coverage;
|
|
54498
54498
|
let selectedStatus = returnedStatus;
|
|
54499
|
-
const
|
|
54499
|
+
const _targetSidForWs = typeof args?.targetSessionId === "string" ? args.targetSessionId.trim() : "";
|
|
54500
|
+
const _registryWs = _targetSidForWs ? h.ctx?.sessionRegistry?.get?.(_targetSidForWs)?.workspace : void 0;
|
|
54501
|
+
const _currentSessionWs = typeof h.currentSession?.workspace === "string" ? h.currentSession.workspace : typeof adapter.workingDir === "string" ? adapter.workingDir : void 0;
|
|
54502
|
+
const sessionWorkspace = _targetSidForWs ? typeof _registryWs === "string" ? _registryWs : (typeof args?.workspace === "string" ? args.workspace : void 0) ?? _currentSessionWs : _currentSessionWs;
|
|
54500
54503
|
const intendedWorkspace = typeof args?.workspace === "string" ? args.workspace : void 0;
|
|
54501
54504
|
const supportsNative = supportsCliNativeTranscript(providerType, provider) && isNativeSourceCanonicalHistory(provider?.nativeHistory);
|
|
54502
54505
|
const agentStr = provider?.type || args?.agentType || getCurrentProviderType(h, adapter.cliType);
|
|
@@ -60431,7 +60434,8 @@ ${formatManifestValidationIssues2(validation.issues)}`,
|
|
|
60431
60434
|
...this.settings,
|
|
60432
60435
|
meshNodeFor: assignment.meshId,
|
|
60433
60436
|
...assignment.nodeId ? { meshNodeId: assignment.nodeId } : {},
|
|
60434
|
-
...assignment.taskId ? { meshActiveTaskId: assignment.taskId } : {}
|
|
60437
|
+
...assignment.taskId ? { meshActiveTaskId: assignment.taskId } : {},
|
|
60438
|
+
...assignment.coordinatorDaemonId ? { meshCoordinatorDaemonId: assignment.coordinatorDaemonId } : {}
|
|
60435
60439
|
};
|
|
60436
60440
|
this.adapter.updateRuntimeSettings?.(this.settings);
|
|
60437
60441
|
}
|
|
@@ -63893,7 +63897,8 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
63893
63897
|
this.deps.getInstanceManager()?.attachMeshAssignmentToInstance(targetInstanceId, {
|
|
63894
63898
|
meshId: meshContext.meshId,
|
|
63895
63899
|
...typeof meshContext.nodeId === "string" && meshContext.nodeId ? { nodeId: meshContext.nodeId } : {},
|
|
63896
|
-
...typeof meshContext.taskId === "string" && meshContext.taskId ? { taskId: meshContext.taskId } : {}
|
|
63900
|
+
...typeof meshContext.taskId === "string" && meshContext.taskId ? { taskId: meshContext.taskId } : {},
|
|
63901
|
+
...typeof meshContext.coordinatorDaemonId === "string" && meshContext.coordinatorDaemonId ? { coordinatorDaemonId: meshContext.coordinatorDaemonId } : {}
|
|
63897
63902
|
});
|
|
63898
63903
|
} catch {
|
|
63899
63904
|
}
|
|
@@ -76358,7 +76363,7 @@ ${ptyResult.output.slice(-2e3)}`);
|
|
|
76358
76363
|
inst.attachMeshAssignment(assignment);
|
|
76359
76364
|
try {
|
|
76360
76365
|
const { LOG: LOG22 } = (init_logger(), __toCommonJS2(logger_exports));
|
|
76361
|
-
LOG22.info?.("MeshDispatch", `stamped mesh assignment on ${instanceId}: mesh=${assignment.meshId} node=${assignment.nodeId || ""} task=${assignment.taskId || ""}`);
|
|
76366
|
+
LOG22.info?.("MeshDispatch", `stamped mesh assignment on ${instanceId}: mesh=${assignment.meshId} node=${assignment.nodeId || ""} task=${assignment.taskId || ""} coordinator=${assignment.coordinatorDaemonId || ""}`);
|
|
76362
76367
|
} catch {
|
|
76363
76368
|
}
|
|
76364
76369
|
return true;
|