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.
*--------------------------------------------------------------------------------------------*/
/**
* Uploads one dictation-runtime tarball to the `main.vscode-cdn.net` storage
* account. Callable as both a library function (`uploadOne(...)`) and a thin CLI.
*
* Auth: reads `AZURE_STORAGE_ACCOUNT`, `AZURE_TENANT_ID`, `AZURE_CLIENT_ID`,
* `AZURE_ID_TOKEN` from env — same shape as `build/agent-sdk/upload.ts`.
*
* Idempotency: HEAD-first on the `.tgz` blob.
* - Absent → upload.
* - Present with matching sha256 (in `metadata.sha256`) → skip.
* - Present with different / no sha256 metadata → fail loud, refusing to
* overwrite content-addressed history. Recovery: delete the blob in the
* Azure Portal and re-run.
*/
import { ClientAssertionCredential } from '@azure/identity';
import { BlobServiceClient } from '@azure/storage-blob';
import * as fs from 'fs';
import * as path from 'path';
import { buildCdnUrl, parseFlags, RUNTIME_ID, SDK_PACKAGE_NAME, sha256OfFile, SUPPORTED_TARGETS }
version
target
tgzPath
sha256
url
sha256
args IUploadArgs IUploadResult
fsargstgzPath
sha256 argssha256 argstgzPath
account
tenantId
clientId
idToken
credential tenantId clientId idToken
service credential
container service
blobName
blob containerblobName
existing
existing blob
err
status err statusCode statusCode
status
err
existing
existing
remoteSha existingmetadatasha256
remoteSha sha256
url argsversion argstarget sha256
blobargstgzPath
blobHTTPHeaders
blobContentType
blobCacheControl
metadata sha256
url argsversion argstarget sha256
name
value processenvname
value
value
metafilename processargv
IUploadArgs
flags processargv
tgzPath flags
tgzPath
version flags
version
target pathtgzPath
target
version target tgzPath pathtgzPath
err
err
process