@comate/zulu 0.7.3 → 0.7.4-beta.2

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.
@@ -102,6 +102,7 @@ interface Range$1 {
102
102
  }
103
103
 
104
104
  declare const ACTION_CHAT_QUERY = "CHAT_QUERY";
105
+ /** @deprecate */
105
106
  interface ChatQueryParsed {
106
107
  messageId: string;
107
108
  pluginName: string;
@@ -112,6 +113,7 @@ interface ChatQueryParsed {
112
113
  enableSmartApply?: boolean;
113
114
  modelKey?: string;
114
115
  }
116
+ /** @deprecate */
115
117
  declare enum ContextType {
116
118
  /** 当前文件 */
117
119
  CURRENT_FILE = "CURRENT_FILE",
@@ -168,7 +170,8 @@ interface KnowledgeList {
168
170
  path?: string;
169
171
  /** 当type为CODE_SELECTION时,selection代表选中代码的行号范围 */
170
172
  selection?: [number, number];
171
- type: ContextType;
173
+ type: KnowledgeSet['type'];
174
+ knowledgeId?: string;
172
175
  /** 当type为diff,且文件是已经存储到暂存区域的时候 */
173
176
  staged?: boolean;
174
177
  /** 当从自研IDE中的入口进行codeReview时,尽量返回结果 */
@@ -962,6 +965,11 @@ interface SAScanDiagnosticConfig {
962
965
  scanEnabled: boolean;
963
966
  intervalMinute: number;
964
967
  }
968
+ /** SA扫描初始化数据 */
969
+ interface SAScanInitData {
970
+ /** 扫描类型: AISR 表示 AI 安全审查 */
971
+ type?: 'AISR' | string;
972
+ }
965
973
  type SADiagnosticScanResultChunk = SAScanDiagnosticResult | boolean | SAScanDiagnosticConfig;
966
974
  interface SADiagnosticScanResultPayload {
967
975
  chunk: SADiagnosticScanResultChunk;
@@ -975,6 +983,7 @@ interface SADiagnosticScanInvokePayload {
975
983
  scanType: ScanTypes;
976
984
  absolutePath?: string;
977
985
  context?: ActivationContext;
986
+ data?: SAScanInitData;
978
987
  }
979
988
 
980
989
  declare const ACTION_START_BACKGROUND_SERVICE = "ACTION_START_BACKGROUND_SERVICE";
@@ -1729,6 +1738,52 @@ interface IScanJobBuildPayload {
1729
1738
  }
1730
1739
 
1731
1740
  declare const MCP_SETTINGS_FILE_PATH = ".comate/mcp.json";
1741
+ type McpConnectionStatus = 'connected' | 'connecting' | 'disconnected';
1742
+ type McpConfigSource = 'global' | 'project' | 'local';
1743
+ type McpTransportType = 'stdio' | 'sse' | 'streamableHttp';
1744
+ interface McpTool {
1745
+ name: string;
1746
+ description?: string;
1747
+ inputSchema?: object;
1748
+ autoApprove?: boolean;
1749
+ }
1750
+ interface McpServerBaseConfigRaw {
1751
+ disabled?: boolean;
1752
+ timeout?: number;
1753
+ transportType?: McpTransportType;
1754
+ type?: McpTransportType;
1755
+ }
1756
+ interface StdioMcpServerConfigRaw extends McpServerBaseConfigRaw {
1757
+ command: string;
1758
+ transportType?: 'stdio';
1759
+ type?: 'stdio';
1760
+ args?: string[];
1761
+ env?: Record<string, string>;
1762
+ cwd?: string;
1763
+ }
1764
+ interface HttpMcpServerConfigBaseRaw extends McpServerBaseConfigRaw {
1765
+ url: string;
1766
+ headers?: HeadersInit;
1767
+ requestInit?: RequestInit;
1768
+ }
1769
+ interface SseMcpServerConfigRaw extends HttpMcpServerConfigBaseRaw {
1770
+ transportType?: 'sse';
1771
+ type?: 'sse';
1772
+ }
1773
+ interface StreamableHttpMcpServerConfigRaw extends HttpMcpServerConfigBaseRaw {
1774
+ transportType?: 'streamableHttp';
1775
+ type?: 'streamableHttp';
1776
+ }
1777
+ type McpServerConfigRaw = StdioMcpServerConfigRaw | SseMcpServerConfigRaw | StreamableHttpMcpServerConfigRaw;
1778
+ interface MCPServerForWebview {
1779
+ name: string;
1780
+ disabled?: boolean;
1781
+ status: McpConnectionStatus;
1782
+ error?: string;
1783
+ tools?: McpTool[];
1784
+ logPath: string;
1785
+ source: McpConfigSource;
1786
+ }
1732
1787
  interface MCPTextContent {
1733
1788
  type: 'text';
1734
1789
  text: string;
@@ -1752,28 +1807,65 @@ interface MCPResourceContent {
1752
1807
  blob?: string;
1753
1808
  };
1754
1809
  }
1755
- interface MCPServerForWebview {
1756
- name: string;
1757
- disabled?: boolean;
1758
- status: 'connected' | 'connecting' | 'disconnected';
1759
- error?: string;
1760
- tools?: MCPToolForWebview[];
1761
- logPath: string;
1810
+ interface McpServerConfigParsedBase {
1811
+ disabled: boolean;
1812
+ timeout: number;
1813
+ transportType: McpTransportType;
1814
+ source: McpConfigSource;
1815
+ }
1816
+ interface StdioMcpServerConfigParsed extends McpServerConfigParsedBase {
1817
+ transportType: 'stdio';
1818
+ command: string;
1819
+ args: string[];
1820
+ env: Record<string, string>;
1821
+ cwd?: string;
1762
1822
  }
1763
- interface MCPToolForWebview {
1764
- name: string;
1765
- description?: string;
1766
- inputSchema?: object;
1767
- autoApprove?: boolean;
1823
+ interface SseMcpServerConfigParsed extends McpServerConfigParsedBase {
1824
+ transportType: 'sse';
1825
+ url: string;
1826
+ requestInit: RequestInit;
1768
1827
  }
1769
- interface MCPServerConfigForWebview {
1770
- command?: string;
1771
- args?: string[];
1772
- env?: Record<string, string>;
1773
- cwd?: string;
1774
- url?: string;
1775
- disabled?: boolean;
1828
+ interface StreamableHttpMcpServerConfigParsed extends McpServerConfigParsedBase {
1829
+ transportType: 'streamableHttp';
1830
+ url: string;
1831
+ requestInit: RequestInit;
1832
+ }
1833
+ type McpServerConfigParsed = StdioMcpServerConfigParsed | SseMcpServerConfigParsed | StreamableHttpMcpServerConfigParsed;
1834
+ type RawSettings = Record<string, McpServerConfigRaw>;
1835
+ type ParsedSettings = Record<string, McpServerConfigParsed>;
1836
+ interface SettingsSnapshot {
1837
+ raw: RawSettings;
1838
+ parsed: ParsedSettings;
1839
+ }
1840
+ interface LayeredSnapshot {
1841
+ global: SettingsSnapshot;
1842
+ project: SettingsSnapshot;
1843
+ local: SettingsSnapshot;
1844
+ }
1845
+ interface McpConfigResult {
1846
+ filePath: string;
1847
+ startLine: number;
1848
+ endLine: number;
1849
+ snapshot?: SettingsSnapshot;
1850
+ config?: ParsedSettings;
1776
1851
  }
1852
+ type McpConfigUpdatePayload = {
1853
+ layered: LayeredSnapshot;
1854
+ error?: never;
1855
+ } | {
1856
+ layered?: never;
1857
+ error: string;
1858
+ };
1859
+ type McpConfigUpdateRequest = {
1860
+ serverName: string;
1861
+ type: 'add' | 'update';
1862
+ config: McpServerConfigRaw;
1863
+ source: McpConfigSource;
1864
+ } | {
1865
+ serverName: string;
1866
+ type: 'delete';
1867
+ source: McpConfigSource;
1868
+ };
1777
1869
 
1778
1870
  type PluginCapabilityType = 'Prompt' | 'Skill' | 'Fallback' | 'Background' | 'Config';
1779
1871
  interface VisibilitySelector {
@@ -2255,7 +2347,7 @@ declare function extractCodeBlocks(markdown: string): string[];
2255
2347
  interface LicenseFullDetail {
2256
2348
  key: string;
2257
2349
  typeId: number;
2258
- typeCode: 'ENTERPRISE' | 'TRIAL_ENTERPRISE' | 'EDUCATIONAL' | 'INDIVIDUAL' | 'TRIAL_INDIVIDUAL' | 'INTERNATIONAL' | 'CUSTOMIZED_ENTERPRISE' | 'PRO_ENTERPRISE';
2350
+ typeCode: 'INDIVIDUAL' | 'TRIAL_INDIVIDUAL' | 'ENTERPRISE' | 'TRIAL_ENTERPRISE' | 'PLUS_ENTERPRISE' | 'PRO_ENTERPRISE' | 'PRIVATE_ENTERPRISE';
2259
2351
  type: string;
2260
2352
  customized: boolean;
2261
2353
  customizedUrl: string;
@@ -2318,6 +2410,8 @@ declare class PatchFileDelimiterError extends Error {
2318
2410
  interface Opts {
2319
2411
  /** 是否流式,流式过程中只会做简单的搜索替换,结束或会做更详细的相似度匹配 */
2320
2412
  stream?: boolean;
2413
+ /** 是否忽略最后一个补丁块缺少的 END 分隔符 */
2414
+ ignoreLastEndDelimiter?: boolean;
2321
2415
  cache?: {
2322
2416
  finishedPatchIndex: number;
2323
2417
  diff: {
@@ -2355,6 +2449,7 @@ declare const applySearchReplaceChunk: (originalContent: string, searchReplaceCh
2355
2449
  error: any;
2356
2450
  patchedContent: any;
2357
2451
  patches: ParsedPatch[];
2452
+ missingEndDelimiter: boolean;
2358
2453
  };
2359
2454
 
2360
2455
  declare const DEFAULT_WORKSPACE_CONFIG_FOLDER = ".comate";
@@ -3460,8 +3555,9 @@ declare const customLogger: {
3460
3555
  error: (message: string, context?: Record<string, any>) => void;
3461
3556
  };
3462
3557
 
3463
- declare function detectEncoding(fileBuffer: Buffer): Promise<string>;
3558
+ declare function detectEncoding(fileBuffer: Buffer): string;
3559
+ declare function decodeBuffer(fileBuffer: Buffer): string;
3464
3560
  declare function decodeFile(absolutePath: string): Promise<string>;
3465
3561
  declare function encodeWithFileEncoding(content: string, absolutePath: string): Promise<Buffer>;
3466
3562
 
3467
- 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, SpecEditorIconState, type SpecEditorTabInfo, SpecEditorTabStatus, SpecEditorTabType, 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 };
3563
+ 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 LayeredSnapshot, 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 MCPServerForWebview, type MCPTextContent, MCP_SETTINGS_FILE_PATH, type Markdown, type McpConfigResult, type McpConfigSource, type McpConfigUpdatePayload, type McpConfigUpdateRequest, type McpConnectionStatus, type McpServerBaseConfigRaw, type McpServerConfigParsed, type McpServerConfigParsedBase, type McpServerConfigRaw, type McpTool, type McpTransportType, MessageGenerateText, type Model, type ModelOptions, Nl2codeProviderText, type NotificationMessage, OpenPlatformText, OptimizeProviderText, PERSISTENT_STORAGE_EVENT, PLATFORM, PROMPTTEMPLATE_ROOT_PATH, type ParsedSettings, 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, type RawSettings, 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, type SAScanInitData, 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 SettingsSnapshot, type SimpleCodeBlock, SpecEditorIconState, type SpecEditorTabInfo, SpecEditorTabStatus, SpecEditorTabType, SplitProviderText, type SseMcpServerConfigParsed, type SseMcpServerConfigRaw, type StartBackgroundServicePayload, StatusBarText, type StdioMcpServerConfigParsed, type StdioMcpServerConfigRaw, type StreamableHttpMcpServerConfigParsed, type StreamableHttpMcpServerConfigRaw, 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, decodeBuffer, 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 };