/** * Git-graph trust fence: loopback (the desktop) always passes; a live * paired-device cookie is an additional allow path when remote-web-ui is * loaded. The plugin never depends on that plugin — without the service the * fence stays loopback-only. The decision logic lives in the generated * pair-access.ts copy (shared by git-graph / pet / skill-explorer). */ import type { IncomingMessage } from 'node:http'; import type { Context } from '@deepseek-ai/cordis'; /** * Whether this request may enter any /git route (JSON operations or SSE). * @param ctx - host context; may expose remoteWebUiPairing. * @param request - the incoming HTTP request. * @returns true for loopback, or a live paired-device cookie. */ export declare function isGitAllowed(ctx: Context, request: IncomingMessage): boolean; //# sourceMappingURL=access.d.ts.map