refactor(binary): move production composition outside application workflows (#965)

This commit is contained in:
Ysopwnable
2026-10-07 21:56:58 +08:00
committed by GitHub
parent b5afa5f91e
commit 33d4761cc7
34 changed files with 359 additions and 76 deletions
@@ -0,0 +1,12 @@
import type { AppConfig } from "../config.js";
import type { Logger } from "../logger.js";
import type { BinarySession } from "./binary/BinarySession.js";
/** Existing one-shot session factories supplied by the production boundary. */
export interface DirectAnalysisDependencies {
readonly createBinarySession: (
config: AppConfig,
logger: Logger,
) => BinarySession;
readonly createManagedBinarySession: () => BinarySession;
}