(title: string, message: string, status = 200)
| 33 | import { effectiveAppTypeCondition } from '@/lib/integrations/db/predicates'; |
| 34 | import { ensureMemberOrganizationAccess } from '@kilocode/web-shared/routers/organizations/utils'; |
| 35 | import { |
| 36 | createPendingIntegration, |
| 37 | findGitHubBotLinkIntegrations, |
| 38 | findIntegrationByInstallationIdForOwner, |
| 39 | upsertPlatformIntegrationForOwner, |
| 40 | } from '@/lib/integrations/db/platform-integrations'; |
| 41 | import type { |
| 42 | PlatformRepository, |
| 43 | IntegrationPermissions, |
| 44 | Owner, |
| 45 | } from '@/lib/integrations/core/types'; |
| 46 | import { db } from '@kilocode/web-shared/lib/drizzle'; |
| 47 | import { and, eq, inArray, isNull, sql } from 'drizzle-orm'; |
| 48 | import { captureException, captureMessage } from '@sentry/nextjs'; |
| 49 | import { verifyGitHubBotLinkState } from '@/lib/bot/github-link-state'; |
| 50 | import { linkKiloUser } from '@/lib/bot-identity'; |
no outgoing calls
no test coverage detected