mirror of
https://mirror.skon.top/github.com/code-yeongyu/oh-my-opencode
synced 2026-04-30 18:50:29 +08:00
feat(keyword-detector): register hyperplan in keyword detectors array
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -5,10 +5,12 @@ export { isPlannerAgent, isNonOmoAgent, getUltraworkMessage } from "./ultrawork"
|
||||
export { SEARCH_PATTERN, SEARCH_MESSAGE } from "./search"
|
||||
export { ANALYZE_PATTERN, ANALYZE_MESSAGE } from "./analyze"
|
||||
export { TEAM_PATTERN, TEAM_MESSAGE } from "./team"
|
||||
export { HYPERPLAN_PATTERN, HYPERPLAN_MESSAGE } from "./hyperplan"
|
||||
|
||||
import { getUltraworkMessage } from "./ultrawork"
|
||||
import { SEARCH_PATTERN, SEARCH_MESSAGE } from "./search"
|
||||
import { TEAM_PATTERN, TEAM_MESSAGE } from "./team"
|
||||
import { HYPERPLAN_PATTERN, HYPERPLAN_MESSAGE } from "./hyperplan"
|
||||
|
||||
export type KeywordDetector = {
|
||||
pattern: RegExp
|
||||
@@ -47,4 +49,8 @@ Example: delegate_task(subagent_type="explore", prompt="...", run_in_background=
|
||||
pattern: TEAM_PATTERN,
|
||||
message: TEAM_MESSAGE,
|
||||
},
|
||||
{
|
||||
pattern: HYPERPLAN_PATTERN,
|
||||
message: HYPERPLAN_MESSAGE,
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user