(b: AnyCb)
| 3400 | // left behind become orphans: invisible in the catalog, yet still |
| 3401 | // listed to agents and still targetable by reconnect. |
| 3402 | const where = (b: AnyCb) => b("integration", "=", String(slug)); |
| 3403 | yield* cascadeCore.deleteMany("tool", { where }); |
| 3404 | yield* cascadeCore.deleteMany("definition", { where }); |
| 3405 | yield* cascadeCore.deleteMany("connection", { where }); |