Skip to content

feat: add refresh instructions button#353

Draft
maxtara wants to merge 1 commit intostagingfrom
feature/instructions-refresh
Draft

feat: add refresh instructions button#353
maxtara wants to merge 1 commit intostagingfrom
feature/instructions-refresh

Conversation

@maxtara
Copy link
Collaborator

@maxtara maxtara commented Feb 12, 2026

Add a refresh button next to Instructions in the right panel that kills the SDK client and creates a fresh one, forcing instruction files to be re-read from disk.

The SDK caches instructions at the client level, so a full client restart is required to pick up changes.

Before (instructions changed between chats).:
image
Creating new session - still no change. Stuck talking like an Australian!

After:
image
In between "hi", I changed instructions and hit the refresh button near instructions. Results - now talking like a pirate

Add a refresh button next to Instructions in the right panel that
kills the SDK client and creates a fresh one, forcing instruction
files to be re-read from disk.

- Add copilot:resumeSession IPC handler in main.ts
- Add resumeSession bridge method in preload.ts
- Add refresh button with RepeatIcon in App.tsx (desktop + mobile)

The SDK caches instructions at the client level, so a full client
restart is required to pick up changes to instruction files.
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