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

KarpelesLab / libwallet / 25756109673
24%

Build:
DEFAULT BRANCH: master
Ran 12 May 2026 07:15PM UTC
Jobs 1
Files 116
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

12 May 2026 07:05PM UTC coverage: 20.978% (-0.02%) from 20.993%
25756109673

push

github

MagicalTux
ClawdWallet:createAgentWallet — one-call agent wallet provisioning

Replaces the four-step screen flow (read mobile spot id from libwallet,
POST Crypto/WalletSign:newAgent, parse response, drive initiateKeygen)
with a single Dart-side call: client.wallets.createAgentWallet(api:,
name:, agentSpotId:, policy:). Same split as ClawdWallet:pair — libwallet
owns the protocol, the host owns UX and bearer-token management.

Architecture:
- Go-side Wallet:buildNewAgentBody composes the newAgent POST body and
  fills in mobile_spot_id from spot.TargetId(). The host never sees the
  spot id.
- Dart-side WalletApi.createAgentWallet takes the host's AtOnline session
  as an argument, calls buildNewAgentBody via FFI, POSTs via authReq,
  then chains into the existing Wallet:initiateKeygen.

The host now writes:
  await client.wallets.createAgentWallet(
    api: tibaneApi, name: ..., agentSpotId: ..., policy: ...);
instead of the previous 30-ish lines.

Removed:
- Info:spotId / info.spotId() — hosts no longer need to read it. The
  endpoint went unused once the high-level wrapper landed.

Adds dependency on atonline_api ^0.5.0. atonline_api transitively pulls
in Flutter (flutter_secure_storage), so the libwallet package's test
runner switched from `dart test` to `flutter test` —
.github/workflows/dart-test.yml updated accordingly. All 64 FFI
integration tests + 43 pure-Dart unit tests still pass under flutter
test. .gitignore now excludes /dart/build/ (flutter test cache).

Also picks up an upstream URL-scheme rename in ClawdWallet:pair:
clawd:// -> tibane://. pair.go + pair_test.go were already migrated;
this commit syncs the Dart side (clawdwallet_api.dart docs,
clawdwallet_pair_test.dart, CHANGELOG).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

4 of 33 new or added lines in 2 files covered. (12.12%)

2 existing lines in 1 file now uncovered.

3334 of 15893 relevant lines covered (20.98%)

120.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
9.38
wltwallet/create_agent.go

Coverage Regressions

Lines Coverage ∆ File
2
18.27
0.88% wltbase/info.go
Jobs
ID Job ID Ran Files Coverage
1 25756109673.1 12 May 2026 07:15PM UTC 116
20.98
GitHub Action Run
Source Files on build 25756109673
  • Tree
  • List 116
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25756109673
  • 639bc8c2 on github
  • Prev Build on master (#25716076950)
  • Next Build on master (#25757217893)
  • 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