ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
<#
.SYNOPSIS
Run the OSS NOTICE pipeline locally against this worktree to validate the
cglicenses override-inject + presence-index behavior without a CI build.
.DESCRIPTION
Reproduces the CI steps we can run locally:
1. scan-licenses.ts -> ext-notices.txt + ext-notices.txt.presence.json
2. merge-notices.ts -> ThirdPartyNotices.new.txt (loads the presence
index automatically as the --extensions sibling)
The one CI input we cannot produce locally is the Component Governance
NOTICE (notice@0). Pass a cached copy via -CgNotice to get a realistic
base set; omit it to validate inject/stale logic on its own (the inject
targets are absent from CG by definition, so they still exercise the path).
Outputs go to -OutDir (default C:\temp\oss-local) so both repos stay clean.
.EXAMPLE
.\run-local.ps1
Full run against the worktree, no CG base.
.EXAMPLE
.\run-local.ps1 -CgNotice C:\temp\oss-local\generated.txt
Full run with the cached CG NOTICE as the base set.
.EXAMPLE
.\run-local.ps1 -SkipScan
Re-run only the merge step (fast iteration on override/inject logic).
#>
[CmdletBinding()]
param(
[string]$RepoRoot = (Resolve-Path "$PSScriptRoot\..\..\..").Path,
[string]$OutDir = 'C:\temp\oss-local',
[string]$CgNotice = '',
[switch]$SkipScan
)
$ErrorActionPreference = 'Stop'
$ossDir = Join-Path $RepoRoot 'build\azure-pipelines\oss'
$cglicenses = Join-Path $RepoRoot 'cglicenses.json'
=
=
=
=
ItemType Directory Force Path
ForegroundColor Cyan
=
=
& npx yes tsx @ScriptArgs 2>&1 FilePath Append
=
=
0
ErrorAction SilentlyContinue
= @
@
Script ScriptArgs
ForegroundColor Yellow
= @
@
ForegroundColor Green
Script ScriptArgs
ForegroundColor Magenta
=
Path Pattern
= Raw Count
ForegroundColor Magenta