ox

command
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 116 Imported by: 0

Documentation

Overview

session_upload.go handles uploading session artifacts to the ledger.

AUTH MODEL: Upload uses Git PAT only (no OAuth required).

  • LFS upload: PAT via HTTP Basic auth (getLFSClient)
  • git push: PAT embedded in remote URL (RefreshRemoteCredentials)
  • checkUploadAccess: OAuth-based, fail-open, kept for viewer detection only

See docs/ai/specs/session-auth-model.md for the full auth model.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL