Skip to content

TEC-189 associate_wallet + TEC-200 user_agent (v1.7.0)#14

Merged
vvillait88 merged 9 commits intomainfrom
tec-189-wallet-writeback
Apr 22, 2026
Merged

TEC-189 associate_wallet + TEC-200 user_agent (v1.7.0)#14
vvillait88 merged 9 commits intomainfrom
tec-189-wallet-writeback

Conversation

@vvillait88
Copy link
Copy Markdown
Contributor

@vvillait88 vvillait88 commented Apr 21, 2026

Summary

Feature (v1.7.0)

  • TEC-189 — new associate_wallet(...) + async aassociate_wallet(...). Posts to POST /v1/credentials/wallets. Empty-string idempotency_key dropped (truthy check) for parity with node-sdk.
  • TEC-200 — new user_agent constructor option. Outbound header becomes "{user_agent} (agentscore-py/{version})".

CI/Ops

  • ARM Blacksmith runner.
  • actions/cache@v4 for uv cache.
  • concurrency + timeout-minutes on CI + publish workflows.
  • Deps: idna 3.11 → 3.12.

Test plan

  • uv run pytest passes (110 tests, sync + async parity)
  • 402 payment_required, 401 invalid_credential, 400 invalid_wallet coverage
  • CI green on ARM

🤖 Generated with Claude Code

vvillait88 and others added 9 commits April 20, 2026 23:48
TEC-189: associate_wallet() and aassociate_wallet() post to
POST /v1/credentials/wallets. Fire-and-forget semantics documented;
idempotency_key is dropped when empty-string for parity with node-sdk.

TEC-200: new `user_agent` constructor option. Outbound User-Agent becomes
"{user_agent} (agentscore-py/{version})" when set.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CI runs lint/typecheck/test; security runs osv-scan (and pip-audit for
python). No Docker artifacts produced. ARM is cheaper and faster for
Bun/Python tooling. publish.yml stays on ubuntu-latest for trusted
publishing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
useblacksmith/cache@v1 before install — caches the package manager's
download cache on Blacksmith's persistent NVMe disk. ~2-3× faster
installs on warm reruns.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- concurrency cancel-in-progress so rapid pushes don't stack runs
- 10-minute timeout so hung tests don't eat 6h of compute

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- concurrency group=publish with cancel-in-progress: false so back-to-back
  tag pushes queue rather than cancel a mid-publish (partial releases are
  worse than waiting)
- 15-minute timeout so a stuck publish doesn't hold the queue for 6h

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Blacksmith archived useblacksmith/cache on 2025-10-14 — their runners
now transparently intercept upstream actions/cache@v4 and route it to
the same fast colocated backend. Same performance, actively maintained,
no Node.js 20 deprecation warning.

https://github.com/useblacksmith/cache (archived)
https://www.blacksmith.sh/blog/cache (migration rationale)

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

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Parity with node-sdk. Server truncates at 200 chars; two distinct keys
sharing the first 200 chars would silently dedup. Emit a logger.warning
on the "agentscore" logger so this is visible in dev without changing
behavior (still sends the full key; server truncates).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vvillait88 vvillait88 merged commit 268c610 into main Apr 22, 2026
6 checks passed
@vvillait88 vvillait88 deleted the tec-189-wallet-writeback branch April 22, 2026 02:44
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