Versions 288 to 289
Lines 221–246 at 289 (were 221–244 at 288)
221221 // copy has it already: the build points the import at the same file (scripts/build-client.mjs).
224− registerHooks?: (hooks: unknown) => { deregister(): void };
226− const hooks = mod.registerHooks?.({
226+ // The hook stays for the rest of the process: deregistering it crashes Node 24 at exit when the compile cache
233− const { handle, ProjectObject } = await import("./local-server.mjs");
234− return {
235− DatabaseSync: sqlite.DatabaseSync,
236− handle,
237− ProjectObject,
238− };
239− } finally {
240− hooks?.deregister();
238+ // Nothing is reached for here: a part of the client is missing (its packages not installed, say).
240+ `local projects couldn't load the server's code: ${e instanceof Error ? e.message : String(e)}`,
243+ return { DatabaseSync: sqlite.DatabaseSync, handle: loaded.handle, ProjectObject: loaded.ProjectObject };
- MCP
- compare on this site's /mcp
- CLI
- abso diff 288 289 client/src/local-store.ts --json
- JSON
- /christopher/abso-core/compare/288..289?file=client%2Fsrc%2Flocal-store.ts&format=json