@adhdev/daemon-standalone 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/package.json +1 -1
- package/vendor/mcp-server/index.js +57 -7
- package/vendor/mcp-server/index.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -71635,7 +71635,7 @@ ${e?.stderr || ""}`
|
|
|
71635
71635
|
async executeMeshRefineNodeSynchronously(meshId, nodeId, args) {
|
|
71636
71636
|
const refineStages = [];
|
|
71637
71637
|
try {
|
|
71638
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
71638
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
71639
71639
|
const mesh = meshRecord?.mesh;
|
|
71640
71640
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
71641
71641
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh`, refineStages };
|
|
@@ -72269,7 +72269,7 @@ ${tail}` : ""
|
|
|
72269
72269
|
const running = this.runningRefineJobs.get(key);
|
|
72270
72270
|
if (running) return { ...running, duplicate: true };
|
|
72271
72271
|
const terminal = this.terminalRefineJobs.get(key);
|
|
72272
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
72272
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
72273
72273
|
const mesh = meshRecord?.mesh;
|
|
72274
72274
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
72275
72275
|
if (!node) return { success: false, error: `Node '${nodeId}' not found in mesh` };
|
|
@@ -73616,7 +73616,7 @@ ${tail}` : ""
|
|
|
73616
73616
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "node removal");
|
|
73617
73617
|
if (ownerFailure) return ownerFailure;
|
|
73618
73618
|
try {
|
|
73619
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
73619
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
73620
73620
|
const mesh = meshRecord?.mesh;
|
|
73621
73621
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
73622
73622
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
@@ -73672,7 +73672,7 @@ ${tail}` : ""
|
|
|
73672
73672
|
const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
|
|
73673
73673
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
73674
73674
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
73675
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
73675
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
73676
73676
|
const mesh = meshRecord?.mesh;
|
|
73677
73677
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
73678
73678
|
if (!node?.workspace) return { success: false, error: `Node '${nodeId}' workspace not found` };
|
|
@@ -73693,7 +73693,7 @@ ${tail}` : ""
|
|
|
73693
73693
|
let submoduleIgnorePaths = Array.isArray(args?.submoduleIgnorePaths) ? args.submoduleIgnorePaths.filter((value) => typeof value === "string") : void 0;
|
|
73694
73694
|
let nodeDaemonId;
|
|
73695
73695
|
if (meshId && nodeId) {
|
|
73696
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
73696
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
73697
73697
|
const mesh = meshRecord?.mesh;
|
|
73698
73698
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
73699
73699
|
if (!workspace) {
|
|
@@ -73737,7 +73737,7 @@ ${tail}` : ""
|
|
|
73737
73737
|
const nodeId = typeof args?.nodeId === "string" ? args.nodeId.trim() : "";
|
|
73738
73738
|
if (!meshId || !nodeId) return { success: false, error: "meshId and nodeId required" };
|
|
73739
73739
|
try {
|
|
73740
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
73740
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
73741
73741
|
const mesh = meshRecord?.mesh;
|
|
73742
73742
|
const node = mesh?.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|
|
73743
73743
|
const sessionCleanupMode = this.normalizeMeshSessionCleanupMode(
|
|
@@ -74061,7 +74061,7 @@ ${tail}` : ""
|
|
|
74061
74061
|
const ownerFailure = await this.requireMeshHostMutationOwner(meshId, args?.inlineMesh, "bootstrap retry");
|
|
74062
74062
|
if (ownerFailure) return ownerFailure;
|
|
74063
74063
|
try {
|
|
74064
|
-
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh);
|
|
74064
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
74065
74065
|
const mesh = meshRecord?.mesh;
|
|
74066
74066
|
if (!mesh) return { success: false, error: "Mesh not found" };
|
|
74067
74067
|
const node = mesh.nodes?.find((n) => n.id === nodeId || n.nodeId === nodeId);
|