MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / canHandleMessage

Function canHandleMessage

apps/web/src/lib/bot/platforms/github.ts:306–311  ·  view source on GitHub ↗
({ thread, message, platformIntegration })

Source from the content-addressed store, hash-verified

304 async withAuthContext({ platformIntegration, fn }) {
305 const installationId = platformIntegration.platform_installation_id;
306 if (!installationId) throw new Error('GitHub installation is unavailable for runtime use');
307 await assertGitHubInstallationRuntimeAuthorized(
308 installationId,
309 platformIntegration.github_app_type ?? 'standard',
310 platformIntegration.id
311 );
312 return await fn();
313 },
314 async getConversationContext({ thread, triggerMessage, platformIntegration }) {

Callers

nothing calls this directly

Calls 2

isGitHubRepositoryLinkedFunction · 0.85

Tested by

no test coverage detected