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.
*--------------------------------------------------------------------------------------------*/
import { CopilotUserQuotaInfo } from '../../chat/common/chatQuotaService';
import { vArray, vBoolean, vEnum, vNullable, vNumber, vObj, vRequired, vString } from '../../configuration/common/validator';
/**
* A function used to determine if the org list contains an internal organization
* @param orgList The list of organizations the user is a member of
* Whether or not it contains an internal org
*/
export function containsInternalOrg(orgList: string[]): boolean {
return containsGitHubOrg(orgList) || containsMicrosoftOrg(orgList);
}
orgList
org orgList
org
orgList
org orgList
org
orgList
org orgList
org
tokenMap Map
_info ExtendedTokenInfo
tokenMap _infotoken
token Map
result
firstPart token
fields firstPart
field fields
key value field
resultkey value
result
_infotoken
CopilotSku
_infosku
_infoindividual
_infoorganization_list
_infoorganization_login_list
_infoenterprise_list
Endpoints
_infoendpoints
organizationList
organizationList
organizationList
sku
sku
plan copilotPlan
plan plan
_infotoken_based_billing
isFreeUser _infolimited_user_quotaschat
isFreeUser _infolimited_user_quotascompletions
_infocode_quote_enabled
_infoisVscodeTeamMember organizationList
_infocodex_agent_enabled
isFreeUser
plan _infocopilot_plan
plan
plan
isFreeUser
_infocopilot_plan
quota_snapshots _infoquota_snapshots quota_reset_date _infoquota_reset_date
_infotoken_based_billing
_infousername
_isTelemetryEnabled
_isTelemetryEnabled
_isTelemetryEnabled _infotelemetry
_isTelemetryEnabled
_isPublicSuggestionsEnabled
_isPublicSuggestionsEnabled
_isPublicSuggestionsEnabled _infopublic_suggestions
_isPublicSuggestionsEnabled
_infocopilotignore_enabled
_infocode_review_enabled
key
tokenMapkey
_infoblackbird_clientside_indexing
tokenMap
tokenMap
message
notification_id TokenErrorNotificationId
title
url
WellKnownSku
api
proxy
telemetry
exp
token
expires_at
refresh_in
sku CopilotSku
individual
blackbird_clientside_indexing
code_quote_enabled
code_review_enabled
codesearch
copilotignore_enabled
public_suggestions
telemetry
endpoints Endpoints
enterprise_list
limited_user_quotas chat completions
limited_user_reset_date
organization_list
can_signup_for_limited
error_details NotificationEnvelope
message
reason
message
documentation_url
status
notificationEnvelopeValidator
message
notification_id
title
url
errorEnvelopeValidator
can_signup_for_limited
error_details notificationEnvelopeValidator
message
reason
tokenEnvelopeValidator
token
expires_at
refresh_in
sku
individual
blackbird_clientside_indexing
code_quote_enabled
code_review_enabled
codesearch
copilotignore_enabled
public_suggestions
telemetry
endpoints
api
proxy
telemetry
exp
enterprise_list
limited_user_quotas
chat
completions
limited_user_reset_date
organization_list
standardErrorEnvelopeValidator
message
documentation_url
status
tokenEnvelopeCriticalValidator
token
expires_at
refresh_in
valid strategy envelope TokenEnvelope
valid strategy strictError envelope TokenEnvelope fallbackError
valid strategy strictError fallbackError
obj TokenValidationResult
strictResult tokenEnvelopeValidatorobj
strictResulterror
valid strategy envelope strictResultcontent
strictError strictResulterrormessage
fallbackResult tokenEnvelopeCriticalValidatorobj
fallbackResulterror
valid
strategy
strictError
envelope obj TokenEnvelope
valid
strategy
strictError
fallbackError fallbackResulterrormessage
obj obj TokenEnvelope
objvalid
obj obj ErrorEnvelope
errorEnvelopeValidatorobjerror
obj obj StandardErrorEnvelope
standardErrorEnvelopeValidatorobjerror
TokenEnvelope ErrorEnvelope StandardErrorEnvelope
access_type_sku
analytics_tracking_id
assigned_date
can_signup_for_limited
copilot_plan
organization_login_list
organization_list
login
name
codex_agent_enabled
token_based_billing
TokenEnvelope
username
isVscodeTeamMember
PickCopilotUserInfo
overrides PartialExtendedTokenInfo ExtendedTokenInfo
token
expires_at
refresh_in
sku
individual
blackbird_clientside_indexing
code_quote_enabled
code_review_enabled
codesearch
copilotignore_enabled
public_suggestions
telemetry
username
isVscodeTeamMember
copilot_plan
organization_login_list
overrides
TokenErrorNotificationId
NoCopilotAccess
NotSignedUp
SubscriptionEnded
EnterPriseManagedUserAccount
FeatureFlagBlocked
SpammyUser
BillingLocked
TradeRestricted
TradeRestrictedCountry
CodespacesDemoInactive
SnippyNotConfigured
ExpiredCoupon
RevokedCoupon
GoHttpClient
ProgrammaticTokenGeneration
AccessRevoked
ServerError
reason TokenErrorReason
retryAfterMs
notification_id TokenErrorNotificationId
message
url
title
kind ExtendedTokenInfo kind TokenError