feat: multi-tier agent hierarchy, wallet ledger, and player UX polish
Add configurable agent max level and default sub-agent credit ratio, per-agent block direct player login on suspend, admin/agent wallet transaction views, and match detail my-bets section with refreshed player card styling. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,12 @@ export enum UserStatus {
|
||||
LOCKED = 'LOCKED',
|
||||
}
|
||||
|
||||
/** Minimum agent tier (root agents). Actual levels are unbounded integers when `agent.max_level` is 0. */
|
||||
export const MIN_AGENT_LEVEL = 1;
|
||||
|
||||
/**
|
||||
* Legacy enum for the original two-tier demo. Production code should use numeric `agentLevel` / `AgentProfile.level`.
|
||||
*/
|
||||
export enum AgentLevel {
|
||||
LEVEL_1 = 1,
|
||||
LEVEL_2 = 2,
|
||||
|
||||
Reference in New Issue
Block a user