Sync Stats & History window, headless --sync-cli, and Windows remote support (#160)

This commit is contained in:
sudacode authored and GitHub committed 2026-07-13 18:56:51 -07:00
1 parent 66f8ca4f80
commit 49b926e08c
111 files changed
+6983 -1130

No files matched your search

+11
View File
@@ -1,4 +1,5 @@
import {
launchAppCommandDetached,
launchAppBackgroundDetached,
launchTexthookerOnly,
runAppCommandWithInherit,
@@ -7,6 +8,10 @@ import type { LauncherCommandContext } from './context.js';
type AppCommandDeps = {
runAppCommandWithInherit: (appPath: string, appArgs: string[]) => void;
launchSyncUiDetached: (
appPath: string,
logLevel: LauncherCommandContext['args']['logLevel'],
) => void;
launchAppBackgroundDetached: (
appPath: string,
logLevel: LauncherCommandContext['args']['logLevel'],
@@ -15,6 +20,8 @@ type AppCommandDeps = {
const defaultAppCommandDeps: AppCommandDeps = {
runAppCommandWithInherit,
launchSyncUiDetached: (appPath, logLevel) =>
launchAppCommandDetached(appPath, ['--sync-window'], logLevel, 'sync-ui'),
launchAppBackgroundDetached,
};
@@ -30,6 +37,10 @@ export function runAppPassthroughCommand(
deps.runAppCommandWithInherit(appPath, ['--settings']);
return true;
}
if (args.syncUi) {
deps.launchSyncUiDetached(appPath, args.logLevel);
return true;
}
if (!args.appPassthrough) {
return false;
}