export function resolveCodexInput(
attachments: readonly MessageAttachment[] | undefined,
): IResolvedCodexInput {
const cleanupPaths: string[] = [];
const input: UserInput[] = [];
const textChunks: string[] = [prompt];
if (attachments && attachments.length > 0) {
for (const att of attachments) {
switch (att.type) {