Files
box/bin/hatch_menu/tabs/devices.py
operator b824f6d405 feat(box): add invite code handler, Settings RPA, and agent onboarding pipeline
- Support invite code discovery in main chat and redemption in settings menu
- Add Settings RPA primitives with Radix UI mouse dispatch and retry polling for async DOM
- Attribute 'has_redeemed' binary from the Additional tokens ticker / entrypoint visibility
- Unblock agent @646 by repairing warp-def/dev tunnels and redeeming REDCJ7 via dev (+1B tokens)
- Implement 'box onboard' pipeline to provision infra, authenticate, and auto-redeem queued codes
- Add 'box onboard feed-matrix' ranking all agents by work done over time, job count, and role
- Register 'InputType.SALVAGE' in loop modulation (CRITICAL priority, 600s timeout, 3 nudges to opm)
- Ingest recurring balance audits into canonical HEARTBEAT.md and TOOLS.md
2026-10-06 19:33:17 +00:00

14 lines
414 B
Python

"""Devices tab: read-only inventory (paired devices or empty state)."""
from hatch_menu import dialog
TAB = "Devices"
def describe(ws):
"""Row inventory + empty flag (describe-only for now)."""
text = dialog.dialog_text(ws) or ""
low = text.lower()
return {"rows": dialog.describe_rows(ws, TAB),
"empty": ("no devices" in low or "don't have" in low),
"text": text[:400]}