names: fix API docs lists, route signing through signSnrcIntent

The 12 new /name commands and 8 responses were in none of the docs
  lists, and APINameAddress/CRNameAddress outlived their constructors.
  Added alongside APINameRegister, which set the precedent. Also
  regenerates TYPES.md and the TS/Python types, stale since
  CENameRegistrationFailed gained nameRegRetryAfter.

  APINameSetLink now signs through signSnrcIntent, so "the only bridge
  to the wallet" is enforced rather than documented. tokenId is dropped
  and setTextTypeString unexported, both without callers.

  nameKeyOf no longer reads the bound account: the path is literal, so
  the binding never affected which key came back. The mock's idempotent
  is one transaction, and a buy with no link stores no link rather than
  an empty one.

  ownedNames stays device-wide, now with the reason on it.

  Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alain BrenzikoferandClaude Opus 5 committed 2026-08-30 21:39:24 +02:00
1 parent 2f0f8a7499
commit 52afb09711
9 files changed
+54 -31

No files matched your search

@@ -824,6 +824,7 @@ class ChatErrorType_nameRegistrationFailed(TypedDict):
type: Literal["nameRegistrationFailed"]
nameRegCode: str
nameRegMessage: NotRequired[str]
nameRegRetryAfter: NotRequired[int] # word32
class ChatErrorType_notResolvedLocally(TypedDict):
type: Literal["notResolvedLocally"]