@downcity/plugins 1.0.150 → 1.0.153

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 (424) hide show
  1. package/bin/BuiltinPlugins.d.ts +1 -1
  2. package/bin/BuiltinPlugins.d.ts.map +1 -1
  3. package/bin/asr/Plugin.d.ts +4 -4
  4. package/bin/asr/Plugin.d.ts.map +1 -1
  5. package/bin/asr/Plugin.js +2 -2
  6. package/bin/asr/Plugin.js.map +1 -1
  7. package/bin/asr/types/AsrPlugin.d.ts +1 -1
  8. package/bin/asr/types/AsrPlugin.d.ts.map +1 -1
  9. package/bin/auth/runtime/AuthorizationConfig.d.ts +1 -1
  10. package/bin/auth/runtime/AuthorizationConfig.d.ts.map +1 -1
  11. package/bin/auth/runtime/AuthorizationPolicy.d.ts +1 -1
  12. package/bin/auth/runtime/AuthorizationPolicy.d.ts.map +1 -1
  13. package/bin/auth/runtime/AuthorizationStore.d.ts +1 -1
  14. package/bin/auth/runtime/AuthorizationStore.d.ts.map +1 -1
  15. package/bin/chat/Action.d.ts +1 -1
  16. package/bin/chat/Action.d.ts.map +1 -1
  17. package/bin/chat/Action.js +1 -1
  18. package/bin/chat/Action.js.map +1 -1
  19. package/bin/chat/ChatPlugin.d.ts +4 -4
  20. package/bin/chat/ChatPlugin.d.ts.map +1 -1
  21. package/bin/chat/ChatPlugin.js +1 -1
  22. package/bin/chat/ChatPlugin.js.map +1 -1
  23. package/bin/chat/accounts/Crypto.js +1 -1
  24. package/bin/chat/accounts/Crypto.js.map +1 -1
  25. package/bin/chat/accounts/Store.d.ts +1 -1
  26. package/bin/chat/accounts/Store.d.ts.map +1 -1
  27. package/bin/chat/accounts/Store.js +1 -1
  28. package/bin/chat/accounts/Store.js.map +1 -1
  29. package/bin/chat/channels/BaseChatChannel.d.ts +2 -2
  30. package/bin/chat/channels/BaseChatChannel.d.ts.map +1 -1
  31. package/bin/chat/channels/BaseChatChannelQueue.d.ts +1 -1
  32. package/bin/chat/channels/BaseChatChannelQueue.d.ts.map +1 -1
  33. package/bin/chat/channels/BaseChatChannelSupport.d.ts +3 -3
  34. package/bin/chat/channels/BaseChatChannelSupport.d.ts.map +1 -1
  35. package/bin/chat/channels/RuntimeChannel.d.ts +2 -2
  36. package/bin/chat/channels/RuntimeChannel.d.ts.map +1 -1
  37. package/bin/chat/channels/feishu/Feishu.d.ts +1 -1
  38. package/bin/chat/channels/feishu/Feishu.d.ts.map +1 -1
  39. package/bin/chat/channels/feishu/FeishuMessageHandler.d.ts +3 -3
  40. package/bin/chat/channels/feishu/FeishuMessageHandler.d.ts.map +1 -1
  41. package/bin/chat/channels/feishu/FeishuMessageHandler.js +1 -1
  42. package/bin/chat/channels/feishu/FeishuMessageHandler.js.map +1 -1
  43. package/bin/chat/channels/feishu/FeishuPlatformClient.d.ts +1 -1
  44. package/bin/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -1
  45. package/bin/chat/channels/feishu/FeishuPlatformLookup.d.ts +1 -1
  46. package/bin/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -1
  47. package/bin/chat/channels/feishu/Shared.js +1 -1
  48. package/bin/chat/channels/feishu/Shared.js.map +1 -1
  49. package/bin/chat/channels/qq/QQ.d.ts +1 -1
  50. package/bin/chat/channels/qq/QQ.d.ts.map +1 -1
  51. package/bin/chat/channels/qq/QQ.js +1 -1
  52. package/bin/chat/channels/qq/QQ.js.map +1 -1
  53. package/bin/chat/channels/qq/QQEventCapture.d.ts +1 -1
  54. package/bin/chat/channels/qq/QQEventCapture.d.ts.map +1 -1
  55. package/bin/chat/channels/qq/QQGatewayAuth.d.ts +1 -1
  56. package/bin/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -1
  57. package/bin/chat/channels/qq/QQGatewayClient.d.ts +1 -1
  58. package/bin/chat/channels/qq/QQGatewayClient.d.ts.map +1 -1
  59. package/bin/chat/channels/qq/QQGatewayConnection.d.ts +1 -1
  60. package/bin/chat/channels/qq/QQGatewayConnection.d.ts.map +1 -1
  61. package/bin/chat/channels/qq/QQGatewayHeartbeat.d.ts +1 -1
  62. package/bin/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +1 -1
  63. package/bin/chat/channels/qq/QQGatewayProtocol.d.ts +1 -1
  64. package/bin/chat/channels/qq/QQGatewayProtocol.d.ts.map +1 -1
  65. package/bin/chat/channels/qq/QQGatewaySend.d.ts +1 -1
  66. package/bin/chat/channels/qq/QQGatewaySend.d.ts.map +1 -1
  67. package/bin/chat/channels/qq/QQInboundDedupe.d.ts +1 -1
  68. package/bin/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -1
  69. package/bin/chat/channels/qq/QQMessageHandler.d.ts +2 -2
  70. package/bin/chat/channels/qq/QQMessageHandler.d.ts.map +1 -1
  71. package/bin/chat/channels/qq/QQSupport.d.ts +2 -2
  72. package/bin/chat/channels/qq/QQSupport.d.ts.map +1 -1
  73. package/bin/chat/channels/qq/types/QqChannel.d.ts +1 -1
  74. package/bin/chat/channels/qq/types/QqChannel.d.ts.map +1 -1
  75. package/bin/chat/channels/telegram/ApiClient.d.ts +1 -1
  76. package/bin/chat/channels/telegram/ApiClient.d.ts.map +1 -1
  77. package/bin/chat/channels/telegram/Bot.d.ts +1 -1
  78. package/bin/chat/channels/telegram/Bot.d.ts.map +1 -1
  79. package/bin/chat/channels/telegram/Handlers.d.ts +1 -1
  80. package/bin/chat/channels/telegram/Handlers.d.ts.map +1 -1
  81. package/bin/chat/channels/telegram/Shared.js +1 -1
  82. package/bin/chat/channels/telegram/Shared.js.map +1 -1
  83. package/bin/chat/channels/telegram/TelegramMessageHandler.d.ts +3 -3
  84. package/bin/chat/channels/telegram/TelegramMessageHandler.d.ts.map +1 -1
  85. package/bin/chat/channels/telegram/TelegramMessageHandler.js +1 -1
  86. package/bin/chat/channels/telegram/TelegramMessageHandler.js.map +1 -1
  87. package/bin/chat/channels/telegram/TelegramPendingUpdates.d.ts +1 -1
  88. package/bin/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +1 -1
  89. package/bin/chat/channels/telegram/TelegramPlatformClient.d.ts +1 -1
  90. package/bin/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -1
  91. package/bin/chat/runtime/ChannelContextStore.d.ts +1 -1
  92. package/bin/chat/runtime/ChannelContextStore.d.ts.map +1 -1
  93. package/bin/chat/runtime/ChannelContextStore.js +1 -1
  94. package/bin/chat/runtime/ChannelContextStore.js.map +1 -1
  95. package/bin/chat/runtime/ChatActionExecution.d.ts +2 -2
  96. package/bin/chat/runtime/ChatActionExecution.d.ts.map +1 -1
  97. package/bin/chat/runtime/ChatActionInput.d.ts +1 -1
  98. package/bin/chat/runtime/ChatActionInput.d.ts.map +1 -1
  99. package/bin/chat/runtime/ChatActionInputSupport.d.ts +1 -1
  100. package/bin/chat/runtime/ChatActionInputSupport.d.ts.map +1 -1
  101. package/bin/chat/runtime/ChatAuthorizationRuntime.d.ts +1 -1
  102. package/bin/chat/runtime/ChatAuthorizationRuntime.d.ts.map +1 -1
  103. package/bin/chat/runtime/ChatAuthorizationRuntime.js +1 -1
  104. package/bin/chat/runtime/ChatAuthorizationRuntime.js.map +1 -1
  105. package/bin/chat/runtime/ChatChannelActions.d.ts +3 -3
  106. package/bin/chat/runtime/ChatChannelActions.d.ts.map +1 -1
  107. package/bin/chat/runtime/ChatChannelConfig.d.ts +3 -3
  108. package/bin/chat/runtime/ChatChannelConfig.d.ts.map +1 -1
  109. package/bin/chat/runtime/ChatChannelCore.d.ts +2 -2
  110. package/bin/chat/runtime/ChatChannelCore.d.ts.map +1 -1
  111. package/bin/chat/runtime/ChatChannelLifecycle.d.ts +1 -1
  112. package/bin/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -1
  113. package/bin/chat/runtime/ChatHistoryStore.d.ts +2 -2
  114. package/bin/chat/runtime/ChatHistoryStore.d.ts.map +1 -1
  115. package/bin/chat/runtime/ChatHistoryStore.js +1 -1
  116. package/bin/chat/runtime/ChatHistoryStore.js.map +1 -1
  117. package/bin/chat/runtime/ChatIngressStore.d.ts +2 -2
  118. package/bin/chat/runtime/ChatIngressStore.d.ts.map +1 -1
  119. package/bin/chat/runtime/ChatMetaStore.d.ts +1 -1
  120. package/bin/chat/runtime/ChatMetaStore.d.ts.map +1 -1
  121. package/bin/chat/runtime/ChatPluginActionRegistry.d.ts +1 -1
  122. package/bin/chat/runtime/ChatPluginActionRegistry.d.ts.map +1 -1
  123. package/bin/chat/runtime/ChatPluginActionRegistry.js +1 -1
  124. package/bin/chat/runtime/ChatPluginActionRegistry.js.map +1 -1
  125. package/bin/chat/runtime/ChatPluginSystem.d.ts +1 -1
  126. package/bin/chat/runtime/ChatPluginSystem.d.ts.map +1 -1
  127. package/bin/chat/runtime/ChatQueueReplyDispatch.d.ts +2 -2
  128. package/bin/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -1
  129. package/bin/chat/runtime/ChatQueueStore.d.ts +1 -1
  130. package/bin/chat/runtime/ChatQueueStore.d.ts.map +1 -1
  131. package/bin/chat/runtime/ChatQueueWorker.d.ts +2 -2
  132. package/bin/chat/runtime/ChatQueueWorker.d.ts.map +1 -1
  133. package/bin/chat/runtime/ChatQueueWorker.js +1 -3
  134. package/bin/chat/runtime/ChatQueueWorker.js.map +1 -1
  135. package/bin/chat/runtime/ChatSendActionInput.d.ts +2 -2
  136. package/bin/chat/runtime/ChatSendActionInput.d.ts.map +1 -1
  137. package/bin/chat/runtime/ChatSendActionInput.js +1 -1
  138. package/bin/chat/runtime/ChatSendActionInput.js.map +1 -1
  139. package/bin/chat/runtime/ChatSendMetadata.d.ts +1 -1
  140. package/bin/chat/runtime/ChatSendMetadata.d.ts.map +1 -1
  141. package/bin/chat/runtime/ChatSession.d.ts +7 -11
  142. package/bin/chat/runtime/ChatSession.d.ts.map +1 -1
  143. package/bin/chat/runtime/ChatSession.js +1 -4
  144. package/bin/chat/runtime/ChatSession.js.map +1 -1
  145. package/bin/chat/runtime/ChatSessionContextComposer.d.ts +3 -3
  146. package/bin/chat/runtime/ChatSessionContextComposer.d.ts.map +1 -1
  147. package/bin/chat/runtime/ChatSessionContextComposer.js +2 -2
  148. package/bin/chat/runtime/ChatSessionContextComposer.js.map +1 -1
  149. package/bin/chat/runtime/ChatSessionDelete.d.ts +1 -1
  150. package/bin/chat/runtime/ChatSessionDelete.d.ts.map +1 -1
  151. package/bin/chat/runtime/ChatSessionDelete.js +0 -1
  152. package/bin/chat/runtime/ChatSessionDelete.js.map +1 -1
  153. package/bin/chat/runtime/ChatSessionTypes.d.ts +2 -2
  154. package/bin/chat/runtime/ChatSessionTypes.d.ts.map +1 -1
  155. package/bin/chat/runtime/ChatkeySend.d.ts +1 -1
  156. package/bin/chat/runtime/ChatkeySend.d.ts.map +1 -1
  157. package/bin/chat/runtime/DirectDispatchParser.js +1 -1
  158. package/bin/chat/runtime/DirectDispatchParser.js.map +1 -1
  159. package/bin/chat/runtime/EnqueueDispatch.d.ts +1 -1
  160. package/bin/chat/runtime/EnqueueDispatch.d.ts.map +1 -1
  161. package/bin/chat/runtime/InboundAugment.d.ts +1 -1
  162. package/bin/chat/runtime/InboundAugment.d.ts.map +1 -1
  163. package/bin/chat/runtime/PluginDispatch.d.ts +1 -1
  164. package/bin/chat/runtime/PluginDispatch.d.ts.map +1 -1
  165. package/bin/chat/runtime/QueuedUserMessage.js +1 -1
  166. package/bin/chat/runtime/QueuedUserMessage.js.map +1 -1
  167. package/bin/chat/runtime/ReplyContextFormatter.d.ts +1 -1
  168. package/bin/chat/runtime/ReplyContextFormatter.d.ts.map +1 -1
  169. package/bin/chat/runtime/ReplyDispatch.d.ts +1 -1
  170. package/bin/chat/runtime/ReplyDispatch.d.ts.map +1 -1
  171. package/bin/chat/runtime/SystemPrompt.d.ts +1 -1
  172. package/bin/chat/runtime/SystemPrompt.d.ts.map +1 -1
  173. package/bin/chat/runtime/SystemPrompt.js +1 -1
  174. package/bin/chat/runtime/SystemPrompt.js.map +1 -1
  175. package/bin/chat/types/ChannelAccount.d.ts +1 -1
  176. package/bin/chat/types/ChannelAccount.d.ts.map +1 -1
  177. package/bin/chat/types/ChatHistory.d.ts +1 -1
  178. package/bin/chat/types/ChatHistory.d.ts.map +1 -1
  179. package/bin/chat/types/ChatPluginActionPayload.d.ts +1 -1
  180. package/bin/chat/types/ChatPluginActionPayload.d.ts.map +1 -1
  181. package/bin/chat/types/ChatPluginOptions.d.ts +2 -2
  182. package/bin/chat/types/ChatPluginOptions.d.ts.map +1 -1
  183. package/bin/chat/types/ChatQueue.d.ts +1 -1
  184. package/bin/chat/types/ChatQueue.d.ts.map +1 -1
  185. package/bin/chat/types/DirectDispatch.d.ts +1 -1
  186. package/bin/chat/types/DirectDispatch.d.ts.map +1 -1
  187. package/bin/contact/Action.d.ts +3 -3
  188. package/bin/contact/Action.d.ts.map +1 -1
  189. package/bin/contact/Action.js +1 -1
  190. package/bin/contact/Action.js.map +1 -1
  191. package/bin/contact/ContactPlugin.d.ts +2 -2
  192. package/bin/contact/ContactPlugin.d.ts.map +1 -1
  193. package/bin/contact/ContactPlugin.js +1 -1
  194. package/bin/contact/ContactPlugin.js.map +1 -1
  195. package/bin/contact/runtime/ChatRuntime.d.ts +1 -1
  196. package/bin/contact/runtime/ChatRuntime.d.ts.map +1 -1
  197. package/bin/contact/runtime/ContactPayload.d.ts +1 -1
  198. package/bin/contact/runtime/ContactPayload.d.ts.map +1 -1
  199. package/bin/contact/runtime/RemoteClient.d.ts +1 -1
  200. package/bin/contact/runtime/RemoteClient.d.ts.map +1 -1
  201. package/bin/contact/runtime/ShareBundle.d.ts +1 -1
  202. package/bin/contact/runtime/ShareBundle.d.ts.map +1 -1
  203. package/bin/image/ImagePlugin.d.ts +6 -6
  204. package/bin/image/ImagePlugin.d.ts.map +1 -1
  205. package/bin/image/ImagePlugin.js +9 -9
  206. package/bin/image/ImagePlugin.js.map +1 -1
  207. package/bin/image/types/ImagePlugin.d.ts +2 -2
  208. package/bin/image/types/ImagePlugin.d.ts.map +1 -1
  209. package/bin/memory/Action.d.ts +3 -3
  210. package/bin/memory/Action.d.ts.map +1 -1
  211. package/bin/memory/MemoryPlugin.d.ts +3 -3
  212. package/bin/memory/MemoryPlugin.d.ts.map +1 -1
  213. package/bin/memory/MemoryPlugin.js +2 -2
  214. package/bin/memory/MemoryPlugin.js.map +1 -1
  215. package/bin/memory/runtime/Search.d.ts +1 -1
  216. package/bin/memory/runtime/Search.d.ts.map +1 -1
  217. package/bin/memory/runtime/Store.d.ts +1 -1
  218. package/bin/memory/runtime/Store.d.ts.map +1 -1
  219. package/bin/memory/runtime/SystemProvider.d.ts +1 -1
  220. package/bin/memory/runtime/SystemProvider.d.ts.map +1 -1
  221. package/bin/memory/runtime/Writer.d.ts +1 -1
  222. package/bin/memory/runtime/Writer.d.ts.map +1 -1
  223. package/bin/memory/types/Memory.d.ts +1 -1
  224. package/bin/memory/types/Memory.d.ts.map +1 -1
  225. package/bin/skill/Plugin.d.ts +1 -1
  226. package/bin/skill/Plugin.d.ts.map +1 -1
  227. package/bin/skill/Plugin.js +2 -2
  228. package/bin/skill/Plugin.js.map +1 -1
  229. package/bin/skill/runtime/SystemProvider.js +1 -1
  230. package/bin/skill/runtime/SystemProvider.js.map +1 -1
  231. package/bin/skill/types/SkillDefinition.d.ts +1 -1
  232. package/bin/skill/types/SkillDefinition.d.ts.map +1 -1
  233. package/bin/task/Action.d.ts +1 -1
  234. package/bin/task/Action.d.ts.map +1 -1
  235. package/bin/task/Scheduler.d.ts +1 -1
  236. package/bin/task/Scheduler.d.ts.map +1 -1
  237. package/bin/task/TaskPlugin.d.ts +3 -3
  238. package/bin/task/TaskPlugin.d.ts.map +1 -1
  239. package/bin/task/TaskPlugin.js +2 -2
  240. package/bin/task/TaskPlugin.js.map +1 -1
  241. package/bin/task/runtime/Model.d.ts +1 -1
  242. package/bin/task/runtime/Model.d.ts.map +1 -1
  243. package/bin/task/runtime/Runner.d.ts +1 -1
  244. package/bin/task/runtime/Runner.d.ts.map +1 -1
  245. package/bin/task/runtime/TaskActionExecution.d.ts +1 -1
  246. package/bin/task/runtime/TaskActionExecution.d.ts.map +1 -1
  247. package/bin/task/runtime/TaskActionInput.d.ts +1 -1
  248. package/bin/task/runtime/TaskActionInput.d.ts.map +1 -1
  249. package/bin/task/runtime/TaskActionInput.js +1 -1
  250. package/bin/task/runtime/TaskActionInput.js.map +1 -1
  251. package/bin/task/runtime/TaskPluginActionRegistry.d.ts +1 -1
  252. package/bin/task/runtime/TaskPluginActionRegistry.d.ts.map +1 -1
  253. package/bin/task/runtime/TaskPluginActionRegistry.js +1 -1
  254. package/bin/task/runtime/TaskPluginActionRegistry.js.map +1 -1
  255. package/bin/task/runtime/TaskRunChatDispatch.d.ts +1 -1
  256. package/bin/task/runtime/TaskRunChatDispatch.d.ts.map +1 -1
  257. package/bin/task/runtime/TaskRunnerRound.d.ts +3 -3
  258. package/bin/task/runtime/TaskRunnerRound.d.ts.map +1 -1
  259. package/bin/task/runtime/TaskRunnerRound.js +1 -1
  260. package/bin/task/runtime/TaskRunnerRound.js.map +1 -1
  261. package/bin/task/runtime/TaskRunnerScript.d.ts +1 -1
  262. package/bin/task/runtime/TaskRunnerScript.d.ts.map +1 -1
  263. package/bin/task/runtime/TaskRunnerSession.d.ts +2 -2
  264. package/bin/task/runtime/TaskRunnerSession.d.ts.map +1 -1
  265. package/bin/task/runtime/TaskRunnerSession.js +7 -7
  266. package/bin/task/runtime/TaskRunnerSession.js.map +1 -1
  267. package/bin/task/runtime/TaskRunnerTypes.d.ts +2 -2
  268. package/bin/task/runtime/TaskRunnerTypes.d.ts.map +1 -1
  269. package/bin/tts/Plugin.d.ts +4 -4
  270. package/bin/tts/Plugin.d.ts.map +1 -1
  271. package/bin/tts/Plugin.js +2 -2
  272. package/bin/tts/Plugin.js.map +1 -1
  273. package/bin/tts/types/TtsPlugin.d.ts +1 -1
  274. package/bin/tts/types/TtsPlugin.d.ts.map +1 -1
  275. package/bin/web/Plugin.d.ts +4 -4
  276. package/bin/web/Plugin.d.ts.map +1 -1
  277. package/bin/web/Plugin.js +2 -3
  278. package/bin/web/Plugin.js.map +1 -1
  279. package/bin/web/runtime/Install.d.ts +2 -2
  280. package/bin/web/runtime/Install.d.ts.map +1 -1
  281. package/bin/web/types/WebPlugin.d.ts +1 -1
  282. package/bin/web/types/WebPlugin.d.ts.map +1 -1
  283. package/bin/workboard/Plugin.d.ts +2 -2
  284. package/bin/workboard/Plugin.d.ts.map +1 -1
  285. package/bin/workboard/Plugin.js +2 -2
  286. package/bin/workboard/Plugin.js.map +1 -1
  287. package/bin/workboard/runtime/Collector.d.ts +1 -1
  288. package/bin/workboard/runtime/Collector.d.ts.map +1 -1
  289. package/bin/workboard/runtime/Collector.js +2 -2
  290. package/bin/workboard/runtime/Collector.js.map +1 -1
  291. package/bin/workboard/runtime/Normalizer.d.ts +3 -3
  292. package/bin/workboard/runtime/Normalizer.d.ts.map +1 -1
  293. package/bin/workboard/runtime/Normalizer.js +1 -1
  294. package/bin/workboard/runtime/Normalizer.js.map +1 -1
  295. package/bin/workboard/runtime/SessionSummary.d.ts +1 -1
  296. package/bin/workboard/runtime/SessionSummary.d.ts.map +1 -1
  297. package/bin/workboard/runtime/Store.d.ts +1 -1
  298. package/bin/workboard/runtime/Store.d.ts.map +1 -1
  299. package/package.json +3 -3
  300. package/src/BuiltinPlugins.ts +1 -1
  301. package/src/asr/Plugin.ts +4 -4
  302. package/src/asr/types/AsrPlugin.ts +1 -1
  303. package/src/auth/runtime/AuthorizationConfig.ts +1 -1
  304. package/src/auth/runtime/AuthorizationPolicy.ts +1 -1
  305. package/src/auth/runtime/AuthorizationStore.ts +1 -1
  306. package/src/chat/Action.ts +2 -2
  307. package/src/chat/ChatPlugin.ts +3 -3
  308. package/src/chat/accounts/ChannelAccountManager.ts +2 -2
  309. package/src/chat/accounts/Crypto.ts +1 -1
  310. package/src/chat/accounts/Store.ts +2 -2
  311. package/src/chat/channels/BaseChatChannel.ts +2 -2
  312. package/src/chat/channels/BaseChatChannelQueue.ts +2 -2
  313. package/src/chat/channels/BaseChatChannelSupport.ts +3 -3
  314. package/src/chat/channels/RuntimeChannel.ts +2 -2
  315. package/src/chat/channels/feishu/Feishu.ts +2 -2
  316. package/src/chat/channels/feishu/FeishuMessageHandler.ts +4 -4
  317. package/src/chat/channels/feishu/FeishuPlatformClient.ts +1 -1
  318. package/src/chat/channels/feishu/FeishuPlatformLookup.ts +1 -1
  319. package/src/chat/channels/feishu/Shared.ts +1 -1
  320. package/src/chat/channels/qq/QQ.ts +3 -3
  321. package/src/chat/channels/qq/QQEventCapture.ts +1 -1
  322. package/src/chat/channels/qq/QQGatewayAuth.ts +1 -1
  323. package/src/chat/channels/qq/QQGatewayClient.ts +2 -2
  324. package/src/chat/channels/qq/QQGatewayConnection.ts +1 -1
  325. package/src/chat/channels/qq/QQGatewayHeartbeat.ts +1 -1
  326. package/src/chat/channels/qq/QQGatewayProtocol.ts +1 -1
  327. package/src/chat/channels/qq/QQGatewaySend.ts +1 -1
  328. package/src/chat/channels/qq/QQGatewaySupport.ts +1 -1
  329. package/src/chat/channels/qq/QQInbound.ts +1 -1
  330. package/src/chat/channels/qq/QQInboundDedupe.ts +1 -1
  331. package/src/chat/channels/qq/QQMessageHandler.ts +2 -2
  332. package/src/chat/channels/qq/QQSendSupport.ts +1 -1
  333. package/src/chat/channels/qq/QQSupport.ts +2 -2
  334. package/src/chat/channels/qq/VoiceInput.ts +1 -1
  335. package/src/chat/channels/qq/types/QqChannel.ts +1 -1
  336. package/src/chat/channels/telegram/ApiClient.ts +1 -1
  337. package/src/chat/channels/telegram/Bot.ts +2 -2
  338. package/src/chat/channels/telegram/Handlers.ts +1 -1
  339. package/src/chat/channels/telegram/Shared.ts +1 -1
  340. package/src/chat/channels/telegram/StateStore.ts +1 -1
  341. package/src/chat/channels/telegram/TelegramMessageHandler.ts +4 -4
  342. package/src/chat/channels/telegram/TelegramPendingUpdates.ts +1 -1
  343. package/src/chat/channels/telegram/TelegramPlatformClient.ts +1 -1
  344. package/src/chat/runtime/ChannelContextStore.ts +2 -2
  345. package/src/chat/runtime/ChatActionExecution.ts +2 -2
  346. package/src/chat/runtime/ChatActionInput.ts +2 -2
  347. package/src/chat/runtime/ChatActionInputSupport.ts +1 -1
  348. package/src/chat/runtime/ChatAuthorizationRuntime.ts +3 -3
  349. package/src/chat/runtime/ChatChannelActions.ts +1 -1
  350. package/src/chat/runtime/ChatChannelConfig.ts +3 -3
  351. package/src/chat/runtime/ChatChannelCore.ts +2 -2
  352. package/src/chat/runtime/ChatChannelLifecycle.ts +1 -1
  353. package/src/chat/runtime/ChatHistoryStore.ts +3 -3
  354. package/src/chat/runtime/ChatIngressStore.ts +2 -2
  355. package/src/chat/runtime/ChatMetaStore.ts +1 -1
  356. package/src/chat/runtime/ChatPluginActionRegistry.ts +2 -2
  357. package/src/chat/runtime/ChatPluginSystem.ts +1 -1
  358. package/src/chat/runtime/ChatQueueReplyDispatch.ts +2 -2
  359. package/src/chat/runtime/ChatQueueStore.ts +1 -1
  360. package/src/chat/runtime/ChatQueueWorker.ts +5 -7
  361. package/src/chat/runtime/ChatSendActionInput.ts +3 -3
  362. package/src/chat/runtime/ChatSendMetadata.ts +1 -1
  363. package/src/chat/runtime/ChatSession.ts +9 -13
  364. package/src/chat/runtime/ChatSessionContextComposer.ts +4 -4
  365. package/src/chat/runtime/ChatSessionDelete.ts +1 -2
  366. package/src/chat/runtime/ChatSessionTypes.ts +2 -2
  367. package/src/chat/runtime/ChatkeySend.ts +1 -1
  368. package/src/chat/runtime/DirectDispatchParser.ts +2 -2
  369. package/src/chat/runtime/EnqueueDispatch.ts +2 -2
  370. package/src/chat/runtime/InboundAugment.ts +2 -2
  371. package/src/chat/runtime/PluginDispatch.ts +2 -2
  372. package/src/chat/runtime/QueuedUserMessage.ts +1 -1
  373. package/src/chat/runtime/ReplyContextFormatter.ts +1 -1
  374. package/src/chat/runtime/ReplyDispatch.ts +2 -2
  375. package/src/chat/runtime/SystemPrompt.ts +2 -2
  376. package/src/chat/types/ChannelAccount.ts +1 -1
  377. package/src/chat/types/ChatHistory.ts +1 -1
  378. package/src/chat/types/ChatPluginActionPayload.ts +1 -1
  379. package/src/chat/types/ChatPluginOptions.ts +2 -2
  380. package/src/chat/types/ChatQueue.ts +1 -1
  381. package/src/chat/types/DirectDispatch.ts +1 -1
  382. package/src/contact/Action.ts +4 -4
  383. package/src/contact/ContactPlugin.ts +4 -4
  384. package/src/contact/runtime/ChatRuntime.ts +2 -2
  385. package/src/contact/runtime/ContactPayload.ts +1 -1
  386. package/src/contact/runtime/RemoteClient.ts +1 -1
  387. package/src/contact/runtime/ShareBundle.ts +1 -1
  388. package/src/image/ImagePlugin.ts +11 -11
  389. package/src/image/types/ImagePlugin.ts +2 -2
  390. package/src/memory/Action.ts +3 -3
  391. package/src/memory/MemoryPlugin.ts +5 -5
  392. package/src/memory/runtime/Search.ts +1 -1
  393. package/src/memory/runtime/Store.ts +1 -1
  394. package/src/memory/runtime/SystemProvider.ts +1 -1
  395. package/src/memory/runtime/Writer.ts +1 -1
  396. package/src/memory/types/Memory.ts +1 -1
  397. package/src/skill/Action.ts +1 -1
  398. package/src/skill/Plugin.ts +5 -5
  399. package/src/skill/runtime/Discovery.ts +1 -1
  400. package/src/skill/runtime/SystemProvider.ts +1 -1
  401. package/src/skill/types/SkillDefinition.ts +1 -1
  402. package/src/task/Action.ts +2 -2
  403. package/src/task/Scheduler.ts +1 -1
  404. package/src/task/TaskPlugin.ts +4 -4
  405. package/src/task/runtime/Model.ts +1 -1
  406. package/src/task/runtime/Runner.ts +1 -1
  407. package/src/task/runtime/TaskActionExecution.ts +1 -1
  408. package/src/task/runtime/TaskActionInput.ts +3 -3
  409. package/src/task/runtime/TaskPluginActionRegistry.ts +2 -2
  410. package/src/task/runtime/TaskRunChatDispatch.ts +1 -1
  411. package/src/task/runtime/TaskRunnerRound.ts +5 -5
  412. package/src/task/runtime/TaskRunnerScript.ts +1 -1
  413. package/src/task/runtime/TaskRunnerSession.ts +10 -10
  414. package/src/task/runtime/TaskRunnerTypes.ts +2 -2
  415. package/src/tts/Plugin.ts +4 -4
  416. package/src/tts/types/TtsPlugin.ts +1 -1
  417. package/src/web/Plugin.ts +4 -5
  418. package/src/web/runtime/Install.ts +2 -2
  419. package/src/web/types/WebPlugin.ts +1 -1
  420. package/src/workboard/Plugin.ts +5 -5
  421. package/src/workboard/runtime/Collector.ts +3 -3
  422. package/src/workboard/runtime/Normalizer.ts +4 -4
  423. package/src/workboard/runtime/SessionSummary.ts +1 -1
  424. package/src/workboard/runtime/Store.ts +1 -1
package/src/web/Plugin.ts CHANGED
@@ -8,14 +8,14 @@
8
8
  * - 具体执行能力由当前 agent 已注册的 tools、skills 或外部 plugin 决定。
9
9
  */
10
10
 
11
- import { BasePlugin } from "@downcity/agent/internal/plugin/core/BasePlugin.js";
12
- import { createAction } from "@downcity/agent/internal/plugin/core/PluginActionFactory.js";
11
+ import { BasePlugin } from "@downcity/agent";
12
+ import { createAction } from "@downcity/agent";
13
13
  import { z } from "zod";
14
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
14
+ import type { AgentContext } from "@downcity/agent";
15
15
  import type {
16
16
  JsonObject,
17
17
  JsonValue,
18
- } from "@downcity/agent/internal/types/common/Json.js";
18
+ } from "@downcity/agent";
19
19
  import { WEB_PLUGIN_PROMPT } from "@/web/WebPromptAssets.js";
20
20
  import { installWebPluginTargets } from "@/web/runtime/Install.js";
21
21
  import type { WebPluginInstallPayload } from "@/web/types/WebPlugin.js";
@@ -171,7 +171,6 @@ export class WebPlugin extends BasePlugin {
171
171
  payload: { target: "all", scope: "user" },
172
172
  },
