Skip to content

Improve visualization of Agent SDK - #187

Merged
xingyaoww merged 4 commits into
mainfrom
xw/viz
Sep 10, 2025
Merged

xingyaoww merged 4 commits into
mainfrom
xw/viz

Conversation

@xingyaoww

Copy link
Copy Markdown
Contributor

No description provided.

@xingyaoww
xingyaoww enabled auto-merge (squash) September 10, 2025 18:40
@xingyaoww
xingyaoww merged commit b688b54 into main Sep 10, 2025
@xingyaoww
xingyaoww deleted the xw/viz branch September 10, 2025 18:43
@github-actions

github-actions Bot commented Sep 10, 2025 •

Copy link
Copy Markdown
Contributor

Coverage

Coverage Report
FileStmtsMissCoverMissing
openhands
   __init__.py10100% 
openhands/sdk
   __init__.py14285%22–23
   logger.py732171%33, 57, 64–67, 69–71, 124, 130–132, 135–136, 142–144, 151, 156–157
openhands/sdk/agent
   __init__.py30100% 
   agent.py1452980%61, 81–83, 136–137, 139–141, 143–145, 180, 194, 217, 247, 281–283, 287–289, 296–297, 301, 305–306, 336, 343
   base.py34391%42, 63, 83
openhands/sdk/context
   __init__.py40100% 
   agent_context.py57296%146, 152
   manager.py330%1, 4–5
   view.py47687%46–50, 52
openhands/sdk/context/condenser
   __init__.py30100% 
   condenser.py17382%68–69, 73
   no_op_condenser.py60100% 
openhands/sdk/context/microagents
   __init__.py40100% 
   exceptions.py50100% 
   microagent.py1432582%129, 132–135, 217–220, 228, 250–251, 256–257, 259, 263, 270–272, 280–282, 336, 338–339
   types.py300100% 
openhands/sdk/context/utils
   __init__.py20100% 
   prompt.py30583%12, 15, 24, 44–45
openhands/sdk/conversation
   __init__.py50100% 
   conversation.py89891%88, 96, 104–106, 110–111, 167
   state.py30293%49–50
   types.py30100% 
   visualizer.py89594%88, 139, 161, 201, 203
openhands/sdk/event
   __init__.py50100% 
   base.py742072%51, 55, 75, 79–81, 83–88, 90–91, 93–95, 97–98, 100
   condenser.py25580%29, 33–35, 49
   llm_convertible.py1781790%37, 50, 58–59, 64–65, 243, 279–280, 285, 293, 334–335, 340, 373–374, 379
   types.py30100% 
   user_action.py12191%21
   utils.py110100% 
openhands/sdk/llm
   __init__.py60100% 
   exceptions.py360100% 
   llm.py39311371%257, 262, 275–277, 281–282, 314, 373, 379–380, 468, 481–482, 487–488, 490–491, 494–496, 501–503, 507–509, 530–533, 538–543, 547–548, 557–559, 562–563, 587, 593–594, 640, 689, 695, 698, 707–708, 717, 724, 727, 731–733, 737, 739–744, 746–763, 766–770, 772–773, 779–788, 792–803
   llm_registry.py380100% 
   message.py102298%214–215
   metadata.py150100% 
openhands/sdk/llm/mixins
   fn_call_converter.py34310170%74, 343, 345, 349, 367, 369, 375, 381, 383, 422, 424, 426, 428, 433–434, 518–520, 522, 524, 545–547, 553, 575, 601–602, 610–613, 615, 617, 639, 648, 656, 701–704, 708–711, 723, 727, 738, 748, 797–798, 800, 819–821, 823–826, 829, 833, 844–845, 859, 867, 870–871, 876, 905–908, 912–913, 918–919, 924, 973–974, 980, 994, 1006, 1008–1009, 1012–1014, 1016–1017, 1023–1025, 1027–1028, 1030, 1032, 1036, 1038, 1043, 1045–1046, 1049
   non_native_fc.py39392%64, 75, 91
openhands/sdk/llm/utils
   metrics.py111298%17, 117
   model_features.py400100% 
   telemetry.py1361588%71, 94, 99–100, 112–113, 120, 134, 199, 216, 222, 229, 232, 234, 241
openhands/sdk/mcp
   __init__.py50100% 
   client.py631182%41, 56–57, 78, 82, 94–95, 105–106, 112–113
   definition.py27196%54
   tool.py401367%36–39, 43, 46, 49–52, 101–102, 107
   utils.py30486%23–24, 27, 30
openhands/sdk/tool
   __init__.py40100% 
   schema.py1341787%25–27, 29, 38, 190–192, 195–196, 198, 243–246, 266, 281
   security_prompt.py30100% 
   tool.py931089%58, 90, 160, 163–169
openhands/sdk/tool/builtins
   __init__.py40100% 
   finish.py19194%23
   think.py311358%22, 25–26, 29, 31–35, 37, 49, 55, 72
openhands/sdk/utils
   __init__.py20100% 
   discriminated_union.py63592%173, 212, 217, 224, 227
   json.py28280%1–3, 5, 7–8, 11, 14–21, 25, 28, 30–31, 34, 37–38, 40, 43, 45–48
   truncate.py100100% 
openhands/tools
   __init__.py9277%49–50
openhands/tools/execute_bash
   __init__.py40100% 
   constants.py90100% 
   definition.py914550%36, 39, 42–43, 45, 48–50, 52–54, 56, 104, 107–109, 112, 114–116, 118, 122–123, 126–128, 130–131, 134–137, 141–143, 148, 152–154, 157–159, 163–164, 166
   impl.py100100% 
   metadata.py50394%95–96, 100
openhands/tools/execute_bash/terminal
   __init__.py60100% 
   factory.py491177%24–25, 30, 32, 35, 37–38, 44–46, 97
   interface.py661478%43, 52, 62, 71, 76, 85, 94, 99, 104, 145, 157, 162, 171, 180
   subprocess_terminal.py2365975%68, 98–99, 125, 131, 138, 145–146, 156–157, 163–164, 178, 180, 184–186, 192, 208, 217–221, 256–258, 263, 275, 289, 313, 315, 324, 345, 361, 366, 372–374, 382–383, 387–388, 390–396, 400–401, 404–405, 407–408, 410–412
   terminal_session.py178895%92, 96–98, 235, 281, 297, 317
   tmux_terminal.py752270%35, 41, 85, 98, 109, 123, 135–142, 150–151, 153–154, 156, 158–160
openhands/tools/execute_bash/utils
   command.py81495%48, 64–66
openhands/tools/str_replace_editor
   __init__.py30100% 
   definition.py61985%86, 98, 118, 121, 124, 131, 133, 135, 137
   editor.py2281195%131, 264, 340, 350, 401–402, 641, 648–649, 663, 668
   exceptions.py220100% 
   impl.py26292%31–32
openhands/tools/str_replace_editor/utils
   __init__.py00100% 
   config.py20100% 
   constants.py50100% 
   diff.py64198%115
   encoding.py54198%81
   file_cache.py95990%44–46, 49–50, 54, 59, 151, 154
   history.py66198%79
   shell.py230100% 
openhands/tools/task_tracker
   __init__.py20100% 
   definition.py1299228%47, 50–52, 54–55, 58–59, 61, 77, 82, 84, 86–87, 90, 93–95, 97–98, 101–107, 109–111, 114, 116–119, 121, 124, 126–127, 129–130, 132, 145–146, 149–150, 154, 156, 158–160, 166, 168–169, 174–175, 179, 188–189, 191–193, 197–198, 200–203, 205, 209–210, 212–214, 216–220, 224, 228–229, 231–232, 234, 236–240, 402, 405
openhands/tools/utils
   __init__.py00100% 
TOTAL460479082% 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant