Repository navigation
Charmera v1.3.4
charmera-mcp redesigned around server-owned state. Curated import sessions used to spend most of their tokens shuffling the gallery's data.json array (~50K tokens at 600+ entries). They don't anymore.
New
commit_curated_files— pass local paths + a message; the server does everything: reads file size + mtime, names each blob with date-suffix collision rename, generates<filename>:<size>hashes, builds ISO timestamps from mtime, merges the existing data.json, and pushes one batched commit (one Pages build). Caller stays out of state management — no array merging, no timestamp guessing, no naming convention to follow. Idempotent across retries (dedupes by filename).prepare_camera_importreturns enriched per-file metadata —{path, filename, size, mtimeISO, kind, suggestedHash}so callers never re-stat. Suggested next step now points tocommit_curated_filesinstead of the oldpush_to_gallerydance.read_gallery_datadefaults totail: 50— the full data.json was tripping tool-result size limits. Passall: truefor the full dump, orfilenamePrefixto filter.
push_to_gallery stays as the lower-level primitive (file blob upload + optional dataJsonEntries replace) but new curated flows should use commit_curated_files exclusively.
Upgrade
brew upgrade --cask charmera.