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.
*--------------------------------------------------------------------------------------------*/
/**
* Shared helpers for the per-platform dictation-runtime build pipeline. Called
* from `package.ts`, `upload.ts`, and `produce.ts`, plus the gulpfiles'
* `packageTask` (via `readDictationRuntimeResults`) so each VS Code build can
* stamp its own `product.dictationRuntime` into the per-platform `product.json`
* at packaging time.
*
* This mirrors `build/agent-sdk/` but for the Foundry Local native runtime used
* by on-device dictation: a prebuilt N-API addon (`foundry_local_napi.node`)
* plus the Foundry Local Core / onnxruntime / onnxruntime-genai shared
* libraries. Rather than downloading those from npm + NuGet at runtime, each
* platform build job produces its own tarball and uploads it to
* `main.vscode-cdn.net`; the runtime downloads the single content-addressed
* tarball for its target (see `foundryLocalRuntime.ts`).
*
* There is exactly ONE runtime (unlike the multi-SDK agent-sdk pipeline), so
* `product.dictationRuntime` is a single `{version, urlTemplate}` object rather
* than a map keyed by id. The version is the pinned `foundry-local-sdk`
* dependency in the repo-root `package.json` — the same package the runtime
* loads — so the shipped types and the CDN payload stay in lockstep.
*/
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
const pathmetaurl
path
dependencies ReadonlyRecord
_versionCache
_versionCache
_versionCache
json fs IRootPackageJson
version jsondependencies
version
version
_versionCache version
version
ReadonlySet
ReadonlySet
vscodePlatform arch
vscodePlatform arch arch
target
target target
vscodePlatform arch
vscodePlatform arch
vscodePlatform arch
version target
version
filePath
resolve reject
hash crypto
stream fsfilePath
stream reject
stream chunk hashchunk
stream hash
argv Map
flags
arg argv
m arg
m
flagsm m
flags
version
urlTemplate
IDictationRuntimeResult
filePath processenv
filePath fsfilePath
parsed fsfilePath
parsed parsed
result parsed PartialIDictationRuntimeResult
resultversion resulturlTemplate
version resultversion urlTemplate resulturlTemplate