-
Notifications
You must be signed in to change notification settings - Fork 69
Comparing changes
Open a pull request
base repository: PowerShell/AIShell
base: v1.0.0-preview.5
head repository: PowerShell/AIShell
compare: v1.0.0-preview.6
- 10 commits
- 38 files changed
- 2 contributors
Commits on Jun 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b483500 - Browse repository at this point
Copy the full SHA b483500View commit details -
Merge the 1.0.0-preview.5 release branch back to main
This release is a security patch only, including the following changes: - Upgrade to .NET SDK 8.0.411 to address the .NET security issue [CVE-2025-30399](dotnet/announcements#362): .NET Remote Code Vulnerability - OpenAI agent: update `DefaultAzureCredential` to allow `InteractiveBrowserCredential` (#383)
Configuration menu - View commit details
-
Copy full SHA for 26943c9 - Browse repository at this point
Copy the full SHA 26943c9View commit details
Commits on Jun 23, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 6e4edd5 - Browse repository at this point
Copy the full SHA 6e4edd5View commit details
Commits on Jun 24, 2025
-
Make AIShell an MCP client to expose MCP tools to its agents (#392)
This PR enables MCP client support in AIShell and also updates the openai-gpt agent to consume tools. For details, see the PR description at #392
Configuration menu - View commit details
-
Copy full SHA for f932833 - Browse repository at this point
Copy the full SHA f932833View commit details
Commits on Jul 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d24bd31 - Browse repository at this point
Copy the full SHA d24bd31View commit details
Commits on Jul 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2a2212f - Browse repository at this point
Copy the full SHA 2a2212fView commit details
Commits on Jul 14, 2025
-
Improve
Resolve-Errorcommand and allow default system prompt for t……he `openai-gpt` agent (#397)
Configuration menu - View commit details
-
Copy full SHA for cd50156 - Browse repository at this point
Copy the full SHA cd50156View commit details
Commits on Jul 24, 2025
-
Add the built-in tool
run_command_in_terminalfor AI to execute com……mands in the connected PowerShell session (#398) Allow AIShell to run command in the connected PowerShell session and collect all output and error. 1. Add `Invoke-AICommand` cmdlet (alias: `airun`) to `AIShell` module. Commands sent from the sidecar AIShell will be executed through this command in the form of `airun { <command> }`. This command is designed to collect all output and error messages as they are displayed in the terminal, while preserving the streaming behavior as expected. 2. Add `RunCommand` and `PostResult` messages to the protocol. 3. Update the `Channel` class in `AIShell` module to support the `OnRunCommand` action. We already support posting command to the PowerShell's prompt, but it turns out not easy to make the command be accepted. On Windows, we have to call `AcceptLine` within an `OnIdle` event handler and it also requires changes to `PSReadLine`. - `AcceptLine` only set a flag in `PSReadLine` to indicate the line was accepted. The flag is checked in `InputLoop`, however, when `PSReadLine` is waiting for input, it's blocked in the `ReadKey` call within `InputLoop`, so even if the flag is set, `InputLoop` won't be able to check the flag until after `ReadKey` call is returned. - I need to change PSReadLine a bit: after it finishes handling the `OnIdle` event, it checks if the `_lineAccepted` flag is set. If it's set, it means `AcceptLine` got called within the `OnIdle` handler, and it throws a `LineAcceptedException` to break out from `ReadKey`. I catch this exception in `InputLoop` to continue with the flag check. - However, a problem with this change is: the "readkey thread" is still blocked on `Console.ReadKey` when the command is returned to PowerShell to execute. On Windows, this could cause minor issues if the command also calls `Console.ReadKey` -- 2 threads calling `Console.ReadKey` in parallel, so it's uncertain which will get the next keystroke input. On macOS and Linux, the problem is way much bigger -- any subsequent writing to the terminal may be blocked, because on Unix platforms, reading cursor position will be blocked if another thread is calling `Console.ReadKey`. - So, this approach can only work on Windows. On macOS, we will have to depend on `iTerm2`, which has a Python API server that allows to send keystrokes to a tab using the Python API, so we could possibly use that for macOS. But Windows Terminal doesn't support that, and thus we will have to use the above approach to accept the command on Windows. - On macOS, if the Python API approach works fine, then we could even consider using it for the `PostCode` action. 4. Add `run_command_in_terminal` and `get_command_output` tools and expose them to agents.
Configuration menu - View commit details
-
Copy full SHA for 1acd0e0 - Browse repository at this point
Copy the full SHA 1acd0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for be6842f - Browse repository at this point
Copy the full SHA be6842fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e53fd - Browse repository at this point
Copy the full SHA 95e53fdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.0-preview.5...v1.0.0-preview.6