ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
parameters:
- name: vscodePlatform
type: string
values:
- darwin
- linux
- win32
# Produces the dictation-runtime for ONE VS Code build:
# - STAMP: writes the (target-agnostic) product.dictationRuntime results file
# and emits `##vso[task.setvariable variable=DICTATION_RUNTIME_RESULTS_FILE]`
# on EVERY build that can host dictation, so the downstream gulp packaging
# step stamps product.json. Packaged builds strip the SDK's native payload,
# so they need this CDN pointer regardless of VSCODE_PUBLISH.
# - PAYLOAD: builds this target's tarball and uploads it to the CDN only on
# real publish runs (VSCODE_PUBLISH=true). darwin-x64 stamps but uploads
# nothing (the darwin-arm64 job publishes the shared Apple Silicon payload).
#
# The core libraries are fetched from NuGet for the target's explicit RID (see
# build/dictation-runtime/nuget.ts), so ARM64 targets build fine on x64 pools;
# the prebuilt addon is copied from the already-restored node_modules. No npm
# registry auth is needed.
#
# Steps:
# 1. AzureCLI@2 to fetch the SPN credentials for the CDN storage account —
# skipped on non-publish runs (no CDN write to auth for).
# 2. Run `node build/dictation-runtime/produce.ts`. Always stamps; uploads
# only on publish.
steps:
- task: AzureCLI@2
displayName: "Dictation runtime: fetch CDN credentials"
condition: and(succeeded(), eq(lower(variables['VSCODE_PUBLISH']), 'true'))
inputs:
azureSubscription: vscode
scriptType: pscore
scriptLocation: inlineScript
addSpnToEnvironment: true
inlineScript: |
Write-Host "##vso[task.setvariable variable=AZURE_TENANT_ID]$env:tenantId"
Write-Host "##vso[task.setvariable variable=AZURE_CLIENT_ID]$env:servicePrincipalId"
Write-Host "##vso[task.setvariable variable=AZURE_ID_TOKEN;issecret=true]$env:idToken"
- ${{ if eq(parameters.vscodePlatform, 'win32') }}:
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { node build/dictation-runtime/produce.ts --vscode-platform=${{ parameters.vscodePlatform }} --arch=$(VSCODE_ARCH) }
env:
DICTATION_RUNTIME_RESULTS_FILE: $(Build.SourcesDirectory)/.build/dictation-runtime/${{ parameters.vscodePlatform }}-$(VSCODE_ARCH).json
AZURE_STORAGE_ACCOUNT: vscodeweb
AZURE_TENANT_ID: $(AZURE_TENANT_ID)
AZURE_CLIENT_ID: $(AZURE_CLIENT_ID)
AZURE_ID_TOKEN: $(AZURE_ID_TOKEN)
displayName: "Dictation runtime: build + upload"
- ${{ if ne(parameters.vscodePlatform, 'win32') }}:
- script: |
set -e
node build/dictation-runtime/produce.ts --vscode-platform=${{ parameters.vscodePlatform }} --arch=$(VSCODE_ARCH)
env:
DICTATION_RUNTIME_RESULTS_FILE: $(Build.SourcesDirectory)/.build/dictation-runtime/${{ parameters.vscodePlatform }}-$(VSCODE_ARCH).json
AZURE_STORAGE_ACCOUNT: vscodeweb
AZURE_TENANT_ID: $(AZURE_TENANT_ID)
AZURE_CLIENT_ID: $(AZURE_CLIENT_ID)
AZURE_ID_TOKEN: $(AZURE_ID_TOKEN)
displayName: "Dictation runtime: build + upload"