@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.js
CHANGED
|
@@ -42087,7 +42087,7 @@ var DaemonCommandRouter = class {
|
|
|
42087
42087
|
async executeMeshRefineNodeSynchronously(meshId, nodeId, args) {
|
|
42088
42088
|
const refineStages = [];
|
|
42089
42089
|
try {
|
|
42090
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
42090
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
42091
42091
|
const mesh = meshRecord?.mesh;
|
|
42092
42092
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
42093
42093
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh`, refineStages };
|
|
@@ -42721,7 +42721,7 @@ ${tail}` : ""
|
|
|
42721
42721
|
const running = this.runningRefineJobs.get(key);
|
|
42722
42722
|
if (running) return { ...running, duplicate: true };
|
|
42723
42723
|
const terminal = this.terminalRefineJobs.get(key);
|
|
42724
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
42724
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
42725
42725
|
const mesh = meshRecord?.mesh;
|
|
42726
42726
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
42727
42727
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh` };
|
|
@@ -44068,7 +44068,7 @@ ${tail}` : ""
|
|
|
44068
44068
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "node removal");
|
|
44069
44069
|
if (ownerFailure) return ownerFailure;
|
|
44070
44070
|
try {
|
|
44071
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44071
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44072
44072
|
const mesh = meshRecord?.mesh;
|
|
44073
44073
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
44074
44074
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
@@ -44124,7 +44124,7 @@ ${tail}` : ""
|
|
|
44124
44124
|
const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
|
|
44125
44125
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
44126
44126
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
44127
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44127
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44128
44128
|
const mesh = meshRecord?.mesh;
|
|
44129
44129
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
44130
44130
|
if (!node?.workspace) return { success: false, error: `Node '${nodeId}' workspace not found` };
|
|
@@ -44145,7 +44145,7 @@ ${tail}` : ""
|
|
|
44145
44145
|
let submoduleIgnorePaths = Array.isArray(args?.submoduleIgnorePaths) ? args.submoduleIgnorePaths.filter((value) => typeof value === "string") : void 0;
|
|
44146
44146
|
let nodeDaemonId;
|
|
44147
44147
|
if (meshId && nodeId) {
|
|
44148
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44148
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44149
44149
|
const mesh = meshRecord?.mesh;
|
|
44150
44150
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
44151
44151
|
if (!workspace) {
|
|
@@ -44189,7 +44189,7 @@ ${tail}` : ""
|
|
|
44189
44189
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
44190
44190
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
44191
44191
|
try {
|
|
44192
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44192
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44193
44193
|
const mesh = meshRecord?.mesh;
|
|
44194
44194
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
44195
44195
|
const sessionCleanupMode = this.normalizeMeshSessionCleanupMode(
|
|
@@ -44513,7 +44513,7 @@ ${tail}` : ""
|
|
|
44513
44513
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "bootstrap retry");
|
|
44514
44514
|
if (ownerFailure) return ownerFailure;
|
|
44515
44515
|
try {
|
|
44516
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
44516
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
44517
44517
|
const mesh = meshRecord?.mesh;
|
|
44518
44518
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
44519
44519
|
const node = mesh.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|