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.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/**
* Per-(vscode-platform, arch) dictation-runtime producer. On publish builds it
* assembles + uploads this target's tarball to the CDN, and on ANY pipeline
* build it writes a small JSON results file that the gulpfile-side `packageTask`
* reads to stamp `product.json`'s `dictationRuntime` field.
*
* Run as a pipeline step BEFORE the gulp packaging step on the same agent (via
* `build/azure-pipelines/common/dictation-runtime-produce.yml`).
*
* Two independent axes:
*
* - STAMP (`product.dictationRuntime = {version, urlTemplate}`): written for
* every build that can host dictation (`shouldStampRuntime`), regardless of
* `VSCODE_PUBLISH`. The stamp is target-agnostic (the runtime resolves
* `{target}` per launch), so packaged non-publish builds — whose native
* payload is stripped at packaging time — still get a usable CDN source, and
* the Universal macOS x64 slice carries the same config as its arm64 sibling.
* Only local dev-from-source (which never runs this script) ships without the
* stamp and falls back to the SDK's `node_modules` payload.
*
* - PAYLOAD (the `<target>.tgz` on the CDN): built + uploaded only on publish
* runs (`VSCODE_PUBLISH=true`) and only for a build whose `(platform, arch)`
* has a real target (so `darwin-x64` stamps but uploads nothing — the
* `darwin-arm64` job publishes the shared Apple Silicon payload). Upload is
* idempotent (HEAD-then-decide), so re-runs and the once-per-version nature
* of the stamped URL stay consistent.
*/
import * as fs from 'fs';
import * as path from 'path';
import {
buildCdnUrlTemplate,
getRuntimeTargetForBuild,
getRuntimeVersion
parseFlags
shouldStampRuntime
buildOne
uploadOne
vscodePlatform
arch
tarballsDir
resultsFile
upload
args
fsargstarballsDir recursive
version
target argsvscodePlatform argsarch
argsupload target
built target outDir argstarballsDir
version builtversion target tgzPath builttgzPath sha256 builtsha256
target
argsvscodePlatform argsarch
result IDictationRuntimeResult version urlTemplate version
fspathargsresultsFile recursive
fsargsresultsFile result
IProduceArgs
flags processargv
vscodePlatform flags
vscodePlatform vscodePlatform
arch flags
arch
tarballsDir pathprocess
resultsFile processenv
pathprocess
upload processenv
vscodePlatform arch tarballsDir resultsFile upload
err
err
process