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 Anthropic from '@anthropic-ai/sdk';
import type { SDKAssistantMessage, SDKPartialAssistantMessage, SDKResultError, SDKResultSuccess, SDKSystemMessage, SDKUserMessage } from '@anthropic-ai/claude-agent-sdk';
// Beta event-stream type aliases. The `Anthropic` namespace re-exports
// these from `@anthropic-ai/sdk/resources/beta/messages.js`, but
// importing that subpath directly trips the `local/code-import-patterns`
// allowlist (the agentHost rule only permits the bare
// `@anthropic-ai/sdk` specifier). Local aliases via the `Anthropic`
// import keep the body of this file readable without extending the
// allowlist.
export type BetaRawContentBlockDeltaEvent = Anthropic.Beta.BetaRawContentBlockDeltaEvent;
export type BetaRawContentBlockStartEvent = Anthropic.Beta.BetaRawContentBlockStartEvent;
AnthropicBetaBetaRawContentBlockStopEvent
AnthropicBetaBetaRawMessageStartEvent
AnthropicBetaBetaRawMessageStopEvent
AnthropicBetaBetaContentBlock
SDKResultSuccess
cache_creation ephemeral_1h_input_tokens ephemeral_5m_input_tokens
cache_creation_input_tokens
cache_read_input_tokens
inference_geo
input_tokens
iterations
output_tokens
server_tool_use web_fetch_requests web_search_requests
service_tier
speed
sessionId SDKSystemMessage
type
subtype
apiKeySource
claude_code_version
cwd
tools
mcp_servers
model
permissionMode
slash_commands
output_style
skills
plugins
uuid
session_id sessionId
sessionId SDKResultSuccess
type
subtype
duration_ms
duration_api_ms
is_error
num_turns
result
stop_reason
total_cost_usd
usage
modelUsage
permission_denials
uuid
session_id sessionId
sessionId errors SDKResultError
type
subtype
duration_ms
duration_api_ms
is_error
num_turns
stop_reason
total_cost_usd
usage
modelUsage
permission_denials
errors
uuid
session_id sessionId
sessionId
event SDKPartialAssistantMessage
SDKPartialAssistantMessage
type
event
parent_tool_use_id
uuid
session_id sessionId
messageId BetaRawMessageStartEvent
type
message
id messageId
type
role
model
content
stop_reason
stop_sequence
stop_details
container
context_management
usage
cache_creation ephemeral_1h_input_tokens ephemeral_5m_input_tokens
cache_creation_input_tokens
cache_read_input_tokens
inference_geo
input_tokens
iterations
output_tokens
server_tool_use web_fetch_requests web_search_requests
service_tier
speed
index BetaRawContentBlockStartEvent
type
index
content_block type text citations
index BetaRawContentBlockStartEvent
type
index
content_block type thinking signature
index
id
name
BetaRawContentBlockStartEvent
type
index
content_block type id name input
index text BetaRawContentBlockDeltaEvent
type
index
delta type text
index thinking BetaRawContentBlockDeltaEvent
type
index
delta type thinking
index partialJson BetaRawContentBlockDeltaEvent
type
index
delta type partial_json partialJson
index BetaRawContentBlockStopEvent
type
index
BetaRawMessageStopEvent
type
sessionId
content BetaContentBlock
SDKAssistantMessage
type
message
id
type
role
model
content
stop_reason
stop_sequence
stop_details
container
context_management
usage
cache_creation ephemeral_1h_input_tokens ephemeral_5m_input_tokens
cache_creation_input_tokens
cache_read_input_tokens
inference_geo
input_tokens
iterations
output_tokens
server_tool_use web_fetch_requests web_search_requests
service_tier
speed
parent_tool_use_id
uuid
session_id sessionId
sessionId
toolUseId
content type text
options isError
SDKUserMessage
type
message
role
content
type
tool_use_id toolUseId
content
optionsisError is_error
parent_tool_use_id
isSynthetic
uuid
session_id sessionId