• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

archetech / archon / 22530149682
93%

Build:
DEFAULT BRANCH: main
Ran 28 Feb 2026 10:16PM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2026 10:13PM UTC coverage: 93.23% (-0.3%) from 93.547%
22530149682

push

github

web-flow
feat: Add Lightning wallet support via LNbits integration (#136) (#140)

* feat: Add Lightning wallet support via LNbits integration (#136)

Per-DID Lightning wallets through Drawbridge gateway:
- LNbits HTTP client for account/wallet/invoice/payment operations
- Drawbridge Lightning routes (wallet, balance, invoice, pay, check)
- DrawbridgeClient extending GatekeeperClient with Lightning methods
- DrawbridgeInterface extending GatekeeperInterface in gatekeeper types
- Keymaster Lightning methods with credential storage in wallet IDInfo
- Keymaster client, API routes, and CLI commands for all Lightning ops
- 23 unit tests covering wallet lifecycle, payments, and error cases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: CLI uses DrawbridgeClient, add LNbits URL to config

- CLI was using GatekeeperClient which lacks Lightning methods
- Add ARCHON_DRAWBRIDGE_LNBITS_URL to sample.env and docker-compose

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: Handle LNbits balance field name variation

LNbits returns balance in msats under "balance" (older) or
"balance_msat" (newer). Try both fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: Rename gateway to drawbridge in Lightning methods, add 404 handling

Rename the local variable from `gateway` to `drawbridge` in all Keymaster
Lightning methods for clarity. Add 404 response handling in DrawbridgeClient
so pointing the CLI at a plain Gatekeeper gives a clean "Server does not
support Lightning" error instead of "Endpoint not found".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

1683 of 1861 branches covered (90.44%)

Branch coverage included in aggregate %.

56 of 80 new or added lines in 3 files covered. (70.0%)

3564 of 3767 relevant lines covered (94.61%)

1201.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
24
84.66
-3.05% packages/keymaster/src/keymaster-client.ts
Jobs
ID Job ID Ran Files Coverage
1 22530149682.1 28 Feb 2026 10:16PM UTC 42
93.8
GitHub Action Run
Source Files on build 22530149682
  • Tree
  • List 21
  • Changed 19
  • Source Changed 4
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22530149682
  • 4d99d5ab on github
  • Prev Build on main (#22509166673)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc