Need a way to manage the sessions and redirect their pipes. #57
Replies: 2 comments
|
@sharpninja — thanks for the idea. 1.14.1 covers the logging part with PowerShell's own tools rather than a new interface.
$dir = Join-Path $HOME 'transcripts'
New-Item -ItemType Directory -Path $dir -Force | Out-Null
Start-Transcript -OutputDirectory $dir | Out-NullA monitoring app can tail or index those files without touching the module. For an audit trail that's harder to tamper with, use PowerShell 7's Script Block Logging — see Auditing an AI Session. I'd rather not expose the pipes themselves: the pipe between the proxy and a console is a control channel (whatever goes down it runs) with an internal protocol, so redirecting it would mean handing another process your shell. If you need a session-management operation or live data that transcripts don't give you, let me know what it is. |
Uh oh!
There was an error while loading. Please reload this page.
It would be good to be able to create a monitoring app that can manage the sessions and redirect the input/output for logging and analysis purposes.
All reactions