@comate/zulu 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export { fse as TypeFSE };
10
10
  import { IncomingMessage } from 'http';
11
11
  import * as vscode from 'vscode';
12
12
  import { Change } from 'diff';
13
+ import { interfaces } from 'inversify';
13
14
 
14
15
  declare const ACTION_INFORMATION_QUERY = "INFORMATION_QUERY";
15
16
  interface Information {
@@ -1062,7 +1063,7 @@ interface CommandExecutionResult {
1062
1063
  output: string;
1063
1064
  exitCode?: number;
1064
1065
  }
1065
- type AgentToolCallType = 'search_files' | 'read_image' | 'list_files' | 'keyword_search' | 'codebase_search' | 'web_search' | 'knowledge_search' | 'preview_page' | 'ask_followup_question' | 'attempt_completion' | 'run_command' | 'read_file' | 'list_code_definition_names' | 'write_file' | 'delete_file' | 'patch_file' | 'run_debug_command' | 'mcp_tool' | 'f2c_tool' | 'extract_content_blocks' | 'subtask' | 'unknown';
1066
+ type AgentToolCallType = 'search_files' | 'read_image' | 'list_files' | 'keyword_search' | 'codebase_search' | 'web_search' | 'knowledge_search' | 'preview_page' | 'ask_followup_question' | 'attempt_completion' | 'run_command' | 'read_file' | 'list_code_definition_names' | 'write_file' | 'delete_file' | 'patch_file' | 'run_debug_command' | 'mcp_tool' | 'f2c_tool' | 'extract_content_blocks' | 'subtask' | 'compress_message' | 'unknown';
1066
1067
  type EmptyObject = Record<string, never>;
1067
1068
  interface ToolCallMessageSpec {
1068
1069
  search_files: {
@@ -1255,6 +1256,12 @@ interface ToolCallMessageSpec {
1255
1256
  };
1256
1257
  displayResult: EmptyObject;
1257
1258
  };
1259
+ compress_message: {
1260
+ displayParams: EmptyObject;
1261
+ displayResult: {
1262
+ status: string;
1263
+ };
1264
+ };
1258
1265
  unknown: {
1259
1266
  displayParams: EmptyObject;
1260
1267
  displayResult: EmptyObject;
@@ -1430,6 +1437,53 @@ interface AgentMetrics {
1430
1437
  modelKey?: string;
1431
1438
  function: string;
1432
1439
  }
1440
+ interface ChatAgentFormValues {
1441
+ agentName: string;
1442
+ enable?: boolean;
1443
+ agentImage: string;
1444
+ description: string;
1445
+ strategy: string;
1446
+ agentPrompt: string;
1447
+ parentAgents?: string[];
1448
+ subAgents: number[];
1449
+ tools: string[];
1450
+ mcpInfos: any;
1451
+ }
1452
+ interface ChatAgentConfig {
1453
+ agentId: number;
1454
+ agentName: string;
1455
+ agentImage: string;
1456
+ /** 项目集Agent配置报错 */
1457
+ errors?: string[];
1458
+ /** 是否在输入框选择时可见 */
1459
+ enable: boolean;
1460
+ /** 智能体上报代码采纳率的分类 */
1461
+ reportAgentName: string;
1462
+ description: string;
1463
+ /** agent可见范围,枚举PUBLIC(内置请求agent)、SELF(个人自定义agent)、INVISIBLE(不可见内置智能体) */
1464
+ visibility: 'PUBLIC' | 'SELF' | 'INVISIBLE';
1465
+ /** 是否能被配置为子智能体 */
1466
+ allowInvocation: boolean;
1467
+ /** 是否能配置子智能体 */
1468
+ canInvokeAgents: boolean;
1469
+ order: number;
1470
+ subAgents: number[] | undefined;
1471
+ mcpInfos?: string[];
1472
+ /** 问答时是否使用 mcp, 如果是个人自定义智能体还需要和 mcpInfos 取交集 */
1473
+ canUseMcp: boolean;
1474
+ /** 项目级agent独有的字段,需用通过这个合并为subagent */
1475
+ parentAgents: string[];
1476
+ /** 项目级agent独有的字段,表示文件路径,编辑agent时的索引key */
1477
+ relativePath?: string;
1478
+ /** 项目级agent独有的字段,表示工具列表 */
1479
+ tools: string[];
1480
+ /** 项目级agent独有的字段,表示自定义指令 */
1481
+ agentPrompt?: string;
1482
+ /** 项目级agent独有的字段,表示策略 */
1483
+ strategy?: string;
1484
+ /** 项目级agent独有的字段,表示是否是项目级agent */
1485
+ isProjectAgent?: boolean;
1486
+ }
1433
1487
 
1434
1488
  declare const ACTION_GENERATE_MESSAGE = "ACTION_GENERATE_MESSAGE";
1435
1489
  declare const ACTION_GENERATE_MESSAGE_REPORT = "ACTION_GENERATE_MESSAGE_REPORT";
@@ -2809,6 +2863,7 @@ var bundle_l10n_zhCn = {
2809
2863
  "kernel.zulu.error.connAborted": "连接被中断,请检查网络或稍后重试",
2810
2864
  "kernel.zulu.error.connTimeout": "连接超时,请检查网络或稍后重试",
2811
2865
  "kernel.zulu.error.tls": "安全连接失败,请检查系统时间、代理或 TLS 配置",
2866
+ "kernel.zulu.error.certificate": "证书链中包含自签名证书,请关闭代理、防火墙尝试重试",
2812
2867
  "kernel.zulu.error.aborted": "请求被中断,请稍后重试",
2813
2868
  "promotion.zuluBenefitGranted": "已送您价值 30 元的 Zulu 权益,[点击查看](https://comate.baidu.com/zh/user)权益详情。",
2814
2869
  "preview.browser.downloadError": "资源加载失败",
@@ -3006,6 +3061,7 @@ var bundle_l10n = {
3006
3061
  "kernel.zulu.error.connAborted": "Connection aborted. Please check network or try again later.",
3007
3062
  "kernel.zulu.error.connTimeout": "Connection timed out. Please check network or try again later.",
3008
3063
  "kernel.zulu.error.tls": "Secure connection failed. Please check system time, proxy, or TLS settings.",
3064
+ "kernel.zulu.error.certificate": "The certificate chain contains a self-signed certificate. Please disable your proxy and firewall and try again.",
3009
3065
  "kernel.zulu.error.aborted": "Request aborted. Please try again later.",
3010
3066
  "promotion.zuluBenefitGranted": "¥30 Zulu credit has been added to your account. [Click here](https://comate.baidu.com/en/user) to view details.",
3011
3067
  "preview.browser.downloadError": "Failed to load browser",
@@ -3251,4 +3307,67 @@ declare const LSP_ERROR_CODE: {
3251
3307
  };
3252
3308
  declare const SUCCESS_CODE = 0;
3253
3309
 
3254
- export { type $features, ACTION_ASK_LLM, ACTION_ASK_LLM_STREAMING, ACTION_ASK_RAG, ACTION_BATCH_ACCEPT, ACTION_BRANCH_CHANGE, ACTION_CHAT_QUERY, ACTION_CHAT_SESSION_DELETE, ACTION_CHAT_SESSION_FIND, ACTION_CHAT_SESSION_LIST, ACTION_CHAT_SESSION_SAVE, ACTION_CHAT_TASK_PROGRESS, ACTION_CODE_SEARCH, ACTION_COMATE_ADD_AGENT_TASK, ACTION_COMATE_ADD_CACHE, ACTION_COMATE_GET_AGENT_TASKS, ACTION_COMATE_GET_CACHE, ACTION_COMATE_LSP_REMOTE_CONSOLE, ACTION_COMATE_LSP_WORKSPACE_FOLDERS, ACTION_COMATE_PLUS_AGENT_COMMAND, ACTION_COMATE_PLUS_AGENT_NOTIFICATION, ACTION_COMATE_PLUS_BATCH_ACCEPT, ACTION_COMATE_PLUS_CHAT_CANCEL, ACTION_COMATE_PLUS_CHAT_QUERY, ACTION_COMATE_PLUS_CODE_SEARCH, ACTION_COMATE_PLUS_CUSTOM_COMMAND, ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN, ACTION_COMATE_PLUS_DRAW_CHAT_APPEND, ACTION_COMATE_PLUS_DRAW_CHAT_FAIL, ACTION_COMATE_PLUS_DRAW_CHAT_FINISH, ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE, ACTION_COMATE_PLUS_INITIALIZED, ACTION_COMATE_PLUS_QUERY_SELECTOR, ACTION_COMATE_PLUS_RECREATE_INDEX, ACTION_COMATE_PLUS_REQUEST_PERMISSION, ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC, ACTION_COMATE_PLUS_SA_SCAN_INIT, ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE, ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA, ACTION_COMATE_SET_FOREGROUND_TASK, ACTION_COMATE_SMART_APPLY, ACTION_COMATE_SMART_APPLY_CANCEL, ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES, ACTION_COMPOSER, ACTION_CUSTOM_COMMAND, ACTION_DEBUG_TASK_PROCESS, ACTION_DIAGNOSTIC_SCAN, ACTION_DIAGNOSTIC_SCAN_TASK_COUNT, ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS, ACTION_ENGINE_PROCESS_START_SUCCESS, ACTION_GENERATE_MESSAGE, ACTION_GENERATE_MESSAGE_REPORT, ACTION_GET_PLUGIN_CONFIG, ACTION_INFORMATION_QUERY, ACTION_ISCAN_JOB_BUILD_ID, ACTION_ISCAN_RESULT, ACTION_LOG, ACTION_MOCK_VIRTUAL_EDITOR_EVENT, ACTION_PLUS_MODULE_LIST_FETCH, ACTION_PLUS_MODULE_LIST_RESULT, ACTION_PROMPTTEMPLATE_CREATE, ACTION_PROMPTTEMPLATE_DELETE, ACTION_PROMPTTEMPLATE_LIST, ACTION_PROMPTTEMPLATE_UPDATE, ACTION_QUERY_SELECTOR, ACTION_RELEASE_SCAN_TASK, ACTION_REQUEST_PERMISSION, ACTION_SA_SCAN_DIAGNOSTIC, ACTION_SA_SCAN_DIAGNOSTIC_RESULT, ACTION_SCAN_CACHE_COUNT, ACTION_SCAN_NOTIFICATION, ACTION_SCAN_QUERY, ACTION_SCAN_TASK, ACTION_SCAN_TASK_PROGRESS, ACTION_SECUBOT, ACTION_SECUBOT_TASK_PROGRESS, ACTION_SESSION_FINISH, ACTION_SESSION_START, ACTION_START_BACKGROUND_SERVICE, ACTION_START_ISCAN, ACTION_START_ISCAN_AND_GET_SEC_RESULT, ACTION_START_ISCAN_BY_SAVE, ACTION_UPDATE_ENGINE_CONFIG, ACTION_USER_DETAIL, ACTION_USER_DETAIL_ERROR, ACTION_V8_SNAP_SHOT, ACTION_WILL_SCAN, AGENT_DEBUG_CUSTOM_ACTION, type Accept, type AcceptMethod, AcceptProviderText, type AcceptWithDependentFiles, type ActionConfig, type ActionConfigs, type ActionSet, type ActionType, type Actions, type ActivationContext, type AssistantMessage as AgentAssistantMessage, type AgentComposerTask, type AgentConversationInfo, AgentConversationStatus, AgentConversationType, AgentConversationTypeNames, type AgentElements, type Message as AgentMessage, AgentMessageStatus, type AgentMetrics, type AgentPayload, type AgentReasonElement, type AgentTextElement, type AgentTodoElement, type AgentToolCallElement, type AgentToolCallType, type UserMessage as AgentUserMessage, type AgentWebSearchSite, type AlertTag, type ArchitectureReadIntentStrategy, AutoWorkText, type BatchAcceptPayload, type BatchAcceptPluginPayload, type BlockItem, type ButtonGroup, CanceledError, type CapabilityDescription, type Card, Channel, type ChannelImplement, type ChannelImplementMaybe, ChatProviderText, type ChatQueryParsed, type ChatQueryPayload, type ChatSession, type ChatSessionDetail, ChatTipsProviderText, ChatTrialProviderText, type ChunkContent, type ChunkSelection, type CodeChunk, type CodeChunkType, type CodeSearchPayload, type CodeSearchPluginPayload, CodeSelectionActionsProviderText, CodeWrittenMetric, type CollapsePanel, ComatePlusText, type CommandButton, type CommandExecutionResult, CommandExecutionStatus, CommentProviderText, CompletionText, type ConfigSchemaObject, ContextType, type ContextsConfig, type CopyAcceptMethod, type CopyFile, type CurrentFileReadIntentStrategy, type CustomCommandInvokePayload, type CustomCommandPayload, DEFAULT_RULE_CONFIG_FOLDER, DEFAULT_WORKSPACE_CONFIG_FOLDER, DEFAULT_WORKSPACE_RULE_FILE, type DebugAgentCodeContextItem, type DebugAgentPayload, type DebugAgentPluginPayload, type DebugAgentResponse, DecorationsText, type Deferred, type DiagnosticCacheValue, type DiagnosticInfo, type DiagnosticScanChangedFiles, type DiagnosticScanCountPayload, type DiagnosticScanInvokePayload, type DiagnosticScanPayload, type DiagnosticScanTaskProgressChunk, type DiagnosticScanTaskProgressPayload, type DiagnosticScanTypes, DiffProviderText, DocstringProviderText, type DocumentPosition, type DrawChunk, type DrawElement, type DynamicActionItems, type DynamicCodeChunks, type DynamicCodeGenSteps, type DynamicNotification, type DynamicRelativeFiles, type DynamicReminder, type DynamicSection, ENVIRONMENT, EmbeddingsServiceText, type Execution, ExplainProviderText, ExtensionText, type FailChunk, type FileLink, type FileReadIntentStrategy, type Flex, type FolderKeyIntentStrategy, type FolderReadIntentStrategy, type FolderRegexIntentStrategy, type FolderVectorIntentStrategy, type FunctionCall, type FunctionDefinition, FunctionModel, type FunctionParameterDefinition, type GenerateMessageResponse, type GetPluginConfigPayload, GlobalText, INTERNAL_API_HOST, INTERNAL_TEST_API_HOST, type IScanBuildResult, type IScanInvokePayload, type IScanJobBuildPayload, type IScanResult, type IScanResultPayload, type IdeSideConfigPayload, type IdeSideConfigResponse, type IdeSideInformationPayload, type IdeSideInformationResponse, type IdeSideLlmPayload, type IdeSideLlmResponse, type IdeSideLlmStreamingResponse, type IdeSidePermissionPayload, type IdeSidePermissionResponse, type Information, type InformationPayload, InformationQueryType, InlineChatText, InlineChatTrialProviderText, InlineLogProviderText, type InputBoxMessageHistory, type IntentStrategy, IntentStrategyContextType, IntentStrategyRule, type KnowledgeChunk, type KnowledgeList, type KnowledgeOptions, type KnowledgeQueryWorkspace, type KnowledgeSet, type KnowledgeSetBase, LSP_ERROR_CODE, LanguageDetector, type LicenseFullDetail, type LlmPayload, type LlmPayloadTypes, type LlmResponseTypes, LlmType, type Loading, type LogLevel, type LogPayload, LogUploaderProvider, type MCPAudioContent, type MCPImageContent, type MCPResourceContent, type MCPServerConfigForWebview, type MCPServerForWebview, type MCPTextContent, type MCPToolForWebview, MCP_SETTINGS_FILE_PATH, type Markdown, MessageGenerateText, type Model, type ModelOptions, Nl2codeProviderText, type NotificationMessage, OpenPlatformText, OptimizeProviderText, PERSISTENT_STORAGE_EVENT, PLATFORM, PROMPTTEMPLATE_ROOT_PATH, PatchFileDelimiterError, PermissionType, type PluginCapabilityType, type PluginConfig, type PluginConfigSection, type PluginConfigSet, type PluginDescription, type PluginMeta, type PlusConfigPayload, type PlusModuleListResultPayload, type Position, type ProviderCapabilityInfo, type QuerySelectorPayload, QuickFixText, type RAGPayload, RULE_PANEL_ACTION_EVENT, type Range$1 as Range, RegexHoverText, type ReleaseScanTaskPayload, type RepairData, type ReplaceContentAcceptMethod, type ReplaceSelectionAcceptMethod, type RepoKeyIntentStrategy, type RepoRegexIntentStrategy, type RepoVectorIntentStrategy, type ReportWillScanPayload, type RequestPermissionPayload, RoleType, type RollbackMessageFileInfo, type RuleItem, type RuleMetadata, type RulePanelAction, type RulePanelActionParamsMap, SAAS_API_HOST, SAAS_TEST_API_HOST, type SADiagnosticScanInvokePayload, type SADiagnosticScanResultChunk, type SADiagnosticScanResultPayload, type SAScanDiagnosticConfig, type SAScanDiagnosticResult, SECUBOT_DEFAULT_QUERY, SSEProcessor, SUCCESS_CODE, SUFFIX_LANG_MAP, SUPPORTED_SUFFIX_CONFIG, type ScanHandleGoal, type ScanQueryPayload, type ScanTaskPayload, SearchReplacePatchError, type SectionChunk, type SecubotAgentParsed, type SecubotFileFlaw, type SecubotFixData, type SecubotFlaw, type SecubotFlawDetail, type SecubotLink, type SecubotQueryPayload, Session, type SessionAssociation, type SessionInit, type SessionOptions, type SimpleCodeBlock, SplitProviderText, type StartBackgroundServicePayload, StatusBarText, type AgentConfig as SubAgentConfig, type Suggestion, type SystemInfoParsed, type TaskProgressChunk, type TaskProgressPayload, TaskStatus, TextModel, type ToTerminalAcceptMethod, type TodoNode, type ToolCallMessageDisplayParams, type ToolCallMessageDisplayResult, type TranslationKey, UPDATE_RULE_PANEL_EVENT, UnitTestProviderText, type UserDetail, type UserLogLevel, type VirtualDocument, VirtualDocumentAction, type VirtualEditMethod, VirtualEditor, type VirtualEditorMethodCall, type VisibilitySelector, VisibilitySelectorMatcher, WEBVIEW_CONSUMER, type WillScanPayload, WorkflowStatus, ZuluText, allowedNativeElement, applyDiff, applySearchReplaceChunk, axiosInstance, canHandleChatQuery, canHandleQuerySelector, canShowToUser, createAxiosCancelTokenSource, createAxiosInstance, createDeferred, emptyDir, ensureDirectoryExist, extractChunkContent, extractCodeBlocks, extractListFromMarkdown, extractMentionFilesFromRuleConfig, findCodeChunkStartLineIndex, fixUdiffLineMarker, formatPrompt, getApiHost, getCurrentUserKnowledgeSet, getCurrentUserPluginConfigSet, getDeviceDisplayName, getKnowledgeQueryResult, getOsAppDataPath, getPromptTemplatePath, getPromptTemplateRootPath, getPromptTemplateUuidFromPath, getUserLicenseType, isCapabilityMatch, isInteractiveContent, isNativeElement, isSectionChunk, isWrappedChunk, knowledgeServiceHealthy, localPluginConfig, mergePluginConfig, parseShellCommandName, patchEnvPath, pluginConfigDetail, readFileOrNull, readJson, readPluginDescription, remove, replacePathTextInMarkdown, setApiHost, setLanguage, setPlatform, setPlatformAndEnvironment, trimIllegalMarkdownTodo, writeJSON };
3310
+ declare class FixedLengthArray<T> {
3311
+ private items;
3312
+ private readonly maxLength;
3313
+ constructor(maxLength: number);
3314
+ /**
3315
+ * 获取当前长度
3316
+ */
3317
+ get length(): number;
3318
+ /**
3319
+ * 获取最大长度
3320
+ */
3321
+ get capacity(): number;
3322
+ /**
3323
+ * 添加元素到数组开头,如果超过最大长度则移除最后一个元素
3324
+ */
3325
+ push(item: T): void;
3326
+ /**
3327
+ * 添加元素到数组末尾,如果超过最大长度则移除第一个元素
3328
+ */
3329
+ append(item: T): void;
3330
+ /**
3331
+ * 获取所有元素
3332
+ */
3333
+ getAll(): T[];
3334
+ /**
3335
+ * 获取指定索引的元素
3336
+ */
3337
+ get(index: number): T | undefined;
3338
+ /**
3339
+ * 清空数组
3340
+ */
3341
+ clear(): void;
3342
+ /**
3343
+ * 判断是否已满
3344
+ */
3345
+ isFull(): boolean;
3346
+ /**
3347
+ * 转换为字符串
3348
+ */
3349
+ toString(): string;
3350
+ }
3351
+
3352
+ interface Logger {
3353
+ log: (message: string, context?: Record<string, any>) => void;
3354
+ error: (message: string, context?: Record<string, any>) => void;
3355
+ }
3356
+ declare function loggingMiddleware(logger: Logger): interfaces.Middleware;
3357
+ interface LogEntry {
3358
+ timestamp: string;
3359
+ level: 'log' | 'error';
3360
+ message: string;
3361
+ context?: Record<string, any>;
3362
+ }
3363
+ declare const logStorage: FixedLengthArray<LogEntry>;
3364
+ declare const customLogger: {
3365
+ log: (message: string, context?: Record<string, any>) => void;
3366
+ error: (message: string, context?: Record<string, any>) => void;
3367
+ };
3368
+
3369
+ declare function detectEncoding(fileBuffer: Buffer): Promise<string>;
3370
+ declare function decodeFile(absolutePath: string): Promise<string>;
3371
+ declare function encodeWithFileEncoding(content: string, absolutePath: string): Promise<Buffer>;
3372
+
3373
+ export { type $features, ACTION_ASK_LLM, ACTION_ASK_LLM_STREAMING, ACTION_ASK_RAG, ACTION_BATCH_ACCEPT, ACTION_BRANCH_CHANGE, ACTION_CHAT_QUERY, ACTION_CHAT_SESSION_DELETE, ACTION_CHAT_SESSION_FIND, ACTION_CHAT_SESSION_LIST, ACTION_CHAT_SESSION_SAVE, ACTION_CHAT_TASK_PROGRESS, ACTION_CODE_SEARCH, ACTION_COMATE_ADD_AGENT_TASK, ACTION_COMATE_ADD_CACHE, ACTION_COMATE_GET_AGENT_TASKS, ACTION_COMATE_GET_CACHE, ACTION_COMATE_LSP_REMOTE_CONSOLE, ACTION_COMATE_LSP_WORKSPACE_FOLDERS, ACTION_COMATE_PLUS_AGENT_COMMAND, ACTION_COMATE_PLUS_AGENT_NOTIFICATION, ACTION_COMATE_PLUS_BATCH_ACCEPT, ACTION_COMATE_PLUS_CHAT_CANCEL, ACTION_COMATE_PLUS_CHAT_QUERY, ACTION_COMATE_PLUS_CODE_SEARCH, ACTION_COMATE_PLUS_CUSTOM_COMMAND, ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN, ACTION_COMATE_PLUS_DRAW_CHAT_APPEND, ACTION_COMATE_PLUS_DRAW_CHAT_FAIL, ACTION_COMATE_PLUS_DRAW_CHAT_FINISH, ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE, ACTION_COMATE_PLUS_INITIALIZED, ACTION_COMATE_PLUS_QUERY_SELECTOR, ACTION_COMATE_PLUS_RECREATE_INDEX, ACTION_COMATE_PLUS_REQUEST_PERMISSION, ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC, ACTION_COMATE_PLUS_SA_SCAN_INIT, ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE, ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA, ACTION_COMATE_SET_FOREGROUND_TASK, ACTION_COMATE_SMART_APPLY, ACTION_COMATE_SMART_APPLY_CANCEL, ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES, ACTION_COMPOSER, ACTION_CUSTOM_COMMAND, ACTION_DEBUG_TASK_PROCESS, ACTION_DIAGNOSTIC_SCAN, ACTION_DIAGNOSTIC_SCAN_TASK_COUNT, ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS, ACTION_ENGINE_PROCESS_START_SUCCESS, ACTION_GENERATE_MESSAGE, ACTION_GENERATE_MESSAGE_REPORT, ACTION_GET_PLUGIN_CONFIG, ACTION_INFORMATION_QUERY, ACTION_ISCAN_JOB_BUILD_ID, ACTION_ISCAN_RESULT, ACTION_LOG, ACTION_MOCK_VIRTUAL_EDITOR_EVENT, ACTION_PLUS_MODULE_LIST_FETCH, ACTION_PLUS_MODULE_LIST_RESULT, ACTION_PROMPTTEMPLATE_CREATE, ACTION_PROMPTTEMPLATE_DELETE, ACTION_PROMPTTEMPLATE_LIST, ACTION_PROMPTTEMPLATE_UPDATE, ACTION_QUERY_SELECTOR, ACTION_RELEASE_SCAN_TASK, ACTION_REQUEST_PERMISSION, ACTION_SA_SCAN_DIAGNOSTIC, ACTION_SA_SCAN_DIAGNOSTIC_RESULT, ACTION_SCAN_CACHE_COUNT, ACTION_SCAN_NOTIFICATION, ACTION_SCAN_QUERY, ACTION_SCAN_TASK, ACTION_SCAN_TASK_PROGRESS, ACTION_SECUBOT, ACTION_SECUBOT_TASK_PROGRESS, ACTION_SESSION_FINISH, ACTION_SESSION_START, ACTION_START_BACKGROUND_SERVICE, ACTION_START_ISCAN, ACTION_START_ISCAN_AND_GET_SEC_RESULT, ACTION_START_ISCAN_BY_SAVE, ACTION_UPDATE_ENGINE_CONFIG, ACTION_USER_DETAIL, ACTION_USER_DETAIL_ERROR, ACTION_V8_SNAP_SHOT, ACTION_WILL_SCAN, AGENT_DEBUG_CUSTOM_ACTION, type Accept, type AcceptMethod, AcceptProviderText, type AcceptWithDependentFiles, type ActionConfig, type ActionConfigs, type ActionSet, type ActionType, type Actions, type ActivationContext, type AssistantMessage as AgentAssistantMessage, type AgentComposerTask, type AgentConversationInfo, AgentConversationStatus, AgentConversationType, AgentConversationTypeNames, type AgentElements, type Message as AgentMessage, AgentMessageStatus, type AgentMetrics, type AgentPayload, type AgentReasonElement, type AgentTextElement, type AgentTodoElement, type AgentToolCallElement, type AgentToolCallType, type UserMessage as AgentUserMessage, type AgentWebSearchSite, type AlertTag, type ArchitectureReadIntentStrategy, AutoWorkText, type BatchAcceptPayload, type BatchAcceptPluginPayload, type BlockItem, type ButtonGroup, CanceledError, type CapabilityDescription, type Card, Channel, type ChannelImplement, type ChannelImplementMaybe, type ChatAgentConfig, type ChatAgentFormValues, ChatProviderText, type ChatQueryParsed, type ChatQueryPayload, type ChatSession, type ChatSessionDetail, ChatTipsProviderText, ChatTrialProviderText, type ChunkContent, type ChunkSelection, type CodeChunk, type CodeChunkType, type CodeSearchPayload, type CodeSearchPluginPayload, CodeSelectionActionsProviderText, CodeWrittenMetric, type CollapsePanel, ComatePlusText, type CommandButton, type CommandExecutionResult, CommandExecutionStatus, CommentProviderText, CompletionText, type ConfigSchemaObject, ContextType, type ContextsConfig, type CopyAcceptMethod, type CopyFile, type CurrentFileReadIntentStrategy, type CustomCommandInvokePayload, type CustomCommandPayload, DEFAULT_RULE_CONFIG_FOLDER, DEFAULT_WORKSPACE_CONFIG_FOLDER, DEFAULT_WORKSPACE_RULE_FILE, type DebugAgentCodeContextItem, type DebugAgentPayload, type DebugAgentPluginPayload, type DebugAgentResponse, DecorationsText, type Deferred, type DiagnosticCacheValue, type DiagnosticInfo, type DiagnosticScanChangedFiles, type DiagnosticScanCountPayload, type DiagnosticScanInvokePayload, type DiagnosticScanPayload, type DiagnosticScanTaskProgressChunk, type DiagnosticScanTaskProgressPayload, type DiagnosticScanTypes, DiffProviderText, DocstringProviderText, type DocumentPosition, type DrawChunk, type DrawElement, type DynamicActionItems, type DynamicCodeChunks, type DynamicCodeGenSteps, type DynamicNotification, type DynamicRelativeFiles, type DynamicReminder, type DynamicSection, ENVIRONMENT, EmbeddingsServiceText, type Execution, ExplainProviderText, ExtensionText, type FailChunk, type FileLink, type FileReadIntentStrategy, FixedLengthArray, type Flex, type FolderKeyIntentStrategy, type FolderReadIntentStrategy, type FolderRegexIntentStrategy, type FolderVectorIntentStrategy, type FunctionCall, type FunctionDefinition, FunctionModel, type FunctionParameterDefinition, type GenerateMessageResponse, type GetPluginConfigPayload, GlobalText, INTERNAL_API_HOST, INTERNAL_TEST_API_HOST, type IScanBuildResult, type IScanInvokePayload, type IScanJobBuildPayload, type IScanResult, type IScanResultPayload, type IdeSideConfigPayload, type IdeSideConfigResponse, type IdeSideInformationPayload, type IdeSideInformationResponse, type IdeSideLlmPayload, type IdeSideLlmResponse, type IdeSideLlmStreamingResponse, type IdeSidePermissionPayload, type IdeSidePermissionResponse, type Information, type InformationPayload, InformationQueryType, InlineChatText, InlineChatTrialProviderText, InlineLogProviderText, type InputBoxMessageHistory, type IntentStrategy, IntentStrategyContextType, IntentStrategyRule, type KnowledgeChunk, type KnowledgeList, type KnowledgeOptions, type KnowledgeQueryWorkspace, type KnowledgeSet, type KnowledgeSetBase, LSP_ERROR_CODE, LanguageDetector, type LicenseFullDetail, type LlmPayload, type LlmPayloadTypes, type LlmResponseTypes, LlmType, type Loading, type LogEntry, type LogLevel, type LogPayload, LogUploaderProvider, type MCPAudioContent, type MCPImageContent, type MCPResourceContent, type MCPServerConfigForWebview, type MCPServerForWebview, type MCPTextContent, type MCPToolForWebview, MCP_SETTINGS_FILE_PATH, type Markdown, MessageGenerateText, type Model, type ModelOptions, Nl2codeProviderText, type NotificationMessage, OpenPlatformText, OptimizeProviderText, PERSISTENT_STORAGE_EVENT, PLATFORM, PROMPTTEMPLATE_ROOT_PATH, PatchFileDelimiterError, PermissionType, type PluginCapabilityType, type PluginConfig, type PluginConfigSection, type PluginConfigSet, type PluginDescription, type PluginMeta, type PlusConfigPayload, type PlusModuleListResultPayload, type Position, type ProviderCapabilityInfo, type QuerySelectorPayload, QuickFixText, type RAGPayload, RULE_PANEL_ACTION_EVENT, type Range$1 as Range, RegexHoverText, type ReleaseScanTaskPayload, type RepairData, type ReplaceContentAcceptMethod, type ReplaceSelectionAcceptMethod, type RepoKeyIntentStrategy, type RepoRegexIntentStrategy, type RepoVectorIntentStrategy, type ReportWillScanPayload, type RequestPermissionPayload, RoleType, type RollbackMessageFileInfo, type RuleItem, type RuleMetadata, type RulePanelAction, type RulePanelActionParamsMap, SAAS_API_HOST, SAAS_TEST_API_HOST, type SADiagnosticScanInvokePayload, type SADiagnosticScanResultChunk, type SADiagnosticScanResultPayload, type SAScanDiagnosticConfig, type SAScanDiagnosticResult, SECUBOT_DEFAULT_QUERY, SSEProcessor, SUCCESS_CODE, SUFFIX_LANG_MAP, SUPPORTED_SUFFIX_CONFIG, type ScanHandleGoal, type ScanQueryPayload, type ScanTaskPayload, SearchReplacePatchError, type SectionChunk, type SecubotAgentParsed, type SecubotFileFlaw, type SecubotFixData, type SecubotFlaw, type SecubotFlawDetail, type SecubotLink, type SecubotQueryPayload, Session, type SessionAssociation, type SessionInit, type SessionOptions, type SimpleCodeBlock, SplitProviderText, type StartBackgroundServicePayload, StatusBarText, type AgentConfig as SubAgentConfig, type Suggestion, type SystemInfoParsed, type TaskProgressChunk, type TaskProgressPayload, TaskStatus, TextModel, type ToTerminalAcceptMethod, type TodoNode, type ToolCallMessageDisplayParams, type ToolCallMessageDisplayResult, type TranslationKey, UPDATE_RULE_PANEL_EVENT, UnitTestProviderText, type UserDetail, type UserLogLevel, type VirtualDocument, VirtualDocumentAction, type VirtualEditMethod, VirtualEditor, type VirtualEditorMethodCall, type VisibilitySelector, VisibilitySelectorMatcher, WEBVIEW_CONSUMER, type WillScanPayload, WorkflowStatus, ZuluText, allowedNativeElement, applyDiff, applySearchReplaceChunk, axiosInstance, canHandleChatQuery, canHandleQuerySelector, canShowToUser, createAxiosCancelTokenSource, createAxiosInstance, createDeferred, customLogger, decodeFile, detectEncoding, emptyDir, encodeWithFileEncoding, ensureDirectoryExist, extractChunkContent, extractCodeBlocks, extractListFromMarkdown, extractMentionFilesFromRuleConfig, findCodeChunkStartLineIndex, fixUdiffLineMarker, formatPrompt, getApiHost, getCurrentUserKnowledgeSet, getCurrentUserPluginConfigSet, getDeviceDisplayName, getKnowledgeQueryResult, getOsAppDataPath, getPromptTemplatePath, getPromptTemplateRootPath, getPromptTemplateUuidFromPath, getUserLicenseType, isCapabilityMatch, isInteractiveContent, isNativeElement, isSectionChunk, isWrappedChunk, knowledgeServiceHealthy, localPluginConfig, logStorage, loggingMiddleware, mergePluginConfig, parseShellCommandName, patchEnvPath, pluginConfigDetail, readFileOrNull, readJson, readPluginDescription, remove, replacePathTextInMarkdown, setApiHost, setLanguage, setPlatform, setPlatformAndEnvironment, trimIllegalMarkdownTodo, writeJSON };