PowerShell / AIShell

An interactive shell to work with AI-powered assistance providers
MIT License
68 stars 19 forks source link

Have better Mac Error Messaging #299

Open StevenBucher98 opened 4 days ago

StevenBucher98 commented 4 days ago

Prerequisites

Steps to reproduce

When trying to use the bi directional channel, if I am on mac or any other unsupported platform or terminal, we should notify the user of why the error is happening and give them instructions on what terminal/env to use.

Expected behavior

ERROR: We have noticed you are on Mac and not on iTerm2, currently communication with the side pane is not available.

Actual behavior

ERROR: Bi-directional channel could not be established: Could not
receive connection from a client within the specified timeout period.

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Darwin 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 20…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

1.0.0-preview.1

Visuals

No response