Files
oh-my-opencode/src/hooks/keyword-detector/team/default.ts
T

13 lines
332 B
TypeScript
Raw Normal View History

2026-05-24 18:32:35 +09:00
import { TEAM_MODE_PROMPT } from "@oh-my-opencode/prompts-core"
/**
* Team mode keyword detector.
*
* Triggers when the user explicitly invokes team-mode work:
* team mode, team-mode, team_mode, teammode (case-insensitive)
*/
export const TEAM_PATTERN = /\bteam[\s_-]?mode\b/i
2026-05-24 18:32:35 +09:00
export const TEAM_MESSAGE = TEAM_MODE_PROMPT