(namespace: string, triggerId: string)
| 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 | */ |
| 125 | export type EnrichedCapturedRequest = CapturedRequest & { |
| 126 | kiloSessionId: string | null; |
| 127 | }; |
| 128 | |
| 129 | type WorkerResponse<T> = |
| 130 | | { success: true; data: T; status: number } |
| 131 | | { success: false; error: string; status: number }; |
no test coverage detected