nat.front_ends.console.console_front_end_plugin#
Attributes#
Classes#
Functions#
|
Replace common Unicode whitespace and punctuation with ASCII equivalents for clean console display. |
|
Format workflow outputs as human-readable text with normalized Unicode. |
|
A simple CLI-based callback. |
Module Contents#
- logger#
- _RE_UNICODE_WHITESPACE#
- _RE_ZERO_WIDTH#
- _RE_UNICODE_DASHES#
- _RE_SINGLE_QUOTES#
- _RE_DOUBLE_QUOTES#
- _normalize_unicode(text: str) str#
Replace common Unicode whitespace and punctuation with ASCII equivalents for clean console display.
- _format_output(runner_outputs) str#
Format workflow outputs as human-readable text with normalized Unicode.
- async prompt_for_input_cli( ) nat.data_models.interactive.HumanResponse#
A simple CLI-based callback. Takes question as str, returns the typed line as str.
- class ConsoleFrontEndPlugin(full_config)#
Bases:
nat.front_ends.simple_base.simple_front_end_plugin_base.SimpleFrontEndPluginBase[nat.front_ends.console.console_front_end_config.ConsoleFrontEndConfig]- auth_flow_handler#
- async pre_run()#
- async run_workflow(session_manager: nat.runtime.session.SessionManager)#