alpha
Login
or
Join now
burrito.space
/
hezo
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
group conversations with models and local files
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
hezo
/
server
/
schemas
1 file
at
main
dietrich ayala
feat: account-level bot-following + navigable browser history
1mo ago
17789a03
index.ts
feat: account-level bot-following + navigable browser history Bot-following — configure a bot once and it auto-joins every project you open (current and future, including invited ones), regardless of where you added it: - New per-device recipe store (src/lib/userbots.ts) synced to the server as a wrapped blob (wrapped_user_bots column, /api/me/bots), mirroring the existing provider-key sync. Recipes carry no secrets; the @pinger still spends their own provider key. - Propagation on project open: seed each recipe into the project CRDT with bot id = recipe id so it converges across devices and re-opens; per-device seed tracking so a manual removal sticks. - Startup harvest reads every project's locally-persisted (plaintext) Automerge doc and pulls the user's own bots up into the library, so the set is complete no matter which project is opened first. Sidebar "Add bot" also registers the bot in the library. - New IDB stores + DB v5; migration v8 adds the server column. - "My bots" manager in Settings. Navigation — fix the back button: - Opening a project now pushState's a history entry (was replaceState, so back had nothing to return to). In-app "back to Projects" delegates to history.back(); popstate resolves #p=<id> via an App-held project list so forward/back into a project works while the list is unmounted. History normalized on mount so deep-link/reload into a project still has the list beneath it.
1 month ago