feat: expand Galaxy agent and remote tooling
Add Wormhole remote helpers, provider and agent improvements, filesystem diagnostics, model metadata support, and schema-aware settings IntelliSense.
This commit is contained in:
@@ -7,7 +7,7 @@ if ($PSEdition -eq 'Desktop' -or $IsWindows) {
|
||||
$EP = [Microsoft.PowerShell.ExecutionPolicy]
|
||||
# MachinePolicy and UserPolicy scopes cannot be overridden. If either is Restricted, there's nothing we can do.
|
||||
if ((Get-ExecutionPolicy -Scope MachinePolicy) -eq $EP::Restricted -or (Get-ExecutionPolicy -Scope UserPolicy) -eq $EP::Restricted) {
|
||||
Write-Error 'ExecutionPolicy is Restricted. Unable to Warpify this PowerShell session.'
|
||||
Write-Error 'ExecutionPolicy is Restricted. Unable to Wormhole this PowerShell session.'
|
||||
} elseif ((Get-ExecutionPolicy) -eq $EP::Restricted -and (Get-ExecutionPolicy -Scope MachinePolicy) -eq $EP::Undefined -and (Get-ExecutionPolicy -Scope UserPolicy) -eq $EP::Undefined) {
|
||||
$global:_warp_PSProcessExecPolicy = $(Get-ExecutionPolicy -Scope Process)
|
||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned -Force
|
||||
|
||||
Reference in New Issue
Block a user