Skip to content

Merging to release v0.2.0. #129

Merged
sh1ftred merged 47 commits into
productionfrom
main
Dec 15, 2025
Merged

Merging to release v0.2.0. #129
sh1ftred merged 47 commits into
productionfrom
main

Conversation

@sh1ftred
Copy link
Copy Markdown
Contributor

Chat sync being the major upgrade.

sh1ftred and others added 30 commits December 5, 2025 10:47
* 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
@sh1ftred sh1ftred merged commit cc7c117 into production Dec 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants