@adhdev/daemon-core 0.9.82-rc.258 → 0.9.82-rc.259
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 +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/router.ts +16 -7
package/dist/index.mjs
CHANGED
|
@@ -41760,7 +41760,7 @@ var DaemonCommandRouter = class {
|
|
|
41760
41760
|
async executeMeshRefineNodeSynchronously(meshId, nodeId, args) {
|
|
41761
41761
|
const refineStages = [];
|
|
41762
41762
|
try {
|
|
41763
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
41763
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
41764
41764
|
const mesh = meshRecord?.mesh;
|
|
41765
41765
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
41766
41766
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh`, refineStages };
|
|
@@ -42394,7 +42394,7 @@ ${tail}` : ""
|
|
|
42394
42394
|
const running = this.runningRefineJobs.get(key);
|
|
42395
42395
|
if (running) return { ...running, duplicate: true };
|
|
42396
42396
|
const terminal = this.terminalRefineJobs.get(key);
|
|
42397
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
42397
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
42398
42398
|
const mesh = meshRecord?.mesh;
|
|
42399
42399
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
42400
42400
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh` };
|
|
@@ -43741,7 +43741,7 @@ ${tail}` : ""
|
|
|
43741
43741
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "node removal");
|
|
43742
43742
|
if (ownerFailure) return ownerFailure;
|
|
43743
43743
|
try {
|
|
43744
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
43744
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
43745
43745
|
const mesh = meshRecord?.mesh;
|
|
43746
43746
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
43747
43747
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
@@ -43797,7 +43797,7 @@ ${tail}` : ""
|
|
|
43797
43797
|
const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
|
|
43798
43798
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
43799
43799
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
43800
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
43800
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
43801
43801
|
const mesh = meshRecord?.mesh;
|
|
43802
43802
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
43803
43803
|
if (!node?.workspace) return { success: false, error: `Node '${nodeId}' workspace not found` };
|
|
@@ -43818,7 +43818,7 @@ ${tail}` : ""
|
|
|
43818
43818
|
let submoduleIgnorePaths = Array.isArray(args?.submoduleIgnorePaths) ? args.submoduleIgnorePaths.filter((value) => typeof value === "string") : void 0;
|
|
43819
43819
|
let nodeDaemonId;
|
|
43820
43820
|
if (meshId && nodeId) {
|
|
43821
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
43821
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
43822
43822
|
const mesh = meshRecord?.mesh;
|
|
43823
43823
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
43824
43824
|
if (!workspace) {
|
|
@@ -43862,7 +43862,7 @@ ${tail}` : ""
|
|
|
43862
43862
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
43863
43863
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
43864
43864
|
try {
|
|
43865
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
43865
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
43866
43866
|
const mesh = meshRecord?.mesh;
|
|
43867
43867
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
43868
43868
|
const sessionCleanupMode = this.normalizeMeshSessionCleanupMode(
|
|
@@ -44186,7 +44186,7 @@ ${tail}` : ""
|
|
|
44186
44186
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "bootstrap retry");
|
|
44187
44187
|
if (ownerFailure) return ownerFailure;
|
|
44188
44188
|
try {
|
|
44189
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44189
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44190
44190
|
const mesh = meshRecord?.mesh;
|
|
44191
44191
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
44192
44192
|
const node = mesh.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|