+
    5mj                       ^ RI Ht ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIH	t	H
t
HtHtHtHt ^ RIHtHt RR R lltR R	 ltR
 R lt]R8X  d<   ]! 4        ]P,                  P/                  RR4       ]! ]! ]P2                  4      4      hR# )    )annotationsN)Path)HEALTH_STALE_SECONDSCodexAdapterCommandRouterdetect_project_nameload_healthparse_account_override)AccountSnapshotHealthStatusc                    V ^8  d   QhRRRR/# )   pathzPath | Nonereturnzdict[str, AccountSnapshot] )formats   "M/home/user/overdeck-private-tests/workstation-ai-broad/modules/systray/cdx.py__annotate__r      s      k -G     c                (    \        V \        R RR7      # )cdxcodex)stale_after_s	tool_namehealth_snapshot_tool)_load_healthr   )r   s   &r   r	   r	      s    *$	 r   c                    V ^8  d   QhRRRR/# )r   argvz	list[str]r   intr   )r   s   "r   r   r      s      y S r   c                \    \        \        4       \        \        R 7      P	                  V 4      # ))r   r
   )r   r   r   r
   main)r   s   &r   r!   r!      s%    /5 d4j	r   c                   V ^8  d   QhRR/# )r   r   Noner   )r   s   "r   r   r   &   s      t r   c                 0   \         P                  ! 4       '       d   R# \        P                  ! 4       R,          R,          R,          p \        P
                  ! V \        P                  4      '       d@   \        P                  ! \        V 4      R.4      P                  pV^ 8w  d   \        V4      hR# \        ;QJ d    R R 4       F  '       g   K   RM	  RM! R R 4       4      '       g+   \        R	V  R
2\        P                  R7       \        ^a4      hR# )zNo agent compute on the workstation. A terminal on any std fd means the owner is
driving this and it proceeds untouched; a headless caller exits 97. Inside a sandbox
container the machine already is the execution plane, so the run proceeds.Nz.claudebinzlocal-dispatch-guardr   c              3  N   "   T F  p\         P                  ! V4      x  K  	  R # 5iN)osisatty).0fds   & r   	<genexpr>0_deny_headless_local_dispatch.<locals>.<genexpr>2   s     1yryy}}ys   #%TFz%cdx: local-dispatch-guard missing at u    — refusing headless dispatch)file)r      r   )remote_dispatchin_containerr   homer(   accessX_OK
subprocessrunstr
returncode
SystemExitanyprintsysstderr)guardrcs     r   _deny_headless_local_dispatchr@   &   s     ##%%IIK)#e+.DDE	yy  ^^SZ/0;;7R. 31y13331y1115eW<[\cfcmcmnn 2r   __main__STALL_GUARD_NOTIFY1r'   )
__future__r   r(   r5   r<   pathlibr   r0   command_routerr   r   r   r   r	   r   r
   health_clientr   r   r!   r@   __name__environ
setdefaultr9   r   r   r   r   <module>rK      sr    " 	  
    8" z!#JJ.4
T#((^
$$ r   