mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
14 lines
348 B
TypeScript
14 lines
348 B
TypeScript
import { feature } from 'bun:bundle'
|
|
|
|
export function handleRemoteInterrupt(
|
|
abortController: AbortController | null,
|
|
): void {
|
|
if (feature('PROACTIVE') || feature('KAIROS')) {
|
|
const { pauseProactive } =
|
|
require('../proactive/index.js') as typeof import('../proactive/index.js')
|
|
pauseProactive()
|
|
}
|
|
|
|
abortController?.abort()
|
|
}
|