# scriptlib/utils/pwsh Powershell helper scripts for punkshell. ## consolemode_server_async.ps1 (canonical - G-106) The powershell console-mode fallback server: a persistent named-pipe server that punk::console launches when twapi is absent on windows, to flip the console's line/echo input flags for raw mode. This file is the canonical maintained copy; the module `src/modules/punk/console-999999.0a1.0.tm` carries an embedded copy (`punk::console::system::ps_consolemode_script_embedded`) as the last-resort resolution for kits and unusual cwds. Keep the two in sync - the console testsuite `src/tests/modules/punk/console/testsuites/console/psfallback.test` fails when they diverge. Key facts (details in the script header and `goals/archive/G-106-powershell-consolemode-fallback.md`): - Delivered to powershell via `-c