ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
#---------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
#---------------------------------------------------------------------------------------------
# Windows GitHub Copilot CLI bootstrapper
#
# Responsibilities:
# 1. Locate the real Copilot CLI binary (avoid recursion if this file shadows it).
# 2. Offer to install if missing (npm -g @github/copilot).
# 3. Enforce minimum version (>= REQUIRED_VERSION) with interactive update.
# 4. Execute the real binary with original arguments and exit with its status.
#
# NOTE: This file intentionally keeps logic self‑contained (no external deps) so it can be dropped into PATH directly.
# Minimum required Copilot CLI version
$RequiredVersion = "0.0.394"
$PackageName = "@github/copilot"
function Invoke-NpmGlobalCommand {
param(
[Parameter(Mandatory = $true)][ValidateSet('install', 'update')][string]$Command,
[Parameter(Mandatory = $true)][string]$Package
)
$npmArgs = @($Command, '-g'
= npmcmd ErrorAction SilentlyContinue
& npmcmd @npmArgs
& npm @npmArgs
= winget ErrorAction SilentlyContinue
& winget install GitHubCopilot
0
= npm ErrorAction SilentlyContinue
= npmcmd ErrorAction SilentlyContinue
Command Package
0
= npm ErrorAction SilentlyContinue
= npmcmd ErrorAction SilentlyContinue
Command Package
0
= PSCommandPath
=
= copilot ErrorAction SilentlyContinueSource
= ErrorAction SilentlyContinuePath
= ErrorAction SilentlyContinuePath
Parent Parent
= Parent
= :PATH
= :OS
:PATH = :PATH split
= copilot ErrorAction SilentlyContinueSource
:PATH =
=
=
=
=
=
=
0
=
=
0
= & version 2>
0
=
0
=
in split
= Trim
= 0
=
0
=
& @Arguments
=
Length 0 0
= 1Length 1