chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-07 03:28:52 +00:00
parent fe0c4f8c74
commit 155e1f20d6
25 changed files with 571 additions and 408 deletions
+1 -4
View File
@@ -5,10 +5,7 @@ export function stripPromptPartIDs<Part extends { id: string; messageID: string;
return rest
}
export function expandPastedTextPlaceholders(
text: string,
parts: readonly unknown[],
) {
export function expandPastedTextPlaceholders(text: string, parts: readonly unknown[]) {
return parts.reduce<string>((result, part) => {
if (!isPastedTextPart(part)) return result
return result.replace(part.source.text.value, part.text)