2026-05-24 18:32:45 +09:00
|
|
|
import hyperplanModePrompt from "../prompts/mode/hyperplan.md" with { type: "text" }
|
2026-05-24 18:32:19 +09:00
|
|
|
import analyzeModePrompt from "../prompts/mode/analyze.md" with { type: "text" }
|
2026-05-24 18:31:17 +09:00
|
|
|
import searchModePrompt from "../prompts/mode/search.md" with { type: "text" }
|
2026-05-24 18:32:35 +09:00
|
|
|
import teamModePrompt from "../prompts/mode/team.md" with { type: "text" }
|
2026-05-24 18:31:17 +09:00
|
|
|
|
2026-05-24 18:32:19 +09:00
|
|
|
export const ANALYZE_MODE_PROMPT = stripFinalLineFeed(analyzeModePrompt)
|
2026-05-24 18:32:45 +09:00
|
|
|
export const HYPERPLAN_MODE_PROMPT = stripFinalLineFeed(hyperplanModePrompt)
|
2026-05-24 18:31:17 +09:00
|
|
|
export const SEARCH_MODE_PROMPT = stripFinalLineFeed(searchModePrompt)
|
2026-05-24 18:32:35 +09:00
|
|
|
export const TEAM_MODE_PROMPT = stripFinalLineFeed(teamModePrompt)
|
2026-05-24 18:31:17 +09:00
|
|
|
|
|
|
|
|
function stripFinalLineFeed(prompt: string): string {
|
|
|
|
|
return prompt.endsWith("\n") ? prompt.slice(0, -1) : prompt
|
|
|
|
|
}
|