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 type { SimpleMessageAttachment } from '../state/protocol/state.js';
/**
* Well-known typed views over a `SimpleMessageAttachment`'s `_meta` bag as
* produced by the `completions` command, populated by the slash-command and
* skill completion providers and read by the session handler. Read the bag
* through {@link readCompletionAttachmentMeta} rather than indexing `_meta`
* directly. Two variants are distinguished by which discriminating key is
* present: a slash command (`command`) or a skill (`uri`).
*/
/**
* A client-side side effect a command completion carries. When present, the
* workbench interprets it on accept (see the shared agent-host completion action
* handler) rather than treating the item as a plain text/reference insertion.
*
* Used by Copilot agent-host permission/mode toggles (e.g. `/yolo`,
* `/autopilot on`): the item applies a well-known session-config change. Whether
* the item leaves text behind is expressed by its `insertText` (empty for a pure
* toggle; `/command ` for an item that keeps the text so an argument can be
* typed, with {@link ICommandCompletionAttachmentMeta.argumentHint} as ghost text).
*/
export interface IAgentHostCompletionAction {
/**
* A partial agent-host session-config change to apply when the completion is
* accepted, keyed by well-known session-config property (e.g. `autoApprove`,
* `mode`) to the string-enum value. Applied via the active session's provider
* so the corresponding picker updates reactively.
*/
readonly applyConfig?: Readonly<Record
command
isSkill
description
argumentHint
action IAgentHostCompletionAction
uri
name
displayName
description
kind ICommandCompletionAttachmentMeta
kind ISkillCompletionAttachmentMeta
attachment SimpleMessageAttachment CompletionAttachmentMeta
meta attachment_meta
meta meta meta
meta
action meta
kind
command meta
meta isSkill
meta description meta
meta argumentHint meta
action action
meta
kind
uri meta
meta name meta
meta displayName meta
meta description meta
meta ICommandCompletionAttachmentMeta Record
result Record command metacommand
metaisSkill
result
metadescription
result metadescription
metaargumentHint
result metaargumentHint
action metaaction
action
result action
result
meta Record IAgentHostCompletionAction
meta meta meta
meta
value IAgentHostCompletionAction
value value value
raw value Record
applyConfig Record
rawApplyConfig raw
rawApplyConfig rawApplyConfig rawApplyConfig
key entry ObjectrawApplyConfig Record
entry
applyConfig
applyConfigkey entry
applyConfig
applyConfig
action IAgentHostCompletionAction Record
actionapplyConfig ObjectactionapplyConfiglength
applyConfig actionapplyConfig
meta Record
meta meta meta
meta meta
meta ISkillCompletionAttachmentMeta Record
result Record uri metauri
metaname
result metaname
metadisplayName
result metadisplayName
metadescription
result metadescription
result