Clawk integration — Potion docs

Clawk

Clawk integration

Authorize Clawk, resolve artifact manifests, verify checksums, and report installations safely.

Clawk uses Potion’s device authorization flow, then calls the versioned registry contract with a scoped bearer token. The token can resolve only public or customer-entitled artifacts.

Resolution flow

  1. Request a device code and open its verification URL.
  2. Approve the exact scopes in the signed-in browser.
  3. Poll at the server-provided interval until approved or expired.
  4. Resolve the artifact, dependencies, adapters, permissions, archive URL, and checksum.
  5. Report installation with an idempotency key.

Signed premium downloads expire after five minutes and reserve usage atomically.