173
173
  ],
174
- allowWhenDisabled: true,
175
174
  command: {
176
175
  description: "Install web-related skill / CLI dependencies.",
177
176
  configure(command) {
@@ -13,8 +13,8 @@ import path from "node:path";
13
13
  import type {
14
14
  JsonObject,
15
15
  JsonValue,
16
- } from "@downcity/agent/internal/types/common/Json.js";
17
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
16
+ } from "@downcity/agent";
17
+ import type { AgentContext } from "@downcity/agent";
18
18
  import { skillInstallCommand } from "@/skill/Command.js";
19
19
  import type {
20
20
  WebPluginInstallPayload,
@@ -7,7 +7,7 @@
7
7
  * - target 表示要准备的联网能力,不表示 agent 运行时默认选择。
8
8
  */
9
9
 
10
- import type { JsonValue } from "@downcity/agent/internal/types/common/Json.js";
10
+ import type { JsonValue } from "@downcity/agent";
11
11
 
12
12
  /**
13
13
  * WebPlugin 可安装目标。
@@ -7,15 +7,15 @@
7
7
  * - 是否启用由是否注册该 plugin 决定,不再读取项目配置做二次开关。
8
8
  */
9
9
 
10
- import { BasePlugin } from "@downcity/agent/internal/plugin/core/BasePlugin.js";
11
- import { createAction } from "@downcity/agent/internal/plugin/core/PluginActionFactory.js";
10
+ import { BasePlugin } from "@downcity/agent";
11
+ import { createAction } from "@downcity/agent";
12
12
  import { z } from "zod";
13
13
  import type {
14
14
  PluginActions,
15
15
  PluginHttpDefinition,
16
- } from "@downcity/agent/internal/plugin/types/Plugin.js";
17
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
18
- import type { JsonValue } from "@downcity/agent/internal/types/common/Json.js";
16
+ } from "@downcity/agent";
17
+ import type { AgentContext } from "@downcity/agent";
18
+ import type { JsonValue } from "@downcity/agent";
19
19
  import { getWorkboardSnapshotStore } from "@/workboard/runtime/Store.js";
20
20
  import type { WorkboardSnapshotResponse } from "@/workboard/types/Workboard.js";
21
21
 
@@ -7,8 +7,8 @@
7
7
  */
8
8
 
9
9
  import { listTaskDefinitions } from "@/task/Action.js";
10
- import { listPluginStates } from "@downcity/agent/internal/plugin/core/Manager.js";
11
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
10
+ import { listPluginStates } from "@downcity/agent";
11
+ import type { AgentContext } from "@downcity/agent";
12
12
  import type { WorkboardSnapshot } from "@/workboard/types/Workboard.js";
13
13
  import { listWorkboardSessionSummaries } from "@/workboard/runtime/SessionSummary.js";
14
14
  import {
@@ -38,7 +38,7 @@ export async function collectWorkboardSnapshot(
38
38
  const runtimePlugins = listPluginStates({ context });
39
39
  const taskResult = await listTaskDefinitions({ projectRoot: context.rootPath });
40
40
  const degradedCount = runtimePlugins.filter(
41
- (item) => String(item.state) !== "ready",
41
+ (item) => item.status !== "ready",
42
42
  ).length;
43
43
 
44
44
  const current = sessions
@@ -6,7 +6,7 @@
6
6
  * - 所有会泄漏上下文的字段都必须在这里截断或抽象。
7
7
  */
8
8
 
9
- import type { PluginStateSnapshot } from "@downcity/agent/internal/plugin/types/PluginState.js";
9
+ import type { PluginSnapshot } from "@downcity/agent";
10
10
  import type { TaskListResponse } from "@/task/types/TaskCommand.js";
11
11
  import type { WorkboardSessionSummary } from "@/workboard/runtime/SessionSummary.js";
12
12
  import type {
@@ -15,7 +15,7 @@ import type {
15
15
  WorkboardSignalItem,
16
16
  WorkboardSummary,
17
17
  } from "@/workboard/types/Workboard.js";
18
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
18
+ import type { AgentContext } from "@downcity/agent";
19
19
 
20
20
  function toIsoString(timestamp?: number): string {
21
21
  if (!timestamp || !Number.isFinite(timestamp)) {
@@ -181,11 +181,11 @@ export function toWorkboardSummary(params: {
181
181
  export function toWorkboardSignals(params: {
182
182
  currentCount: number;
183
183
  recentCount: number;
184
- plugins: PluginStateSnapshot[];
184
+ plugins: PluginSnapshot[];
185
185
  taskResult: TaskListResponse;
186
186
  }): WorkboardSignalItem[] {
187
187
  const degradedCount = params.plugins.filter(
188
- (item) => String(item.state) !== "ready",
188
+ (item) => item.status !== "ready",
189
189
  ).length;
190
190
  const taskCount = Array.isArray(params.taskResult.tasks) ? params.taskResult.tasks.length : 0;
191
191
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  import fs from "fs-extra";
10
10
  import path from "node:path";
11
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
11
+ import type { AgentContext } from "@downcity/agent";
12
12
 
13
13
  /**
14
14
  * Workboard 内部 session 摘要。
@@ -6,7 +6,7 @@
6
6
  * - route 与 action 共享同一份快照,确保 workboard 展示一致。
7
7
  */
8
8
 
9
- import type { AgentContext } from "@downcity/agent/internal/types/runtime/agent/AgentContext.js";
9
+ import type { AgentContext } from "@downcity/agent";
10
10
  import type { WorkboardSnapshot } from "@/workboard/types/Workboard.js";
11
11
  import { collectWorkboardSnapshot } from "@/workboard/runtime/Collector.js";
12
12