Skip to content

feat: rename to hcloud, multi-service SDK with wallet auth#3

Merged
skusnierz merged 9 commits into
mainfrom
feat/hcloud-rename
May 7, 2026
Merged

feat: rename to hcloud, multi-service SDK with wallet auth#3
skusnierz merged 9 commits into
mainfrom
feat/hcloud-rename

Conversation

@skusnierz
Copy link
Copy Markdown
Collaborator

@skusnierz skusnierz commented May 7, 2026

Summary

  • Rename package to @herodotus_dev/hcloud, binary to hcloud. The repo and on-disk credentials directory follow the same name (~/.hcloud/credentials.json).
  • Restructure src/ into core/ (HttpClient, errors, surfaces), services/atlantic/ (Atlantic surface, workflows, x402), auth/ (wallet auth subsystem), cli/ (service-registry dispatcher). Adding a future service is now one new folder + three small registration sites; no edits to shared code.
  • Add client.auth.* and hcloud auth ...: EIP-712 challenge → bearer session → API key, persisted to ~/.hcloud/credentials.json. Multi-wallet last-login-wins with auth use ` for explicit switching.
  • API key is the durable credential — once auth login succeeds, Atlantic and future services keep working indefinitely without re-login or token refresh.
  • Channel-binding enforced in HttpClient: bearer requests cannot carry Cookie; api-key requests cannot carry Authorization.
  • Atlantic command set preserved 1:1 under hcloud atlantic <cmd>. All existing Atlantic tests pass with import-path changes only.

@skusnierz skusnierz force-pushed the feat/hcloud-rename branch from 9534a9f to 8563b2f Compare May 7, 2026 07:39
@skusnierz skusnierz merged commit 794c40b into main May 7, 2026
1 check passed
@skusnierz skusnierz deleted the feat/hcloud-rename branch May 7, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant