No description
Find a file
Your Name 03a9d2143d Allow fetch in db library vm contexts
Db library scripts are basically a JS module scoped to the db, and
handlers already get fetch — but runLibrary's own vm context only
bound sql/console, so any library calling fetch (e.g. the chat db's
OpenAI call) threw ReferenceError. Since library calls are often
fire-and-forget inside setTimeout (no rejection handler), that
crashed the whole process. Bind fetch in all three places a library
script runs: request-time (runLibrary), the library-editor save eval,
and repl.

Also add `bliss link` to bliss-cli for jumping straight to a
structure/route/template/db's workshop editor URL, including
resolving a db by its require('db')(alias) name.
2026-08-02 23:19:24 -04:00
bliss-cli Allow fetch in db library vm contexts 2026-08-02 23:19:24 -04:00
migrations feat: add file lib to routes, abstract out file upload functionality 2025-02-01 01:14:32 -05:00
public chore: add ws htmx ext to vc 2025-02-12 00:41:58 +09:00
views feat: wip previews for non-get routes 2025-01-21 02:38:24 -05:00
.gitignore chore: various gitignore fixes 2025-01-12 12:13:59 -05:00
backup-deployed.sh featchoremiscmiscmisc 2026-08-02 23:00:26 -04:00
CLAUDE.md Allow fetch in db library vm contexts 2026-08-02 23:19:24 -04:00
db.js chore: remove stray debug console.logs from createScaffoldPage 2026-08-02 22:32:48 -04:00
index.js Allow fetch in db library vm contexts 2026-08-02 23:19:24 -04:00
out.mp3 feat: add route helper to handler context 2025-02-12 00:46:39 +09:00
package-lock.json feat: add web push 2025-01-12 12:07:08 -05:00
package.json feat: add web push 2025-01-12 12:07:08 -05:00
plumbing.js featchoremiscmiscmisc 2026-08-02 23:00:26 -04:00
switch-bliss-data.sh featchoremiscmiscmisc 2026-08-02 23:00:26 -04:00
update-deployed.sh featchoremiscmiscmisc 2026-08-02 23:00:26 -04:00