Merging to release v0.2.0. #129
Merged
Merged
Conversation
* updated Topup container UI and now working on new chat sync. * beofre swtiching to pns * event creation and publishng works. now syncing * eventSync should be working now. * Chat sync works manually. * added copy button for msgs * chat sync pubkey not found issue * fixed the state bug * could fetch URLs!@ * real time syncing now works * modularized and events loading works now. but doesn't show up on sidebar and also title selection is broken. * live sync works. needs more robust testing and ephemeral pns keys. * option to disable chat sync. * option for local only storage. * local messages are persistent and fixed sorting bugs. * a version that isn't working. local to cloud sync * fixed the chat sync toggle bug * fully applesuace integrated with negentropy * sync is perfect. fixing live sync * now it syncs after every message. * live sync works great * Update * remove local storage altogether * fixing new conv createion * fully using conv ref rn * made single account login at all times. * checkpoint * Fix visible <br> tags in tables * Filter out staging providers in production across ApiKeysTab, ModelsTab, and useApiState hook * sync with derivedPnsKeys * finding EOSE * publishing 1081 event * pnskeys sync works now. * checkout: syncing with new pnskeys * temp * sync works end toend. only the order isn't perfect yet. * fixed sorting of events. itworks great now. * fixing event syncing with manual trigger. * debugging. * handling messgae edits * chekc * hopefully fixed stale sync * fixed editing * fixed build --------- Co-authored-by: redshift <213178690+1ftredsh@users.noreply.github.com> Co-authored-by: Evan Yang <evan@evanfy.com>
* updated Topup container UI and now working on new chat sync. * beofre swtiching to pns * event creation and publishng works. now syncing * eventSync should be working now. * Chat sync works manually. * added copy button for msgs * chat sync pubkey not found issue * fixed the state bug * could fetch URLs!@ * real time syncing now works * modularized and events loading works now. but doesn't show up on sidebar and also title selection is broken. * live sync works. needs more robust testing and ephemeral pns keys. * option to disable chat sync. * option for local only storage. * local messages are persistent and fixed sorting bugs. * a version that isn't working. local to cloud sync * fixed the chat sync toggle bug * fully applesuace integrated with negentropy * sync is perfect. fixing live sync * now it syncs after every message. * live sync works great * Update * remove local storage altogether * fixing new conv createion * fully using conv ref rn * made single account login at all times. * checkpoint * Fix visible <br> tags in tables * Filter out staging providers in production across ApiKeysTab, ModelsTab, and useApiState hook * sync with derivedPnsKeys * finding EOSE * publishing 1081 event * pnskeys sync works now. * checkout: syncing with new pnskeys * temp * sync works end toend. only the order isn't perfect yet. * fixed sorting of events. itworks great now. * fixing event syncing with manual trigger. * debugging. * handling messgae edits * chekc * hopefully fixed stale sync * fixed editing * fixed build * migration script --------- Co-authored-by: redshift <213178690+1ftredsh@users.noreply.github.com> Co-authored-by: Evan Yang <evan@evanfy.com>
- Added satsSpent field to Message type for tracking costs per response - Added onLastMessageSatsUpdate callback to fetchAIResponse - Display sats spent badge on assistant messages in ChatMessages - Added auto-refill settings (NWC and API topup) - Added AutoRefillSettings component to GeneralTab - Added useAutoRefill hook and nwcPayment utility - Added storage utilities for auto-refill settings - Fixed duplicate Keyset import in lib/cashu.ts - Fixed type error in lib/cashuLightning.ts
- Bigger Bitcoin icon (16x16) in sats spent badge - Save satsSpent to localStorage by eventId - Load satsSpent from localStorage when syncing/loading conversations - Preserve satsSpent across Nostr sync updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chat sync being the major upgrade.