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

Function buildTriggerPath

apps/web/src/lib/webhook-agent/webhook-agent-client.ts:120–128  ·  view source on GitHub ↗
(namespace: string, triggerId: string)

Source from the content-addressed store, hash-verified

118 triggerSource: 'webhook' | 'scheduled';
119};
120
121/**
122 * Captured request enriched with kiloSessionId from PostgreSQL lookup.
123 * Used for UI display where we need the cli_sessions.id for navigation.
124 */
125export type EnrichedCapturedRequest = CapturedRequest & {
126 kiloSessionId: string | null;
127};
128
129type WorkerResponse<T> =
130 | { success: true; data: T; status: number }
131 | { success: false; error: string; status: number };

Callers 5

createWorkerTriggerFunction · 0.85
getWorkerTriggerFunction · 0.85
updateWorkerTriggerFunction · 0.85
deleteWorkerTriggerFunction · 0.85
listWorkerRequestsFunction · 0.85

Calls 1

encodeUserIdForPathFunction · 0.90

Tested by

no test coverage detected