@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
package/bin/sdk/Agent.js CHANGED
@@ -3,11 +3,11 @@
3
3
  *
4
4
  * 关键点(中文)
5
5
  * - `Agent` 现在是实例外观层,长期运行状态下沉到 `AgentCore`。
6
- * - session、HTTP、RPC、service lifecycle 都按需异步初始化。
6
+ * - session、HTTP、RPC、plugin lifecycle 都按需异步初始化。
7
7
  * - `start/stop` 是唯一公开的长期运行生命周期入口。
8
8
  */
9
9
  import { AgentCore } from "../core/AgentCore.js";
10
- import { startAllServices, stopAllServices } from "../service/core/Manager.js";
10
+ import { startAllPlugins, stopAllPlugins } from "../plugin/core/Manager.js";
11
11
  import { startServer } from "../runtime/server/http/Server.js";
12
12
  import { startLocalRpcServer } from "../runtime/server/rpc/Server.js";
13
13
  /**
@@ -18,43 +18,53 @@ export class Agent {
18
18
  id;
19
19
  path;
20
20
  tools;
21
- services;
22
21
  plugins;
23
- servicesStarted = false;
22
+ pluginsStarted = false;
24
23
  startPromise = null;
25
24
  httpBinding = null;
26
25
  rpcBinding = null;
26
+ sessionCollection;
27
27
  constructor(options) {
28
28
  this.core = new AgentCore(options);
29
29
  this.id = this.core.id;
30
30
  this.path = this.core.path;
31
31
  this.tools = this.core.tools;
32
- this.services = this.core.services;
33
32
  this.plugins = this.core.plugins;
33
+ this.sessionCollection = {
34
+ createSession: async (input) => await this.core.createSession(input),
35
+ getSession: async (sessionId) => await this.core.getSession(sessionId),
36
+ listSessions: async (input) => await this.core.listSessions(input),
37
+ };
38
+ }
39
+ /**
40
+ * 新建一个 session。
41
+ */
42
+ async createSession(input) {
43
+ return await this.core.createSession(input);
34
44
  }
35
45
  /**
36
- * 获取或创建一个 session。
46
+ * 获取一个已存在的 session。
37
47
  */
