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
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
"""hatch_menu — modular muse.ai settings-menu navigation + toggles.
|
||||
|
||||
One module per part so a site change means patching one file:
|
||||
mouse.py trusted input primitives (real click, escape, close)
|
||||
dialog.py settings dialog open / tab nav / rows / back / text
|
||||
controls.py generic radio/switch primitives (verify-then-fallback)
|
||||
toggles.py toggle registry + sessions over controls and tabs
|
||||
tabs/ one module per settings tab (uniform describe())
|
||||
|
||||
invite.py consumes this package; `box chromebox` exposes toggles.
|
||||
"""
|
||||
|
||||
from hatch_menu.dialog import (
|
||||
TAB_NAMES,
|
||||
TABS,
|
||||
click_row,
|
||||
close_settings,
|
||||
describe_rows,
|
||||
dialog_present,
|
||||
dialog_text,
|
||||
go_back,
|
||||
goto_tab,
|
||||
open_settings,
|
||||
)
|
||||
from hatch_menu.mouse import MouseError, close, escape, real_click
|
||||
from hatch_menu.toggles import (
|
||||
MenuError,
|
||||
describe_tab,
|
||||
get_toggle,
|
||||
list_toggles,
|
||||
set_toggle,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"TAB_NAMES",
|
||||
"TABS",
|
||||
"MenuError",
|
||||
"MouseError",
|
||||
"click_row",
|
||||
"close",
|
||||
"close_settings",
|
||||
"describe_rows",
|
||||
"describe_tab",
|
||||
"dialog_present",
|
||||
"dialog_text",
|
||||
"escape",
|
||||
"get_toggle",
|
||||
"go_back",
|
||||
"goto_tab",
|
||||
"list_toggles",
|
||||
"open_settings",
|
||||
"real_click",
|
||||
]
|
||||
Reference in New Issue
Block a user