This commit is contained in:
@@ -97,6 +97,9 @@ export interface CoreServerOptions {
|
||||
pushService?: import('../push-service.js').PushService | null;
|
||||
/** Notifications V2 — VAPID key store. Required when pushService is set. */
|
||||
vapidStore?: import('../vapid-store.js').VapidKeyStore | null;
|
||||
/** Workspace webhook notifications (issue #797). null disables test-send
|
||||
* (route returns 503) but the CRUD routes remain mounted. */
|
||||
webhookService?: import('../webhook-service.js').WebhookDeliveryService | null;
|
||||
/**
|
||||
* TCP port the bridge will listen on. Forwarded to admin endpoints
|
||||
* (e.g. /api/admin/gateway/status) so the UI can label the gateway
|
||||
@@ -465,6 +468,7 @@ export function createCoreServer(opts: CoreServerOptions): {
|
||||
worktreeDir: loadConfig().worktreeDir ?? './data/worktrees',
|
||||
authActive,
|
||||
getPythonPackagesConfig: () => loadConfig().pythonPackages,
|
||||
webhookService: opts.webhookService ?? null,
|
||||
}));
|
||||
|
||||
// BackendStatusRegistry singleton — probes every configured worker
|
||||
|
||||
Reference in New Issue
Block a user