@downcity/agent 1.1.25 → 1.1.35

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 (2766) hide show
  1. package/README.md +26 -84
  2. package/bin/config/Defaults.js +1 -1
  3. package/bin/config/Defaults.js.map +1 -1
  4. package/bin/config/DowncitySchema.d.ts.map +1 -1
  5. package/bin/config/DowncitySchema.js +2 -8
  6. package/bin/config/DowncitySchema.js.map +1 -1
  7. package/bin/config/Paths.d.ts +12 -10
  8. package/bin/config/Paths.d.ts.map +1 -1
  9. package/bin/config/Paths.js +23 -17
  10. package/bin/config/Paths.js.map +1 -1
  11. package/bin/config/project/AgentInitializer.d.ts.map +1 -1
  12. package/bin/config/project/AgentInitializer.js +4 -4
  13. package/bin/config/project/AgentInitializer.js.map +1 -1
  14. package/bin/core/AgentContextTypes.d.ts +21 -55
  15. package/bin/core/AgentContextTypes.d.ts.map +1 -1
  16. package/bin/core/AgentContextTypes.js +1 -1
  17. package/bin/core/AgentCore.d.ts +17 -16
  18. package/bin/core/AgentCore.d.ts.map +1 -1
  19. package/bin/core/AgentCore.js +90 -126
  20. package/bin/core/AgentCore.js.map +1 -1
  21. package/bin/core/AgentCoreTypes.d.ts +5 -5
  22. package/bin/core/AgentCoreTypes.d.ts.map +1 -1
  23. package/bin/core/AgentCoreTypes.js +1 -1
  24. package/bin/executor/Executor.d.ts +172 -0
  25. package/bin/executor/Executor.d.ts.map +1 -0
  26. package/bin/executor/Executor.js.map +1 -0
  27. package/bin/executor/SessionRunScope.d.ts +84 -0
  28. package/bin/executor/SessionRunScope.d.ts.map +1 -0
  29. package/bin/executor/SessionRunScope.js +82 -0
  30. package/bin/executor/SessionRunScope.js.map +1 -0
  31. package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts +55 -0
  32. package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
  33. package/bin/executor/composer/compaction/SessionCompactionComposer.js.map +1 -0
  34. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
  35. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
  36. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
  37. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
  38. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
  39. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +48 -0
  40. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -0
  41. package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -0
  42. package/bin/executor/composer/context/SessionContextComposer.d.ts +62 -0
  43. package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -0
  44. package/bin/executor/composer/context/SessionContextComposer.js.map +1 -0
  45. package/bin/executor/composer/history/SessionHistoryComposer.d.ts +54 -0
  46. package/bin/executor/composer/history/SessionHistoryComposer.d.ts.map +1 -0
  47. package/bin/executor/composer/history/SessionHistoryComposer.js.map +1 -0
  48. package/bin/executor/composer/history/SessionHistoryWriter.d.ts +56 -0
  49. package/bin/executor/composer/history/SessionHistoryWriter.d.ts.map +1 -0
  50. package/bin/executor/composer/history/SessionHistoryWriter.js.map +1 -0
  51. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +35 -0
  52. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
  53. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
  54. package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -0
  55. package/bin/executor/composer/system/SessionSystemComposer.js.map +1 -0
  56. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
  57. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
  58. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
  59. package/bin/executor/composer/system/default/InitPromptAssets.d.ts.map +1 -0
  60. package/bin/executor/composer/system/default/InitPromptAssets.js.map +1 -0
  61. package/bin/executor/composer/system/default/InitPrompts.d.ts.map +1 -0
  62. package/bin/executor/composer/system/default/InitPrompts.js.map +1 -0
  63. package/bin/executor/composer/system/default/PromptRenderer.d.ts.map +1 -0
  64. package/bin/executor/composer/system/default/PromptRenderer.js.map +1 -0
  65. package/bin/executor/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
  66. package/bin/executor/composer/system/default/StaticPromptCatalog.js.map +1 -0
  67. package/bin/executor/composer/system/default/SystemDomain.d.ts +169 -0
  68. package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -0
  69. package/bin/executor/composer/system/default/SystemDomain.js +221 -0
  70. package/bin/executor/composer/system/default/SystemDomain.js.map +1 -0
  71. package/bin/executor/composer/system/default/SystemPromptAssets.d.ts +20 -0
  72. package/bin/executor/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
  73. package/bin/executor/composer/system/default/SystemPromptAssets.js +23 -0
  74. package/bin/executor/composer/system/default/SystemPromptAssets.js.map +1 -0
  75. package/bin/executor/composer/system/default/assets/core.prompt.d.ts +7 -0
  76. package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -0
  77. package/bin/executor/composer/system/default/assets/core.prompt.js +8 -0
  78. package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -0
  79. package/bin/executor/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
  80. package/bin/executor/composer/system/default/assets/init/PROFILE.md.js +8 -0
  81. package/bin/executor/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
  82. package/bin/executor/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
  83. package/bin/executor/composer/system/default/assets/init/SOUL.md.js +8 -0
  84. package/bin/executor/composer/system/default/assets/init/SOUL.md.js.map +1 -0
  85. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +7 -0
  86. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -0
  87. package/bin/executor/composer/system/default/assets/plugin.prompt.js +8 -0
  88. package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -0
  89. package/bin/executor/composer/system/default/assets/task.prompt.d.ts.map +1 -0
  90. package/bin/executor/composer/system/default/assets/task.prompt.js +8 -0
  91. package/bin/executor/composer/system/default/assets/task.prompt.js.map +1 -0
  92. package/bin/executor/composer/system/default/variables/GeoContext.d.ts.map +1 -0
  93. package/bin/executor/composer/system/default/variables/GeoContext.js.map +1 -0
  94. package/bin/executor/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
  95. package/bin/executor/composer/system/default/variables/PromptTypes.js.map +1 -0
  96. package/bin/executor/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
  97. package/bin/executor/composer/system/default/variables/VariableReplacer.js.map +1 -0
  98. package/bin/executor/core-engine/CoreEngineError.d.ts.map +1 -0
  99. package/bin/executor/core-engine/CoreEngineError.js.map +1 -0
  100. package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts +27 -0
  101. package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts.map +1 -0
  102. package/bin/executor/core-engine/CoreEngineLoopDecision.js.map +1 -0
  103. package/bin/executor/core-engine/CoreEngineMessageState.d.ts +63 -0
  104. package/bin/executor/core-engine/CoreEngineMessageState.d.ts.map +1 -0
  105. package/bin/executor/core-engine/CoreEngineMessageState.js.map +1 -0
  106. package/bin/executor/core-engine/CoreEngineSignals.d.ts +72 -0
  107. package/bin/executor/core-engine/CoreEngineSignals.d.ts.map +1 -0
  108. package/bin/executor/core-engine/CoreEngineSignals.js.map +1 -0
  109. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +33 -0
  110. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -0
  111. package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -0
  112. package/bin/executor/ids/resolveSessionId.d.ts.map +1 -0
  113. package/bin/executor/ids/resolveSessionId.js.map +1 -0
  114. package/bin/executor/messages/AssistantResultPersistence.d.ts +66 -0
  115. package/bin/executor/messages/AssistantResultPersistence.d.ts.map +1 -0
  116. package/bin/executor/messages/AssistantResultPersistence.js +48 -0
  117. package/bin/executor/messages/AssistantResultPersistence.js.map +1 -0
  118. package/bin/executor/messages/SessionAttachmentMapper.d.ts +14 -0
  119. package/bin/executor/messages/SessionAttachmentMapper.d.ts.map +1 -0
  120. package/bin/executor/messages/SessionAttachmentMapper.js +145 -0
  121. package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -0
  122. package/bin/executor/messages/SessionMessageCodec.d.ts +41 -0
  123. package/bin/executor/messages/SessionMessageCodec.d.ts.map +1 -0
  124. package/bin/executor/messages/SessionMessageCodec.js.map +1 -0
  125. package/bin/executor/messages/SessionMessageLog.d.ts +19 -0
  126. package/bin/executor/messages/SessionMessageLog.d.ts.map +1 -0
  127. package/bin/executor/messages/SessionMessageLog.js.map +1 -0
  128. package/bin/executor/messages/SessionStepEventMapper.d.ts +20 -0
  129. package/bin/executor/messages/SessionStepEventMapper.d.ts.map +1 -0
  130. package/bin/executor/messages/SessionStepEventMapper.js.map +1 -0
  131. package/bin/executor/store/history/SessionHistoryStore.d.ts +119 -0
  132. package/bin/executor/store/history/SessionHistoryStore.d.ts.map +1 -0
  133. package/bin/executor/store/history/SessionHistoryStore.js.map +1 -0
  134. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts +85 -0
  135. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +1 -0
  136. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js +382 -0
  137. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js.map +1 -0
  138. package/bin/executor/tools/shell/ShellToolBridge.d.ts +79 -0
  139. package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -0
  140. package/bin/executor/tools/shell/ShellToolBridge.js +288 -0
  141. package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -0
  142. package/bin/executor/tools/shell/ShellToolDefinition.d.ts +114 -0
  143. package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -0
  144. package/bin/executor/tools/shell/ShellToolDefinition.js +359 -0
  145. package/bin/executor/tools/shell/ShellToolDefinition.js.map +1 -0
  146. package/bin/executor/tools/shell/ShellToolFormatting.d.ts +26 -0
  147. package/bin/executor/tools/shell/ShellToolFormatting.d.ts.map +1 -0
  148. package/bin/executor/tools/shell/ShellToolFormatting.js +74 -0
  149. package/bin/executor/tools/shell/ShellToolFormatting.js.map +1 -0
  150. package/bin/executor/tools/shell/ShellToolSchemas.d.ts.map +1 -0
  151. package/bin/executor/tools/shell/ShellToolSchemas.js +113 -0
  152. package/bin/executor/tools/shell/ShellToolSchemas.js.map +1 -0
  153. package/bin/executor/types/SessionExecutor.d.ts +18 -0
  154. package/bin/executor/types/SessionExecutor.d.ts.map +1 -0
  155. package/bin/executor/types/SessionExecutor.js.map +1 -0
  156. package/bin/executor/types/SessionHistoryMeta.d.ts +45 -0
  157. package/bin/executor/types/SessionHistoryMeta.d.ts.map +1 -0
  158. package/bin/executor/types/SessionHistoryMeta.js +9 -0
  159. package/bin/executor/types/SessionHistoryMeta.js.map +1 -0
  160. package/bin/executor/types/SessionHistoryPaths.d.ts +30 -0
  161. package/bin/executor/types/SessionHistoryPaths.d.ts.map +1 -0
  162. package/bin/executor/types/SessionHistoryPaths.js.map +1 -0
  163. package/bin/executor/types/SessionLoop.d.ts.map +1 -0
  164. package/bin/executor/types/SessionLoop.js.map +1 -0
  165. package/bin/executor/types/SessionMessages.d.ts +83 -0
  166. package/bin/executor/types/SessionMessages.d.ts.map +1 -0
  167. package/bin/executor/types/SessionMessages.js.map +1 -0
  168. package/bin/executor/types/SessionPrompts.d.ts.map +1 -0
  169. package/bin/executor/types/SessionPrompts.js.map +1 -0
  170. package/bin/executor/types/SessionRun.d.ts +112 -0
  171. package/bin/executor/types/SessionRun.d.ts.map +1 -0
  172. package/bin/executor/types/SessionRun.js.map +1 -0
  173. package/bin/index.d.ts +40 -40
  174. package/bin/index.d.ts.map +1 -1
  175. package/bin/index.js +29 -29
  176. package/bin/index.js.map +1 -1
  177. package/bin/plugin/builtins/asr/Plugin.d.ts +7 -3
  178. package/bin/plugin/builtins/asr/Plugin.d.ts.map +1 -1
  179. package/bin/plugin/builtins/asr/Plugin.js +405 -395
  180. package/bin/plugin/builtins/asr/Plugin.js.map +1 -1
  181. package/bin/plugin/builtins/auth/Plugin.d.ts +7 -3
  182. package/bin/plugin/builtins/auth/Plugin.d.ts.map +1 -1
  183. package/bin/plugin/builtins/auth/Plugin.js +134 -124
  184. package/bin/plugin/builtins/auth/Plugin.js.map +1 -1
  185. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +1 -1
  186. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +1 -1
  187. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +1 -1
  188. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +1 -1
  189. package/bin/plugin/builtins/auth/types/AuthPlugin.js +1 -1
  190. package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +1 -1
  191. package/bin/plugin/builtins/chat/Action.d.ts +125 -0
  192. package/bin/plugin/builtins/chat/Action.d.ts.map +1 -0
  193. package/bin/plugin/builtins/chat/Action.js +376 -0
  194. package/bin/plugin/builtins/chat/Action.js.map +1 -0
  195. package/bin/plugin/builtins/chat/ChatPlugin.d.ts +89 -0
  196. package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +1 -0
  197. package/bin/plugin/builtins/chat/ChatPlugin.js +212 -0
  198. package/bin/plugin/builtins/chat/ChatPlugin.js.map +1 -0
  199. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +159 -0
  200. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +1 -0
  201. package/bin/plugin/builtins/chat/ChatPluginTypes.js +10 -0
  202. package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +1 -0
  203. package/bin/plugin/builtins/chat/Index.d.ts +9 -0
  204. package/bin/plugin/builtins/chat/Index.d.ts.map +1 -0
  205. package/bin/plugin/builtins/chat/Index.js +9 -0
  206. package/bin/plugin/builtins/chat/Index.js.map +1 -0
  207. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +7 -0
  208. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +1 -0
  209. package/bin/plugin/builtins/chat/PROMPT.direct.js +8 -0
  210. package/bin/plugin/builtins/chat/PROMPT.direct.js.map +1 -0
  211. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts +63 -0
  212. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts.map +1 -0
  213. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js +258 -0
  214. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js.map +1 -0
  215. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +201 -0
  216. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -0
  217. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +294 -0
  218. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +1 -0
  219. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +73 -0
  220. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
  221. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +237 -0
  222. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +1 -0
  223. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +189 -0
  224. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
  225. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +141 -0
  226. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +1 -0
  227. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +18 -0
  228. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +1 -0
  229. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +32 -0
  230. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +1 -0
  231. package/bin/plugin/builtins/chat/channels/Configuration.d.ts +27 -0
  232. package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +1 -0
  233. package/bin/plugin/builtins/chat/channels/Configuration.js.map +1 -0
  234. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +18 -0
  235. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
  236. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +31 -0
  237. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +1 -0
  238. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +20 -0
  239. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +1 -0
  240. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +1 -0
  241. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +17 -0
  242. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +1 -0
  243. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +59 -0
  244. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +1 -0
  245. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +116 -0
  246. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -0
  247. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +326 -0
  248. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +1 -0
  249. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +21 -0
  250. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
  251. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +1 -0
  252. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +155 -0
  253. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +1 -0
  254. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +247 -0
  255. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +1 -0
  256. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
  257. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
  258. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
  259. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
  260. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
  261. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
  262. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
  263. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
  264. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
  265. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +31 -0
  266. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
  267. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +1 -0
  268. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +1 -0
  269. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +8 -0
  270. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +1 -0
  271. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +48 -0
  272. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +1 -0
  273. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +1 -0
  274. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +18 -0
  275. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
  276. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +1 -0
  277. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +21 -0
  278. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +1 -0
  279. package/bin/plugin/builtins/chat/channels/feishu/Shared.js +69 -0
  280. package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +1 -0
  281. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +127 -0
  282. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +1 -0
  283. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +9 -0
  284. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +1 -0
  285. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +19 -0
  286. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +1 -0
  287. package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +1 -0
  288. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +17 -0
  289. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +1 -0
  290. package/bin/plugin/builtins/chat/channels/qq/Configuration.js +59 -0
  291. package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +1 -0
  292. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +7 -0
  293. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +1 -0
  294. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +8 -0
  295. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +1 -0
  296. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +92 -0
  297. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +1 -0
  298. package/bin/plugin/builtins/chat/channels/qq/QQ.js +287 -0
  299. package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +1 -0
  300. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +22 -0
  301. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
  302. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +1 -0
  303. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
  304. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
  305. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +1 -0
  306. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +155 -0
  307. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
  308. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -0
  309. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +65 -0
  310. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +1 -0
  311. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +1 -0
  312. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +1 -0
  313. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +58 -0
  314. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +1 -0
  315. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +86 -0
  316. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +1 -0
  317. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +93 -0
  318. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +1 -0
  319. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +84 -0
  320. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
  321. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +1 -0
  322. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
  323. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
  324. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +1 -0
  325. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +47 -0
  326. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +1 -0
  327. package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +1 -0
  328. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
  329. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +1 -0
  330. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +129 -0
  331. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +1 -0
  332. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +1 -0
  333. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
  334. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +1 -0
  335. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +102 -0
  336. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -0
  337. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +172 -0
  338. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +1 -0
  339. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +64 -0
  340. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +1 -0
  341. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +1 -0
  342. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +485 -0
  343. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +1 -0
  344. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +42 -0
  345. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +1 -0
  346. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +1 -0
  347. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +1 -0
  348. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +1 -0
  349. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +1 -0
  350. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +97 -0
  351. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +1 -0
  352. package/bin/plugin/builtins/chat/channels/telegram/Bot.js +246 -0
  353. package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +1 -0
  354. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +19 -0
  355. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +1 -0
  356. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +1 -0
  357. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +17 -0
  358. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +1 -0
  359. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +59 -0
  360. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +1 -0
  361. package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +1 -0
  362. package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +1 -0
  363. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +1 -0
  364. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +8 -0
  365. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +1 -0
  366. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +14 -0
  367. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
  368. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +1 -0
  369. package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +1 -0
  370. package/bin/plugin/builtins/chat/channels/telegram/Shared.js +171 -0
  371. package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +1 -0
  372. package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +1 -0
  373. package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +1 -0
  374. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
  375. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +1 -0
  376. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +142 -0
  377. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +1 -0
  378. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +267 -0
  379. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +1 -0
  380. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +55 -0
  381. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +1 -0
  382. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +1 -0
  383. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
  384. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
  385. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
  386. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +78 -0
  387. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +1 -0
  388. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +1 -0
  389. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +145 -0
  390. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -0
  391. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +287 -0
  392. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +1 -0
  393. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +22 -0
  394. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -0
  395. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +114 -0
  396. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +1 -0
  397. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +1 -0
  398. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +1 -0
  399. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +122 -0
  400. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -0
  401. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +230 -0
  402. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +1 -0
  403. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +61 -0
  404. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
  405. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +260 -0
  406. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +1 -0
  407. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +45 -0
  408. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -0
  409. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +106 -0
  410. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +1 -0
  411. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +12 -0
  412. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
  413. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +12 -0
  414. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +1 -0
  415. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
  416. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
  417. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +132 -0
  418. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +1 -0
  419. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +72 -0
  420. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
  421. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +1 -0
  422. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +44 -0
  423. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -0
  424. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +51 -0
  425. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +1 -0
  426. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +54 -0
  427. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
  428. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +1 -0
  429. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +68 -0
  430. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +1 -0
  431. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +143 -0
  432. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +1 -0
  433. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +17 -0
  434. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +1 -0
  435. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +304 -0
  436. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +1 -0
  437. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +5 -0
  438. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +1 -0
  439. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +5 -0
  440. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +1 -0
  441. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +22 -0
  442. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +1 -0
  443. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +44 -0
  444. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +1 -0
  445. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +24 -0
  446. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +1 -0
  447. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +28 -0
  448. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +1 -0
  449. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +40 -0
  450. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +1 -0
  451. package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +1 -0
  452. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
  453. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
  454. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +85 -0
  455. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +1 -0
  456. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +130 -0
  457. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +1 -0
  458. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +83 -0
  459. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
  460. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +406 -0
  461. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +1 -0
  462. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
  463. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
  464. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
  465. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +23 -0
  466. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +1 -0
  467. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +205 -0
  468. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +1 -0
  469. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +20 -0
  470. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
  471. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +1 -0
  472. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +27 -0
  473. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
  474. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +1 -0
  475. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +97 -0
  476. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +1 -0
  477. package/bin/plugin/builtins/chat/runtime/ChatSession.js +84 -0
  478. package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +1 -0
  479. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +45 -0
  480. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +1 -0
  481. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +60 -0
  482. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +1 -0
  483. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +29 -0
  484. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
  485. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +76 -0
  486. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +1 -0
  487. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +30 -0
  488. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +1 -0
  489. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +1 -0
  490. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +67 -0
  491. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +1 -0
  492. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +147 -0
  493. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +1 -0
  494. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +22 -0
  495. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
  496. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +133 -0
  497. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +1 -0
  498. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +24 -0
  499. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
  500. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +28 -0
  501. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +1 -0
  502. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +21 -0
  503. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +1 -0
  504. package/bin/plugin/builtins/chat/runtime/InboundAugment.js +50 -0
  505. package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +1 -0
  506. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +43 -0
  507. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -0
  508. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +57 -0
  509. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +1 -0
  510. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +78 -0
  511. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +1 -0
  512. package/bin/plugin/builtins/chat/runtime/PluginPoints.js +78 -0
  513. package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +1 -0
  514. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +20 -0
  515. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
  516. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +1 -0
  517. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +29 -0
  518. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
  519. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +1 -0
  520. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +36 -0
  521. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -0
  522. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +51 -0
  523. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +1 -0
  524. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +26 -0
  525. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -0
  526. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +70 -0
  527. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +1 -0
  528. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +24 -0
  529. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
  530. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +1 -0
  531. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +34 -0
  532. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +1 -0
  533. package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +1 -0
  534. package/bin/plugin/builtins/chat/types/BotInfo.d.ts +97 -0
  535. package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +1 -0
  536. package/bin/plugin/builtins/chat/types/BotInfo.js.map +1 -0
  537. package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +1 -0
  538. package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +1 -0
  539. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +146 -0
  540. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +1 -0
  541. package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +1 -0
  542. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +107 -0
  543. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +1 -0
  544. package/bin/plugin/builtins/chat/types/ChannelContext.js +9 -0
  545. package/bin/plugin/builtins/chat/types/ChannelContext.js.map +1 -0
  546. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +88 -0
  547. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +1 -0
  548. package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +1 -0
  549. package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +1 -0
  550. package/bin/plugin/builtins/chat/types/ChatCommand.js.map +1 -0
  551. package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +1 -0
  552. package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +1 -0
  553. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +36 -0
  554. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +1 -0
  555. package/bin/plugin/builtins/chat/types/ChatHistory.js.map +1 -0
  556. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +144 -0
  557. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +1 -0
  558. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +9 -0
  559. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +1 -0
  560. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +34 -0
  561. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +1 -0
  562. package/bin/plugin/builtins/chat/types/ChatMeta.js +10 -0
  563. package/bin/plugin/builtins/chat/types/ChatMeta.js.map +1 -0
  564. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +238 -0
  565. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +1 -0
  566. package/bin/plugin/builtins/chat/types/ChatPlugin.js +10 -0
  567. package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +1 -0
  568. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +145 -0
  569. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +1 -0
  570. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +10 -0
  571. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +1 -0
  572. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +125 -0
  573. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +1 -0
  574. package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +1 -0
  575. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +36 -0
  576. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +1 -0
  577. package/bin/plugin/builtins/chat/types/ChatQueue.js.map +1 -0
  578. package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +1 -0
  579. package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +1 -0
  580. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +32 -0
  581. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +1 -0
  582. package/bin/plugin/builtins/chat/types/ChatRuntime.js +9 -0
  583. package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +1 -0
  584. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +115 -0
  585. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +1 -0
  586. package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +1 -0
  587. package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +1 -0
  588. package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +1 -0
  589. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +114 -0
  590. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
  591. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +1 -0
  592. package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +1 -0
  593. package/bin/plugin/builtins/chat/types/FeishuPost.js.map +1 -0
  594. package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +1 -0
  595. package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +1 -0
  596. package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +1 -0
  597. package/bin/plugin/builtins/chat/types/QqVoice.js.map +1 -0
  598. package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +1 -0
  599. package/bin/plugin/builtins/chat/types/ReplyContext.js.map +1 -0
  600. package/bin/plugin/builtins/contact/Action.d.ts +62 -0
  601. package/bin/plugin/builtins/contact/Action.d.ts.map +1 -0
  602. package/bin/plugin/builtins/contact/Action.js +221 -0
  603. package/bin/plugin/builtins/contact/Action.js.map +1 -0
  604. package/bin/plugin/builtins/contact/ContactPlugin.d.ts +39 -0
  605. package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +1 -0
  606. package/bin/plugin/builtins/contact/ContactPlugin.js +409 -0
  607. package/bin/plugin/builtins/contact/ContactPlugin.js.map +1 -0
  608. package/bin/plugin/builtins/contact/Index.d.ts +8 -0
  609. package/bin/plugin/builtins/contact/Index.d.ts.map +1 -0
  610. package/bin/plugin/builtins/contact/Index.js +8 -0
  611. package/bin/plugin/builtins/contact/Index.js.map +1 -0
  612. package/bin/plugin/builtins/contact/PROMPT.d.ts +7 -0
  613. package/bin/plugin/builtins/contact/PROMPT.d.ts.map +1 -0
  614. package/bin/plugin/builtins/contact/PROMPT.js +8 -0
  615. package/bin/plugin/builtins/contact/PROMPT.js.map +1 -0
  616. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +23 -0
  617. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +1 -0
  618. package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +1 -0
  619. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +27 -0
  620. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +1 -0
  621. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +60 -0
  622. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +1 -0
  623. package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +1 -0
  624. package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +1 -0
  625. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +12 -0
  626. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +1 -0
  627. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +13 -0
  628. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +1 -0
  629. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +49 -0
  630. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +1 -0
  631. package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +1 -0
  632. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +39 -0
  633. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +1 -0
  634. package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +1 -0
  635. package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +1 -0
  636. package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +1 -0
  637. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +33 -0
  638. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +1 -0
  639. package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +1 -0
  640. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +20 -0
  641. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +1 -0
  642. package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +1 -0
  643. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +21 -0
  644. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +1 -0
  645. package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +1 -0
  646. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +17 -0
  647. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +1 -0
  648. package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +1 -0
  649. package/bin/plugin/builtins/contact/runtime/Paths.d.ts +64 -0
  650. package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +1 -0
  651. package/bin/plugin/builtins/contact/runtime/Paths.js +103 -0
  652. package/bin/plugin/builtins/contact/runtime/Paths.js.map +1 -0
  653. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +46 -0
  654. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +1 -0
  655. package/bin/plugin/builtins/contact/runtime/RemoteClient.js +120 -0
  656. package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +1 -0
  657. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +65 -0
  658. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +1 -0
  659. package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +1 -0
  660. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +5 -0
  661. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +1 -0
  662. package/bin/plugin/builtins/contact/runtime/SystemProvider.js +15 -0
  663. package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +1 -0
  664. package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +1 -0
  665. package/bin/plugin/builtins/contact/runtime/Token.js.map +1 -0
  666. package/bin/plugin/builtins/contact/types/Contact.d.ts.map +1 -0
  667. package/bin/plugin/builtins/contact/types/Contact.js.map +1 -0
  668. package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +1 -0
  669. package/bin/plugin/builtins/contact/types/ContactApproval.js.map +1 -0
  670. package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +1 -0
  671. package/bin/plugin/builtins/contact/types/ContactChat.js.map +1 -0
  672. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +66 -0
  673. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +1 -0
  674. package/bin/plugin/builtins/contact/types/ContactCheck.js.map +1 -0
  675. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +93 -0
  676. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +1 -0
  677. package/bin/plugin/builtins/contact/types/ContactCommand.js +8 -0
  678. package/bin/plugin/builtins/contact/types/ContactCommand.js.map +1 -0
  679. package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +1 -0
  680. package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +1 -0
  681. package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +1 -0
  682. package/bin/plugin/builtins/contact/types/ContactLink.js.map +1 -0
  683. package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +1 -0
  684. package/bin/plugin/builtins/contact/types/ContactShare.js.map +1 -0
  685. package/bin/plugin/builtins/memory/Action.d.ts +37 -0
  686. package/bin/plugin/builtins/memory/Action.d.ts.map +1 -0
  687. package/bin/plugin/builtins/memory/Action.js.map +1 -0
  688. package/bin/plugin/builtins/memory/Index.d.ts +9 -0
  689. package/bin/plugin/builtins/memory/Index.d.ts.map +1 -0
  690. package/bin/plugin/builtins/memory/Index.js +9 -0
  691. package/bin/plugin/builtins/memory/Index.js.map +1 -0
  692. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +45 -0
  693. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +1 -0
  694. package/bin/plugin/builtins/memory/MemoryPlugin.js +242 -0
  695. package/bin/plugin/builtins/memory/MemoryPlugin.js.map +1 -0
  696. package/bin/plugin/builtins/memory/runtime/Flush.d.ts +15 -0
  697. package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +1 -0
  698. package/bin/plugin/builtins/memory/runtime/Flush.js.map +1 -0
  699. package/bin/plugin/builtins/memory/runtime/Search.d.ts +19 -0
  700. package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +1 -0
  701. package/bin/plugin/builtins/memory/runtime/Search.js +268 -0
  702. package/bin/plugin/builtins/memory/runtime/Search.js.map +1 -0
  703. package/bin/plugin/builtins/memory/runtime/Store.d.ts +65 -0
  704. package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +1 -0
  705. package/bin/plugin/builtins/memory/runtime/Store.js +142 -0
  706. package/bin/plugin/builtins/memory/runtime/Store.js.map +1 -0
  707. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +22 -0
  708. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +1 -0
  709. package/bin/plugin/builtins/memory/runtime/SystemProvider.js +126 -0
  710. package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +1 -0
  711. package/bin/plugin/builtins/memory/runtime/Writer.d.ts +23 -0
  712. package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +1 -0
  713. package/bin/plugin/builtins/memory/runtime/Writer.js +139 -0
  714. package/bin/plugin/builtins/memory/runtime/Writer.js.map +1 -0
  715. package/bin/plugin/builtins/memory/types/Memory.d.ts.map +1 -0
  716. package/bin/plugin/builtins/memory/types/Memory.js.map +1 -0
  717. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +39 -0
  718. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +1 -0
  719. package/bin/plugin/builtins/schedule/SchedulePlugin.js +106 -0
  720. package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +1 -0
  721. package/bin/plugin/builtins/shell/Index.d.ts +9 -0
  722. package/bin/plugin/builtins/shell/Index.d.ts.map +1 -0
  723. package/bin/plugin/builtins/shell/Index.js +9 -0
  724. package/bin/plugin/builtins/shell/Index.js.map +1 -0
  725. package/bin/plugin/builtins/shell/ShellPlugin.d.ts +65 -0
  726. package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +1 -0
  727. package/bin/plugin/builtins/shell/ShellPlugin.js +138 -0
  728. package/bin/plugin/builtins/shell/ShellPlugin.js.map +1 -0
  729. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +91 -0
  730. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +1 -0
  731. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +10 -0
  732. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +1 -0
  733. package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +1 -0
  734. package/bin/plugin/builtins/shell/runtime/Paths.js.map +1 -0
  735. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +52 -0
  736. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +1 -0
  737. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +1 -0
  738. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +49 -0
  739. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
  740. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +440 -0
  741. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +1 -0
  742. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +79 -0
  743. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
  744. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +312 -0
  745. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
  746. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +22 -0
  747. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +1 -0
  748. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +1 -0
  749. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +1 -0
  750. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +75 -0
  751. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +1 -0
  752. package/bin/plugin/builtins/shell/types/Shell.d.ts.map +1 -0
  753. package/bin/plugin/builtins/shell/types/Shell.js.map +1 -0
  754. package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts +216 -0
  755. package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +1 -0
  756. package/bin/plugin/builtins/shell/types/ShellPlugin.js +9 -0
  757. package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +1 -0
  758. package/bin/plugin/builtins/skill/Plugin.d.ts +8 -4
  759. package/bin/plugin/builtins/skill/Plugin.d.ts.map +1 -1
  760. package/bin/plugin/builtins/skill/Plugin.js +215 -205
  761. package/bin/plugin/builtins/skill/Plugin.js.map +1 -1
  762. package/bin/plugin/builtins/skill/runtime/SystemProvider.js +1 -1
  763. package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +1 -1
  764. package/bin/plugin/builtins/task/Action.d.ts.map +1 -0
  765. package/bin/plugin/builtins/task/Action.js.map +1 -0
  766. package/bin/plugin/builtins/task/Index.d.ts +9 -0
  767. package/bin/plugin/builtins/task/Index.d.ts.map +1 -0
  768. package/bin/plugin/builtins/task/Index.js +9 -0
  769. package/bin/plugin/builtins/task/Index.js.map +1 -0
  770. package/bin/plugin/builtins/task/PROMPT.d.ts +7 -0
  771. package/bin/plugin/builtins/task/PROMPT.d.ts.map +1 -0
  772. package/bin/plugin/builtins/task/PROMPT.js +8 -0
  773. package/bin/plugin/builtins/task/PROMPT.js.map +1 -0
  774. package/bin/plugin/builtins/task/Scheduler.d.ts +17 -0
  775. package/bin/plugin/builtins/task/Scheduler.d.ts.map +1 -0
  776. package/bin/plugin/builtins/task/Scheduler.js +231 -0
  777. package/bin/plugin/builtins/task/Scheduler.js.map +1 -0
  778. package/bin/plugin/builtins/task/TaskPlugin.d.ts +57 -0
  779. package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +1 -0
  780. package/bin/plugin/builtins/task/TaskPlugin.js +126 -0
  781. package/bin/plugin/builtins/task/TaskPlugin.js.map +1 -0
  782. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +19 -0
  783. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +1 -0
  784. package/bin/plugin/builtins/task/runtime/CronTrigger.js +93 -0
  785. package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +1 -0
  786. package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +1 -0
  787. package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +1 -0
  788. package/bin/plugin/builtins/task/runtime/Model.d.ts +73 -0
  789. package/bin/plugin/builtins/task/runtime/Model.d.ts.map +1 -0
  790. package/bin/plugin/builtins/task/runtime/Model.js.map +1 -0
  791. package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +1 -0
  792. package/bin/plugin/builtins/task/runtime/Paths.js.map +1 -0
  793. package/bin/plugin/builtins/task/runtime/Runner.d.ts +43 -0
  794. package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +1 -0
  795. package/bin/plugin/builtins/task/runtime/Runner.js.map +1 -0
  796. package/bin/plugin/builtins/task/runtime/Store.d.ts +89 -0
  797. package/bin/plugin/builtins/task/runtime/Store.d.ts.map +1 -0
  798. package/bin/plugin/builtins/task/runtime/Store.js.map +1 -0
  799. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +160 -0
  800. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -0
  801. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +192 -0
  802. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +1 -0
  803. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +19 -0
  804. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +1 -0
  805. package/bin/plugin/builtins/task/runtime/TaskActionInput.js +218 -0
  806. package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +1 -0
  807. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +16 -0
  808. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +1 -0
  809. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +167 -0
  810. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +1 -0
  811. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +5 -0
  812. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +1 -0
  813. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +5 -0
  814. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +1 -0
  815. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +9 -0
  816. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +1 -0
  817. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +9 -0
  818. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +1 -0
  819. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +12 -0
  820. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +1 -0
  821. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +13 -0
  822. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +1 -0
  823. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +189 -0
  824. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
  825. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +1 -0
  826. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +22 -0
  827. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
  828. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +66 -0
  829. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +1 -0
  830. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +35 -0
  831. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
  832. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +1 -0
  833. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +80 -0
  834. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -0
  835. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +272 -0
  836. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +1 -0
  837. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +81 -0
  838. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +1 -0
  839. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +1 -0
  840. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +48 -0
  841. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +1 -0
  842. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +153 -0
  843. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +1 -0
  844. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +186 -0
  845. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +1 -0
  846. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +1 -0
  847. package/bin/plugin/builtins/task/types/Cron.d.ts +16 -0
  848. package/bin/plugin/builtins/task/types/Cron.d.ts.map +1 -0
  849. package/bin/plugin/builtins/task/types/Cron.js.map +1 -0
  850. package/bin/plugin/builtins/task/types/Task.d.ts.map +1 -0
  851. package/bin/plugin/builtins/task/types/Task.js.map +1 -0
  852. package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +1 -0
  853. package/bin/plugin/builtins/task/types/TaskCommand.js.map +1 -0
  854. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +52 -0
  855. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +1 -0
  856. package/bin/plugin/builtins/task/types/TaskPluginTypes.js +9 -0
  857. package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +1 -0
  858. package/bin/plugin/builtins/tts/Plugin.d.ts +7 -3
  859. package/bin/plugin/builtins/tts/Plugin.d.ts.map +1 -1
  860. package/bin/plugin/builtins/tts/Plugin.js +419 -409
  861. package/bin/plugin/builtins/tts/Plugin.js.map +1 -1
  862. package/bin/plugin/builtins/tts/runtime/Synthesizer.js +1 -1
  863. package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +1 -1
  864. package/bin/plugin/builtins/web/Plugin.d.ts +7 -3
  865. package/bin/plugin/builtins/web/Plugin.d.ts.map +1 -1
  866. package/bin/plugin/builtins/web/Plugin.js +380 -370
  867. package/bin/plugin/builtins/web/Plugin.js.map +1 -1
  868. package/bin/plugin/builtins/workboard/Plugin.d.ts +7 -3
  869. package/bin/plugin/builtins/workboard/Plugin.d.ts.map +1 -1
  870. package/bin/plugin/builtins/workboard/Plugin.js +64 -54
  871. package/bin/plugin/builtins/workboard/Plugin.js.map +1 -1
  872. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +1 -1
  873. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +1 -1
  874. package/bin/plugin/builtins/workboard/runtime/Collector.js +7 -6
  875. package/bin/plugin/builtins/workboard/runtime/Collector.js.map +1 -1
  876. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +3 -3
  877. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +1 -1
  878. package/bin/plugin/builtins/workboard/runtime/Normalizer.js +1 -1
  879. package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +1 -1
  880. package/bin/plugin/core/BasePlugin.d.ts +87 -0
  881. package/bin/plugin/core/BasePlugin.d.ts.map +1 -0
  882. package/bin/plugin/core/BasePlugin.js +84 -0
  883. package/bin/plugin/core/BasePlugin.js.map +1 -0
  884. package/bin/plugin/core/BuiltinPluginClasses.d.ts +19 -0
  885. package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +1 -0
  886. package/bin/plugin/core/BuiltinPluginClasses.js +38 -0
  887. package/bin/plugin/core/BuiltinPluginClasses.js.map +1 -0
  888. package/bin/plugin/core/Catalog.d.ts +4 -3
  889. package/bin/plugin/core/Catalog.d.ts.map +1 -1
  890. package/bin/plugin/core/Catalog.js +3 -3
  891. package/bin/plugin/core/Catalog.js.map +1 -1
  892. package/bin/plugin/core/HttpRoutes.d.ts +2 -2
  893. package/bin/plugin/core/HttpRoutes.d.ts.map +1 -1
  894. package/bin/plugin/core/HttpRoutes.js +6 -6
  895. package/bin/plugin/core/HttpRoutes.js.map +1 -1
  896. package/bin/plugin/core/LocalExecution.d.ts.map +1 -1
  897. package/bin/plugin/core/LocalExecution.js +17 -2
  898. package/bin/plugin/core/LocalExecution.js.map +1 -1
  899. package/bin/plugin/core/Manager.d.ts +7 -0
  900. package/bin/plugin/core/Manager.d.ts.map +1 -0
  901. package/bin/plugin/core/Manager.js +6 -0
  902. package/bin/plugin/core/Manager.js.map +1 -0
  903. package/bin/plugin/core/PluginActionRunner.d.ts +34 -0
  904. package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -0
  905. package/bin/plugin/core/PluginActionRunner.js +207 -0
  906. package/bin/plugin/core/PluginActionRunner.js.map +1 -0
  907. package/bin/plugin/core/PluginClassRegistry.d.ts +42 -0
  908. package/bin/plugin/core/PluginClassRegistry.d.ts.map +1 -0
  909. package/bin/plugin/core/PluginClassRegistry.js +73 -0
  910. package/bin/plugin/core/PluginClassRegistry.js.map +1 -0
  911. package/bin/plugin/core/PluginCommand.d.ts +2 -2
  912. package/bin/plugin/core/PluginCommand.js +4 -4
  913. package/bin/plugin/core/PluginCommand.js.map +1 -1
  914. package/bin/plugin/core/PluginCommandRequest.d.ts +36 -0
  915. package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -0
  916. package/bin/plugin/core/PluginCommandRequest.js +53 -0
  917. package/bin/plugin/core/PluginCommandRequest.js.map +1 -0
  918. package/bin/plugin/core/PluginStateController.d.ts +82 -0
  919. package/bin/plugin/core/PluginStateController.d.ts.map +1 -0
  920. package/bin/plugin/core/PluginStateController.js +240 -0
  921. package/bin/plugin/core/PluginStateController.js.map +1 -0
  922. package/bin/plugin/core/PluginSystemProviders.d.ts +27 -0
  923. package/bin/plugin/core/PluginSystemProviders.d.ts.map +1 -0
  924. package/bin/plugin/core/PluginSystemProviders.js +34 -0
  925. package/bin/plugin/core/PluginSystemProviders.js.map +1 -0
  926. package/bin/plugin/core/schedule/Executor.d.ts +17 -0
  927. package/bin/plugin/core/schedule/Executor.d.ts.map +1 -0
  928. package/bin/plugin/core/schedule/Executor.js +48 -0
  929. package/bin/plugin/core/schedule/Executor.js.map +1 -0
  930. package/bin/plugin/core/schedule/Store.d.ts +91 -0
  931. package/bin/plugin/core/schedule/Store.d.ts.map +1 -0
  932. package/bin/plugin/core/schedule/Store.js +284 -0
  933. package/bin/plugin/core/schedule/Store.js.map +1 -0
  934. package/bin/plugin/core/schedule/Time.d.ts +31 -0
  935. package/bin/plugin/core/schedule/Time.d.ts.map +1 -0
  936. package/bin/plugin/core/schedule/Time.js +107 -0
  937. package/bin/plugin/core/schedule/Time.js.map +1 -0
  938. package/bin/plugin/types/Plugin.d.ts +171 -17
  939. package/bin/plugin/types/Plugin.d.ts.map +1 -1
  940. package/bin/plugin/types/PluginApi.d.ts +3 -3
  941. package/bin/plugin/types/PluginApi.d.ts.map +1 -1
  942. package/bin/plugin/types/PluginApi.js +1 -1
  943. package/bin/plugin/types/PluginSchedule.d.ts +80 -0
  944. package/bin/plugin/types/PluginSchedule.d.ts.map +1 -0
  945. package/bin/plugin/types/PluginSchedule.js +5 -0
  946. package/bin/plugin/types/PluginSchedule.js.map +1 -0
  947. package/bin/plugin/types/PluginState.d.ts +5 -0
  948. package/bin/plugin/types/PluginState.d.ts.map +1 -0
  949. package/bin/plugin/types/PluginState.js +5 -0
  950. package/bin/plugin/types/PluginState.js.map +1 -0
  951. package/bin/plugin/types/Plugins.d.ts +61 -0
  952. package/bin/plugin/types/Plugins.d.ts.map +1 -0
  953. package/bin/plugin/types/Plugins.js +5 -0
  954. package/bin/plugin/types/Plugins.js.map +1 -0
  955. package/bin/runtime/host/AgentHostRuntime.d.ts +1 -1
  956. package/bin/runtime/host/AgentHostRuntime.d.ts.map +1 -1
  957. package/bin/runtime/host/AgentHostRuntime.js +6 -4
  958. package/bin/runtime/host/AgentHostRuntime.js.map +1 -1
  959. package/bin/runtime/host/daemon/Api.d.ts +2 -2
  960. package/bin/runtime/host/daemon/Api.js +1 -1
  961. package/bin/runtime/host/daemon/ProjectSetup.js +2 -2
  962. package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
  963. package/bin/runtime/sandbox/types/SandboxRuntime.d.ts +1 -1
  964. package/bin/runtime/sandbox/types/SandboxRuntime.js +1 -1
  965. package/bin/runtime/server/http/Server.d.ts +8 -8
  966. package/bin/runtime/server/http/Server.d.ts.map +1 -1
  967. package/bin/runtime/server/http/Server.js +8 -30
  968. package/bin/runtime/server/http/Server.js.map +1 -1
  969. package/bin/runtime/server/http/control/ExecuteBySession.d.ts +2 -2
  970. package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
  971. package/bin/runtime/server/http/control/ExecuteBySession.js +10 -36
  972. package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
  973. package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
  974. package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
  975. package/bin/runtime/server/http/control/MessageTimeline.d.ts +1 -1
  976. package/bin/runtime/server/http/control/MessageTimeline.d.ts.map +1 -1
  977. package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
  978. package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
  979. package/bin/runtime/server/http/control/OverviewRoutes.d.ts +2 -2
  980. package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
  981. package/bin/runtime/server/http/control/OverviewRoutes.js +9 -8
  982. package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
  983. package/bin/runtime/server/http/control/SessionRoutes.d.ts.map +1 -1
  984. package/bin/runtime/server/http/control/SessionRoutes.js +7 -6
  985. package/bin/runtime/server/http/control/SessionRoutes.js.map +1 -1
  986. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -0
  987. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
  988. package/bin/runtime/server/http/control/SessionSummaryStore.js +3 -3
  989. package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
  990. package/bin/runtime/server/http/control/TaskRoutes.d.ts +1 -1
  991. package/bin/runtime/server/http/control/TaskRoutes.js +10 -10
  992. package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
  993. package/bin/runtime/server/http/control/TaskStore.js +1 -1
  994. package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
  995. package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
  996. package/bin/runtime/server/http/execute/execute.js +7 -36
  997. package/bin/runtime/server/http/execute/execute.js.map +1 -1
  998. package/bin/runtime/server/http/plugins/plugins.d.ts +3 -3
  999. package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
  1000. package/bin/runtime/server/http/plugins/plugins.js +61 -4
  1001. package/bin/runtime/server/http/plugins/plugins.js.map +1 -1
  1002. package/bin/runtime/server/http/sdk/Router.d.ts +2 -2
  1003. package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
  1004. package/bin/runtime/server/http/sdk/Router.js +2 -2
  1005. package/bin/runtime/server/http/sdk/Router.js.map +1 -1
  1006. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +2 -2
  1007. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
  1008. package/bin/runtime/server/http/sdk/SessionRoutes.js +72 -13
  1009. package/bin/runtime/server/http/sdk/SessionRoutes.js.map +1 -1
  1010. package/bin/runtime/server/rpc/Server.d.ts +2 -4
  1011. package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
  1012. package/bin/runtime/server/rpc/Server.js +31 -33
  1013. package/bin/runtime/server/rpc/Server.js.map +1 -1
  1014. package/bin/sdk/Agent.d.ts +21 -20
  1015. package/bin/sdk/Agent.d.ts.map +1 -1
  1016. package/bin/sdk/Agent.js +47 -34
  1017. package/bin/sdk/Agent.js.map +1 -1
  1018. package/bin/sdk/AgentSdkTypes.d.ts +313 -41
  1019. package/bin/sdk/AgentSdkTypes.d.ts.map +1 -1
  1020. package/bin/sdk/AgentSdkTypes.js +1 -1
  1021. package/bin/sdk/RemoteAgent.d.ts +9 -57
  1022. package/bin/sdk/RemoteAgent.d.ts.map +1 -1
  1023. package/bin/sdk/RemoteAgent.js +63 -14
  1024. package/bin/sdk/RemoteAgent.js.map +1 -1
  1025. package/bin/sdk/Session.d.ts +18 -23
  1026. package/bin/sdk/Session.d.ts.map +1 -1
  1027. package/bin/sdk/Session.js +85 -100
  1028. package/bin/sdk/Session.js.map +1 -1
  1029. package/bin/sdk/SessionSystemBuilder.d.ts +8 -8
  1030. package/bin/sdk/SessionSystemBuilder.d.ts.map +1 -1
  1031. package/bin/sdk/SessionSystemBuilder.js +6 -7
  1032. package/bin/sdk/SessionSystemBuilder.js.map +1 -1
  1033. package/bin/sdk/session/Browse.d.ts +76 -0
  1034. package/bin/sdk/session/Browse.d.ts.map +1 -0
  1035. package/bin/sdk/session/Browse.js +418 -0
  1036. package/bin/sdk/session/Browse.js.map +1 -0
  1037. package/bin/sdk/session/Metadata.d.ts +1 -1
  1038. package/bin/sdk/session/Metadata.d.ts.map +1 -1
  1039. package/bin/sdk/session/Paths.d.ts +2 -2
  1040. package/bin/sdk/session/Paths.js +2 -2
  1041. package/bin/sdk/session/Persistence.d.ts +1 -1
  1042. package/bin/sdk/session/Persistence.d.ts.map +1 -1
  1043. package/bin/sdk/session/Persistence.js +5 -5
  1044. package/bin/sdk/session/Persistence.js.map +1 -1
  1045. package/bin/sdk/session/RuntimeSessionPort.d.ts +70 -0
  1046. package/bin/sdk/session/RuntimeSessionPort.d.ts.map +1 -0
  1047. package/bin/sdk/session/RuntimeSessionPort.js +40 -0
  1048. package/bin/sdk/session/RuntimeSessionPort.js.map +1 -0
  1049. package/bin/sdk/session/index.d.ts +3 -2
  1050. package/bin/sdk/session/index.d.ts.map +1 -1
  1051. package/bin/sdk/session/index.js +3 -2
  1052. package/bin/sdk/session/index.js.map +1 -1
  1053. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +7 -4
  1054. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +1 -1
  1055. package/bin/sdk/session/runtime/SessionPromptRuntime.js +29 -5
  1056. package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +1 -1
  1057. package/bin/types/config/DowncityConfig.d.ts +133 -97
  1058. package/bin/types/config/DowncityConfig.d.ts.map +1 -1
  1059. package/bin/types/runtime/auth/AuthPermission.d.ts +1 -1
  1060. package/bin/types/runtime/auth/AuthPermission.d.ts.map +1 -1
  1061. package/bin/types/runtime/auth/AuthPermission.js +0 -5
  1062. package/bin/types/runtime/auth/AuthPermission.js.map +1 -1
  1063. package/bin/types/runtime/host/AgentHost.d.ts +9 -5
  1064. package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
  1065. package/bin/types/runtime/host/AgentHost.js +1 -1
  1066. package/bin/types/runtime/http/InlineInstant.d.ts +2 -2
  1067. package/bin/types/runtime/http/InlineInstant.d.ts.map +1 -1
  1068. package/bin/types/runtime/platform/PlatformGateway.d.ts +10 -10
  1069. package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
  1070. package/bin/types/sdk/AgentSessionEvent.d.ts +27 -1
  1071. package/bin/types/sdk/AgentSessionEvent.d.ts.map +1 -1
  1072. package/bin/types/sdk/AgentSessionTurn.d.ts +9 -0
  1073. package/bin/types/sdk/AgentSessionTurn.d.ts.map +1 -1
  1074. package/package.json +3 -11
  1075. package/scripts/session-prompt-runtime.test.mjs +30 -10
  1076. package/src/config/Defaults.ts +1 -1
  1077. package/src/config/DowncitySchema.ts +2 -8
  1078. package/src/config/Paths.ts +55 -14
  1079. package/src/config/project/AgentInitializer.ts +6 -7
  1080. package/src/core/AgentContextTypes.ts +20 -56
  1081. package/src/core/AgentCore.ts +115 -131
  1082. package/src/core/AgentCoreTypes.ts +5 -5
  1083. package/src/executor/Executor.ts +732 -0
  1084. package/src/executor/README.md +108 -0
  1085. package/src/executor/SessionRunScope.ts +146 -0
  1086. package/src/executor/composer/compaction/SessionCompactionComposer.ts +62 -0
  1087. package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +101 -0
  1088. package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
  1089. package/src/executor/composer/context/LocalSessionContextComposer.ts +168 -0
  1090. package/src/executor/composer/context/SessionContextComposer.ts +70 -0
  1091. package/src/executor/composer/history/SessionHistoryComposer.ts +62 -0
  1092. package/src/executor/composer/history/SessionHistoryWriter.ts +131 -0
  1093. package/src/executor/composer/history/jsonl/JsonlSessionHistoryComposer.ts +126 -0
  1094. package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +77 -0
  1095. package/src/executor/composer/system/default/InitPromptAssets.ts +20 -0
  1096. package/src/executor/composer/system/default/InitPrompts.ts +11 -0
  1097. package/src/executor/composer/system/default/PromptRenderer.ts +52 -0
  1098. package/src/executor/composer/system/default/StaticPromptCatalog.ts +287 -0
  1099. package/src/executor/composer/system/default/SystemDomain.ts +377 -0
  1100. package/src/executor/composer/system/default/SystemPromptAssets.ts +26 -0
  1101. package/src/executor/composer/system/default/assets/core.prompt.ts +9 -0
  1102. package/src/executor/composer/system/default/assets/core.prompt.ts.txt +39 -0
  1103. package/src/executor/composer/system/default/assets/init/PROFILE.md.ts +9 -0
  1104. package/src/executor/composer/system/default/assets/init/SOUL.md.ts +9 -0
  1105. package/src/executor/composer/system/default/assets/plugin.prompt.ts +9 -0
  1106. package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +28 -0
  1107. package/src/executor/composer/system/default/assets/task.prompt.ts +9 -0
  1108. package/src/executor/composer/system/default/variables/GeoContext.ts +180 -0
  1109. package/src/executor/composer/system/default/variables/VariableReplacer.ts +154 -0
  1110. package/src/executor/core-engine/CoreEngineLoopDecision.ts +80 -0
  1111. package/src/executor/core-engine/CoreEngineMessageState.ts +133 -0
  1112. package/src/executor/core-engine/CoreEngineSignals.ts +416 -0
  1113. package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +96 -0
  1114. package/src/executor/messages/AssistantResultPersistence.ts +111 -0
  1115. package/src/executor/messages/SessionAttachmentMapper.ts +155 -0
  1116. package/src/executor/messages/SessionMessageCodec.ts +116 -0
  1117. package/src/executor/messages/SessionMessageLog.ts +39 -0
  1118. package/src/executor/messages/SessionStepEventMapper.ts +233 -0
  1119. package/src/executor/store/history/SessionHistoryStore.ts +145 -0
  1120. package/src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts +500 -0
  1121. package/src/executor/tools/shell/ShellToolBridge.ts +378 -0
  1122. package/src/executor/tools/shell/ShellToolDefinition.ts +509 -0
  1123. package/src/executor/tools/shell/ShellToolFormatting.ts +83 -0
  1124. package/src/executor/tools/shell/ShellToolSchemas.ts +120 -0
  1125. package/src/executor/types/SessionExecutor.ts +33 -0
  1126. package/src/executor/types/SessionHistoryMeta.ts +46 -0
  1127. package/src/executor/types/SessionHistoryPaths.ts +33 -0
  1128. package/src/executor/types/SessionMessages.ts +90 -0
  1129. package/src/executor/types/SessionRun.ts +132 -0
  1130. package/src/index.ts +80 -73
  1131. package/src/plugin/builtins/asr/InboundAugment.ts +1 -1
  1132. package/src/plugin/builtins/asr/Plugin.ts +25 -12
  1133. package/src/plugin/builtins/auth/Plugin.ts +21 -8
  1134. package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +1 -1
  1135. package/src/plugin/builtins/auth/types/AuthPlugin.ts +2 -2
  1136. package/src/plugin/builtins/chat/Action.ts +477 -0
  1137. package/src/plugin/builtins/chat/ChatPlugin.ts +255 -0
  1138. package/src/plugin/builtins/chat/ChatPluginTypes.ts +164 -0
  1139. package/src/plugin/builtins/chat/Index.ts +8 -0
  1140. package/src/plugin/builtins/chat/PROMPT.direct.ts +9 -0
  1141. package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +55 -0
  1142. package/src/plugin/builtins/chat/accounts/ChannelAccountManager.ts +297 -0
  1143. package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +450 -0
  1144. package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +320 -0
  1145. package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +321 -0
  1146. package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +49 -0
  1147. package/src/plugin/builtins/chat/channels/Configuration.ts +35 -0
  1148. package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +43 -0
  1149. package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +199 -0
  1150. package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +65 -0
  1151. package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +467 -0
  1152. package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +51 -0
  1153. package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +483 -0
  1154. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
  1155. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
  1156. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
  1157. package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +261 -0
  1158. package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +9 -0
  1159. package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +492 -0
  1160. package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +68 -0
  1161. package/src/plugin/builtins/chat/channels/feishu/Shared.ts +94 -0
  1162. package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +131 -0
  1163. package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +137 -0
  1164. package/src/plugin/builtins/chat/channels/qq/Configuration.ts +64 -0
  1165. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +9 -0
  1166. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +11 -0
  1167. package/src/plugin/builtins/chat/channels/qq/QQ.ts +398 -0
  1168. package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +88 -0
  1169. package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +318 -0
  1170. package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +467 -0
  1171. package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +175 -0
  1172. package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +114 -0
  1173. package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +176 -0
  1174. package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +258 -0
  1175. package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +159 -0
  1176. package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +262 -0
  1177. package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +126 -0
  1178. package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +465 -0
  1179. package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +263 -0
  1180. package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +381 -0
  1181. package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +501 -0
  1182. package/src/plugin/builtins/chat/channels/telegram/Bot.ts +357 -0
  1183. package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +92 -0
  1184. package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +65 -0
  1185. package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +9 -0
  1186. package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +76 -0
  1187. package/src/plugin/builtins/chat/channels/telegram/Shared.ts +404 -0
  1188. package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +485 -0
  1189. package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +204 -0
  1190. package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
  1191. package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +395 -0
  1192. package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +362 -0
  1193. package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +167 -0
  1194. package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +307 -0
  1195. package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +330 -0
  1196. package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +145 -0
  1197. package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +23 -0
  1198. package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +169 -0
  1199. package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +289 -0
  1200. package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +68 -0
  1201. package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +263 -0
  1202. package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +186 -0
  1203. package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +367 -0
  1204. package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +5 -0
  1205. package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +70 -0
  1206. package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +32 -0
  1207. package/src/plugin/builtins/chat/runtime/ChatQueue.ts +77 -0
  1208. package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +185 -0
  1209. package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +485 -0
  1210. package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
  1211. package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +255 -0
  1212. package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +170 -0
  1213. package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +43 -0
  1214. package/src/plugin/builtins/chat/runtime/ChatSession.ts +156 -0
  1215. package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +106 -0
  1216. package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +95 -0
  1217. package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +32 -0
  1218. package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +187 -0
  1219. package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +158 -0
  1220. package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +49 -0
  1221. package/src/plugin/builtins/chat/runtime/InboundAugment.ts +63 -0
  1222. package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +89 -0
  1223. package/src/plugin/builtins/chat/runtime/PluginPoints.ts +78 -0
  1224. package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +43 -0
  1225. package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +85 -0
  1226. package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +78 -0
  1227. package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +84 -0
  1228. package/src/plugin/builtins/chat/runtime/UIMessageTransformer.ts +141 -0
  1229. package/src/plugin/builtins/chat/runtime/UserVisibleText.ts +84 -0
  1230. package/src/plugin/builtins/chat/types/BotInfo.ts +101 -0
  1231. package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +161 -0
  1232. package/src/plugin/builtins/chat/types/ChannelContext.ts +110 -0
  1233. package/src/plugin/builtins/chat/types/ChannelStatus.ts +98 -0
  1234. package/src/plugin/builtins/chat/types/ChatHistory.ts +42 -0
  1235. package/src/plugin/builtins/chat/types/ChatMessageMarkup.ts +168 -0
  1236. package/src/plugin/builtins/chat/types/ChatMeta.ts +35 -0
  1237. package/src/plugin/builtins/chat/types/ChatPlugin.ts +251 -0
  1238. package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +165 -0
  1239. package/src/plugin/builtins/chat/types/ChatPromptContext.ts +139 -0
  1240. package/src/plugin/builtins/chat/types/ChatQueue.ts +41 -0
  1241. package/src/plugin/builtins/chat/types/ChatRuntime.ts +33 -0
  1242. package/src/plugin/builtins/chat/types/DirectDispatch.ts +133 -0
  1243. package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +138 -0
  1244. package/src/plugin/builtins/contact/Action.ts +316 -0
  1245. package/src/plugin/builtins/contact/ContactPlugin.ts +505 -0
  1246. package/src/plugin/builtins/contact/Index.ts +8 -0
  1247. package/src/plugin/builtins/contact/PROMPT.ts +9 -0
  1248. package/src/plugin/builtins/contact/PROMPT.ts.txt +25 -0
  1249. package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +97 -0
  1250. package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +83 -0
  1251. package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +14 -0
  1252. package/src/plugin/builtins/contact/runtime/ContactStore.ts +299 -0
  1253. package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +125 -0
  1254. package/src/plugin/builtins/contact/runtime/InboxStore.ts +178 -0
  1255. package/src/plugin/builtins/contact/runtime/LinkApproval.ts +387 -0
  1256. package/src/plugin/builtins/contact/runtime/LinkCode.ts +70 -0
  1257. package/src/plugin/builtins/contact/runtime/LinkStore.ts +50 -0
  1258. package/src/plugin/builtins/contact/runtime/Paths.ts +139 -0
  1259. package/src/plugin/builtins/contact/runtime/RemoteClient.ts +158 -0
  1260. package/src/plugin/builtins/contact/runtime/ShareBundle.ts +286 -0
  1261. package/src/plugin/builtins/contact/runtime/SystemProvider.ts +15 -0
  1262. package/src/plugin/builtins/contact/types/ContactCheck.ts +67 -0
  1263. package/src/plugin/builtins/contact/types/ContactCommand.ts +98 -0
  1264. package/src/plugin/builtins/memory/Action.ts +147 -0
  1265. package/src/plugin/builtins/memory/Index.ts +9 -0
  1266. package/src/plugin/builtins/memory/MemoryPlugin.ts +270 -0
  1267. package/src/plugin/builtins/memory/runtime/Flush.ts +83 -0
  1268. package/src/plugin/builtins/memory/runtime/Search.ts +330 -0
  1269. package/src/plugin/builtins/memory/runtime/Store.ts +198 -0
  1270. package/src/plugin/builtins/memory/runtime/SystemProvider.ts +145 -0
  1271. package/src/plugin/builtins/memory/runtime/Writer.ts +173 -0
  1272. package/src/plugin/builtins/schedule/SchedulePlugin.ts +131 -0
  1273. package/src/plugin/builtins/shell/Index.ts +9 -0
  1274. package/src/plugin/builtins/shell/ShellPlugin.ts +199 -0
  1275. package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +94 -0
  1276. package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +135 -0
  1277. package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +544 -0
  1278. package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +384 -0
  1279. package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +65 -0
  1280. package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +75 -0
  1281. package/src/plugin/builtins/shell/types/ShellPlugin.ts +233 -0
  1282. package/src/plugin/builtins/skill/Plugin.ts +21 -8
  1283. package/src/plugin/builtins/skill/runtime/SystemProvider.ts +1 -1
  1284. package/src/plugin/builtins/task/Index.ts +8 -0
  1285. package/src/plugin/builtins/task/PROMPT.ts +9 -0
  1286. package/src/plugin/builtins/task/PROMPT.ts.txt +237 -0
  1287. package/src/plugin/builtins/task/Scheduler.ts +245 -0
  1288. package/src/plugin/builtins/task/TaskPlugin.ts +167 -0
  1289. package/src/plugin/builtins/task/runtime/CronTrigger.ts +110 -0
  1290. package/src/plugin/builtins/task/runtime/Model.ts +347 -0
  1291. package/src/plugin/builtins/task/runtime/Runner.ts +519 -0
  1292. package/src/plugin/builtins/task/runtime/Store.ts +253 -0
  1293. package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +276 -0
  1294. package/src/plugin/builtins/task/runtime/TaskActionInput.ts +281 -0
  1295. package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +214 -0
  1296. package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +5 -0
  1297. package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +8 -0
  1298. package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +14 -0
  1299. package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +493 -0
  1300. package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +81 -0
  1301. package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +112 -0
  1302. package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +337 -0
  1303. package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +175 -0
  1304. package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +190 -0
  1305. package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +199 -0
  1306. package/src/plugin/builtins/task/types/Cron.ts +16 -0
  1307. package/src/plugin/builtins/task/types/TaskPluginTypes.ts +55 -0
  1308. package/src/plugin/builtins/tts/Plugin.ts +23 -10
  1309. package/src/plugin/builtins/tts/runtime/Synthesizer.ts +1 -1
  1310. package/src/plugin/builtins/voice/InboundAugment.ts +1 -1
  1311. package/src/plugin/builtins/web/Plugin.ts +23 -10
  1312. package/src/plugin/builtins/workboard/Plugin.ts +71 -58
  1313. package/src/plugin/builtins/workboard/runtime/Collector.ts +7 -6
  1314. package/src/plugin/builtins/workboard/runtime/Normalizer.ts +4 -4
  1315. package/src/plugin/core/BasePlugin.ts +134 -0
  1316. package/src/plugin/core/BuiltinPluginClasses.ts +48 -0
  1317. package/src/plugin/core/Catalog.ts +6 -5
  1318. package/src/plugin/core/HttpRoutes.ts +6 -6
  1319. package/src/plugin/core/LocalExecution.ts +21 -2
  1320. package/src/plugin/core/Manager.ts +21 -0
  1321. package/src/plugin/core/PluginActionRunner.ts +267 -0
  1322. package/src/plugin/core/PluginClassRegistry.ts +88 -0
  1323. package/src/plugin/core/PluginCommand.ts +4 -4
  1324. package/src/plugin/core/PluginCommandRequest.ts +93 -0
  1325. package/src/plugin/core/PluginStateController.ts +328 -0
  1326. package/src/plugin/core/PluginSystemProviders.ts +50 -0
  1327. package/src/plugin/core/schedule/Executor.ts +54 -0
  1328. package/src/plugin/core/schedule/Store.ts +358 -0
  1329. package/src/plugin/core/schedule/Time.ts +131 -0
  1330. package/src/plugin/types/Plugin.ts +191 -18
  1331. package/src/plugin/types/PluginApi.ts +3 -3
  1332. package/src/plugin/types/PluginSchedule.ts +89 -0
  1333. package/src/plugin/types/PluginState.ts +11 -0
  1334. package/src/plugin/types/Plugins.ts +67 -0
  1335. package/src/runtime/host/AgentHostRuntime.ts +10 -4
  1336. package/src/runtime/host/daemon/Api.ts +2 -2
  1337. package/src/runtime/host/daemon/ProjectSetup.ts +2 -2
  1338. package/src/runtime/sandbox/types/SandboxRuntime.ts +1 -1
  1339. package/src/runtime/server/http/Server.ts +19 -51
  1340. package/src/runtime/server/http/control/ExecuteBySession.ts +10 -44
  1341. package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
  1342. package/src/runtime/server/http/control/MessageTimeline.ts +3 -3
  1343. package/src/runtime/server/http/control/OverviewRoutes.ts +9 -8
  1344. package/src/runtime/server/http/control/SessionRoutes.ts +15 -3
  1345. package/src/runtime/server/http/control/SessionSummaryStore.ts +11 -3
  1346. package/src/runtime/server/http/control/TaskRoutes.ts +10 -10
  1347. package/src/runtime/server/http/control/TaskStore.ts +1 -1
  1348. package/src/runtime/server/http/execute/execute.ts +7 -46
  1349. package/src/runtime/server/http/plugins/plugins.ts +71 -4
  1350. package/src/runtime/server/http/sdk/Router.ts +3 -3
  1351. package/src/runtime/server/http/sdk/SessionRoutes.ts +82 -14
  1352. package/src/runtime/server/rpc/Server.ts +50 -48
  1353. package/src/sdk/Agent.ts +59 -41
  1354. package/src/sdk/AgentSdkTypes.ts +360 -43
  1355. package/src/sdk/RemoteAgent.ts +94 -21
  1356. package/src/sdk/Session.ts +101 -126
  1357. package/src/sdk/SessionSystemBuilder.ts +12 -13
  1358. package/src/sdk/session/Browse.ts +519 -0
  1359. package/src/sdk/session/Metadata.ts +1 -1
  1360. package/src/sdk/session/Paths.ts +2 -2
  1361. package/src/sdk/session/Persistence.ts +7 -7
  1362. package/src/sdk/session/RuntimeSessionPort.ts +107 -0
  1363. package/src/sdk/session/index.ts +12 -3
  1364. package/src/sdk/session/runtime/SessionPromptRuntime.ts +48 -15
  1365. package/src/types/config/DowncityConfig.ts +144 -97
  1366. package/src/types/runtime/auth/AuthPermission.ts +0 -6
  1367. package/src/types/runtime/host/AgentHost.ts +9 -5
  1368. package/src/types/runtime/http/InlineInstant.ts +2 -2
  1369. package/src/types/runtime/platform/PlatformGateway.ts +10 -10
  1370. package/src/types/sdk/AgentSessionEvent.ts +32 -0
  1371. package/src/types/sdk/AgentSessionTurn.ts +11 -0
  1372. package/tsconfig.json +1 -2
  1373. package/tsconfig.tsbuildinfo +1 -1
  1374. package/bin/plugin/builtins/voice/Plugin.d.ts +0 -14
  1375. package/bin/plugin/builtins/voice/Plugin.d.ts.map +0 -1
  1376. package/bin/plugin/builtins/voice/Plugin.js +0 -426
  1377. package/bin/plugin/builtins/voice/Plugin.js.map +0 -1
  1378. package/bin/plugin/core/PluginManager.d.ts +0 -24
  1379. package/bin/plugin/core/PluginManager.d.ts.map +0 -1
  1380. package/bin/plugin/core/PluginManager.js +0 -62
  1381. package/bin/plugin/core/PluginManager.js.map +0 -1
  1382. package/bin/plugin/core/Plugins.d.ts +0 -20
  1383. package/bin/plugin/core/Plugins.d.ts.map +0 -1
  1384. package/bin/plugin/core/Plugins.js +0 -33
  1385. package/bin/plugin/core/Plugins.js.map +0 -1
  1386. package/bin/runtime/host/PluginRuntime.d.ts +0 -24
  1387. package/bin/runtime/host/PluginRuntime.d.ts.map +0 -1
  1388. package/bin/runtime/host/PluginRuntime.js +0 -31
  1389. package/bin/runtime/host/PluginRuntime.js.map +0 -1
  1390. package/bin/runtime/server/http/auth/AuthError.d.ts +0 -22
  1391. package/bin/runtime/server/http/auth/AuthError.d.ts.map +0 -1
  1392. package/bin/runtime/server/http/auth/AuthError.js +0 -28
  1393. package/bin/runtime/server/http/auth/AuthError.js.map +0 -1
  1394. package/bin/runtime/server/http/auth/PasswordHasher.d.ts +0 -16
  1395. package/bin/runtime/server/http/auth/PasswordHasher.d.ts.map +0 -1
  1396. package/bin/runtime/server/http/auth/PasswordHasher.js +0 -37
  1397. package/bin/runtime/server/http/auth/PasswordHasher.js.map +0 -1
  1398. package/bin/runtime/server/http/auth/TokenService.d.ts +0 -20
  1399. package/bin/runtime/server/http/auth/TokenService.d.ts.map +0 -1
  1400. package/bin/runtime/server/http/auth/TokenService.js +0 -34
  1401. package/bin/runtime/server/http/auth/TokenService.js.map +0 -1
  1402. package/bin/runtime/server/http/services/services.d.ts +0 -25
  1403. package/bin/runtime/server/http/services/services.d.ts.map +0 -1
  1404. package/bin/runtime/server/http/services/services.js +0 -72
  1405. package/bin/runtime/server/http/services/services.js.map +0 -1
  1406. package/bin/sdk/session/ServicePort.d.ts +0 -86
  1407. package/bin/sdk/session/ServicePort.d.ts.map +0 -1
  1408. package/bin/sdk/session/ServicePort.js +0 -44
  1409. package/bin/sdk/session/ServicePort.js.map +0 -1
  1410. package/bin/service/builtins/BaseService.d.ts +0 -70
  1411. package/bin/service/builtins/BaseService.d.ts.map +0 -1
  1412. package/bin/service/builtins/BaseService.js +0 -67
  1413. package/bin/service/builtins/BaseService.js.map +0 -1
  1414. package/bin/service/builtins/chat/Action.d.ts +0 -125
  1415. package/bin/service/builtins/chat/Action.d.ts.map +0 -1
  1416. package/bin/service/builtins/chat/Action.js +0 -376
  1417. package/bin/service/builtins/chat/Action.js.map +0 -1
  1418. package/bin/service/builtins/chat/ChatService.d.ts +0 -89
  1419. package/bin/service/builtins/chat/ChatService.d.ts.map +0 -1
  1420. package/bin/service/builtins/chat/ChatService.js +0 -212
  1421. package/bin/service/builtins/chat/ChatService.js.map +0 -1
  1422. package/bin/service/builtins/chat/ChatServiceTypes.d.ts +0 -159
  1423. package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +0 -1
  1424. package/bin/service/builtins/chat/ChatServiceTypes.js +0 -10
  1425. package/bin/service/builtins/chat/ChatServiceTypes.js.map +0 -1
  1426. package/bin/service/builtins/chat/Index.d.ts +0 -9
  1427. package/bin/service/builtins/chat/Index.d.ts.map +0 -1
  1428. package/bin/service/builtins/chat/Index.js +0 -9
  1429. package/bin/service/builtins/chat/Index.js.map +0 -1
  1430. package/bin/service/builtins/chat/PROMPT.direct.d.ts +0 -7
  1431. package/bin/service/builtins/chat/PROMPT.direct.d.ts.map +0 -1
  1432. package/bin/service/builtins/chat/PROMPT.direct.js +0 -8
  1433. package/bin/service/builtins/chat/PROMPT.direct.js.map +0 -1
  1434. package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +0 -63
  1435. package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +0 -1
  1436. package/bin/service/builtins/chat/accounts/ChannelAccountService.js +0 -258
  1437. package/bin/service/builtins/chat/accounts/ChannelAccountService.js.map +0 -1
  1438. package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
  1439. package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
  1440. package/bin/service/builtins/chat/channels/BaseChatChannel.js +0 -294
  1441. package/bin/service/builtins/chat/channels/BaseChatChannel.js.map +0 -1
  1442. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
  1443. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
  1444. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js +0 -238
  1445. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
  1446. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
  1447. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
  1448. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
  1449. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
  1450. package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
  1451. package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
  1452. package/bin/service/builtins/chat/channels/BotInfoProvider.js +0 -32
  1453. package/bin/service/builtins/chat/channels/BotInfoProvider.js.map +0 -1
  1454. package/bin/service/builtins/chat/channels/Configuration.d.ts +0 -27
  1455. package/bin/service/builtins/chat/channels/Configuration.d.ts.map +0 -1
  1456. package/bin/service/builtins/chat/channels/Configuration.js.map +0 -1
  1457. package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
  1458. package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
  1459. package/bin/service/builtins/chat/channels/ConfigurationRegistry.js +0 -31
  1460. package/bin/service/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
  1461. package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
  1462. package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
  1463. package/bin/service/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
  1464. package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
  1465. package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
  1466. package/bin/service/builtins/chat/channels/feishu/Configuration.js +0 -59
  1467. package/bin/service/builtins/chat/channels/feishu/Configuration.js.map +0 -1
  1468. package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
  1469. package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
  1470. package/bin/service/builtins/chat/channels/feishu/Feishu.js +0 -326
  1471. package/bin/service/builtins/chat/channels/feishu/Feishu.js.map +0 -1
  1472. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
  1473. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
  1474. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
  1475. package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
  1476. package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
  1477. package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
  1478. package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
  1479. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
  1480. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
  1481. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
  1482. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
  1483. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
  1484. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
  1485. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
  1486. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
  1487. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
  1488. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
  1489. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
  1490. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
  1491. package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
  1492. package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
  1493. package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
  1494. package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
  1495. package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
  1496. package/bin/service/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
  1497. package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
  1498. package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
  1499. package/bin/service/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
  1500. package/bin/service/builtins/chat/channels/feishu/Shared.d.ts +0 -21
  1501. package/bin/service/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
  1502. package/bin/service/builtins/chat/channels/feishu/Shared.js +0 -69
  1503. package/bin/service/builtins/chat/channels/feishu/Shared.js.map +0 -1
  1504. package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
  1505. package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
  1506. package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
  1507. package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
  1508. package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
  1509. package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
  1510. package/bin/service/builtins/chat/channels/qq/BotInfo.js.map +0 -1
  1511. package/bin/service/builtins/chat/channels/qq/Configuration.d.ts +0 -17
  1512. package/bin/service/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
  1513. package/bin/service/builtins/chat/channels/qq/Configuration.js +0 -59
  1514. package/bin/service/builtins/chat/channels/qq/Configuration.js.map +0 -1
  1515. package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
  1516. package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
  1517. package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
  1518. package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
  1519. package/bin/service/builtins/chat/channels/qq/QQ.d.ts +0 -92
  1520. package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
  1521. package/bin/service/builtins/chat/channels/qq/QQ.js +0 -287
  1522. package/bin/service/builtins/chat/channels/qq/QQ.js.map +0 -1
  1523. package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
  1524. package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
  1525. package/bin/service/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
  1526. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
  1527. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
  1528. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
  1529. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
  1530. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
  1531. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
  1532. package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
  1533. package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
  1534. package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
  1535. package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
  1536. package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
  1537. package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
  1538. package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
  1539. package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
  1540. package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
  1541. package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
  1542. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
  1543. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
  1544. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
  1545. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
  1546. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
  1547. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
  1548. package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
  1549. package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
  1550. package/bin/service/builtins/chat/channels/qq/QQInbound.js.map +0 -1
  1551. package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
  1552. package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
  1553. package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
  1554. package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
  1555. package/bin/service/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
  1556. package/bin/service/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
  1557. package/bin/service/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
  1558. package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
  1559. package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
  1560. package/bin/service/builtins/chat/channels/qq/QQSupport.js +0 -172
  1561. package/bin/service/builtins/chat/channels/qq/QQSupport.js.map +0 -1
  1562. package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
  1563. package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
  1564. package/bin/service/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
  1565. package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
  1566. package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
  1567. package/bin/service/builtins/chat/channels/qq/types/QqChannel.js +0 -42
  1568. package/bin/service/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
  1569. package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
  1570. package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
  1571. package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
  1572. package/bin/service/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
  1573. package/bin/service/builtins/chat/channels/telegram/Bot.d.ts +0 -97
  1574. package/bin/service/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
  1575. package/bin/service/builtins/chat/channels/telegram/Bot.js +0 -246
  1576. package/bin/service/builtins/chat/channels/telegram/Bot.js.map +0 -1
  1577. package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
  1578. package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
  1579. package/bin/service/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
  1580. package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
  1581. package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
  1582. package/bin/service/builtins/chat/channels/telegram/Configuration.js +0 -59
  1583. package/bin/service/builtins/chat/channels/telegram/Configuration.js.map +0 -1
  1584. package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
  1585. package/bin/service/builtins/chat/channels/telegram/Handlers.js.map +0 -1
  1586. package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
  1587. package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
  1588. package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
  1589. package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
  1590. package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
  1591. package/bin/service/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
  1592. package/bin/service/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
  1593. package/bin/service/builtins/chat/channels/telegram/Shared.js +0 -171
  1594. package/bin/service/builtins/chat/channels/telegram/Shared.js.map +0 -1
  1595. package/bin/service/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
  1596. package/bin/service/builtins/chat/channels/telegram/StateStore.js.map +0 -1
  1597. package/bin/service/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
  1598. package/bin/service/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
  1599. package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
  1600. package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
  1601. package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
  1602. package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
  1603. package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
  1604. package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
  1605. package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
  1606. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
  1607. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
  1608. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
  1609. package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
  1610. package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
  1611. package/bin/service/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
  1612. package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
  1613. package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
  1614. package/bin/service/builtins/chat/runtime/ChatActionExecution.js +0 -287
  1615. package/bin/service/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
  1616. package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
  1617. package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
  1618. package/bin/service/builtins/chat/runtime/ChatActionInput.js +0 -114
  1619. package/bin/service/builtins/chat/runtime/ChatActionInput.js.map +0 -1
  1620. package/bin/service/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
  1621. package/bin/service/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
  1622. package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
  1623. package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
  1624. package/bin/service/builtins/chat/runtime/ChatChannelActions.js +0 -230
  1625. package/bin/service/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
  1626. package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
  1627. package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
  1628. package/bin/service/builtins/chat/runtime/ChatChannelConfig.js +0 -260
  1629. package/bin/service/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
  1630. package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
  1631. package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
  1632. package/bin/service/builtins/chat/runtime/ChatChannelCore.js +0 -106
  1633. package/bin/service/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
  1634. package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
  1635. package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
  1636. package/bin/service/builtins/chat/runtime/ChatChannelFacade.js +0 -12
  1637. package/bin/service/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
  1638. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
  1639. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
  1640. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
  1641. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
  1642. package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
  1643. package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
  1644. package/bin/service/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
  1645. package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +0 -52
  1646. package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
  1647. package/bin/service/builtins/chat/runtime/ChatIngressStore.js +0 -65
  1648. package/bin/service/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
  1649. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
  1650. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
  1651. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
  1652. package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
  1653. package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
  1654. package/bin/service/builtins/chat/runtime/ChatMetaStore.js +0 -143
  1655. package/bin/service/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
  1656. package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
  1657. package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
  1658. package/bin/service/builtins/chat/runtime/ChatPromptAssets.js +0 -28
  1659. package/bin/service/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
  1660. package/bin/service/builtins/chat/runtime/ChatQueue.d.ts +0 -40
  1661. package/bin/service/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
  1662. package/bin/service/builtins/chat/runtime/ChatQueue.js.map +0 -1
  1663. package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
  1664. package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
  1665. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
  1666. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
  1667. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js +0 -98
  1668. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
  1669. package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
  1670. package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
  1671. package/bin/service/builtins/chat/runtime/ChatQueueStore.js +0 -130
  1672. package/bin/service/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
  1673. package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -88
  1674. package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
  1675. package/bin/service/builtins/chat/runtime/ChatQueueWorker.js +0 -435
  1676. package/bin/service/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
  1677. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
  1678. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
  1679. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
  1680. package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
  1681. package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
  1682. package/bin/service/builtins/chat/runtime/ChatSendActionInput.js +0 -205
  1683. package/bin/service/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
  1684. package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
  1685. package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
  1686. package/bin/service/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
  1687. package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
  1688. package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
  1689. package/bin/service/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
  1690. package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts +0 -17
  1691. package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts.map +0 -1
  1692. package/bin/service/builtins/chat/runtime/ChatServiceActions.js +0 -304
  1693. package/bin/service/builtins/chat/runtime/ChatServiceActions.js.map +0 -1
  1694. package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts +0 -22
  1695. package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
  1696. package/bin/service/builtins/chat/runtime/ChatServiceSystem.js +0 -44
  1697. package/bin/service/builtins/chat/runtime/ChatServiceSystem.js.map +0 -1
  1698. package/bin/service/builtins/chat/runtime/ChatSession.d.ts +0 -97
  1699. package/bin/service/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
  1700. package/bin/service/builtins/chat/runtime/ChatSession.js +0 -84
  1701. package/bin/service/builtins/chat/runtime/ChatSession.js.map +0 -1
  1702. package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
  1703. package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
  1704. package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
  1705. package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
  1706. package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
  1707. package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
  1708. package/bin/service/builtins/chat/runtime/ChatSessionDelete.js +0 -76
  1709. package/bin/service/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
  1710. package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
  1711. package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
  1712. package/bin/service/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
  1713. package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
  1714. package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
  1715. package/bin/service/builtins/chat/runtime/ChatkeySend.js +0 -147
  1716. package/bin/service/builtins/chat/runtime/ChatkeySend.js.map +0 -1
  1717. package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
  1718. package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
  1719. package/bin/service/builtins/chat/runtime/DirectDispatchParser.js +0 -133
  1720. package/bin/service/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
  1721. package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
  1722. package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
  1723. package/bin/service/builtins/chat/runtime/EnqueueDispatch.js +0 -28
  1724. package/bin/service/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
  1725. package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +0 -21
  1726. package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
  1727. package/bin/service/builtins/chat/runtime/InboundAugment.js +0 -50
  1728. package/bin/service/builtins/chat/runtime/InboundAugment.js.map +0 -1
  1729. package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
  1730. package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
  1731. package/bin/service/builtins/chat/runtime/PluginDispatch.js +0 -57
  1732. package/bin/service/builtins/chat/runtime/PluginDispatch.js.map +0 -1
  1733. package/bin/service/builtins/chat/runtime/PluginPoints.d.ts +0 -78
  1734. package/bin/service/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
  1735. package/bin/service/builtins/chat/runtime/PluginPoints.js +0 -78
  1736. package/bin/service/builtins/chat/runtime/PluginPoints.js.map +0 -1
  1737. package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
  1738. package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
  1739. package/bin/service/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
  1740. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
  1741. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
  1742. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
  1743. package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
  1744. package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
  1745. package/bin/service/builtins/chat/runtime/ReplyDispatch.js +0 -51
  1746. package/bin/service/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
  1747. package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
  1748. package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
  1749. package/bin/service/builtins/chat/runtime/SystemPrompt.js +0 -70
  1750. package/bin/service/builtins/chat/runtime/SystemPrompt.js.map +0 -1
  1751. package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
  1752. package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
  1753. package/bin/service/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
  1754. package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
  1755. package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
  1756. package/bin/service/builtins/chat/runtime/UserVisibleText.js.map +0 -1
  1757. package/bin/service/builtins/chat/types/BotInfo.d.ts +0 -97
  1758. package/bin/service/builtins/chat/types/BotInfo.d.ts.map +0 -1
  1759. package/bin/service/builtins/chat/types/BotInfo.js.map +0 -1
  1760. package/bin/service/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
  1761. package/bin/service/builtins/chat/types/ChannelAccount.js.map +0 -1
  1762. package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
  1763. package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
  1764. package/bin/service/builtins/chat/types/ChannelConfiguration.js.map +0 -1
  1765. package/bin/service/builtins/chat/types/ChannelContext.d.ts +0 -107
  1766. package/bin/service/builtins/chat/types/ChannelContext.d.ts.map +0 -1
  1767. package/bin/service/builtins/chat/types/ChannelContext.js +0 -9
  1768. package/bin/service/builtins/chat/types/ChannelContext.js.map +0 -1
  1769. package/bin/service/builtins/chat/types/ChannelStatus.d.ts +0 -88
  1770. package/bin/service/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
  1771. package/bin/service/builtins/chat/types/ChannelStatus.js.map +0 -1
  1772. package/bin/service/builtins/chat/types/ChatCommand.d.ts.map +0 -1
  1773. package/bin/service/builtins/chat/types/ChatCommand.js.map +0 -1
  1774. package/bin/service/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
  1775. package/bin/service/builtins/chat/types/ChatDispatcher.js.map +0 -1
  1776. package/bin/service/builtins/chat/types/ChatHistory.d.ts +0 -36
  1777. package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +0 -1
  1778. package/bin/service/builtins/chat/types/ChatHistory.js.map +0 -1
  1779. package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
  1780. package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
  1781. package/bin/service/builtins/chat/types/ChatMessageMarkup.js +0 -9
  1782. package/bin/service/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
  1783. package/bin/service/builtins/chat/types/ChatMeta.d.ts +0 -34
  1784. package/bin/service/builtins/chat/types/ChatMeta.d.ts.map +0 -1
  1785. package/bin/service/builtins/chat/types/ChatMeta.js +0 -10
  1786. package/bin/service/builtins/chat/types/ChatMeta.js.map +0 -1
  1787. package/bin/service/builtins/chat/types/ChatPlugin.d.ts +0 -238
  1788. package/bin/service/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
  1789. package/bin/service/builtins/chat/types/ChatPlugin.js +0 -10
  1790. package/bin/service/builtins/chat/types/ChatPlugin.js.map +0 -1
  1791. package/bin/service/builtins/chat/types/ChatPromptContext.d.ts +0 -125
  1792. package/bin/service/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
  1793. package/bin/service/builtins/chat/types/ChatPromptContext.js.map +0 -1
  1794. package/bin/service/builtins/chat/types/ChatQueue.d.ts +0 -44
  1795. package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +0 -1
  1796. package/bin/service/builtins/chat/types/ChatQueue.js.map +0 -1
  1797. package/bin/service/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
  1798. package/bin/service/builtins/chat/types/ChatQueueWorker.js.map +0 -1
  1799. package/bin/service/builtins/chat/types/ChatRuntime.d.ts +0 -32
  1800. package/bin/service/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
  1801. package/bin/service/builtins/chat/types/ChatRuntime.js +0 -9
  1802. package/bin/service/builtins/chat/types/ChatRuntime.js.map +0 -1
  1803. package/bin/service/builtins/chat/types/ChatService.d.ts +0 -145
  1804. package/bin/service/builtins/chat/types/ChatService.d.ts.map +0 -1
  1805. package/bin/service/builtins/chat/types/ChatService.js +0 -10
  1806. package/bin/service/builtins/chat/types/ChatService.js.map +0 -1
  1807. package/bin/service/builtins/chat/types/DirectDispatch.d.ts +0 -115
  1808. package/bin/service/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
  1809. package/bin/service/builtins/chat/types/DirectDispatch.js.map +0 -1
  1810. package/bin/service/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
  1811. package/bin/service/builtins/chat/types/FeishuAttachment.js.map +0 -1
  1812. package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
  1813. package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
  1814. package/bin/service/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
  1815. package/bin/service/builtins/chat/types/FeishuPost.d.ts.map +0 -1
  1816. package/bin/service/builtins/chat/types/FeishuPost.js.map +0 -1
  1817. package/bin/service/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
  1818. package/bin/service/builtins/chat/types/QqInboundDedupe.js.map +0 -1
  1819. package/bin/service/builtins/chat/types/QqVoice.d.ts.map +0 -1
  1820. package/bin/service/builtins/chat/types/QqVoice.js.map +0 -1
  1821. package/bin/service/builtins/chat/types/ReplyContext.d.ts.map +0 -1
  1822. package/bin/service/builtins/chat/types/ReplyContext.js.map +0 -1
  1823. package/bin/service/builtins/contact/Action.d.ts +0 -62
  1824. package/bin/service/builtins/contact/Action.d.ts.map +0 -1
  1825. package/bin/service/builtins/contact/Action.js +0 -221
  1826. package/bin/service/builtins/contact/Action.js.map +0 -1
  1827. package/bin/service/builtins/contact/ContactService.d.ts +0 -39
  1828. package/bin/service/builtins/contact/ContactService.d.ts.map +0 -1
  1829. package/bin/service/builtins/contact/ContactService.js +0 -409
  1830. package/bin/service/builtins/contact/ContactService.js.map +0 -1
  1831. package/bin/service/builtins/contact/Index.d.ts +0 -8
  1832. package/bin/service/builtins/contact/Index.d.ts.map +0 -1
  1833. package/bin/service/builtins/contact/Index.js +0 -8
  1834. package/bin/service/builtins/contact/Index.js.map +0 -1
  1835. package/bin/service/builtins/contact/PROMPT.d.ts +0 -7
  1836. package/bin/service/builtins/contact/PROMPT.d.ts.map +0 -1
  1837. package/bin/service/builtins/contact/PROMPT.js +0 -8
  1838. package/bin/service/builtins/contact/PROMPT.js.map +0 -1
  1839. package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
  1840. package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
  1841. package/bin/service/builtins/contact/runtime/ApproveCallback.js.map +0 -1
  1842. package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
  1843. package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
  1844. package/bin/service/builtins/contact/runtime/ChatRuntime.js +0 -59
  1845. package/bin/service/builtins/contact/runtime/ChatRuntime.js.map +0 -1
  1846. package/bin/service/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
  1847. package/bin/service/builtins/contact/runtime/ContactPayload.js.map +0 -1
  1848. package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
  1849. package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
  1850. package/bin/service/builtins/contact/runtime/ContactPromptAssets.js +0 -13
  1851. package/bin/service/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
  1852. package/bin/service/builtins/contact/runtime/ContactStore.d.ts +0 -49
  1853. package/bin/service/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
  1854. package/bin/service/builtins/contact/runtime/ContactStore.js.map +0 -1
  1855. package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
  1856. package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
  1857. package/bin/service/builtins/contact/runtime/EndpointNotice.js.map +0 -1
  1858. package/bin/service/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
  1859. package/bin/service/builtins/contact/runtime/EndpointResolver.js.map +0 -1
  1860. package/bin/service/builtins/contact/runtime/InboxStore.d.ts +0 -33
  1861. package/bin/service/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
  1862. package/bin/service/builtins/contact/runtime/InboxStore.js.map +0 -1
  1863. package/bin/service/builtins/contact/runtime/LinkApproval.d.ts +0 -20
  1864. package/bin/service/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
  1865. package/bin/service/builtins/contact/runtime/LinkApproval.js.map +0 -1
  1866. package/bin/service/builtins/contact/runtime/LinkCode.d.ts +0 -21
  1867. package/bin/service/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
  1868. package/bin/service/builtins/contact/runtime/LinkCode.js.map +0 -1
  1869. package/bin/service/builtins/contact/runtime/LinkStore.d.ts +0 -17
  1870. package/bin/service/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
  1871. package/bin/service/builtins/contact/runtime/LinkStore.js.map +0 -1
  1872. package/bin/service/builtins/contact/runtime/Paths.d.ts +0 -64
  1873. package/bin/service/builtins/contact/runtime/Paths.d.ts.map +0 -1
  1874. package/bin/service/builtins/contact/runtime/Paths.js +0 -103
  1875. package/bin/service/builtins/contact/runtime/Paths.js.map +0 -1
  1876. package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +0 -46
  1877. package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
  1878. package/bin/service/builtins/contact/runtime/RemoteClient.js +0 -120
  1879. package/bin/service/builtins/contact/runtime/RemoteClient.js.map +0 -1
  1880. package/bin/service/builtins/contact/runtime/ShareBundle.d.ts +0 -65
  1881. package/bin/service/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
  1882. package/bin/service/builtins/contact/runtime/ShareBundle.js.map +0 -1
  1883. package/bin/service/builtins/contact/runtime/SystemProvider.d.ts +0 -5
  1884. package/bin/service/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
  1885. package/bin/service/builtins/contact/runtime/SystemProvider.js +0 -15
  1886. package/bin/service/builtins/contact/runtime/SystemProvider.js.map +0 -1
  1887. package/bin/service/builtins/contact/runtime/Token.d.ts.map +0 -1
  1888. package/bin/service/builtins/contact/runtime/Token.js.map +0 -1
  1889. package/bin/service/builtins/contact/types/Contact.d.ts.map +0 -1
  1890. package/bin/service/builtins/contact/types/Contact.js.map +0 -1
  1891. package/bin/service/builtins/contact/types/ContactApproval.d.ts.map +0 -1
  1892. package/bin/service/builtins/contact/types/ContactApproval.js.map +0 -1
  1893. package/bin/service/builtins/contact/types/ContactChat.d.ts.map +0 -1
  1894. package/bin/service/builtins/contact/types/ContactChat.js.map +0 -1
  1895. package/bin/service/builtins/contact/types/ContactCheck.d.ts +0 -66
  1896. package/bin/service/builtins/contact/types/ContactCheck.d.ts.map +0 -1
  1897. package/bin/service/builtins/contact/types/ContactCheck.js.map +0 -1
  1898. package/bin/service/builtins/contact/types/ContactCommand.d.ts +0 -93
  1899. package/bin/service/builtins/contact/types/ContactCommand.d.ts.map +0 -1
  1900. package/bin/service/builtins/contact/types/ContactCommand.js +0 -8
  1901. package/bin/service/builtins/contact/types/ContactCommand.js.map +0 -1
  1902. package/bin/service/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
  1903. package/bin/service/builtins/contact/types/ContactEndpoint.js.map +0 -1
  1904. package/bin/service/builtins/contact/types/ContactLink.d.ts.map +0 -1
  1905. package/bin/service/builtins/contact/types/ContactLink.js.map +0 -1
  1906. package/bin/service/builtins/contact/types/ContactShare.d.ts.map +0 -1
  1907. package/bin/service/builtins/contact/types/ContactShare.js.map +0 -1
  1908. package/bin/service/builtins/memory/Action.d.ts +0 -37
  1909. package/bin/service/builtins/memory/Action.d.ts.map +0 -1
  1910. package/bin/service/builtins/memory/Action.js.map +0 -1
  1911. package/bin/service/builtins/memory/Index.d.ts +0 -9
  1912. package/bin/service/builtins/memory/Index.d.ts.map +0 -1
  1913. package/bin/service/builtins/memory/Index.js +0 -9
  1914. package/bin/service/builtins/memory/Index.js.map +0 -1
  1915. package/bin/service/builtins/memory/MemoryService.d.ts +0 -45
  1916. package/bin/service/builtins/memory/MemoryService.d.ts.map +0 -1
  1917. package/bin/service/builtins/memory/MemoryService.js +0 -242
  1918. package/bin/service/builtins/memory/MemoryService.js.map +0 -1
  1919. package/bin/service/builtins/memory/runtime/Flush.d.ts +0 -15
  1920. package/bin/service/builtins/memory/runtime/Flush.d.ts.map +0 -1
  1921. package/bin/service/builtins/memory/runtime/Flush.js.map +0 -1
  1922. package/bin/service/builtins/memory/runtime/Search.d.ts +0 -19
  1923. package/bin/service/builtins/memory/runtime/Search.d.ts.map +0 -1
  1924. package/bin/service/builtins/memory/runtime/Search.js +0 -268
  1925. package/bin/service/builtins/memory/runtime/Search.js.map +0 -1
  1926. package/bin/service/builtins/memory/runtime/Store.d.ts +0 -65
  1927. package/bin/service/builtins/memory/runtime/Store.d.ts.map +0 -1
  1928. package/bin/service/builtins/memory/runtime/Store.js +0 -142
  1929. package/bin/service/builtins/memory/runtime/Store.js.map +0 -1
  1930. package/bin/service/builtins/memory/runtime/SystemProvider.d.ts +0 -22
  1931. package/bin/service/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
  1932. package/bin/service/builtins/memory/runtime/SystemProvider.js +0 -126
  1933. package/bin/service/builtins/memory/runtime/SystemProvider.js.map +0 -1
  1934. package/bin/service/builtins/memory/runtime/Writer.d.ts +0 -23
  1935. package/bin/service/builtins/memory/runtime/Writer.d.ts.map +0 -1
  1936. package/bin/service/builtins/memory/runtime/Writer.js +0 -139
  1937. package/bin/service/builtins/memory/runtime/Writer.js.map +0 -1
  1938. package/bin/service/builtins/memory/types/Memory.d.ts.map +0 -1
  1939. package/bin/service/builtins/memory/types/Memory.js.map +0 -1
  1940. package/bin/service/builtins/schedule/ScheduleService.d.ts +0 -39
  1941. package/bin/service/builtins/schedule/ScheduleService.d.ts.map +0 -1
  1942. package/bin/service/builtins/schedule/ScheduleService.js +0 -106
  1943. package/bin/service/builtins/schedule/ScheduleService.js.map +0 -1
  1944. package/bin/service/builtins/shell/Index.d.ts +0 -9
  1945. package/bin/service/builtins/shell/Index.d.ts.map +0 -1
  1946. package/bin/service/builtins/shell/Index.js +0 -9
  1947. package/bin/service/builtins/shell/Index.js.map +0 -1
  1948. package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
  1949. package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
  1950. package/bin/service/builtins/shell/ShellRuntimeTypes.js +0 -10
  1951. package/bin/service/builtins/shell/ShellRuntimeTypes.js.map +0 -1
  1952. package/bin/service/builtins/shell/ShellService.d.ts +0 -65
  1953. package/bin/service/builtins/shell/ShellService.d.ts.map +0 -1
  1954. package/bin/service/builtins/shell/ShellService.js +0 -138
  1955. package/bin/service/builtins/shell/ShellService.js.map +0 -1
  1956. package/bin/service/builtins/shell/runtime/Paths.d.ts.map +0 -1
  1957. package/bin/service/builtins/shell/runtime/Paths.js.map +0 -1
  1958. package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
  1959. package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
  1960. package/bin/service/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
  1961. package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
  1962. package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
  1963. package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +0 -440
  1964. package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
  1965. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
  1966. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
  1967. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -324
  1968. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
  1969. package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
  1970. package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
  1971. package/bin/service/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
  1972. package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
  1973. package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
  1974. package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
  1975. package/bin/service/builtins/shell/types/Shell.d.ts.map +0 -1
  1976. package/bin/service/builtins/shell/types/Shell.js.map +0 -1
  1977. package/bin/service/builtins/shell/types/ShellService.d.ts +0 -216
  1978. package/bin/service/builtins/shell/types/ShellService.d.ts.map +0 -1
  1979. package/bin/service/builtins/shell/types/ShellService.js +0 -9
  1980. package/bin/service/builtins/shell/types/ShellService.js.map +0 -1
  1981. package/bin/service/builtins/task/Action.d.ts.map +0 -1
  1982. package/bin/service/builtins/task/Action.js.map +0 -1
  1983. package/bin/service/builtins/task/Index.d.ts +0 -9
  1984. package/bin/service/builtins/task/Index.d.ts.map +0 -1
  1985. package/bin/service/builtins/task/Index.js +0 -9
  1986. package/bin/service/builtins/task/Index.js.map +0 -1
  1987. package/bin/service/builtins/task/PROMPT.d.ts +0 -7
  1988. package/bin/service/builtins/task/PROMPT.d.ts.map +0 -1
  1989. package/bin/service/builtins/task/PROMPT.js +0 -8
  1990. package/bin/service/builtins/task/PROMPT.js.map +0 -1
  1991. package/bin/service/builtins/task/Scheduler.d.ts +0 -17
  1992. package/bin/service/builtins/task/Scheduler.d.ts.map +0 -1
  1993. package/bin/service/builtins/task/Scheduler.js +0 -231
  1994. package/bin/service/builtins/task/Scheduler.js.map +0 -1
  1995. package/bin/service/builtins/task/TaskService.d.ts +0 -57
  1996. package/bin/service/builtins/task/TaskService.d.ts.map +0 -1
  1997. package/bin/service/builtins/task/TaskService.js +0 -126
  1998. package/bin/service/builtins/task/TaskService.js.map +0 -1
  1999. package/bin/service/builtins/task/runtime/CronRuntime.d.ts +0 -34
  2000. package/bin/service/builtins/task/runtime/CronRuntime.d.ts.map +0 -1
  2001. package/bin/service/builtins/task/runtime/CronRuntime.js +0 -59
  2002. package/bin/service/builtins/task/runtime/CronRuntime.js.map +0 -1
  2003. package/bin/service/builtins/task/runtime/CronTrigger.d.ts +0 -19
  2004. package/bin/service/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
  2005. package/bin/service/builtins/task/runtime/CronTrigger.js +0 -93
  2006. package/bin/service/builtins/task/runtime/CronTrigger.js.map +0 -1
  2007. package/bin/service/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
  2008. package/bin/service/builtins/task/runtime/Frontmatter.js.map +0 -1
  2009. package/bin/service/builtins/task/runtime/Model.d.ts +0 -73
  2010. package/bin/service/builtins/task/runtime/Model.d.ts.map +0 -1
  2011. package/bin/service/builtins/task/runtime/Model.js.map +0 -1
  2012. package/bin/service/builtins/task/runtime/Paths.d.ts.map +0 -1
  2013. package/bin/service/builtins/task/runtime/Paths.js.map +0 -1
  2014. package/bin/service/builtins/task/runtime/Runner.d.ts +0 -43
  2015. package/bin/service/builtins/task/runtime/Runner.d.ts.map +0 -1
  2016. package/bin/service/builtins/task/runtime/Runner.js.map +0 -1
  2017. package/bin/service/builtins/task/runtime/Store.d.ts +0 -89
  2018. package/bin/service/builtins/task/runtime/Store.d.ts.map +0 -1
  2019. package/bin/service/builtins/task/runtime/Store.js.map +0 -1
  2020. package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
  2021. package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
  2022. package/bin/service/builtins/task/runtime/TaskActionExecution.js +0 -192
  2023. package/bin/service/builtins/task/runtime/TaskActionExecution.js.map +0 -1
  2024. package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +0 -19
  2025. package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
  2026. package/bin/service/builtins/task/runtime/TaskActionInput.js +0 -218
  2027. package/bin/service/builtins/task/runtime/TaskActionInput.js.map +0 -1
  2028. package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
  2029. package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
  2030. package/bin/service/builtins/task/runtime/TaskPromptAssets.js +0 -13
  2031. package/bin/service/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
  2032. package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
  2033. package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
  2034. package/bin/service/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
  2035. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
  2036. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
  2037. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
  2038. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
  2039. package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
  2040. package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
  2041. package/bin/service/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
  2042. package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
  2043. package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
  2044. package/bin/service/builtins/task/runtime/TaskRunnerRound.js +0 -272
  2045. package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
  2046. package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
  2047. package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
  2048. package/bin/service/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
  2049. package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
  2050. package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
  2051. package/bin/service/builtins/task/runtime/TaskRunnerSession.js +0 -153
  2052. package/bin/service/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
  2053. package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
  2054. package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
  2055. package/bin/service/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
  2056. package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts +0 -16
  2057. package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts.map +0 -1
  2058. package/bin/service/builtins/task/runtime/TaskServiceActions.js +0 -167
  2059. package/bin/service/builtins/task/runtime/TaskServiceActions.js.map +0 -1
  2060. package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts +0 -9
  2061. package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts.map +0 -1
  2062. package/bin/service/builtins/task/runtime/TaskServiceSystem.js +0 -9
  2063. package/bin/service/builtins/task/runtime/TaskServiceSystem.js.map +0 -1
  2064. package/bin/service/builtins/task/types/Cron.d.ts +0 -16
  2065. package/bin/service/builtins/task/types/Cron.d.ts.map +0 -1
  2066. package/bin/service/builtins/task/types/Cron.js.map +0 -1
  2067. package/bin/service/builtins/task/types/Task.d.ts.map +0 -1
  2068. package/bin/service/builtins/task/types/Task.js.map +0 -1
  2069. package/bin/service/builtins/task/types/TaskCommand.d.ts.map +0 -1
  2070. package/bin/service/builtins/task/types/TaskCommand.js.map +0 -1
  2071. package/bin/service/builtins/task/types/TaskService.d.ts +0 -52
  2072. package/bin/service/builtins/task/types/TaskService.d.ts.map +0 -1
  2073. package/bin/service/builtins/task/types/TaskService.js +0 -9
  2074. package/bin/service/builtins/task/types/TaskService.js.map +0 -1
  2075. package/bin/service/core/Manager.d.ts +0 -12
  2076. package/bin/service/core/Manager.d.ts.map +0 -1
  2077. package/bin/service/core/Manager.js +0 -11
  2078. package/bin/service/core/Manager.js.map +0 -1
  2079. package/bin/service/core/ServiceActionRunner.d.ts +0 -44
  2080. package/bin/service/core/ServiceActionRunner.d.ts.map +0 -1
  2081. package/bin/service/core/ServiceActionRunner.js +0 -213
  2082. package/bin/service/core/ServiceActionRunner.js.map +0 -1
  2083. package/bin/service/core/ServiceClassRegistry.d.ts +0 -40
  2084. package/bin/service/core/ServiceClassRegistry.d.ts.map +0 -1
  2085. package/bin/service/core/ServiceClassRegistry.js +0 -64
  2086. package/bin/service/core/ServiceClassRegistry.js.map +0 -1
  2087. package/bin/service/core/ServiceCommandRequest.d.ts +0 -36
  2088. package/bin/service/core/ServiceCommandRequest.d.ts.map +0 -1
  2089. package/bin/service/core/ServiceCommandRequest.js +0 -53
  2090. package/bin/service/core/ServiceCommandRequest.js.map +0 -1
  2091. package/bin/service/core/ServiceStateController.d.ts +0 -92
  2092. package/bin/service/core/ServiceStateController.d.ts.map +0 -1
  2093. package/bin/service/core/ServiceStateController.js +0 -248
  2094. package/bin/service/core/ServiceStateController.js.map +0 -1
  2095. package/bin/service/core/ServiceSystemProviders.d.ts +0 -27
  2096. package/bin/service/core/ServiceSystemProviders.d.ts.map +0 -1
  2097. package/bin/service/core/ServiceSystemProviders.js +0 -34
  2098. package/bin/service/core/ServiceSystemProviders.js.map +0 -1
  2099. package/bin/service/core/Services.d.ts +0 -18
  2100. package/bin/service/core/Services.d.ts.map +0 -1
  2101. package/bin/service/core/Services.js +0 -25
  2102. package/bin/service/core/Services.js.map +0 -1
  2103. package/bin/service/core/schedule/Executor.d.ts +0 -17
  2104. package/bin/service/core/schedule/Executor.d.ts.map +0 -1
  2105. package/bin/service/core/schedule/Executor.js +0 -48
  2106. package/bin/service/core/schedule/Executor.js.map +0 -1
  2107. package/bin/service/core/schedule/Store.d.ts +0 -91
  2108. package/bin/service/core/schedule/Store.d.ts.map +0 -1
  2109. package/bin/service/core/schedule/Store.js +0 -284
  2110. package/bin/service/core/schedule/Store.js.map +0 -1
  2111. package/bin/service/core/schedule/Time.d.ts +0 -31
  2112. package/bin/service/core/schedule/Time.d.ts.map +0 -1
  2113. package/bin/service/core/schedule/Time.js +0 -107
  2114. package/bin/service/core/schedule/Time.js.map +0 -1
  2115. package/bin/service/types/Service.d.ts +0 -183
  2116. package/bin/service/types/Service.d.ts.map +0 -1
  2117. package/bin/service/types/Service.js +0 -10
  2118. package/bin/service/types/Service.js.map +0 -1
  2119. package/bin/service/types/ServiceSchedule.d.ts +0 -114
  2120. package/bin/service/types/ServiceSchedule.d.ts.map +0 -1
  2121. package/bin/service/types/ServiceSchedule.js +0 -9
  2122. package/bin/service/types/ServiceSchedule.js.map +0 -1
  2123. package/bin/service/types/ServiceState.d.ts +0 -104
  2124. package/bin/service/types/ServiceState.d.ts.map +0 -1
  2125. package/bin/service/types/ServiceState.js +0 -9
  2126. package/bin/service/types/ServiceState.js.map +0 -1
  2127. package/bin/service/types/Services.d.ts +0 -94
  2128. package/bin/service/types/Services.d.ts.map +0 -1
  2129. package/bin/service/types/Services.js +0 -9
  2130. package/bin/service/types/Services.js.map +0 -1
  2131. package/bin/session/Executor.d.ts +0 -172
  2132. package/bin/session/Executor.d.ts.map +0 -1
  2133. package/bin/session/Executor.js.map +0 -1
  2134. package/bin/session/SessionRunScope.d.ts +0 -84
  2135. package/bin/session/SessionRunScope.d.ts.map +0 -1
  2136. package/bin/session/SessionRunScope.js +0 -82
  2137. package/bin/session/SessionRunScope.js.map +0 -1
  2138. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -55
  2139. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
  2140. package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
  2141. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
  2142. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
  2143. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
  2144. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
  2145. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
  2146. package/bin/session/composer/context/LocalSessionContextComposer.d.ts +0 -48
  2147. package/bin/session/composer/context/LocalSessionContextComposer.d.ts.map +0 -1
  2148. package/bin/session/composer/context/LocalSessionContextComposer.js.map +0 -1
  2149. package/bin/session/composer/context/SessionContextComposer.d.ts +0 -62
  2150. package/bin/session/composer/context/SessionContextComposer.d.ts.map +0 -1
  2151. package/bin/session/composer/context/SessionContextComposer.js.map +0 -1
  2152. package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -54
  2153. package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
  2154. package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
  2155. package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
  2156. package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
  2157. package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
  2158. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -35
  2159. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
  2160. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
  2161. package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
  2162. package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
  2163. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
  2164. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
  2165. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
  2166. package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +0 -1
  2167. package/bin/session/composer/system/default/InitPromptAssets.js.map +0 -1
  2168. package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
  2169. package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
  2170. package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
  2171. package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
  2172. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
  2173. package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
  2174. package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
  2175. package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
  2176. package/bin/session/composer/system/default/SystemDomain.js +0 -217
  2177. package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
  2178. package/bin/session/composer/system/default/SystemPromptAssets.d.ts +0 -20
  2179. package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +0 -1
  2180. package/bin/session/composer/system/default/SystemPromptAssets.js +0 -23
  2181. package/bin/session/composer/system/default/SystemPromptAssets.js.map +0 -1
  2182. package/bin/session/composer/system/default/assets/core.prompt.d.ts +0 -7
  2183. package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +0 -1
  2184. package/bin/session/composer/system/default/assets/core.prompt.js +0 -8
  2185. package/bin/session/composer/system/default/assets/core.prompt.js.map +0 -1
  2186. package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +0 -1
  2187. package/bin/session/composer/system/default/assets/init/PROFILE.md.js +0 -8
  2188. package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +0 -1
  2189. package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +0 -1
  2190. package/bin/session/composer/system/default/assets/init/SOUL.md.js +0 -8
  2191. package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +0 -1
  2192. package/bin/session/composer/system/default/assets/service.prompt.d.ts +0 -7
  2193. package/bin/session/composer/system/default/assets/service.prompt.d.ts.map +0 -1
  2194. package/bin/session/composer/system/default/assets/service.prompt.js +0 -8
  2195. package/bin/session/composer/system/default/assets/service.prompt.js.map +0 -1
  2196. package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +0 -1
  2197. package/bin/session/composer/system/default/assets/task.prompt.js +0 -8
  2198. package/bin/session/composer/system/default/assets/task.prompt.js.map +0 -1
  2199. package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
  2200. package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
  2201. package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
  2202. package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
  2203. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
  2204. package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
  2205. package/bin/session/core-engine/CoreEngineError.d.ts.map +0 -1
  2206. package/bin/session/core-engine/CoreEngineError.js.map +0 -1
  2207. package/bin/session/core-engine/CoreEngineLoopDecision.d.ts +0 -27
  2208. package/bin/session/core-engine/CoreEngineLoopDecision.d.ts.map +0 -1
  2209. package/bin/session/core-engine/CoreEngineLoopDecision.js.map +0 -1
  2210. package/bin/session/core-engine/CoreEngineMessageState.d.ts +0 -63
  2211. package/bin/session/core-engine/CoreEngineMessageState.d.ts.map +0 -1
  2212. package/bin/session/core-engine/CoreEngineMessageState.js.map +0 -1
  2213. package/bin/session/core-engine/CoreEngineSignals.d.ts +0 -72
  2214. package/bin/session/core-engine/CoreEngineSignals.d.ts.map +0 -1
  2215. package/bin/session/core-engine/CoreEngineSignals.js.map +0 -1
  2216. package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts +0 -33
  2217. package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts.map +0 -1
  2218. package/bin/session/core-engine/CoreEngineUiStreamCollector.js.map +0 -1
  2219. package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
  2220. package/bin/session/ids/resolveSessionId.js.map +0 -1
  2221. package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
  2222. package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
  2223. package/bin/session/messages/SessionAttachmentMapper.js +0 -145
  2224. package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
  2225. package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
  2226. package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
  2227. package/bin/session/messages/SessionMessageCodec.js.map +0 -1
  2228. package/bin/session/messages/SessionMessageLog.d.ts +0 -19
  2229. package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
  2230. package/bin/session/messages/SessionMessageLog.js.map +0 -1
  2231. package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
  2232. package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
  2233. package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
  2234. package/bin/session/store/history/SessionHistoryStore.d.ts +0 -119
  2235. package/bin/session/store/history/SessionHistoryStore.d.ts.map +0 -1
  2236. package/bin/session/store/history/SessionHistoryStore.js.map +0 -1
  2237. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts +0 -76
  2238. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +0 -1
  2239. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js +0 -374
  2240. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js.map +0 -1
  2241. package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
  2242. package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
  2243. package/bin/session/tools/shell/ShellToolBridge.js +0 -288
  2244. package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
  2245. package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
  2246. package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
  2247. package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
  2248. package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
  2249. package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
  2250. package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
  2251. package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
  2252. package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
  2253. package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
  2254. package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
  2255. package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
  2256. package/bin/session/types/SessionExecutor.d.ts +0 -18
  2257. package/bin/session/types/SessionExecutor.d.ts.map +0 -1
  2258. package/bin/session/types/SessionExecutor.js.map +0 -1
  2259. package/bin/session/types/SessionHistoryMeta.d.ts +0 -45
  2260. package/bin/session/types/SessionHistoryMeta.d.ts.map +0 -1
  2261. package/bin/session/types/SessionHistoryMeta.js +0 -9
  2262. package/bin/session/types/SessionHistoryMeta.js.map +0 -1
  2263. package/bin/session/types/SessionHistoryPaths.d.ts +0 -30
  2264. package/bin/session/types/SessionHistoryPaths.d.ts.map +0 -1
  2265. package/bin/session/types/SessionHistoryPaths.js.map +0 -1
  2266. package/bin/session/types/SessionLoop.d.ts.map +0 -1
  2267. package/bin/session/types/SessionLoop.js.map +0 -1
  2268. package/bin/session/types/SessionMessages.d.ts +0 -83
  2269. package/bin/session/types/SessionMessages.d.ts.map +0 -1
  2270. package/bin/session/types/SessionMessages.js.map +0 -1
  2271. package/bin/session/types/SessionPrompts.d.ts.map +0 -1
  2272. package/bin/session/types/SessionPrompts.js.map +0 -1
  2273. package/bin/session/types/SessionRun.d.ts +0 -112
  2274. package/bin/session/types/SessionRun.d.ts.map +0 -1
  2275. package/bin/session/types/SessionRun.js.map +0 -1
  2276. package/bin/types/config/ModelBinding.d.ts +0 -19
  2277. package/bin/types/config/ModelBinding.d.ts.map +0 -1
  2278. package/bin/types/config/ModelBinding.js +0 -2
  2279. package/bin/types/config/ModelBinding.js.map +0 -1
  2280. package/bin/utils/cli/Checker.d.ts +0 -8
  2281. package/bin/utils/cli/Checker.d.ts.map +0 -1
  2282. package/bin/utils/cli/Checker.js +0 -18
  2283. package/bin/utils/cli/Checker.js.map +0 -1
  2284. package/bin/utils/logger/Fetch.d.ts +0 -14
  2285. package/bin/utils/logger/Fetch.d.ts.map +0 -1
  2286. package/bin/utils/logger/Fetch.js +0 -68
  2287. package/bin/utils/logger/Fetch.js.map +0 -1
  2288. package/src/plugin/builtins/voice/Plugin.ts +0 -450
  2289. package/src/plugin/core/PluginManager.ts +0 -66
  2290. package/src/plugin/core/Plugins.ts +0 -39
  2291. package/src/runtime/host/PluginRuntime.ts +0 -42
  2292. package/src/runtime/server/http/auth/AuthError.ts +0 -31
  2293. package/src/runtime/server/http/auth/PasswordHasher.ts +0 -37
  2294. package/src/runtime/server/http/auth/TokenService.ts +0 -36
  2295. package/src/runtime/server/http/services/services.ts +0 -98
  2296. package/src/sdk/session/ServicePort.ts +0 -130
  2297. package/src/service/builtins/BaseService.ts +0 -97
  2298. package/src/service/builtins/README.md +0 -121
  2299. package/src/service/builtins/chat/Action.ts +0 -477
  2300. package/src/service/builtins/chat/ChatService.ts +0 -255
  2301. package/src/service/builtins/chat/ChatServiceTypes.ts +0 -164
  2302. package/src/service/builtins/chat/Index.ts +0 -9
  2303. package/src/service/builtins/chat/PROMPT.direct.ts +0 -9
  2304. package/src/service/builtins/chat/PROMPT.direct.ts.txt +0 -55
  2305. package/src/service/builtins/chat/accounts/ChannelAccountService.ts +0 -297
  2306. package/src/service/builtins/chat/channels/BaseChatChannel.ts +0 -450
  2307. package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +0 -321
  2308. package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
  2309. package/src/service/builtins/chat/channels/BotInfoProvider.ts +0 -49
  2310. package/src/service/builtins/chat/channels/Configuration.ts +0 -35
  2311. package/src/service/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
  2312. package/src/service/builtins/chat/channels/feishu/BotInfo.ts +0 -199
  2313. package/src/service/builtins/chat/channels/feishu/Configuration.ts +0 -65
  2314. package/src/service/builtins/chat/channels/feishu/Feishu.ts +0 -467
  2315. package/src/service/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
  2316. package/src/service/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
  2317. package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
  2318. package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
  2319. package/src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
  2320. package/src/service/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
  2321. package/src/service/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
  2322. package/src/service/builtins/chat/channels/feishu/PostMessage.ts +0 -492
  2323. package/src/service/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
  2324. package/src/service/builtins/chat/channels/feishu/Shared.ts +0 -94
  2325. package/src/service/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
  2326. package/src/service/builtins/chat/channels/qq/BotInfo.ts +0 -137
  2327. package/src/service/builtins/chat/channels/qq/Configuration.ts +0 -64
  2328. package/src/service/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
  2329. package/src/service/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
  2330. package/src/service/builtins/chat/channels/qq/QQ.ts +0 -398
  2331. package/src/service/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
  2332. package/src/service/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
  2333. package/src/service/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
  2334. package/src/service/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
  2335. package/src/service/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
  2336. package/src/service/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
  2337. package/src/service/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
  2338. package/src/service/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
  2339. package/src/service/builtins/chat/channels/qq/QQInbound.ts +0 -262
  2340. package/src/service/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
  2341. package/src/service/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
  2342. package/src/service/builtins/chat/channels/qq/QQSupport.ts +0 -263
  2343. package/src/service/builtins/chat/channels/qq/VoiceInput.ts +0 -381
  2344. package/src/service/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
  2345. package/src/service/builtins/chat/channels/telegram/Bot.ts +0 -357
  2346. package/src/service/builtins/chat/channels/telegram/BotInfo.ts +0 -92
  2347. package/src/service/builtins/chat/channels/telegram/Configuration.ts +0 -65
  2348. package/src/service/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
  2349. package/src/service/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
  2350. package/src/service/builtins/chat/channels/telegram/Shared.ts +0 -404
  2351. package/src/service/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
  2352. package/src/service/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
  2353. package/src/service/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
  2354. package/src/service/builtins/chat/runtime/ChannelContextStore.ts +0 -395
  2355. package/src/service/builtins/chat/runtime/ChatActionExecution.ts +0 -362
  2356. package/src/service/builtins/chat/runtime/ChatActionInput.ts +0 -167
  2357. package/src/service/builtins/chat/runtime/ChatChannelActions.ts +0 -307
  2358. package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
  2359. package/src/service/builtins/chat/runtime/ChatChannelCore.ts +0 -145
  2360. package/src/service/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
  2361. package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
  2362. package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
  2363. package/src/service/builtins/chat/runtime/ChatIngressStore.ts +0 -88
  2364. package/src/service/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
  2365. package/src/service/builtins/chat/runtime/ChatMetaStore.ts +0 -186
  2366. package/src/service/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
  2367. package/src/service/builtins/chat/runtime/ChatQueue.ts +0 -77
  2368. package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +0 -122
  2369. package/src/service/builtins/chat/runtime/ChatQueueStore.ts +0 -185
  2370. package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +0 -504
  2371. package/src/service/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
  2372. package/src/service/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
  2373. package/src/service/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
  2374. package/src/service/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
  2375. package/src/service/builtins/chat/runtime/ChatServiceActions.ts +0 -367
  2376. package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +0 -70
  2377. package/src/service/builtins/chat/runtime/ChatSession.ts +0 -156
  2378. package/src/service/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
  2379. package/src/service/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
  2380. package/src/service/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
  2381. package/src/service/builtins/chat/runtime/ChatkeySend.ts +0 -187
  2382. package/src/service/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
  2383. package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
  2384. package/src/service/builtins/chat/runtime/InboundAugment.ts +0 -63
  2385. package/src/service/builtins/chat/runtime/PluginDispatch.ts +0 -89
  2386. package/src/service/builtins/chat/runtime/PluginPoints.ts +0 -78
  2387. package/src/service/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
  2388. package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
  2389. package/src/service/builtins/chat/runtime/ReplyDispatch.ts +0 -78
  2390. package/src/service/builtins/chat/runtime/SystemPrompt.ts +0 -84
  2391. package/src/service/builtins/chat/runtime/UIMessageTransformer.ts +0 -141
  2392. package/src/service/builtins/chat/runtime/UserVisibleText.ts +0 -84
  2393. package/src/service/builtins/chat/types/BotInfo.ts +0 -101
  2394. package/src/service/builtins/chat/types/ChannelConfiguration.ts +0 -161
  2395. package/src/service/builtins/chat/types/ChannelContext.ts +0 -110
  2396. package/src/service/builtins/chat/types/ChannelStatus.ts +0 -98
  2397. package/src/service/builtins/chat/types/ChatHistory.ts +0 -42
  2398. package/src/service/builtins/chat/types/ChatMessageMarkup.ts +0 -168
  2399. package/src/service/builtins/chat/types/ChatMeta.ts +0 -35
  2400. package/src/service/builtins/chat/types/ChatPlugin.ts +0 -251
  2401. package/src/service/builtins/chat/types/ChatPromptContext.ts +0 -139
  2402. package/src/service/builtins/chat/types/ChatQueue.ts +0 -49
  2403. package/src/service/builtins/chat/types/ChatRuntime.ts +0 -33
  2404. package/src/service/builtins/chat/types/ChatService.ts +0 -165
  2405. package/src/service/builtins/chat/types/DirectDispatch.ts +0 -133
  2406. package/src/service/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
  2407. package/src/service/builtins/contact/Action.ts +0 -316
  2408. package/src/service/builtins/contact/ContactService.ts +0 -505
  2409. package/src/service/builtins/contact/Index.ts +0 -8
  2410. package/src/service/builtins/contact/PROMPT.ts +0 -9
  2411. package/src/service/builtins/contact/PROMPT.ts.txt +0 -25
  2412. package/src/service/builtins/contact/runtime/ApproveCallback.ts +0 -97
  2413. package/src/service/builtins/contact/runtime/ChatRuntime.ts +0 -82
  2414. package/src/service/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
  2415. package/src/service/builtins/contact/runtime/ContactStore.ts +0 -299
  2416. package/src/service/builtins/contact/runtime/EndpointNotice.ts +0 -125
  2417. package/src/service/builtins/contact/runtime/InboxStore.ts +0 -178
  2418. package/src/service/builtins/contact/runtime/LinkApproval.ts +0 -387
  2419. package/src/service/builtins/contact/runtime/LinkCode.ts +0 -70
  2420. package/src/service/builtins/contact/runtime/LinkStore.ts +0 -50
  2421. package/src/service/builtins/contact/runtime/Paths.ts +0 -139
  2422. package/src/service/builtins/contact/runtime/RemoteClient.ts +0 -158
  2423. package/src/service/builtins/contact/runtime/ShareBundle.ts +0 -286
  2424. package/src/service/builtins/contact/runtime/SystemProvider.ts +0 -15
  2425. package/src/service/builtins/contact/types/ContactCheck.ts +0 -67
  2426. package/src/service/builtins/contact/types/ContactCommand.ts +0 -98
  2427. package/src/service/builtins/memory/Action.ts +0 -147
  2428. package/src/service/builtins/memory/Index.ts +0 -9
  2429. package/src/service/builtins/memory/MemoryService.ts +0 -270
  2430. package/src/service/builtins/memory/runtime/Flush.ts +0 -83
  2431. package/src/service/builtins/memory/runtime/Search.ts +0 -330
  2432. package/src/service/builtins/memory/runtime/Store.ts +0 -198
  2433. package/src/service/builtins/memory/runtime/SystemProvider.ts +0 -145
  2434. package/src/service/builtins/memory/runtime/Writer.ts +0 -173
  2435. package/src/service/builtins/schedule/ScheduleService.ts +0 -131
  2436. package/src/service/builtins/shell/Index.ts +0 -9
  2437. package/src/service/builtins/shell/ShellRuntimeTypes.ts +0 -94
  2438. package/src/service/builtins/shell/ShellService.ts +0 -199
  2439. package/src/service/builtins/shell/runtime/ShellActionResponse.ts +0 -135
  2440. package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
  2441. package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -398
  2442. package/src/service/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
  2443. package/src/service/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
  2444. package/src/service/builtins/shell/types/ShellService.ts +0 -233
  2445. package/src/service/builtins/task/Index.ts +0 -9
  2446. package/src/service/builtins/task/PROMPT.ts +0 -9
  2447. package/src/service/builtins/task/PROMPT.ts.txt +0 -237
  2448. package/src/service/builtins/task/Scheduler.ts +0 -245
  2449. package/src/service/builtins/task/TaskService.ts +0 -167
  2450. package/src/service/builtins/task/runtime/CronRuntime.ts +0 -73
  2451. package/src/service/builtins/task/runtime/CronTrigger.ts +0 -110
  2452. package/src/service/builtins/task/runtime/Model.ts +0 -347
  2453. package/src/service/builtins/task/runtime/Runner.ts +0 -519
  2454. package/src/service/builtins/task/runtime/Store.ts +0 -253
  2455. package/src/service/builtins/task/runtime/TaskActionExecution.ts +0 -276
  2456. package/src/service/builtins/task/runtime/TaskActionInput.ts +0 -281
  2457. package/src/service/builtins/task/runtime/TaskPromptAssets.ts +0 -14
  2458. package/src/service/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
  2459. package/src/service/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
  2460. package/src/service/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
  2461. package/src/service/builtins/task/runtime/TaskRunnerRound.ts +0 -337
  2462. package/src/service/builtins/task/runtime/TaskRunnerScript.ts +0 -175
  2463. package/src/service/builtins/task/runtime/TaskRunnerSession.ts +0 -190
  2464. package/src/service/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
  2465. package/src/service/builtins/task/runtime/TaskServiceActions.ts +0 -214
  2466. package/src/service/builtins/task/runtime/TaskServiceSystem.ts +0 -8
  2467. package/src/service/builtins/task/types/Cron.ts +0 -16
  2468. package/src/service/builtins/task/types/TaskService.ts +0 -55
  2469. package/src/service/core/Manager.ts +0 -24
  2470. package/src/service/core/ServiceActionRunner.ts +0 -274
  2471. package/src/service/core/ServiceClassRegistry.ts +0 -77
  2472. package/src/service/core/ServiceCommandRequest.ts +0 -93
  2473. package/src/service/core/ServiceStateController.ts +0 -341
  2474. package/src/service/core/ServiceSystemProviders.ts +0 -50
  2475. package/src/service/core/Services.ts +0 -35
  2476. package/src/service/core/schedule/Executor.ts +0 -54
  2477. package/src/service/core/schedule/Store.ts +0 -358
  2478. package/src/service/core/schedule/Time.ts +0 -131
  2479. package/src/service/types/Service.ts +0 -200
  2480. package/src/service/types/ServiceSchedule.ts +0 -134
  2481. package/src/service/types/ServiceState.ts +0 -112
  2482. package/src/service/types/Services.ts +0 -100
  2483. package/src/session/Executor.ts +0 -732
  2484. package/src/session/README.md +0 -108
  2485. package/src/session/SessionRunScope.ts +0 -146
  2486. package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -62
  2487. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -101
  2488. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
  2489. package/src/session/composer/context/LocalSessionContextComposer.ts +0 -168
  2490. package/src/session/composer/context/SessionContextComposer.ts +0 -70
  2491. package/src/session/composer/history/SessionHistoryComposer.ts +0 -62
  2492. package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
  2493. package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -126
  2494. package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -77
  2495. package/src/session/composer/system/default/InitPromptAssets.ts +0 -20
  2496. package/src/session/composer/system/default/InitPrompts.ts +0 -11
  2497. package/src/session/composer/system/default/PromptRenderer.ts +0 -52
  2498. package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
  2499. package/src/session/composer/system/default/SystemDomain.ts +0 -373
  2500. package/src/session/composer/system/default/SystemPromptAssets.ts +0 -26
  2501. package/src/session/composer/system/default/assets/core.prompt.ts +0 -9
  2502. package/src/session/composer/system/default/assets/core.prompt.ts.txt +0 -39
  2503. package/src/session/composer/system/default/assets/init/PROFILE.md.ts +0 -9
  2504. package/src/session/composer/system/default/assets/init/SOUL.md.ts +0 -9
  2505. package/src/session/composer/system/default/assets/service.prompt.ts +0 -9
  2506. package/src/session/composer/system/default/assets/service.prompt.ts.txt +0 -29
  2507. package/src/session/composer/system/default/assets/task.prompt.ts +0 -9
  2508. package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
  2509. package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
  2510. package/src/session/core-engine/CoreEngineLoopDecision.ts +0 -80
  2511. package/src/session/core-engine/CoreEngineMessageState.ts +0 -133
  2512. package/src/session/core-engine/CoreEngineSignals.ts +0 -416
  2513. package/src/session/core-engine/CoreEngineUiStreamCollector.ts +0 -96
  2514. package/src/session/messages/SessionAttachmentMapper.ts +0 -155
  2515. package/src/session/messages/SessionMessageCodec.ts +0 -116
  2516. package/src/session/messages/SessionMessageLog.ts +0 -39
  2517. package/src/session/messages/SessionStepEventMapper.ts +0 -233
  2518. package/src/session/store/history/SessionHistoryStore.ts +0 -145
  2519. package/src/session/store/history/jsonl/JsonlSessionHistoryStore.ts +0 -465
  2520. package/src/session/tools/shell/ShellToolBridge.ts +0 -378
  2521. package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
  2522. package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
  2523. package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
  2524. package/src/session/types/SessionExecutor.ts +0 -33
  2525. package/src/session/types/SessionHistoryMeta.ts +0 -46
  2526. package/src/session/types/SessionHistoryPaths.ts +0 -33
  2527. package/src/session/types/SessionMessages.ts +0 -90
  2528. package/src/session/types/SessionRun.ts +0 -132
  2529. package/src/types/config/ModelBinding.ts +0 -18
  2530. package/src/utils/cli/Checker.ts +0 -19
  2531. package/src/utils/logger/Fetch.ts +0 -93
  2532. /package/bin/{session → executor}/Executor.js +0 -0
  2533. /package/bin/{session → executor}/composer/compaction/SessionCompactionComposer.js +0 -0
  2534. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -0
  2535. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -0
  2536. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -0
  2537. /package/bin/{session → executor}/composer/context/LocalSessionContextComposer.js +0 -0
  2538. /package/bin/{session → executor}/composer/context/SessionContextComposer.js +0 -0
  2539. /package/bin/{session → executor}/composer/history/SessionHistoryComposer.js +0 -0
  2540. /package/bin/{session → executor}/composer/history/SessionHistoryWriter.js +0 -0
  2541. /package/bin/{session → executor}/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -0
  2542. /package/bin/{session → executor}/composer/system/SessionSystemComposer.d.ts +0 -0
  2543. /package/bin/{session → executor}/composer/system/SessionSystemComposer.js +0 -0
  2544. /package/bin/{session → executor}/composer/system/default/DefaultSessionSystemComposer.js +0 -0
  2545. /package/bin/{session → executor}/composer/system/default/InitPromptAssets.d.ts +0 -0
  2546. /package/bin/{session → executor}/composer/system/default/InitPromptAssets.js +0 -0
  2547. /package/bin/{session → executor}/composer/system/default/InitPrompts.d.ts +0 -0
  2548. /package/bin/{session → executor}/composer/system/default/InitPrompts.js +0 -0
  2549. /package/bin/{session → executor}/composer/system/default/PromptRenderer.d.ts +0 -0
  2550. /package/bin/{session → executor}/composer/system/default/PromptRenderer.js +0 -0
  2551. /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.d.ts +0 -0
  2552. /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.js +0 -0
  2553. /package/bin/{session → executor}/composer/system/default/assets/init/PROFILE.md.d.ts +0 -0
  2554. /package/bin/{session → executor}/composer/system/default/assets/init/SOUL.md.d.ts +0 -0
  2555. /package/bin/{session → executor}/composer/system/default/assets/task.prompt.d.ts +0 -0
  2556. /package/bin/{session → executor}/composer/system/default/variables/GeoContext.d.ts +0 -0
  2557. /package/bin/{session → executor}/composer/system/default/variables/GeoContext.js +0 -0
  2558. /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.d.ts +0 -0
  2559. /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.js +0 -0
  2560. /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.d.ts +0 -0
  2561. /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.js +0 -0
  2562. /package/bin/{session → executor}/core-engine/CoreEngineError.d.ts +0 -0
  2563. /package/bin/{session → executor}/core-engine/CoreEngineError.js +0 -0
  2564. /package/bin/{session → executor}/core-engine/CoreEngineLoopDecision.js +0 -0
  2565. /package/bin/{session → executor}/core-engine/CoreEngineMessageState.js +0 -0
  2566. /package/bin/{session → executor}/core-engine/CoreEngineSignals.js +0 -0
  2567. /package/bin/{session → executor}/core-engine/CoreEngineUiStreamCollector.js +0 -0
  2568. /package/bin/{session → executor}/ids/resolveSessionId.d.ts +0 -0
  2569. /package/bin/{session → executor}/ids/resolveSessionId.js +0 -0
  2570. /package/bin/{session → executor}/messages/SessionMessageCodec.js +0 -0
  2571. /package/bin/{session → executor}/messages/SessionMessageLog.js +0 -0
  2572. /package/bin/{session → executor}/messages/SessionStepEventMapper.js +0 -0
  2573. /package/bin/{session → executor}/store/history/SessionHistoryStore.js +0 -0
  2574. /package/bin/{session → executor}/tools/shell/ShellToolSchemas.d.ts +0 -0
  2575. /package/bin/{session → executor}/types/SessionExecutor.js +0 -0
  2576. /package/bin/{session → executor}/types/SessionHistoryPaths.js +0 -0
  2577. /package/bin/{session → executor}/types/SessionLoop.d.ts +0 -0
  2578. /package/bin/{session → executor}/types/SessionLoop.js +0 -0
  2579. /package/bin/{session → executor}/types/SessionMessages.js +0 -0
  2580. /package/bin/{session → executor}/types/SessionPrompts.d.ts +0 -0
  2581. /package/bin/{session → executor}/types/SessionPrompts.js +0 -0
  2582. /package/bin/{session → executor}/types/SessionRun.js +0 -0
  2583. /package/bin/{service → plugin}/builtins/chat/channels/Configuration.js +0 -0
  2584. /package/bin/{service → plugin}/builtins/chat/channels/feishu/BotInfo.js +0 -0
  2585. /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuInbound.js +0 -0
  2586. /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -0
  2587. /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -0
  2588. /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -0
  2589. /package/bin/{service → plugin}/builtins/chat/channels/feishu/InboundAttachment.js +0 -0
  2590. /package/bin/{service → plugin}/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -0
  2591. /package/bin/{service → plugin}/builtins/chat/channels/feishu/PostMessage.js +0 -0
  2592. /package/bin/{service → plugin}/builtins/chat/channels/feishu/ReplyContext.js +0 -0
  2593. /package/bin/{service → plugin}/builtins/chat/channels/qq/BotInfo.js +0 -0
  2594. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQEventCapture.js +0 -0
  2595. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayAuth.js +0 -0
  2596. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayClient.js +0 -0
  2597. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayConnection.js +0 -0
  2598. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -0
  2599. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewaySend.js +0 -0
  2600. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewaySupport.js +0 -0
  2601. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInbound.js +0 -0
  2602. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -0
  2603. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInboundDedupe.js +0 -0
  2604. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQMessageHandler.js +0 -0
  2605. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -0
  2606. /package/bin/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.js +0 -0
  2607. /package/bin/{service → plugin}/builtins/chat/channels/qq/VoiceInput.js +0 -0
  2608. /package/bin/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -0
  2609. /package/bin/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -0
  2610. /package/bin/{service → plugin}/builtins/chat/channels/telegram/ApiClient.d.ts +0 -0
  2611. /package/bin/{service → plugin}/builtins/chat/channels/telegram/ApiClient.js +0 -0
  2612. /package/bin/{service → plugin}/builtins/chat/channels/telegram/BotInfo.js +0 -0
  2613. /package/bin/{service → plugin}/builtins/chat/channels/telegram/Handlers.d.ts +0 -0
  2614. /package/bin/{service → plugin}/builtins/chat/channels/telegram/Handlers.js +0 -0
  2615. /package/bin/{service → plugin}/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -0
  2616. /package/bin/{service → plugin}/builtins/chat/channels/telegram/ReplyContext.js +0 -0
  2617. /package/bin/{service → plugin}/builtins/chat/channels/telegram/Shared.d.ts +0 -0
  2618. /package/bin/{service → plugin}/builtins/chat/channels/telegram/StateStore.d.ts +0 -0
  2619. /package/bin/{service → plugin}/builtins/chat/channels/telegram/StateStore.js +0 -0
  2620. /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -0
  2621. /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.js +0 -0
  2622. /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -0
  2623. /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -0
  2624. /package/bin/{service → plugin}/builtins/chat/runtime/ChannelContextStore.js +0 -0
  2625. /package/bin/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -0
  2626. /package/bin/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.js +0 -0
  2627. /package/bin/{service → plugin}/builtins/chat/runtime/ChatHistoryStore.js +0 -0
  2628. /package/bin/{service → plugin}/builtins/chat/runtime/ChatMessageMarkup.js +0 -0
  2629. /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueue.js +0 -0
  2630. /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -0
  2631. /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -0
  2632. /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -0
  2633. /package/bin/{service → plugin}/builtins/chat/runtime/ChatSendMetadata.js +0 -0
  2634. /package/bin/{service → plugin}/builtins/chat/runtime/ChatSendRegistry.js +0 -0
  2635. /package/bin/{service → plugin}/builtins/chat/runtime/ChatSessionTypes.js +0 -0
  2636. /package/bin/{service → plugin}/builtins/chat/runtime/QueuedUserMessage.js +0 -0
  2637. /package/bin/{service → plugin}/builtins/chat/runtime/ReplyContextFormatter.js +0 -0
  2638. /package/bin/{service → plugin}/builtins/chat/runtime/UIMessageTransformer.js +0 -0
  2639. /package/bin/{service → plugin}/builtins/chat/runtime/UserVisibleText.js +0 -0
  2640. /package/bin/{service → plugin}/builtins/chat/types/BotInfo.js +0 -0
  2641. /package/bin/{service → plugin}/builtins/chat/types/ChannelAccount.d.ts +0 -0
  2642. /package/bin/{service → plugin}/builtins/chat/types/ChannelAccount.js +0 -0
  2643. /package/bin/{service → plugin}/builtins/chat/types/ChannelConfiguration.js +0 -0
  2644. /package/bin/{service → plugin}/builtins/chat/types/ChannelStatus.js +0 -0
  2645. /package/bin/{service → plugin}/builtins/chat/types/ChatCommand.d.ts +0 -0
  2646. /package/bin/{service → plugin}/builtins/chat/types/ChatCommand.js +0 -0
  2647. /package/bin/{service → plugin}/builtins/chat/types/ChatDispatcher.d.ts +0 -0
  2648. /package/bin/{service → plugin}/builtins/chat/types/ChatDispatcher.js +0 -0
  2649. /package/bin/{service → plugin}/builtins/chat/types/ChatHistory.js +0 -0
  2650. /package/bin/{service → plugin}/builtins/chat/types/ChatPromptContext.js +0 -0
  2651. /package/bin/{service → plugin}/builtins/chat/types/ChatQueue.js +0 -0
  2652. /package/bin/{service → plugin}/builtins/chat/types/ChatQueueWorker.d.ts +0 -0
  2653. /package/bin/{service → plugin}/builtins/chat/types/ChatQueueWorker.js +0 -0
  2654. /package/bin/{service → plugin}/builtins/chat/types/DirectDispatch.js +0 -0
  2655. /package/bin/{service → plugin}/builtins/chat/types/FeishuAttachment.d.ts +0 -0
  2656. /package/bin/{service → plugin}/builtins/chat/types/FeishuAttachment.js +0 -0
  2657. /package/bin/{service → plugin}/builtins/chat/types/FeishuInboundAttachment.js +0 -0
  2658. /package/bin/{service → plugin}/builtins/chat/types/FeishuPost.d.ts +0 -0
  2659. /package/bin/{service → plugin}/builtins/chat/types/FeishuPost.js +0 -0
  2660. /package/bin/{service → plugin}/builtins/chat/types/QqInboundDedupe.d.ts +0 -0
  2661. /package/bin/{service → plugin}/builtins/chat/types/QqInboundDedupe.js +0 -0
  2662. /package/bin/{service → plugin}/builtins/chat/types/QqVoice.d.ts +0 -0
  2663. /package/bin/{service → plugin}/builtins/chat/types/QqVoice.js +0 -0
  2664. /package/bin/{service → plugin}/builtins/chat/types/ReplyContext.d.ts +0 -0
  2665. /package/bin/{service → plugin}/builtins/chat/types/ReplyContext.js +0 -0
  2666. /package/bin/{service → plugin}/builtins/contact/runtime/ApproveCallback.js +0 -0
  2667. /package/bin/{service → plugin}/builtins/contact/runtime/ContactPayload.d.ts +0 -0
  2668. /package/bin/{service → plugin}/builtins/contact/runtime/ContactPayload.js +0 -0
  2669. /package/bin/{service → plugin}/builtins/contact/runtime/ContactStore.js +0 -0
  2670. /package/bin/{service → plugin}/builtins/contact/runtime/EndpointNotice.js +0 -0
  2671. /package/bin/{service → plugin}/builtins/contact/runtime/EndpointResolver.d.ts +0 -0
  2672. /package/bin/{service → plugin}/builtins/contact/runtime/EndpointResolver.js +0 -0
  2673. /package/bin/{service → plugin}/builtins/contact/runtime/InboxStore.js +0 -0
  2674. /package/bin/{service → plugin}/builtins/contact/runtime/LinkApproval.js +0 -0
  2675. /package/bin/{service → plugin}/builtins/contact/runtime/LinkCode.js +0 -0
  2676. /package/bin/{service → plugin}/builtins/contact/runtime/LinkStore.js +0 -0
  2677. /package/bin/{service → plugin}/builtins/contact/runtime/ShareBundle.js +0 -0
  2678. /package/bin/{service → plugin}/builtins/contact/runtime/Token.d.ts +0 -0
  2679. /package/bin/{service → plugin}/builtins/contact/runtime/Token.js +0 -0
  2680. /package/bin/{service → plugin}/builtins/contact/types/Contact.d.ts +0 -0
  2681. /package/bin/{service → plugin}/builtins/contact/types/Contact.js +0 -0
  2682. /package/bin/{service → plugin}/builtins/contact/types/ContactApproval.d.ts +0 -0
  2683. /package/bin/{service → plugin}/builtins/contact/types/ContactApproval.js +0 -0
  2684. /package/bin/{service → plugin}/builtins/contact/types/ContactChat.d.ts +0 -0
  2685. /package/bin/{service → plugin}/builtins/contact/types/ContactChat.js +0 -0
  2686. /package/bin/{service → plugin}/builtins/contact/types/ContactCheck.js +0 -0
  2687. /package/bin/{service → plugin}/builtins/contact/types/ContactEndpoint.d.ts +0 -0
  2688. /package/bin/{service → plugin}/builtins/contact/types/ContactEndpoint.js +0 -0
  2689. /package/bin/{service → plugin}/builtins/contact/types/ContactLink.d.ts +0 -0
  2690. /package/bin/{service → plugin}/builtins/contact/types/ContactLink.js +0 -0
  2691. /package/bin/{service → plugin}/builtins/contact/types/ContactShare.d.ts +0 -0
  2692. /package/bin/{service → plugin}/builtins/contact/types/ContactShare.js +0 -0
  2693. /package/bin/{service → plugin}/builtins/memory/Action.js +0 -0
  2694. /package/bin/{service → plugin}/builtins/memory/runtime/Flush.js +0 -0
  2695. /package/bin/{service → plugin}/builtins/memory/types/Memory.d.ts +0 -0
  2696. /package/bin/{service → plugin}/builtins/memory/types/Memory.js +0 -0
  2697. /package/bin/{service → plugin}/builtins/shell/runtime/Paths.d.ts +0 -0
  2698. /package/bin/{service → plugin}/builtins/shell/runtime/Paths.js +0 -0
  2699. /package/bin/{service → plugin}/builtins/shell/runtime/ShellActionResponse.js +0 -0
  2700. /package/bin/{service → plugin}/builtins/shell/runtime/ShellProcessEvents.js +0 -0
  2701. /package/bin/{service → plugin}/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -0
  2702. /package/bin/{service → plugin}/builtins/shell/types/Shell.d.ts +0 -0
  2703. /package/bin/{service → plugin}/builtins/shell/types/Shell.js +0 -0
  2704. /package/bin/{service → plugin}/builtins/task/Action.d.ts +0 -0
  2705. /package/bin/{service → plugin}/builtins/task/Action.js +0 -0
  2706. /package/bin/{service → plugin}/builtins/task/runtime/Frontmatter.d.ts +0 -0
  2707. /package/bin/{service → plugin}/builtins/task/runtime/Frontmatter.js +0 -0
  2708. /package/bin/{service → plugin}/builtins/task/runtime/Model.js +0 -0
  2709. /package/bin/{service → plugin}/builtins/task/runtime/Paths.d.ts +0 -0
  2710. /package/bin/{service → plugin}/builtins/task/runtime/Paths.js +0 -0
  2711. /package/bin/{service → plugin}/builtins/task/runtime/Runner.js +0 -0
  2712. /package/bin/{service → plugin}/builtins/task/runtime/Store.js +0 -0
  2713. /package/bin/{service → plugin}/builtins/task/runtime/TaskRunArtifacts.js +0 -0
  2714. /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerProgress.js +0 -0
  2715. /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerScript.js +0 -0
  2716. /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerTypes.js +0 -0
  2717. /package/bin/{service → plugin}/builtins/task/types/Cron.js +0 -0
  2718. /package/bin/{service → plugin}/builtins/task/types/Task.d.ts +0 -0
  2719. /package/bin/{service → plugin}/builtins/task/types/Task.js +0 -0
  2720. /package/bin/{service → plugin}/builtins/task/types/TaskCommand.d.ts +0 -0
  2721. /package/bin/{service → plugin}/builtins/task/types/TaskCommand.js +0 -0
  2722. /package/src/{session → executor}/composer/system/SessionSystemComposer.ts +0 -0
  2723. /package/src/{session → executor}/composer/system/default/assets/init/PROFILE.md.ts.txt +0 -0
  2724. /package/src/{session → executor}/composer/system/default/assets/init/SOUL.md.ts.txt +0 -0
  2725. /package/src/{session → executor}/composer/system/default/assets/task.prompt.ts.txt +0 -0
  2726. /package/src/{session → executor}/composer/system/default/variables/PromptTypes.ts +0 -0
  2727. /package/src/{session → executor}/core-engine/CoreEngineError.ts +0 -0
  2728. /package/src/{session → executor}/ids/resolveSessionId.ts +0 -0
  2729. /package/src/{session → executor}/types/SessionLoop.ts +0 -0
  2730. /package/src/{session → executor}/types/SessionPrompts.ts +0 -0
  2731. /package/src/{service → plugin}/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -0
  2732. /package/src/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.ts +0 -0
  2733. /package/src/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -0
  2734. /package/src/{service → plugin}/builtins/chat/channels/telegram/ApiClient.ts +0 -0
  2735. /package/src/{service → plugin}/builtins/chat/channels/telegram/Handlers.ts +0 -0
  2736. /package/src/{service → plugin}/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -0
  2737. /package/src/{service → plugin}/builtins/chat/channels/telegram/StateStore.ts +0 -0
  2738. /package/src/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.ts +0 -0
  2739. /package/src/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.ts +0 -0
  2740. /package/src/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -0
  2741. /package/src/{service → plugin}/builtins/chat/types/ChannelAccount.ts +0 -0
  2742. /package/src/{service → plugin}/builtins/chat/types/ChatCommand.ts +0 -0
  2743. /package/src/{service → plugin}/builtins/chat/types/ChatDispatcher.ts +0 -0
  2744. /package/src/{service → plugin}/builtins/chat/types/ChatQueueWorker.ts +0 -0
  2745. /package/src/{service → plugin}/builtins/chat/types/FeishuAttachment.ts +0 -0
  2746. /package/src/{service → plugin}/builtins/chat/types/FeishuPost.ts +0 -0
  2747. /package/src/{service → plugin}/builtins/chat/types/QqInboundDedupe.ts +0 -0
  2748. /package/src/{service → plugin}/builtins/chat/types/QqVoice.ts +0 -0
  2749. /package/src/{service → plugin}/builtins/chat/types/ReplyContext.ts +0 -0
  2750. /package/src/{service → plugin}/builtins/contact/runtime/ContactPayload.ts +0 -0
  2751. /package/src/{service → plugin}/builtins/contact/runtime/EndpointResolver.ts +0 -0
  2752. /package/src/{service → plugin}/builtins/contact/runtime/Token.ts +0 -0
  2753. /package/src/{service → plugin}/builtins/contact/types/Contact.ts +0 -0
  2754. /package/src/{service → plugin}/builtins/contact/types/ContactApproval.ts +0 -0
  2755. /package/src/{service → plugin}/builtins/contact/types/ContactChat.ts +0 -0
  2756. /package/src/{service → plugin}/builtins/contact/types/ContactEndpoint.ts +0 -0
  2757. /package/src/{service → plugin}/builtins/contact/types/ContactLink.ts +0 -0
  2758. /package/src/{service → plugin}/builtins/contact/types/ContactShare.ts +0 -0
  2759. /package/src/{service → plugin}/builtins/memory/types/Memory.ts +0 -0
  2760. /package/src/{service → plugin}/builtins/shell/runtime/Paths.ts +0 -0
  2761. /package/src/{service → plugin}/builtins/shell/types/Shell.ts +0 -0
  2762. /package/src/{service → plugin}/builtins/task/Action.ts +0 -0
  2763. /package/src/{service → plugin}/builtins/task/runtime/Frontmatter.ts +0 -0
  2764. /package/src/{service → plugin}/builtins/task/runtime/Paths.ts +0 -0
  2765. /package/src/{service → plugin}/builtins/task/types/Task.ts +0 -0
  2766. /package/src/{service → plugin}/builtins/task/types/TaskCommand.ts +0 -0
