|
1 | 1 | export const CODE_BLOCK_PATTERN = /```[\s\S]*?```/g |
2 | 2 | export const INLINE_CODE_PATTERN = /`[^`]+`/g |
3 | 3 |
|
4 | | -export { isPlannerAgent, isNonOmoAgent, getUltraworkMessage } from "./ultrawork" |
5 | | -export { SEARCH_PATTERN, SEARCH_MESSAGE } from "./search" |
6 | | -export { ANALYZE_PATTERN, ANALYZE_MESSAGE } from "./analyze" |
7 | | -export { TEAM_PATTERN, TEAM_MESSAGE } from "./team" |
8 | | -export { HYPERPLAN_PATTERN, HYPERPLAN_MESSAGE } from "./hyperplan" |
9 | | - |
10 | 4 | import type { KeywordType } from "../../config/schema/keyword-detector" |
11 | | -import { getUltraworkMessage } from "./ultrawork" |
| 5 | +import { getUltraworkMessage, isPlannerAgent, isNonOmoAgent } from "./ultrawork" |
12 | 6 | import { SEARCH_PATTERN, SEARCH_MESSAGE } from "./search" |
13 | 7 | import { ANALYZE_PATTERN, ANALYZE_MESSAGE } from "./analyze" |
14 | 8 | import { TEAM_PATTERN, TEAM_MESSAGE } from "./team" |
15 | 9 | import { HYPERPLAN_PATTERN, HYPERPLAN_MESSAGE } from "./hyperplan" |
16 | 10 |
|
| 11 | +export { isPlannerAgent, isNonOmoAgent, getUltraworkMessage } |
| 12 | +export { SEARCH_PATTERN, SEARCH_MESSAGE } |
| 13 | +export { ANALYZE_PATTERN, ANALYZE_MESSAGE } |
| 14 | +export { TEAM_PATTERN, TEAM_MESSAGE } |
| 15 | +export { HYPERPLAN_PATTERN, HYPERPLAN_MESSAGE } |
| 16 | + |
17 | 17 | // Hyperplan-ultrawork combo: strict adjacency, both word orders |
18 | 18 | export const HYPERPLAN_ULTRAWORK_PATTERN = |
19 | 19 | /\b(?:hpp|hyperplan)\s+(?:ulw|ultrawork)\b|\b(?:ulw|ultrawork)\s+(?:hpp|hyperplan)\b/i |
|
0 commit comments