Expand description
The operations dashboard’s account view: every account this deployment holds, and one account in full.
Part of crate::dashboard, behind the same operator session as every
other control there, and answered whatever the [disclosure] table says:
closing bot.did.listAccounts to the public does not close it to the
operator. didbot account list and didbot account show call these
same routes.
Every field is read from state the deployment already keeps. The last
commit is the time in the repository head’s revision, which is a TID.
The record count is the record store’s key index. Whether an account
wrote is Wrote’s reading of the same two sources.
Structs§
- Account
Detail 🔒 - One account in full, as the detail shows it.
- Account
Filter - What the listing narrows on. All empty lists everything.
- Account
Row 🔒 - One account, as the listing shows it.
- Credential
View 🔒 - One
bot.did.credentialrecord. - Keeping 🔒
- What a conditional hard delete checks each account against: before it
takes anything, and again for each account with that account’s writes
held off. See
Registry::hard_delete_if. - Ledger
Summary 🔒 - An account’s ledger: how long it is, and its most recent entries.
- Narrowing 🔒
- The filter, with its names resolved and its span parsed, or the refusal to answer with.
- Roster 🔒
- Everything the listing needs to know about the whole tree, read once.
- Writers 🔒
- What the write log says about who wrote.
Enums§
- Wrote 🔒
- Whether an account ever wrote a record of its own.
Constants§
- NEVER_
WROTE_ MIN_ IDLE - The shortest
idleForaneverWrotedelete takes, unless[operator] never_wrote_min_idle_secssets another. An agent’s account is created before its session makes its first write, and an hour is well past that. - RECENT_
LEDGER 🔒 - How many of an account’s most recent ledger entries the detail carries.
Functions§
- authored 🔒
- How many records sit in collections the server does not write itself.
- credentials 🔒
- What logs in as
did: itsbot.did.credentialrecords. - last_
commit 🔒 - When
did’s last commit was made: the head’s revision is a TID, and a TID carries the microseconds its minter’s clock read. - list 🔒
GET /dashboard/api/accounts- routes
- Builds the account routes, merged into the dashboard’s own router.
- show 🔒
GET /dashboard/api/accounts/{did}- span_
before_ 🔒now - The moment
span, such as7d, before now, or the refusal to answer with. - writers 🔒
- What the write log says, or
Nonewhen it cannot be read. - wrote_
from 🔒 Wroteforaccount, given its record counts andwriters.