Skip to content

fix(ai): prevent UI flicker on entitlement refresh and enforce absolute paths#2712

Merged
abose merged 5 commits intomainfrom
zz
Feb 24, 2026
Merged

fix(ai): prevent UI flicker on entitlement refresh and enforce absolute paths#2712
abose merged 5 commits intomainfrom
zz

Conversation

@abose
Copy link
Member

@abose abose commented Feb 24, 2026

Track current entitlement state so _checkEntitlementAndInit skips re-rendering when the state hasn't changed (e.g. background token refresh). Also add system prompt instruction to always use full absolute paths for file operations.

…te paths

Track current entitlement state so _checkEntitlementAndInit skips
re-rendering when the state hasn't changed (e.g. background token
refresh). Also add system prompt instruction to always use full
absolute paths for file operations.
…d add [AI Control] log prefix

CMD_OPEN didn't reliably pin files to the working set, causing the AI's
open-file tool to report success while the file wasn't actually visible.
Working set entries now return { path, isDirty } so the AI can see
unsaved files. Added [AI Control] prefixed console.error to screenshot,
edit, and live preview failure paths for better debuggability.
@sonarqubecloud
Copy link

@abose abose merged commit d59aeba into main Feb 24, 2026
17 of 21 checks passed
@abose abose deleted the zz branch February 24, 2026 11:44
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