Cleanup imports and formatting in bridge

Reorder and tidy imports, re-export types, and apply minor formatting fixes across the bridge package. Changes include:

- Reordered imports and grouped related imports in hook-manager, hook-session, pipe-watcher, qq-hook-client, qq-port-probe and others.
- Moved several type re-exports (HookProcessBaseInfo, QqPortLoginInfo, HookProcessInfo/Status) in hook-manager and consolidated exports in package entry index.ts.
- Minor whitespace/style tweaks: constructor spacing, for-loop formatting, empty catch handlers, and small refactors that do not change runtime behavior.

These are non-functional housekeeping changes to improve consistency and readability.
This commit is contained in:
手瓜一十雪 committed 2026-05-24 13:14:36 +08:00
1 parent a49e507e15
commit afbec8ed44
7 files changed
+22 -29

No files matched your search

+3 -11
View File
@@ -1,13 +1,5 @@
// Public entry — re-exports the hook orchestration surface that the
// top-level app (and webui readers) consume. Everything else is
// internal to the package.
export {
HookManager,
type HookManagerDeps,
type BridgeManagerSink,
type HookProcessInfo,
type HookProcessStatus,
type HookProcessBaseInfo,
type QqPortLoginInfo,
HookManager, type BridgeManagerSink, type HookManagerDeps, type HookProcessBaseInfo, type HookProcessInfo,
type HookProcessStatus, type QqPortLoginInfo
} from './hook-manager';