@@ -1,78 +0,0 @@
1
- /**
2
- * Chat service plugin 点定义。
3
- *
4
- * 关键点(中文)
5
- * - plugin 点由 chat service 定义,不由具体 plugin 定义。
6
- * - service 只依赖这些稳定点名,具体 plugin 负责实现其中某些点。
7
- * - 后续新增 chat 生命周期 plugin 点,也应统一收敛到这里。
8
- */
9
-
10
- /**
11
- * Chat service 对外暴露的 plugin 点目录。
12
- */
13
- export const CHAT_PLUGIN_POINTS = {
14
- /**
15
- * 增强入站消息正文。
16
- *
17
- * 说明(中文)
18
- * - service 先构造基础 attachment/body 文本。
19
- * - plugin 通过 pipeline 往 `pluginSections` 中追加中间块。
20
- */
21
- augmentInbound: "chat.augmentInbound",
22
- /**
23
- * 回复前文本增强。
24
- *
25
- * 说明(中文)
26
- * - service 在真正回发到 channel 前调用。
27
- * - plugin 可在这里做收尾改写、格式整理、签名注入等。
28
- */
29
- beforeReply: "chat.beforeReply",
30
- /**
31
- * 回复后事件通知。
32
- *
33
- * 说明(中文)
34
- * - service 在一次回复发送完成后触发。
35
- * - plugin 可在这里做审计、统计、回执同步等副作用。
36
- */
37
- afterReply: "chat.afterReply",
38
- /**
39
- * 入队前数据增强。
40
- *
41
- * 说明(中文)
42
- * - service 在 append ingress / enqueue 之前调用。
43
- * - plugin 可在这里改写入队文本或补充 extra metadata。
44
- */
45
- beforeEnqueue: "chat.beforeEnqueue",
46
- /**
47
- * 入队后事件通知。
48
- *
49
- * 说明(中文)
50
- * - service 在消息真正入队完成后调用。
51
- * - plugin 可在这里做统计、观测、调试落点。
52
- */
53
- afterEnqueue: "chat.afterEnqueue",
54
- /**
55
- * 观测入站主体信息。
56
- *
57
- * 说明(中文)
58
- * - 仅做副作用记录,不返回值。
59
- * - 典型实现方是 auth plugin。
60
- */
61
- observePrincipal: "chat.observePrincipal",
62
- /**
63
- * 判定当前入站消息是否允许执行。
64
- *
65
- * 说明(中文)
66
- * - 由 service 在 ingress 阶段显式调用。
67
- * - 典型实现方是 auth plugin。
68
- */
69
- authorizeIncoming: "chat.authorizeIncoming",
70
- /**
71
- * 解析当前用户角色。
72
- *
73
- * 说明(中文)
74
- * - 主要用于在 history / queue metadata 中补齐授权上下文。
75
- * - 典型实现方是 auth plugin。
76
- */
77
- resolveUserRole: "chat.resolveUserRole",
78
- } as const;
@@ -1,43 +0,0 @@
1
- /**
2
- * QueuedUserMessage:构造入队执行消息文本。
3
- *
4
- * 关键点(中文)
5
- * - 统一生成 `<info>...</info>` 头部,供模型读取用户与本次请求元信息。
6
- * - chat 路由环境不再放入 `<info>`,改由 system prompt 注入。
7
- * - 供 chat 入站执行与其他复用入口共用,避免重复实现。
8
- */
9
-
10
- import type { QueuedUserInfoInput } from "@/service/builtins/chat/types/ChatPromptContext.js";
11
-
12
- function normalizeInfoValue(value: unknown): string {
13
- const text = String(value ?? "").replace(/\r?\n/g, " ").trim();
14
- if (!text) return "";
15
- return text.replace(/</g, "&#60;").replace(/>/g, "&#62;");
16
- }
17
-
18
- /**
19
- * 构造“入队 user message”文本。
20
- *
21
- * 说明(中文)
22
- * - 顶部 `<info>` 为内部语义块,仅记录 user/request 元信息。
23
- * - 正文为用户原始输入(可为空)。
24
- */
25
- export function buildQueuedUserMessageWithInfo(params: {
26
- text: string;
27
- } & QueuedUserInfoInput): string {
28
- const infoLines = [
29
- `message_id: ${normalizeInfoValue(params.messageId || "unknown")}`,
30
- `user_id: ${normalizeInfoValue(params.userId || "unknown")}`,
31
- `username: ${normalizeInfoValue(params.username || "unknown")}`,
32
- `role_id: ${normalizeInfoValue(params.roleId || "unknown")}`,
33
- `permissions: ${normalizeInfoValue((params.permissions || []).join(",") || "none")}`,
34
- `received_at: ${normalizeInfoValue(params.receivedAt || new Date().toISOString())}`,
35
- ];
36
- if (normalizeInfoValue(params.userTimezone)) {
37
- infoLines.push(`user_timezone: ${normalizeInfoValue(params.userTimezone)}`);
38
- }
39
- const infoBlock = `<info>\n${infoLines.join("\n")}\n</info>`;
40
- const body = String(params.text ?? "").trim();
41
- if (!body) return infoBlock;
42
- return `${infoBlock}\n\n${body}`;
43
- }
@@ -1,85 +0,0 @@
1
- /**
2
- * ReplyContextFormatter:reply 引用上下文格式化工具。
3
- *
4
- * 关键点(中文)
5
- * - 把平台 reply 信息稳定地拼进模型输入正文。
6
- * - 同时提供额外 metadata,便于 history / 调试链路查看。
7
- */
8
-
9
- import type { JsonObject } from "@/types/common/Json.js";
10
- import type { InboundReplyContext } from "@/service/builtins/chat/types/ReplyContext.js";
11
-
12
- function normalizeReplyValue(value: string | undefined): string | undefined {
13
- const text = String(value || "").trim();
14
- return text ? text : undefined;
15
- }
16
-
17
- /**
18
- * 将 reply 上下文转换为执行输入正文。
19
- *
20
- * 说明(中文)
21
- * - 当前消息正文为空时,也会保留 reply block,避免“只看见 reply、看不见被引用内容”。
22
- * - quote 与完整正文相同则自动去重,避免重复噪声。
23
- */
24
- export function buildReplyContextInstruction(params: {
25
- text: string;
26
- replyContext?: InboundReplyContext;
27
- }): string {
28
- const body = String(params.text ?? "").trim();
29
- const replyContext = params.replyContext;
30
- if (!replyContext) return body;
31
-
32
- const messageId = normalizeReplyValue(replyContext.messageId);
33
- const actorName = normalizeReplyValue(replyContext.actorName);
34
- const quoteText = normalizeReplyValue(replyContext.quoteText);
35
- const replyText = normalizeReplyValue(replyContext.text);
36
- const normalizedQuote =
37
- quoteText && quoteText !== replyText ? quoteText : undefined;
38
-
39
- if (!messageId && !actorName && !normalizedQuote && !replyText) {
40
- return body;
41
- }
42
-
43
- const lines: string[] = ["<reply_context>"];
44
- if (messageId) lines.push(`reply_message_id: ${messageId}`);
45
- if (actorName) lines.push(`reply_actor_name: ${actorName}`);
46
- if (normalizedQuote) {
47
- lines.push("reply_quote:");
48
- lines.push(normalizedQuote);
49
- }
50
- if (replyText) {
51
- lines.push("reply_message:");
52
- lines.push(replyText);
53
- }
54
- lines.push("</reply_context>");
55
-
56
- if (!body) return lines.join("\n");
57
- return `${lines.join("\n")}\n\n${body}`;
58
- }
59
-
60
- /**
61
- * 将 reply 上下文转换为 ingress extra。
62
- *
63
- * 说明(中文)
64
- * - 仅保留稳定、短小的字段。
65
- * - 方便在 Console / history 中直接看到引用信息。
66
- */
67
- export function buildReplyContextExtra(
68
- replyContext?: InboundReplyContext,
69
- ): JsonObject | undefined {
70
- if (!replyContext) return undefined;
71
-
72
- const messageId = normalizeReplyValue(replyContext.messageId);
73
- const actorName = normalizeReplyValue(replyContext.actorName);
74
- const text = normalizeReplyValue(replyContext.text);
75
- const quoteText = normalizeReplyValue(replyContext.quoteText);
76
- if (!messageId && !actorName && !text && !quoteText) return undefined;
77
-
78
- return {
79
- hasReplyContext: true,
80
- ...(messageId ? { replyMessageId: messageId } : {}),
81
- ...(actorName ? { replyActorName: actorName } : {}),
82
- ...(text ? { replyText: text } : {}),
83
- ...(quoteText ? { replyQuoteText: quoteText } : {}),
84
- };
85
- }
@@ -1,78 +0,0 @@
1
- /**
2
- * Chat reply dispatch helper。
3
- *
4
- * 关键点(中文)
5
- * - 把 chat 回复前/回复后的扩展点统一收敛到这里。
6
- * - 仅服务 agent 执行生命周期,不覆盖手动 `chat send`。
7
- */
8
-
9
- import type { AgentContext } from "@/core/AgentContextTypes.js";
10
- import type { ChatReplyDispatchInput, ChatReplyEffectInput } from "@/service/builtins/chat/types/ChatPlugin.js";
11
- import type { JsonValue } from "@/types/common/Json.js";
12
- import type { ChatDispatchChannel } from "@/service/builtins/chat/types/ChatDispatcher.js";
13
- import { CHAT_PLUGIN_POINTS } from "@/service/builtins/chat/runtime/PluginPoints.js";
14
- import { resolveDispatchTargetByChatKey } from "@/service/builtins/chat/runtime/ChatkeySend.js";
15
-
16
- function normalizeText(value: string | undefined): string {
17
- return String(value || "").trim();
18
- }
19
-
20
- /**
21
- * 回复前文本增强。
22
- */
23
- export async function prepareChatReplyText(params: {
24
- context: AgentContext;
25
- input: ChatReplyDispatchInput;
26
- }): Promise<string> {
27
- const input = {
28
- ...params.input,
29
- text: normalizeText(params.input.text),
30
- };
31
- if (!input.text) return "";
32
-
33
- const next = await params.context.plugins.pipeline<JsonValue>(
34
- CHAT_PLUGIN_POINTS.beforeReply,
35
- input as unknown as JsonValue,
36
- );
37
- const record =
38
- next && typeof next === "object" && !Array.isArray(next)
39
- ? (next as Record<string, unknown>)
40
- : {};
41
- return normalizeText(typeof record.text === "string" ? record.text : input.text);
42
- }
43
-
44
- /**
45
- * 回复后事件分发。
46
- */
47
- export async function emitChatReplyEffect(params: {
48
- context: AgentContext;
49
- input: ChatReplyEffectInput;
50
- }): Promise<void> {
51
- await params.context.plugins.effect(
52
- CHAT_PLUGIN_POINTS.afterReply,
53
- params.input as unknown as JsonValue,
54
- );
55
- }
56
-
57
- /**
58
- * 基于 chatKey 补齐回复目标上下文。
59
- */
60
- export async function resolveChatReplyTarget(params: {
61
- context: AgentContext;
62
- chatKey: string;
63
- }): Promise<{
64
- channel?: ChatDispatchChannel;
65
- chatId?: string;
66
- messageId?: string;
67
- }> {
68
- const target = await resolveDispatchTargetByChatKey({
69
- context: params.context,
70
- chatKey: params.chatKey,
71
- });
72
- if (!target) return {};
73
- return {
74
- channel: target.channel,
75
- chatId: target.chatId,
76
- ...(target.messageId ? { messageId: target.messageId } : {}),
77
- };
78
- }
@@ -1,84 +0,0 @@
1
- /**
2
- * Chat SystemPrompt:chat 运行时 system prompt 辅助。
3
- *
4
- * 关键点(中文)
5
- * - 把当前 chat 路由环境从入站 `<info>` 中剥离,改由 system prompt 注入。
6
- * - 仅描述当前会话环境,不承载用户身份字段。
7
- * - 统一从 request context + ChatMetaStore 读取当前 chat 元信息。
8
- */
9
-
10
- import { getSessionRunScope } from "@session/SessionRunScope.js";
11
- import type { AgentContext } from "@/core/AgentContextTypes.js";
12
- import type { ChatEnvironmentPromptInput } from "@/service/builtins/chat/types/ChatPromptContext.js";
13
- import { readChatMetaBySessionId } from "@/service/builtins/chat/runtime/ChatMetaStore.js";
14
-
15
- function normalizePromptValue(value: unknown, fallback: string): string {
16
- const text = String(value ?? "").trim();
17
- return text || fallback;
18
- }
19
-
20
- /**
21
- * 解析当前请求的 chat 环境输入。
22
- *
23
- * 说明(中文)
24
- * - 非 chat session 或尚未建立 chat route 时返回 `null`。
25
- */
26
- export async function resolveCurrentChatEnvironmentPromptInput(
27
- context: AgentContext,
28
- ): Promise<ChatEnvironmentPromptInput | null> {
29
- const sessionId = String(getSessionRunScope()?.sessionId || "").trim();
30
- if (!sessionId) return null;
31
-
32
- const meta = await readChatMetaBySessionId({
33
- context,
34
- sessionId,
35
- }).catch(() => null);
36
- if (!meta?.channel || !meta.chatId) return null;
37
-
38
- return {
39
- sessionId: meta.sessionId,
40
- chatKey: meta.sessionId,
41
- channel: meta.channel,
42
- chatId: meta.chatId,
43
- ...(meta.targetType ? { chatType: meta.targetType } : {}),
44
- ...(typeof meta.threadId === "number" ? { threadId: meta.threadId } : {}),
45
- ...(meta.chatTitle ? { chatTitle: meta.chatTitle } : {}),
46
- };
47
- }
48
-
49
- /**
50
- * 构造当前 chat 环境说明文本。
51
- */
52
- export function buildChatEnvironmentPrompt(input: ChatEnvironmentPromptInput): string {
53
- const lines = [
54
- "# Current Chat Environment",
55
- "以下字段只描述当前 chat 会话环境与路由,不是用户身份信息:",
56
- `- channel: ${normalizePromptValue(input.channel, "unknown")}`,
57
- `- session_id: ${normalizePromptValue(input.sessionId, "unknown")}`,
58
- `- chat_key: ${normalizePromptValue(input.chatKey, "unknown")}`,
59
- `- chat_id: ${normalizePromptValue(input.chatId, "unknown")}`,
60
- `- chat_type: ${normalizePromptValue(input.chatType, "unknown")}`,
61
- `- thread_id: ${normalizePromptValue(
62
- typeof input.threadId === "number" ? String(input.threadId) : "",
63
- "none",
64
- )}`,
65
- ];
66
-
67
- const chatTitle = normalizePromptValue(input.chatTitle, "");
68
- if (chatTitle) {
69
- lines.push(`- chat_title: ${chatTitle}`);
70
- }
71
-
72
- return lines.join("\n");
73
- }
74
-
75
- /**
76
- * 读取并渲染当前请求的 chat 环境 prompt。
77
- */
78
- export async function buildCurrentChatEnvironmentPrompt(
79
- context: AgentContext,
80
- ): Promise<string> {
81
- const input = await resolveCurrentChatEnvironmentPromptInput(context);
82
- if (!input) return "";
83
- return buildChatEnvironmentPrompt(input);
84
- }
@@ -1,141 +0,0 @@
1
- /**
2
- * UIMessage 解析辅助。
3
- *
4
- * 关键点(中文)
5
- * - 这些能力属于 runtime 执行结果处理,不属于 prompts 组装
6
- * - 用于提取最终 assistant 文本与工具调用摘要
7
- */
8
-
9
- import {
10
- getToolName,
11
- isTextUIPart,
12
- isToolUIPart,
13
- type UIDataTypes,
14
- type UIMessagePart,
15
- type UITools,
16
- } from "ai";
17
- import type { SessionMessageV1 } from "@/session/types/SessionMessages.js";
18
- import type { JsonObject, JsonValue } from "@/types/common/Json.js";
19
-
20
- type AnyUiMessagePart = UIMessagePart<UIDataTypes, UITools>;
21
- type ToolNameReadablePart = Parameters<typeof getToolName>[0];
22
- type ToolCallSummary = {
23
- tool: string;
24
- input: JsonObject;
25
- output: string;
26
- };
27
-
28
- type ToolPartCompatShape = {
29
- type?: string;
30
- state?: string;
31
- input?: JsonValue;
32
- output?: unknown;
33
- errorText?: unknown;
34
- error?: unknown;
35
- approval?: {
36
- reason?: unknown;
37
- };
38
- };
39
-
40
- function toUiParts(message: SessionMessageV1 | null | undefined): AnyUiMessagePart[] {
41
- return Array.isArray(message?.parts) ? message.parts : [];
42
- }
43
-
44
- function normalizeJsonValue(value: JsonValue | object | undefined): JsonValue {
45
- if (value === undefined) return null;
46
- if (value === null) return null;
47
- if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
48
- return value;
49
- }
50
- try {
51
- return JSON.parse(JSON.stringify(value)) as JsonValue;
52
- } catch {
53
- return String(value);
54
- }
55
- }
56
-
57
- function toToolInput(rawInput: JsonValue | object | undefined): JsonObject {
58
- const normalized = normalizeJsonValue(rawInput);
59
- if (normalized && typeof normalized === "object" && !Array.isArray(normalized)) {
60
- return normalized as JsonObject;
61
- }
62
- return { value: normalized };
63
- }
64
-
65
- function resolveToolName(part: ToolPartCompatShape, aiToolName?: string): string {
66
- const fromAi = String(aiToolName || "").trim();
67
- if (fromAi) return fromAi;
68
-
69
- const rawType = typeof part.type === "string" ? part.type.trim() : "";
70
- if (rawType.startsWith("tool-")) return rawType.slice("tool-".length);
71
-
72
- return "";
73
- }
74
-
75
- function tryReadAiToolName(part: AnyUiMessagePart): string {
76
- if (!isToolUIPart(part)) return "";
77
- return String(getToolName(part as ToolNameReadablePart) || "").trim();
78
- }
79
-
80
- function extractToolOutput(part: ToolPartCompatShape): string {
81
- const state = typeof part.state === "string" ? part.state.trim() : "";
82
- const outputObj =
83
- state === "output-available"
84
- ? part.output
85
- : state === "output-error"
86
- ? { error: part.errorText ?? part.error ?? "tool_error" }
87
- : state === "output-denied"
88
- ? { error: "tool_denied", reason: part.approval?.reason }
89
- : undefined;
90
- if (outputObj === undefined) return "";
91
- try {
92
- return JSON.stringify(outputObj);
93
- } catch {
94
- return String(outputObj);
95
- }
96
- }
97
-
98
- /**
99
- * 从 UIMessage 中提取纯文本。
100
- */
101
- export function extractTextFromUiMessage(
102
- message: SessionMessageV1 | null | undefined,
103
- ): string {
104
- const parts = toUiParts(message);
105
- return parts
106
- .filter(isTextUIPart)
107
- .map((part) => String(part.text ?? ""))
108
- .join("\n")
109
- .trim();
110
- }
111
-
112
- /**
113
- * 从 UIMessage 中提取 tool 调用记录。
114
- */
115
- export function extractToolCallsFromUiMessage(
116
- message: SessionMessageV1 | null | undefined,
117
- ): ToolCallSummary[] {
118
- const parts = toUiParts(message);
119
- const out: ToolCallSummary[] = [];
120
-
121
- for (const part of parts) {
122
- const partObject = part as ToolPartCompatShape;
123
- const toolUiPart = isToolUIPart(part) ? part : null;
124
- if (!toolUiPart) continue;
125
-
126
- const toolName = resolveToolName(partObject, tryReadAiToolName(part));
127
- if (!toolName) continue;
128
-
129
- const rawInput = (part as { input?: JsonValue }).input;
130
- const input = toToolInput(rawInput);
131
- const output = extractToolOutput(partObject);
132
-
133
- out.push({
134
- tool: toolName,
135
- input,
136
- output,
137
- });
138
- }
139
-
140
- return out;
141
- }
@@ -1,84 +0,0 @@
1
- /**
2
- * 从 assistant message 中提取“用户可见文本”。
3
- *
4
- * 背景(中文,关键点)
5
- * - 在 tool-strict 模式下,模型的 `result.text` 可能为空
6
- * - 真实的“最终回复”往往由 `chat_send` 工具的 input.text 决定
7
- * - 因此需要一个稳定的、与 Agent 解耦的提取逻辑(属于 chat/egress 语义)
8
- */
9
-
10
- import type { SessionMessageV1 } from "@/session/types/SessionMessages.js";
11
- import {
12
- extractTextFromUiMessage,
13
- extractToolCallsFromUiMessage,
14
- } from "./UIMessageTransformer.js";
15
-
16
- /**
17
- * 生成真正应该落盘到 session 的 assistant message。
18
- *
19
- * 关键点(中文)
20
- * - 没有 step 持久化时,直接保留完整 assistant message。
21
- * - 一旦 step 已单独落盘,最终 merged assistant 不再重复写入。
22
- */
23
- export function resolveAssistantMessageForPersistence(
24
- message: SessionMessageV1 | null | undefined,
25
- ): SessionMessageV1 | null {
26
- if (!message || typeof message !== "object") return null;
27
- return hasPersistedAssistantSteps(message) ? null : message;
28
- }
29
-
30
- /**
31
- * 判断 assistant message 是否声明“本轮 step 消息已单独持久化”。
32
- *
33
- * 关键点(中文)
34
- * - 该标记只用于避免在 run 结束时把最终 merged assistant 再重复写入 context。
35
- * - 不影响 channel 发送;只影响 context messages 的最终 append 策略。
36
- */
37
- export function hasPersistedAssistantSteps(
38
- message: SessionMessageV1 | null | undefined,
39
- ): boolean {
40
- const extra = message?.metadata?.extra;
41
- if (!extra || typeof extra !== "object" || Array.isArray(extra)) return false;
42
- return extra.assistantStepMessagesPersisted === true;
43
- }
44
-
45
- /**
46
- * 提取策略(中文)
47
- * - 倒序扫描:优先使用最后一次 `chat_send`,与最终用户感知一致。
48
- * - 优先使用 chat_send 的 input.text(需结合 tool output 判断成功)。
49
- * - 若 tool output 为空/非 JSON,走 best-effort 采用 input.text。
50
- * - 若无 tool call,则回退到 message 文本内容。
51
- */
52
- export function pickLastSuccessfulChatSendText(
53
- message: SessionMessageV1 | null | undefined,
54
- ): string {
55
- const toolCalls = extractToolCallsFromUiMessage(message);
56
- // 关键点(中文):优先从 chat_send 的 input.text 还原"用户可见回复"。
57
- for (let i = toolCalls.length - 1; i >= 0; i -= 1) {
58
- const tc = toolCalls[i];
59
- if (!tc) continue;
60
- if (String(tc.tool || "") !== "chat_send") continue;
61
-
62
- const inputText = tc.input ? tc.input.text : undefined;
63
- const text = (typeof inputText === "string" ? inputText : "").trim();
64
- if (!text) continue;
65
-
66
- const raw = String(tc.output || "").trim();
67
- if (!raw) return text; // 无输出时 best-effort 认为成功
68
-
69
- try {
70
- const parsed = JSON.parse(raw);
71
- if (
72
- parsed &&
73
- typeof parsed === "object" &&
74
- (parsed as { success?: boolean }).success === true
75
- ) {
76
- return text;
77
- }
78
- } catch {
79
- // unknown format:best-effort 使用 text
80
- return text;
81
- }
82
- }
83
- return extractTextFromUiMessage(message);
84
- }
@@ -1,101 +0,0 @@
1
- /**
2
- * Chat Bot 信息探测类型定义。
3
- *
4
- * 关键点(中文)
5
- * - 将“凭据 -> bot 基础信息”的探测输入输出结构标准化。
6
- * - Console、Channel Account 存储、后续自动化流程都复用该结构。
7
- */
8
-
9
- import type { ChatChannelName } from "@/service/builtins/chat/types/ChannelStatus.js";
10
-
11
- /**
12
- * Bot 信息探测凭据。
13
- */
14
- export interface ChatBotInfoCredentialInput {
15
- /**
16
- * Telegram 机器人 token(仅 Telegram 渠道使用)。
17
- */
18
- botToken?: string;
19
- /**
20
- * 应用 ID(Feishu/QQ 使用)。
21
- */
22
- appId?: string;
23
- /**
24
- * 应用密钥(Feishu/QQ 使用)。
25
- */
26
- appSecret?: string;
27
- /**
28
- * 平台域名(可选,主要用于 Feishu 私有部署或特殊网关)。
29
- */
30
- domain?: string;
31
- /**
32
- * 是否使用沙箱环境(QQ 使用)。
33
- */
34
- sandbox?: boolean;
35
- }
36
-
37
- /**
38
- * Bot 信息探测请求。
39
- */
40
- export interface ChatBotInfoResolveInput {
41
- /**
42
- * 目标渠道名称。
43
- */
44
- channel: ChatChannelName;
45
- /**
46
- * 渠道对应的认证凭据。
47
- */
48
- credentials: ChatBotInfoCredentialInput;
49
- }
50
-
51
- /**
52
- * Bot 信息探测结果。
53
- */
54
- export interface ChatBotInfoResult {
55
- /**
56
- * 渠道名称。
57
- */
58
- channel: ChatChannelName;
59
- /**
60
- * Bot 展示名称(用于 Console 列表展示和默认命名)。
61
- */
62
- name: string;
63
- /**
64
- * Bot 身份标识(通常是用户名/open_id/appId 等)。
65
- */
66
- identity?: string;
67
- /**
68
- * Bot 所有者信息(可选;平台可获取时返回)。
69
- */
70
- owner?: string;
71
- /**
72
- * Bot 创建者信息(可选;平台可获取时返回)。
73
- */
74
- creator?: string;
75
- /**
76
- * 平台返回的 bot 用户唯一 ID(若可获取)。
77
- */
78
- botUserId?: string;
79
- /**
80
- * 建议用于生成 channel account id 的稳定种子。
81
- */
82
- idSeed?: string;
83
- /**
84
- * 探测结果描述。
85
- */
86
- message: string;
87
- }
88
-
89
- /**
90
- * 渠道级 Bot 信息探测器接口。
91
- */
92
- export interface ChatChannelBotInfoProvider {
93
- /**
94
- * 当前探测器对应渠道。
95
- */
96
- readonly channel: ChatChannelName;
97
- /**
98
- * 使用凭据探测并返回标准化 bot 信息。
99
- */
100
- resolve(credentials: ChatBotInfoCredentialInput): Promise<ChatBotInfoResult>;
101
- }