Skip to content

uploads-v0.21.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 22:14
b9660c0

Minor Changes

  • 963ea12: Add a canonical metadata vocabulary for uploads. screenshot now derives
    url, path, env, theme and viewport from the capture, and put
    promotes an allowlist of image EXIF (viewport, device, software,
    captured) into queryable metadata before stripping it from the bytes. New
    --state and --app flags, and matching MCP params, cover what the CLI
    cannot derive. uploads find path=/settings state=after is the payoff.

    The MCP metadata description previously suggested page and resolution;
    it now names the canonical keys and points at path as the one to search by.

    Two behavior changes worth reading before upgrading:

    • device and software come from EXIF that was previously discarded, and
      promoted metadata renders on the public file page. GPS coordinates, serial
      numbers and personal-name tags are never promoted.
    • Metadata sent on a put fully replaces that key's stored set. Because derived
      keys count as metadata, a re-upload that derives anything now replaces the
      set where it previously left it untouched. Pass --no-auto when re-uploading
      a key whose metadata you curated with uploads meta set.

    Opt out of the whole derived tier with --no-auto or UPLOADS_NO_AUTO_META=1.

Patch Changes

  • 81b220a: Fixes a gap where a workspace could implicitly bind (or explicitly claim via uploads github link) another org's GitHub repo the App is installed on, letting it post or deface the uploads-sh[bot] comment there. Claiming an unbound repo now requires the calling workspace's linked GitHub account to have push (or higher) access to that repo, verified live via the App's installation token. An unauthorized claim gets the same soft { posted: false, reason: "not_authorized" } / { claimed: false, reason: "not_authorized" } decline as posting to an already-bound repo — never a server error, and the CLI never falls back to gh for it. Repos bound before this check shipped keep working unchanged.
  • f65813f: Export the canonical metadata helpers (stateProp, appProp,
    canonicalMetaFromArgs, metadataArgWithCanonical) from the /mcp entry
    point so the hosted MCP server can reuse them instead of keeping its own copy
    of the metadata tool description.