lib-core.git 0.2.0: HTTP-Basic token auth + ls-remote error classification + set_token

- Credential callback wired through clone, fetch, and async ls-remote.
  Token source: SPOREL_GITEA_TOKEN env at lib-init, overridable
  per-process via the new set_token(t) Lua binding (engine.config
  "gitea_token" reaches it through the launcher).
- Async ls-remote take_result now emits a kind field on failure:
  "auth-required", "not-found", "network", or "other". Consumers can
  classify update-check failures (e.g. distinguish a private repo
  needing creds from a repo that doesn't exist at all from a flaky
  network).
- DLL rebuilt with the new code; manifest bumped to 0.2.0.
This commit is contained in:
Axel Meyer
2026-05-31 14:08:45 +02:00
parent b161f2a059
commit ca2878c3e9
3 changed files with 79 additions and 1 deletions

Binary file not shown.