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.
*--------------------------------------------------------------------------------------------*/
/**
* Client-side GUI for the mock policy server. Loaded via a `<script>` tag in
* `index.html`; the server uses `module.stripTypeScriptTypes()` to serve this
* TypeScript source as plain JavaScript — no build step needed.
*
* Relies on `MOCK_POLICY_ENDPOINTS` being defined as a global by
* `endpoints.ts` (loaded via an earlier `<script>` tag).
*/
type EndpointDef = import('../endpoints').EndpointDef;
type EndpointResponseMode = import('../endpoints').EndpointResponseMode;
declare const MOCK_POLICY_ENDPOINTS: EndpointDef[];
(function () {
'use strict';
interface Endpoint extends EndpointDef {
url?: string;
status
body
mode EndpointResponseMode
active
endpoints Endpoint
wired
baseUrl
upstream
overridesPath
at
method
path
outcome
status
ok
resolved
error
schema JsonSchema
type
properties Record JsonSchema
additionalProperties JsonSchema
items JsonSchema
description
allOf JsonSchema
anyOf JsonSchema
oneOf JsonSchema
key
path
depth
schema JsonSchema
inSchema
inBody
dynamic
endpoint
status
body
mode EndpointResponseMode
active
editorText
$ id HTMLElement documentid
tabs
editor HTMLTextAreaElement
responseStatusInput HTMLInputElement
responseModeSelect HTMLSelectElement
responseConfiguration
responseStatusValidation
presetSelect HTMLSelectElement
endpointMeta
editorStatus
saveStateEl
setupDialog HTMLDialogElement
vscodeProxySetting
macOsCacheClearCommand
windowsCacheClearCommand
endpoints Endpoint
activeId
drafts Record
schema JsonSchema
overridesWired
proxyVerified
proxyBaseUrl
proxyUpstream
proxyCheckInFlight
renderedLogSignature
stateUpdateQueue
lastServerSignature
stateWritesInFlight
pendingSaves
Endpoint
endpointse eid activeId
macOsManagedSettingsPath
linuxManagedSettingsPath
body
body
body
body
raw editorvalue
raw
raw
applies id
hidden applies
applies
body
valid body
hidden valid
hidden valid
valid
textContent body
textContent body
textContent body
message kind
editorStatustextContent message
editorStatusdatasetkind kind
kind message
saveStateEltextContent message
saveStateEldatasetkind kind
active
pendingSavesactiveId
raw responseStatusInputvalue
status raw
valid raw Numberstatus status status
message valid
responseStatusInputmessage
responseStatusInput valid
responseStatusValidationtextContent message
responseStatusValidationdatasetkind valid
valid status
responseStatus status
raw editorvalue
raw
hidden
parsed
parsed raw
e
hidden
warning parsed responseStatus
warning
responseStatus schema parsed
parsed
hidden
parsed
value value Record
value value value
responseStatus
schema responseStatus responseStatus
parsed responseStatus
responseStatus schema parsed
schema parsedrow rowinBody rowinSchemarow rowpath
length
schemaNode JsonSchema body path depth ValidationRow
schemaNode schemaNode body
properties schemaNodeproperties
bodyObject body body
explicitKeys Objectproperties
bodyKeys ObjectbodyObject
keys explicitKeys bodyKeyskey Objectproperties key
rows ValidationRow
keyslength schemaNodeadditionalProperties
dynamicPath path
rows
key
path dynamicPath
depth
schema schemaNodeadditionalProperties
inSchema
inBody
dynamic
rowsschemaNodeadditionalProperties dynamicPath depth
rows
key keys
explicitSchema propertieskey
additionalSchema explicitSchema schemaNodeadditionalProperties
schemaNodeadditionalProperties
childSchema explicitSchema additionalSchema
childPath path key
inBody ObjectbodyObject key
rows
key
path childPath
depth
schema childSchema
inSchema childSchema schemaNodeadditionalProperties
inBody
dynamic additionalSchema
childSchema childSchema
rowschildSchema inBody bodyObjectkey childPath depth
rows
schemaNode JsonSchema body JsonSchema
bodyObject body body
alternatives schemaNodeoneOf schemaNodeanyOf
matchingAlternatives bodyObject
alternativesalternative alternative bodyObject
selectedAlternatives matchingAlternativeslength matchingAlternatives alternatives
schemaNode schemaNodeallOf selectedAlternatives
schemaNode JsonSchema value Record
constants ObjectschemaNodeproperties property propertyconst
constantslength constantskey property valuekey propertyconst
schemas JsonSchema JsonSchema
merged JsonSchema
schemaNode schemas
previousProperties mergedproperties
Objectmerged schemaNode
schemaNodeproperties
mergedproperties previousProperties
key property ObjectschemaNodeproperties
mergedpropertieskey mergedpropertieskey
mergedpropertieskey property
property
mergedallOf
mergedanyOf
mergedoneOf
merged
schemaNode JsonSchema
schemaNodeproperties
schemaNodeadditionalProperties
schemaNodeallOf
schemaNodeanyOf
schemaNodeoneOf
s JsonSchema
s s
senum senumlength
senum
sconst
sconst
stype
obj Record
sproperties
key sub Objectsproperties
objkey sub
Objectobjlength sadditionalProperties sadditionalProperties
obj sadditionalProperties
obj
sitems sitems
sdefault
sdefault
sdefault
urlPath options RequestInit
res urlPath options
data res
resok
data dataerror dataerror
data
tabstextContent
endpoint endpoints
item document
itemclassName endpointid activeId
tab document
tabtype
tabclassName
endpointid activeId
tab
tabtextContent endpointlabel
tab endpointid
toggle document
toggleclassName
checkbox document
checkboxtype
checkboxchecked endpointactive
checkbox
checkbox
endpoint checkboxchecked
track document
trackclassName
track
togglecheckbox track
itemtab toggle
tabsitem
id
activeId
draftsactiveId editorvalue
activeId id
endpoint
endpoint
routeSpan document
routeSpanclassName
routeLink document
routeLinkhref endpointurl endpointpath
routeLinktarget
routeLinkrel
routeLink
codePath document
codePathtextContent
routeLinkcodePath
codeKey document
codeKeytextContent endpointproductKey
routeSpanrouteLink codeKey
endpointMetarouteSpan
responseStatusInputvalue endpointstatus
responseModeSelectvalue endpointmode
editorvalue draftsid endpointbody
hidden endpointschema
hidden
endpoint
presetSelecttextContent
endpointpresets preset
option document
optionvalue presetid
optiontextContent presetlabel
presetSelectoption
endpoint
preset endpointpresetsp pid presetSelectvalue
endpoint preset
endpointstatus presetstatus
responseStatusInputvalue endpointstatus
endpointactive
editorvalue presetbody
draftsactiveId editorvalue
activeId
state ServerState
overridesWired statewired
status
statustextContent statewired
statusdatasetstate statewired
action
actiontextContent statewired
actionclassName statewired
responseConfigurationhidden responseModeSelectvalue
endpoint Endpoint mode EndpointResponseMode
previousMode endpointmode
endpointmode mode
snapshot
endpointid
snapshot
snapshot
endpointmode previousMode
responseModeSelectvalue previousMode
endpoint endpointid mode
error
endpointmode previousMode
responseModeSelectvalue previousMode
endpoint endpointscandidate candidateid endpoints
textContent endpoint proxyUpstream
textContent endpoint proxyBaseUrl
method SetupMethod
candidate
selected candidate method
datasetselected selected
selected
HTMLInputElementchecked selected
connectionReady proxyVerified overridesWired
globalStatus
globalStatusdatasetstate connectionReady proxyCheckInFlight
textContent proxyVerified
overridesWired proxyCheckInFlight
state message detail
status
statusdatasetstate state
statustextContent message
textContent detail
proxyCheckInFlight
endpoint endpointscandidate candidateid endpoints
endpoint proxyUpstream
proxyVerified
wasVerified proxyVerified
checkStartedAt Date
proxyCheckInFlight
wasVerified
nextState
nextMessage
nextDetail
probe endpointpath proxyUpstream
probesearchParams crypto
response probe cache credentials
proxyVerified responseheaders
nextState proxyVerified
nextMessage proxyVerified
nextDetail proxyVerified
proxyVerified
nextState
nextMessage
nextDetail
wasVerified
remainingCheckingTime Date checkStartedAt
remainingCheckingTime
resolve resolve remainingCheckingTime
nextState nextMessage nextDetail
proxyCheckInFlight
setupDialogopen
setupDialog
locationhash
setupDialogopen
setupDialog
state ServerState
endpoints stateendpoints
proxyBaseUrl statebaseUrl
proxyUpstream stateupstream
state
lastServerSignature state
state ServerState
endpoints stateendpoints e
id eid status estatus mode emode active eactive body ebody
endpoints wired statewired
el documentactiveElement
el editor el responseStatusInput el responseModeSelect el presetSelect
stateWritesInFlight pendingSavessize
state ServerState
state
stateWritesInFlight pendingSavessize
state lastServerSignature
state
state ServerState
state
endpoint endpoints
draftsendpointid endpointbody
endpoint
endpoint
editorvalue draftsactiveId
responseStatusInputvalue endpointstatus
responseModeSelectvalue endpointmode
payload Record ServerState
stateWritesInFlight
request stateUpdateQueue
method
headers
body payload
stateUpdateQueue request
request stateWritesInFlight stateWritesInFlight
request
endpoint Endpoint active
previousActive endpointactive
endpointactive active
endpointid activeId
snapshot
snapshot
endpointactive previousActive
endpointid
snapshot
active
endpointactive previousActive
state endpoint endpointid active
state
active
e
endpointactive previousActive
SaveSnapshot
responseStatus
responseStatus
parsed
parsed
endpoint
endpoint
endpointstatus responseStatus
endpoint endpointid
status responseStatus
body parsed
mode endpointmode
active endpointactive
editorText editorvalue
snapshot SaveSnapshot
state
endpoint snapshotendpoint
status snapshotstatus
body snapshotbody
mode snapshotmode
active snapshotactive
state
draftssnapshotendpoint snapshoteditorText
snapshotendpoint activeId editorvalue snapshoteditorText pendingSavessnapshotendpoint
e
snapshotendpoint activeId
snapshot
snapshot
snapshotendpoint
snapshot
endpoint
timer pendingSavesendpoint
timer
timer
pendingSavesendpoint
snapshot
snapshot
snapshotendpoint
pendingSavessnapshotendpoint
pendingSavessnapshotendpoint
snapshot
wireIt
state wireIt method
state
wireIt
e
badgeEl
result
resultok
schema resultschema
badgeEltextContent
badgeEldatasetkind
badgeEldatasettooltip resultresolved
textContent resultresolved
schema
badgeEltextContent
badgeEldatasetkind
badgeEldatasettooltip resulterror
textContent resultresolved
e
schema
badgeEltextContent
badgeEldatasetkind
badgeEldatasettooltip e emessage e
textContent
parsed Record
container
rows schema schema parsed
rowslength
containerhidden
table document
tableclassName
columns document
columnName
column document
columnclassName
columnscolumn
head document
headRow document
heading
th document
thtextContent heading
thscope
headRowth
headheadRow
tbody document
validation rows
statusText
cls
validationdynamic validationinBody
statusText
validationinSchema validationinBody
statusText
cls
validationinSchema
statusText
statusText
cls
row document
keyCell document
keyCellclassName
keyCode document
keyCodetextContent validationkey
keyCodetitle validationpath
keyCode validationpath
keyCodestyle validationdepth
validationdepth
keyCodeclassList
keyCellkeyCode
statusCell document
statusCellclassList
cls
statusCellclassListcls
statusCelltextContent statusText
descCell document
descCellclassName
descCelltextContent validationschemadescription
rowkeyCell statusCell descCell
tbodyrow
tablecolumns head tbody
tableContainer document
tableContainerclassName
tableContainertable
schemaRows rowsrow rowinSchema rowdynamic
presentCount schemaRowsrow rowinBodylength
unknownCount rowsrow rowinBody rowinSchemalength
summary document
summaryclassName
summarytextContent
unknownCount
unknownCount
summaryclassList
containertableContainer summary
containerhidden
unknownCount unknownCount
detailsEl
willOpen detailsElhidden
detailsElhidden willOpen
classList willOpen
willOpen
detailsEl
willOpen detailsElhidden
detailsElhidden willOpen
classList willOpen
willOpen
activeId endpointse eid
setupDialog
hidden
behavior block
entries LogEntry
entries
list
hidden entrieslength
displayedEntries entries
signature displayedEntries
signature renderedLogSignature
renderedLogSignature signature
focusedEntryKey documentactiveElement documentactiveElementclassList
documentactiveElementdatasetentryKey
rowToRefocus HTMLButtonElement
list
entry displayedEntries
item document
itemclassName
endpoint endpointscandidate candidatepath entrypath
entryKey
outcomeLabel entryoutcome
entryoutcome
row HTMLButtonElement HTMLDivElement
endpoint
row document
rowtype
rowclassList
row
row endpointid
focusedEntryKey entryKey
rowToRefocus row
row document
rowclassList entryoutcome
rowdatasetentryKey entryKey
rowtitle endpoint outcomeLabel
time document
timeclassName
timetextContent entryat
status document
statusclassName
statustextContent entrystatus
route document
routeclassName
routetextContent
rowtime status route
endpoint
outcome document
outcomeclassName
outcometextContent
rowoutcome
itemrow
listitem
rowToRefocus
text button HTMLElement
navigatorclipboardtext
original buttontextContent
buttontextContent
buttontextContent original
toastTimer ReturnType setTimeout
message isError
node
nodetextContent message
nodedatasetkind isError
nodehidden
toastTimer
toastTimer nodehidden
textContent vscodeProxySetting
textContent macOsCacheClearCommand
textContent windowsCacheClearCommand
editor
draftsactiveId editorvalue
responseStatusInput
responseModeSelect
endpoint
endpoint
endpoint responseModeSelectvalue EndpointResponseMode
presetSelect applyPreset
overridesWired
e
ecurrentTarget HTMLElement
e
vscodeProxySetting ecurrentTarget HTMLElement
e
macOsCacheClearCommand ecurrentTarget HTMLElement
e
windowsCacheClearCommand ecurrentTarget HTMLElement
e
textContent ecurrentTarget HTMLElement
e
textContent ecurrentTarget HTMLElement
e
textContent ecurrentTarget HTMLElement
openFileDeploy
method
method
openSetupDialog
setupDialog
setupDialogopen
setupDialog
setupDialog
locationhash
history
window syncSetupDialog
toggleSchemaSection
toggleFileDeploySection
schema
responseStatusInputvalue
endpoint
endpoint
endpointactive
editorvalue schema
draftsactiveId editorvalue
method
document event
eventmetaKey eventctrlKey eventkey
event
state
statewired
state
endpointslength
endpointsid
e
endpoints def def status defpresetsstatus body defpresetsbody mode
endpointslength
endpointsid
refreshLog