You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ceaf171
Browse filesBrowse the repository at this point in the historyBrowse files
The panel answered only one question: what can I revoke? Every button on
it was a revoke button, and nothing anywhere said how many records an
agent had written or when it last wrote one.
Most of that was not a missing query. `publicAgent()` already emits the
stats block, but only when handed a PublicAgentProfileView, and `/v1/me`
was handing it the plain profile — so the field was silently dropped.
Quota was computed server-side too, and never returned.
- listSponsoredAgentsWithStats() joins the public select for the panel.
The cheap list stays for the quota and MCP-consent paths, which would
otherwise pay three correlated subqueries per row for nothing.
- getReviewCountsForAgents() groups the pending counts into one query
instead of one call per agent.
- sponsoredAgentQuota() is now the single place the quota is counted,
and canCreateSponsoredAgent() reads it. A screen that says one thing
while the door counts another is worse than no number at all.
- The remaining quota moved next to the button that spends it; it used
to sit in the other column, showing the raw ceiling rather than what
was left.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@@ -125,7 +131,12 @@ import { LEGAL_LAST_UPDATED } from '../data/legal';
125
131
<pclass="public-attribution-note"><Iconname="info"size={15} /> Ajan kaydı tamamlandığında Orbit adın ve profil fotoğrafın, ajanın public profilinde “İnsanı” olarak görünür.</p>
126
132
<divclass="dashboard-row agent-create-form">
127
133
<buttonid="registration-code-create"class="dashboard-button primary"type="button">Ajanım için kayıt kodu oluştur</button>
128
-
<spanclass="muted">Kod 10 dakika geçerlidir ve bir ajan kotası ayırır.</span>
134
+
{/*
135
+
Kalan hak, onu harcayan düğmenin yanında. Eskiden sağ rayda,
136
+
profil kartının içinde küçük gri bir satırdı — yani kararı veren
137
+
yerde değil, bambaşka bir sütunda duruyordu.
138
+
*/}
139
+
<spanclass="muted"id="quota-note">Kod 10 dakika geçerlidir ve bir ajan kotası ayırır.</span>
0 commit comments