Skip to content

Import a note's pictures and videos through the assistant; film-reel favicon - #16

Merged
davior merged 1 commit into
mainfrom
claude/intelligent-noether-lxy6n9
Oct 24, 2026
Merged

davior merged 1 commit into
mainfrom
claude/intelligent-noether-lxy6n9

Conversation

@davior

@davior davior commented Oct 24, 2026

Copy link
Copy Markdown
Owner

What

Notes' own media via the assistant. Attaching a Gecko Notes note to the assistant now also records the pictures, videos and sounds the note holds (only files Notes serves from /media/, in reading order, each with the heading it sat under). The assistant sees them as n1, n2… in the attachment, and a new import_note_media tool copies the chosen ones into the user's GAM library and registers them as assets in the working spec. It can then place them with set_visual, add_overlay or add_audio_track.

So: attach a note, then ask "import this note as a script, using the images and videos from it", and the proposal contains the script plus the note's media on the matching scenes.

  • The tool only accepts ids from attached notes, so the model can't make the server fetch an arbitrary URL; remote links in a note are skipped. The existing _safe_path check still applies.
  • Copying logic is shared with the pushed-note path (note_media.copy_file).
  • Re-requesting a file in the same turn uploads it once.
  • Files are uploaded to GAM when the tool runs, before Apply, as with generate_image. A discarded proposal leaves them in the library.

Favicon. A film reel on a violet tile, to tell GVC apart from GAM (blue) and Notes (green). SVG, 32px PNG and apple-touch icon regenerated.

Testing

  • pytest -q: all pass (new tests for media extraction, the attachment listing, and the tool's copy / register / dedupe / unknown-id behaviour)
  • npm test and npm run build: pass

Not done: merging a note into an existing project's scenes beyond what the assistant already does with an attached note; no UI change (the attachment chip doesn't show a media count yet).


Generated by Claude Code

… via the assistant, and give GVC a film-reel favicon

Attaching a note now records the files Notes serves for it, listed to the assistant as
n1, n2… with the heading each sat under. A new import_note_media tool copies chosen ones
into the user's GAM library and registers them as assets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013EMeBgQuEmbgiJXN3Jkioz
@davior
davior marked this pull request as ready for review October 24, 2026 02:40
@davior
davior merged commit b8472f7 into main Oct 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants