Commit 38c8a42
committed
fix: stabilize real-mouse pet on new Codex App / 稳定新版 App 桌宠真实鼠标交互
中文:适配新版 Codex App 的 avatar overlay 生命周期变化,避免瞬时能力探测失败、旧 driver 清理和迟到 dispatcher 订阅停掉新的真实鼠标 runtime。改用宠物几何边界优先让出原生 hover/拖拽。此提交不包含桌宠持续状态功能。
English: Adapt the real-mouse pet runtime to the new Codex App avatar-overlay lifecycle. Transient capability probe failures, stale driver cleanup, and late dispatcher subscriptions no longer retire the replacement runtime. Mascot geometry yields to native hover and drag interaction. Persistent pet status is intentionally excluded.1 parent 285f40e commit 38c8a42
3 files changed
Lines changed: 47 additions & 28 deletions
File tree
- assets/inject
- crates/codex-plus-core
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| |||
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
131 | | - | |
132 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
138 | | - | |
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2275 | 2275 | | |
2276 | 2276 | | |
2277 | 2277 | | |
2278 | | - | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2279 | 2282 | | |
2280 | 2283 | | |
2281 | 2284 | | |
2282 | 2285 | | |
2283 | 2286 | | |
2284 | 2287 | | |
2285 | | - | |
2286 | | - | |
| 2288 | + | |
| 2289 | + | |
2287 | 2290 | | |
2288 | 2291 | | |
2289 | 2292 | | |
2290 | 2293 | | |
2291 | | - | |
2292 | | - | |
2293 | | - | |
| 2294 | + | |
| 2295 | + | |
2294 | 2296 | | |
2295 | 2297 | | |
2296 | 2298 | | |
| |||
2304 | 2306 | | |
2305 | 2307 | | |
2306 | 2308 | | |
2307 | | - | |
2308 | | - | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
2309 | 2320 | | |
2310 | 2321 | | |
2311 | 2322 | | |
| |||
2353 | 2364 | | |
2354 | 2365 | | |
2355 | 2366 | | |
2356 | | - | |
2357 | | - | |
2358 | | - | |
2359 | | - | |
2360 | | - | |
2361 | | - | |
2362 | | - | |
2363 | | - | |
2364 | | - | |
2365 | 2367 | | |
2366 | 2368 | | |
2367 | 2369 | | |
| |||
2399 | 2401 | | |
2400 | 2402 | | |
2401 | 2403 | | |
2402 | | - | |
2403 | | - | |
2404 | | - | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
2405 | 2411 | | |
2406 | 2412 | | |
2407 | 2413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
0 commit comments