Files
UHD_Media_Tool/apps/server/src/modules/index.ts
T
rootandClaude Opus 5.5 adffe36846 feat(server): browser module with DB-backed sessions, takeover lease and browser.* capabilities
/browser/providers, /browser/sessions (open/close/list), navigate/snapshot/screenshot/
click/type/scroll/select/extract/download and control acquire/release. Human input
needs an active lease; expiry or captcha moves the session to waiting with a decision;
release forces a fresh snapshot. Downloads are staged under DATA_DIR/tmp, verified by
infohash and submitted through POST /acquisition-plans. Capability count 21 -> 25.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 20:17:46 +08:00

31 lines
1.1 KiB
TypeScript

import { acquisitionOrganizeModule } from "./acquisition-organize/index.ts";
import { agentModule } from "./agent/index.ts";
import { authSettingsModule } from "./auth-settings/index.ts";
import { browserModule } from "./browser/index.ts";
import { fileManagerModule } from "./file-manager/index.ts";
import { piModule } from "./pi/index.ts";
import { schedulesModule } from "./schedules/index.ts";
import { searchModule } from "./search/index.ts";
import { sourcesIdentityModule } from "./sources-identity/index.ts";
import { systemModule } from "./system/index.ts";
import type { ServerModule } from "./types.ts";
export type * from "./types.ts";
/**
* 模块清单:http/app.ts(路由)与 worker(任务/中继/后台循环)都从这里取。
* 顺序即注册顺序;auth-settings 在前(其它模块的路由依赖它的登录门禁中间件)。
*/
export const SERVER_MODULES: readonly ServerModule[] = [
authSettingsModule,
sourcesIdentityModule,
acquisitionOrganizeModule,
agentModule,
fileManagerModule,
piModule,
schedulesModule,
searchModule,
browserModule,
systemModule,
];