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 { Disposable } from '../../../../base/common/lifecycle.js';
import { derived, IObservable, ISettableObservable, observableValue, transaction } from '../../../../base/common/observable.js';
import { URI, UriComponents } from '../../../../base/common/uri.js';
import { generateUuid } from '../../../../base/common/uuid.js';
import { ILogService } from '../../../../platform/log/common/log.js';
import { IStorageService, StorageScope } from '../../../../platform/storage/common/storage.js';
import { ITelemetryService
IAutomation IAutomationSnapshotImportResult IGuardedAutomationSnapshotRemovalResult
AutomationRunTrigger
AutomationTarget
AutomationWorkspaceIsolation
IAutomationDescriptor
IAutomationRun
IAutomationRunClaim
IAutomationService
ICreateAutomationOptions
IGuardedAutomationUpdateResult
serializeAutomationEditableState
IUpdateAutomationOptions
IAutomationStore
IUpdateAutomationRunOptions
publishAutomationCreated publishAutomationDeleted publishAutomationUpdated
computeNextRunAt
ChatPermissionLevel isChatPermissionLevel
IAutomationStorageService
id
name
prompt
schedule IAutomationDescriptor
modelId
mode
permissionLevel
enabled
createdAt
updatedAt
lastRunAt
nextRunAt
kind
folderUri UriComponents
providerId
sessionTypeId
isolation AutomationWorkspaceIsolation
kind
providerId
sessionTypeId
target ISerializedAutomationTarget
isQuickChat
folderUri UriComponents
providerId
sessionTypeId
isolationMode
branch
schemaVersion
revision
automations ISerializedAutomation
runs OmitIAutomationRun sessionResource
schemaVersion
revision
automations ILegacySerializedAutomation
runs OmitIAutomationRun sessionResource
automations IAutomationDescriptor
runs IAutomationRun
kind ledger ILedger result
kind result
ILedger Object automations runs
kind ledger ILedger revision
kind ledger ILedger revision
kind
_automations ISettableObservable IAutomationDescriptor
_runs ISettableObservable IAutomationRun
Date
_runsForCache
_lastSeenRevision
_canCompleteMigration
automations IObservable IAutomationDescriptor
runs IObservable IAutomationRun
storageKey
storageService IStorageService
logService ILogService
telemetryService ITelemetryService
automationStorageService IAutomationStorageService
result storageServicestorageKey StorageScope
initial resultkind resultledger
_canCompleteMigration resultkind
resultkind
_lastSeenRevision resultrevision
_automations initialautomations
_runs initialruns
automations _automations
runs _runs
storageServiceStorageScope storageKey _store
Date
_now now
id IAutomationDescriptor
_automationsa aid id
_canCompleteMigration
automationId IObservable IAutomationRun
cached _runsForCacheautomationId
cached
cached reader _runsreaderr rautomationId automationId
_runsForCacheautomationId cached
cached
options ICreateAutomationOptions mutationGuard AutomationMutationGuard IAutomationDescriptor
now
nowIso now
nextRun optionsschedule now
automation IAutomationDescriptor Object
id
name optionsname
prompt optionsprompt
schedule optionsschedule
target optionstarget
modelId optionsmodelId
mode optionsmode
permissionLevel optionspermissionLevel optionspermissionLevel
enabled optionsenabled
createdAt nowIso
updatedAt nowIso
lastRunAt
nextRunAt nextRun
ledger
kind
ledger automations automation ledgerautomations runs ledgerruns
result
mutationGuard
telemetryService automation
automation
id patch IUpdateAutomationOptions IAutomationDescriptor
now
result ledger
current ledgerautomationsautomation automationid id
current
updated current patch now
kind
ledger
automations ledgerautomationsautomation automationid id updated automation
runs ledgerruns
result current updated
telemetryService resultcurrent resultupdated
resultupdated
id patch IUpdateAutomationOptions expected IAutomationDescriptor mutationGuard AutomationMutationGuard IGuardedAutomationUpdateResult
now
previous IAutomationDescriptor
result ledger
current ledgerautomationsautomation automationid id
current current expected
kind
result kind current
updated current patch now
previous current
kind
ledger
automations ledgerautomationsautomation automationid id updated automation
runs ledgerruns
result kind automation updated
mutationGuard
resultkind previous
result
telemetryService previous resultautomation
result
id mutationGuard AutomationMutationGuard
existing ledger
automation ledgerautomationsautomation automationid id
automation
kind result
kind
ledger
automations ledgerautomationsautomation automationid id
runs ledgerrunsrun runautomationId id
result automation
mutationGuard
existing
_runsForCacheid
telemetryService existing
snapshot IAutomation IAutomationSnapshotImportResult
automation runs snapshot
ledger
existing ledgerautomationscandidate candidateid automationid
existing
current IAutomation
automation existing
runs ledgerrunsrun runautomationId automationid
current snapshot
kind result kind
kind result kind current
kind
ledger
automations automation ledgerautomations
runs runs ledgerruns
result kind
snapshot IAutomation
automation runs snapshot
ledger
existing ledgerautomationscandidate candidateid automationid
existingRunIds ledgerrunsrun runid
missingRuns runsrun existingRunIdsrunid
existing existing automation missingRunslength
kind result
kind
ledger
automations existing
ledgerautomationscandidate candidateid automationid automation candidate
automation ledgerautomations
runs missingRuns ledgerruns
result
expected IAutomation IGuardedAutomationSnapshotRemovalResult
result ledger
current ledgerautomationscandidate candidateid expectedautomationid
current
kind result kind
currentRuns ledgerrunsrun runautomationId expectedautomationid
currentSnapshot IAutomation automation current runs currentRuns
currentSnapshot expected
kind
result kind current currentSnapshot
kind
ledger
automations ledgerautomationscandidate candidateid expectedautomationid
runs ledgerrunsrun runautomationId expectedautomationid
result kind
resultkind
_runsForCacheexpectedautomationid
result
automationId trigger AutomationRunTrigger leaderWindowId IAutomationRunClaim
now
startedAt now
run IAutomationRun Object
id
automationId
status
trigger
startedAt
leaderWindowId
ledger
automation ledgerautomationsautomation automationid automationId
automation
activeRun ledgerruns automationId
activeRun
kind result claimed run activeRun
automations ledgerautomations
trigger
updatedAutomation IAutomationDescriptor Object
automation
lastRunAt startedAt
nextRunAt automationschedule now
updatedAt startedAt
automations automationsautomation automationid automationId updatedAutomation automation
kind
ledger automations runs run ledgerruns
result claimed run
runId patch IUpdateAutomationRunOptions IAutomationRun
ledger
current ledgerrunsrun runid runId
current
kind result
updated IAutomationRun Object
current
status patchstatus currentstatus
sessionResource patchsessionResource currentsessionResource
completedAt patchcompletedAt currentcompletedAt
errorMessage patcherrorMessage currenterrorMessage
kind
ledger
automations ledgerautomations
runs ledgerrunsrun runid runId updated run
result updated
runId
ledger
ledgerrunsrun runid runId
kind result
kind
ledger
automations ledgerautomations
runs ledgerrunsrun runid runId
result
automationId IAutomationRun
_runs automationId
reason
completedAt
ledger
changed
runs ledgerrunsrun
runstatus runstatus
changed
Object run status completedAt errorMessage reason
run
changed
kind result
kind
ledger automations ledgerautomations runs
result
ledger ILedger ILedgerMutation mutationGuard AutomationMutationGuard
raw automationStorageServicestorageKey
readResult raw
readResultkind
readResultkind
readResultledger readResultrevision
mutation readResultledger
mutationkind
mutationresult
ledger ILedger
automations mutationledgerautomations
runs mutationledgerruns
revision readResultrevision
serialized ISerializedLedger
schemaVersion
revision
automations ledgerautomationsserializeAutomation
runs ledgerrunsrun run sessionResource runsessionResource
newValue serialized
mutationGuard
writeResult automationStorageServicestorageKey raw newValue
writeResultswapped
ledger revision
mutationresult
writeResultcurrentValue raw
raw writeResultcurrentValue
ledger ILedger revision
revision _lastSeenRevision
ledger revision
ledger ILedger revision
_lastSeenRevision revision
tx
_automationsledgerautomations tx
_runsledgerruns tx
result storageServicestorageKey StorageScope
resultkind
_canCompleteMigration
_canCompleteMigration resultkind
resultledger resultrevision
raw ReadLedgerResult
raw
kind ledger revision
parsed raw ISerializedLedger ILegacySerializedLedger
parsedschemaVersion parsedschemaVersion
logService
kind
parsedschemaVersion parsedschemaVersion
logService
kind ledger revision
automations IAutomationDescriptor
invalid parsedautomations parsedruns
parsedschemaVersion
entries parsedautomations parsedautomations
entry entries
automation entry
automation
automationsautomation
logService
err
logService err
entries parsedautomations parsedautomations
entry entries
automation entry
automation
automationsautomation
logService
err
logService err
validIds automationsa aid
serializedRuns parsedruns parsedruns
runs serializedRuns
run run ISerializedAutomationRun run validIdsrunautomationId
r Object r sessionResource rsessionResource rsessionResource
revision parsedrevision parsedrevision
kind invalid ledger automations runs runs revision
err
logService err
kind ledger revision
_serviceBrand
storageService IStorageService
logService ILogService
telemetryService ITelemetryService
automationStorageService IAutomationStorageService
storageService logService telemetryService automationStorageService
reason
reason
a IAutomationDescriptor ISerializedAutomation
id aid
name aname
prompt aprompt
schedule aschedule
target atarget
modelId amodelId
mode amode
permissionLevel apermissionLevel
enabled aenabled
createdAt acreatedAt
updatedAt aupdatedAt
lastRunAt alastRunAt
nextRunAt anextRunAt
first IAutomation second IAutomation
runs IAutomationRun runsrun run sessionResource runsessionResource
firstautomation secondautomation
firstruns secondruns
OmitIAutomationRun sessionResource
value value ISerializedAutomationRun
value value value
run value Record
run
run
run run run run
run run run
run
run
run run
run run
run run
s ISerializedAutomation IAutomationDescriptor
target starget
target s target
s ILegacySerializedAutomation IAutomationDescriptor
target AutomationTarget
sisQuickChat
sproviderId ssessionTypeId
target sproviderId ssessionTypeId
sfolderUri
target
sfolderUri
sproviderId
ssessionTypeId
sisolationMode sbranch
s target
s ISerializedAutomationBase target AutomationTarget IAutomationDescriptor
permissionLevel spermissionLevel
spermissionLevel
ChatPermissionLevelDefault
Object
id sid
name sname
prompt sprompt
schedule sschedule
target
modelId smodelId
mode smode
permissionLevel
enabled senabled
createdAt screatedAt
updatedAt supdatedAt
lastRunAt slastRunAt
nextRunAt snextRunAt
current IAutomationDescriptor patch IUpdateAutomationOptions now Date IAutomationDescriptor
merged current patch
scheduleChanged patchschedule
enabledChanged patchenabled
Object
merged
updatedAt now
nextRunAt scheduleChanged enabledChanged mergedenabled
mergedschedule now
mergednextRunAt
current IAutomationDescriptor patch IUpdateAutomationOptions IAutomationDescriptor
current
name patchname currentname
prompt patchprompt currentprompt
schedule patchschedule currentschedule
target patchtarget patchtarget currenttarget
modelId patchmodelId patchmodelId currentmodelId
mode patchmode patchmode currentmode
permissionLevel patchpermissionLevel patchpermissionLevel patchpermissionLevel patchpermissionLevel currentpermissionLevel
enabled patchenabled currentenabled
target AutomationTarget AutomationTarget
targetkind
targetproviderId targetsessionTypeId
targetproviderId targetsessionTypeId
targetfolderUri
targetfolderUri
targetproviderId
targetsessionTypeId
targetisolation
target AutomationTarget ISerializedAutomationTarget
targetkind
kind providerId targetproviderId sessionTypeId targetsessionTypeId
kind
folderUri
scheme targetfolderUrischeme
authority targetfolderUriauthority
path targetfolderUripath
query targetfolderUriquery
fragment targetfolderUrifragment
providerId targetproviderId
sessionTypeId targetsessionTypeId
isolation targetisolation
target ISerializedAutomationTarget AutomationTarget
targetkind
targetproviderId targetsessionTypeId
targetproviderId targetsessionTypeId
targetkind targetfolderUri targetisolation
targetfolderUri
targetproviderId
targetsessionTypeId
targetisolation
isolationMode branch AutomationWorkspaceIsolation
isolationMode
branch kind branch kind
isolationMode kind kind
isolation AutomationWorkspaceIsolation AutomationWorkspaceIsolation
isolationkind
Object kind
isolationkind
Object kind
isolationkind isolationbranch
Object kind branch isolationbranch
isolationkind
providerId sessionTypeId AutomationTarget
Object kind providerId sessionTypeId
folderUri
providerId
sessionTypeId
isolation AutomationWorkspaceIsolation
AutomationTarget
Object
kind
folderUri
providerId providerId
sessionTypeId sessionTypeId
isolation isolation
value AutomationWorkspaceIsolation value AutomationWorkspaceIsolation
valuekind
valuekind
valuekind valuebranch valuebranchlength
runs IAutomationRun automationId IAutomationRun
runsrun runautomationId automationId runstatus runstatus
runs IAutomationRun max IAutomationRun
counts
out IAutomationRun
run runs
count countsrunautomationId
count max
countsrunautomationId count
outrun
outlength runslength runs out