@adhdev/daemon-core 0.9.82-rc.11 → 0.9.82-rc.13
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 +2 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/router.ts +2 -8
package/dist/index.mjs
CHANGED
|
@@ -25293,14 +25293,8 @@ var DaemonCommandRouter = class {
|
|
|
25293
25293
|
case "get_mesh": {
|
|
25294
25294
|
const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
|
|
25295
25295
|
if (!meshId) return { success: false, error: "meshId required" };
|
|
25296
|
-
|
|
25297
|
-
|
|
25298
|
-
const mesh = getMesh3(meshId);
|
|
25299
|
-
if (mesh) return { success: true, mesh };
|
|
25300
|
-
} catch {
|
|
25301
|
-
}
|
|
25302
|
-
const cached = this.inlineMeshCache.get(meshId);
|
|
25303
|
-
if (cached) return { success: true, mesh: cached };
|
|
25296
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
25297
|
+
if (meshRecord?.mesh) return { success: true, mesh: meshRecord.mesh };
|
|
25304
25298
|
return { success: false, error: "Mesh not found" };
|
|
25305
25299
|
}
|
|
25306
25300
|
case "create_mesh": {
|