refactor(mode-prompts): migrate hyperplan prompt

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-24 18:32:45 +09:00
parent e79baf5910
commit 2c8e2dac41
4 changed files with 36 additions and 26 deletions
+6 -1
View File
@@ -9,4 +9,9 @@ export type {
export { resolveVariant } from "./variant-resolver"
export type { ResolveVariantInput } from "./variant-resolver"
export { loadPrompt, PromptFileNotFoundError, PromptPathTraversalError } from "./loader"
export { ANALYZE_MODE_PROMPT, SEARCH_MODE_PROMPT, TEAM_MODE_PROMPT } from "./mode-prompts"
export {
ANALYZE_MODE_PROMPT,
HYPERPLAN_MODE_PROMPT,
SEARCH_MODE_PROMPT,
TEAM_MODE_PROMPT,
} from "./mode-prompts"
@@ -1,8 +1,10 @@
import hyperplanModePrompt from "../prompts/mode/hyperplan.md" with { type: "text" }
import analyzeModePrompt from "../prompts/mode/analyze.md" with { type: "text" }
import searchModePrompt from "../prompts/mode/search.md" with { type: "text" }
import teamModePrompt from "../prompts/mode/team.md" with { type: "text" }
export const ANALYZE_MODE_PROMPT = stripFinalLineFeed(analyzeModePrompt)
export const HYPERPLAN_MODE_PROMPT = stripFinalLineFeed(hyperplanModePrompt)
export const SEARCH_MODE_PROMPT = stripFinalLineFeed(searchModePrompt)
export const TEAM_MODE_PROMPT = stripFinalLineFeed(teamModePrompt)