Conversation
…el actions Co-authored-by: Copilot <copilot@github.com>
… V4 models - Limit file attachments to images (by MIME type or extension), updating drag-and-drop, paste, and file picker to filter non-image files - Add DeepSeek V4 Flash and V4 Pro preset models to the provider registry - Improve CI pipeline: add typecheck step, use yarn zip, verify zip package - Bump extension version to 0.5.5 - Fix TypeScript types for chrome.scripting and context menu APIs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Augment PR SummarySummary: This PR tightens the browser extension’s attachment handling to image-only inputs, adds new DeepSeek V4 preset models, and strengthens the extension release CI. Changes:
Technical notes: Non-image drops/pastes are silently ignored; image detection uses 🤖 Was this summary useful? React with 👍 or 👎 |
| { | ||
| "name": "huntly", | ||
| "version": "1.0.0", | ||
| "version": "0.5.5", |
There was a problem hiding this comment.
app/extension/package.json:3 The extension version is being set from 1.0.0 down to 0.5.5; can you confirm this won’t break update/install flows (Chrome Web Store requires monotonically increasing versions once a build is published)?
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| if (item.kind !== "file") return false; | ||
| const file = item.getAsFile(); | ||
| if (file) return isImageFile(file); | ||
| return item.type ? item.type.startsWith("image/") : true; |
There was a problem hiding this comment.
app/extension/src/sidepanel/hooks/useDragAndDropZone.ts:32 The fallback : true when item.type is empty will treat unknown file drags as “image droppable”, so the “Drop images” overlay may show for non-image files that then get ignored on drop.
Severity: low
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| type: "file", | ||
| filename: file.name, | ||
| mediaType: file.type || "application/octet-stream", | ||
| mediaType, |
There was a problem hiding this comment.
app/extension/src/sidepanel/utils/tabContext.ts:158 Since mediaType can now be inferred from the file extension, readFileAsDataUrl(file) may still produce a data: URL with a non-image/* MIME when file.type is empty, which could make <img src={dataUrl}> previews fail despite mediaType indicating an image.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Summary
deepseek-v4-flashanddeepseek-v4-propreset models to the provider registry while preserving existing defaults.yarn buildtoyarn zip, add Python verification script that checks manifest version matches tag version and zip containsmanifest.json.1.0.0→0.5.5.chrome.scriptingdynamic API, context menu context arrays, and message response casting. Clean upMessageFooterfunction overload.Test plan
ImagePlus, label is "Add images"image/*🤖 Generated with Claude Code