Skip to content

Agent panel unlocks after buying Pro from Export - #100

Merged
mehfuzh merged 1 commit into
mainfrom
license-sync
Nov 10, 2026
Merged

mehfuzh merged 1 commit into
mainfrom
license-sync

Conversation

@mehfuzh

@mehfuzh mehfuzh commented Nov 10, 2026

Copy link
Copy Markdown
Member

Buying Pro from the Export dialog activated the license, but the agent panel kept the plan it had fetched earlier and stayed locked until a restart.

  • Saving or removing the license key now bumps a shared counter, sf_license::license_generation. That covers activating, signing in, renewing, signing out, and the license moving to another computer.
  • The agent panel fetches the plan again when the counter changes, and keeps the chat.
  • Export re-reads the key when it changes, so an upgrade or sign-out in the agent panel shows there too.
  • The agent panel's own sign-ins don't trigger a second fetch.

Buying Pro from Export saved the key but the agent panel kept the plan it had
fetched, so it stayed locked until a restart. Saving or removing the key now
bumps sf_license::license_generation; the agent panel fetches the plan again
when it changed (keeping the chat), and Export re-reads the key.
@mehfuzh
mehfuzh merged commit 9faa0fd into main Nov 10, 2026
3 checks passed
@mehfuzh
mehfuzh deleted the license-sync branch November 10, 2026 04:47
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.

1 participant