@adhdev/daemon-standalone 0.9.82-rc.12 → 0.9.82-rc.14

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 CHANGED
@@ -47503,14 +47503,8 @@ ${(0, import_node_path.resolve)(workspace || os17.tmpdir())}`;
47503
47503
  case "get_mesh": {
47504
47504
  const meshId = typeof args?.meshId === "string" ? args.meshId.trim() : "";
47505
47505
  if (!meshId) return { success: false, error: "meshId required" };
47506
- try {
47507
- const { getMesh: getMesh3 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
47508
- const mesh = getMesh3(meshId);
47509
- if (mesh) return { success: true, mesh };
47510
- } catch {
47511
- }
47512
- const cached2 = this.inlineMeshCache.get(meshId);
47513
- if (cached2) return { success: true, mesh: cached2 };
47506
+ const meshRecord = await this.getMeshForCommand(meshId, args?.inlineMesh, { preferInline: true });
47507
+ if (meshRecord?.mesh) return { success: true, mesh: meshRecord.mesh };
47514
47508
  return { success: false, error: "Mesh not found" };
47515
47509
  }
47516
47510
  case "create_mesh": {