Dashboard › Code › Distillation
0d73af14-ca18-42a2-801b-43531a675d7b["5873930e978c421da702282ea99ddef5","3e9610df71b057fc892bd66351e97fd4","9f1328cc37a6bd7e940e07dcba63f0f9","1282bdad29bb934e6c41c56909107da8","0d6cbbb9e7f9412229f5cf9156854e8d","d34e9ed20cd961274dfb610e692fc3fe","90e7f39c0c3b0b09cb5545bc636c1726","173a8bbf09df16409aeb8f0fc0654b24","f3d8efd9dd1276034bab28015d3b2eb3","328773efc4d3b3a9dfc0eff44b117a52","60bfa1adce8bb1c365e0c55a11dbbfd3","46c4b8bd925cb343063617c7179cea55","e02e0da080b2aee116b41f168af54de1","d84a8e1f95460a6e3897afbb1fc96aa9","bf2fafb599a55156070da023483d7779","467113404283c48486ae243ca01da6a4"]
oh_term.py (303 lines): TerminalTool registered at line 303 via register_tool(TerminalTool.name, TerminalTool); ToolAnnotations set as title="terminal", readOnlyHint=False, destructiveHint=True, idempotentHint=False, openWorldHint=Truetool.py line 241: tool name derived via _camel_to_snake(cls.__name__).removesuffix("_tool") — so TerminalTool → terminal, FileEditorTool → file_editor, ReadFileTool → read_file; name is a ClassVar[str] = "" (line 234); _camel_to_snake defined at line 51; ToolDefinition class at line 197; Executor type at line 134; ToolSpec at line 187tool.py to_openai_tool at line 465; Responses API conversion at line 502; both use self.name for function name fieldterminal/__init__.py exports: TerminalTool, TerminalAction, TerminalObservation (from definition); TerminalExecutor (from impl); TerminalCommandStatus, TerminalSession, create_terminal_session (from terminal)file_editor/definition.py: FileEditorAction fields — command: CommandLiteral (options: view, create, str_replace, insert, undo_edit), path: str (absolute path), file_text: str | None (for create), old_str: str | None (for str_replace), new_str: str | None (for str_replace/insert), insert_line: int | None (for insert, inserts AFTER this line), view_range: list[int] | None (for view); registered at line 272 via register_tool(FileEditorTool.name, FileEditorTool); FileEditorTool class at line 193file_editor/definition.py TOOL_DESCRIPTION (lines 160-174): "Custom editing tool for viewing, creating and editing files in plain-text format"; bullets: state persistent across calls; view on text file runs cat -n, on directory lists non-hidden files 2 levels deep; create cannot overwrite existing file; long output truncated with `