2c8e2dac41
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
14 lines
728 B
TypeScript
14 lines
728 B
TypeScript
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)
|
|
|
|
function stripFinalLineFeed(prompt: string): string {
|
|
return prompt.endsWith("\n") ? prompt.slice(0, -1) : prompt
|
|
}
|