(options: unknown)
| 4609 | } |
| 4610 | } |
| 4611 | function maybeActivateProactive(options: unknown): void { |
| 4612 | if ((feature('PROACTIVE') || feature('KAIROS')) && ((options as { |
| 4613 | proactive?: boolean; |
| 4614 | }).proactive || isEnvTruthy(process.env.CLAUDE_CODE_PROACTIVE))) { |
| 4615 | // eslint-disable-next-line @typescript-eslint/no-require-imports |
| 4616 | const proactiveModule = require('./proactive/index.js'); |
| 4617 | if (!proactiveModule.isProactiveActive()) { |
| 4618 | proactiveModule.activateProactive('command'); |
| 4619 | } |
| 4620 | } |
| 4621 | } |
| 4622 | function maybeActivateBrief(options: unknown): void { |
| 4623 | if (!(feature('KAIROS') || feature('KAIROS_BRIEF'))) return; |
| 4624 | const briefFlag = (options as { |
no test coverage detected