Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
e73a33c
fix(activate): target title-bar commands to their click-origin instance
easonliang28 Sep 4, 2026
fee352b
fix(activate): serialize overlapping openClineInNewTab calls and hard…
easonliang28 Sep 7, 2026
b8d35c2
fix(activate): harden tab creation serialization and centralize title…
easonliang28 Sep 7, 2026
3e1bbe1
test(activate): pin the tracked tab panel passed to getInstanceForView
easonliang28 Sep 7, 2026
476c01c
feat(provider): persist per-view view-state identity and durable view…
easonliang28 Sep 5, 2026
0a047a9
fix(provider): track in-flight view-state mutations per field and exc…
easonliang28 Sep 7, 2026
b2150d9
fix(provider): restore previous view-state id when registration persi…
easonliang28 Sep 7, 2026
11909dc
fix(provider): reject invalid view-state modes and sync profile mutat…
easonliang28 Sep 8, 2026
fd73e79
fix(package): move command palette entries to the commandPalette menu…
easonliang28 Sep 8, 2026
430b573
fix(webview): sync view-local state with mode and profile mutations a…
easonliang28 Sep 8, 2026
00dceb8
fix(provider): close mode-switch abort window, drop bracket access, c…
easonliang28 Sep 14, 2026
ca512af
test(provider): cover abort and pinned profile deletion guards
easonliang28 Sep 14, 2026
9e05e70
test(provider): assert profile settings write identity
easonliang28 Sep 14, 2026
3581660
fix(provider): make mode switch cancellation atomic and preserve view…
easonliang28 Sep 15, 2026
fa0a961
fix(core/webview): purge deleted provider profile from the settings s…
easonliang28 Sep 15, 2026
9765f1d
test: replace double assertions with single structural casts in view-…
easonliang28 Sep 27, 2026
2ac233e
fix(webview): contain the abort rollback failure in handleModeSwitch
easonliang28 Sep 27, 2026
58b417d
fix(webview): restore only the mode field when rolling back an aborte…
easonliang28 Sep 27, 2026
26091c1
fix(core/webview): merge view-local state into getState for per-view …
easonliang28 Sep 6, 2026
5df7c15
fix(webview): rebuild F1b on main tip + own delta
Oct 5, 2026
ac917e9
fix(lint): correct the recorded suppression count for the sticky-mode…
Oct 6, 2026
ff1175a
test(webview): seed the re-key entries through the write path
Oct 6, 2026
3490071
fix(webview): drop the overlay when the surviving profile's settings …
Oct 6, 2026
b5cd314
fix(webview): validate the webview-supplied view state id before adop…
easonliang28 Oct 13, 2026
6941134
fix(webview): refresh pinned views on non-activating saves; treat the…
easonliang28 Oct 13, 2026
9f91f7a
fix(webview): read the view overlay from the buffer, not the merged s…
easonliang28 Oct 13, 2026
fa63cd8
fix(webview): rebuild active task handlers when a pinned profile is s…
easonliang28 Oct 13, 2026
058a14e
test: fix describe nesting, strengthen prune assertion, make stale-entry
easonliang28 Oct 13, 2026
8aa1c1a
fix: rebuild re-pinned siblings' tasks on profile deletion
easonLiangWorldedtech Oct 13, 2026
6d210fd
fix(webview): scope profile-save task rebuilds to the task's own profile
easonliang28 Oct 13, 2026
7a60de8
fix(webview): gate deleted-profile re-pin task writes on the task's o…
easonliang28 Oct 13, 2026
6ce4e92
fix: clear newly-unused bindings surfaced by main unused-vars re-enable
easonliang28 Oct 14, 2026
d5324ae
chore: drop Stryker suppression comments per AGENTS.md policy
easonliang28 Oct 14, 2026
1ade64f
fix: snapshot sibling pinned-view overlays before shared provider-set…
easonliang28 Oct 14, 2026
75ad503
fix(f1b): compensate profile activation writes when a concurrent writ…
easonliang28 Oct 15, 2026
548bdd9
fix(f1b): extend profile mutation compensation to the provider-manage…
easonliang28 Oct 16, 2026
f95087f
test(f1b): wait for the first queued activation deterministically
easonliang28 Oct 16, 2026
8dbe399
fix(f1b): confirm record absence with hasConfig before manager compen…
easonliang28 Oct 16, 2026
71eba20
fix(f1b): keep view caches, pins, and profile creates consistent unde…
easonliang28 Oct 16, 2026
20b61ff
fix(f1b): keep rename re-point typed and snapshot fields complete
easonliang28 Oct 16, 2026
08330e5
fix: re-point closed-view pins on rename, undo half-finished renames,…
easonliang28 Oct 16, 2026
c6558aa
fix: spend the create claim when the profile save itself fails
easonliang28 Oct 16, 2026
9a3a714
fix(webview): hand the stored profile record to rename re-points and …
easonliang28 Oct 16, 2026
d6b5f0a
fix(webview): build activation writes from the stored record, roll ba…
easonliang28 Oct 17, 2026
d400970
fix(webview): close rename compensation gaps and reject colliding tar…
easonliang28 Oct 17, 2026
e48f3db
fix(webview): harden activation rollback against in-flight races
easonliang28 Oct 17, 2026
28e04b8
fix(webview): keep the queue owned through activation compensation
easonliang28 Oct 17, 2026
9a1c303
test(webview): cover the run-to-completion activation contract
easonliang28 Oct 17, 2026
27f3c46
fix(provider): skip timed-out queued mutations, spare cleared pins an…
easonliang28 Oct 17, 2026
aa543ce
fix(provider): harden eviction checks and queue-settled test assertions
easonliang28 Oct 17, 2026
a58ff70
fix(provider): fail closed on unverified profile saves and compensate…
easonliang28 Oct 17, 2026
d9a9492
chore(knip): mark the test-only getPanel seam @internal
easonLiangWorldedtech Oct 22, 2026
4f89998
fix(webview): keep the restored profile id and remove the unreachable…
easonLiangWorldedtech Oct 22, 2026
1318040
style: apply prettier formatting to the profile-restore changes
easonLiangWorldedtech Oct 22, 2026
2806a11
fix(merge): restore the upstream hunks dropped by the main merge
easonLiangWorldedtech Nov 1, 2026
04e7170
chore: drop stray scratch file from the previous commit
easonLiangWorldedtech Nov 1, 2026
117612c
fix(merge): restore the postActions helper dropped by the upstream merge
easonLiangWorldedtech Nov 3, 2026
5b015e4
fix(webview): reconcile profile overlays and harden the view-state wr…
easonLiangWorldedtech Nov 3, 2026
efc8ff7
fix(webview): fail closed on unreadable profile records and stale tas…
easonLiangWorldedtech Nov 3, 2026
3dd5701
fix(webview): close the profile-deletion gaps around survivors, live …
easonLiangWorldedtech Nov 3, 2026
13bab16
fix(webview): keep rollbacks and resets from overwriting other views,…
easonLiangWorldedtech Nov 3, 2026
9d989f7
fix(webview): keep a profile rollback from discarding another view's …
easonLiangWorldedtech Nov 3, 2026
d924534
fix(webview): point the shared selection at the renamed profile when …
easonLiangWorldedtech Nov 3, 2026
5a300c6
fix(commands): let the API's new-tab creation bypass tracked-panel reuse
easonLiangWorldedtech Nov 3, 2026
6a76300
test(extension): expect forceNew in the tab-factory contract
easonLiangWorldedtech Nov 3, 2026
8627b9f
fix(commands): focus the sidebar when plusButtonClicked runs without …
easonLiangWorldedtech Nov 3, 2026
c21aee1
fix(webview): report late profile commits, complete the activation ro…
easonLiangWorldedtech Nov 4, 2026
78b9225
fix(webview): keep rename rollback paired, clear deleted modes from s…
easonLiangWorldedtech Nov 4, 2026
96d34bb
fix(commands): wait for the sidebar webview to resolve before posting…
easonLiangWorldedtech Nov 4, 2026
06d50a1
fix(webview): compare the stored settings before rename compensation …
easonLiangWorldedtech Nov 4, 2026
0ec7133
fix(commands): state what the view-resolution wait actually releases on
easonLiangWorldedtech Nov 4, 2026
e100111
fix(commands): keep a forced tab creation out of an in-flight ordinar…
easonLiangWorldedtech Nov 4, 2026
3ed3c31
fix(webview): read the shared selection after the deletion commits
easonLiangWorldedtech Nov 4, 2026
646e037
fix(webview): hold pre-registration view changes and compensate parti…
easonLiangWorldedtech Nov 4, 2026
a35a582
test(webview): assert the dropped-message log that postMessageToWebvi…
easonLiangWorldedtech Nov 4, 2026
0e5b9c5
fix(webview): bound the lifetime of cleared view state tombstones
easonLiangWorldedtech Nov 4, 2026
9220da1
test(webview): cover the tombstone and compensation gaps the mutation…
easonLiangWorldedtech Nov 4, 2026
2e55bd6
test(webview): pin the order the failed sibling compensation restores in
easonLiangWorldedtech Nov 4, 2026
7e99abd
test(config): cover the not-found contract getProfile has to preserve
easonLiangWorldedtech Nov 4, 2026
838e59b
fix(webview): flush a held pre-registration view state when the provi…
easonLiangWorldedtech Nov 4, 2026
07d5465
test(#1550 r111): make the two review-flagged assertions able to fail
easonLiangWorldedtech Nov 5, 2026
66af675
fix(webview): keep the shared mode on an existing slug when the delet…
easonLiangWorldedtech Nov 5, 2026
bdb7519
test(#1550): cover the launched-view branch of plusButtonClicked
easonLiangWorldedtech Nov 5, 2026
129f8b7
fix(webview): drop the unloadable dispose write and gate the mode map…
easonLiangWorldedtech Nov 5, 2026
524cc09
fix(webview): drop a caller-supplied viewStates map at the settings w…
easonLiangWorldedtech Nov 5, 2026
763329f
fix(extension): drop a caller-supplied viewStates map from setConfigu…
easonLiangWorldedtech Nov 5, 2026
6049a92
test(webview): pin the unset viewStates write the Anything matcher ca…
easonLiangWorldedtech Nov 5, 2026
43d3f5c
test(extension): cover the explicit unset at the API viewStates door
easonLiangWorldedtech Nov 5, 2026
6abbde7
test(activate): restore the diagnostics wiring case 375e25546 dropped
easonLiangWorldedtech Nov 7, 2026
429a683
fix(#1550): record webview delivery outcomes in diagnostics
easonLiangWorldedtech Nov 7, 2026
d2af8df
fix(core): drop a sibling profile snapshot taken across a re-pin
easonLiangWorldedtech Nov 16, 2026
d704ff0
fix(core): keep a mode its payload defines and a clear that lands mid…
easonLiangWorldedtech Nov 17, 2026
3210a7e
fix(webview): heal rebase seams, normalize suppressions formatting, d…
easonLiangWorldedtech Nov 28, 2026
5afbaaa
fix(1550): harden persisted view state against prototype pollution (s…
easonLiangWorldedtech Nov 28, 2026
762433a
fix(1550): honor the task configuration and validate payload modes (r…
easonLiangWorldedtech Nov 28, 2026
2654c06
fix(1550): check the payload before the view buffer in the overlay drop
easonLiangWorldedtech Nov 28, 2026
8e84d67
chore(1550): stop shipping the gh CLI device id and ignore .local
easonLiangWorldedtech Nov 29, 2026
3638441
fix(activate): release the pending tab-panel creation when its panel …
easonLiangWorldedtech Nov 29, 2026
58fdfdb
fix(extension): route an explicit configuration mode through the prov…
easonLiangWorldedtech Nov 29, 2026
7a96e85
fix(webview): close the profile-selection gaps the review found
easonLiangWorldedtech Nov 29, 2026
14a7ac3
test(webview): make the delete and rename orderings actually observable
easonLiangWorldedtech Nov 29, 2026
bfc7752
fix(webview): clear a closed view's persisted mode when the mode is d…
easonLiangWorldedtech Nov 29, 2026
b70f9cd
fix(webview): finish the rollbacks a failed rename or deletion leaves…
easonLiangWorldedtech Nov 29, 2026
c20dbc6
test(webview): prove the rollback orderings with pending calls, not c…
easonLiangWorldedtech Nov 29, 2026
52980ce
test(webview): stop these rows from depending on luck and on leftovers
easonLiangWorldedtech Nov 29, 2026
aad2d05
fix(webview): judge the shared store by what storage says, not by thi…
easonLiangWorldedtech Nov 29, 2026
33fd953
test(webview): let a real sibling view race the deletion
easonLiangWorldedtech Nov 29, 2026
15d4879
test(webview): use the real mode lookup instead of copying its predicate
easonLiangWorldedtech Nov 29, 2026
e102e7f
rename: keep it when the abandoned activation commits after the drain
easonLiangWorldedtech Nov 29, 2026
ce2a306
deleteProviderProfile: undo the re-pins this deletion actually wrote
easonLiangWorldedtech Nov 29, 2026
05c46f3
test: dispose the provider in finally for the persisted-mode row
easonLiangWorldedtech Nov 29, 2026
face591
fix(webview): make the profile-deletion rollback compensate exactly w…
easonLiangWorldedtech Nov 29, 2026
e26de87
test(webview): close the providers every test leaves in the static li…
easonLiangWorldedtech Nov 29, 2026
6bddd6d
fix(webview): post a compensated sibling only after the shared state …
easonLiangWorldedtech Nov 29, 2026
99d390d
test(webview): exercise the real re-pin sweep and pin the post ordering
easonLiangWorldedtech Nov 29, 2026
8c37152
fix(webview): keep the renamed record when another view selects it
easonLiangWorldedtech Nov 29, 2026
64c7f61
test(webview): pin the shared-selection read to after the mutation drain
easonLiangWorldedtech Nov 29, 2026
df49a1f
fix(webview): capture the profile with the task the deletion re-points
easonLiangWorldedtech Nov 29, 2026
6266bc8
fix(webview): keep the re-pin undo entry when the refresh on top of i…
easonLiangWorldedtech Nov 29, 2026
0dc0983
test(webview): cover the sibling conversation the deletion re-pin moves
easonLiangWorldedtech Nov 29, 2026
ad269d1
test(webview): read the compensated post off the message the sibling …
easonLiangWorldedtech Nov 29, 2026
003db14
test(webview): fail the sibling refresh at the durable write and read…
easonLiangWorldedtech Nov 29, 2026
7936108
test(webview): move the competing selection into the rollback window …
easonLiangWorldedtech Nov 29, 2026
0654555
test(webview): release the drain gate and await the handler on every …
easonLiangWorldedtech Nov 29, 2026
4b24f38
fix(webview): keep the sibling undo entry when rebuilding its convers…
easonLiangWorldedtech Nov 29, 2026
20ffc32
test(webview): pin the settings a restored overlay-less sibling serve…
easonLiangWorldedtech Nov 29, 2026
6e813d0
fix(webview): leave a committed rename in place when the drain cannot…
easonLiangWorldedtech Nov 29, 2026
ebb4529
fix(webview): drop a superseded profiles settings when the view pin i…
easonLiangWorldedtech Nov 29, 2026
f86f5a7
fix(webview): restore the acting conversation when its rebuild throws…
easonLiangWorldedtech Nov 29, 2026
fec6ff4
fix(sticky-profile): do not post a sibling whose conversation rebuild…
easonLiangWorldedtech Nov 29, 2026
db64a57
fix(sticky-profile): leave a conversation another view reconfigured d…
easonLiangWorldedtech Nov 29, 2026
594eba9
fix(view-state): count explicit api-configuration clears during profi…
easonLiangWorldedtech Nov 29, 2026
5566ee8
fix(view-state): invalidate mode hydration when local state is cleared
easonLiangWorldedtech Nov 29, 2026
a037d84
fix(profile-rename): keep the shared selection naming a stored profil…
easonLiangWorldedtech Nov 29, 2026
4222afd
test(sticky-profile): read the conversation settings the re-pin leave…
easonLiangWorldedtech Nov 29, 2026
3167adf
test(sticky-profile): pin the sampling instant of the re-pin observat…
easonLiangWorldedtech Nov 29, 2026
f4f15e9
test(sticky-profile): run the retired survivor past the acting conver…
easonLiangWorldedtech Nov 29, 2026
1da0775
test(sticky-profile): state the fresh-handler premise the distinctnes…
easonLiangWorldedtech Nov 29, 2026
adeff13
test(view state): encode the overlay reapply and pin cancel findings …
easonLiangWorldedtech Nov 29, 2026
dc02937
fix(view state): count the profile pin and its settings overlay apart…
easonLiangWorldedtech Nov 29, 2026
7774372
test(profile activation): encode the surviving selection list and set…
easonLiangWorldedtech Nov 29, 2026
acd40ce
fix(profile activation): keep the profile list and settings with the …
easonLiangWorldedtech Nov 29, 2026
5a16dfe
test(profile activation): pin the selection a sibling moves during th…
easonLiangWorldedtech Nov 29, 2026
fd9efa1
test(profile activation): pin the selection a sibling moves onto a na…
easonLiangWorldedtech Nov 29, 2026
f62421b
fix(profile activation): re-read the shared selection before restorin…
easonLiangWorldedtech Nov 29, 2026
dca91cb
test(webview): settle parked work and type the profile doubles
easonLiangWorldedtech Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ bin/
# Local prompts and rules
/local-prompts
AGENTS.local.md
# Local tool state (the gh CLI writes .local/state/gh under a redirected HOME)
.local/
# Personal Roo configuration; shared templates live in contrib/roo/
/.roo/
/.roomodes
Expand Down
5 changes: 5 additions & 0 deletions packages/types/src/__tests__/index.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions packages/types/src/global-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ export const MAX_CHECKPOINT_TIMEOUT_SECONDS = 60
*/
export const DEFAULT_CHECKPOINT_TIMEOUT_SECONDS = 15

/**
* Persisted non-secret selections for a stable webview instance.
*/
export const viewStateSchema = z.object({
mode: z.string().optional(),
currentApiConfigName: z.string().optional(),
updatedAt: z.number().optional(),
})

/**
* GlobalSettings
*/
Expand All @@ -125,6 +134,7 @@ export const globalSettingsSchema = z.object({
currentApiConfigName: z.string().optional(),
listApiConfigMeta: z.array(providerSettingsEntrySchema).optional(),
pinnedApiConfigs: z.record(z.string(), z.boolean()).optional(),
viewStates: z.record(z.string(), viewStateSchema).optional(),

lastShownAnnouncementId: z.string().optional(),
customInstructions: z.string().optional(),
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/vscode-extension-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ export interface WebviewMessage {
| "themeFixtureProbeResponse"
| "diagnosticsResponse"
text?: string
viewStateId?: string
taskId?: string
editedMessageContent?: string
tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud"
Expand Down
8 changes: 8 additions & 0 deletions packages/types/src/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ export const commandIds = [
"popoutButtonClicked",
"settingsButtonClicked",

// Editor-tab (popped-out) surface variants of the title-bar buttons. The
// shared ids above target the sidebar click origin, so the tab surface
// needs its own ids (see registerCommands.ts getTabProvider).
"plusButtonClickedInTab",
"settingsButtonClickedInTab",
"marketplaceButtonClickedInTab",
"historyButtonClickedInTab",

"openInNewTab",

"newTask",
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/extension.spec.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading