# code2llm | 57f 9333L | python:49,javascript:5,shell:3 | 2026-03-22
# CC̄=3.4 | critical:19/504 | dups:0 | cycles:0

HEALTH[11]:
  🔴 GOD   src/proxym/virt/_orchestrator.py = 806L, 7 classes, 36m, max CC=11
  🟡 CC    table CC=21 (limit:15)
  🟡 CC    table_body_rows CC=21 (limit:15)
  🟡 CC    no_rows CC=21 (limit:15)
  🟡 CC    footer CC=21 (limit:15)
  🟡 CC    ratio_columns CC=21 (limit:15)
  🟡 CC    filter_handler CC=21 (limit:15)
  🟡 CC    VMsPanel CC=34 (limit:15)
  🟡 CC    sortedVms CC=19 (limit:15)
  🟡 CC    comparison CC=17 (limit:15)
  🟡 CC    LogPanel CC=29 (limit:15)

REFACTOR[2]:
  1. split src/proxym/virt/_orchestrator.py  (god module)
  2. split 10 high-CC methods  (CC>15)

COUPLING: no cross-package imports detected

LAYERS:
  htmlcov/                        CC̄=4.6    ←in:0  →out:0
  │ !! coverage_html_cb_dd2e7eb5.js   735L  0C   65m  CC=21     ←0
  │
  src/                            CC̄=3.2    ←in:0  →out:0
  │ !! _orchestrator              806L  7C   36m  CC=11     ←0
  │ !! panel.jsx                  744L  0C   65m  CC=34     ←0
  │ !  __init__                   405L  4C   24m  CC=13     ←1
  │ self_server                349L  5C   14m  CC=4      ←0
  │ !  __init__                   346L  8C   20m  CC=10     ←0
  │ __init__                   340L  1C   14m  CC=8      ←1
  │ __init__                   333L  3C   10m  CC=9      ←0
  │ __init__                   330L  3C    4m  CC=8      ←1
  │ browser_profiles           325L  2C   11m  CC=9      ←1
  │ _pipeline                  299L  1C   16m  CC=7      ←0
  │ ctl                        295L  0C   26m  CC=4      ←0
  │ strategy                   263L  3C   14m  CC=9      ←0
  │ dsl                        254L  2C    8m  CC=5      ←0
  │ chat                       215L  0C   12m  CC=9      ←0
  │ clonebox_adapter           209L  2C   17m  CC=5      ←0
  │ detector                   208L  0C    9m  CC=9      ←2
  │ !  system                     159L  0C    3m  CC=10     ←1
  │ client                     148L  2C    4m  CC=6      ←0
  │ useDashboardData.js        148L  0C   25m  CC=8      ←0
  │ __init__                   146L  1C    5m  CC=5      ←0
  │ session                    144L  2C    8m  CC=6      ←0
  │ system                     138L  0C    7m  CC=6      ←0
  │ main                       138L  0C    2m  CC=3      ←0
  │ frontend                   120L  0C    6m  CC=5      ←0
  │ config                     118L  1C    3m  CC=3      ←12
  │ registry                   113L  3C    8m  CC=4      ←0
  │ vms                        107L  0C    8m  CC=6      ←1
  │ tool_selector              101L  0C    2m  CC=5      ←1
  │ router                      95L  1C    4m  CC=5      ←0
  │ _config                     94L  3C    1m  CC=9      ←0
  │ context_api                 86L  0C    4m  CC=2      ←0
  │ tts                         85L  1C    5m  CC=6      ←0
  │ _state                      84L  0C    6m  CC=2      ←3
  │ voice                       81L  1C    3m  CC=3      ←0
  │ accounts                    70L  0C    3m  CC=6      ←1
  │ __init__                    69L  0C    4m  CC=5      ←1
  │ browser                     65L  0C    4m  CC=6      ←1
  │ __init__                    60L  2C    3m  CC=5      ←0
  │ __init__                    41L  0C    0m  CC=0.0    ←0
  │ _client                     39L  0C    3m  CC=9      ←4
  │ _context                    33L  1C    1m  CC=3      ←1
  │ completions                 31L  0C    1m  CC=1      ←0
  │ __init__                    24L  0C    0m  CC=0.0    ←0
  │ __init__                    24L  0C    0m  CC=0.0    ←0
  │ _enums                      18L  2C    0m  CC=0.0    ←0
  │ _check                      17L  0C    1m  CC=3      ←1
  │ __init__                    16L  0C    0m  CC=0.0    ←0
  │ api.js                      11L  0C    6m  CC=3      ←0
  │ client                       4L  0C    0m  CC=0.0    ←0
  │ __init__                     3L  0C    0m  CC=0.0    ←0
  │ __init__                     1L  0C    0m  CC=0.0    ←0
  │
  docs/                           CC̄=1.0    ←in:0  →out:0
  │ proxym_tools                90L  1C    9m  CC=1      ←0
  │
  frontend/                       CC̄=0.0    ←in:0  →out:0
  │ proxym-dashboard.jsx         6L  0C    0m  CC=0.0    ←0
  │
  ./                              CC̄=0.0    ←in:0  →out:0
  │ project.sh                  14L  0C    0m  CC=0.0    ←0
  │
  scripts/                        CC̄=0.0    ←in:0  →out:0
  │ setup.sh                    93L  0C    0m  CC=0.0    ←0
  │ jetson-entrypoint.sh        43L  0C    0m  CC=0.0    ←0
  │

DUPLICATES[0]: none

FUNCTIONS (CC≥10, 19 of 504):
   34.0  VMsPanel                                    0n            !! split
   29.0  LogPanel                                    0n            !! split
   21.0  table                                       0n            !! split
   21.0  table_body_rows                             0n            !! split
   21.0  no_rows                                     0n            !! split
   21.0  footer                                      0n            !! split
   21.0  ratio_columns                               0n            !! split
   21.0  filter_handler                              0n            !! split
   19.0  sortedVms                                   0n            !! split
   17.0  comparison                                  0n            !! split
   13.0  get_logs                                    8n   2exit  loops+cond+ret
   12.0  text                                        0n          
   12.0  casefold                                    0n          
   12.0  hide100                                     0n          
   11.0  _LifecycleMixin._create_vm_clonebox        12n   1exit  cond
   11.0  sortColumn                                  0n          
   11.0  AccountRow                                  0n          
   10.0  cmd_status                                 10n   1exit  cond
   10.0  AccountManager.get_cost_summary             4n   2exit  loops+ret

  summary:
    critical(≥10): 19 | high(5-10): 87 | medium(2-5): 263 | low(<2): 135
    4% CC≥10  21% CC≥5

HOTSPOTS:
  #1  cmd_status                           fan=21   "calls 21 functions"
  #2  useDashboardData                     fan=20   "calls 20 functions"
  #3  VMsPanel                             fan=18   "calls 18 functions"
  #4  detect_firefox_profiles              fan=17   "calls 17 functions"
  #5  _detect_chromium_family              fan=17   "calls 17 functions"
  #6  _LifecycleMixin._create_vm_clonebox  fan=16   "_LifecycleMixin method, fan-out=16"
  #7  analyze_request                      fan=15   "analysis pipeline, 15 stages"
  #8  sortColumn                           fan=15   "calls 15 functions"
  #9  table                                fan=15   "calls 15 functions"
  #10 table_body_rows                      fan=15   "calls 15 functions"

CLASSES:
  CloneBoxAdapter                ████████████████████████  17m  CC̄=1.9   max=5   
  AccountManager                 █████████████████████     15m  CC̄=3.2   max=10  
  CompletionPipeline             ████████████████          12m  CC̄=3.2   max=7   
  DeltaBuffer                    ████████████               9m  CC̄=4.7   max=9   
  _LifecycleMixin                ████████████               9m  CC̄=4.4   max=11  
  DSLParser                      ███████████                8m  CC̄=3.4   max=5   
  MCPRegistry                    ███████████                8m  CC̄=2.2   max=4   
  ProxymTools                    ███████████                8m  CC̄=1.0   max=1   
  _ConfigMixin                   █████████                  7m  CC̄=4.0   max=9   
  Router                         █████████                  7m  CC̄=3.0   max=8   
  SessionStore                   ████████                   6m  CC̄=2.8   max=6   
  _StateMixin                    ███████                    5m  CC̄=5.0   max=7   
  VMOrchestrator                 ███████                    5m  CC̄=2.8   max=5   
  TTSEngine                      ███████                    5m  CC̄=3.0   max=6   
  _InfraMixin                    █████                      4m  CC̄=3.0   max=3   
  _SnapshotMixin                 █████                      4m  CC̄=5.0   max=6   
  MCPClient                      █████                      4m  CC̄=4.0   max=6   
  MCPRouter                      █████                      4m  CC̄=3.0   max=5   
  CostLedger                     █████                      4m  CC̄=2.5   max=5   
  DeltaWatchClient               █████                      4m  CC̄=3.2   max=5   
  VoiceListener                  ████                       3m  CC̄=2.3   max=3   
  AuthMiddleware                 ██                         2m  CC̄=3.0   max=5   
  _ProjectMixin                  ██                         2m  CC̄=3.0   max=3   
  AccountLimits                  ██                         2m  CC̄=4.5   max=5   
  Settings                       ██                         2m  CC̄=2.0   max=3   
  AgentSession                   ██                         2m  CC̄=1.5   max=2   
  FileSnapshot                   █                          1m  CC̄=2.0   max=2   
  CostTrackingMiddleware         █                          1m  CC̄=2.0   max=2   
  BrowserProfile                 █                          1m  CC̄=1.0   max=1   
  ProjectsConfig                 █                          1m  CC̄=9.0   max=9   
  AccountCredentials             █                          1m  CC̄=5.0   max=5   
  UsageMetrics                   █                          1m  CC̄=2.0   max=2   
  Account                        █                          1m  CC̄=3.0   max=3   
  ProjectContext                 █                          1m  CC̄=3.0   max=3   
  DeltaPayload                                              0m  CC̄=0.0   max=0.0 
  AppDataSync                                               0m  CC̄=0.0   max=0.0 
  VMBackend                                                 0m  CC̄=0.0   max=0.0 
  VMState                                                   0m  CC̄=0.0   max=0.0 
  CloneBoxResult                                            0m  CC̄=0.0   max=0.0 
  VMConfig                                                  0m  CC̄=0.0   max=0.0 
  VMStatus                                                  0m  CC̄=0.0   max=0.0 
  ParsedCommand                                             0m  CC̄=0.0   max=0.0 
  TaskTier                                                  0m  CC̄=0.0   max=0.0 
  Capability                                                0m  CC̄=0.0   max=0.0 
  ModelSpec                                                 0m  CC̄=0.0   max=0.0 
  ProviderType                                              0m  CC̄=0.0   max=0.0 
  ToolType                                                  0m  CC̄=0.0   max=0.0 
  ToolBinding                                               0m  CC̄=0.0   max=0.0 
  MCPTransport                                              0m  CC̄=0.0   max=0.0 
  MCPServerSpec                                             0m  CC̄=0.0   max=0.0 
  MCPToolResult                                             0m  CC̄=0.0   max=0.0 
  AnalysisResult                                            0m  CC̄=0.0   max=0.0 
  RoutingDecision                                           0m  CC̄=0.0   max=0.0 
  CreateAccountReq                                          0m  CC̄=0.0   max=0.0 
  BindToolReq                                               0m  CC̄=0.0   max=0.0 
  CreateVMReq                                               0m  CC̄=0.0   max=0.0 
  SwitchProjectReq                                          0m  CC̄=0.0   max=0.0 
  VMCreateRequest                                           0m  CC̄=0.0   max=0.0 
  VMActionRequest                                           0m  CC̄=0.0   max=0.0 
  VMSnapshotRequest                                         0m  CC̄=0.0   max=0.0 
  VMSwitchRequest                                           0m  CC̄=0.0   max=0.0 
  AccountAddRequest                                         0m  CC̄=0.0   max=0.0 

D:
  src/proxym/dashboard/panel.jsx:
    e: useState,useEffect,useCallback,StatusBadge,CostBar,pct,color,Card,ModelsTable,AccountRow,a,NewAccountForm,handleSubmit,AccountsPanel,handleCreate,formatDate,date,now,diffMs,diffMins,diffHours,diffDays,formatDuration,mins,hours,days,formatSize,StateBadge,colors,VMCard,actions,VMsPanel,sortedVms,comparison,aOrder,bOrder,aSize,bSize,handleSelect,newSelected,handleSelectAll,handleBulkAction,vmIds,handleAction,hasSelected,allSelected,runningCount,stoppedCount,pausedCount,DashboardHeader,TabNav,CostSummary,BudgetCards,dailyUsed,monthlyUsed,SystemCard,ProvidersCard,OverviewTab,LogPanel,filteredLogs,errorCount,warnCount,Dashboard,data,root
    useState()
    useEffect()
    useCallback()
    StatusBadge()
    CostBar()
    pct()
    color()
    Card()
    ModelsTable()
    AccountRow()
    a()
    NewAccountForm()
    handleSubmit()
    AccountsPanel()
    handleCreate()
    formatDate()
    date()
    now()
    diffMs()
    diffMins()
    diffHours()
    diffDays()
    formatDuration()
    mins()
    hours()
    days()
    formatSize()
    StateBadge()
    colors()
    VMCard()
    actions()
    VMsPanel()
    sortedVms()
    comparison()
    aOrder()
    bOrder()
    aSize()
    bSize()
    handleSelect()
    newSelected()
    handleSelectAll()
    handleBulkAction()
    vmIds()
    handleAction()
    hasSelected()
    allSelected()
    runningCount()
    stoppedCount()
    pausedCount()
    DashboardHeader()
    TabNav()
    CostSummary()
    BudgetCards()
    dailyUsed()
    monthlyUsed()
    SystemCard()
    ProvidersCard()
    OverviewTab()
    LogPanel()
    filteredLogs()
    errorCount()
    warnCount()
    Dashboard()
    data()
    root()
  htmlcov/coverage_html_cb_dd2e7eb5.js:
    e: debounce,timeoutId,checkVisible,rect,viewBottom,viewTop,on_click,elt,getCellValue,cell,child,rowComparator,valueA,valueB,sortColumn,currentSortOrder,current_direction,stored_list,saved_filter_value,saved_hide100_value,table,table_body_rows,no_rows,footer,ratio_columns,filter_handler,totals,text,casefold,hide100,show,celltext,cell,places,stored_list,by_region,sorted_by_region,frag,btn,category,btn,helpCheck,classes,match,c,probe,begin,next_indicator,c,probe,probe_line,chunk_indicator,end,prev_indicator,begin,end,line,line,c,probe_line,the_indicator,probe,indicator,begin,element,temp_scroll_marker,marker_scale,line_height,scroll_marker,line_top,line_number,header,header_bottom,updateHeader,ctxs,ctxs_text,width
    debounce()
    timeoutId()
    checkVisible()
    rect()
    viewBottom()
    viewTop()
    on_click()
    elt()
    getCellValue()
    cell()
    child()
    rowComparator()
    valueA()
    valueB()
    sortColumn()
    currentSortOrder()
    current_direction()
    stored_list()
    saved_filter_value()
    saved_hide100_value()
    table()
    table_body_rows()
    no_rows()
    footer()
    ratio_columns()
    filter_handler()
    totals()
    text()
    casefold()
    hide100()
    show()
    celltext()
    cell()
    places()
    stored_list()
    by_region()
    sorted_by_region()
    frag()
    btn()
    category()
    btn()
    helpCheck()
    classes()
    match()
    c()
    probe()
    begin()
    next_indicator()
    c()
    probe()
    probe_line()
    chunk_indicator()
    end()
    prev_indicator()
    begin()
    end()
    line()
    line()
    c()
    probe_line()
    the_indicator()
    probe()
    indicator()
    begin()
    element()
    temp_scroll_marker()
    marker_scale()
    line_height()
    scroll_marker()
    line_top()
    line_number()
    header()
    header_bottom()
    updateHeader()
    ctxs()
    ctxs_text()
    width()
  src/proxym/dashboard/__init__.py:
    e: CreateAccountReq,BindToolReq,CreateVMReq,SwitchProjectReq,_accounts,_vms,list_accounts,create_account,get_account,delete_account,bind_tool,cost_summary,cost_detailed,list_vms,create_vm,start_vm,stop_vm,pause_vm,resume_vm,snapshot_vm,switch_project,delete_vm,delete_vm_post,bulk_delete_vms,dashboard_root,system_status,list_providers,get_logs
    CreateAccountReq
    BindToolReq
    CreateVMReq
    SwitchProjectReq
    _accounts()
    _vms()
    list_accounts(provider,tag)
    create_account(req)
    get_account(account_id)
    delete_account(account_id)
    bind_tool(account_id,req)
    cost_summary()
    cost_detailed()
    list_vms()
    create_vm(req)
    start_vm(vm_id)
    stop_vm(vm_id,force)
    pause_vm(vm_id)
    resume_vm(vm_id)
    snapshot_vm(vm_id,name)
    switch_project(vm_id,req)
    delete_vm(vm_id)
    delete_vm_post(vm_id)
    bulk_delete_vms(req)
    dashboard_root()
    system_status()
    list_providers()
    get_logs(lines,level)
  src/proxym/virt/_orchestrator.py:
    e: _InfraMixin,_LifecycleMixin,_SnapshotMixin,_StateMixin,_ProjectMixin,_ConfigMixin,VMOrchestrator
    _InfraMixin  # Low-level helpers: shell commands and libvirt XML generation...
      _run(1)  CC=3.0
    _LifecycleMixin  # VM creation, start, stop, pause, resume....
      create_vm(1)  CC=4.0
        → _create_vm_clonebox(1)  CC=11.0
        → create_vm(1)  CC=4.0
        → _create_vm_virsh(1)  CC=4.0
    _SnapshotMixin  # VM snapshots: create, restore, delete VM....
      snapshot_vm(2)  CC=5.0
        → _snapshot_clonebox(2)  CC=3.0
    _StateMixin  # VM status queries and state refresh....
      get_status(1)  CC=6.0
        → _refresh_state_clonebox(1)  CC=7.0
        → _refresh_state_virsh(1)  CC=2.0
        → _get_vm_ip(1)  CC=7.0
    _ProjectMixin  # Project switching (hot-swap code mounts)....
      switch_project(2)  CC=3.0
        → _remount_project(2)  CC=3.0
    _ConfigMixin  # VM configuration injection: API keys, templates, cloud-init ...
      _generate_vm_key(2)  CC=1.0
    VMOrchestrator  # Manages VMs for isolated dev environments.

Backend selectio...
      __init__(5)  CC=1.0
        → _load_configs(0)  CC=5.0
  src/proxym/cli/system.py:
    e: cmd_serve,cmd_status,cmd_models
    cmd_serve(args)
    cmd_status(args)
    cmd_models(args)
  src/proxym/accounts/__init__.py:
    e: ProviderType,ToolType,AccountCredentials,UsageMetrics,AccountLimits,ToolBinding,Account,AccountManager
    ProviderType
    ToolType
    AccountCredentials  # Credentials for a single provider account....
      to_safe_dict(0)  CC=5.0
    UsageMetrics  # Tracked usage for a single account....
      record(3)  CC=2.0
    AccountLimits  # Provider-imposed and user-defined limits....
      is_over_budget(1)  CC=5.0
    ToolBinding  # Binds an account to a specific tool/IDE instance....
    Account  # Single provider account with all associated data....
      status_summary(0)  CC=3.0
    AccountManager  # Central account registry.

Persists to a JSON file, with liv...
      __init__(1)  CC=1.0
        → _load(0)  CC=4.0
        → _dict_to_account(0)  CC=2.0
  src/proxym/cache/__init__.py:
    e: FileSnapshot,DeltaPayload,DeltaBuffer
    FileSnapshot  # Immutable snapshot of a single file....
      from_path(0)  CC=2.0
    DeltaPayload  # Computed delta between two context snapshots....
    DeltaBuffer  # Maintains file snapshots and computes minimal diffs.

Parame...
      __init__(4)  CC=2.0
  src/proxym/virt/browser_profiles.py:
    e: BrowserProfile,AppDataSync,detect_firefox_profiles,detect_chrome_profiles,detect_chromium_profiles,detect_all_profiles,generate_app_data_sync,_detect_chromium_family,_scan_firefox_cookies,_scan_chrome_cookies,_dir_size_mb,_chrome_config_dir
    BrowserProfile  # Detected browser profile on the host....
      to_dict(0)  CC=1.0
    AppDataSync  # Configuration for syncing browser data into a VM....
    detect_firefox_profiles()
    detect_chrome_profiles()
    detect_chromium_profiles()
    detect_all_profiles()
    generate_app_data_sync(profile,with_passwords)
    _detect_chromium_family(base_dir,browser)
    _scan_firefox_cookies(cookies_db)
    _scan_chrome_cookies(cookies_file)
    _dir_size_mb(path)
    _chrome_config_dir(browser)
  src/proxym/virt/_config.py:
    e: ProjectsConfig,VMConfig,VMStatus
    ProjectsConfig  # Configuration for shared project mounts from the host....
      filter_projects(1)  CC=9.0
    VMConfig  # Configuration for a development VM....
    VMStatus  # Runtime status of a VM....
  src/proxym/cli/chat.py:
    e: _fmt_status,_fmt_vms,_fmt_costs,_fmt_vm_action,_format_result,_ask_proxym_llm,_get_input,_process_input,_init_voice,_init_tts,cmd_chat,_print_help
    _fmt_status(data)
    _fmt_vms(data)
    _fmt_costs(data)
    _fmt_vm_action(data)
    _format_result(data,pattern_name)
    _ask_proxym_llm(text,proxy_url,api_key)
    _get_input(voice)
    _process_input(text,dsl,proxy_url,api_key)
    _init_voice(args)
    _init_tts(args)
    cmd_chat(args)
    _print_help(dsl)
  src/proxym/cli/_client.py:
    e: make_client,print_json,print_table
    make_client(base,key)
    print_json(data)
    print_table(rows,columns,widths)
  src/proxym/context/detector.py:
    e: detect_project,_from_directory,_get_git_remote,_detect_stack,_detect_frameworks,_extract_paths,_find_common_root,_extract_system_text,_from_system_prompt
    detect_project(messages,headers)
    _from_directory(directory)
    _get_git_remote(root)
    _detect_stack(root)
    _detect_frameworks(root)
    _extract_paths(messages)
    _find_common_root(paths)
    _extract_system_text(messages)
    _from_system_prompt(text)
  src/proxym/router/strategy.py:
    e: RoutingDecision,CostLedger,Router,_find_candidates,_resolve_explicit,_estimate_cost
    RoutingDecision  # Complete routing decision with audit trail....
    CostLedger  # In-memory cost ledger with Redis persistence.

Tracks spend ...
      __init__(2)  CC=1.0
        → _rotate_keys(0)  CC=3.0
    Router  # Stateful router that selects the optimal model per request....
      __init__(3)  CC=2.0
    _find_candidates(analysis,available_providers)
    _resolve_explicit(model_str)
    _estimate_cost(model,estimated_output_tokens)
  src/proxym/providers/__init__.py:
    e: TaskTier,Capability,ModelSpec,_r,models_for_tier,cheapest_model,get_model
    TaskTier  # Complexity tier that determines which model class is needed....
    Capability
    ModelSpec  # Immutable specification for a single model deployment....
    _r(spec)
    models_for_tier(tier,required_caps,available_providers)
    cheapest_model(tier,available_providers,required_caps)
    get_model(model_id)
  src/proxym/router/__init__.py:
    e: AnalysisResult,analyze_request,_handle_explicit_tier,_handle_explicit_model,_match_patterns,_detect_image_blocks,_length_signals,_file_signals,_context_signals,_keyword_signals,_apply_heuristics,_select_tier,_estimate_output_tokens,_extract_user_text,_extract_system_text
    AnalysisResult  # Result of content analysis....
    analyze_request(messages)
    _handle_explicit_tier(explicit_tier)
    _handle_explicit_model(explicit_model)
    _match_patterns(user_text,all_text,tier_scores,caps,signals)
    _detect_image_blocks(messages,caps,signals)
    _length_signals(text_len,tier_scores,signals)
    _file_signals(file_count,tier_scores,signals)
    _context_signals(context_tokens,tier_scores,caps,signals)
    _keyword_signals(user_text,all_text,tier_scores,caps,signals)
    _apply_heuristics(user_text,all_text,file_count,context_tokens,tier_scores,caps,signals)
    _select_tier(tier_scores,signals,text_len)
    _estimate_output_tokens(tier)
    _extract_user_text(messages)
    _extract_system_text(messages)
  src/proxym/dashboard/hooks/useDashboardData.js:
    e: useHealth,refresh,h,useBudget,refresh,useModels,refresh,m,useProviders,refresh,p,useResources,refresh,useLogs,refresh,l,useDashboardData,getInitialTab,hash,setTab,handleHashChange,newTab,healthHook,budgetHook,modelsHook,providersHook,resourcesHook,logsHook,refresh,isUp,i
    useHealth()
    refresh()
    h()
    useBudget()
    refresh()
    useModels()
    refresh()
    m()
    useProviders()
    refresh()
    p()
    useResources()
    refresh()
    useLogs()
    refresh()
    l()
    useDashboardData()
    getInitialTab()
    hash()
    setTab()
    handleHashChange()
    newTab()
    healthHook()
    budgetHook()
    modelsHook()
    providersHook()
    resourcesHook()
    logsHook()
    refresh()
    isUp()
    i()
  src/proxym/api/_pipeline.py:
    e: CompletionPipeline,_set_provider_keys,_calculate_cost,_inject_context,_resolve_model_alias
    CompletionPipeline  # Structured pipeline for processing a chat completion request...
      __init__(3)  CC=2.0
    _set_provider_keys(kwargs,model)
    _calculate_cost(model,prompt_tokens,completion_tokens)
    _inject_context(messages)
    _resolve_model_alias(requested_model)
  src/proxym/cli/browser.py:
    e: cmd_browser_list,cmd_browser_assign,cmd_browser_sync,cmd_browser_snapshot
    cmd_browser_list(args)
    cmd_browser_assign(args)
    cmd_browser_sync(args)
    cmd_browser_snapshot(args)
  src/proxym/cli/vms.py:
    e: cmd_vm_list,cmd_vm_create,cmd_vm_action,cmd_vm_switch,cmd_vm_open,_find_vm,cmd_vm_ssh,cmd_vm_logs
    cmd_vm_list(args)
    cmd_vm_create(args)
    cmd_vm_action(args)
    cmd_vm_switch(args)
    cmd_vm_open(args)
    _find_vm(args)
    cmd_vm_ssh(args)
    cmd_vm_logs(args)
  src/proxym/cli/tts.py:
    e: TTSEngine
    TTSEngine  # Text-to-speech engine with pluggable backends.

Parameters
-...
      __init__(2)  CC=1.0
        → _validate(0)  CC=5.0
  src/proxym/cli/accounts.py:
    e: cmd_accounts_list,cmd_accounts_add,cmd_accounts_costs
    cmd_accounts_list(args)
    cmd_accounts_add(args)
    cmd_accounts_costs(args)
  src/proxym/mcp/client.py:
    e: MCPToolResult,MCPClient
    MCPToolResult  # Result of an MCP tool invocation....
    MCPClient  # HTTP client for MCP server communication.

Parameters
------...
      __init__(2)  CC=1.0
  src/proxym/context/session.py:
    e: AgentSession,SessionStore
    AgentSession  # Stateful session for an agent working on a project....
      touch(0)  CC=1.0
    SessionStore  # In-memory session store with TTL-based expiry.

Parameters
-...
      __init__(2)  CC=1.0
  src/proxym/api/system.py:
    e: _extract_api_key,_resolve_vm_from_key,favicon,health,list_models,budget_status,context_stats
    _extract_api_key(auth_header)
    _resolve_vm_from_key(api_key)
    favicon()
    health(request,authorization,x_api_key)
    list_models()
    budget_status()
    context_stats()
  src/proxym/middleware/__init__.py:
    e: AuthMiddleware,CostTrackingMiddleware
    AuthMiddleware  # Simple bearer token auth (matches LiteLLM master_key pattern...
      __init__(2)  CC=1.0
        → __init__(2)  CC=1.0
    CostTrackingMiddleware  # Log request timing and attach cost headers to responses....
      dispatch(2)  CC=2.0
  src/proxym/virt/clonebox_adapter.py:
    e: CloneBoxResult,CloneBoxAdapter
    CloneBoxResult  # Result of a clonebox CLI invocation....
    CloneBoxAdapter  # Adapter wrapping the clonebox CLI for VM operations.

All op...
      __init__(1)  CC=1.0
  src/proxym/cli/dsl.py:
    e: ParsedCommand,DSLParser
    ParsedCommand  # Result of successfully parsing a user phrase against the DSL...
    DSLParser  # Parse natural language phrases into proxym API calls.

Works...
      __init__(1)  CC=1.0
        → _load_dsl(0)  CC=3.0
        → _compile_patterns(0)  CC=4.0
  src/proxym/mcp/router.py:
    e: MCPRouter
    MCPRouter  # Routes tool requests to appropriate MCP servers.

Parameters...
      __init__(1)  CC=1.0
  src/proxym/context/tool_selector.py:
    e: select_tools,_detect_intent
    select_tools(context,analysis,available_servers)
    _detect_intent(analysis)
  src/proxym/api/frontend.py:
    e: _serve_file,dashboard_ui,dashboard_hook_js,dashboard_api_js,dashboard_jsx,get_frontend_config
    _serve_file(paths,media_type,charset_header)
    dashboard_ui()
    dashboard_hook_js()
    dashboard_api_js()
    dashboard_jsx()
    get_frontend_config(request)
  src/proxym/watch/__init__.py:
    e: DeltaWatchClient,cli
    DeltaWatchClient  # Watches a directory and pushes context deltas to the proxy s...
      __init__(5)  CC=5.0
    cli()
  src/proxym/virt/profiles/__init__.py:
    e: get_builtin_profile,list_builtin_profiles,merge_profiles,load_profile_yaml
    get_builtin_profile(tool)
    list_builtin_profiles()
    merge_profiles(base,override)
    load_profile_yaml(path)
  src/proxym/ctl.py:
    e: _make_args,cli,serve,status,models,accounts,accounts_list,accounts_add,accounts_costs,vm,vm_list,vm_create,vm_start,vm_stop,vm_pause,vm_resume,vm_snapshot,vm_switch,vm_open,vm_ssh,vm_logs,browser,browser_list,browser_assign,browser_sync,browser_snapshot
    _make_args(ctx)
    cli(ctx,proxy,key,fmt)
    serve(host,port,reload)
    status(ctx,fmt)
    models(ctx,fmt)
    accounts()
    accounts_list(ctx)
    accounts_add(ctx,name,provider,api_key,email,daily_budget,monthly_budget,tags)
    accounts_costs(ctx)
    vm()
    vm_list(ctx)
    vm_create(ctx,name,tool,account,mount,project,cpus,memory,image)
    vm_start(ctx,vm_id)
    vm_stop(ctx,vm_id,force)
    vm_pause(ctx,vm_id)
    vm_resume(ctx,vm_id)
    vm_snapshot(ctx,vm_id,name)
    vm_switch(ctx,vm_id,project)
    vm_open(ctx,vm_id)
    vm_ssh(ctx,vm_id,user)
    vm_logs(ctx,vm_id)
    browser()
    browser_list(ctx)
    browser_assign(ctx,profile,account)
    browser_sync(ctx,vm_id)
    browser_snapshot(ctx,vm_id)
  src/proxym/mcp/registry.py:
    e: MCPTransport,MCPServerSpec,MCPRegistry
    MCPTransport  # Transport protocol for MCP communication....
    MCPServerSpec  # Specification of a registered MCP server.

Attributes
------...
    MCPRegistry  # Registry of available MCP servers.

Servers can be registere...
      __init__(0)  CC=1.0
  src/proxym/mcp/self_server.py:
    e: VMCreateRequest,VMActionRequest,VMSnapshotRequest,VMSwitchRequest,AccountAddRequest,_get_dashboard,_get_orchestrator,tool_vm_list,tool_vm_create,tool_vm_start,tool_vm_stop,tool_vm_snapshot,tool_vm_switch_project,tool_account_list,tool_account_costs,tool_account_add,tool_status,tool_logs,tool_models
    VMCreateRequest
    VMActionRequest
    VMSnapshotRequest
    VMSwitchRequest
    AccountAddRequest
    _get_dashboard()
    _get_orchestrator()
    tool_vm_list()
    tool_vm_create(req)
    tool_vm_start(req)
    tool_vm_stop(req)
    tool_vm_snapshot(req)
    tool_vm_switch_project(req)
    tool_account_list()
    tool_account_costs()
    tool_account_add(req)
    tool_status()
    tool_logs(lines,level)
    tool_models()
  src/proxym/virt/_check.py:
    e: _check_clonebox
    _check_clonebox()
  src/proxym/cli/voice.py:
    e: VoiceListener
    VoiceListener  # Local STT: microphone → text via Faster-Whisper.

Parameters...
      __init__(2)  CC=2.0
  src/proxym/config.py:
    e: Settings,get_settings
    Settings  # All settings with sensible defaults. Override via env vars o...
      available_providers(0)  CC=3.0
    get_settings()
  src/proxym/context/_context.py:
    e: ProjectContext
    ProjectContext  # Detected project context for a request.

Populated by ``dete...
      make_project_id(1)  CC=3.0
  src/proxym/dashboard/api.js:
    e: _api,_key,_debug,_headers,get,post
    _api()
    _key()
    _debug()
    _headers()
    get()
    post()
  src/proxym/main.py:
    e: lifespan,cli
    lifespan(app)
    cli()
  src/proxym/api/context_api.py:
    e: receive_delta,detect_context,list_sessions,list_mcp_servers
    receive_delta(request)
    detect_context(request)
    list_sessions()
    list_mcp_servers()
  src/proxym/api/_state.py:
    e: get_router,get_delta_buffer,get_mcp_router,get_session_store,get_context_payload,set_context_payload
    get_router()
    get_delta_buffer()
    get_mcp_router()
    get_session_store()
    get_context_payload()
    set_context_payload(payload)
  src/proxym/api/completions.py:
    e: chat_completions
    chat_completions(request,x_task_tier)
  docs/open-webui-tools/proxym_tools.py:
    e: ProxymTools,_call
    ProxymTools  # Tools for managing proxym AI proxy from Open WebUI....
      get_status(0)  CC=1.0
    _call(method,path)
  project/examples/advanced_usage.py:
  src/proxym/__init__.py:
  project/examples/quickstart.py:
  src/proxym/virt/_enums.py:
    e: VMBackend,VMState
    VMBackend
    VMState
  src/proxym/virt/__init__.py:
  src/proxym/cli/__init__.py:
  src/proxym/mcp/__init__.py:
  src/proxym/context/__init__.py:
  src/proxym/api/__init__.py:
  src/proxym/watch/client.py:
  frontend/proxym-dashboard.jsx:
  project.sh:
  scripts/jetson-entrypoint.sh:
  scripts/setup.sh:
