Skip to content

Releases

v0.2.0

Choose a tag to compare

@smk762 smk762 released this 20 Nov 07:45
3d5bd99

Added

  • README links this UI's row in the suite's What to run for which UI matrix.
  • index.json 1.1 adds an optional caption_params: the run settings recorded with every caption (prose model, prompt preset, refine model), written only when all photos agree. /docs shows them under the lens version.
  • index.json 1.2 adds an optional per-photo thumbs: the grid thumbnail at 240 and 360 px wide as well as the 480 px one, narrowest first. The grid serves them with srcset and sizes matched to the column layout, so a phone downloads about a third of the thumbnail bytes it did. lightbox-bake thumbs adds them to an existing bake without re-captioning; the demo tape and the fixture were updated that way.

Changed

  • The footer's map-demo link is now Atlas (https://atlas.dragonhound.dev/), was "Atlas Realms" on realms.dragonhound.dev. The painted-map demo moved there; realms.dragonhound.dev is kept for the Realms minigame.
  • The hosted demo is re-captioned with argus-lens 0.11.0 using lens's straightforward prose prompt preset, not lens's default (detailed). The default wrote mood adjectives and "this is a … photograph" openers into the zero-shot captions and doubled the prose length (smk762/argus-lens#104).
  • The bake needs argus-lens 0.14.0 or later (was 0.11.0), and the synthetic fixture is re-baked with it. Lens 0.14's assembly keeps some setting and lighting tags that 0.13 dropped (a "sunset" in the beach scene's caption, for example). The hosted demo tape is unchanged.
  • Caption-cache files for a profile (CAPTION_CACHE_KEY set, as Compose does) are now named <sha256>.<key>-<hash>.json, with the key cut to 40 safe characters plus 16 hex of its sha256, so keys that read the same stay apart. 0.1.0's <sha256>.<key>.json files are still read, so upgrading does not re-caption the folder.

Fixed

  • Choosing a caption no longer fails with 403 when the folder server sits behind a reverse proxy that rewrites Host. A Sec-Fetch-Site header now decides the same-origin check on its own. Without it, Origin is compared with Host or X-Forwarded-Host.
  • A shared link with a facet group named constructor or __proto__ (?f=constructor:y) no longer stops the grid from rendering.
  • In a tape bake, a photo whose first record failed no longer keeps its old entry when a later record with the same bytes renders. The fresh render replaces it.
  • lightbox-bake tape --limit -1 is a usage error, not a traceback.
  • lightbox-bake fixture --check ignores lens's random training variants only under caption_variants, and generated_at only at the top level, so a real difference elsewhere is no longer missed.

Security

  • Next.js 16.2.4 → 16.4.6, with eslint-config-next to match, vitest 4.1.11 → 4.1.12, and the lockfile's transitive packages updated (postcss, sharp, js-yaml, brace-expansion, minimatch, browserslist, zod and others). This clears all 56 open Dependabot alerts, 5 of them critical, and npm audit reports none.

v0.1.0

Choose a tag to compare

@smk762 smk762 released this 13 Nov 15:33
9cf683f

The first release: the standalone demo for argus-lens.

Added

  • Gallery navigated by lens's structured captions. Faceted filtering by lens's category buckets: terms within a category are OR'd and categories are AND'd. There are also headcount and camera facets, free-text search over every caption and the raw output, and all state in the URL.
    • Ordinary tags that miss the hint list still become facets: known gaps go under their category, the rest under detail. Rating, sexual and minor-related tags are never added.
    • The facet lists are loaded from JSON (FACET_LISTS_JSON).
    • Facet groups in the sidebar can be collapsed, and the choice is remembered per group.
  • Photo detail dialog:
    • Caption tab: the final caption and every variant, with copy buttons and a token count that warns when a caption is over the target backend's budget.
    • How it was built tab: raw tags and prose, dropped meta tags, the category buckets, a per-variant trace, compaction notes and headcount evidence.
    • Compare tab: the same raw output assembled tags-only, prose-only and hybrid.
    • Metadata tab: EXIF (never GPS), provenance and licence, and the .txt and XMP sidecar downloads.
    • Swipe or use the arrow keys to move between photos. The grid thumbnail morphs into the detail image with a View Transition.
  • The grid and detail view show the zero-shot caption by default. NEXT_PUBLIC_DEFAULT_CAPTION names another variant, or final for lens's own pick. This changes the display only.
  • Word cloud of caption words or tags, over the current filter or the whole set, with a CSV histogram export.
  • /docs page and in-context lens help.
    • /docs shows the lens version the gallery was baked with and links to PyPI, the source at that version, and lens's docs sections.
    • Each detail tab links to the matching lens section.
    • The Caption tab says which lens version, backend and refine model captioned the photo, taken from the recorded caption.
  • The bake (lightbox-bake):
    • fixture: 12 synthetic scenes, captioned by lens's real assembly and committed as web/public/data/.
    • tape: the recorded pipeline run, read from the cortex lineage and blob stores.
    • folder: captions a photo directory through a lens server, with a sha256 caption cache.
    • purge.
    • Every bake re-runs lens's assembly on the raw output to explain it. The recorded caption stays what's shown, and a disagreement sets explain.drift. A rewrite lens checked and kept is recorded as caption.refine and is not counted as drift.
    • Quarry's licence and attribution are mapped onto provenance.
  • Your own photos with Docker Compose.
    • docker compose up --build serves a gallery of ~/Pictures, or PHOTOS_DIR, captioned by argus-lens 0.10.0 (LENS_TAG overrides). The gallery is published while captions are still being written.
    • Captioning is hybrid: RAM++ tags plus Florence prose, or an Ollama or ComfyUI vision model. With OLLAMA_URL set, captions are also refined. compose.gpu.yaml adds an NVIDIA GPU.
    • CAPTION_CACHE_KEY keeps each caption profile's cache apart. make purge starts over.
  • Choosing the final caption in folder mode, for one photo or in bulk. It rewrites index.json, the XMP sidecar and the caption cache through POST /api/caption-choice on the folder server, and is refused while captions are queued.
  • Hosted demo (make pages, Cloudflare Pages on every push to main). It holds 205 openly licensed photos captioned by argus-lens, with a demo banner, OG/Twitter metadata and a styled 404 page.
  • Security and privacy:
    • GPS is never emitted, and renditions are re-encoded so no source metadata survives.
    • The static export gets a strict hash-based CSP with Trusted Types (web/scripts/csp.mjs).
    • _headers adds HSTS, frame, referrer and permissions policies.
    • External links open in a new tab without an opener or referrer.
  • Accessibility: contrast, link underlines, target sizes, tab semantics, a skip link and reduced motion.
  • Docs: README, docs/cli.md (every subcommand and flag, and running without Docker), and the Argus suite map in CLAUDE.md.
  • CI on dev and main: ruff, pytest, eslint, tsc, vitest, the build, and the suite check.