(filename)
| 3078 | } |
| 3079 | |
| 3080 | function resolveAttachmentPath(filename) { |
| 3081 | const raw = String(filename || ""); |
| 3082 | if (!raw) return ""; |
| 3083 | if (raw.startsWith("~/")) return join(process.env.HOME, raw.slice(2)); |
| 3084 | return raw; |
| 3085 | } |
| 3086 | |
| 3087 | async function prepareIMessageModelImage(filePath) { |
| 3088 | const sourcePath = String(filePath || "").trim(); |
no outgoing calls
no test coverage detected