mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-27 04:49:49 -07:00
04095eebf7
Move snapshot/merge/quiescence engine and ssh helpers from launcher/sync into src/core/services/stats-sync, parameterized on a minimal SyncDb driver. The launcher binds it to bun:sqlite via launcher/sync/bun-driver; the sync command becomes a thin adapter over the shared sync flow.
11 lines
313 B
TypeScript
11 lines
313 B
TypeScript
// Re-exported from the shared stats-sync engine so the launcher and the
|
|
// app's --sync-cli mode resolve remotes and shell out identically.
|
|
export {
|
|
assertSafeSshHost,
|
|
resolveRemoteSubminerCommand,
|
|
runScp,
|
|
runSsh,
|
|
shellQuote,
|
|
type RemoteRunResult,
|
|
} from '../../src/core/services/stats-sync/ssh.js';
|