38
- async session(sessionId) {
39
- return await this.core.session(sessionId);
48
+ async getSession(sessionId) {
49
+ return await this.core.getSession(sessionId);
40
50
  }
41
51
  /**
42
- * 列出当前 agent 的全部 session 元数据。
52
+ * 列出当前 agent session 摘要页。
43
53
  */
44
- async sessions() {
45
- return await this.core.sessions();
54
+ async listSessions(input) {
55
+ return await this.core.listSessions(input);
46
56
  }
47
57
  /**
48
- * 确保显式注入的 services 已启动。
58
+ * 确保当前 plugins 已启动。
49
59
  */
50
- async ensureServicesStarted() {
51
- if (this.servicesStarted)
60
+ async ensurePluginsStarted() {
61
+ if (this.pluginsStarted)
52
62
  return;
53
- const lifecycle = await startAllServices(this.getContext());
54
- this.servicesStarted = true;
63
+ const lifecycle = await startAllPlugins(this.core.getContext());
64
+ this.pluginsStarted = true;
55
65
  for (const item of lifecycle.results) {
56
66
  if (!item.success) {
57
- this.getRuntime().logger.error(`Service start failed: ${item.service?.name || "unknown"} - ${item.error || "unknown error"}`);
67
+ this.core.getLogger().error(`Plugin start failed: ${item.plugin?.name || "unknown"} - ${item.error || "unknown error"}`);
58
68
  }
59
69
  }
60
70
  }
@@ -66,9 +76,9 @@ export class Agent {
66
76
  return await this.startPromise;
67
77
  }
68
78
  this.startPromise = (async () => {
69
- const shouldStartServices = options?.services !== false;
70
- if (shouldStartServices) {
71
- await this.ensureServicesStarted();
79
+ const shouldStartPlugins = options?.plugins !== false;
80
+ if (shouldStartPlugins) {
81
+ await this.ensurePluginsStarted();
72
82
  }
73
83
  const httpBinding = options?.http === false || options?.http === undefined
74
84
  ? undefined
@@ -79,7 +89,7 @@ export class Agent {
79
89
  return {
80
90
  ...(httpBinding ? { http: httpBinding } : {}),
81
91
  ...(rpcBinding ? { rpc: rpcBinding } : {}),
82
- servicesStarted: this.servicesStarted,
92
+ pluginsStarted: this.pluginsStarted,
83
93
  };
84
94
  })();
85
95
  try {
@@ -94,12 +104,12 @@ export class Agent {
94
104
  * 停止当前 agent 实例的长期运行能力。
95
105
  */
96
106
  async stop() {
97
- const servicesStarted = this.servicesStarted;
107
+ const pluginsStarted = this.pluginsStarted;
98
108
  const rpcStarted = this.rpcBinding !== null;
99
109
  const httpStarted = this.httpBinding !== null;
100
- if (servicesStarted) {
101
- await stopAllServices(this.getContext());
102
- this.servicesStarted = false;
110
+ if (pluginsStarted) {
111
+ await stopAllPlugins(this.core.getContext());
112
+ this.pluginsStarted = false;
103
113
  }
104
114
  if (rpcStarted) {
105
115
  await this.stopRpc();
@@ -111,7 +121,7 @@ export class Agent {
111
121
  return {
112
122
  httpStopped: httpStarted,
113
123
  rpcStopped: rpcStarted,
114
- servicesStopped: servicesStarted,
124
+ pluginsStopped: pluginsStarted,
115
125
  };
116
126
  }
117
127
  /**
@@ -125,16 +135,16 @@ export class Agent {
125
135
  this.core.setInstruction(input);
126
136
  }
127
137
  /**
128
- * 返回实例级 runtime 视图。
138
+ * 返回当前项目根目录解析后的配置快照。
129
139
  */
130
- getRuntime() {
131
- return this.core.getRuntime();
140
+ getConfig() {
141
+ return this.core.getConfig();
132
142
  }
133
143
  /**
134
- * 返回实例级执行上下文。
144
+ * 返回当前 agent 绑定的统一日志器。
135
145
  */
136
- getContext() {
137
- return this.core.getContext();
146
+ getLogger() {
147
+ return this.core.getLogger();
138
148
  }
139
149
  /**
140
150
  * 启动当前 agent 的 HTTP server。
@@ -150,7 +160,9 @@ export class Agent {
150
160
  const server = await startServer({
151
161
  host,
152
162
  port,
153
- core: this.core,
163
+ getAgentRuntime: () => this.core.getRuntime(),
164
+ getAgentContext: () => this.core.getContext(),
165
+ sessionCollection: this.sessionCollection,
154
166
  });
155
167
  this.httpBinding = {
156
168
  baseUrl: `http://${host}:${port}`,
@@ -178,7 +190,8 @@ export class Agent {
178
190
  return this.rpcBinding;
179
191
  }
180
192
  const server = await startLocalRpcServer({
181
- core: this.core,
193
+ context: this.core.getContext(),
194
+ runtime: this.core.getRuntime(),
182
195
  });
183
196
  this.rpcBinding = {
184
197
  endpoint: server.endpoint,
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.js","sourceRoot":"","sources":["../../src/sdk/Agent.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Agent.js","sourceRoot":"","sources":["../../src/sdk/Agent.ts"],"names":[],"mappings":"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"}
@@ -3,16 +3,22 @@
3
3
  *
4
4
  * 关键点(中文)
5
5
  * - 这里集中声明 `Agent` / `RemoteAgent` / `Session` 面向外部调用方的稳定接口。
6
- * - SDK 用户通过显式 `tools` / `services` / `plugins` 装配能力,不直接依赖内部 runtime 单例。
6
+ * - SDK 用户通过显式 `tools` / `plugins` 装配能力,不直接依赖内部 runtime 单例。
7
7
  * - 本地/远程 session 运行与基础落盘能力仍是 SDK 主路径。
8
8
  */
9
9
  import type { LanguageModel, Tool } from "ai";
10
- import type { BaseService } from "../service/builtins/BaseService.js";
11
- import type { Plugin } from "../plugin/types/Plugin.js";
10
+ import type { BasePlugin } from "../plugin/core/BasePlugin.js";
12
11
  import type { AgentPlatformRuntime } from "../types/runtime/host/AgentHost.js";
13
12
  import type { LocalRpcServerHandle } from "../types/runtime/rpc/LocalRpc.js";
14
13
  import type { ServerInstance } from "../runtime/server/http/Server.js";
15
- import type { Session } from "../sdk/Session.js";
14
+ import type { SessionMessageV1 } from "../executor/types/SessionMessages.js";
15
+ import type { AgentSessionSubscriber, AgentSessionUnsubscribe } from "../types/sdk/AgentSessionEvent.js";
16
+ import type { AgentSessionPromptInput } from "../types/sdk/AgentSessionPrompt.js";
17
+ import type { AgentSessionTurnHandle } from "../types/sdk/AgentSessionTurn.js";
18
+ /**
19
+ * SDK Agent 插件装配模式。
20
+ */
21
+ export type AgentMode = "preset" | "custom";
16
22
  /**
17
23
  * 本地 Agent 构造参数。
18
24
  */
@@ -56,39 +62,23 @@ export interface AgentOptions {
56
62
  */
57
63
  model?: LanguageModel;
58
64
  /**
59
- * 当前 agent 显式持有的 service 实例集合。
60
- *
61
- * 关键点(中文)
62
- * - 这里接收已经实例化好的 service,而不是 service class。
63
- * - `Agent` 会在构造阶段按名称注册这些实例,并在启动时自动绑定 runtime。
64
- * - v1 推荐显式传入 `new ChatService(...)` 这类实例,而不是依赖包内隐式注册表。
65
- */
66
- services?: BaseService[];
67
- /**
68
- * 是否自动装配全部内建 service。
65
+ * 当前 agent 的插件装配模式。
69
66
  *
70
67
  * 关键点(中文)
71
- * - 适合 city 这类宿主进程直接 `new Agent(...)` 的场景。
72
- * - 未开启时,默认只使用显式传入的 `services`。
68
+ * - `preset` 会自动装配内建插件集合。
69
+ * - `custom` 只使用显式传入的 `plugins`。
70
+ * - 默认值为 `custom`,避免本地嵌入场景隐式打开额外能力。
73
71
  */
74
- useBuiltinServices?: boolean;
72
+ mode?: AgentMode;
75
73
  /**
76
- * 当前 agent 显式注册的 plugin 定义集合。
74
+ * 当前 agent 显式持有的插件实例集合。
77
75
  *
78
76
  * 关键点(中文)
79
- * - 这里接收完整 plugin 定义对象,而不是 plugin 名称。
80
- * - `Agent` 会为当前 SDK 实例创建独立 plugin registry,避免污染全局 runtime。
77
+ * - 这里接收已经实例化好的 `BasePlugin` 对象,而不是 plugin class。
78
+ * - `Agent` 会在构造阶段按名称注册这些实例,并自动绑定到当前 runtime。
81
79
  * - 同名 plugin 会直接报错,避免 action / hook / resolve 行为被静默覆盖。
82
80
  */
83
- plugins?: Plugin[];
84
- /**
85
- * 是否自动装配全部内建 plugin。
86
- *
87
- * 关键点(中文)
88
- * - 适合 city 这类宿主进程直接 `new Agent(...)` 的场景。
89
- * - 未开启时,默认只使用显式传入的 `plugins`。
90
- */
91
- useBuiltinPlugins?: boolean;
81
+ plugins?: BasePlugin[];
92
82
  /**
93
83
  * 当前 agent 显式注入的平台能力集合。
94
84
  *
@@ -104,9 +94,9 @@ export interface AgentOptions {
104
94
  * - SDK 不负责默认模型策略,宿主可在这里统一为 session 注入 model 等运行配置。
105
95
  * - 若同时传入 `model`,则会先写入默认模型,再执行这里的宿主覆写逻辑。
106
96
  * - 该钩子对每个 session 只触发一次,适合做实例级默认装配。
107
- * - 触发时机可能来自显式 `agent.session()`,也可能来自该 session 的首次执行入口。
97
+ * - 触发时机可能来自显式 `agent.createSession()` / `agent.getSession()`,也可能来自该 session 的首次执行入口。
108
98
  */
109
- configureSession?: (session: Session) => Promise<void> | void;
99
+ configureSession?: (session: AgentSession) => Promise<void> | void;
110
100
  }
111
101
  /**
112
102
  * Agent 启动参数。
@@ -130,13 +120,13 @@ export interface AgentStartOptions {
130
120
  */
131
121
  rpc?: boolean;
132
122
  /**
133
- * 是否启动当前 agent 的 services
123
+ * 是否启动当前 agent 的 plugins
134
124
  *
135
125
  * 关键点(中文)
136
126
  * - 默认 `true`。
137
127
  * - `false` 适合只需要 session 能力、不希望启动后台能力的嵌入场景。
138
128
  */
139
- services?: boolean;
129
+ plugins?: boolean;
140
130
  }
141
131
  /**
142
132
  * Agent 停止结果快照。
@@ -151,9 +141,9 @@ export interface AgentStopResult {
151
141
  */
152
142
  rpcStopped: boolean;
153
143
  /**
154
- * 本次是否实际停止了 services
144
+ * 本次是否实际停止了 plugins
155
145
  */
156
- servicesStopped: boolean;
146
+ pluginsStopped: boolean;
157
147
  }
158
148
  /**
159
149
  * Agent 启动后的状态快照。
@@ -168,9 +158,9 @@ export interface AgentStartResult {
168
158
  */
169
159
  rpc?: AgentRpcBinding;
170
160
  /**
171
- * 当前 agent 是否已启动 services
161
+ * 当前 agent 是否已启动 plugins
172
162
  */
173
- servicesStarted: boolean;
163
+ pluginsStarted: boolean;
174
164
  }
175
165
  /**
176
166
  * Agent HTTP 启动参数。
@@ -230,6 +220,49 @@ export interface RemoteAgentOptions {
230
220
  */
231
221
  baseUrl: string;
232
222
  }
223
+ /**
224
+ * 新建 session 的输入参数。
225
+ */
226
+ export interface AgentCreateSessionInput {
227
+ /**
228
+ * 可选显式 sessionId。
229
+ *
230
+ * 关键点(中文)
231
+ * - 传入时表达“创建意图”。
232
+ * - 若该 session 已存在,SDK 应直接报错,而不是静默复用。
233
+ * - 省略时由 SDK 自动生成稳定且不可推导的 sessionId。
234
+ */
235
+ sessionId?: string;
236
+ }
237
+ /**
238
+ * Session 列表查询输入。
239
+ */
240
+ export interface AgentListSessionsInput {
241
+ /**
242
+ * 当前页返回上限。
243
+ *
244
+ * 说明(中文)
245
+ * - 省略时由 SDK 使用默认值。
246
+ * - 建议宿主 UI 明确传入,避免在大量 session 下拉取过多数据。
247
+ */
248
+ limit?: number;
249
+ /**
250
+ * 分页游标。
251
+ *
252
+ * 说明(中文)
253
+ * - 当前使用 SDK 自身生成的透明字符串游标。
254
+ * - 调用方只负责透传,不应自行解析其内部格式。
255
+ */
256
+ cursor?: string;
257
+ /**
258
+ * 关键词过滤。
259
+ *
260
+ * 说明(中文)
261
+ * - 推荐用于匹配 `sessionId`、标题与预览文本。
262
+ * - 属于轻量包含匹配,不承诺复杂搜索语义。
263
+ */
264
+ query?: string;
265
+ }
233
266
  /**
234
267
  * Session 可变配置。
235
268
  */
@@ -256,10 +289,53 @@ export interface AgentSessionConfigSnapshot {
256
289
  */
257
290
  modelLabel?: string;
258
291
  }
292
+ /**
293
+ * Session 历史视图类型。
294
+ */
295
+ export type AgentSessionHistoryView = "message" | "timeline";
296
+ /**
297
+ * Session 时间线事件。
298
+ */
299
+ export interface AgentSessionTimelineEvent {
300
+ /**
301
+ * 当前事件唯一标识。
302
+ */
303
+ id: string;
304
+ /**
305
+ * 当前事件角色。
306
+ *
307
+ * 说明(中文)
308
+ * - `tool-call` / `tool-result` 用于把 assistant 内部工具过程平铺给 UI。
309
+ */
310
+ role: "user" | "assistant" | "tool-call" | "tool-result";
311
+ /**
312
+ * 事件时间戳(毫秒)。
313
+ */
314
+ ts?: number;
315
+ /**
316
+ * 事件所属消息种类。
317
+ */
318
+ kind?: string;
319
+ /**
320
+ * 事件来源。
321
+ */
322
+ source?: string;
323
+ /**
324
+ * 当前事件展示文本。
325
+ */
326
+ text: string;
327
+ /**
328
+ * 当前事件对应工具名称。
329
+ *
330
+ * 说明(中文)
331
+ * - 仅 `tool-call` / `tool-result` 这类事件通常会携带该字段。
332
+ */
333
+ toolName?: string;
334
+ }
259
335
  /**
260
336
  * Session system block 来源类型。
261
337
  */
262
- export type AgentSessionSystemBlockSource = "core" | "instruction" | "service" | "plugin" | "session";
338
+ export type AgentSessionSystemBlockSource = "core" | "instruction" | "plugin" | "session";
263
339
  /**
264
340
  * Session system prompt 的单个组成块。
265
341
  */
@@ -273,7 +349,7 @@ export interface AgentSessionSystemBlock {
273
349
  *
274
350
  * 说明(中文)
275
351
  * - `instruction` 通常使用 `agent`。
276
- * - `service` / `plugin` 使用对应 service/plugin 名称。
352
+ * - `plugin` 使用对应 plugin 名称。
277
353
  * - `core` 使用 `default`。
278
354
  * - `session` 使用当前 session 上下文名称。
279
355
  */
@@ -343,9 +419,9 @@ export interface AgentSessionSystemSnapshot {
343
419
  blocks: AgentSessionSystemBlock[];
344
420
  }
345
421
  /**
346
- * Session 元数据列表项。
422
+ * Session 摘要。
347
423
  */
348
- export interface AgentSessionMetadata {
424
+ export interface AgentSessionSummary {
349
425
  /**
350
426
  * 当前 session 所属 agentId。
351
427
  */
@@ -354,6 +430,22 @@ export interface AgentSessionMetadata {
354
430
  * 当前 session 唯一标识。
355
431
  */
356
432
  sessionId: string;
433
+ /**
434
+ * 当前 session 可读标题。
435
+ *
436
+ * 说明(中文)
437
+ * - 当前 SDK 不要求标题一定存在。
438
+ * - 若调用方需要展示列表标题,可优先使用这里;为空时再回退到 `sessionId`。
439
+ */
440
+ title?: string;
441
+ /**
442
+ * 当前 session 的最近预览文本。
443
+ *
444
+ * 说明(中文)
445
+ * - 通常来自最后一条用户可见消息的裁剪文本。
446
+ * - 适合用于侧边栏、列表卡片或 session picker。
447
+ */
448
+ previewText?: string;
357
449
  /**
358
450
  * 当前 session 首次创建时间(ms)。
359
451
  */
@@ -370,6 +462,110 @@ export interface AgentSessionMetadata {
370
462
  * 当前 session 绑定模型的可读标签。
371
463
  */
372
464
  modelLabel?: string;
465
+ /**
466
+ * 当前 session 是否处于执行中。
467
+ */
468
+ executing?: boolean;
469
+ }
470
+ /**
471
+ * Session 详情。
472
+ */
473
+ export interface AgentSessionInfo extends AgentSessionSummary {
474
+ /**
475
+ * 当前 session 初始化时记录的时区。
476
+ */
477
+ timezone?: string;
478
+ }
479
+ /**
480
+ * Session 摘要分页结果。
481
+ */
482
+ export interface AgentSessionSummaryPage {
483
+ /**
484
+ * 当前页 session 摘要列表。
485
+ */
486
+ items: AgentSessionSummary[];
487
+ /**
488
+ * 当前页所对应的总条数。
489
+ *
490
+ * 说明(中文)
491
+ * - 这里表示过滤后的总数,不是仅当前页数量。
492
+ * - 对分页 UI、结果统计和空态判断更友好。
493
+ */
494
+ total: number;
495
+ /**
496
+ * 下一页游标。
497
+ */
498
+ nextCursor?: string;
499
+ /**
500
+ * 是否仍有更多结果。
501
+ */
502
+ hasMore: boolean;
503
+ }
504
+ /**
505
+ * Session 历史读取输入。
506
+ */
507
+ export interface AgentSessionHistoryInput {
508
+ /**
509
+ * 当前页返回上限。
510
+ */
511
+ limit?: number;
512
+ /**
513
+ * 分页游标。
514
+ */
515
+ cursor?: string;
516
+ /**
517
+ * 返回顺序。
518
+ *
519
+ * 说明(中文)
520
+ * - `asc`:从旧到新
521
+ * - `desc`:从新到旧
522
+ */
523
+ order?: "asc" | "desc";
524
+ /**
525
+ * 返回视图类型。
526
+ *
527
+ * 说明(中文)
528
+ * - `message`:原始 session 消息
529
+ * - `timeline`:适合直接渲染 UI 的平铺事件
530
+ */
531
+ view?: AgentSessionHistoryView;
532
+ }
533
+ /**
534
+ * Session 历史分页结果。
535
+ */
536
+ export interface AgentSessionHistoryPage {
537
+ /**
538
+ * 当前读取所对应的 session 信息。
539
+ */
540
+ session: AgentSessionInfo;
541
+ /**
542
+ * 当前页实际返回视图。
543
+ */
544
+ view: AgentSessionHistoryView;
545
+ /**
546
+ * 当前页数据列表。
547
+ *
548
+ * 说明(中文)
549
+ * - `view=message` 时返回 `SessionMessageV1[]`
550
+ * - `view=timeline` 时返回 `AgentSessionTimelineEvent[]`
551
+ */
552
+ items: SessionMessageV1[] | AgentSessionTimelineEvent[];
553
+ /**
554
+ * 过滤前后的总条数。
555
+ *
556
+ * 说明(中文)
557
+ * - 对 `view=message` 表示消息条数。
558
+ * - 对 `view=timeline` 表示时间线事件条数。
559
+ */
560
+ total: number;
561
+ /**
562
+ * 下一页游标。
563
+ */
564
+ nextCursor?: string;
565
+ /**
566
+ * 是否仍有更多数据。
567
+ */
568
+ hasMore: boolean;
373
569
  }
374
570
  /**
375
571
  * Session fork 输入。
@@ -384,4 +580,80 @@ export interface AgentSessionForkInput {
384
580
  */
385
581
  messageId?: string;
386
582
  }
583
+ /**
584
+ * SDK Session 集合绑定。
585
+ */
586
+ export interface AgentSessionCollection {
587
+ /**
588
+ * 新建一个 session。
589
+ */
590
+ createSession(input?: AgentCreateSessionInput): Promise<AgentSession>;
591
+ /**
592
+ * 获取一个已存在的 session。
593
+ */
594
+ getSession(sessionId: string): Promise<AgentSession>;
595
+ /**
596
+ * 列出当前 agent 的 session 摘要页。
597
+ */
598
+ listSessions(input?: AgentListSessionsInput): Promise<AgentSessionSummaryPage>;
599
+ }
600
+ /**
601
+ * Session actor 公共能力。
602
+ */
603
+ export interface AgentSessionActor {
604
+ /**
605
+ * 当前 session 稳定标识。
606
+ */
607
+ readonly id: string;
608
+ /**
609
+ * 读取当前 session 详情。
610
+ */
611
+ getInfo(): Promise<AgentSessionInfo>;
612
+ /**
613
+ * 追加一条新的 prompt。
614
+ */
615
+ prompt(input: AgentSessionPromptInput): Promise<AgentSessionTurnHandle>;
616
+ /**
617
+ * 订阅当前 session 的未来事件。
618
+ */
619
+ subscribe(subscriber: AgentSessionSubscriber): AgentSessionUnsubscribe;
620
+ /**
621
+ * 读取当前 session 历史分页。
622
+ */
623
+ history(input?: AgentSessionHistoryInput): Promise<AgentSessionHistoryPage>;
624
+ /**
625
+ * 读取当前 session 生效的 system 快照。
626
+ */
627
+ system(): Promise<AgentSessionSystemSnapshot>;
628
+ }
629
+ /**
630
+ * 本地 Agent 返回的公开 session 接口。
631
+ */
632
+ export interface AgentSession extends AgentSessionActor {
633
+ /**
634
+ * 当前 session 所属 agentId。
635
+ */
636
+ readonly agentId: string;
637
+ /**
638
+ * 当前 session 配置快照。
639
+ */
640
+ readonly config: AgentSessionConfigSnapshot;
641
+ /**
642
+ * 写入当前 session 默认配置。
643
+ */
644
+ set(input: AgentSessionSetInput): Promise<void>;
645
+ /**
646
+ * 从当前 session 创建一个分叉会话。
647
+ */
648
+ fork(input?: AgentSessionForkInput | string): Promise<AgentSession>;
649
+ }
650
+ /**
651
+ * 远程 Agent 返回的公开 session 接口。
652
+ */
653
+ export interface RemoteAgentSession extends AgentSessionActor {
654
+ /**
655
+ * 从当前远程 session 创建一个分叉会话。
656
+ */
657
+ fork(input?: AgentSessionForkInput | string): Promise<RemoteAgentSession>;
658
+ }
387
659
  //# sourceMappingURL=AgentSdkTypes.d.ts.map