chore(rivetkit): update wa-sqlite references in comments to @rivetkit/sqlite#4267
Conversation
PR ReviewThis PR does two things: renames Code Changes
The refactor is well-motivated and the reasoning is clearly documented. Making this a method instead of a property enables drivers to use dynamic imports, which is the right approach for keeping the core driver bundle free of SQLite. One subtle concern in if (!this.#sqliteVfs && this.driver.getSqliteVfs) {
this.#sqliteVfs = await this.driver.getSqliteVfs();
}The old code ( Dynamic import concatenation in const specifier = "@rivetkit/" + "sqlite-vfs";
const { SqliteVfs } = await import(specifier);The comment explaining why this is necessary (prevent wrangler/esbuild static analysis) is good. TypeScript loses type narrowing on the destructured Singleton in This file exports a Breaking change Removing Comment/Documentation UpdatesAll The Adding "Codex" to the supported assistants list in SummaryThe rename is clean and complete. The substantive change (property → method) is sound. Main items worth addressing before merge:
|

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: