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 agent SDK build pipeline. Called
* from `package.ts`, `upload.ts`, and `produce.ts`, plus the gulpfiles'
* `packageTask` (via `readAgentSdkResults`) so each VS Code build can
* stamp its own `product.agentSdks.<sdk>` into the per-platform
* `product.json` at packaging time.
*
* Source of truth for the SDK list and version pins:
* `build/agent-sdk/agents/<sdk>/{package.json,package-lock.json}`.
* Each subdirectory under `agents/` is one SDK. The folder name is the
* SDK id (the key under `product.agentSdks`); the `package.json` names
* exactly one npm dependency (the SDK's own package) and its exact
* version; the `package-lock.json` pins the full transitive graph for
* byte-deterministic `npm ci`. Add an SDK by adding a folder, run
* `npm install` inside it once to generate the lockfile, commit both.
*
* `getSdkTargetForBuild()` hard-codes the
* `(vscodePlatform, arch, sdk) → sdkTarget` table; the SDK's own npm
* `optionalDependencies` are the canonical SKU set, and the table is
* kept in lockstep with it by convention.
*/
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
const THIS_DIR = pathmetaurl
path
_sdksCache Sdk
Sdk
_sdksCache
_sdksCache
entries fs withFileTypes
_sdksCache entries
e e
e ename
_sdksCache
sdk Sdk
dir path sdk
fsdir
dir
dependencies ReadonlyRecord
_agentMetaCache MapSdk name version
sdk Sdk name version
_agentMetaCache
_agentMetaCache
cached _agentMetaCachesdk
cached
cached
pkgPath pathsdk
json fspkgPath IAgentPackageJson
deps jsondependencies
entries Objectdeps
entrieslength
name version entries
version
meta name version
_agentMetaCachesdk meta
meta
sdk Sdk
sdkversion
ReadonlySetVscodeBuildPlatform
vscodePlatform
arch
sdk Sdk
vscodePlatform arch
vscodePlatform
arch
arch arch
vscodePlatform
sdk
sdk Sdk sdkVersion sdkTarget
sdk Sdk sdkVersion
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
packageId
version
urlTemplate
IAgentSdkResults
filePath processenv
filePath fsfilePath
parsed fsfilePath
parsed parsed
parsed IAgentSdkResults