@lingya-ai/agents-sdk 0.4.0 → 0.7.0

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.
Files changed (740) hide show
  1. package/README.md +63 -5
  2. package/dist/apis/ChatApi.d.ts +193 -15
  3. package/dist/apis/ChatApi.js +455 -22
  4. package/dist/apis/ConfigurationApi.d.ts +29 -7
  5. package/dist/apis/ConfigurationApi.js +73 -8
  6. package/dist/apis/ConversationsApi.d.ts +170 -88
  7. package/dist/apis/ConversationsApi.js +359 -113
  8. package/dist/apis/EventsApi.d.ts +9 -7
  9. package/dist/apis/EventsApi.js +18 -9
  10. package/dist/apis/FilesApi.d.ts +21 -15
  11. package/dist/apis/FilesApi.js +48 -23
  12. package/dist/apis/InteractionsApi.d.ts +43 -11
  13. package/dist/apis/InteractionsApi.js +100 -16
  14. package/dist/apis/KnowledgeApi.d.ts +9 -7
  15. package/dist/apis/KnowledgeApi.js +18 -9
  16. package/dist/apis/MessagesApi.d.ts +271 -13
  17. package/dist/apis/MessagesApi.js +550 -18
  18. package/dist/apis/SQLApi.d.ts +10 -9
  19. package/dist/apis/SQLApi.js +21 -10
  20. package/dist/apis/WorkspaceApi.d.ts +8 -7
  21. package/dist/apis/WorkspaceApi.js +16 -8
  22. package/dist/bound.d.ts +302 -57
  23. package/dist/bound.js +293 -122
  24. package/dist/browser.d.ts +14 -0
  25. package/dist/browser.js +67 -0
  26. package/dist/client-core.d.ts +101 -0
  27. package/dist/client-core.js +158 -0
  28. package/dist/client.d.ts +27 -125
  29. package/dist/client.js +112 -158
  30. package/dist/esm/apis/ChatApi.d.ts +193 -15
  31. package/dist/esm/apis/ChatApi.js +455 -22
  32. package/dist/esm/apis/ConfigurationApi.d.ts +29 -7
  33. package/dist/esm/apis/ConfigurationApi.js +73 -8
  34. package/dist/esm/apis/ConversationsApi.d.ts +170 -88
  35. package/dist/esm/apis/ConversationsApi.js +358 -112
  36. package/dist/esm/apis/EventsApi.d.ts +9 -7
  37. package/dist/esm/apis/EventsApi.js +18 -9
  38. package/dist/esm/apis/FilesApi.d.ts +21 -15
  39. package/dist/esm/apis/FilesApi.js +48 -23
  40. package/dist/esm/apis/InteractionsApi.d.ts +43 -11
  41. package/dist/esm/apis/InteractionsApi.js +100 -16
  42. package/dist/esm/apis/KnowledgeApi.d.ts +9 -7
  43. package/dist/esm/apis/KnowledgeApi.js +18 -9
  44. package/dist/esm/apis/MessagesApi.d.ts +271 -13
  45. package/dist/esm/apis/MessagesApi.js +549 -17
  46. package/dist/esm/apis/SQLApi.d.ts +10 -9
  47. package/dist/esm/apis/SQLApi.js +21 -10
  48. package/dist/esm/apis/WorkspaceApi.d.ts +8 -7
  49. package/dist/esm/apis/WorkspaceApi.js +16 -8
  50. package/dist/esm/bound.d.ts +302 -57
  51. package/dist/esm/bound.js +293 -122
  52. package/dist/esm/browser.d.ts +14 -0
  53. package/dist/esm/browser.js +47 -0
  54. package/dist/esm/client-core.d.ts +101 -0
  55. package/dist/esm/client-core.js +142 -0
  56. package/dist/esm/client.d.ts +27 -125
  57. package/dist/esm/client.js +98 -159
  58. package/dist/esm/events.js +1 -1
  59. package/dist/esm/hmac.d.ts +1 -1
  60. package/dist/esm/hmac.js +3 -2
  61. package/dist/esm/lifecycle.d.ts +55 -0
  62. package/dist/esm/lifecycle.js +163 -0
  63. package/dist/esm/models/AgentAsyncTaskSync.d.ts +48 -0
  64. package/dist/esm/models/AgentAsyncTaskSync.js +61 -0
  65. package/dist/esm/models/AgentFile.d.ts +2 -2
  66. package/dist/esm/models/AgentFile.js +2 -2
  67. package/dist/esm/models/AgentGoal.d.ts +117 -0
  68. package/dist/esm/models/AgentGoal.js +127 -0
  69. package/dist/esm/models/AgentGoalConfig.d.ts +34 -0
  70. package/dist/esm/models/AgentGoalConfig.js +47 -0
  71. package/dist/esm/models/AgentGoalHistory.d.ts +43 -0
  72. package/dist/esm/models/AgentGoalHistory.js +56 -0
  73. package/dist/esm/models/AgentGoalRefInput.d.ts +34 -0
  74. package/dist/esm/models/AgentGoalRefInput.js +47 -0
  75. package/dist/esm/models/AgentGoalView.d.ts +31 -0
  76. package/dist/esm/models/AgentGoalView.js +44 -0
  77. package/dist/esm/models/AgentsConfig.d.ts +7 -2
  78. package/dist/esm/models/AgentsConfig.js +5 -2
  79. package/dist/esm/models/AiChatAwaitingInputBriefEvent.d.ts +2 -2
  80. package/dist/esm/models/AiChatAwaitingInputBriefEvent.js +2 -2
  81. package/dist/esm/models/AiChatBriefEvent.d.ts +2 -8
  82. package/dist/esm/models/AiChatBriefEvent.js +2 -12
  83. package/dist/esm/models/AiChatBriefEventList.d.ts +2 -2
  84. package/dist/esm/models/AiChatBriefEventList.js +2 -2
  85. package/dist/esm/models/AiChatCompactorWarningBriefEvent.d.ts +2 -2
  86. package/dist/esm/models/AiChatCompactorWarningBriefEvent.js +2 -2
  87. package/dist/esm/models/AiChatCompressorContextEndBriefEvent.d.ts +2 -2
  88. package/dist/esm/models/AiChatCompressorContextEndBriefEvent.js +2 -2
  89. package/dist/esm/models/AiChatCompressorContextStartBriefEvent.d.ts +2 -2
  90. package/dist/esm/models/AiChatCompressorContextStartBriefEvent.js +2 -2
  91. package/dist/esm/models/AiChatEndBriefEvent.d.ts +2 -2
  92. package/dist/esm/models/AiChatEndBriefEvent.js +2 -2
  93. package/dist/esm/models/AiChatErrorBriefEvent.d.ts +2 -2
  94. package/dist/esm/models/AiChatErrorBriefEvent.js +2 -2
  95. package/dist/esm/models/AiChatEventsBatch.d.ts +2 -2
  96. package/dist/esm/models/AiChatEventsBatch.js +2 -2
  97. package/dist/esm/models/AiChatEventsBatchInput.d.ts +2 -2
  98. package/dist/esm/models/AiChatEventsBatchInput.js +2 -2
  99. package/dist/esm/models/AiChatEventsBatchSkipped.d.ts +2 -2
  100. package/dist/esm/models/AiChatEventsBatchSkipped.js +2 -2
  101. package/dist/esm/models/AiChatFileRef.d.ts +2 -2
  102. package/dist/esm/models/AiChatFileRef.js +2 -2
  103. package/dist/esm/models/AiChatInput.d.ts +10 -2
  104. package/dist/esm/models/AiChatInput.js +6 -2
  105. package/dist/esm/models/AiChatManualInterruptBriefEvent.d.ts +2 -2
  106. package/dist/esm/models/AiChatManualInterruptBriefEvent.js +2 -2
  107. package/dist/esm/models/AiChatMessageBriefEvent.d.ts +2 -2
  108. package/dist/esm/models/AiChatMessageBriefEvent.js +2 -2
  109. package/dist/esm/models/AiChatMessageEvent.d.ts +2 -2
  110. package/dist/esm/models/AiChatMessageEvent.js +2 -2
  111. package/dist/esm/models/AiChatStartBriefEvent.d.ts +2 -2
  112. package/dist/esm/models/AiChatStartBriefEvent.js +2 -2
  113. package/dist/esm/models/AiChatStreamInput.d.ts +2 -2
  114. package/dist/esm/models/AiChatStreamInput.js +2 -2
  115. package/dist/esm/models/AiChatSubAgentCallBriefEvent.d.ts +2 -2
  116. package/dist/esm/models/AiChatSubAgentCallBriefEvent.js +2 -2
  117. package/dist/esm/models/AiChatSubmission.d.ts +2 -2
  118. package/dist/esm/models/AiChatSubmission.js +2 -2
  119. package/dist/esm/models/AiChatThinkBriefEvent.d.ts +2 -2
  120. package/dist/esm/models/AiChatThinkBriefEvent.js +2 -2
  121. package/dist/esm/models/AiChatToolExecutionBriefEvent.d.ts +2 -2
  122. package/dist/esm/models/AiChatToolExecutionBriefEvent.js +2 -2
  123. package/dist/esm/models/AiChatUserQueryBriefEvent.d.ts +2 -2
  124. package/dist/esm/models/AiChatUserQueryBriefEvent.js +2 -2
  125. package/dist/esm/models/ArtifactInfo.d.ts +2 -2
  126. package/dist/esm/models/ArtifactInfo.js +2 -2
  127. package/dist/esm/models/AskUserQuestionExtensionContent.d.ts +2 -2
  128. package/dist/esm/models/AskUserQuestionExtensionContent.js +2 -2
  129. package/dist/esm/models/AskUserQuestionExtensionToolExtension.d.ts +2 -2
  130. package/dist/esm/models/AskUserQuestionExtensionToolExtension.js +2 -2
  131. package/dist/esm/models/AskUserQuestionOption.d.ts +2 -2
  132. package/dist/esm/models/AskUserQuestionOption.js +2 -2
  133. package/dist/esm/models/AsyncTask.d.ts +2 -2
  134. package/dist/esm/models/AsyncTask.js +2 -2
  135. package/dist/esm/models/AsyncTaskPage.d.ts +2 -2
  136. package/dist/esm/models/AsyncTaskPage.js +2 -2
  137. package/dist/esm/models/AttachmentExtension.d.ts +2 -2
  138. package/dist/esm/models/AttachmentExtension.js +2 -2
  139. package/dist/esm/models/BooleanChartColumn.d.ts +2 -2
  140. package/dist/esm/models/BooleanChartColumn.js +2 -2
  141. package/dist/esm/models/ChartColumnData.d.ts +2 -2
  142. package/dist/esm/models/ChartColumnData.js +2 -2
  143. package/dist/esm/models/ChartNumberFormat.d.ts +2 -2
  144. package/dist/esm/models/ChartNumberFormat.js +2 -2
  145. package/dist/esm/models/ChartQualitySummary.d.ts +2 -2
  146. package/dist/esm/models/ChartQualitySummary.js +2 -2
  147. package/dist/esm/models/ChartSeries.d.ts +2 -2
  148. package/dist/esm/models/ChartSeries.js +2 -2
  149. package/dist/esm/models/ChartSpec.d.ts +2 -2
  150. package/dist/esm/models/ChartSpec.js +2 -2
  151. package/dist/esm/models/ChartTimeContext.d.ts +2 -2
  152. package/dist/esm/models/ChartTimeContext.js +2 -2
  153. package/dist/esm/models/ChatModelConfig.d.ts +2 -2
  154. package/dist/esm/models/ChatModelConfig.js +2 -2
  155. package/dist/esm/models/ChatModelSpec.d.ts +2 -2
  156. package/dist/esm/models/ChatModelSpec.js +2 -2
  157. package/dist/esm/models/ChatStreamProbeEvent.d.ts +2 -2
  158. package/dist/esm/models/ChatStreamProbeEvent.js +2 -2
  159. package/dist/esm/models/ChatStreamProbeInput.d.ts +2 -2
  160. package/dist/esm/models/ChatStreamProbeInput.js +2 -2
  161. package/dist/esm/models/CitationMetadata.d.ts +2 -2
  162. package/dist/esm/models/CitationMetadata.js +2 -2
  163. package/dist/esm/models/CitationMetadataList.d.ts +2 -2
  164. package/dist/esm/models/CitationMetadataList.js +2 -2
  165. package/dist/esm/models/CodeMessage.d.ts +2 -2
  166. package/dist/esm/models/CodeMessage.js +2 -2
  167. package/dist/esm/models/ConfirmUploadInput.d.ts +2 -2
  168. package/dist/esm/models/ConfirmUploadInput.js +2 -2
  169. package/dist/esm/models/ConversationActivity.d.ts +2 -2
  170. package/dist/esm/models/ConversationActivity.js +2 -2
  171. package/dist/esm/models/ConversationActivityBatchInput.d.ts +2 -2
  172. package/dist/esm/models/ConversationActivityBatchInput.js +2 -2
  173. package/dist/esm/models/ConversationActivityList.d.ts +2 -2
  174. package/dist/esm/models/ConversationActivityList.js +2 -2
  175. package/dist/esm/models/ConversationConfig.d.ts +7 -3
  176. package/dist/esm/models/ConversationConfig.js +9 -3
  177. package/dist/esm/models/ConversationContextUsage.d.ts +2 -2
  178. package/dist/esm/models/ConversationContextUsage.js +2 -2
  179. package/dist/esm/models/ConversationGroup.d.ts +42 -0
  180. package/dist/esm/models/ConversationGroup.js +56 -0
  181. package/dist/esm/models/ConversationGroupDeleted.d.ts +34 -0
  182. package/dist/esm/models/ConversationGroupDeleted.js +47 -0
  183. package/dist/esm/models/ConversationGroupList.d.ts +31 -0
  184. package/dist/esm/models/ConversationGroupList.js +44 -0
  185. package/dist/esm/models/ConversationGroupNameInput.d.ts +30 -0
  186. package/dist/esm/models/ConversationGroupNameInput.js +43 -0
  187. package/dist/esm/models/ConversationIds.d.ts +2 -2
  188. package/dist/esm/models/ConversationIds.js +2 -2
  189. package/dist/esm/models/ConversationMessage.d.ts +2 -2
  190. package/dist/esm/models/ConversationMessage.js +2 -2
  191. package/dist/esm/models/ConversationMessagePage.d.ts +2 -2
  192. package/dist/esm/models/ConversationMessagePage.js +2 -2
  193. package/dist/esm/models/ConversationMessageSync.d.ts +39 -0
  194. package/dist/esm/models/ConversationMessageSync.js +52 -0
  195. package/dist/esm/models/ConversationMetadata.d.ts +63 -0
  196. package/dist/esm/models/ConversationMetadata.js +76 -0
  197. package/dist/esm/models/ConversationReadReceipt.d.ts +2 -2
  198. package/dist/esm/models/ConversationReadReceipt.js +2 -2
  199. package/dist/esm/models/ConversationReadReceiptInput.d.ts +2 -2
  200. package/dist/esm/models/ConversationReadReceiptInput.js +2 -2
  201. package/dist/esm/models/ConversationStats.d.ts +2 -2
  202. package/dist/esm/models/ConversationStats.js +2 -2
  203. package/dist/esm/models/ConversationStatusInput.d.ts +2 -2
  204. package/dist/esm/models/ConversationStatusInput.js +2 -2
  205. package/dist/esm/models/ConversationSummary.d.ts +10 -2
  206. package/dist/esm/models/ConversationSummary.js +6 -2
  207. package/dist/esm/models/ConversationSummaryList.d.ts +7 -2
  208. package/dist/esm/models/ConversationSummaryList.js +7 -2
  209. package/dist/esm/models/ConversationTitle.d.ts +2 -2
  210. package/dist/esm/models/ConversationTitle.js +2 -2
  211. package/dist/esm/models/ConversationTitleInput.d.ts +2 -2
  212. package/dist/esm/models/ConversationTitleInput.js +2 -2
  213. package/dist/esm/models/ConversationUserMessage.d.ts +8 -6
  214. package/dist/esm/models/ConversationUserMessage.js +6 -4
  215. package/dist/esm/models/CreateFileInput.d.ts +2 -2
  216. package/dist/esm/models/CreateFileInput.js +2 -2
  217. package/dist/esm/models/DecimalChartColumn.d.ts +2 -2
  218. package/dist/esm/models/DecimalChartColumn.js +2 -2
  219. package/dist/esm/models/DefaultModel.d.ts +2 -2
  220. package/dist/esm/models/DefaultModel.js +2 -2
  221. package/dist/esm/models/DoubleChartColumn.d.ts +2 -2
  222. package/dist/esm/models/DoubleChartColumn.js +2 -2
  223. package/dist/esm/models/EditAgentGoalInput.d.ts +38 -0
  224. package/dist/esm/models/EditAgentGoalInput.js +51 -0
  225. package/dist/esm/models/FieldError.d.ts +2 -2
  226. package/dist/esm/models/FieldError.js +2 -2
  227. package/dist/esm/models/FileExists.d.ts +2 -2
  228. package/dist/esm/models/FileExists.js +2 -2
  229. package/dist/esm/models/GeneratePreSignedUrlInput.d.ts +2 -2
  230. package/dist/esm/models/GeneratePreSignedUrlInput.js +2 -2
  231. package/dist/esm/models/GeneratePreSignedUrlOutput.d.ts +2 -2
  232. package/dist/esm/models/GeneratePreSignedUrlOutput.js +2 -2
  233. package/dist/esm/models/ImageGenerationExtensionContent.d.ts +2 -2
  234. package/dist/esm/models/ImageGenerationExtensionContent.js +2 -2
  235. package/dist/esm/models/ImageGenerationExtensionToolExtension.d.ts +2 -2
  236. package/dist/esm/models/ImageGenerationExtensionToolExtension.js +2 -2
  237. package/dist/esm/models/InputTokenBreakdown.d.ts +2 -2
  238. package/dist/esm/models/InputTokenBreakdown.js +2 -2
  239. package/dist/esm/models/InstantChartColumn.d.ts +2 -2
  240. package/dist/esm/models/InstantChartColumn.js +2 -2
  241. package/dist/esm/models/IntegerChartColumn.d.ts +2 -2
  242. package/dist/esm/models/IntegerChartColumn.js +2 -2
  243. package/dist/esm/models/JsRunScriptExtensionContent.d.ts +2 -2
  244. package/dist/esm/models/JsRunScriptExtensionContent.js +2 -2
  245. package/dist/esm/models/JsRunScriptExtensionToolExtension.d.ts +2 -2
  246. package/dist/esm/models/JsRunScriptExtensionToolExtension.js +2 -2
  247. package/dist/esm/models/JsRunScriptResultExtensionContent.d.ts +2 -2
  248. package/dist/esm/models/JsRunScriptResultExtensionContent.js +2 -2
  249. package/dist/esm/models/JsRunScriptResultExtensionToolExtension.d.ts +2 -2
  250. package/dist/esm/models/JsRunScriptResultExtensionToolExtension.js +2 -2
  251. package/dist/esm/models/LocalDateChartColumn.d.ts +2 -2
  252. package/dist/esm/models/LocalDateChartColumn.js +2 -2
  253. package/dist/esm/models/LocalDateTimeChartColumn.d.ts +2 -2
  254. package/dist/esm/models/LocalDateTimeChartColumn.js +2 -2
  255. package/dist/esm/models/LocalTimeChartColumn.d.ts +2 -2
  256. package/dist/esm/models/LocalTimeChartColumn.js +2 -2
  257. package/dist/esm/models/MathFormulaExtensionContent.d.ts +2 -2
  258. package/dist/esm/models/MathFormulaExtensionContent.js +2 -2
  259. package/dist/esm/models/MathFormulaExtensionToolExtension.d.ts +2 -2
  260. package/dist/esm/models/MathFormulaExtensionToolExtension.js +2 -2
  261. package/dist/esm/models/MathResultExtensionContent.d.ts +2 -2
  262. package/dist/esm/models/MathResultExtensionContent.js +2 -2
  263. package/dist/esm/models/MathResultExtensionToolExtension.d.ts +2 -2
  264. package/dist/esm/models/MathResultExtensionToolExtension.js +2 -2
  265. package/dist/esm/models/MediaAttachment.d.ts +2 -2
  266. package/dist/esm/models/MediaAttachment.js +2 -2
  267. package/dist/esm/models/ModelConfig.d.ts +2 -2
  268. package/dist/esm/models/ModelConfig.js +2 -2
  269. package/dist/esm/models/ModelKeyGroup.d.ts +2 -2
  270. package/dist/esm/models/ModelKeyGroup.js +2 -2
  271. package/dist/esm/models/MultimodalMediaAttachment.d.ts +2 -2
  272. package/dist/esm/models/MultimodalMediaAttachment.js +2 -2
  273. package/dist/esm/models/OpenApiToken.d.ts +34 -0
  274. package/dist/esm/models/OpenApiToken.js +48 -0
  275. package/dist/esm/models/OperationResult.d.ts +2 -2
  276. package/dist/esm/models/OperationResult.js +2 -2
  277. package/dist/esm/models/PageInfo.d.ts +2 -2
  278. package/dist/esm/models/PageInfo.js +2 -2
  279. package/dist/esm/models/PlanApprovalExtensionContent.d.ts +2 -2
  280. package/dist/esm/models/PlanApprovalExtensionContent.js +2 -2
  281. package/dist/esm/models/PlanApprovalExtensionToolExtension.d.ts +2 -2
  282. package/dist/esm/models/PlanApprovalExtensionToolExtension.js +2 -2
  283. package/dist/esm/models/PlanApprovalInput.d.ts +2 -2
  284. package/dist/esm/models/PlanApprovalInput.js +2 -2
  285. package/dist/esm/models/PlanStatus.d.ts +2 -2
  286. package/dist/esm/models/PlanStatus.js +2 -2
  287. package/dist/esm/models/PreSignedReadUrl.d.ts +2 -2
  288. package/dist/esm/models/PreSignedReadUrl.js +2 -2
  289. package/dist/esm/models/ReturnedReference.d.ts +2 -2
  290. package/dist/esm/models/ReturnedReference.js +2 -2
  291. package/dist/esm/models/SkillResourceExtensionContent.d.ts +2 -2
  292. package/dist/esm/models/SkillResourceExtensionContent.js +2 -2
  293. package/dist/esm/models/SkillResourceExtensionToolExtension.d.ts +2 -2
  294. package/dist/esm/models/SkillResourceExtensionToolExtension.js +2 -2
  295. package/dist/esm/models/SqlChartDataset.d.ts +2 -2
  296. package/dist/esm/models/SqlChartDataset.js +2 -2
  297. package/dist/esm/models/SqlChartResultExtensionContent.d.ts +2 -2
  298. package/dist/esm/models/SqlChartResultExtensionContent.js +2 -2
  299. package/dist/esm/models/SqlChartResultExtensionToolExtension.d.ts +2 -2
  300. package/dist/esm/models/SqlChartResultExtensionToolExtension.js +2 -2
  301. package/dist/esm/models/SqlQueryExtensionContent.d.ts +2 -2
  302. package/dist/esm/models/SqlQueryExtensionContent.js +2 -2
  303. package/dist/esm/models/SqlQueryExtensionToolExtension.d.ts +2 -2
  304. package/dist/esm/models/SqlQueryExtensionToolExtension.js +2 -2
  305. package/dist/esm/models/SqlQueryResultExtensionContent.d.ts +2 -2
  306. package/dist/esm/models/SqlQueryResultExtensionContent.js +2 -2
  307. package/dist/esm/models/SqlQueryResultExtensionToolExtension.d.ts +2 -2
  308. package/dist/esm/models/SqlQueryResultExtensionToolExtension.js +2 -2
  309. package/dist/esm/models/SqlQueryResultPage.d.ts +2 -2
  310. package/dist/esm/models/SqlQueryResultPage.js +2 -2
  311. package/dist/esm/models/SqlQueryResultRow.d.ts +2 -2
  312. package/dist/esm/models/SqlQueryResultRow.js +2 -2
  313. package/dist/esm/models/SqlResultColumnSchema.d.ts +2 -2
  314. package/dist/esm/models/SqlResultColumnSchema.js +2 -2
  315. package/dist/esm/models/StringChartColumn.d.ts +2 -2
  316. package/dist/esm/models/StringChartColumn.js +2 -2
  317. package/dist/esm/models/SubagentTask.d.ts +106 -0
  318. package/dist/esm/models/SubagentTask.js +104 -0
  319. package/dist/esm/models/SubagentTaskArtifact.d.ts +69 -0
  320. package/dist/esm/models/SubagentTaskArtifact.js +75 -0
  321. package/dist/esm/models/SubagentTaskPage.d.ts +36 -0
  322. package/dist/esm/models/SubagentTaskPage.js +49 -0
  323. package/dist/esm/models/SubagentTaskResult.d.ts +53 -0
  324. package/dist/esm/models/SubagentTaskResult.js +64 -0
  325. package/dist/esm/models/SubagentTaskSync.d.ts +47 -0
  326. package/dist/esm/models/SubagentTaskSync.js +60 -0
  327. package/dist/esm/models/TaskProgressExtensionContent.d.ts +2 -2
  328. package/dist/esm/models/TaskProgressExtensionContent.js +2 -2
  329. package/dist/esm/models/TaskProgressExtensionToolExtension.d.ts +2 -2
  330. package/dist/esm/models/TaskProgressExtensionToolExtension.js +2 -2
  331. package/dist/esm/models/TaskSummary.d.ts +2 -2
  332. package/dist/esm/models/TaskSummary.js +2 -2
  333. package/dist/esm/models/ToolExtension.d.ts +2 -2
  334. package/dist/esm/models/ToolExtension.js +2 -2
  335. package/dist/esm/models/UnknownAiChatBriefEvent.d.ts +2 -2
  336. package/dist/esm/models/UnknownAiChatBriefEvent.js +2 -2
  337. package/dist/esm/models/UnknownToolExtension.d.ts +2 -2
  338. package/dist/esm/models/UnknownToolExtension.js +2 -2
  339. package/dist/esm/models/UpdateConversationGroupInput.d.ts +30 -0
  340. package/dist/esm/models/UpdateConversationGroupInput.js +43 -0
  341. package/dist/esm/models/Usage.d.ts +2 -2
  342. package/dist/esm/models/Usage.js +2 -2
  343. package/dist/esm/models/UserInputAnswerInput.d.ts +2 -2
  344. package/dist/esm/models/UserInputAnswerInput.js +2 -2
  345. package/dist/esm/models/UserInputStatus.d.ts +2 -2
  346. package/dist/esm/models/UserInputStatus.js +2 -2
  347. package/dist/esm/models/ValidationError.d.ts +2 -2
  348. package/dist/esm/models/ValidationError.js +2 -2
  349. package/dist/esm/models/VariableBinding.d.ts +2 -2
  350. package/dist/esm/models/VariableBinding.js +2 -2
  351. package/dist/esm/models/WorkspaceArtifactList.d.ts +2 -2
  352. package/dist/esm/models/WorkspaceArtifactList.js +2 -2
  353. package/dist/esm/models/WorkspaceFile.d.ts +2 -2
  354. package/dist/esm/models/WorkspaceFile.js +2 -2
  355. package/dist/esm/models/WorkspaceFilePage.d.ts +2 -2
  356. package/dist/esm/models/WorkspaceFilePage.js +2 -2
  357. package/dist/esm/models/WorkspaceNonFileArtifact.d.ts +4 -4
  358. package/dist/esm/models/WorkspaceNonFileArtifact.js +5 -3
  359. package/dist/esm/models/index.d.ts +148 -3519
  360. package/dist/esm/models/index.js +150 -307
  361. package/dist/esm/runtime.d.ts +3 -2
  362. package/dist/esm/runtime.js +24 -14
  363. package/dist/esm/sse.d.ts +2 -8
  364. package/dist/esm/sse.js +37 -26
  365. package/dist/esm/subscription.d.ts +72 -0
  366. package/dist/esm/subscription.js +282 -0
  367. package/dist/esm/token.d.ts +20 -0
  368. package/dist/esm/token.js +38 -0
  369. package/dist/events.js +1 -1
  370. package/dist/hmac.d.ts +1 -1
  371. package/dist/hmac.js +3 -2
  372. package/dist/lifecycle.d.ts +55 -0
  373. package/dist/lifecycle.js +175 -0
  374. package/dist/models/AgentAsyncTaskSync.d.ts +48 -0
  375. package/dist/models/AgentAsyncTaskSync.js +68 -0
  376. package/dist/models/AgentFile.d.ts +2 -2
  377. package/dist/models/AgentFile.js +2 -2
  378. package/dist/models/AgentGoal.d.ts +117 -0
  379. package/dist/models/AgentGoal.js +135 -0
  380. package/dist/models/AgentGoalConfig.d.ts +34 -0
  381. package/dist/models/AgentGoalConfig.js +54 -0
  382. package/dist/models/AgentGoalHistory.d.ts +43 -0
  383. package/dist/models/AgentGoalHistory.js +63 -0
  384. package/dist/models/AgentGoalRefInput.d.ts +34 -0
  385. package/dist/models/AgentGoalRefInput.js +54 -0
  386. package/dist/models/AgentGoalView.d.ts +31 -0
  387. package/dist/models/AgentGoalView.js +51 -0
  388. package/dist/models/AgentsConfig.d.ts +7 -2
  389. package/dist/models/AgentsConfig.js +5 -2
  390. package/dist/models/AiChatAwaitingInputBriefEvent.d.ts +2 -2
  391. package/dist/models/AiChatAwaitingInputBriefEvent.js +2 -2
  392. package/dist/models/AiChatBriefEvent.d.ts +2 -8
  393. package/dist/models/AiChatBriefEvent.js +2 -12
  394. package/dist/models/AiChatBriefEventList.d.ts +2 -2
  395. package/dist/models/AiChatBriefEventList.js +2 -2
  396. package/dist/models/AiChatCompactorWarningBriefEvent.d.ts +2 -2
  397. package/dist/models/AiChatCompactorWarningBriefEvent.js +2 -2
  398. package/dist/models/AiChatCompressorContextEndBriefEvent.d.ts +2 -2
  399. package/dist/models/AiChatCompressorContextEndBriefEvent.js +2 -2
  400. package/dist/models/AiChatCompressorContextStartBriefEvent.d.ts +2 -2
  401. package/dist/models/AiChatCompressorContextStartBriefEvent.js +2 -2
  402. package/dist/models/AiChatEndBriefEvent.d.ts +2 -2
  403. package/dist/models/AiChatEndBriefEvent.js +2 -2
  404. package/dist/models/AiChatErrorBriefEvent.d.ts +2 -2
  405. package/dist/models/AiChatErrorBriefEvent.js +2 -2
  406. package/dist/models/AiChatEventsBatch.d.ts +2 -2
  407. package/dist/models/AiChatEventsBatch.js +2 -2
  408. package/dist/models/AiChatEventsBatchInput.d.ts +2 -2
  409. package/dist/models/AiChatEventsBatchInput.js +2 -2
  410. package/dist/models/AiChatEventsBatchSkipped.d.ts +2 -2
  411. package/dist/models/AiChatEventsBatchSkipped.js +2 -2
  412. package/dist/models/AiChatFileRef.d.ts +2 -2
  413. package/dist/models/AiChatFileRef.js +2 -2
  414. package/dist/models/AiChatInput.d.ts +10 -2
  415. package/dist/models/AiChatInput.js +6 -2
  416. package/dist/models/AiChatManualInterruptBriefEvent.d.ts +2 -2
  417. package/dist/models/AiChatManualInterruptBriefEvent.js +2 -2
  418. package/dist/models/AiChatMessageBriefEvent.d.ts +2 -2
  419. package/dist/models/AiChatMessageBriefEvent.js +2 -2
  420. package/dist/models/AiChatMessageEvent.d.ts +2 -2
  421. package/dist/models/AiChatMessageEvent.js +2 -2
  422. package/dist/models/AiChatStartBriefEvent.d.ts +2 -2
  423. package/dist/models/AiChatStartBriefEvent.js +2 -2
  424. package/dist/models/AiChatStreamInput.d.ts +2 -2
  425. package/dist/models/AiChatStreamInput.js +2 -2
  426. package/dist/models/AiChatSubAgentCallBriefEvent.d.ts +2 -2
  427. package/dist/models/AiChatSubAgentCallBriefEvent.js +2 -2
  428. package/dist/models/AiChatSubmission.d.ts +2 -2
  429. package/dist/models/AiChatSubmission.js +2 -2
  430. package/dist/models/AiChatThinkBriefEvent.d.ts +2 -2
  431. package/dist/models/AiChatThinkBriefEvent.js +2 -2
  432. package/dist/models/AiChatToolExecutionBriefEvent.d.ts +2 -2
  433. package/dist/models/AiChatToolExecutionBriefEvent.js +2 -2
  434. package/dist/models/AiChatUserQueryBriefEvent.d.ts +2 -2
  435. package/dist/models/AiChatUserQueryBriefEvent.js +2 -2
  436. package/dist/models/ArtifactInfo.d.ts +2 -2
  437. package/dist/models/ArtifactInfo.js +2 -2
  438. package/dist/models/AskUserQuestionExtensionContent.d.ts +2 -2
  439. package/dist/models/AskUserQuestionExtensionContent.js +2 -2
  440. package/dist/models/AskUserQuestionExtensionToolExtension.d.ts +2 -2
  441. package/dist/models/AskUserQuestionExtensionToolExtension.js +2 -2
  442. package/dist/models/AskUserQuestionOption.d.ts +2 -2
  443. package/dist/models/AskUserQuestionOption.js +2 -2
  444. package/dist/models/AsyncTask.d.ts +2 -2
  445. package/dist/models/AsyncTask.js +2 -2
  446. package/dist/models/AsyncTaskPage.d.ts +2 -2
  447. package/dist/models/AsyncTaskPage.js +2 -2
  448. package/dist/models/AttachmentExtension.d.ts +2 -2
  449. package/dist/models/AttachmentExtension.js +2 -2
  450. package/dist/models/BooleanChartColumn.d.ts +2 -2
  451. package/dist/models/BooleanChartColumn.js +2 -2
  452. package/dist/models/ChartColumnData.d.ts +2 -2
  453. package/dist/models/ChartColumnData.js +2 -2
  454. package/dist/models/ChartNumberFormat.d.ts +2 -2
  455. package/dist/models/ChartNumberFormat.js +2 -2
  456. package/dist/models/ChartQualitySummary.d.ts +2 -2
  457. package/dist/models/ChartQualitySummary.js +2 -2
  458. package/dist/models/ChartSeries.d.ts +2 -2
  459. package/dist/models/ChartSeries.js +2 -2
  460. package/dist/models/ChartSpec.d.ts +2 -2
  461. package/dist/models/ChartSpec.js +2 -2
  462. package/dist/models/ChartTimeContext.d.ts +2 -2
  463. package/dist/models/ChartTimeContext.js +2 -2
  464. package/dist/models/ChatModelConfig.d.ts +2 -2
  465. package/dist/models/ChatModelConfig.js +2 -2
  466. package/dist/models/ChatModelSpec.d.ts +2 -2
  467. package/dist/models/ChatModelSpec.js +2 -2
  468. package/dist/models/ChatStreamProbeEvent.d.ts +2 -2
  469. package/dist/models/ChatStreamProbeEvent.js +2 -2
  470. package/dist/models/ChatStreamProbeInput.d.ts +2 -2
  471. package/dist/models/ChatStreamProbeInput.js +2 -2
  472. package/dist/models/CitationMetadata.d.ts +2 -2
  473. package/dist/models/CitationMetadata.js +2 -2
  474. package/dist/models/CitationMetadataList.d.ts +2 -2
  475. package/dist/models/CitationMetadataList.js +2 -2
  476. package/dist/models/CodeMessage.d.ts +2 -2
  477. package/dist/models/CodeMessage.js +2 -2
  478. package/dist/models/ConfirmUploadInput.d.ts +2 -2
  479. package/dist/models/ConfirmUploadInput.js +2 -2
  480. package/dist/models/ConversationActivity.d.ts +2 -2
  481. package/dist/models/ConversationActivity.js +2 -2
  482. package/dist/models/ConversationActivityBatchInput.d.ts +2 -2
  483. package/dist/models/ConversationActivityBatchInput.js +2 -2
  484. package/dist/models/ConversationActivityList.d.ts +2 -2
  485. package/dist/models/ConversationActivityList.js +2 -2
  486. package/dist/models/ConversationConfig.d.ts +7 -3
  487. package/dist/models/ConversationConfig.js +9 -3
  488. package/dist/models/ConversationContextUsage.d.ts +2 -2
  489. package/dist/models/ConversationContextUsage.js +2 -2
  490. package/dist/models/ConversationGroup.d.ts +42 -0
  491. package/dist/models/ConversationGroup.js +63 -0
  492. package/dist/models/ConversationGroupDeleted.d.ts +34 -0
  493. package/dist/models/ConversationGroupDeleted.js +54 -0
  494. package/dist/models/ConversationGroupList.d.ts +31 -0
  495. package/dist/models/ConversationGroupList.js +51 -0
  496. package/dist/models/ConversationGroupNameInput.d.ts +30 -0
  497. package/dist/models/ConversationGroupNameInput.js +50 -0
  498. package/dist/models/ConversationIds.d.ts +2 -2
  499. package/dist/models/ConversationIds.js +2 -2
  500. package/dist/models/ConversationMessage.d.ts +2 -2
  501. package/dist/models/ConversationMessage.js +2 -2
  502. package/dist/models/ConversationMessagePage.d.ts +2 -2
  503. package/dist/models/ConversationMessagePage.js +2 -2
  504. package/dist/models/ConversationMessageSync.d.ts +39 -0
  505. package/dist/models/ConversationMessageSync.js +59 -0
  506. package/dist/models/ConversationMetadata.d.ts +63 -0
  507. package/dist/models/ConversationMetadata.js +84 -0
  508. package/dist/models/ConversationReadReceipt.d.ts +2 -2
  509. package/dist/models/ConversationReadReceipt.js +2 -2
  510. package/dist/models/ConversationReadReceiptInput.d.ts +2 -2
  511. package/dist/models/ConversationReadReceiptInput.js +2 -2
  512. package/dist/models/ConversationStats.d.ts +2 -2
  513. package/dist/models/ConversationStats.js +2 -2
  514. package/dist/models/ConversationStatusInput.d.ts +2 -2
  515. package/dist/models/ConversationStatusInput.js +2 -2
  516. package/dist/models/ConversationSummary.d.ts +10 -2
  517. package/dist/models/ConversationSummary.js +6 -2
  518. package/dist/models/ConversationSummaryList.d.ts +7 -2
  519. package/dist/models/ConversationSummaryList.js +7 -2
  520. package/dist/models/ConversationTitle.d.ts +2 -2
  521. package/dist/models/ConversationTitle.js +2 -2
  522. package/dist/models/ConversationTitleInput.d.ts +2 -2
  523. package/dist/models/ConversationTitleInput.js +2 -2
  524. package/dist/models/ConversationUserMessage.d.ts +8 -6
  525. package/dist/models/ConversationUserMessage.js +6 -4
  526. package/dist/models/CreateFileInput.d.ts +2 -2
  527. package/dist/models/CreateFileInput.js +2 -2
  528. package/dist/models/DecimalChartColumn.d.ts +2 -2
  529. package/dist/models/DecimalChartColumn.js +2 -2
  530. package/dist/models/DefaultModel.d.ts +2 -2
  531. package/dist/models/DefaultModel.js +2 -2
  532. package/dist/models/DoubleChartColumn.d.ts +2 -2
  533. package/dist/models/DoubleChartColumn.js +2 -2
  534. package/dist/models/EditAgentGoalInput.d.ts +38 -0
  535. package/dist/models/EditAgentGoalInput.js +58 -0
  536. package/dist/models/FieldError.d.ts +2 -2
  537. package/dist/models/FieldError.js +2 -2
  538. package/dist/models/FileExists.d.ts +2 -2
  539. package/dist/models/FileExists.js +2 -2
  540. package/dist/models/GeneratePreSignedUrlInput.d.ts +2 -2
  541. package/dist/models/GeneratePreSignedUrlInput.js +2 -2
  542. package/dist/models/GeneratePreSignedUrlOutput.d.ts +2 -2
  543. package/dist/models/GeneratePreSignedUrlOutput.js +2 -2
  544. package/dist/models/ImageGenerationExtensionContent.d.ts +2 -2
  545. package/dist/models/ImageGenerationExtensionContent.js +2 -2
  546. package/dist/models/ImageGenerationExtensionToolExtension.d.ts +2 -2
  547. package/dist/models/ImageGenerationExtensionToolExtension.js +2 -2
  548. package/dist/models/InputTokenBreakdown.d.ts +2 -2
  549. package/dist/models/InputTokenBreakdown.js +2 -2
  550. package/dist/models/InstantChartColumn.d.ts +2 -2
  551. package/dist/models/InstantChartColumn.js +2 -2
  552. package/dist/models/IntegerChartColumn.d.ts +2 -2
  553. package/dist/models/IntegerChartColumn.js +2 -2
  554. package/dist/models/JsRunScriptExtensionContent.d.ts +2 -2
  555. package/dist/models/JsRunScriptExtensionContent.js +2 -2
  556. package/dist/models/JsRunScriptExtensionToolExtension.d.ts +2 -2
  557. package/dist/models/JsRunScriptExtensionToolExtension.js +2 -2
  558. package/dist/models/JsRunScriptResultExtensionContent.d.ts +2 -2
  559. package/dist/models/JsRunScriptResultExtensionContent.js +2 -2
  560. package/dist/models/JsRunScriptResultExtensionToolExtension.d.ts +2 -2
  561. package/dist/models/JsRunScriptResultExtensionToolExtension.js +2 -2
  562. package/dist/models/LocalDateChartColumn.d.ts +2 -2
  563. package/dist/models/LocalDateChartColumn.js +2 -2
  564. package/dist/models/LocalDateTimeChartColumn.d.ts +2 -2
  565. package/dist/models/LocalDateTimeChartColumn.js +2 -2
  566. package/dist/models/LocalTimeChartColumn.d.ts +2 -2
  567. package/dist/models/LocalTimeChartColumn.js +2 -2
  568. package/dist/models/MathFormulaExtensionContent.d.ts +2 -2
  569. package/dist/models/MathFormulaExtensionContent.js +2 -2
  570. package/dist/models/MathFormulaExtensionToolExtension.d.ts +2 -2
  571. package/dist/models/MathFormulaExtensionToolExtension.js +2 -2
  572. package/dist/models/MathResultExtensionContent.d.ts +2 -2
  573. package/dist/models/MathResultExtensionContent.js +2 -2
  574. package/dist/models/MathResultExtensionToolExtension.d.ts +2 -2
  575. package/dist/models/MathResultExtensionToolExtension.js +2 -2
  576. package/dist/models/MediaAttachment.d.ts +2 -2
  577. package/dist/models/MediaAttachment.js +2 -2
  578. package/dist/models/ModelConfig.d.ts +2 -2
  579. package/dist/models/ModelConfig.js +2 -2
  580. package/dist/models/ModelKeyGroup.d.ts +2 -2
  581. package/dist/models/ModelKeyGroup.js +2 -2
  582. package/dist/models/MultimodalMediaAttachment.d.ts +2 -2
  583. package/dist/models/MultimodalMediaAttachment.js +2 -2
  584. package/dist/models/OpenApiToken.d.ts +34 -0
  585. package/dist/models/OpenApiToken.js +55 -0
  586. package/dist/models/OperationResult.d.ts +2 -2
  587. package/dist/models/OperationResult.js +2 -2
  588. package/dist/models/PageInfo.d.ts +2 -2
  589. package/dist/models/PageInfo.js +2 -2
  590. package/dist/models/PlanApprovalExtensionContent.d.ts +2 -2
  591. package/dist/models/PlanApprovalExtensionContent.js +2 -2
  592. package/dist/models/PlanApprovalExtensionToolExtension.d.ts +2 -2
  593. package/dist/models/PlanApprovalExtensionToolExtension.js +2 -2
  594. package/dist/models/PlanApprovalInput.d.ts +2 -2
  595. package/dist/models/PlanApprovalInput.js +2 -2
  596. package/dist/models/PlanStatus.d.ts +2 -2
  597. package/dist/models/PlanStatus.js +2 -2
  598. package/dist/models/PreSignedReadUrl.d.ts +2 -2
  599. package/dist/models/PreSignedReadUrl.js +2 -2
  600. package/dist/models/ReturnedReference.d.ts +2 -2
  601. package/dist/models/ReturnedReference.js +2 -2
  602. package/dist/models/SkillResourceExtensionContent.d.ts +2 -2
  603. package/dist/models/SkillResourceExtensionContent.js +2 -2
  604. package/dist/models/SkillResourceExtensionToolExtension.d.ts +2 -2
  605. package/dist/models/SkillResourceExtensionToolExtension.js +2 -2
  606. package/dist/models/SqlChartDataset.d.ts +2 -2
  607. package/dist/models/SqlChartDataset.js +2 -2
  608. package/dist/models/SqlChartResultExtensionContent.d.ts +2 -2
  609. package/dist/models/SqlChartResultExtensionContent.js +2 -2
  610. package/dist/models/SqlChartResultExtensionToolExtension.d.ts +2 -2
  611. package/dist/models/SqlChartResultExtensionToolExtension.js +2 -2
  612. package/dist/models/SqlQueryExtensionContent.d.ts +2 -2
  613. package/dist/models/SqlQueryExtensionContent.js +2 -2
  614. package/dist/models/SqlQueryExtensionToolExtension.d.ts +2 -2
  615. package/dist/models/SqlQueryExtensionToolExtension.js +2 -2
  616. package/dist/models/SqlQueryResultExtensionContent.d.ts +2 -2
  617. package/dist/models/SqlQueryResultExtensionContent.js +2 -2
  618. package/dist/models/SqlQueryResultExtensionToolExtension.d.ts +2 -2
  619. package/dist/models/SqlQueryResultExtensionToolExtension.js +2 -2
  620. package/dist/models/SqlQueryResultPage.d.ts +2 -2
  621. package/dist/models/SqlQueryResultPage.js +2 -2
  622. package/dist/models/SqlQueryResultRow.d.ts +2 -2
  623. package/dist/models/SqlQueryResultRow.js +2 -2
  624. package/dist/models/SqlResultColumnSchema.d.ts +2 -2
  625. package/dist/models/SqlResultColumnSchema.js +2 -2
  626. package/dist/models/StringChartColumn.d.ts +2 -2
  627. package/dist/models/StringChartColumn.js +2 -2
  628. package/dist/models/SubagentTask.d.ts +106 -0
  629. package/dist/models/SubagentTask.js +111 -0
  630. package/dist/models/SubagentTaskArtifact.d.ts +69 -0
  631. package/dist/models/SubagentTaskArtifact.js +83 -0
  632. package/dist/models/SubagentTaskPage.d.ts +36 -0
  633. package/dist/models/SubagentTaskPage.js +56 -0
  634. package/dist/models/SubagentTaskResult.d.ts +53 -0
  635. package/dist/models/SubagentTaskResult.js +71 -0
  636. package/dist/models/SubagentTaskSync.d.ts +47 -0
  637. package/dist/models/SubagentTaskSync.js +67 -0
  638. package/dist/models/TaskProgressExtensionContent.d.ts +2 -2
  639. package/dist/models/TaskProgressExtensionContent.js +2 -2
  640. package/dist/models/TaskProgressExtensionToolExtension.d.ts +2 -2
  641. package/dist/models/TaskProgressExtensionToolExtension.js +2 -2
  642. package/dist/models/TaskSummary.d.ts +2 -2
  643. package/dist/models/TaskSummary.js +2 -2
  644. package/dist/models/ToolExtension.d.ts +2 -2
  645. package/dist/models/ToolExtension.js +2 -2
  646. package/dist/models/UnknownAiChatBriefEvent.d.ts +2 -2
  647. package/dist/models/UnknownAiChatBriefEvent.js +2 -2
  648. package/dist/models/UnknownToolExtension.d.ts +2 -2
  649. package/dist/models/UnknownToolExtension.js +2 -2
  650. package/dist/models/UpdateConversationGroupInput.d.ts +30 -0
  651. package/dist/models/UpdateConversationGroupInput.js +50 -0
  652. package/dist/models/Usage.d.ts +2 -2
  653. package/dist/models/Usage.js +2 -2
  654. package/dist/models/UserInputAnswerInput.d.ts +2 -2
  655. package/dist/models/UserInputAnswerInput.js +2 -2
  656. package/dist/models/UserInputStatus.d.ts +2 -2
  657. package/dist/models/UserInputStatus.js +2 -2
  658. package/dist/models/ValidationError.d.ts +2 -2
  659. package/dist/models/ValidationError.js +2 -2
  660. package/dist/models/VariableBinding.d.ts +2 -2
  661. package/dist/models/VariableBinding.js +2 -2
  662. package/dist/models/WorkspaceArtifactList.d.ts +2 -2
  663. package/dist/models/WorkspaceArtifactList.js +2 -2
  664. package/dist/models/WorkspaceFile.d.ts +2 -2
  665. package/dist/models/WorkspaceFile.js +2 -2
  666. package/dist/models/WorkspaceFilePage.d.ts +2 -2
  667. package/dist/models/WorkspaceFilePage.js +2 -2
  668. package/dist/models/WorkspaceNonFileArtifact.d.ts +4 -4
  669. package/dist/models/WorkspaceNonFileArtifact.js +5 -3
  670. package/dist/models/index.d.ts +148 -3519
  671. package/dist/models/index.js +164 -308
  672. package/dist/runtime.d.ts +3 -2
  673. package/dist/runtime.js +28 -18
  674. package/dist/sse.d.ts +2 -8
  675. package/dist/sse.js +37 -26
  676. package/dist/subscription.d.ts +72 -0
  677. package/dist/subscription.js +287 -0
  678. package/dist/token.d.ts +20 -0
  679. package/dist/token.js +41 -0
  680. package/package.json +21 -5
  681. package/dist/esm/models/AiChatRequestBriefEvent.d.ts +0 -47
  682. package/dist/esm/models/AiChatRequestBriefEvent.js +0 -59
  683. package/dist/esm/models/AiChatResponseBriefEvent.d.ts +0 -47
  684. package/dist/esm/models/AiChatResponseBriefEvent.js +0 -61
  685. package/dist/esm/models/AssistantChatMessage.d.ts +0 -54
  686. package/dist/esm/models/AssistantChatMessage.js +0 -62
  687. package/dist/esm/models/ChatMessage.d.ts +0 -33
  688. package/dist/esm/models/ChatMessage.js +0 -57
  689. package/dist/esm/models/ChatOptions.d.ts +0 -54
  690. package/dist/esm/models/ChatOptions.js +0 -53
  691. package/dist/esm/models/ConversationShareCreated.d.ts +0 -46
  692. package/dist/esm/models/ConversationShareCreated.js +0 -58
  693. package/dist/esm/models/ConversationShareInput.d.ts +0 -34
  694. package/dist/esm/models/ConversationShareInput.js +0 -44
  695. package/dist/esm/models/ConversationShareList.d.ts +0 -31
  696. package/dist/esm/models/ConversationShareList.js +0 -44
  697. package/dist/esm/models/ConversationShareRecord.d.ts +0 -58
  698. package/dist/esm/models/ConversationShareRecord.js +0 -70
  699. package/dist/esm/models/ConversationShareRevoked.d.ts +0 -30
  700. package/dist/esm/models/ConversationShareRevoked.js +0 -43
  701. package/dist/esm/models/SystemChatMessage.d.ts +0 -45
  702. package/dist/esm/models/SystemChatMessage.js +0 -57
  703. package/dist/esm/models/ToolCall.d.ts +0 -42
  704. package/dist/esm/models/ToolCall.js +0 -55
  705. package/dist/esm/models/ToolResponse.d.ts +0 -46
  706. package/dist/esm/models/ToolResponse.js +0 -59
  707. package/dist/esm/models/ToolResponseChatMessage.d.ts +0 -46
  708. package/dist/esm/models/ToolResponseChatMessage.js +0 -58
  709. package/dist/esm/models/UserChatMessage.d.ts +0 -55
  710. package/dist/esm/models/UserChatMessage.js +0 -63
  711. package/dist/models/AiChatRequestBriefEvent.d.ts +0 -47
  712. package/dist/models/AiChatRequestBriefEvent.js +0 -67
  713. package/dist/models/AiChatResponseBriefEvent.d.ts +0 -47
  714. package/dist/models/AiChatResponseBriefEvent.js +0 -69
  715. package/dist/models/AssistantChatMessage.d.ts +0 -54
  716. package/dist/models/AssistantChatMessage.js +0 -70
  717. package/dist/models/ChatMessage.d.ts +0 -33
  718. package/dist/models/ChatMessage.js +0 -63
  719. package/dist/models/ChatOptions.d.ts +0 -54
  720. package/dist/models/ChatOptions.js +0 -60
  721. package/dist/models/ConversationShareCreated.d.ts +0 -46
  722. package/dist/models/ConversationShareCreated.js +0 -65
  723. package/dist/models/ConversationShareInput.d.ts +0 -34
  724. package/dist/models/ConversationShareInput.js +0 -51
  725. package/dist/models/ConversationShareList.d.ts +0 -31
  726. package/dist/models/ConversationShareList.js +0 -51
  727. package/dist/models/ConversationShareRecord.d.ts +0 -58
  728. package/dist/models/ConversationShareRecord.js +0 -77
  729. package/dist/models/ConversationShareRevoked.d.ts +0 -30
  730. package/dist/models/ConversationShareRevoked.js +0 -50
  731. package/dist/models/SystemChatMessage.d.ts +0 -45
  732. package/dist/models/SystemChatMessage.js +0 -65
  733. package/dist/models/ToolCall.d.ts +0 -42
  734. package/dist/models/ToolCall.js +0 -62
  735. package/dist/models/ToolResponse.d.ts +0 -46
  736. package/dist/models/ToolResponse.js +0 -66
  737. package/dist/models/ToolResponseChatMessage.d.ts +0 -46
  738. package/dist/models/ToolResponseChatMessage.js +0 -66
  739. package/dist/models/UserChatMessage.d.ts +0 -55
  740. package/dist/models/UserChatMessage.js +0 -71
@@ -1,3519 +1,148 @@
1
- /**
2
- * AgentFile 的公开协议结构。 / Public contract for agent file.
3
- * @export
4
- * @interface AgentFile
5
- */
6
- export interface AgentFile {
7
- /**
8
- * 字段 id / id field。
9
- */
10
- id: number;
11
- /**
12
- * 文件名 / file name。
13
- */
14
- fileName: string;
15
- /**
16
- * 字段 contentMd5 / content md5 field。
17
- */
18
- contentMd5: string;
19
- /**
20
- * 大小(字节)或分页容量 / byte size or page size。
21
- */
22
- size: number;
23
- /**
24
- * 创建时间 / creation time。
25
- */
26
- createdTime: string;
27
- /**
28
- * 最后更新时间 / last update time。
29
- */
30
- lastUpdateTime: string;
31
- }
32
- /**
33
- * AgentsConfig 的公开协议结构。 / Public contract for agents config.
34
- * @export
35
- * @interface AgentsConfig
36
- */
37
- export interface AgentsConfig {
38
- /**
39
- * 字段 modelConfig / model config field。
40
- */
41
- modelConfig: ModelConfig;
42
- /**
43
- * 字段 supportAttachmentExt / support attachment ext field。
44
- */
45
- supportAttachmentExt: Array<AttachmentExtension>;
46
- /**
47
- * 字段 maxAttachmentCount / max attachment count field。
48
- */
49
- maxAttachmentCount: number;
50
- }
51
- /**
52
- * AiChatAwaitingInputBriefEvent 的公开协议结构。 / Public contract for ai chat awaiting input brief event.
53
- * @export
54
- * @interface AiChatAwaitingInputBriefEvent
55
- */
56
- export interface AiChatAwaitingInputBriefEvent {
57
- /**
58
- * 类型判别值 / type discriminator。
59
- */
60
- type: AiChatAwaitingInputBriefEventTypeEnum;
61
- /**
62
- * 字段 toolCallId / tool call id field。
63
- */
64
- toolCallId: string;
65
- /**
66
- * 字段 toolName / tool name field。
67
- */
68
- toolName: string;
69
- /**
70
- * 字段 questionId / question id field。
71
- */
72
- questionId: string;
73
- /**
74
- * 字段 question / question field。
75
- */
76
- question: string;
77
- /**
78
- * 字段 options / options field。
79
- */
80
- options: Array<AskUserQuestionOption>;
81
- /**
82
- * 字段 multiple / multiple field。
83
- */
84
- multiple: boolean;
85
- /**
86
- * 字段 serverNow / server now field。
87
- */
88
- serverNow: string;
89
- /**
90
- * 字段 timeoutSeconds / timeout seconds field。
91
- */
92
- timeoutSeconds: number;
93
- /**
94
- * 字段 questionDetails / question details field。
95
- */
96
- questionDetails?: string | null;
97
- }
98
- /**
99
- * @export
100
- */
101
- export declare const AiChatAwaitingInputBriefEventTypeEnum: {
102
- readonly ToolExecutionAwaitingUserInput: "tool-execution-awaiting-user-input";
103
- };
104
- export type AiChatAwaitingInputBriefEventTypeEnum = typeof AiChatAwaitingInputBriefEventTypeEnum[keyof typeof AiChatAwaitingInputBriefEventTypeEnum];
105
- /**
106
- * @type AiChatBriefEvent
107
- * AiChatBriefEvent 的公开协议结构。 / Public contract for ai chat brief event.
108
- * @export
109
- */
110
- export type AiChatBriefEvent = {
111
- type: 'chat-client-request';
112
- } & AiChatRequestBriefEvent | {
113
- type: 'chat-client-response';
114
- } & AiChatResponseBriefEvent | {
115
- type: 'compactor-warning';
116
- } & AiChatCompactorWarningBriefEvent | {
117
- type: 'compressor-context-end';
118
- } & AiChatCompressorContextEndBriefEvent | {
119
- type: 'compressor-context-start';
120
- } & AiChatCompressorContextStartBriefEvent | {
121
- type: 'end';
122
- } & AiChatEndBriefEvent | {
123
- type: 'error';
124
- } & AiChatErrorBriefEvent | {
125
- type: 'manual-interrupt';
126
- } & AiChatManualInterruptBriefEvent | {
127
- type: 'message';
128
- } & AiChatMessageBriefEvent | {
129
- type: 'start';
130
- } & AiChatStartBriefEvent | {
131
- type: 'think';
132
- } & AiChatThinkBriefEvent | {
133
- type: 'tool-execution';
134
- } & AiChatToolExecutionBriefEvent | {
135
- type: 'tool-execution-awaiting-user-input';
136
- } & AiChatAwaitingInputBriefEvent | {
137
- type: 'tool-execution-sub-agent-call';
138
- } & AiChatSubAgentCallBriefEvent | {
139
- type: 'user-query';
140
- } & AiChatUserQueryBriefEvent;
141
- /**
142
- * AiChatBriefEventList 的公开协议结构。 / Public contract for ai chat brief event list.
143
- * @export
144
- * @interface AiChatBriefEventList
145
- */
146
- export interface AiChatBriefEventList {
147
- /**
148
- * 记录列表 / records。
149
- */
150
- records: Array<AiChatBriefEvent>;
151
- }
152
- /**
153
- * AiChatCompactorWarningBriefEvent 的公开协议结构。 / Public contract for ai chat compactor warning brief event.
154
- * @export
155
- * @interface AiChatCompactorWarningBriefEvent
156
- */
157
- export interface AiChatCompactorWarningBriefEvent {
158
- /**
159
- * 类型判别值 / type discriminator。
160
- */
161
- type: AiChatCompactorWarningBriefEventTypeEnum;
162
- /**
163
- * 字段 level / level field。
164
- */
165
- level: string;
166
- /**
167
- * 字段 warning / warning field。
168
- */
169
- warning: string;
170
- }
171
- /**
172
- * @export
173
- */
174
- export declare const AiChatCompactorWarningBriefEventTypeEnum: {
175
- readonly CompactorWarning: "compactor-warning";
176
- };
177
- export type AiChatCompactorWarningBriefEventTypeEnum = typeof AiChatCompactorWarningBriefEventTypeEnum[keyof typeof AiChatCompactorWarningBriefEventTypeEnum];
178
- /**
179
- * AiChatCompressorContextEndBriefEvent 的公开协议结构。 / Public contract for ai chat compressor context end brief event.
180
- * @export
181
- * @interface AiChatCompressorContextEndBriefEvent
182
- */
183
- export interface AiChatCompressorContextEndBriefEvent {
184
- /**
185
- * 类型判别值 / type discriminator。
186
- */
187
- type: AiChatCompressorContextEndBriefEventTypeEnum;
188
- }
189
- /**
190
- * @export
191
- */
192
- export declare const AiChatCompressorContextEndBriefEventTypeEnum: {
193
- readonly CompressorContextEnd: "compressor-context-end";
194
- };
195
- export type AiChatCompressorContextEndBriefEventTypeEnum = typeof AiChatCompressorContextEndBriefEventTypeEnum[keyof typeof AiChatCompressorContextEndBriefEventTypeEnum];
196
- /**
197
- * AiChatCompressorContextStartBriefEvent 的公开协议结构。 / Public contract for ai chat compressor context start brief event.
198
- * @export
199
- * @interface AiChatCompressorContextStartBriefEvent
200
- */
201
- export interface AiChatCompressorContextStartBriefEvent {
202
- /**
203
- * 类型判别值 / type discriminator。
204
- */
205
- type: AiChatCompressorContextStartBriefEventTypeEnum;
206
- }
207
- /**
208
- * @export
209
- */
210
- export declare const AiChatCompressorContextStartBriefEventTypeEnum: {
211
- readonly CompressorContextStart: "compressor-context-start";
212
- };
213
- export type AiChatCompressorContextStartBriefEventTypeEnum = typeof AiChatCompressorContextStartBriefEventTypeEnum[keyof typeof AiChatCompressorContextStartBriefEventTypeEnum];
214
- /**
215
- * AiChatEndBriefEvent 的公开协议结构。 / Public contract for ai chat end brief event.
216
- * @export
217
- * @interface AiChatEndBriefEvent
218
- */
219
- export interface AiChatEndBriefEvent {
220
- /**
221
- * 类型判别值 / type discriminator。
222
- */
223
- type: AiChatEndBriefEventTypeEnum;
224
- /**
225
- * 字段 executionTimeMillis / execution time millis field。
226
- */
227
- executionTimeMillis: number;
228
- /**
229
- * 字段 totalUsage / total usage field。
230
- */
231
- totalUsage: Usage;
232
- /**
233
- * 字段 messageContextUsageRatio / message context usage ratio field。
234
- */
235
- messageContextUsageRatio?: number | null;
236
- /**
237
- * 字段 contextWindowUsage / context window usage field。
238
- */
239
- contextWindowUsage?: ConversationContextUsage | null;
240
- /**
241
- * 字段 artifacts / artifacts field。
242
- */
243
- artifacts: Array<ArtifactInfo>;
244
- /**
245
- * 字段 nonFileArtifacts / non file artifacts field。
246
- */
247
- nonFileArtifacts: Array<WorkspaceNonFileArtifact>;
248
- }
249
- /**
250
- * @export
251
- */
252
- export declare const AiChatEndBriefEventTypeEnum: {
253
- readonly End: "end";
254
- };
255
- export type AiChatEndBriefEventTypeEnum = typeof AiChatEndBriefEventTypeEnum[keyof typeof AiChatEndBriefEventTypeEnum];
256
- /**
257
- * AiChatErrorBriefEvent 的公开协议结构。 / Public contract for ai chat error brief event.
258
- * @export
259
- * @interface AiChatErrorBriefEvent
260
- */
261
- export interface AiChatErrorBriefEvent {
262
- /**
263
- * 类型判别值 / type discriminator。
264
- */
265
- type: AiChatErrorBriefEventTypeEnum;
266
- /**
267
- * 消息正文 / message text。
268
- */
269
- message: string;
270
- }
271
- /**
272
- * @export
273
- */
274
- export declare const AiChatErrorBriefEventTypeEnum: {
275
- readonly Error: "error";
276
- };
277
- export type AiChatErrorBriefEventTypeEnum = typeof AiChatErrorBriefEventTypeEnum[keyof typeof AiChatErrorBriefEventTypeEnum];
278
- /**
279
- * AiChatEventsBatch 的公开协议结构。 / Public contract for ai chat events batch.
280
- * @export
281
- * @interface AiChatEventsBatch
282
- */
283
- export interface AiChatEventsBatch {
284
- /**
285
- * 记录列表 / records。
286
- */
287
- records: Array<AiChatMessageEvent>;
288
- /**
289
- * 字段 skipped / skipped field。
290
- */
291
- skipped: Array<AiChatEventsBatchSkipped>;
292
- }
293
- /**
294
- * AiChatEventsBatchInput 的公开协议结构。 / Public contract for ai chat events batch input.
295
- * @export
296
- * @interface AiChatEventsBatchInput
297
- */
298
- export interface AiChatEventsBatchInput {
299
- /**
300
- * 会话 ID / conversation ID。
301
- */
302
- conversationId: string;
303
- /**
304
- * 字段 messageIds / message ids field。
305
- */
306
- messageIds: Array<string>;
307
- }
308
- /**
309
- * AiChatEventsBatchSkipped 的公开协议结构。 / Public contract for ai chat events batch skipped.
310
- * @export
311
- * @interface AiChatEventsBatchSkipped
312
- */
313
- export interface AiChatEventsBatchSkipped {
314
- /**
315
- * 消息 ID / message ID。
316
- */
317
- messageId: string;
318
- /**
319
- * 字段 reason / reason field。
320
- */
321
- reason: string;
322
- }
323
- /**
324
- * AiChatFileRef 的公开协议结构。 / Public contract for ai chat file ref.
325
- * @export
326
- * @interface AiChatFileRef
327
- */
328
- export interface AiChatFileRef {
329
- /**
330
- * 字段 id / id field。
331
- */
332
- id: number;
333
- /**
334
- * 文件名 / file name。
335
- */
336
- fileName?: string | null;
337
- }
338
- /**
339
- * AiChatInput 的公开协议结构。 / Public contract for ai chat input.
340
- * @export
341
- * @interface AiChatInput
342
- */
343
- export interface AiChatInput {
344
- /**
345
- * 用户问题 / user query。
346
- */
347
- query: string;
348
- /**
349
- * 会话 ID / conversation ID。
350
- */
351
- conversationId?: string | null;
352
- /**
353
- * 字段 chatModelSpec / chat model spec field。
354
- */
355
- chatModelSpec?: ChatModelSpec | null;
356
- /**
357
- * 字段 files / files field。
358
- */
359
- files?: Array<AiChatFileRef> | null;
360
- }
361
- /**
362
- * AiChatManualInterruptBriefEvent 的公开协议结构。 / Public contract for ai chat manual interrupt brief event.
363
- * @export
364
- * @interface AiChatManualInterruptBriefEvent
365
- */
366
- export interface AiChatManualInterruptBriefEvent {
367
- /**
368
- * 类型判别值 / type discriminator。
369
- */
370
- type: AiChatManualInterruptBriefEventTypeEnum;
371
- }
372
- /**
373
- * @export
374
- */
375
- export declare const AiChatManualInterruptBriefEventTypeEnum: {
376
- readonly ManualInterrupt: "manual-interrupt";
377
- };
378
- export type AiChatManualInterruptBriefEventTypeEnum = typeof AiChatManualInterruptBriefEventTypeEnum[keyof typeof AiChatManualInterruptBriefEventTypeEnum];
379
- /**
380
- * AiChatMessageBriefEvent 的公开协议结构。 / Public contract for ai chat message brief event.
381
- * @export
382
- * @interface AiChatMessageBriefEvent
383
- */
384
- export interface AiChatMessageBriefEvent {
385
- /**
386
- * 类型判别值 / type discriminator。
387
- */
388
- type: AiChatMessageBriefEventTypeEnum;
389
- /**
390
- * 消息正文 / message text。
391
- */
392
- message: string;
393
- }
394
- /**
395
- * @export
396
- */
397
- export declare const AiChatMessageBriefEventTypeEnum: {
398
- readonly Message: "message";
399
- };
400
- export type AiChatMessageBriefEventTypeEnum = typeof AiChatMessageBriefEventTypeEnum[keyof typeof AiChatMessageBriefEventTypeEnum];
401
- /**
402
- * AiChatMessageEvent 的公开协议结构。 / Public contract for ai chat message event.
403
- * @export
404
- * @interface AiChatMessageEvent
405
- */
406
- export interface AiChatMessageEvent {
407
- /**
408
- * 消息 ID / message ID。
409
- */
410
- messageId: string;
411
- /**
412
- * 字段 events / events field。
413
- */
414
- events: Array<AiChatBriefEvent>;
415
- }
416
- /**
417
- * AiChatRequestBriefEvent 的公开协议结构。 / Public contract for ai chat request brief event.
418
- * @export
419
- * @interface AiChatRequestBriefEvent
420
- */
421
- export interface AiChatRequestBriefEvent {
422
- /**
423
- * 类型判别值 / type discriminator。
424
- */
425
- type: AiChatRequestBriefEventTypeEnum;
426
- /**
427
- * 字段 messages / messages field。
428
- */
429
- messages: Array<ChatMessage>;
430
- /**
431
- * 字段 chatOptions / chat options field。
432
- */
433
- chatOptions?: ChatOptions | null;
434
- }
435
- /**
436
- * @export
437
- */
438
- export declare const AiChatRequestBriefEventTypeEnum: {
439
- readonly ChatClientRequest: "chat-client-request";
440
- };
441
- export type AiChatRequestBriefEventTypeEnum = typeof AiChatRequestBriefEventTypeEnum[keyof typeof AiChatRequestBriefEventTypeEnum];
442
- /**
443
- * AiChatResponseBriefEvent 的公开协议结构。 / Public contract for ai chat response brief event.
444
- * @export
445
- * @interface AiChatResponseBriefEvent
446
- */
447
- export interface AiChatResponseBriefEvent {
448
- /**
449
- * 类型判别值 / type discriminator。
450
- */
451
- type: AiChatResponseBriefEventTypeEnum;
452
- /**
453
- * 字段 assistantMessages / assistant messages field。
454
- */
455
- assistantMessages: Array<AssistantChatMessage>;
456
- /**
457
- * 字段 usage / usage field。
458
- */
459
- usage: Usage;
460
- }
461
- /**
462
- * @export
463
- */
464
- export declare const AiChatResponseBriefEventTypeEnum: {
465
- readonly ChatClientResponse: "chat-client-response";
466
- };
467
- export type AiChatResponseBriefEventTypeEnum = typeof AiChatResponseBriefEventTypeEnum[keyof typeof AiChatResponseBriefEventTypeEnum];
468
- /**
469
- * AiChatStartBriefEvent 的公开协议结构。 / Public contract for ai chat start brief event.
470
- * @export
471
- * @interface AiChatStartBriefEvent
472
- */
473
- export interface AiChatStartBriefEvent {
474
- /**
475
- * 类型判别值 / type discriminator。
476
- */
477
- type: AiChatStartBriefEventTypeEnum;
478
- }
479
- /**
480
- * @export
481
- */
482
- export declare const AiChatStartBriefEventTypeEnum: {
483
- readonly Start: "start";
484
- };
485
- export type AiChatStartBriefEventTypeEnum = typeof AiChatStartBriefEventTypeEnum[keyof typeof AiChatStartBriefEventTypeEnum];
486
- /**
487
- * AiChatStreamInput 的公开协议结构。 / Public contract for ai chat stream input.
488
- * @export
489
- * @interface AiChatStreamInput
490
- */
491
- export interface AiChatStreamInput {
492
- /**
493
- * 消息 ID / message ID。
494
- */
495
- messageId: string;
496
- }
497
- /**
498
- * AiChatSubAgentCallBriefEvent 的公开协议结构。 / Public contract for ai chat sub agent call brief event.
499
- * @export
500
- * @interface AiChatSubAgentCallBriefEvent
501
- */
502
- export interface AiChatSubAgentCallBriefEvent {
503
- /**
504
- * 类型判别值 / type discriminator。
505
- */
506
- type: AiChatSubAgentCallBriefEventTypeEnum;
507
- /**
508
- * 字段 toolCallId / tool call id field。
509
- */
510
- toolCallId: string;
511
- /**
512
- * 字段 toolName / tool name field。
513
- */
514
- toolName: string;
515
- /**
516
- * 字段 subAgentConversationId / sub agent conversation id field。
517
- */
518
- subAgentConversationId: string;
519
- /**
520
- * 字段 subAgentMessageId / sub agent message id field。
521
- */
522
- subAgentMessageId: string;
523
- }
524
- /**
525
- * @export
526
- */
527
- export declare const AiChatSubAgentCallBriefEventTypeEnum: {
528
- readonly ToolExecutionSubAgentCall: "tool-execution-sub-agent-call";
529
- };
530
- export type AiChatSubAgentCallBriefEventTypeEnum = typeof AiChatSubAgentCallBriefEventTypeEnum[keyof typeof AiChatSubAgentCallBriefEventTypeEnum];
531
- /**
532
- * AiChatSubmission 的公开协议结构。 / Public contract for ai chat submission.
533
- * @export
534
- * @interface AiChatSubmission
535
- */
536
- export interface AiChatSubmission {
537
- /**
538
- * 会话 ID / conversation ID。
539
- */
540
- conversationId: string;
541
- /**
542
- * 消息 ID / message ID。
543
- */
544
- messageId: string;
545
- /**
546
- * 字段 disposition / disposition field。 Dispatch disposition. Unknown future values must be preserved.
547
- */
548
- disposition: string;
549
- /**
550
- * 当前状态 / current status。 Persisted message status. Unknown future values must be preserved.
551
- */
552
- status: string;
553
- }
554
- /**
555
- * AiChatThinkBriefEvent 的公开协议结构。 / Public contract for ai chat think brief event.
556
- * @export
557
- * @interface AiChatThinkBriefEvent
558
- */
559
- export interface AiChatThinkBriefEvent {
560
- /**
561
- * 类型判别值 / type discriminator。
562
- */
563
- type: AiChatThinkBriefEventTypeEnum;
564
- /**
565
- * 消息正文 / message text。
566
- */
567
- message: string;
568
- }
569
- /**
570
- * @export
571
- */
572
- export declare const AiChatThinkBriefEventTypeEnum: {
573
- readonly Think: "think";
574
- };
575
- export type AiChatThinkBriefEventTypeEnum = typeof AiChatThinkBriefEventTypeEnum[keyof typeof AiChatThinkBriefEventTypeEnum];
576
- /**
577
- * AiChatToolExecutionBriefEvent 的公开协议结构。 / Public contract for ai chat tool execution brief event.
578
- * @export
579
- * @interface AiChatToolExecutionBriefEvent
580
- */
581
- export interface AiChatToolExecutionBriefEvent {
582
- /**
583
- * 类型判别值 / type discriminator。
584
- */
585
- type: AiChatToolExecutionBriefEventTypeEnum;
586
- /**
587
- * 字段 toolId / tool id field。
588
- */
589
- toolId: string;
590
- /**
591
- * 字段 toolName / tool name field。
592
- */
593
- toolName: string;
594
- /**
595
- * 当前状态 / current status。
596
- */
597
- status: string;
598
- /**
599
- * 字段 action / action field。
600
- */
601
- action: string;
602
- /**
603
- * 字段 summary / summary field。
604
- */
605
- summary?: string | null;
606
- /**
607
- * 字段 extension / extension field。
608
- */
609
- extension?: ToolExtension | null;
610
- }
611
- /**
612
- * @export
613
- */
614
- export declare const AiChatToolExecutionBriefEventTypeEnum: {
615
- readonly ToolExecution: "tool-execution";
616
- };
617
- export type AiChatToolExecutionBriefEventTypeEnum = typeof AiChatToolExecutionBriefEventTypeEnum[keyof typeof AiChatToolExecutionBriefEventTypeEnum];
618
- /**
619
- * AiChatUserQueryBriefEvent 的公开协议结构。 / Public contract for ai chat user query brief event.
620
- * @export
621
- * @interface AiChatUserQueryBriefEvent
622
- */
623
- export interface AiChatUserQueryBriefEvent {
624
- /**
625
- * 类型判别值 / type discriminator。
626
- */
627
- type: AiChatUserQueryBriefEventTypeEnum;
628
- /**
629
- * 用户问题 / user query。
630
- */
631
- query: string;
632
- /**
633
- * 字段 attachments / attachments field。
634
- */
635
- attachments?: Array<MediaAttachment> | null;
636
- }
637
- /**
638
- * @export
639
- */
640
- export declare const AiChatUserQueryBriefEventTypeEnum: {
641
- readonly UserQuery: "user-query";
642
- };
643
- export type AiChatUserQueryBriefEventTypeEnum = typeof AiChatUserQueryBriefEventTypeEnum[keyof typeof AiChatUserQueryBriefEventTypeEnum];
644
- /**
645
- * ArtifactInfo 的公开协议结构。 / Public contract for artifact info.
646
- * @export
647
- * @interface ArtifactInfo
648
- */
649
- export interface ArtifactInfo {
650
- /**
651
- * 文件 ID / file ID。
652
- */
653
- fileId: number;
654
- /**
655
- * 字段 fileSize / file size field。
656
- */
657
- fileSize: number;
658
- /**
659
- * 文件名 / file name。
660
- */
661
- fileName: string;
662
- /**
663
- * MIME 类型 / MIME type。
664
- */
665
- mimeType: string;
666
- /**
667
- * 字段 relativePath / relative path field。
668
- */
669
- relativePath?: string | null;
670
- /**
671
- * 字段 deliveryStatus / delivery status field。
672
- */
673
- deliveryStatus: string;
674
- /**
675
- * 字段 issueCodes / issue codes field。
676
- */
677
- issueCodes: Array<string>;
678
- /**
679
- * 字段 recoverable / recoverable field。
680
- */
681
- recoverable: boolean;
682
- }
683
- /**
684
- * AskUserQuestionExtensionContent 的公开协议结构。 / Public contract for ask user question extension content.
685
- * @export
686
- * @interface AskUserQuestionExtensionContent
687
- */
688
- export interface AskUserQuestionExtensionContent {
689
- /**
690
- * 字段 selectedOptions / selected options field。
691
- */
692
- selectedOptions: Array<string>;
693
- /**
694
- * 字段 customInput / custom input field。
695
- */
696
- customInput?: string | null;
697
- }
698
- /**
699
- * AskUserQuestionExtensionToolExtension 的公开协议结构。 / Public contract for ask user question extension tool extension.
700
- * @export
701
- * @interface AskUserQuestionExtensionToolExtension
702
- */
703
- export interface AskUserQuestionExtensionToolExtension {
704
- /**
705
- * 扩展类别判别值 / extension category discriminator。
706
- */
707
- category: AskUserQuestionExtensionToolExtensionCategoryEnum;
708
- /**
709
- * 与类别对应的强类型内容 / strongly typed content for the category。
710
- */
711
- content: AskUserQuestionExtensionContent;
712
- /**
713
- * 是否使用独立视图渲染 / whether to use a dedicated view。
714
- */
715
- specialRender: boolean;
716
- }
717
- /**
718
- * @export
719
- */
720
- export declare const AskUserQuestionExtensionToolExtensionCategoryEnum: {
721
- readonly AskUserQuestion: "askUserQuestion";
722
- };
723
- export type AskUserQuestionExtensionToolExtensionCategoryEnum = typeof AskUserQuestionExtensionToolExtensionCategoryEnum[keyof typeof AskUserQuestionExtensionToolExtensionCategoryEnum];
724
- /**
725
- * AskUserQuestionOption 的公开协议结构。 / Public contract for ask user question option.
726
- * @export
727
- * @interface AskUserQuestionOption
728
- */
729
- export interface AskUserQuestionOption {
730
- /**
731
- * 字段 text / text field。
732
- */
733
- text: string;
734
- /**
735
- * 字段 recommended / recommended field。
736
- */
737
- recommended: boolean;
738
- }
739
- /**
740
- * AssistantChatMessage 的公开协议结构。 / Public contract for assistant chat message.
741
- * @export
742
- * @interface AssistantChatMessage
743
- */
744
- export interface AssistantChatMessage {
745
- /**
746
- * 类型判别值 / type discriminator。
747
- */
748
- type: AssistantChatMessageTypeEnum;
749
- /**
750
- * 字段 text / text field。
751
- */
752
- text?: string | null;
753
- /**
754
- * 字段 reasoningText / reasoning text field。
755
- */
756
- reasoningText?: string | null;
757
- /**
758
- * 字段 toolCalls / tool calls field。
759
- */
760
- toolCalls: Array<ToolCall>;
761
- /**
762
- * 字段 metadataRawJson / metadata raw json field。
763
- */
764
- metadataRawJson?: string | null;
765
- }
766
- /**
767
- * @export
768
- */
769
- export declare const AssistantChatMessageTypeEnum: {
770
- readonly Assistant: "ASSISTANT";
771
- };
772
- export type AssistantChatMessageTypeEnum = typeof AssistantChatMessageTypeEnum[keyof typeof AssistantChatMessageTypeEnum];
773
- /**
774
- * AsyncTask 的公开协议结构。 / Public contract for async task.
775
- * @export
776
- * @interface AsyncTask
777
- */
778
- export interface AsyncTask {
779
- /**
780
- * 异步任务 ID / asynchronous task ID。
781
- */
782
- taskId: string;
783
- /**
784
- * 字段 taskType / task type field。
785
- */
786
- taskType: string;
787
- /**
788
- * 标题 / title。
789
- */
790
- title: string;
791
- /**
792
- * 当前状态 / current status。
793
- */
794
- status: string;
795
- /**
796
- * 字段 progressPercent / progress percent field。
797
- */
798
- progressPercent?: number | null;
799
- /**
800
- * 字段 phase / phase field。
801
- */
802
- phase?: string | null;
803
- /**
804
- * 字段 statusMessage / status message field。
805
- */
806
- statusMessage?: string | null;
807
- /**
808
- * 字段 resultAvailable / result available field。
809
- */
810
- resultAvailable: boolean;
811
- /**
812
- * 字段 cancellable / cancellable field。
813
- */
814
- cancellable: boolean;
815
- /**
816
- * 字段 failureCode / failure code field。
817
- */
818
- failureCode?: string | null;
819
- /**
820
- * 字段 failureMessage / failure message field。
821
- */
822
- failureMessage?: string | null;
823
- /**
824
- * 字段 originConversationId / origin conversation id field。
825
- */
826
- originConversationId: string;
827
- /**
828
- * 字段 originMessageId / origin message id field。
829
- */
830
- originMessageId: string;
831
- /**
832
- * 字段 originToolId / origin tool id field。
833
- */
834
- originToolId: string;
835
- /**
836
- * 字段 originToolName / origin tool name field。
837
- */
838
- originToolName: string;
839
- /**
840
- * 字段 targetMessageId / target message id field。
841
- */
842
- targetMessageId: string;
843
- /**
844
- * 字段 notificationStatus / notification status field。
845
- */
846
- notificationStatus: string;
847
- /**
848
- * 字段 notificationMessageId / notification message id field。
849
- */
850
- notificationMessageId?: string | null;
851
- /**
852
- * 创建时间 / creation time。
853
- */
854
- createdTime: string;
855
- /**
856
- * 字段 startedTime / started time field。
857
- */
858
- startedTime?: string | null;
859
- /**
860
- * 字段 completedTime / completed time field。
861
- */
862
- completedTime?: string | null;
863
- /**
864
- * 最后更新时间 / last update time。
865
- */
866
- lastUpdateTime: string;
867
- /**
868
- * 字段 trackingStatus / tracking status field。
869
- */
870
- trackingStatus: string;
871
- /**
872
- * 字段 trackingFailureCode / tracking failure code field。
873
- */
874
- trackingFailureCode?: string | null;
875
- /**
876
- * 字段 lastPollError / last poll error field。
877
- */
878
- lastPollError?: string | null;
879
- }
880
- /**
881
- * AsyncTaskPage 的公开协议结构。 / Public contract for async task page.
882
- * @export
883
- * @interface AsyncTaskPage
884
- */
885
- export interface AsyncTaskPage {
886
- /**
887
- * 记录列表 / records。
888
- */
889
- records: Array<AsyncTask>;
890
- /**
891
- * 分页信息 / page metadata。
892
- */
893
- page: PageInfo;
894
- }
895
- /**
896
- * AttachmentExtension 的公开协议结构。 / Public contract for attachment extension.
897
- * @export
898
- * @interface AttachmentExtension
899
- */
900
- export interface AttachmentExtension {
901
- /**
902
- * 字段 ext / ext field。
903
- */
904
- ext: string;
905
- /**
906
- * 字段 media / media field。
907
- */
908
- media: string;
909
- }
910
- /**
911
- * BooleanChartColumn 的公开协议结构。 / Public contract for boolean chart column.
912
- * @export
913
- * @interface BooleanChartColumn
914
- */
915
- export interface BooleanChartColumn {
916
- /**
917
- * 字段 name / name field。
918
- */
919
- name: string;
920
- /**
921
- * 类型判别值 / type discriminator。
922
- */
923
- type: BooleanChartColumnTypeEnum;
924
- /**
925
- * 字段 values / values field。
926
- */
927
- values: Array<boolean | null>;
928
- }
929
- /**
930
- * @export
931
- */
932
- export declare const BooleanChartColumnTypeEnum: {
933
- readonly Boolean: "BOOLEAN";
934
- };
935
- export type BooleanChartColumnTypeEnum = typeof BooleanChartColumnTypeEnum[keyof typeof BooleanChartColumnTypeEnum];
936
- /**
937
- * @type ChartColumnData
938
- * ChartColumnData 的公开协议结构。 / Public contract for chart column data.
939
- * @export
940
- */
941
- export type ChartColumnData = {
942
- type: 'BOOLEAN';
943
- } & BooleanChartColumn | {
944
- type: 'DECIMAL';
945
- } & DecimalChartColumn | {
946
- type: 'DOUBLE';
947
- } & DoubleChartColumn | {
948
- type: 'INSTANT';
949
- } & InstantChartColumn | {
950
- type: 'INTEGER';
951
- } & IntegerChartColumn | {
952
- type: 'LOCAL_DATE';
953
- } & LocalDateChartColumn | {
954
- type: 'LOCAL_DATE_TIME';
955
- } & LocalDateTimeChartColumn | {
956
- type: 'LOCAL_TIME';
957
- } & LocalTimeChartColumn | {
958
- type: 'LONG';
959
- } & IntegerChartColumn | {
960
- type: 'STRING';
961
- } & StringChartColumn;
962
- /**
963
- * ChartNumberFormat 的公开协议结构。 / Public contract for chart number format.
964
- * @export
965
- * @interface ChartNumberFormat
966
- */
967
- export interface ChartNumberFormat {
968
- /**
969
- * 类型判别值 / type discriminator。
970
- */
971
- type: string;
972
- /**
973
- * 字段 currency / currency field。
974
- */
975
- currency?: string | null;
976
- /**
977
- * 字段 decimalPlaces / decimal places field。
978
- */
979
- decimalPlaces: number;
980
- /**
981
- * 字段 valueScale / value scale field。
982
- */
983
- valueScale?: string | null;
984
- }
985
- /**
986
- * ChartQualitySummary 的公开协议结构。 / Public contract for chart quality summary.
987
- * @export
988
- * @interface ChartQualitySummary
989
- */
990
- export interface ChartQualitySummary {
991
- /**
992
- * 字段 nullValueCount / null value count field。
993
- */
994
- nullValueCount: number;
995
- /**
996
- * 字段 nullValueColumns / null value columns field。
997
- */
998
- nullValueColumns: Array<string>;
999
- /**
1000
- * 字段 zeroFilledValueCount / zero filled value count field。
1001
- */
1002
- zeroFilledValueCount: number;
1003
- }
1004
- /**
1005
- * ChartSeries 的公开协议结构。 / Public contract for chart series.
1006
- * @export
1007
- * @interface ChartSeries
1008
- */
1009
- export interface ChartSeries {
1010
- /**
1011
- * 字段 name / name field。
1012
- */
1013
- name: string;
1014
- /**
1015
- * 字段 valueColumn / value column field。
1016
- */
1017
- valueColumn: string;
1018
- /**
1019
- * 字段 renderType / render type field。
1020
- */
1021
- renderType: ChartSeriesRenderTypeEnum;
1022
- /**
1023
- * 字段 axis / axis field。
1024
- */
1025
- axis: ChartSeriesAxisEnum;
1026
- /**
1027
- * 字段 numberFormat / number format field。
1028
- */
1029
- numberFormat: ChartNumberFormat;
1030
- /**
1031
- * 字段 stack / stack field。
1032
- */
1033
- stack?: string | null;
1034
- }
1035
- /**
1036
- * @export
1037
- */
1038
- export declare const ChartSeriesRenderTypeEnum: {
1039
- readonly Bar: "BAR";
1040
- readonly Line: "LINE";
1041
- readonly Pie: "PIE";
1042
- };
1043
- export type ChartSeriesRenderTypeEnum = typeof ChartSeriesRenderTypeEnum[keyof typeof ChartSeriesRenderTypeEnum];
1044
- /**
1045
- * @export
1046
- */
1047
- export declare const ChartSeriesAxisEnum: {
1048
- readonly Primary: "PRIMARY";
1049
- readonly Secondary: "SECONDARY";
1050
- };
1051
- export type ChartSeriesAxisEnum = typeof ChartSeriesAxisEnum[keyof typeof ChartSeriesAxisEnum];
1052
- /**
1053
- * ChartSpec 的公开协议结构。 / Public contract for chart spec.
1054
- * @export
1055
- * @interface ChartSpec
1056
- */
1057
- export interface ChartSpec {
1058
- /**
1059
- * 字段 version / version field。
1060
- */
1061
- version: number;
1062
- /**
1063
- * 类型判别值 / type discriminator。
1064
- */
1065
- type: ChartSpecTypeEnum;
1066
- /**
1067
- * 标题 / title。
1068
- */
1069
- title: string;
1070
- /**
1071
- * 字段 subtitle / subtitle field。
1072
- */
1073
- subtitle?: string | null;
1074
- /**
1075
- * 字段 categoryColumn / category column field。
1076
- */
1077
- categoryColumn: string;
1078
- /**
1079
- * 字段 categoryType / category type field。
1080
- */
1081
- categoryType: ChartSpecCategoryTypeEnum;
1082
- /**
1083
- * 字段 orientation / orientation field。
1084
- */
1085
- orientation: ChartSpecOrientationEnum;
1086
- /**
1087
- * 字段 series / series field。
1088
- */
1089
- series: Array<ChartSeries>;
1090
- /**
1091
- * 字段 legend / legend field。
1092
- */
1093
- legend: boolean;
1094
- /**
1095
- * 字段 dataZoom / data zoom field。
1096
- */
1097
- dataZoom: ChartSpecDataZoomEnum;
1098
- /**
1099
- * 字段 nullPolicy / null policy field。
1100
- */
1101
- nullPolicy: ChartSpecNullPolicyEnum;
1102
- }
1103
- /**
1104
- * @export
1105
- */
1106
- export declare const ChartSpecTypeEnum: {
1107
- readonly Bar: "BAR";
1108
- readonly Line: "LINE";
1109
- readonly BarLine: "BAR_LINE";
1110
- readonly StackedBar: "STACKED_BAR";
1111
- readonly Pie: "PIE";
1112
- };
1113
- export type ChartSpecTypeEnum = typeof ChartSpecTypeEnum[keyof typeof ChartSpecTypeEnum];
1114
- /**
1115
- * @export
1116
- */
1117
- export declare const ChartSpecCategoryTypeEnum: {
1118
- readonly Category: "CATEGORY";
1119
- readonly Time: "TIME";
1120
- };
1121
- export type ChartSpecCategoryTypeEnum = typeof ChartSpecCategoryTypeEnum[keyof typeof ChartSpecCategoryTypeEnum];
1122
- /**
1123
- * @export
1124
- */
1125
- export declare const ChartSpecOrientationEnum: {
1126
- readonly Vertical: "VERTICAL";
1127
- readonly Horizontal: "HORIZONTAL";
1128
- };
1129
- export type ChartSpecOrientationEnum = typeof ChartSpecOrientationEnum[keyof typeof ChartSpecOrientationEnum];
1130
- /**
1131
- * @export
1132
- */
1133
- export declare const ChartSpecDataZoomEnum: {
1134
- readonly None: "NONE";
1135
- readonly Auto: "AUTO";
1136
- };
1137
- export type ChartSpecDataZoomEnum = typeof ChartSpecDataZoomEnum[keyof typeof ChartSpecDataZoomEnum];
1138
- /**
1139
- * @export
1140
- */
1141
- export declare const ChartSpecNullPolicyEnum: {
1142
- readonly Gap: "GAP";
1143
- readonly Zero: "ZERO";
1144
- readonly Reject: "REJECT";
1145
- };
1146
- export type ChartSpecNullPolicyEnum = typeof ChartSpecNullPolicyEnum[keyof typeof ChartSpecNullPolicyEnum];
1147
- /**
1148
- * ChartTimeContext 的公开协议结构。 / Public contract for chart time context.
1149
- * @export
1150
- * @interface ChartTimeContext
1151
- */
1152
- export interface ChartTimeContext {
1153
- /**
1154
- * 字段 asOfInstant / as of instant field。
1155
- */
1156
- asOfInstant: string;
1157
- /**
1158
- * 字段 tenantZoneId / tenant zone id field。
1159
- */
1160
- tenantZoneId: string;
1161
- }
1162
- /**
1163
- * @type ChatMessage
1164
- * ChatMessage 的公开协议结构。 / Public contract for chat message.
1165
- * @export
1166
- */
1167
- export type ChatMessage = {
1168
- type: 'ASSISTANT';
1169
- } & AssistantChatMessage | {
1170
- type: 'SYSTEM';
1171
- } & SystemChatMessage | {
1172
- type: 'TOOL';
1173
- } & ToolResponseChatMessage | {
1174
- type: 'USER';
1175
- } & UserChatMessage;
1176
- /**
1177
- * ChatModelConfig 的公开协议结构。 / Public contract for chat model config.
1178
- * @export
1179
- * @interface ChatModelConfig
1180
- */
1181
- export interface ChatModelConfig {
1182
- /**
1183
- * 字段 maker / maker field。
1184
- */
1185
- maker: string;
1186
- /**
1187
- * 字段 modelName / model name field。
1188
- */
1189
- modelName: string;
1190
- /**
1191
- * 字段 modelLabel / model label field。
1192
- */
1193
- modelLabel: string;
1194
- /**
1195
- * 字段 modelDescription / model description field。
1196
- */
1197
- modelDescription: string;
1198
- /**
1199
- * 字段 maxContextTokens / max context tokens field。
1200
- */
1201
- maxContextTokens: number;
1202
- /**
1203
- * 字段 maxOutputTokens / max output tokens field。
1204
- */
1205
- maxOutputTokens: number;
1206
- /**
1207
- * 字段 supportImage / support image field。
1208
- */
1209
- supportImage: boolean;
1210
- /**
1211
- * 字段 supportVideo / support video field。
1212
- */
1213
- supportVideo: boolean;
1214
- /**
1215
- * 字段 thinkingMode / thinking mode field。
1216
- */
1217
- thinkingMode: boolean;
1218
- }
1219
- /**
1220
- * ChatModelSpec 的公开协议结构。 / Public contract for chat model spec.
1221
- * @export
1222
- * @interface ChatModelSpec
1223
- */
1224
- export interface ChatModelSpec {
1225
- /**
1226
- * 字段 keyGroupId / key group id field。
1227
- */
1228
- keyGroupId: number;
1229
- /**
1230
- * 字段 model / model field。
1231
- */
1232
- model: string;
1233
- /**
1234
- * 字段 thinking / thinking field。
1235
- */
1236
- thinking?: boolean | null;
1237
- /**
1238
- * 字段 stopSequences / stop sequences field。
1239
- */
1240
- stopSequences?: Array<string> | null;
1241
- /**
1242
- * 字段 temperature / temperature field。
1243
- */
1244
- temperature?: number | null;
1245
- /**
1246
- * 字段 maxTokens / max tokens field。
1247
- */
1248
- maxTokens?: number | null;
1249
- /**
1250
- * 字段 topP / top p field。
1251
- */
1252
- topP?: number | null;
1253
- /**
1254
- * 字段 topK / top k field。
1255
- */
1256
- topK?: number | null;
1257
- /**
1258
- * 字段 frequencyPenalty / frequency penalty field。
1259
- */
1260
- frequencyPenalty?: number | null;
1261
- /**
1262
- * 字段 presencePenalty / presence penalty field。
1263
- */
1264
- presencePenalty?: number | null;
1265
- }
1266
- /**
1267
- * ChatOptions 的公开协议结构。 / Public contract for chat options.
1268
- * @export
1269
- * @interface ChatOptions
1270
- */
1271
- export interface ChatOptions {
1272
- /**
1273
- * 字段 model / model field。
1274
- */
1275
- model?: string | null;
1276
- /**
1277
- * 字段 frequencyPenalty / frequency penalty field。
1278
- */
1279
- frequencyPenalty?: number | null;
1280
- /**
1281
- * 字段 maxTokens / max tokens field。
1282
- */
1283
- maxTokens?: number | null;
1284
- /**
1285
- * 字段 presencePenalty / presence penalty field。
1286
- */
1287
- presencePenalty?: number | null;
1288
- /**
1289
- * 字段 stopSequences / stop sequences field。
1290
- */
1291
- stopSequences?: Array<string> | null;
1292
- /**
1293
- * 字段 temperature / temperature field。
1294
- */
1295
- temperature?: number | null;
1296
- /**
1297
- * 字段 topP / top p field。
1298
- */
1299
- topP?: number | null;
1300
- }
1301
- /**
1302
- * ChatStreamProbeEvent 的公开协议结构。 / Public contract for chat stream probe event.
1303
- * @export
1304
- * @interface ChatStreamProbeEvent
1305
- */
1306
- export interface ChatStreamProbeEvent {
1307
- /**
1308
- * 字段 probeId / probe id field。
1309
- */
1310
- probeId: string;
1311
- /**
1312
- * 字段 sequence / sequence field。
1313
- */
1314
- sequence: number;
1315
- /**
1316
- * 字段 serverElapsedMs / server elapsed ms field。
1317
- */
1318
- serverElapsedMs: number;
1319
- }
1320
- /**
1321
- * ChatStreamProbeInput 的公开协议结构。 / Public contract for chat stream probe input.
1322
- * @export
1323
- * @interface ChatStreamProbeInput
1324
- */
1325
- export interface ChatStreamProbeInput {
1326
- /**
1327
- * 字段 probeId / probe id field。
1328
- */
1329
- probeId: string;
1330
- }
1331
- /**
1332
- * CitationMetadata 的公开协议结构。 / Public contract for citation metadata.
1333
- * @export
1334
- * @interface CitationMetadata
1335
- */
1336
- export interface CitationMetadata {
1337
- /**
1338
- * 类型判别值 / type discriminator。
1339
- */
1340
- type: string;
1341
- /**
1342
- * 字段 referenceId / reference id field。
1343
- */
1344
- referenceId: number;
1345
- /**
1346
- * 标题 / title。
1347
- */
1348
- title?: string | null;
1349
- /**
1350
- * 可读说明 / human-readable description。
1351
- */
1352
- description?: string | null;
1353
- }
1354
- /**
1355
- * CitationMetadataList 的公开协议结构。 / Public contract for citation metadata list.
1356
- * @export
1357
- * @interface CitationMetadataList
1358
- */
1359
- export interface CitationMetadataList {
1360
- /**
1361
- * 记录列表 / records。
1362
- */
1363
- records: Array<CitationMetadata>;
1364
- }
1365
- /**
1366
- * CodeMessage 的公开协议结构。 / Public contract for code message.
1367
- * @export
1368
- * @interface CodeMessage
1369
- */
1370
- export interface CodeMessage {
1371
- /**
1372
- * 字段 code / code field。
1373
- */
1374
- code: string;
1375
- /**
1376
- * 消息正文 / message text。
1377
- */
1378
- message: string;
1379
- }
1380
- /**
1381
- * ConfirmUploadInput 的公开协议结构。 / Public contract for confirm upload input.
1382
- * @export
1383
- * @interface ConfirmUploadInput
1384
- */
1385
- export interface ConfirmUploadInput {
1386
- /**
1387
- * 字段 fileUk / file uk field。
1388
- */
1389
- fileUk: string;
1390
- /**
1391
- * 字段 contentMd5 / content md5 field。
1392
- */
1393
- contentMd5: string;
1394
- }
1395
- /**
1396
- * ConversationActivity 的公开协议结构。 / Public contract for conversation activity.
1397
- * @export
1398
- * @interface ConversationActivity
1399
- */
1400
- export interface ConversationActivity {
1401
- /**
1402
- * 会话 ID / conversation ID。
1403
- */
1404
- conversationId: string;
1405
- /**
1406
- * 字段 executionStatus / execution status field。
1407
- */
1408
- executionStatus: string;
1409
- /**
1410
- * 字段 activeMessageId / active message id field。
1411
- */
1412
- activeMessageId?: string | null;
1413
- /**
1414
- * 字段 executionEpoch / execution epoch field。
1415
- */
1416
- executionEpoch?: string | null;
1417
- /**
1418
- * 字段 executionStartedTime / execution started time field。
1419
- */
1420
- executionStartedTime?: string | null;
1421
- /**
1422
- * 字段 latestTerminalMessageId / latest terminal message id field。
1423
- */
1424
- latestTerminalMessageId?: string | null;
1425
- /**
1426
- * 字段 latestTerminalTime / latest terminal time field。
1427
- */
1428
- latestTerminalTime?: string | null;
1429
- /**
1430
- * 字段 hasUnreadCompletion / has unread completion field。
1431
- */
1432
- hasUnreadCompletion: boolean;
1433
- /**
1434
- * 字段 requiresUserConfirmation / requires user confirmation field。
1435
- */
1436
- requiresUserConfirmation: boolean;
1437
- }
1438
- /**
1439
- * ConversationActivityBatchInput 的公开协议结构。 / Public contract for conversation activity batch input.
1440
- * @export
1441
- * @interface ConversationActivityBatchInput
1442
- */
1443
- export interface ConversationActivityBatchInput {
1444
- /**
1445
- * 字段 conversationIds / conversation ids field。
1446
- */
1447
- conversationIds: Array<string>;
1448
- }
1449
- /**
1450
- * ConversationActivityList 的公开协议结构。 / Public contract for conversation activity list.
1451
- * @export
1452
- * @interface ConversationActivityList
1453
- */
1454
- export interface ConversationActivityList {
1455
- /**
1456
- * 记录列表 / records。
1457
- */
1458
- records: Array<ConversationActivity>;
1459
- }
1460
- /**
1461
- * ConversationConfig 的公开协议结构。 / Public contract for conversation config.
1462
- * @export
1463
- * @interface ConversationConfig
1464
- */
1465
- export interface ConversationConfig {
1466
- /**
1467
- * 字段 lastChatModelSpec / last chat model spec field。
1468
- */
1469
- lastChatModelSpec?: ChatModelSpec | null;
1470
- }
1471
- /**
1472
- * ConversationContextUsage 的公开协议结构。 / Public contract for conversation context usage.
1473
- * @export
1474
- * @interface ConversationContextUsage
1475
- */
1476
- export interface ConversationContextUsage {
1477
- /**
1478
- * 字段 systemPromptTokens / system prompt tokens field。
1479
- */
1480
- systemPromptTokens: number;
1481
- /**
1482
- * 字段 sessionMessageTokens / session message tokens field。
1483
- */
1484
- sessionMessageTokens: number;
1485
- /**
1486
- * 字段 maxContextTokens / max context tokens field。
1487
- */
1488
- maxContextTokens: number;
1489
- /**
1490
- * 字段 toolDefinitionTokens / tool definition tokens field。
1491
- */
1492
- toolDefinitionTokens: number;
1493
- /**
1494
- * 字段 protocolReserveTokens / protocol reserve tokens field。
1495
- */
1496
- protocolReserveTokens: number;
1497
- /**
1498
- * 字段 activeContextTokens / active context tokens field。
1499
- */
1500
- activeContextTokens: number;
1501
- /**
1502
- * 字段 requestedOutputTokens / requested output tokens field。
1503
- */
1504
- requestedOutputTokens: number;
1505
- /**
1506
- * 字段 messageAssemblyReserveTokens / message assembly reserve tokens field。
1507
- */
1508
- messageAssemblyReserveTokens: number;
1509
- /**
1510
- * 字段 requiredContextTokens / required context tokens field。
1511
- */
1512
- requiredContextTokens: number;
1513
- /**
1514
- * 字段 activeUsageRatio / active usage ratio field。
1515
- */
1516
- activeUsageRatio?: number | null;
1517
- /**
1518
- * 字段 requiredUsageRatio / required usage ratio field。
1519
- */
1520
- requiredUsageRatio?: number | null;
1521
- /**
1522
- * 字段 calculationSource / calculation source field。
1523
- */
1524
- calculationSource: string;
1525
- }
1526
- /**
1527
- * ConversationIds 的公开协议结构。 / Public contract for conversation ids.
1528
- * @export
1529
- * @interface ConversationIds
1530
- */
1531
- export interface ConversationIds {
1532
- /**
1533
- * 字段 conversationIds / conversation ids field。
1534
- */
1535
- conversationIds: Array<string>;
1536
- }
1537
- /**
1538
- * ConversationMessage 的公开协议结构。 / Public contract for conversation message.
1539
- * @export
1540
- * @interface ConversationMessage
1541
- */
1542
- export interface ConversationMessage {
1543
- /**
1544
- * 消息 ID / message ID。
1545
- */
1546
- messageId: string;
1547
- /**
1548
- * 字段 userMessage / user message field。
1549
- */
1550
- userMessage: ConversationUserMessage;
1551
- /**
1552
- * 输入 Token 数 / input token count。
1553
- */
1554
- inputTokens: number;
1555
- /**
1556
- * 输出 Token 数 / output token count。
1557
- */
1558
- outputTokens: number;
1559
- /**
1560
- * 总 Token 数 / total token count。
1561
- */
1562
- totalTokens: number;
1563
- /**
1564
- * 字段 usage / usage field。
1565
- */
1566
- usage: Usage;
1567
- /**
1568
- * 字段 executionTimeMillis / execution time millis field。
1569
- */
1570
- executionTimeMillis: number;
1571
- /**
1572
- * 字段 processingSteps / processing steps field。
1573
- */
1574
- processingSteps: number;
1575
- /**
1576
- * 字段 totalToolCalls / total tool calls field。
1577
- */
1578
- totalToolCalls: number;
1579
- /**
1580
- * 当前状态 / current status。
1581
- */
1582
- status: string;
1583
- /**
1584
- * 创建时间 / creation time。
1585
- */
1586
- createdTime: string;
1587
- /**
1588
- * 最后更新时间 / last update time。
1589
- */
1590
- lastUpdateTime: string;
1591
- /**
1592
- * 字段 executionType / execution type field。
1593
- */
1594
- executionType: string;
1595
- /**
1596
- * 字段 parentMessageId / parent message id field。
1597
- */
1598
- parentMessageId?: string | null;
1599
- }
1600
- /**
1601
- * ConversationMessagePage 的公开协议结构。 / Public contract for conversation message page.
1602
- * @export
1603
- * @interface ConversationMessagePage
1604
- */
1605
- export interface ConversationMessagePage {
1606
- /**
1607
- * 记录列表 / records。
1608
- */
1609
- records: Array<ConversationMessage>;
1610
- /**
1611
- * 分页信息 / page metadata。
1612
- */
1613
- page: PageInfo;
1614
- }
1615
- /**
1616
- * ConversationReadReceipt 的公开协议结构。 / Public contract for conversation read receipt.
1617
- * @export
1618
- * @interface ConversationReadReceipt
1619
- */
1620
- export interface ConversationReadReceipt {
1621
- /**
1622
- * 会话 ID / conversation ID。
1623
- */
1624
- conversationId: string;
1625
- /**
1626
- * 字段 executionStatus / execution status field。
1627
- */
1628
- executionStatus: string;
1629
- /**
1630
- * 字段 activeMessageId / active message id field。
1631
- */
1632
- activeMessageId?: string | null;
1633
- /**
1634
- * 字段 executionEpoch / execution epoch field。
1635
- */
1636
- executionEpoch?: string | null;
1637
- /**
1638
- * 字段 executionStartedTime / execution started time field。
1639
- */
1640
- executionStartedTime?: string | null;
1641
- /**
1642
- * 字段 latestTerminalMessageId / latest terminal message id field。
1643
- */
1644
- latestTerminalMessageId?: string | null;
1645
- /**
1646
- * 字段 latestTerminalTime / latest terminal time field。
1647
- */
1648
- latestTerminalTime?: string | null;
1649
- /**
1650
- * 字段 hasUnreadCompletion / has unread completion field。
1651
- */
1652
- hasUnreadCompletion: boolean;
1653
- }
1654
- /**
1655
- * ConversationReadReceiptInput 的公开协议结构。 / Public contract for conversation read receipt input.
1656
- * @export
1657
- * @interface ConversationReadReceiptInput
1658
- */
1659
- export interface ConversationReadReceiptInput {
1660
- /**
1661
- * 消息 ID / message ID。
1662
- */
1663
- messageId: string;
1664
- }
1665
- /**
1666
- * ConversationShareCreated 的公开协议结构。 / Public contract for conversation share created.
1667
- * @export
1668
- * @interface ConversationShareCreated
1669
- */
1670
- export interface ConversationShareCreated {
1671
- /**
1672
- * 字段 shareId / share id field。
1673
- */
1674
- shareId: number;
1675
- /**
1676
- * 字段 shareCode / share code field。
1677
- */
1678
- shareCode: string;
1679
- /**
1680
- * 字段 serverName / server name field。
1681
- */
1682
- serverName: string;
1683
- /**
1684
- * 字段 passwordRequired / password required field。
1685
- */
1686
- passwordRequired: boolean;
1687
- /**
1688
- * 字段 expiresAt / expires at field。
1689
- */
1690
- expiresAt?: string | null;
1691
- }
1692
- /**
1693
- * ConversationShareInput 的公开协议结构。 / Public contract for conversation share input.
1694
- * @export
1695
- * @interface ConversationShareInput
1696
- */
1697
- export interface ConversationShareInput {
1698
- /**
1699
- * 字段 password / password field。
1700
- */
1701
- password?: string | null;
1702
- /**
1703
- * 字段 expiresAt / expires at field。
1704
- */
1705
- expiresAt?: string | null;
1706
- }
1707
- /**
1708
- * ConversationShareList 的公开协议结构。 / Public contract for conversation share list.
1709
- * @export
1710
- * @interface ConversationShareList
1711
- */
1712
- export interface ConversationShareList {
1713
- /**
1714
- * 记录列表 / records。
1715
- */
1716
- records: Array<ConversationShareRecord>;
1717
- }
1718
- /**
1719
- * ConversationShareRecord 的公开协议结构。 / Public contract for conversation share record.
1720
- * @export
1721
- * @interface ConversationShareRecord
1722
- */
1723
- export interface ConversationShareRecord {
1724
- /**
1725
- * 字段 shareId / share id field。
1726
- */
1727
- shareId: number;
1728
- /**
1729
- * 字段 shareCode / share code field。
1730
- */
1731
- shareCode: string;
1732
- /**
1733
- * 字段 serverName / server name field。
1734
- */
1735
- serverName: string;
1736
- /**
1737
- * 字段 accessMode / access mode field。
1738
- */
1739
- accessMode: string;
1740
- /**
1741
- * 当前状态 / current status。
1742
- */
1743
- status: string;
1744
- /**
1745
- * 字段 expiresAt / expires at field。
1746
- */
1747
- expiresAt?: string | null;
1748
- /**
1749
- * 创建时间 / creation time。
1750
- */
1751
- createdTime: string;
1752
- /**
1753
- * 最后更新时间 / last update time。
1754
- */
1755
- lastUpdateTime: string;
1756
- }
1757
- /**
1758
- * ConversationShareRevoked 的公开协议结构。 / Public contract for conversation share revoked.
1759
- * @export
1760
- * @interface ConversationShareRevoked
1761
- */
1762
- export interface ConversationShareRevoked {
1763
- /**
1764
- * 字段 shareId / share id field。
1765
- */
1766
- shareId: number;
1767
- }
1768
- /**
1769
- * ConversationStats 的公开协议结构。 / Public contract for conversation stats.
1770
- * @export
1771
- * @interface ConversationStats
1772
- */
1773
- export interface ConversationStats {
1774
- /**
1775
- * 字段 publishId / publish id field。
1776
- */
1777
- publishId: string;
1778
- /**
1779
- * 字段 totalConversations / total conversations field。
1780
- */
1781
- totalConversations: number;
1782
- /**
1783
- * 字段 activeConversations / active conversations field。
1784
- */
1785
- activeConversations: number;
1786
- /**
1787
- * 字段 totalMessages / total messages field。
1788
- */
1789
- totalMessages: number;
1790
- /**
1791
- * 总 Token 数 / total token count。
1792
- */
1793
- totalTokens: number;
1794
- /**
1795
- * 字段 avgMessagesPerConversation / avg messages per conversation field。
1796
- */
1797
- avgMessagesPerConversation: number;
1798
- }
1799
- /**
1800
- * ConversationStatusInput 的公开协议结构。 / Public contract for conversation status input.
1801
- * @export
1802
- * @interface ConversationStatusInput
1803
- */
1804
- export interface ConversationStatusInput {
1805
- /**
1806
- * 当前状态 / current status。
1807
- */
1808
- status: string;
1809
- }
1810
- /**
1811
- * ConversationSummary 的公开协议结构。 / Public contract for conversation summary.
1812
- * @export
1813
- * @interface ConversationSummary
1814
- */
1815
- export interface ConversationSummary {
1816
- /**
1817
- * 会话 ID / conversation ID。
1818
- */
1819
- conversationId: string;
1820
- /**
1821
- * 字段 conversationType / conversation type field。
1822
- */
1823
- conversationType: string;
1824
- /**
1825
- * 标题 / title。
1826
- */
1827
- title?: string | null;
1828
- /**
1829
- * 字段 titleState / title state field。
1830
- */
1831
- titleState: string;
1832
- /**
1833
- * 当前状态 / current status。
1834
- */
1835
- status: string;
1836
- /**
1837
- * 字段 messageCount / message count field。
1838
- */
1839
- messageCount: number;
1840
- /**
1841
- * 总 Token 数 / total token count。
1842
- */
1843
- totalTokens: number;
1844
- /**
1845
- * 字段 totalInputTokens / total input tokens field。
1846
- */
1847
- totalInputTokens: number;
1848
- /**
1849
- * 字段 totalOutputTokens / total output tokens field。
1850
- */
1851
- totalOutputTokens: number;
1852
- /**
1853
- * 字段 usage / usage field。
1854
- */
1855
- usage: Usage;
1856
- /**
1857
- * 创建时间 / creation time。
1858
- */
1859
- createdTime: string;
1860
- /**
1861
- * 最后更新时间 / last update time。
1862
- */
1863
- lastUpdateTime: string;
1864
- }
1865
- /**
1866
- * ConversationSummaryList 的公开协议结构。 / Public contract for conversation summary list.
1867
- * @export
1868
- * @interface ConversationSummaryList
1869
- */
1870
- export interface ConversationSummaryList {
1871
- /**
1872
- * 记录列表 / records。
1873
- */
1874
- records: Array<ConversationSummary>;
1875
- }
1876
- /**
1877
- * ConversationTitle 的公开协议结构。 / Public contract for conversation title.
1878
- * @export
1879
- * @interface ConversationTitle
1880
- */
1881
- export interface ConversationTitle {
1882
- /**
1883
- * 会话 ID / conversation ID。
1884
- */
1885
- conversationId: string;
1886
- /**
1887
- * 标题 / title。
1888
- */
1889
- title?: string | null;
1890
- /**
1891
- * 字段 titleState / title state field。
1892
- */
1893
- titleState: string;
1894
- }
1895
- /**
1896
- * ConversationTitleInput 的公开协议结构。 / Public contract for conversation title input.
1897
- * @export
1898
- * @interface ConversationTitleInput
1899
- */
1900
- export interface ConversationTitleInput {
1901
- /**
1902
- * 标题 / title。
1903
- */
1904
- title: string;
1905
- }
1906
- /**
1907
- * ConversationUserMessage 的公开协议结构。 / Public contract for conversation user message.
1908
- * @export
1909
- * @interface ConversationUserMessage
1910
- */
1911
- export interface ConversationUserMessage {
1912
- /**
1913
- * 字段 text / text field。
1914
- */
1915
- text: string;
1916
- /**
1917
- * 字段 multimodalAttachments / multimodal attachments field。
1918
- */
1919
- multimodalAttachments?: Array<MultimodalMediaAttachment> | null;
1920
- /**
1921
- * 字段 attachments / attachments field。
1922
- */
1923
- attachments?: Array<MediaAttachment> | null;
1924
- /**
1925
- * 字段 metadataRawJson / metadata raw json field。
1926
- */
1927
- metadataRawJson?: string | null;
1928
- /**
1929
- * 字段 executionType / execution type field。
1930
- */
1931
- executionType: string;
1932
- /**
1933
- * 类型判别值 / type discriminator。
1934
- */
1935
- type: ConversationUserMessageTypeEnum;
1936
- }
1937
- /**
1938
- * @export
1939
- */
1940
- export declare const ConversationUserMessageTypeEnum: {
1941
- readonly User: "USER";
1942
- };
1943
- export type ConversationUserMessageTypeEnum = typeof ConversationUserMessageTypeEnum[keyof typeof ConversationUserMessageTypeEnum];
1944
- /**
1945
- * CreateFileInput 的公开协议结构。 / Public contract for create file input.
1946
- * @export
1947
- * @interface CreateFileInput
1948
- */
1949
- export interface CreateFileInput {
1950
- /**
1951
- * 文件名 / file name。
1952
- */
1953
- fileName: string;
1954
- /**
1955
- * 字段 contentMd5 / content md5 field。
1956
- */
1957
- contentMd5: string;
1958
- }
1959
- /**
1960
- * DecimalChartColumn 的公开协议结构。 / Public contract for decimal chart column.
1961
- * @export
1962
- * @interface DecimalChartColumn
1963
- */
1964
- export interface DecimalChartColumn {
1965
- /**
1966
- * 字段 name / name field。
1967
- */
1968
- name: string;
1969
- /**
1970
- * 类型判别值 / type discriminator。
1971
- */
1972
- type: DecimalChartColumnTypeEnum;
1973
- /**
1974
- * 字段 values / values field。
1975
- */
1976
- values: Array<string | null>;
1977
- }
1978
- /**
1979
- * @export
1980
- */
1981
- export declare const DecimalChartColumnTypeEnum: {
1982
- readonly Decimal: "DECIMAL";
1983
- };
1984
- export type DecimalChartColumnTypeEnum = typeof DecimalChartColumnTypeEnum[keyof typeof DecimalChartColumnTypeEnum];
1985
- /**
1986
- * DefaultModel 的公开协议结构。 / Public contract for default model.
1987
- * @export
1988
- * @interface DefaultModel
1989
- */
1990
- export interface DefaultModel {
1991
- /**
1992
- * 字段 keyGroupId / key group id field。
1993
- */
1994
- keyGroupId: number;
1995
- /**
1996
- * 字段 model / model field。
1997
- */
1998
- model: string;
1999
- }
2000
- /**
2001
- * DoubleChartColumn 的公开协议结构。 / Public contract for double chart column.
2002
- * @export
2003
- * @interface DoubleChartColumn
2004
- */
2005
- export interface DoubleChartColumn {
2006
- /**
2007
- * 字段 name / name field。
2008
- */
2009
- name: string;
2010
- /**
2011
- * 类型判别值 / type discriminator。
2012
- */
2013
- type: DoubleChartColumnTypeEnum;
2014
- /**
2015
- * 字段 values / values field。
2016
- */
2017
- values: Array<number | null>;
2018
- }
2019
- /**
2020
- * @export
2021
- */
2022
- export declare const DoubleChartColumnTypeEnum: {
2023
- readonly Double: "DOUBLE";
2024
- };
2025
- export type DoubleChartColumnTypeEnum = typeof DoubleChartColumnTypeEnum[keyof typeof DoubleChartColumnTypeEnum];
2026
- /**
2027
- * FieldError 的公开协议结构。 / Public contract for field error.
2028
- * @export
2029
- * @interface FieldError
2030
- */
2031
- export interface FieldError {
2032
- /**
2033
- * 字段 field / field field。
2034
- */
2035
- field: string;
2036
- /**
2037
- * 消息正文 / message text。
2038
- */
2039
- message: string;
2040
- }
2041
- /**
2042
- * FileExists 的公开协议结构。 / Public contract for file exists.
2043
- * @export
2044
- * @interface FileExists
2045
- */
2046
- export interface FileExists {
2047
- /**
2048
- * 字段 exists / exists field。
2049
- */
2050
- _exists: boolean;
2051
- }
2052
- /**
2053
- * GeneratePreSignedUrlInput 的公开协议结构。 / Public contract for generate pre signed url input.
2054
- * @export
2055
- * @interface GeneratePreSignedUrlInput
2056
- */
2057
- export interface GeneratePreSignedUrlInput {
2058
- /**
2059
- * 文件名 / file name。
2060
- */
2061
- fileName: string;
2062
- /**
2063
- * 字段 module / module field。
2064
- */
2065
- module: GeneratePreSignedUrlInputModuleEnum;
2066
- /**
2067
- * 字段 contentMd5 / content md5 field。
2068
- */
2069
- contentMd5: string;
2070
- /**
2071
- * 文件 ID / file ID。
2072
- */
2073
- fileId?: number | null;
2074
- }
2075
- /**
2076
- * @export
2077
- */
2078
- export declare const GeneratePreSignedUrlInputModuleEnum: {
2079
- readonly AiChatAttachments: "ai-chat-attachments";
2080
- };
2081
- export type GeneratePreSignedUrlInputModuleEnum = typeof GeneratePreSignedUrlInputModuleEnum[keyof typeof GeneratePreSignedUrlInputModuleEnum];
2082
- /**
2083
- * GeneratePreSignedUrlOutput 的公开协议结构。 / Public contract for generate pre signed url output.
2084
- * @export
2085
- * @interface GeneratePreSignedUrlOutput
2086
- */
2087
- export interface GeneratePreSignedUrlOutput {
2088
- /**
2089
- * 当前存储是否支持该操作 / whether the storage supports this operation。
2090
- */
2091
- support: boolean;
2092
- /**
2093
- * 字段 fileUk / file uk field。
2094
- */
2095
- fileUk?: string | null;
2096
- /**
2097
- * 预签名 URL / presigned URL。
2098
- */
2099
- url?: string | null;
2100
- }
2101
- /**
2102
- * ImageGenerationExtensionContent 的公开协议结构。 / Public contract for image generation extension content.
2103
- * @export
2104
- * @interface ImageGenerationExtensionContent
2105
- */
2106
- export interface ImageGenerationExtensionContent {
2107
- /**
2108
- * 文件 ID / file ID。
2109
- */
2110
- fileId: number;
2111
- }
2112
- /**
2113
- * ImageGenerationExtensionToolExtension 的公开协议结构。 / Public contract for image generation extension tool extension.
2114
- * @export
2115
- * @interface ImageGenerationExtensionToolExtension
2116
- */
2117
- export interface ImageGenerationExtensionToolExtension {
2118
- /**
2119
- * 扩展类别判别值 / extension category discriminator。
2120
- */
2121
- category: ImageGenerationExtensionToolExtensionCategoryEnum;
2122
- /**
2123
- * 与类别对应的强类型内容 / strongly typed content for the category。
2124
- */
2125
- content: ImageGenerationExtensionContent;
2126
- /**
2127
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2128
- */
2129
- specialRender: boolean;
2130
- }
2131
- /**
2132
- * @export
2133
- */
2134
- export declare const ImageGenerationExtensionToolExtensionCategoryEnum: {
2135
- readonly ImageGeneration: "imageGeneration";
2136
- };
2137
- export type ImageGenerationExtensionToolExtensionCategoryEnum = typeof ImageGenerationExtensionToolExtensionCategoryEnum[keyof typeof ImageGenerationExtensionToolExtensionCategoryEnum];
2138
- /**
2139
- * InputTokenBreakdown 的公开协议结构。 / Public contract for input token breakdown.
2140
- * @export
2141
- * @interface InputTokenBreakdown
2142
- */
2143
- export interface InputTokenBreakdown {
2144
- /**
2145
- * 字段 observedInputTokens / observed input tokens field。
2146
- */
2147
- observedInputTokens: number;
2148
- /**
2149
- * 字段 uncachedInputTokens / uncached input tokens field。
2150
- */
2151
- uncachedInputTokens: number;
2152
- /**
2153
- * 字段 cachedInputTokens / cached input tokens field。
2154
- */
2155
- cachedInputTokens: number;
2156
- /**
2157
- * 字段 cacheCreationInputTokens / cache creation input tokens field。
2158
- */
2159
- cacheCreationInputTokens?: number | null;
2160
- }
2161
- /**
2162
- * InstantChartColumn 的公开协议结构。 / Public contract for instant chart column.
2163
- * @export
2164
- * @interface InstantChartColumn
2165
- */
2166
- export interface InstantChartColumn {
2167
- /**
2168
- * 字段 name / name field。
2169
- */
2170
- name: string;
2171
- /**
2172
- * 类型判别值 / type discriminator。
2173
- */
2174
- type: InstantChartColumnTypeEnum;
2175
- /**
2176
- * 字段 values / values field。
2177
- */
2178
- values: Array<string | null>;
2179
- }
2180
- /**
2181
- * @export
2182
- */
2183
- export declare const InstantChartColumnTypeEnum: {
2184
- readonly Instant: "INSTANT";
2185
- };
2186
- export type InstantChartColumnTypeEnum = typeof InstantChartColumnTypeEnum[keyof typeof InstantChartColumnTypeEnum];
2187
- /**
2188
- * IntegerChartColumn 的公开协议结构。 / Public contract for integer chart column.
2189
- * @export
2190
- * @interface IntegerChartColumn
2191
- */
2192
- export interface IntegerChartColumn {
2193
- /**
2194
- * 字段 name / name field。
2195
- */
2196
- name: string;
2197
- /**
2198
- * 类型判别值 / type discriminator。
2199
- */
2200
- type: IntegerChartColumnTypeEnum;
2201
- /**
2202
- * 字段 values / values field。
2203
- */
2204
- values: Array<number | null>;
2205
- }
2206
- /**
2207
- * @export
2208
- */
2209
- export declare const IntegerChartColumnTypeEnum: {
2210
- readonly Integer: "INTEGER";
2211
- readonly Long: "LONG";
2212
- };
2213
- export type IntegerChartColumnTypeEnum = typeof IntegerChartColumnTypeEnum[keyof typeof IntegerChartColumnTypeEnum];
2214
- /**
2215
- * JsRunScriptExtensionContent 的公开协议结构。 / Public contract for js run script extension content.
2216
- * @export
2217
- * @interface JsRunScriptExtensionContent
2218
- */
2219
- export interface JsRunScriptExtensionContent {
2220
- /**
2221
- * 字段 script / script field。
2222
- */
2223
- script: string;
2224
- }
2225
- /**
2226
- * JsRunScriptExtensionToolExtension 的公开协议结构。 / Public contract for js run script extension tool extension.
2227
- * @export
2228
- * @interface JsRunScriptExtensionToolExtension
2229
- */
2230
- export interface JsRunScriptExtensionToolExtension {
2231
- /**
2232
- * 扩展类别判别值 / extension category discriminator。
2233
- */
2234
- category: JsRunScriptExtensionToolExtensionCategoryEnum;
2235
- /**
2236
- * 与类别对应的强类型内容 / strongly typed content for the category。
2237
- */
2238
- content: JsRunScriptExtensionContent;
2239
- /**
2240
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2241
- */
2242
- specialRender: boolean;
2243
- }
2244
- /**
2245
- * @export
2246
- */
2247
- export declare const JsRunScriptExtensionToolExtensionCategoryEnum: {
2248
- readonly JsRunScript: "jsRunScript";
2249
- };
2250
- export type JsRunScriptExtensionToolExtensionCategoryEnum = typeof JsRunScriptExtensionToolExtensionCategoryEnum[keyof typeof JsRunScriptExtensionToolExtensionCategoryEnum];
2251
- /**
2252
- * JsRunScriptResultExtensionContent 的公开协议结构。 / Public contract for js run script result extension content.
2253
- * @export
2254
- * @interface JsRunScriptResultExtensionContent
2255
- */
2256
- export interface JsRunScriptResultExtensionContent {
2257
- /**
2258
- * 字段 result / result field。
2259
- */
2260
- result?: string | null;
2261
- /**
2262
- * 字段 stdout / stdout field。
2263
- */
2264
- stdout: string;
2265
- }
2266
- /**
2267
- * JsRunScriptResultExtensionToolExtension 的公开协议结构。 / Public contract for js run script result extension tool extension.
2268
- * @export
2269
- * @interface JsRunScriptResultExtensionToolExtension
2270
- */
2271
- export interface JsRunScriptResultExtensionToolExtension {
2272
- /**
2273
- * 扩展类别判别值 / extension category discriminator。
2274
- */
2275
- category: JsRunScriptResultExtensionToolExtensionCategoryEnum;
2276
- /**
2277
- * 与类别对应的强类型内容 / strongly typed content for the category。
2278
- */
2279
- content: JsRunScriptResultExtensionContent;
2280
- /**
2281
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2282
- */
2283
- specialRender: boolean;
2284
- }
2285
- /**
2286
- * @export
2287
- */
2288
- export declare const JsRunScriptResultExtensionToolExtensionCategoryEnum: {
2289
- readonly JsRunScriptResult: "jsRunScriptResult";
2290
- };
2291
- export type JsRunScriptResultExtensionToolExtensionCategoryEnum = typeof JsRunScriptResultExtensionToolExtensionCategoryEnum[keyof typeof JsRunScriptResultExtensionToolExtensionCategoryEnum];
2292
- /**
2293
- * LocalDateChartColumn 的公开协议结构。 / Public contract for local date chart column.
2294
- * @export
2295
- * @interface LocalDateChartColumn
2296
- */
2297
- export interface LocalDateChartColumn {
2298
- /**
2299
- * 字段 name / name field。
2300
- */
2301
- name: string;
2302
- /**
2303
- * 类型判别值 / type discriminator。
2304
- */
2305
- type: LocalDateChartColumnTypeEnum;
2306
- /**
2307
- * 字段 values / values field。
2308
- */
2309
- values: Array<string | null>;
2310
- }
2311
- /**
2312
- * @export
2313
- */
2314
- export declare const LocalDateChartColumnTypeEnum: {
2315
- readonly LocalDate: "LOCAL_DATE";
2316
- };
2317
- export type LocalDateChartColumnTypeEnum = typeof LocalDateChartColumnTypeEnum[keyof typeof LocalDateChartColumnTypeEnum];
2318
- /**
2319
- * LocalDateTimeChartColumn 的公开协议结构。 / Public contract for local date time chart column.
2320
- * @export
2321
- * @interface LocalDateTimeChartColumn
2322
- */
2323
- export interface LocalDateTimeChartColumn {
2324
- /**
2325
- * 字段 name / name field。
2326
- */
2327
- name: string;
2328
- /**
2329
- * 类型判别值 / type discriminator。
2330
- */
2331
- type: LocalDateTimeChartColumnTypeEnum;
2332
- /**
2333
- * 字段 values / values field。
2334
- */
2335
- values: Array<string | null>;
2336
- }
2337
- /**
2338
- * @export
2339
- */
2340
- export declare const LocalDateTimeChartColumnTypeEnum: {
2341
- readonly LocalDateTime: "LOCAL_DATE_TIME";
2342
- };
2343
- export type LocalDateTimeChartColumnTypeEnum = typeof LocalDateTimeChartColumnTypeEnum[keyof typeof LocalDateTimeChartColumnTypeEnum];
2344
- /**
2345
- * LocalTimeChartColumn 的公开协议结构。 / Public contract for local time chart column.
2346
- * @export
2347
- * @interface LocalTimeChartColumn
2348
- */
2349
- export interface LocalTimeChartColumn {
2350
- /**
2351
- * 字段 name / name field。
2352
- */
2353
- name: string;
2354
- /**
2355
- * 类型判别值 / type discriminator。
2356
- */
2357
- type: LocalTimeChartColumnTypeEnum;
2358
- /**
2359
- * 字段 values / values field。
2360
- */
2361
- values: Array<string | null>;
2362
- }
2363
- /**
2364
- * @export
2365
- */
2366
- export declare const LocalTimeChartColumnTypeEnum: {
2367
- readonly LocalTime: "LOCAL_TIME";
2368
- };
2369
- export type LocalTimeChartColumnTypeEnum = typeof LocalTimeChartColumnTypeEnum[keyof typeof LocalTimeChartColumnTypeEnum];
2370
- /**
2371
- * MathFormulaExtensionContent 的公开协议结构。 / Public contract for math formula extension content.
2372
- * @export
2373
- * @interface MathFormulaExtensionContent
2374
- */
2375
- export interface MathFormulaExtensionContent {
2376
- /**
2377
- * 字段 expression / expression field。
2378
- */
2379
- expression: string;
2380
- /**
2381
- * 字段 variables / variables field。
2382
- */
2383
- variables?: Array<VariableBinding> | null;
2384
- }
2385
- /**
2386
- * MathFormulaExtensionToolExtension 的公开协议结构。 / Public contract for math formula extension tool extension.
2387
- * @export
2388
- * @interface MathFormulaExtensionToolExtension
2389
- */
2390
- export interface MathFormulaExtensionToolExtension {
2391
- /**
2392
- * 扩展类别判别值 / extension category discriminator。
2393
- */
2394
- category: MathFormulaExtensionToolExtensionCategoryEnum;
2395
- /**
2396
- * 与类别对应的强类型内容 / strongly typed content for the category。
2397
- */
2398
- content: MathFormulaExtensionContent;
2399
- /**
2400
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2401
- */
2402
- specialRender: boolean;
2403
- }
2404
- /**
2405
- * @export
2406
- */
2407
- export declare const MathFormulaExtensionToolExtensionCategoryEnum: {
2408
- readonly MathFormula: "mathFormula";
2409
- };
2410
- export type MathFormulaExtensionToolExtensionCategoryEnum = typeof MathFormulaExtensionToolExtensionCategoryEnum[keyof typeof MathFormulaExtensionToolExtensionCategoryEnum];
2411
- /**
2412
- * MathResultExtensionContent 的公开协议结构。 / Public contract for math result extension content.
2413
- * @export
2414
- * @interface MathResultExtensionContent
2415
- */
2416
- export interface MathResultExtensionContent {
2417
- /**
2418
- * 字段 result / result field。
2419
- */
2420
- result: string;
2421
- }
2422
- /**
2423
- * MathResultExtensionToolExtension 的公开协议结构。 / Public contract for math result extension tool extension.
2424
- * @export
2425
- * @interface MathResultExtensionToolExtension
2426
- */
2427
- export interface MathResultExtensionToolExtension {
2428
- /**
2429
- * 扩展类别判别值 / extension category discriminator。
2430
- */
2431
- category: MathResultExtensionToolExtensionCategoryEnum;
2432
- /**
2433
- * 与类别对应的强类型内容 / strongly typed content for the category。
2434
- */
2435
- content: MathResultExtensionContent;
2436
- /**
2437
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2438
- */
2439
- specialRender: boolean;
2440
- }
2441
- /**
2442
- * @export
2443
- */
2444
- export declare const MathResultExtensionToolExtensionCategoryEnum: {
2445
- readonly MathResult: "mathResult";
2446
- };
2447
- export type MathResultExtensionToolExtensionCategoryEnum = typeof MathResultExtensionToolExtensionCategoryEnum[keyof typeof MathResultExtensionToolExtensionCategoryEnum];
2448
- /**
2449
- * MediaAttachment 的公开协议结构。 / Public contract for media attachment.
2450
- * @export
2451
- * @interface MediaAttachment
2452
- */
2453
- export interface MediaAttachment {
2454
- /**
2455
- * 文件 ID / file ID。
2456
- */
2457
- fileId: number;
2458
- /**
2459
- * 字段 path / path field。
2460
- */
2461
- path: string;
2462
- /**
2463
- * 字段 fileSize / file size field。
2464
- */
2465
- fileSize: number;
2466
- /**
2467
- * 文件名 / file name。
2468
- */
2469
- fileName: string;
2470
- /**
2471
- * MIME 类型 / MIME type。
2472
- */
2473
- mimeType: string;
2474
- }
2475
- /**
2476
- * ModelConfig 的公开协议结构。 / Public contract for model config.
2477
- * @export
2478
- * @interface ModelConfig
2479
- */
2480
- export interface ModelConfig {
2481
- /**
2482
- * 字段 defaultModel / default model field。
2483
- */
2484
- defaultModel: DefaultModel | null;
2485
- /**
2486
- * 字段 modelKeyGroups / model key groups field。
2487
- */
2488
- modelKeyGroups: Array<ModelKeyGroup>;
2489
- }
2490
- /**
2491
- * ModelKeyGroup 的公开协议结构。 / Public contract for model key group.
2492
- * @export
2493
- * @interface ModelKeyGroup
2494
- */
2495
- export interface ModelKeyGroup {
2496
- /**
2497
- * 字段 keyGroupId / key group id field。
2498
- */
2499
- keyGroupId: number;
2500
- /**
2501
- * 字段 keyGroupName / key group name field。
2502
- */
2503
- keyGroupName: string;
2504
- /**
2505
- * 字段 models / models field。
2506
- */
2507
- models: Array<ChatModelConfig>;
2508
- }
2509
- /**
2510
- * MultimodalMediaAttachment 的公开协议结构。 / Public contract for multimodal media attachment.
2511
- * @export
2512
- * @interface MultimodalMediaAttachment
2513
- */
2514
- export interface MultimodalMediaAttachment {
2515
- /**
2516
- * 文件名 / file name。
2517
- */
2518
- fileName: string;
2519
- /**
2520
- * MIME 类型 / MIME type。
2521
- */
2522
- mimeType: string;
2523
- /**
2524
- * 字段 data / data field。
2525
- */
2526
- data: string;
2527
- }
2528
- /**
2529
- * OperationResult 的公开协议结构。 / Public contract for operation result.
2530
- * @export
2531
- * @interface OperationResult
2532
- */
2533
- export interface OperationResult {
2534
- /**
2535
- * 字段 success / success field。
2536
- */
2537
- success: boolean;
2538
- /**
2539
- * 消息正文 / message text。
2540
- */
2541
- message?: string | null;
2542
- }
2543
- /**
2544
- * PageInfo 的公开协议结构。 / Public contract for page info.
2545
- * @export
2546
- * @interface PageInfo
2547
- */
2548
- export interface PageInfo {
2549
- /**
2550
- * 字段 current / current field。
2551
- */
2552
- current: number;
2553
- /**
2554
- * 大小(字节)或分页容量 / byte size or page size。
2555
- */
2556
- size: number;
2557
- /**
2558
- * 字段 total / total field。
2559
- */
2560
- total: number;
2561
- }
2562
- /**
2563
- * PlanApprovalExtensionContent 的公开协议结构。 / Public contract for plan approval extension content.
2564
- * @export
2565
- * @interface PlanApprovalExtensionContent
2566
- */
2567
- export interface PlanApprovalExtensionContent {
2568
- /**
2569
- * 字段 previewFileId / preview file id field。
2570
- */
2571
- previewFileId: number;
2572
- /**
2573
- * 字段 serverNow / server now field。
2574
- */
2575
- serverNow: string;
2576
- /**
2577
- * 字段 approvalTimeoutAt / approval timeout at field。
2578
- */
2579
- approvalTimeoutAt: string;
2580
- }
2581
- /**
2582
- * PlanApprovalExtensionToolExtension 的公开协议结构。 / Public contract for plan approval extension tool extension.
2583
- * @export
2584
- * @interface PlanApprovalExtensionToolExtension
2585
- */
2586
- export interface PlanApprovalExtensionToolExtension {
2587
- /**
2588
- * 扩展类别判别值 / extension category discriminator。
2589
- */
2590
- category: PlanApprovalExtensionToolExtensionCategoryEnum;
2591
- /**
2592
- * 与类别对应的强类型内容 / strongly typed content for the category。
2593
- */
2594
- content: PlanApprovalExtensionContent;
2595
- /**
2596
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2597
- */
2598
- specialRender: boolean;
2599
- }
2600
- /**
2601
- * @export
2602
- */
2603
- export declare const PlanApprovalExtensionToolExtensionCategoryEnum: {
2604
- readonly PlanApproval: "planApproval";
2605
- };
2606
- export type PlanApprovalExtensionToolExtensionCategoryEnum = typeof PlanApprovalExtensionToolExtensionCategoryEnum[keyof typeof PlanApprovalExtensionToolExtensionCategoryEnum];
2607
- /**
2608
- * PlanApprovalInput 的公开协议结构。 / Public contract for plan approval input.
2609
- * @export
2610
- * @interface PlanApprovalInput
2611
- */
2612
- export interface PlanApprovalInput {
2613
- /**
2614
- * 会话 ID / conversation ID。
2615
- */
2616
- conversationId: string;
2617
- /**
2618
- * 消息 ID / message ID。
2619
- */
2620
- messageId: string;
2621
- /**
2622
- * 字段 approved / approved field。
2623
- */
2624
- approved: boolean;
2625
- /**
2626
- * 字段 feedback / feedback field。
2627
- */
2628
- feedback?: string | null;
2629
- }
2630
- /**
2631
- * PlanStatus 的公开协议结构。 / Public contract for plan status.
2632
- * @export
2633
- * @interface PlanStatus
2634
- */
2635
- export interface PlanStatus {
2636
- /**
2637
- * 字段 pending / pending field。
2638
- */
2639
- pending: boolean;
2640
- /**
2641
- * 当前状态 / current status。
2642
- */
2643
- status: string;
2644
- }
2645
- /**
2646
- * PreSignedReadUrl 的公开协议结构。 / Public contract for pre signed read url.
2647
- * @export
2648
- * @interface PreSignedReadUrl
2649
- */
2650
- export interface PreSignedReadUrl {
2651
- /**
2652
- * 预签名 URL / presigned URL。
2653
- */
2654
- url: string;
2655
- }
2656
- /**
2657
- * ReturnedReference 的公开协议结构。 / Public contract for returned reference.
2658
- * @export
2659
- * @interface ReturnedReference
2660
- */
2661
- export interface ReturnedReference {
2662
- /**
2663
- * 类型判别值 / type discriminator。
2664
- */
2665
- type: string;
2666
- /**
2667
- * 字段 referenceId / reference id field。
2668
- */
2669
- referenceId: number;
2670
- }
2671
- /**
2672
- * SkillResourceExtensionContent 的公开协议结构。 / Public contract for skill resource extension content.
2673
- * @export
2674
- * @interface SkillResourceExtensionContent
2675
- */
2676
- export interface SkillResourceExtensionContent {
2677
- /**
2678
- * 字段 operationType / operation type field。
2679
- */
2680
- operationType: string;
2681
- /**
2682
- * 字段 filepath / filepath field。
2683
- */
2684
- filepath: string;
2685
- }
2686
- /**
2687
- * SkillResourceExtensionToolExtension 的公开协议结构。 / Public contract for skill resource extension tool extension.
2688
- * @export
2689
- * @interface SkillResourceExtensionToolExtension
2690
- */
2691
- export interface SkillResourceExtensionToolExtension {
2692
- /**
2693
- * 扩展类别判别值 / extension category discriminator。
2694
- */
2695
- category: SkillResourceExtensionToolExtensionCategoryEnum;
2696
- /**
2697
- * 与类别对应的强类型内容 / strongly typed content for the category。
2698
- */
2699
- content: SkillResourceExtensionContent;
2700
- /**
2701
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2702
- */
2703
- specialRender: boolean;
2704
- }
2705
- /**
2706
- * @export
2707
- */
2708
- export declare const SkillResourceExtensionToolExtensionCategoryEnum: {
2709
- readonly SkillResource: "skillResource";
2710
- };
2711
- export type SkillResourceExtensionToolExtensionCategoryEnum = typeof SkillResourceExtensionToolExtensionCategoryEnum[keyof typeof SkillResourceExtensionToolExtensionCategoryEnum];
2712
- /**
2713
- * SqlChartDataset 的公开协议结构。 / Public contract for sql chart dataset.
2714
- * @export
2715
- * @interface SqlChartDataset
2716
- */
2717
- export interface SqlChartDataset {
2718
- /**
2719
- * 字段 resultId / result id field。
2720
- */
2721
- resultId: string;
2722
- /**
2723
- * 字段 schema / schema field。
2724
- */
2725
- schema: Array<SqlResultColumnSchema>;
2726
- /**
2727
- * 字段 rowCount / row count field。
2728
- */
2729
- rowCount: number;
2730
- /**
2731
- * 字段 columns / columns field。
2732
- */
2733
- columns: Array<ChartColumnData>;
2734
- }
2735
- /**
2736
- * SqlChartResultExtensionContent 的公开协议结构。 / Public contract for sql chart result extension content.
2737
- * @export
2738
- * @interface SqlChartResultExtensionContent
2739
- */
2740
- export interface SqlChartResultExtensionContent {
2741
- /**
2742
- * 字段 resultId / result id field。
2743
- */
2744
- resultId: string;
2745
- /**
2746
- * 字段 rowCount / row count field。
2747
- */
2748
- rowCount: number;
2749
- /**
2750
- * 字段 columnCount / column count field。
2751
- */
2752
- columnCount: number;
2753
- /**
2754
- * 字段 columns / columns field。
2755
- */
2756
- columns: Array<string>;
2757
- /**
2758
- * 字段 schema / schema field。
2759
- */
2760
- schema: Array<SqlResultColumnSchema>;
2761
- /**
2762
- * 字段 chart / chart field。
2763
- */
2764
- chart: ChartSpec;
2765
- /**
2766
- * 字段 qualitySummary / quality summary field。
2767
- */
2768
- qualitySummary: ChartQualitySummary;
2769
- /**
2770
- * 字段 timeContext / time context field。
2771
- */
2772
- timeContext: ChartTimeContext;
2773
- }
2774
- /**
2775
- * SqlChartResultExtensionToolExtension 的公开协议结构。 / Public contract for sql chart result extension tool extension.
2776
- * @export
2777
- * @interface SqlChartResultExtensionToolExtension
2778
- */
2779
- export interface SqlChartResultExtensionToolExtension {
2780
- /**
2781
- * 扩展类别判别值 / extension category discriminator。
2782
- */
2783
- category: SqlChartResultExtensionToolExtensionCategoryEnum;
2784
- /**
2785
- * 与类别对应的强类型内容 / strongly typed content for the category。
2786
- */
2787
- content: SqlChartResultExtensionContent;
2788
- /**
2789
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2790
- */
2791
- specialRender: boolean;
2792
- }
2793
- /**
2794
- * @export
2795
- */
2796
- export declare const SqlChartResultExtensionToolExtensionCategoryEnum: {
2797
- readonly SqlChartResult: "sqlChartResult";
2798
- };
2799
- export type SqlChartResultExtensionToolExtensionCategoryEnum = typeof SqlChartResultExtensionToolExtensionCategoryEnum[keyof typeof SqlChartResultExtensionToolExtensionCategoryEnum];
2800
- /**
2801
- * SqlQueryExtensionContent 的公开协议结构。 / Public contract for sql query extension content.
2802
- * @export
2803
- * @interface SqlQueryExtensionContent
2804
- */
2805
- export interface SqlQueryExtensionContent {
2806
- /**
2807
- * 字段 sql / sql field。
2808
- */
2809
- sql: string;
2810
- }
2811
- /**
2812
- * SqlQueryExtensionToolExtension 的公开协议结构。 / Public contract for sql query extension tool extension.
2813
- * @export
2814
- * @interface SqlQueryExtensionToolExtension
2815
- */
2816
- export interface SqlQueryExtensionToolExtension {
2817
- /**
2818
- * 扩展类别判别值 / extension category discriminator。
2819
- */
2820
- category: SqlQueryExtensionToolExtensionCategoryEnum;
2821
- /**
2822
- * 与类别对应的强类型内容 / strongly typed content for the category。
2823
- */
2824
- content: SqlQueryExtensionContent;
2825
- /**
2826
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2827
- */
2828
- specialRender: boolean;
2829
- }
2830
- /**
2831
- * @export
2832
- */
2833
- export declare const SqlQueryExtensionToolExtensionCategoryEnum: {
2834
- readonly SqlQuery: "sqlQuery";
2835
- };
2836
- export type SqlQueryExtensionToolExtensionCategoryEnum = typeof SqlQueryExtensionToolExtensionCategoryEnum[keyof typeof SqlQueryExtensionToolExtensionCategoryEnum];
2837
- /**
2838
- * SqlQueryResultExtensionContent 的公开协议结构。 / Public contract for sql query result extension content.
2839
- * @export
2840
- * @interface SqlQueryResultExtensionContent
2841
- */
2842
- export interface SqlQueryResultExtensionContent {
2843
- /**
2844
- * 字段 resultId / result id field。
2845
- */
2846
- resultId: string;
2847
- /**
2848
- * 字段 rowCount / row count field。
2849
- */
2850
- rowCount: number;
2851
- /**
2852
- * 字段 totalRowCount / total row count field。
2853
- */
2854
- totalRowCount: number;
2855
- /**
2856
- * 字段 columnCount / column count field。
2857
- */
2858
- columnCount: number;
2859
- /**
2860
- * 字段 columns / columns field。
2861
- */
2862
- columns: Array<string>;
2863
- /**
2864
- * 字段 schema / schema field。
2865
- */
2866
- schema: Array<SqlResultColumnSchema>;
2867
- /**
2868
- * 字段 truncated / truncated field。
2869
- */
2870
- truncated: boolean;
2871
- /**
2872
- * 字段 limit / limit field。
2873
- */
2874
- limit: number;
2875
- }
2876
- /**
2877
- * SqlQueryResultExtensionToolExtension 的公开协议结构。 / Public contract for sql query result extension tool extension.
2878
- * @export
2879
- * @interface SqlQueryResultExtensionToolExtension
2880
- */
2881
- export interface SqlQueryResultExtensionToolExtension {
2882
- /**
2883
- * 扩展类别判别值 / extension category discriminator。
2884
- */
2885
- category: SqlQueryResultExtensionToolExtensionCategoryEnum;
2886
- /**
2887
- * 与类别对应的强类型内容 / strongly typed content for the category。
2888
- */
2889
- content: SqlQueryResultExtensionContent;
2890
- /**
2891
- * 是否使用独立视图渲染 / whether to use a dedicated view。
2892
- */
2893
- specialRender: boolean;
2894
- }
2895
- /**
2896
- * @export
2897
- */
2898
- export declare const SqlQueryResultExtensionToolExtensionCategoryEnum: {
2899
- readonly SqlQueryResult: "sqlQueryResult";
2900
- };
2901
- export type SqlQueryResultExtensionToolExtensionCategoryEnum = typeof SqlQueryResultExtensionToolExtensionCategoryEnum[keyof typeof SqlQueryResultExtensionToolExtensionCategoryEnum];
2902
- /**
2903
- * SqlQueryResultPage 的公开协议结构。 / Public contract for sql query result page.
2904
- * @export
2905
- * @interface SqlQueryResultPage
2906
- */
2907
- export interface SqlQueryResultPage {
2908
- /**
2909
- * 字段 resultId / result id field。
2910
- */
2911
- resultId: string;
2912
- /**
2913
- * 字段 sql / sql field。
2914
- */
2915
- sql: string;
2916
- /**
2917
- * 字段 columns / columns field。
2918
- */
2919
- columns: Array<string>;
2920
- /**
2921
- * 字段 rowCount / row count field。
2922
- */
2923
- rowCount: number;
2924
- /**
2925
- * 字段 columnCount / column count field。
2926
- */
2927
- columnCount: number;
2928
- /**
2929
- * 字段 current / current field。
2930
- */
2931
- current: number;
2932
- /**
2933
- * 大小(字节)或分页容量 / byte size or page size。
2934
- */
2935
- size: number;
2936
- /**
2937
- * 字段 total / total field。
2938
- */
2939
- total: number;
2940
- /**
2941
- * 记录列表 / records。
2942
- */
2943
- records: Array<SqlQueryResultRow>;
2944
- }
2945
- /**
2946
- * SqlQueryResultRow 的公开协议结构。 / Public contract for sql query result row.
2947
- * @export
2948
- * @interface SqlQueryResultRow
2949
- */
2950
- export interface SqlQueryResultRow {
2951
- /**
2952
- * 字段 values / values field。
2953
- */
2954
- values: Array<string | null>;
2955
- }
2956
- /**
2957
- * SqlResultColumnSchema 的公开协议结构。 / Public contract for sql result column schema.
2958
- * @export
2959
- * @interface SqlResultColumnSchema
2960
- */
2961
- export interface SqlResultColumnSchema {
2962
- /**
2963
- * 字段 name / name field。
2964
- */
2965
- name: string;
2966
- /**
2967
- * 类型判别值 / type discriminator。
2968
- */
2969
- type: string;
2970
- /**
2971
- * 字段 nullable / nullable field。
2972
- */
2973
- nullable: boolean;
2974
- /**
2975
- * 字段 precision / precision field。
2976
- */
2977
- precision?: number | null;
2978
- /**
2979
- * 字段 scale / scale field。
2980
- */
2981
- scale?: number | null;
2982
- }
2983
- /**
2984
- * StringChartColumn 的公开协议结构。 / Public contract for string chart column.
2985
- * @export
2986
- * @interface StringChartColumn
2987
- */
2988
- export interface StringChartColumn {
2989
- /**
2990
- * 字段 name / name field。
2991
- */
2992
- name: string;
2993
- /**
2994
- * 类型判别值 / type discriminator。
2995
- */
2996
- type: StringChartColumnTypeEnum;
2997
- /**
2998
- * 字段 values / values field。
2999
- */
3000
- values: Array<string | null>;
3001
- }
3002
- /**
3003
- * @export
3004
- */
3005
- export declare const StringChartColumnTypeEnum: {
3006
- readonly String: "STRING";
3007
- };
3008
- export type StringChartColumnTypeEnum = typeof StringChartColumnTypeEnum[keyof typeof StringChartColumnTypeEnum];
3009
- /**
3010
- * SystemChatMessage 的公开协议结构。 / Public contract for system chat message.
3011
- * @export
3012
- * @interface SystemChatMessage
3013
- */
3014
- export interface SystemChatMessage {
3015
- /**
3016
- * 类型判别值 / type discriminator。
3017
- */
3018
- type: SystemChatMessageTypeEnum;
3019
- /**
3020
- * 字段 text / text field。
3021
- */
3022
- text: string;
3023
- /**
3024
- * 字段 metadataRawJson / metadata raw json field。
3025
- */
3026
- metadataRawJson?: string | null;
3027
- }
3028
- /**
3029
- * @export
3030
- */
3031
- export declare const SystemChatMessageTypeEnum: {
3032
- readonly System: "SYSTEM";
3033
- };
3034
- export type SystemChatMessageTypeEnum = typeof SystemChatMessageTypeEnum[keyof typeof SystemChatMessageTypeEnum];
3035
- /**
3036
- * TaskProgressExtensionContent 的公开协议结构。 / Public contract for task progress extension content.
3037
- * @export
3038
- * @interface TaskProgressExtensionContent
3039
- */
3040
- export interface TaskProgressExtensionContent {
3041
- /**
3042
- * 字段 action / action field。
3043
- */
3044
- action: string;
3045
- /**
3046
- * 字段 currentTaskId / current task id field。
3047
- */
3048
- currentTaskId?: string | null;
3049
- /**
3050
- * 字段 currentTaskStatus / current task status field。
3051
- */
3052
- currentTaskStatus?: string | null;
3053
- /**
3054
- * 字段 archived / archived field。
3055
- */
3056
- archived: boolean;
3057
- /**
3058
- * 字段 total / total field。
3059
- */
3060
- total: number;
3061
- /**
3062
- * 字段 pending / pending field。
3063
- */
3064
- pending: number;
3065
- /**
3066
- * 字段 inProgress / in progress field。
3067
- */
3068
- inProgress: number;
3069
- /**
3070
- * 字段 completed / completed field。
3071
- */
3072
- completed: number;
3073
- /**
3074
- * 字段 progressPercent / progress percent field。
3075
- */
3076
- progressPercent: number;
3077
- /**
3078
- * 字段 tasks / tasks field。
3079
- */
3080
- tasks: Array<TaskSummary>;
3081
- }
3082
- /**
3083
- * TaskProgressExtensionToolExtension 的公开协议结构。 / Public contract for task progress extension tool extension.
3084
- * @export
3085
- * @interface TaskProgressExtensionToolExtension
3086
- */
3087
- export interface TaskProgressExtensionToolExtension {
3088
- /**
3089
- * 扩展类别判别值 / extension category discriminator。
3090
- */
3091
- category: TaskProgressExtensionToolExtensionCategoryEnum;
3092
- /**
3093
- * 与类别对应的强类型内容 / strongly typed content for the category。
3094
- */
3095
- content: TaskProgressExtensionContent;
3096
- /**
3097
- * 是否使用独立视图渲染 / whether to use a dedicated view。
3098
- */
3099
- specialRender: boolean;
3100
- }
3101
- /**
3102
- * @export
3103
- */
3104
- export declare const TaskProgressExtensionToolExtensionCategoryEnum: {
3105
- readonly TaskProgress: "taskProgress";
3106
- };
3107
- export type TaskProgressExtensionToolExtensionCategoryEnum = typeof TaskProgressExtensionToolExtensionCategoryEnum[keyof typeof TaskProgressExtensionToolExtensionCategoryEnum];
3108
- /**
3109
- * TaskSummary 的公开协议结构。 / Public contract for task summary.
3110
- * @export
3111
- * @interface TaskSummary
3112
- */
3113
- export interface TaskSummary {
3114
- /**
3115
- * 字段 id / id field。
3116
- */
3117
- id: string;
3118
- /**
3119
- * 字段 subject / subject field。
3120
- */
3121
- subject: string;
3122
- /**
3123
- * 字段 activeForm / active form field。
3124
- */
3125
- activeForm?: string | null;
3126
- /**
3127
- * 当前状态 / current status。
3128
- */
3129
- status: string;
3130
- /**
3131
- * 字段 blocks / blocks field。
3132
- */
3133
- blocks: Array<string>;
3134
- /**
3135
- * 字段 blockedBy / blocked by field。
3136
- */
3137
- blockedBy: Array<string>;
3138
- }
3139
- /**
3140
- * ToolCall 的公开协议结构。 / Public contract for tool call.
3141
- * @export
3142
- * @interface ToolCall
3143
- */
3144
- export interface ToolCall {
3145
- /**
3146
- * 字段 id / id field。
3147
- */
3148
- id: string;
3149
- /**
3150
- * 类型判别值 / type discriminator。
3151
- */
3152
- type: string;
3153
- /**
3154
- * 字段 name / name field。
3155
- */
3156
- name: string;
3157
- /**
3158
- * 字段 arguments / arguments field。
3159
- */
3160
- arguments: string;
3161
- }
3162
- /**
3163
- * @type ToolExtension
3164
- * ToolExtension 的公开协议结构。 / Public contract for tool extension.
3165
- * @export
3166
- */
3167
- export type ToolExtension = {
3168
- category: 'askUserQuestion';
3169
- } & AskUserQuestionExtensionToolExtension | {
3170
- category: 'imageGeneration';
3171
- } & ImageGenerationExtensionToolExtension | {
3172
- category: 'jsRunScript';
3173
- } & JsRunScriptExtensionToolExtension | {
3174
- category: 'jsRunScriptResult';
3175
- } & JsRunScriptResultExtensionToolExtension | {
3176
- category: 'mathFormula';
3177
- } & MathFormulaExtensionToolExtension | {
3178
- category: 'mathResult';
3179
- } & MathResultExtensionToolExtension | {
3180
- category: 'planApproval';
3181
- } & PlanApprovalExtensionToolExtension | {
3182
- category: 'skillResource';
3183
- } & SkillResourceExtensionToolExtension | {
3184
- category: 'sqlChartResult';
3185
- } & SqlChartResultExtensionToolExtension | {
3186
- category: 'sqlQuery';
3187
- } & SqlQueryExtensionToolExtension | {
3188
- category: 'sqlQueryResult';
3189
- } & SqlQueryResultExtensionToolExtension | {
3190
- category: 'taskProgress';
3191
- } & TaskProgressExtensionToolExtension;
3192
- /**
3193
- * ToolResponse 的公开协议结构。 / Public contract for tool response.
3194
- * @export
3195
- * @interface ToolResponse
3196
- */
3197
- export interface ToolResponse {
3198
- /**
3199
- * 字段 id / id field。
3200
- */
3201
- id: string;
3202
- /**
3203
- * 字段 name / name field。
3204
- */
3205
- name: string;
3206
- /**
3207
- * 当前状态 / current status。
3208
- */
3209
- status: string;
3210
- /**
3211
- * 字段 responseData / response data field。
3212
- */
3213
- responseData: string;
3214
- /**
3215
- * 字段 metadataRawJson / metadata raw json field。
3216
- */
3217
- metadataRawJson: string;
3218
- }
3219
- /**
3220
- * ToolResponseChatMessage 的公开协议结构。 / Public contract for tool response chat message.
3221
- * @export
3222
- * @interface ToolResponseChatMessage
3223
- */
3224
- export interface ToolResponseChatMessage {
3225
- /**
3226
- * 类型判别值 / type discriminator。
3227
- */
3228
- type: ToolResponseChatMessageTypeEnum;
3229
- /**
3230
- * 字段 responses / responses field。
3231
- */
3232
- responses: Array<ToolResponse>;
3233
- /**
3234
- * 字段 metadataRawJson / metadata raw json field。
3235
- */
3236
- metadataRawJson?: string | null;
3237
- }
3238
- /**
3239
- * @export
3240
- */
3241
- export declare const ToolResponseChatMessageTypeEnum: {
3242
- readonly Tool: "TOOL";
3243
- };
3244
- export type ToolResponseChatMessageTypeEnum = typeof ToolResponseChatMessageTypeEnum[keyof typeof ToolResponseChatMessageTypeEnum];
3245
- /**
3246
- * UnknownAiChatBriefEvent 的公开协议结构。 / Public contract for unknown ai chat brief event.
3247
- * @export
3248
- * @interface UnknownAiChatBriefEvent
3249
- */
3250
- export interface UnknownAiChatBriefEvent {
3251
- /**
3252
- * 类型判别值 / type discriminator。
3253
- */
3254
- type: string;
3255
- /**
3256
- * 未识别对象的原始 JSON / raw JSON for an unrecognized object。
3257
- */
3258
- rawJson: string;
3259
- }
3260
- /**
3261
- * UnknownToolExtension 的公开协议结构。 / Public contract for unknown tool extension.
3262
- * @export
3263
- * @interface UnknownToolExtension
3264
- */
3265
- export interface UnknownToolExtension {
3266
- /**
3267
- * 扩展类别判别值 / extension category discriminator。
3268
- */
3269
- category: string;
3270
- /**
3271
- * 未识别对象的原始 JSON / raw JSON for an unrecognized object。
3272
- */
3273
- rawJson: string;
3274
- }
3275
- /**
3276
- * Usage 的公开协议结构。 / Public contract for usage.
3277
- * @export
3278
- * @interface Usage
3279
- */
3280
- export interface Usage {
3281
- /**
3282
- * 输入 Token 数 / input token count。
3283
- */
3284
- inputTokens: number;
3285
- /**
3286
- * 输出 Token 数 / output token count。
3287
- */
3288
- outputTokens: number;
3289
- /**
3290
- * 总 Token 数 / total token count。
3291
- */
3292
- readonly totalTokens: number;
3293
- /**
3294
- * 字段 inputTokenBreakdown / input token breakdown field。
3295
- */
3296
- inputTokenBreakdown?: InputTokenBreakdown | null;
3297
- /**
3298
- * 字段 reasoningTokens / reasoning tokens field。
3299
- */
3300
- reasoningTokens?: number | null;
3301
- /**
3302
- * 字段 cacheHitRate / cache hit rate field。
3303
- */
3304
- readonly cacheHitRate?: number | null;
3305
- /**
3306
- * 字段 inputBreakdownCoverageRate / input breakdown coverage rate field。
3307
- */
3308
- readonly inputBreakdownCoverageRate?: number | null;
3309
- }
3310
- /**
3311
- * UserChatMessage 的公开协议结构。 / Public contract for user chat message.
3312
- * @export
3313
- * @interface UserChatMessage
3314
- */
3315
- export interface UserChatMessage {
3316
- /**
3317
- * 类型判别值 / type discriminator。
3318
- */
3319
- type: UserChatMessageTypeEnum;
3320
- /**
3321
- * 字段 text / text field。
3322
- */
3323
- text: string;
3324
- /**
3325
- * 字段 multimodalAttachments / multimodal attachments field。
3326
- */
3327
- multimodalAttachments?: Array<MultimodalMediaAttachment> | null;
3328
- /**
3329
- * 字段 attachments / attachments field。
3330
- */
3331
- attachments?: Array<MediaAttachment> | null;
3332
- /**
3333
- * 字段 metadataRawJson / metadata raw json field。
3334
- */
3335
- metadataRawJson?: string | null;
3336
- }
3337
- /**
3338
- * @export
3339
- */
3340
- export declare const UserChatMessageTypeEnum: {
3341
- readonly User: "USER";
3342
- };
3343
- export type UserChatMessageTypeEnum = typeof UserChatMessageTypeEnum[keyof typeof UserChatMessageTypeEnum];
3344
- /**
3345
- * UserInputAnswerInput 的公开协议结构。 / Public contract for user input answer input.
3346
- * @export
3347
- * @interface UserInputAnswerInput
3348
- */
3349
- export interface UserInputAnswerInput {
3350
- /**
3351
- * 会话 ID / conversation ID。
3352
- */
3353
- conversationId: string;
3354
- /**
3355
- * 消息 ID / message ID。
3356
- */
3357
- messageId: string;
3358
- /**
3359
- * 字段 questionId / question id field。
3360
- */
3361
- questionId: string;
3362
- /**
3363
- * 字段 selectedOptions / selected options field。
3364
- */
3365
- selectedOptions: Array<string>;
3366
- /**
3367
- * 字段 customInput / custom input field。
3368
- */
3369
- customInput?: string | null;
3370
- }
3371
- /**
3372
- * UserInputStatus 的公开协议结构。 / Public contract for user input status.
3373
- * @export
3374
- * @interface UserInputStatus
3375
- */
3376
- export interface UserInputStatus {
3377
- /**
3378
- * 字段 pending / pending field。
3379
- */
3380
- pending: boolean;
3381
- /**
3382
- * 字段 question / question field。
3383
- */
3384
- question?: string | null;
3385
- /**
3386
- * 字段 questionDetails / question details field。
3387
- */
3388
- questionDetails?: string | null;
3389
- /**
3390
- * 字段 options / options field。
3391
- */
3392
- options?: Array<string> | null;
3393
- /**
3394
- * 字段 multiple / multiple field。
3395
- */
3396
- multiple?: boolean | null;
3397
- }
3398
- /**
3399
- * ValidationError 的公开协议结构。 / Public contract for validation error.
3400
- * @export
3401
- * @interface ValidationError
3402
- */
3403
- export interface ValidationError {
3404
- /**
3405
- * 字段 code / code field。
3406
- */
3407
- code: string;
3408
- /**
3409
- * 消息正文 / message text。
3410
- */
3411
- message: string;
3412
- /**
3413
- * 字段 fields / fields field。
3414
- */
3415
- fields: Array<FieldError>;
3416
- }
3417
- /**
3418
- * VariableBinding 的公开协议结构。 / Public contract for variable binding.
3419
- * @export
3420
- * @interface VariableBinding
3421
- */
3422
- export interface VariableBinding {
3423
- /**
3424
- * 字段 name / name field。
3425
- */
3426
- name: string;
3427
- /**
3428
- * 字段 value / value field。
3429
- */
3430
- value: string;
3431
- }
3432
- /**
3433
- * WorkspaceArtifactList 的公开协议结构。 / Public contract for workspace artifact list.
3434
- * @export
3435
- * @interface WorkspaceArtifactList
3436
- */
3437
- export interface WorkspaceArtifactList {
3438
- /**
3439
- * 字段 fileArtifacts / file artifacts field。
3440
- */
3441
- fileArtifacts: WorkspaceFilePage;
3442
- /**
3443
- * 字段 nonFileArtifacts / non file artifacts field。
3444
- */
3445
- nonFileArtifacts: Array<WorkspaceNonFileArtifact>;
3446
- }
3447
- /**
3448
- * WorkspaceFile 的公开协议结构。 / Public contract for workspace file.
3449
- * @export
3450
- * @interface WorkspaceFile
3451
- */
3452
- export interface WorkspaceFile {
3453
- /**
3454
- * 字段 relativePath / relative path field。
3455
- */
3456
- relativePath: string;
3457
- /**
3458
- * 大小(字节)或分页容量 / byte size or page size。
3459
- */
3460
- size: number;
3461
- /**
3462
- * 文件名 / file name。
3463
- */
3464
- fileName: string;
3465
- /**
3466
- * MIME 类型 / MIME type。
3467
- */
3468
- mimeType: string;
3469
- /**
3470
- * 最后更新时间 / last update time。
3471
- */
3472
- lastUpdateTime: string;
3473
- }
3474
- /**
3475
- * WorkspaceFilePage 的公开协议结构。 / Public contract for workspace file page.
3476
- * @export
3477
- * @interface WorkspaceFilePage
3478
- */
3479
- export interface WorkspaceFilePage {
3480
- /**
3481
- * 记录列表 / records。
3482
- */
3483
- records: Array<WorkspaceFile>;
3484
- /**
3485
- * 分页信息 / page metadata。
3486
- */
3487
- page: PageInfo;
3488
- }
3489
- /**
3490
- * WorkspaceNonFileArtifact 的公开协议结构。 / Public contract for workspace non file artifact.
3491
- * @export
3492
- * @interface WorkspaceNonFileArtifact
3493
- */
3494
- export interface WorkspaceNonFileArtifact {
3495
- /**
3496
- * 字段 artifactId / artifact id field。
3497
- */
3498
- artifactId: string;
3499
- /**
3500
- * 字段 kind / kind field。
3501
- */
3502
- kind: string;
3503
- /**
3504
- * 标题 / title。
3505
- */
3506
- title: string;
3507
- /**
3508
- * 可读说明 / human-readable description。
3509
- */
3510
- description?: string | null;
3511
- /**
3512
- * 最后更新时间 / last update time。
3513
- */
3514
- lastUpdateTime: string;
3515
- /**
3516
- * 字段 previewUrl / preview url field。
3517
- */
3518
- previewUrl?: string | null;
3519
- }
1
+ export * from './AgentAsyncTaskSync';
2
+ export * from './AgentFile';
3
+ export * from './AgentGoal';
4
+ export * from './AgentGoalConfig';
5
+ export * from './AgentGoalHistory';
6
+ export * from './AgentGoalRefInput';
7
+ export * from './AgentGoalView';
8
+ export * from './AgentsConfig';
9
+ export * from './AiChatAwaitingInputBriefEvent';
10
+ export * from './AiChatBriefEvent';
11
+ export * from './AiChatBriefEventList';
12
+ export * from './AiChatCompactorWarningBriefEvent';
13
+ export * from './AiChatCompressorContextEndBriefEvent';
14
+ export * from './AiChatCompressorContextStartBriefEvent';
15
+ export * from './AiChatEndBriefEvent';
16
+ export * from './AiChatErrorBriefEvent';
17
+ export * from './AiChatEventsBatch';
18
+ export * from './AiChatEventsBatchInput';
19
+ export * from './AiChatEventsBatchSkipped';
20
+ export * from './AiChatFileRef';
21
+ export * from './AiChatInput';
22
+ export * from './AiChatManualInterruptBriefEvent';
23
+ export * from './AiChatMessageBriefEvent';
24
+ export * from './AiChatMessageEvent';
25
+ export * from './AiChatStartBriefEvent';
26
+ export * from './AiChatStreamInput';
27
+ export * from './AiChatSubAgentCallBriefEvent';
28
+ export * from './AiChatSubmission';
29
+ export * from './AiChatThinkBriefEvent';
30
+ export * from './AiChatToolExecutionBriefEvent';
31
+ export * from './AiChatUserQueryBriefEvent';
32
+ export * from './ArtifactInfo';
33
+ export * from './AskUserQuestionExtensionContent';
34
+ export * from './AskUserQuestionExtensionToolExtension';
35
+ export * from './AskUserQuestionOption';
36
+ export * from './AsyncTask';
37
+ export * from './AsyncTaskPage';
38
+ export * from './AttachmentExtension';
39
+ export * from './BooleanChartColumn';
40
+ export * from './ChartColumnData';
41
+ export * from './ChartNumberFormat';
42
+ export * from './ChartQualitySummary';
43
+ export * from './ChartSeries';
44
+ export * from './ChartSpec';
45
+ export * from './ChartTimeContext';
46
+ export * from './ChatModelConfig';
47
+ export * from './ChatModelSpec';
48
+ export * from './ChatStreamProbeEvent';
49
+ export * from './ChatStreamProbeInput';
50
+ export * from './CitationMetadata';
51
+ export * from './CitationMetadataList';
52
+ export * from './CodeMessage';
53
+ export * from './ConfirmUploadInput';
54
+ export * from './ConversationActivity';
55
+ export * from './ConversationActivityBatchInput';
56
+ export * from './ConversationActivityList';
57
+ export * from './ConversationConfig';
58
+ export * from './ConversationContextUsage';
59
+ export * from './ConversationGroup';
60
+ export * from './ConversationGroupDeleted';
61
+ export * from './ConversationGroupList';
62
+ export * from './ConversationGroupNameInput';
63
+ export * from './ConversationIds';
64
+ export * from './ConversationMessage';
65
+ export * from './ConversationMessagePage';
66
+ export * from './ConversationMessageSync';
67
+ export * from './ConversationMetadata';
68
+ export * from './ConversationReadReceipt';
69
+ export * from './ConversationReadReceiptInput';
70
+ export * from './ConversationStats';
71
+ export * from './ConversationStatusInput';
72
+ export * from './ConversationSummary';
73
+ export * from './ConversationSummaryList';
74
+ export * from './ConversationTitle';
75
+ export * from './ConversationTitleInput';
76
+ export * from './ConversationUserMessage';
77
+ export * from './CreateFileInput';
78
+ export * from './DecimalChartColumn';
79
+ export * from './DefaultModel';
80
+ export * from './DoubleChartColumn';
81
+ export * from './EditAgentGoalInput';
82
+ export * from './FieldError';
83
+ export * from './FileExists';
84
+ export * from './GeneratePreSignedUrlInput';
85
+ export * from './GeneratePreSignedUrlOutput';
86
+ export * from './ImageGenerationExtensionContent';
87
+ export * from './ImageGenerationExtensionToolExtension';
88
+ export * from './InputTokenBreakdown';
89
+ export * from './InstantChartColumn';
90
+ export * from './IntegerChartColumn';
91
+ export * from './JsRunScriptExtensionContent';
92
+ export * from './JsRunScriptExtensionToolExtension';
93
+ export * from './JsRunScriptResultExtensionContent';
94
+ export * from './JsRunScriptResultExtensionToolExtension';
95
+ export * from './LocalDateChartColumn';
96
+ export * from './LocalDateTimeChartColumn';
97
+ export * from './LocalTimeChartColumn';
98
+ export * from './MathFormulaExtensionContent';
99
+ export * from './MathFormulaExtensionToolExtension';
100
+ export * from './MathResultExtensionContent';
101
+ export * from './MathResultExtensionToolExtension';
102
+ export * from './MediaAttachment';
103
+ export * from './ModelConfig';
104
+ export * from './ModelKeyGroup';
105
+ export * from './MultimodalMediaAttachment';
106
+ export * from './OpenApiToken';
107
+ export * from './OperationResult';
108
+ export * from './PageInfo';
109
+ export * from './PlanApprovalExtensionContent';
110
+ export * from './PlanApprovalExtensionToolExtension';
111
+ export * from './PlanApprovalInput';
112
+ export * from './PlanStatus';
113
+ export * from './PreSignedReadUrl';
114
+ export * from './ReturnedReference';
115
+ export * from './SkillResourceExtensionContent';
116
+ export * from './SkillResourceExtensionToolExtension';
117
+ export * from './SqlChartDataset';
118
+ export * from './SqlChartResultExtensionContent';
119
+ export * from './SqlChartResultExtensionToolExtension';
120
+ export * from './SqlQueryExtensionContent';
121
+ export * from './SqlQueryExtensionToolExtension';
122
+ export * from './SqlQueryResultExtensionContent';
123
+ export * from './SqlQueryResultExtensionToolExtension';
124
+ export * from './SqlQueryResultPage';
125
+ export * from './SqlQueryResultRow';
126
+ export * from './SqlResultColumnSchema';
127
+ export * from './StringChartColumn';
128
+ export * from './SubagentTask';
129
+ export * from './SubagentTaskArtifact';
130
+ export * from './SubagentTaskPage';
131
+ export * from './SubagentTaskResult';
132
+ export * from './SubagentTaskSync';
133
+ export * from './TaskProgressExtensionContent';
134
+ export * from './TaskProgressExtensionToolExtension';
135
+ export * from './TaskSummary';
136
+ export * from './ToolExtension';
137
+ export * from './UnknownAiChatBriefEvent';
138
+ export * from './UnknownToolExtension';
139
+ export * from './UpdateConversationGroupInput';
140
+ export * from './Usage';
141
+ export * from './UserInputAnswerInput';
142
+ export * from './UserInputStatus';
143
+ export * from './ValidationError';
144
+ export * from './VariableBinding';
145
+ export * from './WorkspaceArtifactList';
146
+ export * from './WorkspaceFile';
147
+ export * from './WorkspaceFilePage';
148
+ export * from './WorkspaceNonFileArtifact';