Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
575 B · 18 lines
TypeScript
at main
12345678910111213141516171819import { type CustomMessage, createManualContinuationMessage } from "../../core/messages.js";
export const CONTINUATION_SHORTCUT = ".";
export interface ContinuationSubmission { message: string; customMessage?: CustomMessage; expandPromptTemplates?: false;}
export function resolveContinuationShortcut(input: string, hasAttachments = false): ContinuationSubmission { if (input !== CONTINUATION_SHORTCUT || hasAttachments) return { message: input }; return { message: input, customMessage: createManualContinuationMessage(), expandPromptTemplates: false, };}