XetSession upload test

Build the WASM package first: ./build_wasm.sh, then serve this directory with a static server (e.g. python3 -m http.server 8080) and open http://localhost:8080/examples/upload.html.

Manual smoke test only — this does NOT commit the uploaded data to a Hub repo. It pushes xorbs + shard to CAS, prints per-file metadata and the commit report, then stops. To actually land the data in a repo you would have to take the returned metadata and call the Hub commit API yourself.

The page calls one Hugging Face Hub endpoint to derive the inputs needed by XetSession:

  1. GET /api/{repo_type}s/{namespace}/{repo}/xet-write-token/{revision} — returns { accessToken, exp, casUrl }
Ready.