Repository navigation
Agent KB_poc_tui
grisun0 edited this page Oct 16, 2026
·
18 revisions
- Doc: Entry point: python3 -m poc_tui
- Layer: utility
- Language: py
- Depends on:
poc_tui/app.py
- Doc: LazyOwn TUI Shell — Proof of Concept. cmd2 as backend, Textual as frontend.
- Layer: utility
- Language: py
- Symbols:
-
ShellBackend(class, line 44)class ShellBackend -
DashboardPanel(class, line 137)class DashboardPanel(Static) -
PluginBrowser(class, line 195)class PluginBrowser(Static) -
OutputPanel(class, line 240)class OutputPanel(VerticalScroll) -
LazyOwnTUI(class, line 297)class LazyOwnTUI(App) -
main(function, line 629)def main() -
__init__(method, line 47)def __init__(self, base_dir) -
import_shell_class(method, line 53)def import_shell_class(self) -
start(method, line 71)def start(self) -
run(method, line 83)def run(self, cmd) -
get_commands(method, line 106)def get_commands(self) -
get_aliases(method, line 119)def get_aliases(self) -
stop(method, line 124)def stop(self) -
__init__(method, line 140)def __init__(self, base_dir) -
compose(method, line 144)def compose(self) -
refresh_data(method, line 165)def refresh_data(self, backend, cmd_count) -
__init__(method, line 198)def __init__(self) -
compose(method, line 201)def compose(self) -
update_commands(method, line 207)def update_commands(self, commands) -
_guess_category(method, line 223)def _guess_category(name, help_text) -
__init__(method, line 248)def __init__(self) -
compose(method, line 252)def compose(self) -
_log(method, line 255)def _log(self) -
write_renderable(method, line 258)def write_renderable(self, renderable) -
write_markup(method, line 263)def write_markup(self, text) -
append_command(method, line 268)def append_command(self, cmd) -
append_result(method, line 273)def append_result(self, text, success) -
append_error(method, line 283)def append_error(self, text) -
append_system(method, line 287)def append_system(self, text) -
__init__(method, line 394)def __init__(self, base_dir) -
compose(method, line 405)def compose(self) -
on_mount(method, line 418)def on_mount(self) -
_on_backend_ready(method, line 444)def _on_backend_ready(self) -
_auto_refresh_dashboard(method, line 464)def _auto_refresh_dashboard(self) -
execute_command(method, line 470)def execute_command(self, cmd_str) -
_drain_queue(method, line 495)def _drain_queue(self) -
_show_result(method, line 525)def _show_result(self, result) -
action_clear_output(method, line 539)def action_clear_output(self) -
action_tab_complete(method, line 544)def action_tab_complete(self) -
action_toggle_sidebar(method, line 549)def action_toggle_sidebar(self) -
action_refresh_dashboard(method, line 555)def action_refresh_dashboard(self) -
action_quit(method, line 561)def action_quit(self) -
on_command_submitted(method, line 577)def on_command_submitted(self, event) -
on_key(method, line 586)def on_key(self, event) -
_tab_complete(method, line 605)def _tab_complete(self, inp) -
_init_backend(function, line 429)def _init_backend() -
_work(function, line 510)def _work()
-
- Depends on:
cli/commands/containers.py,lazyown.py - Imported by:
poc_tui/__main__.py,poc_tui/run.py,poc_tui/test_app.py
- Doc: Payload.json configuration manager for the TUI shell.
- Layer: infrastructure
- Language: py
- Symbols:
-
PayloadConfig(class, line 12)class PayloadConfig -
__post_init__(method, line 18)def __post_init__(self) -
reload(method, line 21)def reload(self) -
save(method, line 28)def save(self) -
get(method, line 35)def get(self, key, default) -
set(method, line 38)def set(self, key, value) -
keys(method, line 41)def keys(self) -
items(method, line 44)def items(self) -
__getitem__(method, line 47)def __getitem__(self, key) -
__setitem__(method, line 50)def __setitem__(self, key, value) -
__contains__(method, line 53)def __contains__(self, key)
-
- Imported by:
poc_tui/plugin_loader.py
- Doc: Unified plugin loader — YAML addons, Lua plugins, and .tool files.
- Layer: infrastructure
- Language: py
- Symbols:
-
PluginSpec(class, line 29)class PluginSpec -
_replace_placeholders(function, line 41)def _replace_placeholders(command, params) -
_validate_clone_url(function, line 62)def _validate_clone_url(url) -
PluginLoader(class, line 84)class PluginLoader -
_LuaAppProxy(class, line 291)class _LuaAppProxy -
_subst(function, line 52)def _subst(match) -
__init__(method, line 91)def __init__(self, config, base_dir) -
_setup_lua(method, line 105)def _setup_lua(self) -
_lua_register(method, line 114)def _lua_register(self, name, func) -
_list_files(method, line 131)def _list_files(self, directory) -
load_all(method, line 139)def load_all(self) -
_load_yaml_addons(method, line 148)def _load_yaml_addons(self) -
_register_yaml_addon(method, line 161)def _register_yaml_addon(self, data) -
_load_lua_plugins(method, line 223)def _load_lua_plugins(self) -
_load_tool_files(method, line 248)def _load_tool_files(self) -
_register_tool(method, line 261)def _register_tool(self, data) -
__init__(method, line 294)def __init__(self, config) -
params(method, line 298)def params(self) -
one_cmd(method, line 301)def one_cmd(self, cmd) -
wrapper(function, line 117)def wrapper(arg) -
wrapper(function, line 172)def wrapper(arg) -
wrapper(function, line 269)def wrapper(arg)
-
- Depends on:
poc_tui/config.py
- Doc: Convenience launcher that symlinks LazyOwn dirs and starts the TUI.
- Layer: utility
- Language: py
- Symbols:
-
main(function, line 9)def main()
-
- Depends on:
poc_tui/app.py
- Doc: Pytest tests for LazyOwn TUI Shell POC.
- Layer: testing
- Language: py
- Symbols:
-
_run_async(function, line 17)def _run_async(coro) -
_make_backend(function, line 26)def _make_backend() -
TestShellBackend(class, line 32)class TestShellBackend -
TestLazyOwnTUIApp(class, line 100)class TestLazyOwnTUIApp -
test_init_sets_base_dir(method, line 33)def test_init_sets_base_dir(self) -
test_run_before_start(method, line 37)def test_run_before_start(self) -
test_start_and_stop(method, line 42)def test_start_and_stop(self) -
test_run_show(method, line 48)def test_run_show(self) -
test_run_help(method, line 55)def test_run_help(self) -
test_get_commands(method, line 62)def test_get_commands(self) -
test_get_aliases(method, line 71)def test_get_aliases(self) -
test_set_and_show(method, line 78)def test_set_and_show(self) -
test_buffer_cleared(method, line 86)def test_buffer_cleared(self) -
test_app_creates(method, line 101)def test_app_creates(self) -
test_app_starts_stops(method, line 105)def test_app_starts_stops(self) -
test_panels_visible(method, line 114)def test_panels_visible(self) -
test_input_has_focus(method, line 125)def test_input_has_focus(self) -
test_execute_help(method, line 135)def test_execute_help(self) -
test_input_cleared_after_submit(method, line 151)def test_input_cleared_after_submit(self) -
test_history_up(method, line 164)def test_history_up(self) -
test_history_down(method, line 181)def test_history_down(self) -
test_tab_complete(method, line 197)def test_tab_complete(self) -
test_toggle_sidebar(method, line 209)def test_toggle_sidebar(self) -
test_quit(method, line 224)def test_quit(self) -
test_backend_ready(method, line 234)def test_backend_ready(self) -
test_set_updates_dashboard(method, line 247)def test_set_updates_dashboard(self) -
test_show_command_output_in_log(method, line 269)def test_show_command_output_in_log(self) -
test_q_is_quit_not_shell_alias(method, line 288)def test_q_is_quit_not_shell_alias(self) -
test_quit_word_not_sent_to_backend(method, line 304)def test_quit_word_not_sent_to_backend(self) -
test_commands_queue_serialized(method, line 318)def test_commands_queue_serialized(self) -
test_focus_returns_after_command(method, line 341)def test_focus_returns_after_command(self) -
test_output_renders_ansi_codes(method, line 358)def test_output_renders_ansi_codes(self) -
test_busy_command_shows_running_indicator(method, line 373)def test_busy_command_shows_running_indicator(self) -
test_layout_all_panels_render_in_screenshot(method, line 392)def test_layout_all_panels_render_in_screenshot(self) -
test_command_output_visible_in_screenshot(method, line 411)def test_command_output_visible_in_screenshot(self) -
_t(function, line 106)def _t() -
_t(function, line 115)def _t() -
_t(function, line 126)def _t() -
_t(function, line 136)def _t() -
_t(function, line 152)def _t() -
_t(function, line 165)def _t() -
_t(function, line 182)def _t() -
_t(function, line 198)def _t() -
_t(function, line 210)def _t() -
_t(function, line 225)def _t() -
_t(function, line 235)def _t() -
_t(function, line 248)def _t() -
_t(function, line 270)def _t() -
_t(function, line 291)def _t() -
_t(function, line 307)def _t() -
_t(function, line 321)def _t() -
_t(function, line 342)def _t() -
_t(function, line 361)def _t() -
_t(function, line 374)def _t() -
_t(function, line 399)def _t() -
_t(function, line 414)def _t()
-
- Depends on:
poc_tui/app.py
Generated offline by readmenator from commit 146a52570ef7. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes