clitrigger 0.2.23 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{FloatingComposerController-5A3GJtK4-CWUcBAHE.js → FloatingComposerController-5A3GJtK4-D5OJqjB6.js} +1 -1
- package/dist/client/assets/{index-NHcv0wbo.js → index-7c5uNap1.js} +287 -286
- package/dist/client/assets/{index-DBty5-8m.css → index-CyIseJUh.css} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/routes/svn.d.ts.map +1 -1
- package/dist/server/routes/svn.js +37 -0
- package/dist/server/routes/svn.js.map +1 -1
- package/dist/server/services/claude-manager.d.ts.map +1 -1
- package/dist/server/services/claude-manager.js +11 -0
- package/dist/server/services/claude-manager.js.map +1 -1
- package/dist/server/services/cli-status.d.ts +8 -0
- package/dist/server/services/cli-status.d.ts.map +1 -1
- package/dist/server/services/cli-status.js +18 -0
- package/dist/server/services/cli-status.js.map +1 -1
- package/dist/server/services/session-manager.d.ts.map +1 -1
- package/dist/server/services/session-manager.js +12 -7
- package/dist/server/services/session-manager.js.map +1 -1
- package/dist/server/services/svn-manager.d.ts +4 -0
- package/dist/server/services/svn-manager.d.ts.map +1 -1
- package/dist/server/services/svn-manager.js +25 -0
- package/dist/server/services/svn-manager.js.map +1 -1
- package/electron/main.cjs +13 -4
- package/package.json +1 -1
package/electron/main.cjs
CHANGED
|
@@ -251,7 +251,12 @@ function createWindow(port) {
|
|
|
251
251
|
// doesn't go dead after resume.
|
|
252
252
|
mainWindow.webContents.on('did-create-window', (childWin) => {
|
|
253
253
|
childWin.on('focus', () => {
|
|
254
|
-
|
|
254
|
+
// Skip when webContents already holds focus — a redundant programmatic
|
|
255
|
+
// focus() resets the Windows IME (TSF) caret context, which is the
|
|
256
|
+
// prime suspect for the candidate window jumping to the screen corner.
|
|
257
|
+
if (childWin.isDestroyed() || childWin.webContents.isFocused()) return;
|
|
258
|
+
imeDebugLog('popout', { event: 'focus-bridge' });
|
|
259
|
+
childWin.webContents.focus();
|
|
255
260
|
});
|
|
256
261
|
attachImeWindowLogging(childWin, 'popout');
|
|
257
262
|
});
|
|
@@ -269,10 +274,14 @@ function createWindow(port) {
|
|
|
269
274
|
// Windows lock-screen / screensaver hands the native HWND keyboard focus
|
|
270
275
|
// off to the lock UI; on resume it doesn't always return to webContents,
|
|
271
276
|
// leaving every input (SessionForm, SessionTerminal) dead until the user
|
|
272
|
-
// minimizes and restores. Re-focus webContents on
|
|
273
|
-
//
|
|
277
|
+
// minimizes and restores. Re-focus webContents on window focus — but only
|
|
278
|
+
// when it doesn't already hold focus: a redundant programmatic focus()
|
|
279
|
+
// resets the Windows IME (TSF) caret context (candidate window jumps to
|
|
280
|
+
// the screen corner).
|
|
274
281
|
mainWindow.on('focus', () => {
|
|
275
|
-
if (
|
|
282
|
+
if (mainWindow.isDestroyed() || mainWindow.webContents.isFocused()) return;
|
|
283
|
+
imeDebugLog('mainWindow', { event: 'focus-bridge' });
|
|
284
|
+
mainWindow.webContents.focus();
|
|
276
285
|
});
|
|
277
286
|
}
|
|
278
287
|
|