Commit 65da3d1
committed
fix: address critical review findings on upstream sync
1. apps/desktop/src/main.ts: remove duplicate
GET_LOCAL_ENVIRONMENT_BOOTSTRAP_CHANNEL handler that shadowed the
correct upstream handler with the fork's legacy { label, wsUrl }
shape. The contract-compliant handler at line 1551-1563 now wins.
2. apps/desktop/src/main.ts: wire updateInstallInFlight into
installDownloadedUpdate (set true on install start, cleared on
error) and resolveUpdaterErrorContext so channel-switch guards
and error-context reporting see the install-in-flight state.
3. apps/server/src/provider/providerStatusCache.ts: revert
PROVIDER_CACHE_IDS to [codex, claudeAgent] (the set the registry
actually caches). Fix ProviderRegistry.persistProvider to skip
non-cached provider kinds without a non-null-assertion crash.1 parent 9574396 commit 65da3d1
3 files changed
Lines changed: 15 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| |||
1219 | 1220 | | |
1220 | 1221 | | |
1221 | 1222 | | |
| 1223 | + | |
1222 | 1224 | | |
1223 | 1225 | | |
1224 | 1226 | | |
1225 | 1227 | | |
1226 | 1228 | | |
1227 | 1229 | | |
1228 | 1230 | | |
| 1231 | + | |
1229 | 1232 | | |
1230 | 1233 | | |
1231 | 1234 | | |
| |||
1664 | 1667 | | |
1665 | 1668 | | |
1666 | 1669 | | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | 1670 | | |
1676 | 1671 | | |
1677 | 1672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | | - | |
| 14 | + | |
22 | 15 | | |
23 | 16 | | |
24 | 17 | | |
| |||
0 commit comments