letagents 0.12.24 → 0.12.25
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.
|
@@ -200,7 +200,9 @@ export function profileAwareToolServer(server, profile, dependencies = productio
|
|
|
200
200
|
return result;
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
|
-
|
|
203
|
+
// Reuse the daemon effect classification for native MCP approval UI.
|
|
204
|
+
// Unknown tools remain mutations; this hint never bypasses the turn fence.
|
|
205
|
+
return target.tool.call(target, name, ...registration.slice(0, -1), { readOnlyHint: !mutation }, wrapped);
|
|
204
206
|
};
|
|
205
207
|
},
|
|
206
208
|
});
|
package/package.json
CHANGED
|
@@ -845,10 +845,8 @@ export async function ensureRequestedRootsProjected(database, roomId, rootNumber
|
|
|
845
845
|
workStartedAt = performance.now();
|
|
846
846
|
}
|
|
847
847
|
if (batch.processed === 0) break;
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
throw new LocalThreadRoutingProjectionUnavailableError();
|
|
851
|
-
}
|
|
848
|
+
// Recheck completion before enforcing the next batch's deadline. A final
|
|
849
|
+
// committed batch may finish just before a long event-loop yield.
|
|
852
850
|
}
|
|
853
851
|
}
|
|
854
852
|
|