UNPKG

@hasna/projects

Version:

High-level project management CLI, MCP server, SDK, and AI SDK agent loop for coding agents

18 lines • 882 B
import type { ApiKeyStatus, AuthAuditHook } from "../types/client-types.js"; import { ProjectsPgStore } from "./pg-store.js"; import { type ContactProjectMembershipAuthority } from "../lib/project-contact-links.js"; export interface ServeAppOptions { store: ProjectsPgStore; /** Trusted immutable server configuration only; absent/invalid disables issuer routes. */ projectionPolicy?: unknown; contacts?: ContactProjectMembershipAuthority; version: string; app?: string; signingSecret: string | Buffer; keyStatus?: (kid: string) => ApiKeyStatus | Promise<ApiKeyStatus>; allowUnregisteredKeys?: boolean; audit?: AuthAuditHook; } /** Build the fetch handler used by Bun.serve (and directly testable). */ export declare function createFetchHandler(options: ServeAppOptions): (req: Request) => Promise<Response>; //# sourceMappingURL=app.d.ts.map