@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.js
CHANGED
|
@@ -25526,14 +25526,8 @@ var DaemonCommandRouter = class {
|
|
|
25526
25526
|
case "get_mesh": {
|
|
25527
25527
|
const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
|
|
25528
25528
|
if (!meshId) return { success: false, error: "meshId required" };
|
|
25529
|
-
|
|
25530
|
-
|
|
25531
|
-
const mesh = getMesh3(meshId);
|
|
25532
|
-
if (mesh) return { success: true, mesh };
|
|
25533
|
-
} catch {
|
|
25534
|
-
}
|
|
25535
|
-
const cached = this.inlineMeshCache.get(meshId);
|
|
25536
|
-
if (cached) return { success: true, mesh: cached };
|
|
25529
|
+
const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
|
|
25530
|
+
if (meshRecord?.mesh) return { success: true, mesh: meshRecord.mesh };
|
|
25537
25531
|
return { success: false, error: "Mesh not found" };
|
|
25538
25532
|
}
|
|
25539
25533
|
case "create_mesh": {
|