@downcity/agent 1.1.1 → 1.1.6

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 (2243) hide show
  1. package/README.md +226 -0
  2. package/bin/agent/AgentContext.d.ts +2 -2
  3. package/bin/agent/AgentContext.d.ts.map +1 -1
  4. package/bin/agent/AgentContext.js +4 -4
  5. package/bin/agent/AgentContext.js.map +1 -1
  6. package/bin/agent/AgentContextTypes.d.ts +345 -0
  7. package/bin/agent/AgentContextTypes.d.ts.map +1 -0
  8. package/bin/agent/AgentContextTypes.js +10 -0
  9. package/bin/agent/AgentContextTypes.js.map +1 -0
  10. package/bin/agent/AgentRuntime.js +7 -7
  11. package/bin/agent/AgentRuntime.js.map +1 -1
  12. package/bin/agent/AgentRuntimeState.d.ts +2 -2
  13. package/bin/agent/AgentRuntimeState.d.ts.map +1 -1
  14. package/bin/agent/AgentRuntimeTypes.d.ts +81 -0
  15. package/bin/agent/AgentRuntimeTypes.d.ts.map +1 -0
  16. package/bin/agent/AgentRuntimeTypes.js +10 -0
  17. package/bin/agent/AgentRuntimeTypes.js.map +1 -0
  18. package/bin/agent/project/AgentInitializer.d.ts +4 -4
  19. package/bin/agent/project/AgentInitializer.d.ts.map +1 -1
  20. package/bin/agent/project/AgentInitializer.js +9 -9
  21. package/bin/agent/project/AgentInitializer.js.map +1 -1
  22. package/bin/config/Config.d.ts +2 -2
  23. package/bin/config/Config.js +7 -7
  24. package/bin/config/Config.js.map +1 -1
  25. package/bin/host/daemon/Api.d.ts +60 -0
  26. package/bin/host/daemon/Api.d.ts.map +1 -0
  27. package/bin/host/daemon/Api.js.map +1 -0
  28. package/bin/host/daemon/Client.d.ts.map +1 -0
  29. package/bin/host/daemon/Client.js +158 -0
  30. package/bin/host/daemon/Client.js.map +1 -0
  31. package/bin/host/daemon/Manager.d.ts +92 -0
  32. package/bin/host/daemon/Manager.d.ts.map +1 -0
  33. package/bin/host/daemon/Manager.js +287 -0
  34. package/bin/host/daemon/Manager.js.map +1 -0
  35. package/bin/host/daemon/ProjectSetup.d.ts.map +1 -0
  36. package/bin/host/daemon/ProjectSetup.js +101 -0
  37. package/bin/host/daemon/ProjectSetup.js.map +1 -0
  38. package/bin/host/rpc/Client.d.ts +13 -0
  39. package/bin/host/rpc/Client.d.ts.map +1 -0
  40. package/bin/host/rpc/Client.js.map +1 -0
  41. package/bin/host/rpc/Paths.d.ts.map +1 -0
  42. package/bin/host/rpc/Paths.js +36 -0
  43. package/bin/host/rpc/Paths.js.map +1 -0
  44. package/bin/host/rpc/Server.d.ts +18 -0
  45. package/bin/host/rpc/Server.d.ts.map +1 -0
  46. package/bin/host/rpc/Server.js +307 -0
  47. package/bin/host/rpc/Server.js.map +1 -0
  48. package/bin/host/rpc/Transport.d.ts +21 -0
  49. package/bin/host/rpc/Transport.d.ts.map +1 -0
  50. package/bin/host/rpc/Transport.js +30 -0
  51. package/bin/host/rpc/Transport.js.map +1 -0
  52. package/bin/host/runtime/AgentHostRuntime.d.ts +10 -0
  53. package/bin/host/runtime/AgentHostRuntime.d.ts.map +1 -0
  54. package/bin/host/runtime/AgentHostRuntime.js +47 -0
  55. package/bin/host/runtime/AgentHostRuntime.js.map +1 -0
  56. package/bin/host/runtime/CityPaths.d.ts +53 -0
  57. package/bin/host/runtime/CityPaths.d.ts.map +1 -0
  58. package/bin/host/runtime/CityPaths.js +78 -0
  59. package/bin/host/runtime/CityPaths.js.map +1 -0
  60. package/bin/host/runtime/CityRegistry.d.ts +51 -0
  61. package/bin/host/runtime/CityRegistry.d.ts.map +1 -0
  62. package/bin/host/runtime/CityRegistry.js +217 -0
  63. package/bin/host/runtime/CityRegistry.js.map +1 -0
  64. package/bin/host/runtime/CityRuntime.d.ts +21 -0
  65. package/bin/host/runtime/CityRuntime.d.ts.map +1 -0
  66. package/bin/host/runtime/CityRuntime.js +45 -0
  67. package/bin/host/runtime/CityRuntime.js.map +1 -0
  68. package/bin/host/runtime/PluginRuntime.d.ts +24 -0
  69. package/bin/host/runtime/PluginRuntime.d.ts.map +1 -0
  70. package/bin/host/runtime/PluginRuntime.js.map +1 -0
  71. package/bin/host/runtime/ProcessSweep.d.ts +76 -0
  72. package/bin/host/runtime/ProcessSweep.d.ts.map +1 -0
  73. package/bin/host/runtime/ProcessSweep.js +188 -0
  74. package/bin/host/runtime/ProcessSweep.js.map +1 -0
  75. package/bin/host/sdk/Agent.d.ts +60 -0
  76. package/bin/host/sdk/Agent.d.ts.map +1 -0
  77. package/bin/host/sdk/Agent.js +308 -0
  78. package/bin/host/sdk/Agent.js.map +1 -0
  79. package/bin/host/sdk/AgentSdkTypes.d.ts +257 -0
  80. package/bin/host/sdk/AgentSdkTypes.d.ts.map +1 -0
  81. package/bin/host/sdk/AgentSdkTypes.js +10 -0
  82. package/bin/host/sdk/AgentSdkTypes.js.map +1 -0
  83. package/bin/host/sdk/AsyncQueue.d.ts +26 -0
  84. package/bin/host/sdk/AsyncQueue.d.ts.map +1 -0
  85. package/bin/host/sdk/AsyncQueue.js +75 -0
  86. package/bin/host/sdk/AsyncQueue.js.map +1 -0
  87. package/bin/host/sdk/HttpServer.d.ts +40 -0
  88. package/bin/host/sdk/HttpServer.d.ts.map +1 -0
  89. package/bin/host/sdk/HttpServer.js +181 -0
  90. package/bin/host/sdk/HttpServer.js.map +1 -0
  91. package/bin/host/sdk/Paths.d.ts +48 -0
  92. package/bin/host/sdk/Paths.d.ts.map +1 -0
  93. package/bin/host/sdk/Paths.js +69 -0
  94. package/bin/host/sdk/Paths.js.map +1 -0
  95. package/bin/host/sdk/RemoteAgent.d.ts +54 -0
  96. package/bin/host/sdk/RemoteAgent.d.ts.map +1 -0
  97. package/bin/host/sdk/RemoteAgent.js +153 -0
  98. package/bin/host/sdk/RemoteAgent.js.map +1 -0
  99. package/bin/host/sdk/RpcServer.d.ts +31 -0
  100. package/bin/host/sdk/RpcServer.d.ts.map +1 -0
  101. package/bin/host/sdk/RpcServer.js +193 -0
  102. package/bin/host/sdk/RpcServer.js.map +1 -0
  103. package/bin/host/sdk/SdkSessionSystemComposer.d.ts +34 -0
  104. package/bin/host/sdk/SdkSessionSystemComposer.d.ts.map +1 -0
  105. package/bin/host/sdk/SdkSessionSystemComposer.js +54 -0
  106. package/bin/host/sdk/SdkSessionSystemComposer.js.map +1 -0
  107. package/bin/host/sdk/Session.d.ts +130 -0
  108. package/bin/host/sdk/Session.d.ts.map +1 -0
  109. package/bin/host/sdk/Session.js +451 -0
  110. package/bin/host/sdk/Session.js.map +1 -0
  111. package/bin/host/sdk/SessionMetadata.d.ts +51 -0
  112. package/bin/host/sdk/SessionMetadata.d.ts.map +1 -0
  113. package/bin/host/sdk/SessionMetadata.js +124 -0
  114. package/bin/host/sdk/SessionMetadata.js.map +1 -0
  115. package/bin/host/sdk/StreamEvents.d.ts +14 -0
  116. package/bin/host/sdk/StreamEvents.d.ts.map +1 -0
  117. package/bin/host/sdk/StreamEvents.js +89 -0
  118. package/bin/host/sdk/StreamEvents.js.map +1 -0
  119. package/bin/http/Server.js +2 -2
  120. package/bin/http/Server.js.map +1 -1
  121. package/bin/http/auth/AuthStore.d.ts +1 -1
  122. package/bin/http/auth/AuthStore.d.ts.map +1 -1
  123. package/bin/http/auth/AuthStore.js +5 -5
  124. package/bin/http/auth/AuthStore.js.map +1 -1
  125. package/bin/http/auth/RoutePolicy.d.ts +2 -2
  126. package/bin/http/auth/RoutePolicy.d.ts.map +1 -1
  127. package/bin/http/auth/RoutePolicy.js +6 -6
  128. package/bin/http/auth/RoutePolicy.js.map +1 -1
  129. package/bin/http/control/AuthControlService.d.ts +30 -0
  130. package/bin/http/control/AuthControlService.d.ts.map +1 -0
  131. package/bin/http/control/AuthControlService.js +120 -0
  132. package/bin/http/control/AuthControlService.js.map +1 -0
  133. package/bin/http/control/CommonHelpers.d.ts +36 -0
  134. package/bin/http/control/CommonHelpers.d.ts.map +1 -0
  135. package/bin/http/control/CommonHelpers.js +63 -0
  136. package/bin/http/control/CommonHelpers.js.map +1 -0
  137. package/bin/http/control/ControlApiRoutes.d.ts +14 -0
  138. package/bin/http/control/ControlApiRoutes.d.ts.map +1 -0
  139. package/bin/http/control/ControlApiRoutes.js +27 -0
  140. package/bin/http/control/ControlApiRoutes.js.map +1 -0
  141. package/bin/http/control/ControlAuthorizationRoutes.d.ts +17 -0
  142. package/bin/http/control/ControlAuthorizationRoutes.d.ts.map +1 -0
  143. package/bin/http/control/ControlAuthorizationRoutes.js +85 -0
  144. package/bin/http/control/ControlAuthorizationRoutes.js.map +1 -0
  145. package/bin/http/control/ControlRouter.d.ts +19 -0
  146. package/bin/http/control/ControlRouter.d.ts.map +1 -0
  147. package/bin/http/control/ControlRouter.js +26 -0
  148. package/bin/http/control/ControlRouter.js.map +1 -0
  149. package/bin/http/control/ExecuteBySession.d.ts +39 -0
  150. package/bin/http/control/ExecuteBySession.d.ts.map +1 -0
  151. package/bin/http/control/ExecuteBySession.js +128 -0
  152. package/bin/http/control/ExecuteBySession.js.map +1 -0
  153. package/bin/http/control/ExecuteInput.d.ts +18 -0
  154. package/bin/http/control/ExecuteInput.d.ts.map +1 -0
  155. package/bin/http/control/ExecuteInput.js +201 -0
  156. package/bin/http/control/ExecuteInput.js.map +1 -0
  157. package/bin/http/control/Helpers.d.ts +13 -0
  158. package/bin/http/control/Helpers.d.ts.map +1 -0
  159. package/bin/http/control/Helpers.js +13 -0
  160. package/bin/http/control/Helpers.js.map +1 -0
  161. package/bin/http/control/MessageTimeline.d.ts +22 -0
  162. package/bin/http/control/MessageTimeline.d.ts.map +1 -0
  163. package/bin/http/control/MessageTimeline.js +226 -0
  164. package/bin/http/control/MessageTimeline.js.map +1 -0
  165. package/bin/http/control/ModelRoutes.d.ts +13 -0
  166. package/bin/http/control/ModelRoutes.d.ts.map +1 -0
  167. package/bin/http/control/ModelRoutes.js +92 -0
  168. package/bin/http/control/ModelRoutes.js.map +1 -0
  169. package/bin/http/control/OverviewRoutes.d.ts +13 -0
  170. package/bin/http/control/OverviewRoutes.d.ts.map +1 -0
  171. package/bin/http/control/OverviewRoutes.js +93 -0
  172. package/bin/http/control/OverviewRoutes.js.map +1 -0
  173. package/bin/http/control/SessionRoutes.d.ts +14 -0
  174. package/bin/http/control/SessionRoutes.d.ts.map +1 -0
  175. package/bin/http/control/SessionRoutes.js +333 -0
  176. package/bin/http/control/SessionRoutes.js.map +1 -0
  177. package/bin/http/control/SessionSummaryStore.d.ts +19 -0
  178. package/bin/http/control/SessionSummaryStore.d.ts.map +1 -0
  179. package/bin/http/control/SessionSummaryStore.js +62 -0
  180. package/bin/http/control/SessionSummaryStore.js.map +1 -0
  181. package/bin/http/control/TaskRoutes.d.ts +13 -0
  182. package/bin/http/control/TaskRoutes.d.ts.map +1 -0
  183. package/bin/http/control/TaskRoutes.js +335 -0
  184. package/bin/http/control/TaskRoutes.js.map +1 -0
  185. package/bin/http/control/TaskStore.d.ts +33 -0
  186. package/bin/http/control/TaskStore.d.ts.map +1 -0
  187. package/bin/http/control/TaskStore.js +157 -0
  188. package/bin/http/control/TaskStore.js.map +1 -0
  189. package/bin/http/execute/execute.js +1 -1
  190. package/bin/http/execute/execute.js.map +1 -1
  191. package/bin/http/services/services.js +1 -1
  192. package/bin/http/services/services.js.map +1 -1
  193. package/bin/index.d.ts +92 -6
  194. package/bin/index.d.ts.map +1 -1
  195. package/bin/index.js +89 -5
  196. package/bin/index.js.map +1 -1
  197. package/bin/model/CreateModel.d.ts +4 -4
  198. package/bin/model/CreateModel.d.ts.map +1 -1
  199. package/bin/model/CreateModel.js +23 -8
  200. package/bin/model/CreateModel.js.map +1 -1
  201. package/bin/plugin/HookRegistry.d.ts +1 -1
  202. package/bin/plugin/HookRegistry.d.ts.map +1 -1
  203. package/bin/plugin/HttpRoutes.d.ts +1 -1
  204. package/bin/plugin/HttpRoutes.d.ts.map +1 -1
  205. package/bin/plugin/Lifecycle.d.ts +1 -1
  206. package/bin/plugin/Lifecycle.js +4 -4
  207. package/bin/plugin/Lifecycle.js.map +1 -1
  208. package/bin/plugin/LocalExecution.js +1 -1
  209. package/bin/plugin/LocalExecution.js.map +1 -1
  210. package/bin/plugin/PluginManager.js +1 -1
  211. package/bin/plugin/PluginManager.js.map +1 -1
  212. package/bin/plugin/PluginRegistry.d.ts +1 -1
  213. package/bin/plugin/PluginRegistry.d.ts.map +1 -1
  214. package/bin/plugin/ProjectConfigStore.d.ts +1 -1
  215. package/bin/plugin/ProjectConfigStore.js +1 -1
  216. package/bin/plugins/asr/Plugin.js +1 -1
  217. package/bin/plugins/asr/Plugin.js.map +1 -1
  218. package/bin/plugins/auth/Plugin.js +1 -1
  219. package/bin/plugins/auth/Plugin.js.map +1 -1
  220. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +1 -1
  221. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +1 -1
  222. package/bin/plugins/auth/runtime/AuthorizationConfig.js +3 -3
  223. package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +1 -1
  224. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +2 -2
  225. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +1 -1
  226. package/bin/plugins/tts/runtime/Synthesizer.js +1 -1
  227. package/bin/plugins/tts/runtime/Synthesizer.js.map +1 -1
  228. package/bin/plugins/voice/Plugin.js +1 -1
  229. package/bin/plugins/voice/Plugin.js.map +1 -1
  230. package/bin/plugins/workboard/runtime/Collector.d.ts +1 -1
  231. package/bin/plugins/workboard/runtime/Collector.d.ts.map +1 -1
  232. package/bin/plugins/workboard/runtime/Collector.js +4 -4
  233. package/bin/plugins/workboard/runtime/Collector.js.map +1 -1
  234. package/bin/plugins/workboard/runtime/Normalizer.d.ts +5 -5
  235. package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +1 -1
  236. package/bin/plugins/workboard/runtime/Normalizer.js.map +1 -1
  237. package/bin/plugins/workboard/runtime/Store.d.ts +1 -1
  238. package/bin/plugins/workboard/runtime/Store.d.ts.map +1 -1
  239. package/bin/sandbox/SandboxConfigResolver.d.ts +1 -1
  240. package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -1
  241. package/bin/sandbox/SandboxRunner.d.ts +1 -1
  242. package/bin/sandbox/SandboxRunner.d.ts.map +1 -1
  243. package/bin/service/builtins/BaseService.d.ts +70 -0
  244. package/bin/service/builtins/BaseService.d.ts.map +1 -0
  245. package/bin/service/builtins/BaseService.js +67 -0
  246. package/bin/service/builtins/BaseService.js.map +1 -0
  247. package/bin/service/builtins/chat/Action.d.ts +125 -0
  248. package/bin/service/builtins/chat/Action.d.ts.map +1 -0
  249. package/bin/service/builtins/chat/Action.js +376 -0
  250. package/bin/service/builtins/chat/Action.js.map +1 -0
  251. package/bin/service/builtins/chat/ChatService.d.ts +89 -0
  252. package/bin/service/builtins/chat/ChatService.d.ts.map +1 -0
  253. package/bin/service/builtins/chat/ChatService.js +212 -0
  254. package/bin/service/builtins/chat/ChatService.js.map +1 -0
  255. package/bin/service/builtins/chat/ChatServiceTypes.d.ts +159 -0
  256. package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +1 -0
  257. package/bin/service/builtins/chat/ChatServiceTypes.js +10 -0
  258. package/bin/service/builtins/chat/ChatServiceTypes.js.map +1 -0
  259. package/bin/service/builtins/chat/Index.d.ts.map +1 -0
  260. package/bin/service/builtins/chat/Index.js.map +1 -0
  261. package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +60 -0
  262. package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +1 -0
  263. package/bin/service/builtins/chat/accounts/ChannelAccountService.js +285 -0
  264. package/bin/service/builtins/chat/accounts/ChannelAccountService.js.map +1 -0
  265. package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +201 -0
  266. package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -0
  267. package/bin/service/builtins/chat/channels/BaseChatChannel.js +294 -0
  268. package/bin/service/builtins/chat/channels/BaseChatChannel.js.map +1 -0
  269. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts +73 -0
  270. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
  271. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js +238 -0
  272. package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js.map +1 -0
  273. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +189 -0
  274. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
  275. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js +141 -0
  276. package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js.map +1 -0
  277. package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts +18 -0
  278. package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts.map +1 -0
  279. package/bin/service/builtins/chat/channels/BotInfoProvider.js +32 -0
  280. package/bin/service/builtins/chat/channels/BotInfoProvider.js.map +1 -0
  281. package/bin/service/builtins/chat/channels/Configuration.d.ts +27 -0
  282. package/bin/service/builtins/chat/channels/Configuration.d.ts.map +1 -0
  283. package/bin/service/builtins/chat/channels/Configuration.js.map +1 -0
  284. package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts +18 -0
  285. package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
  286. package/bin/service/builtins/chat/channels/ConfigurationRegistry.js +31 -0
  287. package/bin/service/builtins/chat/channels/ConfigurationRegistry.js.map +1 -0
  288. package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts +20 -0
  289. package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts.map +1 -0
  290. package/bin/service/builtins/chat/channels/feishu/BotInfo.js.map +1 -0
  291. package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts +17 -0
  292. package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts.map +1 -0
  293. package/bin/service/builtins/chat/channels/feishu/Configuration.js +59 -0
  294. package/bin/service/builtins/chat/channels/feishu/Configuration.js.map +1 -0
  295. package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +116 -0
  296. package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -0
  297. package/bin/service/builtins/chat/channels/feishu/Feishu.js +458 -0
  298. package/bin/service/builtins/chat/channels/feishu/Feishu.js.map +1 -0
  299. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts +21 -0
  300. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
  301. package/bin/service/builtins/chat/channels/feishu/FeishuInbound.js.map +1 -0
  302. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
  303. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
  304. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
  305. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
  306. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
  307. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
  308. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
  309. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
  310. package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
  311. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts +31 -0
  312. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
  313. package/bin/service/builtins/chat/channels/feishu/InboundAttachment.js.map +1 -0
  314. package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts +48 -0
  315. package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts.map +1 -0
  316. package/bin/service/builtins/chat/channels/feishu/PostMessage.js.map +1 -0
  317. package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts +18 -0
  318. package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
  319. package/bin/service/builtins/chat/channels/feishu/ReplyContext.js.map +1 -0
  320. package/bin/service/builtins/chat/channels/feishu/Shared.d.ts +21 -0
  321. package/bin/service/builtins/chat/channels/feishu/Shared.d.ts.map +1 -0
  322. package/bin/service/builtins/chat/channels/feishu/Shared.js +69 -0
  323. package/bin/service/builtins/chat/channels/feishu/Shared.js.map +1 -0
  324. package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts +19 -0
  325. package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts.map +1 -0
  326. package/bin/service/builtins/chat/channels/qq/BotInfo.js.map +1 -0
  327. package/bin/service/builtins/chat/channels/qq/Configuration.d.ts +17 -0
  328. package/bin/service/builtins/chat/channels/qq/Configuration.d.ts.map +1 -0
  329. package/bin/service/builtins/chat/channels/qq/Configuration.js +59 -0
  330. package/bin/service/builtins/chat/channels/qq/Configuration.js.map +1 -0
  331. package/bin/service/builtins/chat/channels/qq/QQ.d.ts +92 -0
  332. package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +1 -0
  333. package/bin/service/builtins/chat/channels/qq/QQ.js +485 -0
  334. package/bin/service/builtins/chat/channels/qq/QQ.js.map +1 -0
  335. package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts +22 -0
  336. package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
  337. package/bin/service/builtins/chat/channels/qq/QQEventCapture.js.map +1 -0
  338. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
  339. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
  340. package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.js.map +1 -0
  341. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +179 -0
  342. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
  343. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js +540 -0
  344. package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -0
  345. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts +84 -0
  346. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
  347. package/bin/service/builtins/chat/channels/qq/QQGatewaySend.js.map +1 -0
  348. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
  349. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
  350. package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.js.map +1 -0
  351. package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts +47 -0
  352. package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts.map +1 -0
  353. package/bin/service/builtins/chat/channels/qq/QQInbound.js.map +1 -0
  354. package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts +48 -0
  355. package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
  356. package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.js.map +1 -0
  357. package/bin/service/builtins/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
  358. package/bin/service/builtins/chat/channels/qq/QQSendSupport.js.map +1 -0
  359. package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +102 -0
  360. package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -0
  361. package/bin/service/builtins/chat/channels/qq/QQSupport.js +172 -0
  362. package/bin/service/builtins/chat/channels/qq/QQSupport.js.map +1 -0
  363. package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts +64 -0
  364. package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts.map +1 -0
  365. package/bin/service/builtins/chat/channels/qq/VoiceInput.js.map +1 -0
  366. package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts +99 -0
  367. package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts.map +1 -0
  368. package/bin/service/builtins/chat/channels/telegram/ApiClient.js.map +1 -0
  369. package/bin/service/builtins/chat/channels/telegram/Bot.d.ts +97 -0
  370. package/bin/service/builtins/chat/channels/telegram/Bot.d.ts.map +1 -0
  371. package/bin/service/builtins/chat/channels/telegram/Bot.js +504 -0
  372. package/bin/service/builtins/chat/channels/telegram/Bot.js.map +1 -0
  373. package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts +19 -0
  374. package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts.map +1 -0
  375. package/bin/service/builtins/chat/channels/telegram/BotInfo.js.map +1 -0
  376. package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts +17 -0
  377. package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts.map +1 -0
  378. package/bin/service/builtins/chat/channels/telegram/Configuration.js +59 -0
  379. package/bin/service/builtins/chat/channels/telegram/Configuration.js.map +1 -0
  380. package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts +42 -0
  381. package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts.map +1 -0
  382. package/bin/service/builtins/chat/channels/telegram/Handlers.js.map +1 -0
  383. package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts +14 -0
  384. package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
  385. package/bin/service/builtins/chat/channels/telegram/ReplyContext.js.map +1 -0
  386. package/bin/service/builtins/chat/channels/telegram/Shared.d.ts.map +1 -0
  387. package/bin/service/builtins/chat/channels/telegram/Shared.js +171 -0
  388. package/bin/service/builtins/chat/channels/telegram/Shared.js.map +1 -0
  389. package/bin/service/builtins/chat/channels/telegram/StateStore.d.ts.map +1 -0
  390. package/bin/service/builtins/chat/channels/telegram/StateStore.js.map +1 -0
  391. package/bin/service/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
  392. package/bin/service/builtins/chat/channels/telegram/TelegramInbound.js.map +1 -0
  393. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
  394. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
  395. package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
  396. package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts +78 -0
  397. package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts.map +1 -0
  398. package/bin/service/builtins/chat/runtime/ChannelContextStore.js +336 -0
  399. package/bin/service/builtins/chat/runtime/ChannelContextStore.js.map +1 -0
  400. package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +145 -0
  401. package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -0
  402. package/bin/service/builtins/chat/runtime/ChatActionExecution.js +287 -0
  403. package/bin/service/builtins/chat/runtime/ChatActionExecution.js.map +1 -0
  404. package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +63 -0
  405. package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -0
  406. package/bin/service/builtins/chat/runtime/ChatActionInput.js +458 -0
  407. package/bin/service/builtins/chat/runtime/ChatActionInput.js.map +1 -0
  408. package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +122 -0
  409. package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -0
  410. package/bin/service/builtins/chat/runtime/ChatChannelActions.js +237 -0
  411. package/bin/service/builtins/chat/runtime/ChatChannelActions.js.map +1 -0
  412. package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +61 -0
  413. package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
  414. package/bin/service/builtins/chat/runtime/ChatChannelConfig.js +260 -0
  415. package/bin/service/builtins/chat/runtime/ChatChannelConfig.js.map +1 -0
  416. package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +45 -0
  417. package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -0
  418. package/bin/service/builtins/chat/runtime/ChatChannelCore.js +114 -0
  419. package/bin/service/builtins/chat/runtime/ChatChannelCore.js.map +1 -0
  420. package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
  421. package/bin/service/builtins/chat/runtime/ChatChannelFacade.js.map +1 -0
  422. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
  423. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
  424. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js +132 -0
  425. package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js.map +1 -0
  426. package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +72 -0
  427. package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
  428. package/bin/service/builtins/chat/runtime/ChatHistoryStore.js +219 -0
  429. package/bin/service/builtins/chat/runtime/ChatHistoryStore.js.map +1 -0
  430. package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +52 -0
  431. package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -0
  432. package/bin/service/builtins/chat/runtime/ChatIngressStore.js +65 -0
  433. package/bin/service/builtins/chat/runtime/ChatIngressStore.js.map +1 -0
  434. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts +54 -0
  435. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
  436. package/bin/service/builtins/chat/runtime/ChatMessageMarkup.js.map +1 -0
  437. package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts +68 -0
  438. package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts.map +1 -0
  439. package/bin/service/builtins/chat/runtime/ChatMetaStore.js.map +1 -0
  440. package/bin/service/builtins/chat/runtime/ChatQueue.d.ts +40 -0
  441. package/bin/service/builtins/chat/runtime/ChatQueue.d.ts.map +1 -0
  442. package/bin/service/builtins/chat/runtime/ChatQueue.js.map +1 -0
  443. package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +31 -0
  444. package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
  445. package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
  446. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +55 -0
  447. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -0
  448. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js +98 -0
  449. package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js.map +1 -0
  450. package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts +85 -0
  451. package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts.map +1 -0
  452. package/bin/service/builtins/chat/runtime/ChatQueueStore.js.map +1 -0
  453. package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +88 -0
  454. package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
  455. package/bin/service/builtins/chat/runtime/ChatQueueWorker.js.map +1 -0
  456. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
  457. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
  458. package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
  459. package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts +20 -0
  460. package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
  461. package/bin/service/builtins/chat/runtime/ChatSendMetadata.js.map +1 -0
  462. package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts +27 -0
  463. package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
  464. package/bin/service/builtins/chat/runtime/ChatSendRegistry.js.map +1 -0
  465. package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts +17 -0
  466. package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts.map +1 -0
  467. package/bin/service/builtins/chat/runtime/ChatServiceActions.js.map +1 -0
  468. package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts +22 -0
  469. package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +1 -0
  470. package/bin/service/builtins/chat/runtime/ChatServiceSystem.js +87 -0
  471. package/bin/service/builtins/chat/runtime/ChatServiceSystem.js.map +1 -0
  472. package/bin/service/builtins/chat/runtime/ChatSession.d.ts +73 -0
  473. package/bin/service/builtins/chat/runtime/ChatSession.d.ts.map +1 -0
  474. package/bin/service/builtins/chat/runtime/ChatSession.js +78 -0
  475. package/bin/service/builtins/chat/runtime/ChatSession.js.map +1 -0
  476. package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts +29 -0
  477. package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
  478. package/bin/service/builtins/chat/runtime/ChatSessionDelete.js +76 -0
  479. package/bin/service/builtins/chat/runtime/ChatSessionDelete.js.map +1 -0
  480. package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.d.ts +45 -0
  481. package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.d.ts.map +1 -0
  482. package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.js +60 -0
  483. package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.js.map +1 -0
  484. package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts +30 -0
  485. package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts.map +1 -0
  486. package/bin/service/builtins/chat/runtime/ChatSessionTypes.js +9 -0
  487. package/bin/service/builtins/chat/runtime/ChatSessionTypes.js.map +1 -0
  488. package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts +67 -0
  489. package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts.map +1 -0
  490. package/bin/service/builtins/chat/runtime/ChatkeySend.js.map +1 -0
  491. package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts +22 -0
  492. package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
  493. package/bin/service/builtins/chat/runtime/DirectDispatchParser.js +133 -0
  494. package/bin/service/builtins/chat/runtime/DirectDispatchParser.js.map +1 -0
  495. package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +24 -0
  496. package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
  497. package/bin/service/builtins/chat/runtime/EnqueueDispatch.js +28 -0
  498. package/bin/service/builtins/chat/runtime/EnqueueDispatch.js.map +1 -0
  499. package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +21 -0
  500. package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +1 -0
  501. package/bin/service/builtins/chat/runtime/InboundAugment.js +50 -0
  502. package/bin/service/builtins/chat/runtime/InboundAugment.js.map +1 -0
  503. package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +43 -0
  504. package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -0
  505. package/bin/service/builtins/chat/runtime/PluginDispatch.js +57 -0
  506. package/bin/service/builtins/chat/runtime/PluginDispatch.js.map +1 -0
  507. package/bin/service/builtins/chat/runtime/PluginPoints.d.ts.map +1 -0
  508. package/bin/service/builtins/chat/runtime/PluginPoints.js.map +1 -0
  509. package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts +20 -0
  510. package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
  511. package/bin/service/builtins/chat/runtime/QueuedUserMessage.js.map +1 -0
  512. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +29 -0
  513. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
  514. package/bin/service/builtins/chat/runtime/ReplyContextFormatter.js.map +1 -0
  515. package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +36 -0
  516. package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -0
  517. package/bin/service/builtins/chat/runtime/ReplyDispatch.js +51 -0
  518. package/bin/service/builtins/chat/runtime/ReplyDispatch.js.map +1 -0
  519. package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +26 -0
  520. package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -0
  521. package/bin/service/builtins/chat/runtime/SystemPrompt.js +70 -0
  522. package/bin/service/builtins/chat/runtime/SystemPrompt.js.map +1 -0
  523. package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +24 -0
  524. package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
  525. package/bin/service/builtins/chat/runtime/UIMessageTransformer.js.map +1 -0
  526. package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts +34 -0
  527. package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts.map +1 -0
  528. package/bin/service/builtins/chat/runtime/UserVisibleText.js.map +1 -0
  529. package/bin/service/builtins/chat/types/BotInfo.d.ts +97 -0
  530. package/bin/service/builtins/chat/types/BotInfo.d.ts.map +1 -0
  531. package/bin/service/builtins/chat/types/BotInfo.js.map +1 -0
  532. package/bin/service/builtins/chat/types/ChannelAccount.d.ts +226 -0
  533. package/bin/service/builtins/chat/types/ChannelAccount.d.ts.map +1 -0
  534. package/bin/service/builtins/chat/types/ChannelAccount.js +9 -0
  535. package/bin/service/builtins/chat/types/ChannelAccount.js.map +1 -0
  536. package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts +146 -0
  537. package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts.map +1 -0
  538. package/bin/service/builtins/chat/types/ChannelConfiguration.js.map +1 -0
  539. package/bin/service/builtins/chat/types/ChannelContext.d.ts.map +1 -0
  540. package/bin/service/builtins/chat/types/ChannelContext.js.map +1 -0
  541. package/bin/service/builtins/chat/types/ChannelStatus.d.ts.map +1 -0
  542. package/bin/service/builtins/chat/types/ChannelStatus.js.map +1 -0
  543. package/bin/service/builtins/chat/types/ChatCommand.d.ts.map +1 -0
  544. package/bin/service/builtins/chat/types/ChatCommand.js.map +1 -0
  545. package/bin/service/builtins/chat/types/ChatDispatcher.d.ts.map +1 -0
  546. package/bin/service/builtins/chat/types/ChatDispatcher.js.map +1 -0
  547. package/bin/service/builtins/chat/types/ChatHistory.d.ts +36 -0
  548. package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +1 -0
  549. package/bin/service/builtins/chat/types/ChatHistory.js.map +1 -0
  550. package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts.map +1 -0
  551. package/bin/service/builtins/chat/types/ChatMessageMarkup.js.map +1 -0
  552. package/bin/service/builtins/chat/types/ChatMeta.d.ts.map +1 -0
  553. package/bin/service/builtins/chat/types/ChatMeta.js.map +1 -0
  554. package/bin/service/builtins/chat/types/ChatQueue.d.ts +44 -0
  555. package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +1 -0
  556. package/bin/service/builtins/chat/types/ChatQueue.js.map +1 -0
  557. package/bin/service/builtins/chat/types/DirectDispatch.d.ts +115 -0
  558. package/bin/service/builtins/chat/types/DirectDispatch.d.ts.map +1 -0
  559. package/bin/service/builtins/chat/types/DirectDispatch.js.map +1 -0
  560. package/bin/service/builtins/chat/types/FeishuAttachment.d.ts.map +1 -0
  561. package/bin/service/builtins/chat/types/FeishuAttachment.js.map +1 -0
  562. package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts +114 -0
  563. package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
  564. package/bin/service/builtins/chat/types/FeishuInboundAttachment.js.map +1 -0
  565. package/bin/service/builtins/chat/types/FeishuPost.d.ts.map +1 -0
  566. package/bin/service/builtins/chat/types/FeishuPost.js.map +1 -0
  567. package/bin/service/builtins/chat/types/QqInboundDedupe.d.ts.map +1 -0
  568. package/bin/service/builtins/chat/types/QqInboundDedupe.js.map +1 -0
  569. package/bin/service/builtins/chat/types/QqVoice.d.ts.map +1 -0
  570. package/bin/service/builtins/chat/types/QqVoice.js.map +1 -0
  571. package/bin/service/builtins/chat/types/ReplyContext.d.ts.map +1 -0
  572. package/bin/service/builtins/chat/types/ReplyContext.js.map +1 -0
  573. package/bin/service/builtins/contact/Action.d.ts.map +1 -0
  574. package/bin/service/builtins/contact/Action.js.map +1 -0
  575. package/bin/service/builtins/contact/ContactService.d.ts +39 -0
  576. package/bin/service/builtins/contact/ContactService.d.ts.map +1 -0
  577. package/bin/service/builtins/contact/ContactService.js +683 -0
  578. package/bin/service/builtins/contact/ContactService.js.map +1 -0
  579. package/bin/service/builtins/contact/Index.d.ts.map +1 -0
  580. package/bin/service/builtins/contact/Index.js.map +1 -0
  581. package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts +23 -0
  582. package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts.map +1 -0
  583. package/bin/service/builtins/contact/runtime/ApproveCallback.js.map +1 -0
  584. package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts +27 -0
  585. package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts.map +1 -0
  586. package/bin/service/builtins/contact/runtime/ChatRuntime.js.map +1 -0
  587. package/bin/service/builtins/contact/runtime/ContactStore.d.ts +49 -0
  588. package/bin/service/builtins/contact/runtime/ContactStore.d.ts.map +1 -0
  589. package/bin/service/builtins/contact/runtime/ContactStore.js.map +1 -0
  590. package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts +39 -0
  591. package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts.map +1 -0
  592. package/bin/service/builtins/contact/runtime/EndpointNotice.js.map +1 -0
  593. package/bin/service/builtins/contact/runtime/EndpointResolver.d.ts.map +1 -0
  594. package/bin/service/builtins/contact/runtime/EndpointResolver.js.map +1 -0
  595. package/bin/service/builtins/contact/runtime/InboxStore.d.ts +33 -0
  596. package/bin/service/builtins/contact/runtime/InboxStore.d.ts.map +1 -0
  597. package/bin/service/builtins/contact/runtime/InboxStore.js.map +1 -0
  598. package/bin/service/builtins/contact/runtime/LinkApproval.d.ts +20 -0
  599. package/bin/service/builtins/contact/runtime/LinkApproval.d.ts.map +1 -0
  600. package/bin/service/builtins/contact/runtime/LinkApproval.js.map +1 -0
  601. package/bin/service/builtins/contact/runtime/LinkCode.d.ts +21 -0
  602. package/bin/service/builtins/contact/runtime/LinkCode.d.ts.map +1 -0
  603. package/bin/service/builtins/contact/runtime/LinkCode.js.map +1 -0
  604. package/bin/service/builtins/contact/runtime/LinkStore.d.ts +17 -0
  605. package/bin/service/builtins/contact/runtime/LinkStore.d.ts.map +1 -0
  606. package/bin/service/builtins/contact/runtime/LinkStore.js.map +1 -0
  607. package/bin/service/builtins/contact/runtime/Paths.d.ts.map +1 -0
  608. package/bin/service/builtins/contact/runtime/Paths.js.map +1 -0
  609. package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +46 -0
  610. package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +1 -0
  611. package/bin/service/builtins/contact/runtime/RemoteClient.js.map +1 -0
  612. package/bin/service/builtins/contact/runtime/ShareBundle.d.ts +65 -0
  613. package/bin/service/builtins/contact/runtime/ShareBundle.d.ts.map +1 -0
  614. package/bin/service/builtins/contact/runtime/ShareBundle.js.map +1 -0
  615. package/bin/service/builtins/contact/runtime/SystemProvider.d.ts.map +1 -0
  616. package/bin/service/builtins/contact/runtime/SystemProvider.js.map +1 -0
  617. package/bin/service/builtins/contact/runtime/Token.d.ts.map +1 -0
  618. package/bin/service/builtins/contact/runtime/Token.js.map +1 -0
  619. package/bin/service/builtins/contact/types/Contact.d.ts.map +1 -0
  620. package/bin/service/builtins/contact/types/Contact.js.map +1 -0
  621. package/bin/service/builtins/contact/types/ContactApproval.d.ts.map +1 -0
  622. package/bin/service/builtins/contact/types/ContactApproval.js.map +1 -0
  623. package/bin/service/builtins/contact/types/ContactChat.d.ts.map +1 -0
  624. package/bin/service/builtins/contact/types/ContactChat.js.map +1 -0
  625. package/bin/service/builtins/contact/types/ContactCheck.d.ts.map +1 -0
  626. package/bin/service/builtins/contact/types/ContactCheck.js.map +1 -0
  627. package/bin/service/builtins/contact/types/ContactCommand.d.ts.map +1 -0
  628. package/bin/service/builtins/contact/types/ContactCommand.js.map +1 -0
  629. package/bin/service/builtins/contact/types/ContactEndpoint.d.ts.map +1 -0
  630. package/bin/service/builtins/contact/types/ContactEndpoint.js.map +1 -0
  631. package/bin/service/builtins/contact/types/ContactLink.d.ts.map +1 -0
  632. package/bin/service/builtins/contact/types/ContactLink.js.map +1 -0
  633. package/bin/service/builtins/contact/types/ContactShare.d.ts.map +1 -0
  634. package/bin/service/builtins/contact/types/ContactShare.js.map +1 -0
  635. package/bin/service/builtins/memory/Action.d.ts +41 -0
  636. package/bin/service/builtins/memory/Action.d.ts.map +1 -0
  637. package/bin/service/builtins/memory/Action.js.map +1 -0
  638. package/bin/service/builtins/memory/Index.d.ts.map +1 -0
  639. package/bin/service/builtins/memory/Index.js.map +1 -0
  640. package/bin/service/builtins/memory/MemoryService.d.ts +45 -0
  641. package/bin/service/builtins/memory/MemoryService.d.ts.map +1 -0
  642. package/bin/service/builtins/memory/MemoryService.js +299 -0
  643. package/bin/service/builtins/memory/MemoryService.js.map +1 -0
  644. package/bin/service/builtins/memory/runtime/Flush.d.ts +15 -0
  645. package/bin/service/builtins/memory/runtime/Flush.d.ts.map +1 -0
  646. package/bin/service/builtins/memory/runtime/Flush.js.map +1 -0
  647. package/bin/service/builtins/memory/runtime/Indexer.d.ts +71 -0
  648. package/bin/service/builtins/memory/runtime/Indexer.d.ts.map +1 -0
  649. package/bin/service/builtins/memory/runtime/Indexer.js.map +1 -0
  650. package/bin/service/builtins/memory/runtime/Search.d.ts +15 -0
  651. package/bin/service/builtins/memory/runtime/Search.d.ts.map +1 -0
  652. package/bin/service/builtins/memory/runtime/Search.js.map +1 -0
  653. package/bin/service/builtins/memory/runtime/Store.d.ts +106 -0
  654. package/bin/service/builtins/memory/runtime/Store.d.ts.map +1 -0
  655. package/bin/service/builtins/memory/runtime/Store.js.map +1 -0
  656. package/bin/service/builtins/memory/runtime/SystemProvider.d.ts +22 -0
  657. package/bin/service/builtins/memory/runtime/SystemProvider.d.ts.map +1 -0
  658. package/bin/service/builtins/memory/runtime/SystemProvider.js.map +1 -0
  659. package/bin/service/builtins/memory/runtime/Writer.d.ts +23 -0
  660. package/bin/service/builtins/memory/runtime/Writer.d.ts.map +1 -0
  661. package/bin/service/builtins/memory/runtime/Writer.js.map +1 -0
  662. package/bin/service/builtins/memory/types/Memory.d.ts +318 -0
  663. package/bin/service/builtins/memory/types/Memory.d.ts.map +1 -0
  664. package/bin/service/builtins/memory/types/Memory.js.map +1 -0
  665. package/bin/service/builtins/shell/Index.d.ts.map +1 -0
  666. package/bin/service/builtins/shell/Index.js.map +1 -0
  667. package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +91 -0
  668. package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts.map +1 -0
  669. package/bin/service/builtins/shell/ShellRuntimeTypes.js +10 -0
  670. package/bin/service/builtins/shell/ShellRuntimeTypes.js.map +1 -0
  671. package/bin/service/builtins/shell/ShellService.d.ts +65 -0
  672. package/bin/service/builtins/shell/ShellService.d.ts.map +1 -0
  673. package/bin/service/builtins/shell/ShellService.js +138 -0
  674. package/bin/service/builtins/shell/ShellService.js.map +1 -0
  675. package/bin/service/builtins/shell/runtime/Paths.d.ts.map +1 -0
  676. package/bin/service/builtins/shell/runtime/Paths.js.map +1 -0
  677. package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts +49 -0
  678. package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
  679. package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +463 -0
  680. package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +1 -0
  681. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +107 -0
  682. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
  683. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +452 -0
  684. package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
  685. package/bin/service/builtins/shell/types/ShellService.d.ts.map +1 -0
  686. package/bin/service/builtins/shell/types/ShellService.js.map +1 -0
  687. package/bin/service/builtins/task/Action.d.ts +36 -0
  688. package/bin/service/builtins/task/Action.d.ts.map +1 -0
  689. package/bin/service/builtins/task/Action.js.map +1 -0
  690. package/bin/service/builtins/task/Index.d.ts.map +1 -0
  691. package/bin/service/builtins/task/Index.js.map +1 -0
  692. package/bin/service/builtins/task/Scheduler.d.ts +17 -0
  693. package/bin/service/builtins/task/Scheduler.d.ts.map +1 -0
  694. package/bin/service/builtins/task/Scheduler.js +231 -0
  695. package/bin/service/builtins/task/Scheduler.js.map +1 -0
  696. package/bin/service/builtins/task/TaskService.d.ts +57 -0
  697. package/bin/service/builtins/task/TaskService.d.ts.map +1 -0
  698. package/bin/service/builtins/task/TaskService.js +126 -0
  699. package/bin/service/builtins/task/TaskService.js.map +1 -0
  700. package/bin/service/builtins/task/runtime/CronRuntime.d.ts +34 -0
  701. package/bin/service/builtins/task/runtime/CronRuntime.d.ts.map +1 -0
  702. package/bin/service/builtins/task/runtime/CronRuntime.js +59 -0
  703. package/bin/service/builtins/task/runtime/CronRuntime.js.map +1 -0
  704. package/bin/service/builtins/task/runtime/CronTrigger.d.ts.map +1 -0
  705. package/bin/service/builtins/task/runtime/CronTrigger.js.map +1 -0
  706. package/bin/service/builtins/task/runtime/Frontmatter.d.ts.map +1 -0
  707. package/bin/service/builtins/task/runtime/Frontmatter.js.map +1 -0
  708. package/bin/service/builtins/task/runtime/Model.d.ts +73 -0
  709. package/bin/service/builtins/task/runtime/Model.d.ts.map +1 -0
  710. package/bin/service/builtins/task/runtime/Model.js.map +1 -0
  711. package/bin/service/builtins/task/runtime/Paths.d.ts.map +1 -0
  712. package/bin/service/builtins/task/runtime/Paths.js.map +1 -0
  713. package/bin/service/builtins/task/runtime/Runner.d.ts +43 -0
  714. package/bin/service/builtins/task/runtime/Runner.d.ts.map +1 -0
  715. package/bin/service/builtins/task/runtime/Runner.js.map +1 -0
  716. package/bin/service/builtins/task/runtime/Store.d.ts +89 -0
  717. package/bin/service/builtins/task/runtime/Store.d.ts.map +1 -0
  718. package/bin/service/builtins/task/runtime/Store.js.map +1 -0
  719. package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +160 -0
  720. package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -0
  721. package/bin/service/builtins/task/runtime/TaskActionExecution.js +192 -0
  722. package/bin/service/builtins/task/runtime/TaskActionExecution.js.map +1 -0
  723. package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +48 -0
  724. package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +1 -0
  725. package/bin/service/builtins/task/runtime/TaskActionInput.js +357 -0
  726. package/bin/service/builtins/task/runtime/TaskActionInput.js.map +1 -0
  727. package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts +189 -0
  728. package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
  729. package/bin/service/builtins/task/runtime/TaskRunArtifacts.js.map +1 -0
  730. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts +22 -0
  731. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
  732. package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js.map +1 -0
  733. package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts +35 -0
  734. package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
  735. package/bin/service/builtins/task/runtime/TaskRunnerProgress.js.map +1 -0
  736. package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +80 -0
  737. package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -0
  738. package/bin/service/builtins/task/runtime/TaskRunnerRound.js +272 -0
  739. package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +1 -0
  740. package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +45 -0
  741. package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts.map +1 -0
  742. package/bin/service/builtins/task/runtime/TaskRunnerSession.js +138 -0
  743. package/bin/service/builtins/task/runtime/TaskRunnerSession.js.map +1 -0
  744. package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts +186 -0
  745. package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts.map +1 -0
  746. package/bin/service/builtins/task/runtime/TaskRunnerTypes.js +9 -0
  747. package/bin/service/builtins/task/runtime/TaskRunnerTypes.js.map +1 -0
  748. package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts +16 -0
  749. package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts.map +1 -0
  750. package/bin/service/builtins/task/runtime/TaskServiceActions.js.map +1 -0
  751. package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts.map +1 -0
  752. package/bin/service/builtins/task/runtime/TaskServiceSystem.js.map +1 -0
  753. package/bin/service/builtins/task/types/Cron.d.ts.map +1 -0
  754. package/bin/service/builtins/task/types/Cron.js.map +1 -0
  755. package/bin/service/builtins/task/types/Task.d.ts.map +1 -0
  756. package/bin/service/builtins/task/types/Task.js.map +1 -0
  757. package/bin/service/builtins/task/types/TaskCommand.d.ts.map +1 -0
  758. package/bin/service/builtins/task/types/TaskCommand.js.map +1 -0
  759. package/bin/service/core/Manager.d.ts +13 -0
  760. package/bin/service/core/Manager.d.ts.map +1 -0
  761. package/bin/service/core/Manager.js.map +1 -0
  762. package/bin/service/core/ServiceActionApi.d.ts +15 -0
  763. package/bin/service/core/ServiceActionApi.d.ts.map +1 -0
  764. package/bin/service/core/ServiceActionApi.js +234 -0
  765. package/bin/service/core/ServiceActionApi.js.map +1 -0
  766. package/bin/service/core/ServiceActionRunner.d.ts +44 -0
  767. package/bin/service/core/ServiceActionRunner.d.ts.map +1 -0
  768. package/bin/service/core/ServiceActionRunner.js +211 -0
  769. package/bin/service/core/ServiceActionRunner.js.map +1 -0
  770. package/bin/service/core/ServiceClassRegistry.d.ts +40 -0
  771. package/bin/service/core/ServiceClassRegistry.d.ts.map +1 -0
  772. package/bin/service/core/ServiceClassRegistry.js +64 -0
  773. package/bin/service/core/ServiceClassRegistry.js.map +1 -0
  774. package/bin/service/core/ServiceManager.d.ts +9 -0
  775. package/bin/service/core/ServiceManager.d.ts.map +1 -0
  776. package/bin/service/core/ServiceManager.js.map +1 -0
  777. package/bin/service/core/ServiceStateController.d.ts +79 -0
  778. package/bin/service/core/ServiceStateController.d.ts.map +1 -0
  779. package/bin/service/core/ServiceStateController.js +245 -0
  780. package/bin/service/core/ServiceStateController.js.map +1 -0
  781. package/bin/service/core/ServiceSystemProviders.d.ts +27 -0
  782. package/bin/service/core/ServiceSystemProviders.d.ts.map +1 -0
  783. package/bin/service/core/ServiceSystemProviders.js +34 -0
  784. package/bin/service/core/ServiceSystemProviders.js.map +1 -0
  785. package/bin/service/core/Services.d.ts +18 -0
  786. package/bin/service/core/Services.d.ts.map +1 -0
  787. package/bin/service/core/Services.js +23 -0
  788. package/bin/service/core/Services.js.map +1 -0
  789. package/bin/service/schedule/Executor.d.ts +1 -1
  790. package/bin/service/schedule/Executor.d.ts.map +1 -1
  791. package/bin/service/schedule/Executor.js +1 -1
  792. package/bin/service/schedule/Executor.js.map +1 -1
  793. package/bin/service/schedule/Runtime.d.ts +1 -1
  794. package/bin/service/schedule/Runtime.d.ts.map +1 -1
  795. package/bin/session/Session.d.ts +1 -0
  796. package/bin/session/Session.d.ts.map +1 -1
  797. package/bin/session/Session.js +3 -0
  798. package/bin/session/Session.js.map +1 -1
  799. package/bin/session/SessionRunScope.d.ts +9 -1
  800. package/bin/session/SessionRunScope.d.ts.map +1 -1
  801. package/bin/session/SessionRunScope.js.map +1 -1
  802. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +1 -0
  803. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -1
  804. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +30 -0
  805. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -1
  806. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +1 -1
  807. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -1
  808. package/bin/session/composer/system/default/SystemDomain.d.ts +1 -1
  809. package/bin/session/composer/system/default/SystemDomain.d.ts.map +1 -1
  810. package/bin/session/composer/system/default/SystemDomain.js +1 -1
  811. package/bin/session/composer/system/default/SystemDomain.js.map +1 -1
  812. package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -1
  813. package/bin/session/executors/local/LocalSessionCore.js +37 -5
  814. package/bin/session/executors/local/LocalSessionCore.js.map +1 -1
  815. package/bin/session/messages/SessionAttachmentMapper.js +1 -1
  816. package/bin/session/messages/SessionAttachmentMapper.js.map +1 -1
  817. package/bin/session/tools/shell/ShellToolBridge.d.ts +2 -2
  818. package/bin/session/tools/shell/ShellToolBridge.d.ts.map +1 -1
  819. package/bin/session/tools/shell/ShellToolDefinition.d.ts +2 -2
  820. package/bin/session/tools/shell/ShellToolSchemas.d.ts +3 -3
  821. package/bin/shared/constants/DowncitySchema.js +1 -1
  822. package/bin/shared/constants/DowncitySchema.js.map +1 -1
  823. package/bin/shared/types/AgentProject.d.ts +2 -2
  824. package/bin/shared/types/AgentProject.js +1 -1
  825. package/bin/shared/types/AuthControl.d.ts +30 -0
  826. package/bin/shared/types/AuthControl.d.ts.map +1 -0
  827. package/bin/shared/types/AuthControl.js +9 -0
  828. package/bin/shared/types/AuthControl.js.map +1 -0
  829. package/bin/shared/types/AuthPlugin.d.ts +1 -1
  830. package/bin/shared/types/AuthPlugin.d.ts.map +1 -1
  831. package/bin/shared/types/AuthPlugin.js +1 -1
  832. package/bin/shared/types/AuthPlugin.js.map +1 -1
  833. package/bin/shared/types/ChatPlugin.d.ts +1 -1
  834. package/bin/shared/types/ChatPlugin.d.ts.map +1 -1
  835. package/bin/shared/types/ChatPromptContext.d.ts +1 -1
  836. package/bin/shared/types/ChatPromptContext.d.ts.map +1 -1
  837. package/bin/shared/types/ChatRuntime.d.ts +3 -3
  838. package/bin/shared/types/ChatRuntime.d.ts.map +1 -1
  839. package/bin/shared/types/ChatService.d.ts +2 -2
  840. package/bin/shared/types/ChatService.d.ts.map +1 -1
  841. package/bin/shared/types/ControlRoutes.d.ts +28 -0
  842. package/bin/shared/types/ControlRoutes.d.ts.map +1 -0
  843. package/bin/shared/types/ControlRoutes.js +9 -0
  844. package/bin/shared/types/ControlRoutes.js.map +1 -0
  845. package/bin/shared/types/ControlSessionExecute.d.ts +85 -0
  846. package/bin/shared/types/ControlSessionExecute.d.ts.map +1 -0
  847. package/bin/shared/types/ControlSessionExecute.js +9 -0
  848. package/bin/shared/types/ControlSessionExecute.js.map +1 -0
  849. package/bin/shared/types/ControlViewData.d.ts +320 -0
  850. package/bin/shared/types/ControlViewData.d.ts.map +1 -0
  851. package/bin/shared/types/ControlViewData.js +9 -0
  852. package/bin/shared/types/ControlViewData.js.map +1 -0
  853. package/bin/shared/types/DowncityConfig.d.ts +6 -6
  854. package/bin/shared/types/ExecutionBinding.d.ts +2 -2
  855. package/bin/shared/types/ExecutionBinding.js +1 -1
  856. package/bin/shared/types/InlineInstant.d.ts +7 -7
  857. package/bin/shared/types/InlineInstant.d.ts.map +1 -1
  858. package/bin/shared/types/LlmConfig.d.ts +1 -1
  859. package/bin/shared/types/LlmConfig.js +1 -1
  860. package/bin/shared/types/LocalRpc.d.ts +1 -1
  861. package/bin/shared/types/LocalRpc.d.ts.map +1 -1
  862. package/bin/shared/types/ModelBinding.d.ts +2 -2
  863. package/bin/shared/types/Platform.d.ts +370 -0
  864. package/bin/shared/types/Platform.d.ts.map +1 -0
  865. package/bin/shared/types/Platform.js +10 -0
  866. package/bin/shared/types/Platform.js.map +1 -0
  867. package/bin/shared/types/PlatformGateway.d.ts +174 -0
  868. package/bin/shared/types/PlatformGateway.d.ts.map +1 -0
  869. package/bin/shared/types/PlatformGateway.js +9 -0
  870. package/bin/shared/types/PlatformGateway.js.map +1 -0
  871. package/bin/shared/types/Plugin.d.ts +2 -2
  872. package/bin/shared/types/Plugin.d.ts.map +1 -1
  873. package/bin/shared/types/PluginApi.d.ts +1 -1
  874. package/bin/shared/types/Service.d.ts +1 -1
  875. package/bin/shared/types/Service.d.ts.map +1 -1
  876. package/bin/shared/types/Services.d.ts +1 -1
  877. package/bin/shared/types/Store.d.ts +24 -3
  878. package/bin/shared/types/Store.d.ts.map +1 -1
  879. package/bin/shared/types/TaskService.d.ts +1 -1
  880. package/bin/shared/types/TaskService.d.ts.map +1 -1
  881. package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts +8 -8
  882. package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +1 -1
  883. package/bin/shared/utils/store/StoreChannelAccountRepository.js +1 -1
  884. package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +1 -1
  885. package/bin/shared/utils/store/StoreEnvRepository.d.ts +21 -21
  886. package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +1 -1
  887. package/bin/shared/utils/store/StoreEnvRepository.js +1 -1
  888. package/bin/shared/utils/store/StoreEnvRepository.js.map +1 -1
  889. package/bin/shared/utils/store/StoreModelRepository.d.ts +19 -15
  890. package/bin/shared/utils/store/StoreModelRepository.d.ts.map +1 -1
  891. package/bin/shared/utils/store/StoreModelRepository.js +13 -2
  892. package/bin/shared/utils/store/StoreModelRepository.js.map +1 -1
  893. package/bin/shared/utils/store/StoreSchema.d.ts +5 -5
  894. package/bin/shared/utils/store/StoreSchema.d.ts.map +1 -1
  895. package/bin/shared/utils/store/StoreSchema.js +7 -7
  896. package/bin/shared/utils/store/StoreSchema.js.map +1 -1
  897. package/bin/shared/utils/store/StoreSecureSettings.d.ts +9 -9
  898. package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +1 -1
  899. package/bin/shared/utils/store/StoreSecureSettings.js +8 -8
  900. package/bin/shared/utils/store/StoreSecureSettings.js.map +1 -1
  901. package/bin/shared/utils/store/StoreShared.d.ts +6 -6
  902. package/bin/shared/utils/store/StoreShared.d.ts.map +1 -1
  903. package/bin/shared/utils/store/StoreShared.js +2 -2
  904. package/bin/shared/utils/store/crypto.js +2 -2
  905. package/bin/shared/utils/store/crypto.js.map +1 -1
  906. package/bin/shared/utils/store/index.d.ts +13 -9
  907. package/bin/shared/utils/store/index.d.ts.map +1 -1
  908. package/bin/shared/utils/store/index.js +24 -17
  909. package/bin/shared/utils/store/index.js.map +1 -1
  910. package/bin/shared/utils/store/schema.d.ts +1 -1
  911. package/bin/shared/utils/store/schema.js +1 -1
  912. package/bin/types/session/SessionHistoryMeta.d.ts +17 -0
  913. package/bin/types/session/SessionHistoryMeta.d.ts.map +1 -1
  914. package/bin/types/session/SessionMessages.d.ts +1 -1
  915. package/bin/types/session/SessionMessages.js +1 -1
  916. package/bin/types/session/SessionRun.d.ts +13 -1
  917. package/bin/types/session/SessionRun.d.ts.map +1 -1
  918. package/package.json +2 -2
  919. package/src/agent/AgentContext.ts +6 -6
  920. package/src/agent/AgentContextTypes.ts +380 -0
  921. package/src/agent/AgentRuntime.ts +7 -8
  922. package/src/agent/AgentRuntimeState.ts +2 -2
  923. package/src/agent/AgentRuntimeTypes.ts +86 -0
  924. package/src/agent/project/AgentInitializer.ts +12 -12
  925. package/src/config/Config.ts +7 -7
  926. package/src/host/daemon/Client.ts +182 -0
  927. package/src/host/daemon/Manager.ts +344 -0
  928. package/src/host/daemon/ProjectSetup.ts +126 -0
  929. package/src/host/rpc/Client.ts +113 -0
  930. package/src/host/rpc/Paths.ts +43 -0
  931. package/src/host/rpc/Server.ts +395 -0
  932. package/src/host/rpc/Transport.ts +43 -0
  933. package/src/host/runtime/CityPaths.ts +87 -0
  934. package/src/host/runtime/CityRegistry.ts +256 -0
  935. package/src/host/runtime/CityRuntime.ts +45 -0
  936. package/src/host/runtime/PluginRuntime.ts +42 -0
  937. package/src/host/runtime/ProcessSweep.ts +239 -0
  938. package/src/host/sdk/Agent.ts +354 -0
  939. package/src/host/sdk/AgentSdkTypes.ts +286 -0
  940. package/src/host/sdk/AsyncQueue.ts +92 -0
  941. package/src/host/sdk/HttpServer.ts +222 -0
  942. package/src/host/sdk/Paths.ts +126 -0
  943. package/src/host/sdk/RemoteAgent.ts +205 -0
  944. package/src/host/sdk/RpcServer.ts +226 -0
  945. package/src/host/sdk/SdkSessionSystemComposer.ts +76 -0
  946. package/src/host/sdk/Session.ts +564 -0
  947. package/src/host/sdk/SessionMetadata.ts +178 -0
  948. package/src/host/sdk/StreamEvents.ts +95 -0
  949. package/src/http/Server.ts +2 -2
  950. package/src/http/auth/AuthStore.ts +7 -7
  951. package/src/http/auth/RoutePolicy.ts +6 -6
  952. package/src/http/control/AuthControlService.ts +161 -0
  953. package/src/http/control/CommonHelpers.ts +69 -0
  954. package/src/http/control/ControlApiRoutes.ts +31 -0
  955. package/src/http/control/ControlAuthorizationRoutes.ts +108 -0
  956. package/src/http/control/ControlRouter.ts +31 -0
  957. package/src/http/control/ExecuteBySession.ts +151 -0
  958. package/src/http/control/ExecuteInput.ts +236 -0
  959. package/src/http/control/Helpers.ts +22 -0
  960. package/src/http/control/MessageTimeline.ts +269 -0
  961. package/src/http/control/ModelRoutes.ts +107 -0
  962. package/src/http/control/OverviewRoutes.ts +106 -0
  963. package/src/http/control/SessionRoutes.ts +414 -0
  964. package/src/http/control/SessionSummaryStore.ts +76 -0
  965. package/src/http/control/TaskRoutes.ts +391 -0
  966. package/src/http/control/TaskStore.ts +222 -0
  967. package/src/http/execute/execute.ts +1 -1
  968. package/src/http/services/services.ts +2 -2
  969. package/src/index.ts +209 -6
  970. package/src/model/CreateModel.ts +25 -9
  971. package/src/plugin/HookRegistry.ts +1 -1
  972. package/src/plugin/HttpRoutes.ts +1 -1
  973. package/src/plugin/Lifecycle.ts +4 -4
  974. package/src/plugin/LocalExecution.ts +1 -1
  975. package/src/plugin/PluginManager.ts +1 -1
  976. package/src/plugin/PluginRegistry.ts +1 -1
  977. package/src/plugin/ProjectConfigStore.ts +1 -1
  978. package/src/plugins/asr/Plugin.ts +1 -1
  979. package/src/plugins/auth/Plugin.ts +2 -2
  980. package/src/plugins/auth/runtime/AuthorizationConfig.ts +4 -4
  981. package/src/plugins/auth/runtime/AuthorizationStore.ts +2 -2
  982. package/src/plugins/tts/runtime/Synthesizer.ts +1 -1
  983. package/src/plugins/voice/Plugin.ts +1 -1
  984. package/src/plugins/workboard/runtime/Collector.ts +5 -5
  985. package/src/plugins/workboard/runtime/Normalizer.ts +7 -7
  986. package/src/plugins/workboard/runtime/Store.ts +1 -1
  987. package/src/sandbox/SandboxConfigResolver.ts +1 -1
  988. package/src/sandbox/SandboxRunner.ts +1 -1
  989. package/src/service/builtins/BaseService.ts +97 -0
  990. package/src/service/builtins/chat/Action.ts +477 -0
  991. package/src/service/builtins/chat/ChatService.ts +255 -0
  992. package/src/service/builtins/chat/ChatServiceTypes.ts +164 -0
  993. package/src/service/builtins/chat/accounts/ChannelAccountService.ts +317 -0
  994. package/src/service/builtins/chat/channels/BaseChatChannel.ts +450 -0
  995. package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +321 -0
  996. package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +321 -0
  997. package/src/service/builtins/chat/channels/BotInfoProvider.ts +49 -0
  998. package/src/service/builtins/chat/channels/Configuration.ts +35 -0
  999. package/src/service/builtins/chat/channels/ConfigurationRegistry.ts +43 -0
  1000. package/src/service/builtins/chat/channels/feishu/BotInfo.ts +199 -0
  1001. package/src/service/builtins/chat/channels/feishu/Configuration.ts +65 -0
  1002. package/src/service/builtins/chat/channels/feishu/Feishu.ts +634 -0
  1003. package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
  1004. package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
  1005. package/src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
  1006. package/src/service/builtins/chat/channels/feishu/InboundAttachment.ts +261 -0
  1007. package/src/service/builtins/chat/channels/feishu/PostMessage.ts +492 -0
  1008. package/src/service/builtins/chat/channels/feishu/ReplyContext.ts +68 -0
  1009. package/src/service/builtins/chat/channels/feishu/Shared.ts +94 -0
  1010. package/src/service/builtins/chat/channels/qq/BotInfo.ts +137 -0
  1011. package/src/service/builtins/chat/channels/qq/Configuration.ts +64 -0
  1012. package/src/service/builtins/chat/channels/qq/QQ.ts +633 -0
  1013. package/src/service/builtins/chat/channels/qq/QQGatewayAuth.ts +318 -0
  1014. package/src/service/builtins/chat/channels/qq/QQInbound.ts +262 -0
  1015. package/src/service/builtins/chat/channels/qq/QQInboundDedupe.ts +126 -0
  1016. package/src/service/builtins/chat/channels/qq/QQSupport.ts +263 -0
  1017. package/src/service/builtins/chat/channels/qq/VoiceInput.ts +381 -0
  1018. package/src/service/builtins/chat/channels/telegram/Bot.ts +652 -0
  1019. package/src/service/builtins/chat/channels/telegram/BotInfo.ts +92 -0
  1020. package/src/service/builtins/chat/channels/telegram/Configuration.ts +65 -0
  1021. package/src/service/builtins/chat/channels/telegram/ReplyContext.ts +76 -0
  1022. package/src/service/builtins/chat/channels/telegram/Shared.ts +404 -0
  1023. package/src/service/builtins/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
  1024. package/src/service/builtins/chat/runtime/ChannelContextStore.ts +395 -0
  1025. package/src/service/builtins/chat/runtime/ChatActionExecution.ts +362 -0
  1026. package/src/service/builtins/chat/runtime/ChatActionInput.ts +590 -0
  1027. package/src/service/builtins/chat/runtime/ChatChannelActions.ts +313 -0
  1028. package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +330 -0
  1029. package/src/service/builtins/chat/runtime/ChatChannelCore.ts +150 -0
  1030. package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +169 -0
  1031. package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +289 -0
  1032. package/src/service/builtins/chat/runtime/ChatIngressStore.ts +88 -0
  1033. package/src/service/builtins/chat/runtime/ChatMessageMarkup.ts +263 -0
  1034. package/src/service/builtins/chat/runtime/ChatMetaStore.ts +186 -0
  1035. package/src/service/builtins/chat/runtime/ChatQueue.ts +77 -0
  1036. package/src/service/builtins/chat/runtime/ChatQueueReplyDispatch.ts +191 -0
  1037. package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +122 -0
  1038. package/src/service/builtins/chat/runtime/ChatQueueStore.ts +185 -0
  1039. package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +504 -0
  1040. package/src/service/builtins/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
  1041. package/src/service/builtins/chat/runtime/ChatSendMetadata.ts +170 -0
  1042. package/src/service/builtins/chat/runtime/ChatSendRegistry.ts +43 -0
  1043. package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +119 -0
  1044. package/src/service/builtins/chat/runtime/ChatSession.ts +125 -0
  1045. package/src/service/builtins/chat/runtime/ChatSessionDelete.ts +95 -0
  1046. package/src/service/builtins/chat/runtime/ChatSessionExecutionComposer.ts +106 -0
  1047. package/src/service/builtins/chat/runtime/ChatkeySend.ts +187 -0
  1048. package/src/service/builtins/chat/runtime/DirectDispatchParser.ts +158 -0
  1049. package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +49 -0
  1050. package/src/service/builtins/chat/runtime/InboundAugment.ts +63 -0
  1051. package/src/service/builtins/chat/runtime/PluginDispatch.ts +89 -0
  1052. package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +85 -0
  1053. package/src/service/builtins/chat/runtime/ReplyDispatch.ts +78 -0
  1054. package/src/service/builtins/chat/runtime/SystemPrompt.ts +84 -0
  1055. package/src/service/builtins/chat/types/BotInfo.ts +101 -0
  1056. package/src/service/builtins/chat/types/ChannelAccount.ts +232 -0
  1057. package/src/service/builtins/chat/types/ChannelConfiguration.ts +161 -0
  1058. package/src/service/builtins/chat/types/ChatHistory.ts +42 -0
  1059. package/src/service/builtins/chat/types/DirectDispatch.ts +133 -0
  1060. package/src/service/builtins/chat/types/FeishuInboundAttachment.ts +138 -0
  1061. package/src/service/builtins/contact/ContactService.ts +799 -0
  1062. package/src/service/builtins/contact/runtime/ApproveCallback.ts +97 -0
  1063. package/src/service/builtins/contact/runtime/ChatRuntime.ts +82 -0
  1064. package/src/service/builtins/contact/runtime/ContactStore.ts +299 -0
  1065. package/src/service/builtins/contact/runtime/EndpointNotice.ts +125 -0
  1066. package/src/service/builtins/contact/runtime/InboxStore.ts +178 -0
  1067. package/src/service/builtins/contact/runtime/LinkApproval.ts +387 -0
  1068. package/src/service/builtins/contact/runtime/LinkCode.ts +70 -0
  1069. package/src/service/builtins/contact/runtime/LinkStore.ts +50 -0
  1070. package/src/service/builtins/contact/runtime/ShareBundle.ts +286 -0
  1071. package/src/service/builtins/memory/Action.ts +188 -0
  1072. package/src/service/builtins/memory/MemoryService.ts +329 -0
  1073. package/src/service/builtins/memory/runtime/Flush.ts +83 -0
  1074. package/src/service/builtins/memory/runtime/Indexer.ts +466 -0
  1075. package/src/service/builtins/memory/runtime/Search.ts +90 -0
  1076. package/src/service/builtins/memory/runtime/Store.ts +370 -0
  1077. package/src/service/builtins/memory/runtime/SystemProvider.ts +145 -0
  1078. package/src/service/builtins/memory/runtime/Writer.ts +174 -0
  1079. package/src/service/builtins/shell/ShellRuntimeTypes.ts +94 -0
  1080. package/src/service/builtins/shell/ShellService.ts +199 -0
  1081. package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +579 -0
  1082. package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +552 -0
  1083. package/src/service/builtins/task/Action.ts +491 -0
  1084. package/src/service/builtins/task/Scheduler.ts +245 -0
  1085. package/src/service/builtins/task/TaskService.ts +167 -0
  1086. package/src/service/builtins/task/runtime/CronRuntime.ts +73 -0
  1087. package/src/service/builtins/task/runtime/Model.ts +347 -0
  1088. package/src/service/builtins/task/runtime/Runner.ts +558 -0
  1089. package/src/service/builtins/task/runtime/Store.ts +253 -0
  1090. package/src/service/builtins/task/runtime/TaskActionExecution.ts +276 -0
  1091. package/src/service/builtins/task/runtime/TaskActionInput.ts +463 -0
  1092. package/src/service/builtins/task/runtime/TaskRunArtifacts.ts +493 -0
  1093. package/src/service/builtins/task/runtime/TaskRunChatDispatch.ts +81 -0
  1094. package/src/service/builtins/task/runtime/TaskRunnerProgress.ts +112 -0
  1095. package/src/service/builtins/task/runtime/TaskRunnerRound.ts +337 -0
  1096. package/src/service/builtins/task/runtime/TaskRunnerSession.ts +167 -0
  1097. package/src/service/builtins/task/runtime/TaskRunnerTypes.ts +199 -0
  1098. package/src/service/builtins/task/runtime/TaskServiceActions.ts +248 -0
  1099. package/src/service/core/ServiceActionApi.ts +304 -0
  1100. package/src/service/core/ServiceActionRunner.ts +272 -0
  1101. package/src/service/core/ServiceClassRegistry.ts +77 -0
  1102. package/src/service/core/ServiceStateController.ts +316 -0
  1103. package/src/service/core/ServiceSystemProviders.ts +50 -0
  1104. package/src/service/core/Services.ts +33 -0
  1105. package/src/service/schedule/Executor.ts +2 -2
  1106. package/src/service/schedule/Runtime.ts +1 -1
  1107. package/src/session/Session.ts +4 -0
  1108. package/src/session/SessionRunScope.ts +13 -1
  1109. package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +33 -0
  1110. package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +1 -1
  1111. package/src/session/composer/system/default/SystemDomain.ts +2 -2
  1112. package/src/session/executors/local/LocalSessionCore.ts +40 -5
  1113. package/src/session/messages/SessionAttachmentMapper.ts +1 -1
  1114. package/src/session/tools/shell/ShellToolBridge.ts +2 -2
  1115. package/src/shared/constants/DowncitySchema.ts +1 -1
  1116. package/src/shared/types/AgentProject.ts +2 -2
  1117. package/src/shared/types/AuthControl.ts +38 -0
  1118. package/src/shared/types/AuthPlugin.ts +2 -2
  1119. package/src/shared/types/ChatPlugin.ts +1 -1
  1120. package/src/shared/types/ChatPromptContext.ts +1 -1
  1121. package/src/shared/types/ChatRuntime.ts +3 -3
  1122. package/src/shared/types/ChatService.ts +2 -2
  1123. package/src/shared/types/ControlRoutes.ts +31 -0
  1124. package/src/shared/types/ControlSessionExecute.ts +99 -0
  1125. package/src/shared/types/ControlViewData.ts +392 -0
  1126. package/src/shared/types/DowncityConfig.ts +6 -6
  1127. package/src/shared/types/ExecutionBinding.ts +2 -2
  1128. package/src/shared/types/InlineInstant.ts +8 -8
  1129. package/src/shared/types/LlmConfig.ts +1 -1
  1130. package/src/shared/types/LocalRpc.ts +1 -1
  1131. package/src/shared/types/ModelBinding.ts +2 -2
  1132. package/src/shared/types/Platform.ts +442 -0
  1133. package/src/shared/types/PlatformGateway.ts +196 -0
  1134. package/src/shared/types/Plugin.ts +2 -2
  1135. package/src/shared/types/PluginApi.ts +1 -1
  1136. package/src/shared/types/README.md +8 -5
  1137. package/src/shared/types/Service.ts +1 -1
  1138. package/src/shared/types/Services.ts +1 -1
  1139. package/src/shared/types/Store.ts +25 -3
  1140. package/src/shared/types/TaskService.ts +1 -1
  1141. package/src/shared/utils/README.md +3 -3
  1142. package/src/shared/utils/store/StoreChannelAccountRepository.ts +8 -8
  1143. package/src/shared/utils/store/StoreEnvRepository.ts +21 -21
  1144. package/src/shared/utils/store/StoreModelRepository.ts +29 -14
  1145. package/src/shared/utils/store/StoreSchema.ts +12 -12
  1146. package/src/shared/utils/store/StoreSecureSettings.ts +14 -14
  1147. package/src/shared/utils/store/StoreShared.ts +6 -6
  1148. package/src/shared/utils/store/crypto.ts +2 -2
  1149. package/src/shared/utils/store/index.ts +30 -20
  1150. package/src/shared/utils/store/schema.ts +1 -1
  1151. package/src/types/session/SessionHistoryMeta.ts +18 -0
  1152. package/src/types/session/SessionMessages.ts +1 -1
  1153. package/src/types/session/SessionRun.ts +17 -1
  1154. package/tsconfig.json +1 -1
  1155. package/tsconfig.tsbuildinfo +1 -1
  1156. package/bin/daemon/Api.d.ts +0 -60
  1157. package/bin/daemon/Api.d.ts.map +0 -1
  1158. package/bin/daemon/Api.js.map +0 -1
  1159. package/bin/daemon/Client.d.ts.map +0 -1
  1160. package/bin/daemon/Client.js +0 -158
  1161. package/bin/daemon/Client.js.map +0 -1
  1162. package/bin/daemon/Manager.d.ts +0 -92
  1163. package/bin/daemon/Manager.d.ts.map +0 -1
  1164. package/bin/daemon/Manager.js +0 -287
  1165. package/bin/daemon/Manager.js.map +0 -1
  1166. package/bin/daemon/ProjectSetup.d.ts.map +0 -1
  1167. package/bin/daemon/ProjectSetup.js +0 -101
  1168. package/bin/daemon/ProjectSetup.js.map +0 -1
  1169. package/bin/http/dashboard/AuthDashboardService.d.ts +0 -30
  1170. package/bin/http/dashboard/AuthDashboardService.d.ts.map +0 -1
  1171. package/bin/http/dashboard/AuthDashboardService.js +0 -120
  1172. package/bin/http/dashboard/AuthDashboardService.js.map +0 -1
  1173. package/bin/http/dashboard/CommonHelpers.d.ts +0 -24
  1174. package/bin/http/dashboard/CommonHelpers.d.ts.map +0 -1
  1175. package/bin/http/dashboard/CommonHelpers.js +0 -46
  1176. package/bin/http/dashboard/CommonHelpers.js.map +0 -1
  1177. package/bin/http/dashboard/DashboardApiRoutes.d.ts +0 -13
  1178. package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +0 -1
  1179. package/bin/http/dashboard/DashboardApiRoutes.js +0 -26
  1180. package/bin/http/dashboard/DashboardApiRoutes.js.map +0 -1
  1181. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +0 -17
  1182. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +0 -1
  1183. package/bin/http/dashboard/DashboardAuthorizationRoutes.js +0 -78
  1184. package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +0 -1
  1185. package/bin/http/dashboard/ExecuteBySession.d.ts +0 -39
  1186. package/bin/http/dashboard/ExecuteBySession.d.ts.map +0 -1
  1187. package/bin/http/dashboard/ExecuteBySession.js +0 -128
  1188. package/bin/http/dashboard/ExecuteBySession.js.map +0 -1
  1189. package/bin/http/dashboard/ExecuteInput.d.ts +0 -18
  1190. package/bin/http/dashboard/ExecuteInput.d.ts.map +0 -1
  1191. package/bin/http/dashboard/ExecuteInput.js +0 -201
  1192. package/bin/http/dashboard/ExecuteInput.js.map +0 -1
  1193. package/bin/http/dashboard/Helpers.d.ts +0 -13
  1194. package/bin/http/dashboard/Helpers.d.ts.map +0 -1
  1195. package/bin/http/dashboard/Helpers.js +0 -13
  1196. package/bin/http/dashboard/Helpers.js.map +0 -1
  1197. package/bin/http/dashboard/MessageTimeline.d.ts +0 -22
  1198. package/bin/http/dashboard/MessageTimeline.d.ts.map +0 -1
  1199. package/bin/http/dashboard/MessageTimeline.js +0 -226
  1200. package/bin/http/dashboard/MessageTimeline.js.map +0 -1
  1201. package/bin/http/dashboard/ModelRoutes.d.ts +0 -13
  1202. package/bin/http/dashboard/ModelRoutes.d.ts.map +0 -1
  1203. package/bin/http/dashboard/ModelRoutes.js +0 -87
  1204. package/bin/http/dashboard/ModelRoutes.js.map +0 -1
  1205. package/bin/http/dashboard/OverviewRoutes.d.ts +0 -13
  1206. package/bin/http/dashboard/OverviewRoutes.d.ts.map +0 -1
  1207. package/bin/http/dashboard/OverviewRoutes.js +0 -88
  1208. package/bin/http/dashboard/OverviewRoutes.js.map +0 -1
  1209. package/bin/http/dashboard/Router.d.ts +0 -14
  1210. package/bin/http/dashboard/Router.d.ts.map +0 -1
  1211. package/bin/http/dashboard/Router.js +0 -21
  1212. package/bin/http/dashboard/Router.js.map +0 -1
  1213. package/bin/http/dashboard/SessionRoutes.d.ts +0 -13
  1214. package/bin/http/dashboard/SessionRoutes.d.ts.map +0 -1
  1215. package/bin/http/dashboard/SessionRoutes.js +0 -315
  1216. package/bin/http/dashboard/SessionRoutes.js.map +0 -1
  1217. package/bin/http/dashboard/SessionSummaryStore.d.ts +0 -19
  1218. package/bin/http/dashboard/SessionSummaryStore.d.ts.map +0 -1
  1219. package/bin/http/dashboard/SessionSummaryStore.js +0 -62
  1220. package/bin/http/dashboard/SessionSummaryStore.js.map +0 -1
  1221. package/bin/http/dashboard/TaskRoutes.d.ts +0 -13
  1222. package/bin/http/dashboard/TaskRoutes.d.ts.map +0 -1
  1223. package/bin/http/dashboard/TaskRoutes.js +0 -318
  1224. package/bin/http/dashboard/TaskRoutes.js.map +0 -1
  1225. package/bin/http/dashboard/TaskStore.d.ts +0 -33
  1226. package/bin/http/dashboard/TaskStore.d.ts.map +0 -1
  1227. package/bin/http/dashboard/TaskStore.js +0 -157
  1228. package/bin/http/dashboard/TaskStore.js.map +0 -1
  1229. package/bin/rpc/Client.d.ts +0 -13
  1230. package/bin/rpc/Client.d.ts.map +0 -1
  1231. package/bin/rpc/Client.js.map +0 -1
  1232. package/bin/rpc/Paths.d.ts.map +0 -1
  1233. package/bin/rpc/Paths.js +0 -36
  1234. package/bin/rpc/Paths.js.map +0 -1
  1235. package/bin/rpc/Server.d.ts +0 -18
  1236. package/bin/rpc/Server.d.ts.map +0 -1
  1237. package/bin/rpc/Server.js +0 -307
  1238. package/bin/rpc/Server.js.map +0 -1
  1239. package/bin/rpc/Transport.d.ts +0 -21
  1240. package/bin/rpc/Transport.d.ts.map +0 -1
  1241. package/bin/rpc/Transport.js +0 -30
  1242. package/bin/rpc/Transport.js.map +0 -1
  1243. package/bin/runtime/AgentHostRuntime.d.ts +0 -10
  1244. package/bin/runtime/AgentHostRuntime.d.ts.map +0 -1
  1245. package/bin/runtime/AgentHostRuntime.js +0 -47
  1246. package/bin/runtime/AgentHostRuntime.js.map +0 -1
  1247. package/bin/runtime/CityPaths.d.ts +0 -61
  1248. package/bin/runtime/CityPaths.d.ts.map +0 -1
  1249. package/bin/runtime/CityPaths.js +0 -90
  1250. package/bin/runtime/CityPaths.js.map +0 -1
  1251. package/bin/runtime/CityRegistry.d.ts +0 -51
  1252. package/bin/runtime/CityRegistry.d.ts.map +0 -1
  1253. package/bin/runtime/CityRegistry.js +0 -217
  1254. package/bin/runtime/CityRegistry.js.map +0 -1
  1255. package/bin/runtime/CityRuntime.d.ts +0 -21
  1256. package/bin/runtime/CityRuntime.d.ts.map +0 -1
  1257. package/bin/runtime/CityRuntime.js +0 -45
  1258. package/bin/runtime/CityRuntime.js.map +0 -1
  1259. package/bin/runtime/PluginRuntime.d.ts +0 -24
  1260. package/bin/runtime/PluginRuntime.d.ts.map +0 -1
  1261. package/bin/runtime/PluginRuntime.js.map +0 -1
  1262. package/bin/runtime/ProcessSweep.d.ts +0 -76
  1263. package/bin/runtime/ProcessSweep.d.ts.map +0 -1
  1264. package/bin/runtime/ProcessSweep.js +0 -188
  1265. package/bin/runtime/ProcessSweep.js.map +0 -1
  1266. package/bin/service/Manager.d.ts +0 -13
  1267. package/bin/service/Manager.d.ts.map +0 -1
  1268. package/bin/service/Manager.js.map +0 -1
  1269. package/bin/service/ServiceActionApi.d.ts +0 -15
  1270. package/bin/service/ServiceActionApi.d.ts.map +0 -1
  1271. package/bin/service/ServiceActionApi.js +0 -234
  1272. package/bin/service/ServiceActionApi.js.map +0 -1
  1273. package/bin/service/ServiceActionRunner.d.ts +0 -44
  1274. package/bin/service/ServiceActionRunner.d.ts.map +0 -1
  1275. package/bin/service/ServiceActionRunner.js +0 -211
  1276. package/bin/service/ServiceActionRunner.js.map +0 -1
  1277. package/bin/service/ServiceClassRegistry.d.ts +0 -40
  1278. package/bin/service/ServiceClassRegistry.d.ts.map +0 -1
  1279. package/bin/service/ServiceClassRegistry.js +0 -64
  1280. package/bin/service/ServiceClassRegistry.js.map +0 -1
  1281. package/bin/service/ServiceManager.d.ts +0 -9
  1282. package/bin/service/ServiceManager.d.ts.map +0 -1
  1283. package/bin/service/ServiceManager.js.map +0 -1
  1284. package/bin/service/ServiceStateController.d.ts +0 -79
  1285. package/bin/service/ServiceStateController.d.ts.map +0 -1
  1286. package/bin/service/ServiceStateController.js +0 -245
  1287. package/bin/service/ServiceStateController.js.map +0 -1
  1288. package/bin/service/ServiceSystemProviders.d.ts +0 -27
  1289. package/bin/service/ServiceSystemProviders.d.ts.map +0 -1
  1290. package/bin/service/ServiceSystemProviders.js +0 -34
  1291. package/bin/service/ServiceSystemProviders.js.map +0 -1
  1292. package/bin/service/Services.d.ts +0 -18
  1293. package/bin/service/Services.d.ts.map +0 -1
  1294. package/bin/service/Services.js +0 -23
  1295. package/bin/service/Services.js.map +0 -1
  1296. package/bin/services/BaseService.d.ts +0 -62
  1297. package/bin/services/BaseService.d.ts.map +0 -1
  1298. package/bin/services/BaseService.js +0 -56
  1299. package/bin/services/BaseService.js.map +0 -1
  1300. package/bin/services/chat/Action.d.ts +0 -125
  1301. package/bin/services/chat/Action.d.ts.map +0 -1
  1302. package/bin/services/chat/Action.js +0 -376
  1303. package/bin/services/chat/Action.js.map +0 -1
  1304. package/bin/services/chat/ChatService.d.ts +0 -63
  1305. package/bin/services/chat/ChatService.d.ts.map +0 -1
  1306. package/bin/services/chat/ChatService.js +0 -96
  1307. package/bin/services/chat/ChatService.js.map +0 -1
  1308. package/bin/services/chat/Index.d.ts.map +0 -1
  1309. package/bin/services/chat/Index.js.map +0 -1
  1310. package/bin/services/chat/channels/BaseChatChannel.d.ts +0 -197
  1311. package/bin/services/chat/channels/BaseChatChannel.d.ts.map +0 -1
  1312. package/bin/services/chat/channels/BaseChatChannel.js +0 -278
  1313. package/bin/services/chat/channels/BaseChatChannel.js.map +0 -1
  1314. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +0 -73
  1315. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
  1316. package/bin/services/chat/channels/BaseChatChannelQueue.js +0 -238
  1317. package/bin/services/chat/channels/BaseChatChannelQueue.js.map +0 -1
  1318. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +0 -189
  1319. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
  1320. package/bin/services/chat/channels/BaseChatChannelSupport.js +0 -141
  1321. package/bin/services/chat/channels/BaseChatChannelSupport.js.map +0 -1
  1322. package/bin/services/chat/channels/BotInfoProvider.d.ts +0 -18
  1323. package/bin/services/chat/channels/BotInfoProvider.d.ts.map +0 -1
  1324. package/bin/services/chat/channels/BotInfoProvider.js +0 -32
  1325. package/bin/services/chat/channels/BotInfoProvider.js.map +0 -1
  1326. package/bin/services/chat/channels/Configuration.d.ts +0 -27
  1327. package/bin/services/chat/channels/Configuration.d.ts.map +0 -1
  1328. package/bin/services/chat/channels/Configuration.js.map +0 -1
  1329. package/bin/services/chat/channels/ConfigurationRegistry.d.ts +0 -18
  1330. package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
  1331. package/bin/services/chat/channels/ConfigurationRegistry.js +0 -31
  1332. package/bin/services/chat/channels/ConfigurationRegistry.js.map +0 -1
  1333. package/bin/services/chat/channels/feishu/BotInfo.d.ts +0 -20
  1334. package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +0 -1
  1335. package/bin/services/chat/channels/feishu/BotInfo.js.map +0 -1
  1336. package/bin/services/chat/channels/feishu/Configuration.d.ts +0 -17
  1337. package/bin/services/chat/channels/feishu/Configuration.d.ts.map +0 -1
  1338. package/bin/services/chat/channels/feishu/Configuration.js +0 -59
  1339. package/bin/services/chat/channels/feishu/Configuration.js.map +0 -1
  1340. package/bin/services/chat/channels/feishu/Feishu.d.ts +0 -116
  1341. package/bin/services/chat/channels/feishu/Feishu.d.ts.map +0 -1
  1342. package/bin/services/chat/channels/feishu/Feishu.js +0 -454
  1343. package/bin/services/chat/channels/feishu/Feishu.js.map +0 -1
  1344. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +0 -21
  1345. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
  1346. package/bin/services/chat/channels/feishu/FeishuInbound.js.map +0 -1
  1347. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
  1348. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
  1349. package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
  1350. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
  1351. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
  1352. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
  1353. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
  1354. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
  1355. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
  1356. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +0 -31
  1357. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
  1358. package/bin/services/chat/channels/feishu/InboundAttachment.js.map +0 -1
  1359. package/bin/services/chat/channels/feishu/PostMessage.d.ts +0 -48
  1360. package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +0 -1
  1361. package/bin/services/chat/channels/feishu/PostMessage.js.map +0 -1
  1362. package/bin/services/chat/channels/feishu/ReplyContext.d.ts +0 -18
  1363. package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
  1364. package/bin/services/chat/channels/feishu/ReplyContext.js.map +0 -1
  1365. package/bin/services/chat/channels/feishu/Shared.d.ts +0 -21
  1366. package/bin/services/chat/channels/feishu/Shared.d.ts.map +0 -1
  1367. package/bin/services/chat/channels/feishu/Shared.js +0 -69
  1368. package/bin/services/chat/channels/feishu/Shared.js.map +0 -1
  1369. package/bin/services/chat/channels/qq/BotInfo.d.ts +0 -19
  1370. package/bin/services/chat/channels/qq/BotInfo.d.ts.map +0 -1
  1371. package/bin/services/chat/channels/qq/BotInfo.js.map +0 -1
  1372. package/bin/services/chat/channels/qq/Configuration.d.ts +0 -17
  1373. package/bin/services/chat/channels/qq/Configuration.d.ts.map +0 -1
  1374. package/bin/services/chat/channels/qq/Configuration.js +0 -59
  1375. package/bin/services/chat/channels/qq/Configuration.js.map +0 -1
  1376. package/bin/services/chat/channels/qq/QQ.d.ts +0 -92
  1377. package/bin/services/chat/channels/qq/QQ.d.ts.map +0 -1
  1378. package/bin/services/chat/channels/qq/QQ.js +0 -481
  1379. package/bin/services/chat/channels/qq/QQ.js.map +0 -1
  1380. package/bin/services/chat/channels/qq/QQEventCapture.d.ts +0 -22
  1381. package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
  1382. package/bin/services/chat/channels/qq/QQEventCapture.js.map +0 -1
  1383. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
  1384. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
  1385. package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +0 -1
  1386. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +0 -179
  1387. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
  1388. package/bin/services/chat/channels/qq/QQGatewayClient.js +0 -540
  1389. package/bin/services/chat/channels/qq/QQGatewayClient.js.map +0 -1
  1390. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +0 -84
  1391. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
  1392. package/bin/services/chat/channels/qq/QQGatewaySend.js.map +0 -1
  1393. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
  1394. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
  1395. package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +0 -1
  1396. package/bin/services/chat/channels/qq/QQInbound.d.ts +0 -47
  1397. package/bin/services/chat/channels/qq/QQInbound.d.ts.map +0 -1
  1398. package/bin/services/chat/channels/qq/QQInbound.js.map +0 -1
  1399. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
  1400. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
  1401. package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +0 -1
  1402. package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
  1403. package/bin/services/chat/channels/qq/QQSendSupport.js.map +0 -1
  1404. package/bin/services/chat/channels/qq/QQSupport.d.ts +0 -102
  1405. package/bin/services/chat/channels/qq/QQSupport.d.ts.map +0 -1
  1406. package/bin/services/chat/channels/qq/QQSupport.js +0 -172
  1407. package/bin/services/chat/channels/qq/QQSupport.js.map +0 -1
  1408. package/bin/services/chat/channels/qq/VoiceInput.d.ts +0 -64
  1409. package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +0 -1
  1410. package/bin/services/chat/channels/qq/VoiceInput.js.map +0 -1
  1411. package/bin/services/chat/channels/telegram/ApiClient.d.ts +0 -99
  1412. package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +0 -1
  1413. package/bin/services/chat/channels/telegram/ApiClient.js.map +0 -1
  1414. package/bin/services/chat/channels/telegram/Bot.d.ts +0 -97
  1415. package/bin/services/chat/channels/telegram/Bot.d.ts.map +0 -1
  1416. package/bin/services/chat/channels/telegram/Bot.js +0 -500
  1417. package/bin/services/chat/channels/telegram/Bot.js.map +0 -1
  1418. package/bin/services/chat/channels/telegram/BotInfo.d.ts +0 -19
  1419. package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +0 -1
  1420. package/bin/services/chat/channels/telegram/BotInfo.js.map +0 -1
  1421. package/bin/services/chat/channels/telegram/Configuration.d.ts +0 -17
  1422. package/bin/services/chat/channels/telegram/Configuration.d.ts.map +0 -1
  1423. package/bin/services/chat/channels/telegram/Configuration.js +0 -59
  1424. package/bin/services/chat/channels/telegram/Configuration.js.map +0 -1
  1425. package/bin/services/chat/channels/telegram/Handlers.d.ts +0 -42
  1426. package/bin/services/chat/channels/telegram/Handlers.d.ts.map +0 -1
  1427. package/bin/services/chat/channels/telegram/Handlers.js.map +0 -1
  1428. package/bin/services/chat/channels/telegram/ReplyContext.d.ts +0 -14
  1429. package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
  1430. package/bin/services/chat/channels/telegram/ReplyContext.js.map +0 -1
  1431. package/bin/services/chat/channels/telegram/Shared.d.ts.map +0 -1
  1432. package/bin/services/chat/channels/telegram/Shared.js +0 -171
  1433. package/bin/services/chat/channels/telegram/Shared.js.map +0 -1
  1434. package/bin/services/chat/channels/telegram/StateStore.d.ts.map +0 -1
  1435. package/bin/services/chat/channels/telegram/StateStore.js.map +0 -1
  1436. package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
  1437. package/bin/services/chat/channels/telegram/TelegramInbound.js.map +0 -1
  1438. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
  1439. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
  1440. package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
  1441. package/bin/services/chat/runtime/ChannelContextStore.d.ts +0 -78
  1442. package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +0 -1
  1443. package/bin/services/chat/runtime/ChannelContextStore.js +0 -336
  1444. package/bin/services/chat/runtime/ChannelContextStore.js.map +0 -1
  1445. package/bin/services/chat/runtime/ChatActionExecution.d.ts +0 -145
  1446. package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +0 -1
  1447. package/bin/services/chat/runtime/ChatActionExecution.js +0 -287
  1448. package/bin/services/chat/runtime/ChatActionExecution.js.map +0 -1
  1449. package/bin/services/chat/runtime/ChatActionInput.d.ts +0 -63
  1450. package/bin/services/chat/runtime/ChatActionInput.d.ts.map +0 -1
  1451. package/bin/services/chat/runtime/ChatActionInput.js +0 -458
  1452. package/bin/services/chat/runtime/ChatActionInput.js.map +0 -1
  1453. package/bin/services/chat/runtime/ChatChannelActions.d.ts +0 -122
  1454. package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +0 -1
  1455. package/bin/services/chat/runtime/ChatChannelActions.js +0 -237
  1456. package/bin/services/chat/runtime/ChatChannelActions.js.map +0 -1
  1457. package/bin/services/chat/runtime/ChatChannelConfig.d.ts +0 -61
  1458. package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
  1459. package/bin/services/chat/runtime/ChatChannelConfig.js +0 -265
  1460. package/bin/services/chat/runtime/ChatChannelConfig.js.map +0 -1
  1461. package/bin/services/chat/runtime/ChatChannelCore.d.ts +0 -41
  1462. package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +0 -1
  1463. package/bin/services/chat/runtime/ChatChannelCore.js +0 -92
  1464. package/bin/services/chat/runtime/ChatChannelCore.js.map +0 -1
  1465. package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
  1466. package/bin/services/chat/runtime/ChatChannelFacade.js.map +0 -1
  1467. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
  1468. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
  1469. package/bin/services/chat/runtime/ChatChannelLifecycle.js +0 -132
  1470. package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +0 -1
  1471. package/bin/services/chat/runtime/ChatHistoryStore.d.ts +0 -72
  1472. package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
  1473. package/bin/services/chat/runtime/ChatHistoryStore.js +0 -219
  1474. package/bin/services/chat/runtime/ChatHistoryStore.js.map +0 -1
  1475. package/bin/services/chat/runtime/ChatIngressStore.d.ts +0 -52
  1476. package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +0 -1
  1477. package/bin/services/chat/runtime/ChatIngressStore.js +0 -65
  1478. package/bin/services/chat/runtime/ChatIngressStore.js.map +0 -1
  1479. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +0 -54
  1480. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
  1481. package/bin/services/chat/runtime/ChatMessageMarkup.js.map +0 -1
  1482. package/bin/services/chat/runtime/ChatMetaStore.d.ts +0 -68
  1483. package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +0 -1
  1484. package/bin/services/chat/runtime/ChatMetaStore.js.map +0 -1
  1485. package/bin/services/chat/runtime/ChatQueue.d.ts +0 -40
  1486. package/bin/services/chat/runtime/ChatQueue.d.ts.map +0 -1
  1487. package/bin/services/chat/runtime/ChatQueue.js.map +0 -1
  1488. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
  1489. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
  1490. package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
  1491. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
  1492. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
  1493. package/bin/services/chat/runtime/ChatQueueSessionBridge.js +0 -98
  1494. package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
  1495. package/bin/services/chat/runtime/ChatQueueStore.d.ts +0 -85
  1496. package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +0 -1
  1497. package/bin/services/chat/runtime/ChatQueueStore.js.map +0 -1
  1498. package/bin/services/chat/runtime/ChatQueueWorker.d.ts +0 -88
  1499. package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
  1500. package/bin/services/chat/runtime/ChatQueueWorker.js.map +0 -1
  1501. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
  1502. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
  1503. package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
  1504. package/bin/services/chat/runtime/ChatSendMetadata.d.ts +0 -20
  1505. package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
  1506. package/bin/services/chat/runtime/ChatSendMetadata.js.map +0 -1
  1507. package/bin/services/chat/runtime/ChatSendRegistry.d.ts +0 -27
  1508. package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
  1509. package/bin/services/chat/runtime/ChatSendRegistry.js.map +0 -1
  1510. package/bin/services/chat/runtime/ChatServiceActions.d.ts +0 -17
  1511. package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +0 -1
  1512. package/bin/services/chat/runtime/ChatServiceActions.js.map +0 -1
  1513. package/bin/services/chat/runtime/ChatServiceSystem.d.ts +0 -22
  1514. package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
  1515. package/bin/services/chat/runtime/ChatServiceSystem.js +0 -87
  1516. package/bin/services/chat/runtime/ChatServiceSystem.js.map +0 -1
  1517. package/bin/services/chat/runtime/ChatSession.d.ts +0 -73
  1518. package/bin/services/chat/runtime/ChatSession.d.ts.map +0 -1
  1519. package/bin/services/chat/runtime/ChatSession.js +0 -78
  1520. package/bin/services/chat/runtime/ChatSession.js.map +0 -1
  1521. package/bin/services/chat/runtime/ChatSessionDelete.d.ts +0 -29
  1522. package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
  1523. package/bin/services/chat/runtime/ChatSessionDelete.js +0 -76
  1524. package/bin/services/chat/runtime/ChatSessionDelete.js.map +0 -1
  1525. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +0 -45
  1526. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +0 -1
  1527. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +0 -60
  1528. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +0 -1
  1529. package/bin/services/chat/runtime/ChatkeySend.d.ts +0 -67
  1530. package/bin/services/chat/runtime/ChatkeySend.d.ts.map +0 -1
  1531. package/bin/services/chat/runtime/ChatkeySend.js.map +0 -1
  1532. package/bin/services/chat/runtime/DirectDispatchParser.d.ts +0 -22
  1533. package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
  1534. package/bin/services/chat/runtime/DirectDispatchParser.js +0 -133
  1535. package/bin/services/chat/runtime/DirectDispatchParser.js.map +0 -1
  1536. package/bin/services/chat/runtime/EnqueueDispatch.d.ts +0 -24
  1537. package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
  1538. package/bin/services/chat/runtime/EnqueueDispatch.js +0 -28
  1539. package/bin/services/chat/runtime/EnqueueDispatch.js.map +0 -1
  1540. package/bin/services/chat/runtime/InboundAugment.d.ts +0 -21
  1541. package/bin/services/chat/runtime/InboundAugment.d.ts.map +0 -1
  1542. package/bin/services/chat/runtime/InboundAugment.js +0 -50
  1543. package/bin/services/chat/runtime/InboundAugment.js.map +0 -1
  1544. package/bin/services/chat/runtime/PluginDispatch.d.ts +0 -43
  1545. package/bin/services/chat/runtime/PluginDispatch.d.ts.map +0 -1
  1546. package/bin/services/chat/runtime/PluginDispatch.js +0 -57
  1547. package/bin/services/chat/runtime/PluginDispatch.js.map +0 -1
  1548. package/bin/services/chat/runtime/PluginPoints.d.ts.map +0 -1
  1549. package/bin/services/chat/runtime/PluginPoints.js.map +0 -1
  1550. package/bin/services/chat/runtime/QueuedUserMessage.d.ts +0 -20
  1551. package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
  1552. package/bin/services/chat/runtime/QueuedUserMessage.js.map +0 -1
  1553. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +0 -29
  1554. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
  1555. package/bin/services/chat/runtime/ReplyContextFormatter.js.map +0 -1
  1556. package/bin/services/chat/runtime/ReplyDispatch.d.ts +0 -36
  1557. package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +0 -1
  1558. package/bin/services/chat/runtime/ReplyDispatch.js +0 -51
  1559. package/bin/services/chat/runtime/ReplyDispatch.js.map +0 -1
  1560. package/bin/services/chat/runtime/SystemPrompt.d.ts +0 -26
  1561. package/bin/services/chat/runtime/SystemPrompt.d.ts.map +0 -1
  1562. package/bin/services/chat/runtime/SystemPrompt.js +0 -70
  1563. package/bin/services/chat/runtime/SystemPrompt.js.map +0 -1
  1564. package/bin/services/chat/runtime/UIMessageTransformer.d.ts +0 -24
  1565. package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
  1566. package/bin/services/chat/runtime/UIMessageTransformer.js.map +0 -1
  1567. package/bin/services/chat/runtime/UserVisibleText.d.ts +0 -34
  1568. package/bin/services/chat/runtime/UserVisibleText.d.ts.map +0 -1
  1569. package/bin/services/chat/runtime/UserVisibleText.js.map +0 -1
  1570. package/bin/services/chat/types/BotInfo.d.ts +0 -97
  1571. package/bin/services/chat/types/BotInfo.d.ts.map +0 -1
  1572. package/bin/services/chat/types/BotInfo.js.map +0 -1
  1573. package/bin/services/chat/types/ChannelConfiguration.d.ts +0 -146
  1574. package/bin/services/chat/types/ChannelConfiguration.d.ts.map +0 -1
  1575. package/bin/services/chat/types/ChannelConfiguration.js.map +0 -1
  1576. package/bin/services/chat/types/ChannelContext.d.ts.map +0 -1
  1577. package/bin/services/chat/types/ChannelContext.js.map +0 -1
  1578. package/bin/services/chat/types/ChannelStatus.d.ts.map +0 -1
  1579. package/bin/services/chat/types/ChannelStatus.js.map +0 -1
  1580. package/bin/services/chat/types/ChatCommand.d.ts.map +0 -1
  1581. package/bin/services/chat/types/ChatCommand.js.map +0 -1
  1582. package/bin/services/chat/types/ChatDispatcher.d.ts.map +0 -1
  1583. package/bin/services/chat/types/ChatDispatcher.js.map +0 -1
  1584. package/bin/services/chat/types/ChatHistory.d.ts +0 -36
  1585. package/bin/services/chat/types/ChatHistory.d.ts.map +0 -1
  1586. package/bin/services/chat/types/ChatHistory.js.map +0 -1
  1587. package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +0 -1
  1588. package/bin/services/chat/types/ChatMessageMarkup.js.map +0 -1
  1589. package/bin/services/chat/types/ChatMeta.d.ts.map +0 -1
  1590. package/bin/services/chat/types/ChatMeta.js.map +0 -1
  1591. package/bin/services/chat/types/ChatQueue.d.ts +0 -44
  1592. package/bin/services/chat/types/ChatQueue.d.ts.map +0 -1
  1593. package/bin/services/chat/types/ChatQueue.js.map +0 -1
  1594. package/bin/services/chat/types/DirectDispatch.d.ts +0 -115
  1595. package/bin/services/chat/types/DirectDispatch.d.ts.map +0 -1
  1596. package/bin/services/chat/types/DirectDispatch.js.map +0 -1
  1597. package/bin/services/chat/types/FeishuAttachment.d.ts.map +0 -1
  1598. package/bin/services/chat/types/FeishuAttachment.js.map +0 -1
  1599. package/bin/services/chat/types/FeishuInboundAttachment.d.ts +0 -114
  1600. package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
  1601. package/bin/services/chat/types/FeishuInboundAttachment.js.map +0 -1
  1602. package/bin/services/chat/types/FeishuPost.d.ts.map +0 -1
  1603. package/bin/services/chat/types/FeishuPost.js.map +0 -1
  1604. package/bin/services/chat/types/QqInboundDedupe.d.ts.map +0 -1
  1605. package/bin/services/chat/types/QqInboundDedupe.js.map +0 -1
  1606. package/bin/services/chat/types/QqVoice.d.ts.map +0 -1
  1607. package/bin/services/chat/types/QqVoice.js.map +0 -1
  1608. package/bin/services/chat/types/ReplyContext.d.ts.map +0 -1
  1609. package/bin/services/chat/types/ReplyContext.js.map +0 -1
  1610. package/bin/services/contact/Action.d.ts.map +0 -1
  1611. package/bin/services/contact/Action.js.map +0 -1
  1612. package/bin/services/contact/ContactService.d.ts +0 -39
  1613. package/bin/services/contact/ContactService.d.ts.map +0 -1
  1614. package/bin/services/contact/ContactService.js +0 -683
  1615. package/bin/services/contact/ContactService.js.map +0 -1
  1616. package/bin/services/contact/Index.d.ts.map +0 -1
  1617. package/bin/services/contact/Index.js.map +0 -1
  1618. package/bin/services/contact/runtime/ApproveCallback.d.ts +0 -23
  1619. package/bin/services/contact/runtime/ApproveCallback.d.ts.map +0 -1
  1620. package/bin/services/contact/runtime/ApproveCallback.js.map +0 -1
  1621. package/bin/services/contact/runtime/ChatRuntime.d.ts +0 -27
  1622. package/bin/services/contact/runtime/ChatRuntime.d.ts.map +0 -1
  1623. package/bin/services/contact/runtime/ChatRuntime.js.map +0 -1
  1624. package/bin/services/contact/runtime/ContactStore.d.ts +0 -49
  1625. package/bin/services/contact/runtime/ContactStore.d.ts.map +0 -1
  1626. package/bin/services/contact/runtime/ContactStore.js.map +0 -1
  1627. package/bin/services/contact/runtime/EndpointNotice.d.ts +0 -39
  1628. package/bin/services/contact/runtime/EndpointNotice.d.ts.map +0 -1
  1629. package/bin/services/contact/runtime/EndpointNotice.js.map +0 -1
  1630. package/bin/services/contact/runtime/EndpointResolver.d.ts.map +0 -1
  1631. package/bin/services/contact/runtime/EndpointResolver.js.map +0 -1
  1632. package/bin/services/contact/runtime/InboxStore.d.ts +0 -33
  1633. package/bin/services/contact/runtime/InboxStore.d.ts.map +0 -1
  1634. package/bin/services/contact/runtime/InboxStore.js.map +0 -1
  1635. package/bin/services/contact/runtime/LinkApproval.d.ts +0 -20
  1636. package/bin/services/contact/runtime/LinkApproval.d.ts.map +0 -1
  1637. package/bin/services/contact/runtime/LinkApproval.js.map +0 -1
  1638. package/bin/services/contact/runtime/LinkCode.d.ts +0 -21
  1639. package/bin/services/contact/runtime/LinkCode.d.ts.map +0 -1
  1640. package/bin/services/contact/runtime/LinkCode.js.map +0 -1
  1641. package/bin/services/contact/runtime/LinkStore.d.ts +0 -17
  1642. package/bin/services/contact/runtime/LinkStore.d.ts.map +0 -1
  1643. package/bin/services/contact/runtime/LinkStore.js.map +0 -1
  1644. package/bin/services/contact/runtime/Paths.d.ts.map +0 -1
  1645. package/bin/services/contact/runtime/Paths.js.map +0 -1
  1646. package/bin/services/contact/runtime/RemoteClient.d.ts +0 -46
  1647. package/bin/services/contact/runtime/RemoteClient.d.ts.map +0 -1
  1648. package/bin/services/contact/runtime/RemoteClient.js.map +0 -1
  1649. package/bin/services/contact/runtime/ShareBundle.d.ts +0 -65
  1650. package/bin/services/contact/runtime/ShareBundle.d.ts.map +0 -1
  1651. package/bin/services/contact/runtime/ShareBundle.js.map +0 -1
  1652. package/bin/services/contact/runtime/SystemProvider.d.ts.map +0 -1
  1653. package/bin/services/contact/runtime/SystemProvider.js.map +0 -1
  1654. package/bin/services/contact/runtime/Token.d.ts.map +0 -1
  1655. package/bin/services/contact/runtime/Token.js.map +0 -1
  1656. package/bin/services/memory/Action.d.ts +0 -41
  1657. package/bin/services/memory/Action.d.ts.map +0 -1
  1658. package/bin/services/memory/Action.js.map +0 -1
  1659. package/bin/services/memory/Index.d.ts.map +0 -1
  1660. package/bin/services/memory/Index.js.map +0 -1
  1661. package/bin/services/memory/MemoryService.d.ts +0 -45
  1662. package/bin/services/memory/MemoryService.d.ts.map +0 -1
  1663. package/bin/services/memory/MemoryService.js +0 -299
  1664. package/bin/services/memory/MemoryService.js.map +0 -1
  1665. package/bin/services/memory/runtime/Flush.d.ts +0 -15
  1666. package/bin/services/memory/runtime/Flush.d.ts.map +0 -1
  1667. package/bin/services/memory/runtime/Flush.js.map +0 -1
  1668. package/bin/services/memory/runtime/Indexer.d.ts +0 -71
  1669. package/bin/services/memory/runtime/Indexer.d.ts.map +0 -1
  1670. package/bin/services/memory/runtime/Indexer.js.map +0 -1
  1671. package/bin/services/memory/runtime/Search.d.ts +0 -15
  1672. package/bin/services/memory/runtime/Search.d.ts.map +0 -1
  1673. package/bin/services/memory/runtime/Search.js.map +0 -1
  1674. package/bin/services/memory/runtime/Store.d.ts +0 -106
  1675. package/bin/services/memory/runtime/Store.d.ts.map +0 -1
  1676. package/bin/services/memory/runtime/Store.js.map +0 -1
  1677. package/bin/services/memory/runtime/SystemProvider.d.ts +0 -22
  1678. package/bin/services/memory/runtime/SystemProvider.d.ts.map +0 -1
  1679. package/bin/services/memory/runtime/SystemProvider.js.map +0 -1
  1680. package/bin/services/memory/runtime/Writer.d.ts +0 -23
  1681. package/bin/services/memory/runtime/Writer.d.ts.map +0 -1
  1682. package/bin/services/memory/runtime/Writer.js.map +0 -1
  1683. package/bin/services/memory/types/Memory.d.ts +0 -318
  1684. package/bin/services/memory/types/Memory.d.ts.map +0 -1
  1685. package/bin/services/memory/types/Memory.js.map +0 -1
  1686. package/bin/services/shell/Index.d.ts.map +0 -1
  1687. package/bin/services/shell/Index.js.map +0 -1
  1688. package/bin/services/shell/ShellService.d.ts +0 -65
  1689. package/bin/services/shell/ShellService.d.ts.map +0 -1
  1690. package/bin/services/shell/ShellService.js +0 -138
  1691. package/bin/services/shell/ShellService.js.map +0 -1
  1692. package/bin/services/shell/runtime/Paths.d.ts.map +0 -1
  1693. package/bin/services/shell/runtime/Paths.js.map +0 -1
  1694. package/bin/services/shell/runtime/ShellActionRuntime.d.ts +0 -49
  1695. package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
  1696. package/bin/services/shell/runtime/ShellActionRuntime.js +0 -463
  1697. package/bin/services/shell/runtime/ShellActionRuntime.js.map +0 -1
  1698. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -107
  1699. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
  1700. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +0 -452
  1701. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
  1702. package/bin/services/shell/types/ShellService.d.ts.map +0 -1
  1703. package/bin/services/shell/types/ShellService.js.map +0 -1
  1704. package/bin/services/task/Action.d.ts +0 -36
  1705. package/bin/services/task/Action.d.ts.map +0 -1
  1706. package/bin/services/task/Action.js.map +0 -1
  1707. package/bin/services/task/Index.d.ts.map +0 -1
  1708. package/bin/services/task/Index.js.map +0 -1
  1709. package/bin/services/task/Scheduler.d.ts +0 -17
  1710. package/bin/services/task/Scheduler.d.ts.map +0 -1
  1711. package/bin/services/task/Scheduler.js +0 -231
  1712. package/bin/services/task/Scheduler.js.map +0 -1
  1713. package/bin/services/task/TaskService.d.ts +0 -57
  1714. package/bin/services/task/TaskService.d.ts.map +0 -1
  1715. package/bin/services/task/TaskService.js +0 -126
  1716. package/bin/services/task/TaskService.js.map +0 -1
  1717. package/bin/services/task/runtime/CronRuntime.d.ts +0 -34
  1718. package/bin/services/task/runtime/CronRuntime.d.ts.map +0 -1
  1719. package/bin/services/task/runtime/CronRuntime.js +0 -59
  1720. package/bin/services/task/runtime/CronRuntime.js.map +0 -1
  1721. package/bin/services/task/runtime/CronTrigger.d.ts.map +0 -1
  1722. package/bin/services/task/runtime/CronTrigger.js.map +0 -1
  1723. package/bin/services/task/runtime/Frontmatter.d.ts.map +0 -1
  1724. package/bin/services/task/runtime/Frontmatter.js.map +0 -1
  1725. package/bin/services/task/runtime/Model.d.ts +0 -73
  1726. package/bin/services/task/runtime/Model.d.ts.map +0 -1
  1727. package/bin/services/task/runtime/Model.js.map +0 -1
  1728. package/bin/services/task/runtime/Paths.d.ts.map +0 -1
  1729. package/bin/services/task/runtime/Paths.js.map +0 -1
  1730. package/bin/services/task/runtime/Runner.d.ts +0 -43
  1731. package/bin/services/task/runtime/Runner.d.ts.map +0 -1
  1732. package/bin/services/task/runtime/Runner.js.map +0 -1
  1733. package/bin/services/task/runtime/Store.d.ts +0 -89
  1734. package/bin/services/task/runtime/Store.d.ts.map +0 -1
  1735. package/bin/services/task/runtime/Store.js.map +0 -1
  1736. package/bin/services/task/runtime/TaskActionExecution.d.ts +0 -160
  1737. package/bin/services/task/runtime/TaskActionExecution.d.ts.map +0 -1
  1738. package/bin/services/task/runtime/TaskActionExecution.js +0 -192
  1739. package/bin/services/task/runtime/TaskActionExecution.js.map +0 -1
  1740. package/bin/services/task/runtime/TaskActionInput.d.ts +0 -48
  1741. package/bin/services/task/runtime/TaskActionInput.d.ts.map +0 -1
  1742. package/bin/services/task/runtime/TaskActionInput.js +0 -357
  1743. package/bin/services/task/runtime/TaskActionInput.js.map +0 -1
  1744. package/bin/services/task/runtime/TaskRunArtifacts.d.ts +0 -189
  1745. package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
  1746. package/bin/services/task/runtime/TaskRunArtifacts.js.map +0 -1
  1747. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +0 -22
  1748. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
  1749. package/bin/services/task/runtime/TaskRunChatDispatch.js.map +0 -1
  1750. package/bin/services/task/runtime/TaskRunnerProgress.d.ts +0 -35
  1751. package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
  1752. package/bin/services/task/runtime/TaskRunnerProgress.js.map +0 -1
  1753. package/bin/services/task/runtime/TaskRunnerRound.d.ts +0 -80
  1754. package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +0 -1
  1755. package/bin/services/task/runtime/TaskRunnerRound.js +0 -272
  1756. package/bin/services/task/runtime/TaskRunnerRound.js.map +0 -1
  1757. package/bin/services/task/runtime/TaskRunnerSession.d.ts +0 -45
  1758. package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +0 -1
  1759. package/bin/services/task/runtime/TaskRunnerSession.js +0 -138
  1760. package/bin/services/task/runtime/TaskRunnerSession.js.map +0 -1
  1761. package/bin/services/task/runtime/TaskServiceActions.d.ts +0 -16
  1762. package/bin/services/task/runtime/TaskServiceActions.d.ts.map +0 -1
  1763. package/bin/services/task/runtime/TaskServiceActions.js.map +0 -1
  1764. package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +0 -1
  1765. package/bin/services/task/runtime/TaskServiceSystem.js.map +0 -1
  1766. package/bin/services/task/types/Cron.d.ts.map +0 -1
  1767. package/bin/services/task/types/Cron.js.map +0 -1
  1768. package/bin/services/task/types/Task.d.ts.map +0 -1
  1769. package/bin/services/task/types/Task.js.map +0 -1
  1770. package/bin/services/task/types/TaskCommand.d.ts.map +0 -1
  1771. package/bin/services/task/types/TaskCommand.js.map +0 -1
  1772. package/bin/shared/types/AuthDashboard.d.ts +0 -30
  1773. package/bin/shared/types/AuthDashboard.d.ts.map +0 -1
  1774. package/bin/shared/types/AuthDashboard.js +0 -9
  1775. package/bin/shared/types/AuthDashboard.js.map +0 -1
  1776. package/bin/shared/types/Console.d.ts +0 -373
  1777. package/bin/shared/types/Console.d.ts.map +0 -1
  1778. package/bin/shared/types/Console.js +0 -9
  1779. package/bin/shared/types/Console.js.map +0 -1
  1780. package/bin/shared/types/ConsoleGateway.d.ts +0 -174
  1781. package/bin/shared/types/ConsoleGateway.d.ts.map +0 -1
  1782. package/bin/shared/types/ConsoleGateway.js +0 -9
  1783. package/bin/shared/types/ConsoleGateway.js.map +0 -1
  1784. package/bin/shared/types/DashboardData.d.ts +0 -320
  1785. package/bin/shared/types/DashboardData.d.ts.map +0 -1
  1786. package/bin/shared/types/DashboardData.js +0 -9
  1787. package/bin/shared/types/DashboardData.js.map +0 -1
  1788. package/bin/shared/types/DashboardRoutes.d.ts +0 -28
  1789. package/bin/shared/types/DashboardRoutes.d.ts.map +0 -1
  1790. package/bin/shared/types/DashboardRoutes.js +0 -9
  1791. package/bin/shared/types/DashboardRoutes.js.map +0 -1
  1792. package/bin/shared/types/DashboardSessionExecute.d.ts +0 -85
  1793. package/bin/shared/types/DashboardSessionExecute.d.ts.map +0 -1
  1794. package/bin/shared/types/DashboardSessionExecute.js +0 -9
  1795. package/bin/shared/types/DashboardSessionExecute.js.map +0 -1
  1796. package/bin/types/agent/AgentContext.d.ts +0 -345
  1797. package/bin/types/agent/AgentContext.d.ts.map +0 -1
  1798. package/bin/types/agent/AgentContext.js +0 -10
  1799. package/bin/types/agent/AgentContext.js.map +0 -1
  1800. package/bin/types/agent/AgentRuntime.d.ts +0 -81
  1801. package/bin/types/agent/AgentRuntime.d.ts.map +0 -1
  1802. package/bin/types/agent/AgentRuntime.js +0 -10
  1803. package/bin/types/agent/AgentRuntime.js.map +0 -1
  1804. package/bin/types/chat/ChatSession.d.ts +0 -30
  1805. package/bin/types/chat/ChatSession.d.ts.map +0 -1
  1806. package/bin/types/chat/ChatSession.js +0 -9
  1807. package/bin/types/chat/ChatSession.js.map +0 -1
  1808. package/bin/types/city/PublicHostEnv.d.ts +0 -72
  1809. package/bin/types/city/PublicHostEnv.d.ts.map +0 -1
  1810. package/bin/types/city/PublicHostEnv.js +0 -9
  1811. package/bin/types/city/PublicHostEnv.js.map +0 -1
  1812. package/bin/types/cli/AgentChat.d.ts +0 -147
  1813. package/bin/types/cli/AgentChat.d.ts.map +0 -1
  1814. package/bin/types/cli/AgentChat.js +0 -12
  1815. package/bin/types/cli/AgentChat.js.map +0 -1
  1816. package/bin/types/cli/AgentSelection.d.ts +0 -146
  1817. package/bin/types/cli/AgentSelection.d.ts.map +0 -1
  1818. package/bin/types/cli/AgentSelection.js +0 -9
  1819. package/bin/types/cli/AgentSelection.js.map +0 -1
  1820. package/bin/types/cli/CliReporter.d.ts +0 -157
  1821. package/bin/types/cli/CliReporter.d.ts.map +0 -1
  1822. package/bin/types/cli/CliReporter.js +0 -10
  1823. package/bin/types/cli/CliReporter.js.map +0 -1
  1824. package/bin/types/cli/ModelManager.d.ts +0 -127
  1825. package/bin/types/cli/ModelManager.d.ts.map +0 -1
  1826. package/bin/types/cli/ModelManager.js +0 -9
  1827. package/bin/types/cli/ModelManager.js.map +0 -1
  1828. package/bin/types/contact/Contact.d.ts.map +0 -1
  1829. package/bin/types/contact/Contact.js.map +0 -1
  1830. package/bin/types/contact/ContactApproval.d.ts.map +0 -1
  1831. package/bin/types/contact/ContactApproval.js.map +0 -1
  1832. package/bin/types/contact/ContactChat.d.ts.map +0 -1
  1833. package/bin/types/contact/ContactChat.js.map +0 -1
  1834. package/bin/types/contact/ContactCheck.d.ts.map +0 -1
  1835. package/bin/types/contact/ContactCheck.js.map +0 -1
  1836. package/bin/types/contact/ContactCommand.d.ts.map +0 -1
  1837. package/bin/types/contact/ContactCommand.js.map +0 -1
  1838. package/bin/types/contact/ContactEndpoint.d.ts.map +0 -1
  1839. package/bin/types/contact/ContactEndpoint.js.map +0 -1
  1840. package/bin/types/contact/ContactLink.d.ts.map +0 -1
  1841. package/bin/types/contact/ContactLink.js.map +0 -1
  1842. package/bin/types/contact/ContactShare.d.ts.map +0 -1
  1843. package/bin/types/contact/ContactShare.js.map +0 -1
  1844. package/bin/types/shell/ShellRuntime.d.ts +0 -91
  1845. package/bin/types/shell/ShellRuntime.d.ts.map +0 -1
  1846. package/bin/types/shell/ShellRuntime.js +0 -10
  1847. package/bin/types/shell/ShellRuntime.js.map +0 -1
  1848. package/bin/types/task/TaskRunner.d.ts +0 -186
  1849. package/bin/types/task/TaskRunner.d.ts.map +0 -1
  1850. package/bin/types/task/TaskRunner.js +0 -9
  1851. package/bin/types/task/TaskRunner.js.map +0 -1
  1852. package/src/daemon/Client.ts +0 -182
  1853. package/src/daemon/Manager.ts +0 -344
  1854. package/src/daemon/ProjectSetup.ts +0 -126
  1855. package/src/http/dashboard/AuthDashboardService.ts +0 -161
  1856. package/src/http/dashboard/CommonHelpers.ts +0 -50
  1857. package/src/http/dashboard/DashboardApiRoutes.ts +0 -30
  1858. package/src/http/dashboard/DashboardAuthorizationRoutes.ts +0 -101
  1859. package/src/http/dashboard/ExecuteBySession.ts +0 -151
  1860. package/src/http/dashboard/ExecuteInput.ts +0 -236
  1861. package/src/http/dashboard/Helpers.ts +0 -22
  1862. package/src/http/dashboard/MessageTimeline.ts +0 -269
  1863. package/src/http/dashboard/ModelRoutes.ts +0 -102
  1864. package/src/http/dashboard/OverviewRoutes.ts +0 -101
  1865. package/src/http/dashboard/Router.ts +0 -26
  1866. package/src/http/dashboard/SessionRoutes.ts +0 -394
  1867. package/src/http/dashboard/SessionSummaryStore.ts +0 -76
  1868. package/src/http/dashboard/TaskRoutes.ts +0 -372
  1869. package/src/http/dashboard/TaskStore.ts +0 -222
  1870. package/src/rpc/Client.ts +0 -110
  1871. package/src/rpc/Paths.ts +0 -43
  1872. package/src/rpc/Server.ts +0 -395
  1873. package/src/rpc/Transport.ts +0 -40
  1874. package/src/runtime/CityPaths.ts +0 -101
  1875. package/src/runtime/CityRegistry.ts +0 -256
  1876. package/src/runtime/CityRuntime.ts +0 -45
  1877. package/src/runtime/PluginRuntime.ts +0 -42
  1878. package/src/runtime/ProcessSweep.ts +0 -239
  1879. package/src/service/ServiceActionApi.ts +0 -304
  1880. package/src/service/ServiceActionRunner.ts +0 -272
  1881. package/src/service/ServiceClassRegistry.ts +0 -77
  1882. package/src/service/ServiceStateController.ts +0 -316
  1883. package/src/service/ServiceSystemProviders.ts +0 -50
  1884. package/src/service/Services.ts +0 -33
  1885. package/src/services/BaseService.ts +0 -85
  1886. package/src/services/chat/Action.ts +0 -477
  1887. package/src/services/chat/ChatService.ts +0 -111
  1888. package/src/services/chat/channels/BaseChatChannel.ts +0 -425
  1889. package/src/services/chat/channels/BaseChatChannelQueue.ts +0 -321
  1890. package/src/services/chat/channels/BaseChatChannelSupport.ts +0 -321
  1891. package/src/services/chat/channels/BotInfoProvider.ts +0 -49
  1892. package/src/services/chat/channels/Configuration.ts +0 -35
  1893. package/src/services/chat/channels/ConfigurationRegistry.ts +0 -43
  1894. package/src/services/chat/channels/feishu/BotInfo.ts +0 -199
  1895. package/src/services/chat/channels/feishu/Configuration.ts +0 -65
  1896. package/src/services/chat/channels/feishu/Feishu.ts +0 -630
  1897. package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
  1898. package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
  1899. package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
  1900. package/src/services/chat/channels/feishu/InboundAttachment.ts +0 -261
  1901. package/src/services/chat/channels/feishu/PostMessage.ts +0 -492
  1902. package/src/services/chat/channels/feishu/ReplyContext.ts +0 -68
  1903. package/src/services/chat/channels/feishu/Shared.ts +0 -94
  1904. package/src/services/chat/channels/qq/BotInfo.ts +0 -137
  1905. package/src/services/chat/channels/qq/Configuration.ts +0 -64
  1906. package/src/services/chat/channels/qq/QQ.ts +0 -629
  1907. package/src/services/chat/channels/qq/QQGatewayAuth.ts +0 -318
  1908. package/src/services/chat/channels/qq/QQInbound.ts +0 -262
  1909. package/src/services/chat/channels/qq/QQInboundDedupe.ts +0 -126
  1910. package/src/services/chat/channels/qq/QQSupport.ts +0 -263
  1911. package/src/services/chat/channels/qq/VoiceInput.ts +0 -381
  1912. package/src/services/chat/channels/telegram/Bot.ts +0 -648
  1913. package/src/services/chat/channels/telegram/BotInfo.ts +0 -92
  1914. package/src/services/chat/channels/telegram/Configuration.ts +0 -65
  1915. package/src/services/chat/channels/telegram/ReplyContext.ts +0 -76
  1916. package/src/services/chat/channels/telegram/Shared.ts +0 -404
  1917. package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
  1918. package/src/services/chat/runtime/ChannelContextStore.ts +0 -395
  1919. package/src/services/chat/runtime/ChatActionExecution.ts +0 -362
  1920. package/src/services/chat/runtime/ChatActionInput.ts +0 -590
  1921. package/src/services/chat/runtime/ChatChannelActions.ts +0 -313
  1922. package/src/services/chat/runtime/ChatChannelConfig.ts +0 -334
  1923. package/src/services/chat/runtime/ChatChannelCore.ts +0 -112
  1924. package/src/services/chat/runtime/ChatChannelLifecycle.ts +0 -165
  1925. package/src/services/chat/runtime/ChatHistoryStore.ts +0 -289
  1926. package/src/services/chat/runtime/ChatIngressStore.ts +0 -88
  1927. package/src/services/chat/runtime/ChatMessageMarkup.ts +0 -263
  1928. package/src/services/chat/runtime/ChatMetaStore.ts +0 -186
  1929. package/src/services/chat/runtime/ChatQueue.ts +0 -77
  1930. package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
  1931. package/src/services/chat/runtime/ChatQueueSessionBridge.ts +0 -122
  1932. package/src/services/chat/runtime/ChatQueueStore.ts +0 -185
  1933. package/src/services/chat/runtime/ChatQueueWorker.ts +0 -504
  1934. package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
  1935. package/src/services/chat/runtime/ChatSendMetadata.ts +0 -170
  1936. package/src/services/chat/runtime/ChatSendRegistry.ts +0 -43
  1937. package/src/services/chat/runtime/ChatServiceSystem.ts +0 -119
  1938. package/src/services/chat/runtime/ChatSession.ts +0 -125
  1939. package/src/services/chat/runtime/ChatSessionDelete.ts +0 -95
  1940. package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +0 -106
  1941. package/src/services/chat/runtime/ChatkeySend.ts +0 -187
  1942. package/src/services/chat/runtime/DirectDispatchParser.ts +0 -158
  1943. package/src/services/chat/runtime/EnqueueDispatch.ts +0 -49
  1944. package/src/services/chat/runtime/InboundAugment.ts +0 -63
  1945. package/src/services/chat/runtime/PluginDispatch.ts +0 -89
  1946. package/src/services/chat/runtime/ReplyContextFormatter.ts +0 -85
  1947. package/src/services/chat/runtime/ReplyDispatch.ts +0 -78
  1948. package/src/services/chat/runtime/SystemPrompt.ts +0 -84
  1949. package/src/services/chat/types/BotInfo.ts +0 -101
  1950. package/src/services/chat/types/ChannelConfiguration.ts +0 -161
  1951. package/src/services/chat/types/ChatHistory.ts +0 -42
  1952. package/src/services/chat/types/DirectDispatch.ts +0 -133
  1953. package/src/services/chat/types/FeishuInboundAttachment.ts +0 -138
  1954. package/src/services/contact/ContactService.ts +0 -799
  1955. package/src/services/contact/runtime/ApproveCallback.ts +0 -97
  1956. package/src/services/contact/runtime/ChatRuntime.ts +0 -82
  1957. package/src/services/contact/runtime/ContactStore.ts +0 -299
  1958. package/src/services/contact/runtime/EndpointNotice.ts +0 -125
  1959. package/src/services/contact/runtime/InboxStore.ts +0 -178
  1960. package/src/services/contact/runtime/LinkApproval.ts +0 -387
  1961. package/src/services/contact/runtime/LinkCode.ts +0 -70
  1962. package/src/services/contact/runtime/LinkStore.ts +0 -50
  1963. package/src/services/contact/runtime/ShareBundle.ts +0 -286
  1964. package/src/services/memory/Action.ts +0 -188
  1965. package/src/services/memory/MemoryService.ts +0 -329
  1966. package/src/services/memory/runtime/Flush.ts +0 -83
  1967. package/src/services/memory/runtime/Indexer.ts +0 -466
  1968. package/src/services/memory/runtime/Search.ts +0 -90
  1969. package/src/services/memory/runtime/Store.ts +0 -370
  1970. package/src/services/memory/runtime/SystemProvider.ts +0 -145
  1971. package/src/services/memory/runtime/Writer.ts +0 -174
  1972. package/src/services/shell/ShellService.ts +0 -199
  1973. package/src/services/shell/runtime/ShellActionRuntime.ts +0 -579
  1974. package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +0 -552
  1975. package/src/services/task/Action.ts +0 -491
  1976. package/src/services/task/Scheduler.ts +0 -245
  1977. package/src/services/task/TaskService.ts +0 -167
  1978. package/src/services/task/runtime/CronRuntime.ts +0 -73
  1979. package/src/services/task/runtime/Model.ts +0 -347
  1980. package/src/services/task/runtime/Runner.ts +0 -558
  1981. package/src/services/task/runtime/Store.ts +0 -253
  1982. package/src/services/task/runtime/TaskActionExecution.ts +0 -276
  1983. package/src/services/task/runtime/TaskActionInput.ts +0 -463
  1984. package/src/services/task/runtime/TaskRunArtifacts.ts +0 -493
  1985. package/src/services/task/runtime/TaskRunChatDispatch.ts +0 -81
  1986. package/src/services/task/runtime/TaskRunnerProgress.ts +0 -112
  1987. package/src/services/task/runtime/TaskRunnerRound.ts +0 -337
  1988. package/src/services/task/runtime/TaskRunnerSession.ts +0 -167
  1989. package/src/services/task/runtime/TaskServiceActions.ts +0 -248
  1990. package/src/shared/types/AuthDashboard.ts +0 -38
  1991. package/src/shared/types/Console.ts +0 -448
  1992. package/src/shared/types/ConsoleGateway.ts +0 -196
  1993. package/src/shared/types/DashboardData.ts +0 -392
  1994. package/src/shared/types/DashboardRoutes.ts +0 -31
  1995. package/src/shared/types/DashboardSessionExecute.ts +0 -99
  1996. package/src/types/agent/AgentContext.ts +0 -380
  1997. package/src/types/agent/AgentRuntime.ts +0 -86
  1998. package/src/types/city/PublicHostEnv.ts +0 -76
  1999. package/src/types/cli/AgentChat.ts +0 -172
  2000. package/src/types/cli/AgentSelection.ts +0 -162
  2001. package/src/types/cli/CliReporter.ts +0 -167
  2002. package/src/types/cli/ModelManager.ts +0 -139
  2003. package/src/types/shell/ShellRuntime.ts +0 -94
  2004. package/src/types/task/TaskRunner.ts +0 -199
  2005. /package/bin/{daemon → host/daemon}/Api.js +0 -0
  2006. /package/bin/{daemon → host/daemon}/Client.d.ts +0 -0
  2007. /package/bin/{daemon → host/daemon}/ProjectSetup.d.ts +0 -0
  2008. /package/bin/{rpc → host/rpc}/Client.js +0 -0
  2009. /package/bin/{rpc → host/rpc}/Paths.d.ts +0 -0
  2010. /package/bin/{runtime → host/runtime}/PluginRuntime.js +0 -0
  2011. /package/bin/{services → service/builtins}/chat/Index.d.ts +0 -0
  2012. /package/bin/{services → service/builtins}/chat/Index.js +0 -0
  2013. /package/bin/{services → service/builtins}/chat/PROMPT.direct.txt +0 -0
  2014. /package/bin/{services → service/builtins}/chat/channels/Configuration.js +0 -0
  2015. /package/bin/{services → service/builtins}/chat/channels/feishu/BotInfo.js +0 -0
  2016. /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuInbound.js +0 -0
  2017. /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformClient.js +0 -0
  2018. /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformLookup.js +0 -0
  2019. /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformMessaging.js +0 -0
  2020. /package/bin/{services → service/builtins}/chat/channels/feishu/InboundAttachment.js +0 -0
  2021. /package/bin/{services → service/builtins}/chat/channels/feishu/PROMPT.direct.txt +0 -0
  2022. /package/bin/{services → service/builtins}/chat/channels/feishu/PostMessage.js +0 -0
  2023. /package/bin/{services → service/builtins}/chat/channels/feishu/ReplyContext.js +0 -0
  2024. /package/bin/{services → service/builtins}/chat/channels/qq/BotInfo.js +0 -0
  2025. /package/bin/{services → service/builtins}/chat/channels/qq/PROMPT.direct.txt +0 -0
  2026. /package/bin/{services → service/builtins}/chat/channels/qq/QQEventCapture.js +0 -0
  2027. /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewayAuth.js +0 -0
  2028. /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewaySend.js +0 -0
  2029. /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewaySupport.js +0 -0
  2030. /package/bin/{services → service/builtins}/chat/channels/qq/QQInbound.js +0 -0
  2031. /package/bin/{services → service/builtins}/chat/channels/qq/QQInboundDedupe.js +0 -0
  2032. /package/bin/{services → service/builtins}/chat/channels/qq/QQSendSupport.d.ts +0 -0
  2033. /package/bin/{services → service/builtins}/chat/channels/qq/QQSendSupport.js +0 -0
  2034. /package/bin/{services → service/builtins}/chat/channels/qq/VoiceInput.js +0 -0
  2035. /package/bin/{services → service/builtins}/chat/channels/telegram/ApiClient.js +0 -0
  2036. /package/bin/{services → service/builtins}/chat/channels/telegram/BotInfo.js +0 -0
  2037. /package/bin/{services → service/builtins}/chat/channels/telegram/Handlers.js +0 -0
  2038. /package/bin/{services → service/builtins}/chat/channels/telegram/PROMPT.direct.txt +0 -0
  2039. /package/bin/{services → service/builtins}/chat/channels/telegram/ReplyContext.js +0 -0
  2040. /package/bin/{services → service/builtins}/chat/channels/telegram/Shared.d.ts +0 -0
  2041. /package/bin/{services → service/builtins}/chat/channels/telegram/StateStore.d.ts +0 -0
  2042. /package/bin/{services → service/builtins}/chat/channels/telegram/StateStore.js +0 -0
  2043. /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramInbound.d.ts +0 -0
  2044. /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramInbound.js +0 -0
  2045. /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramPlatformClient.js +0 -0
  2046. /package/bin/{services → service/builtins}/chat/runtime/ChatChannelFacade.d.ts +0 -0
  2047. /package/bin/{services → service/builtins}/chat/runtime/ChatChannelFacade.js +0 -0
  2048. /package/bin/{services → service/builtins}/chat/runtime/ChatMessageMarkup.js +0 -0
  2049. /package/bin/{services → service/builtins}/chat/runtime/ChatMetaStore.js +0 -0
  2050. /package/bin/{services → service/builtins}/chat/runtime/ChatQueue.js +0 -0
  2051. /package/bin/{services → service/builtins}/chat/runtime/ChatQueueReplyDispatch.js +0 -0
  2052. /package/bin/{services → service/builtins}/chat/runtime/ChatQueueStore.js +0 -0
  2053. /package/bin/{services → service/builtins}/chat/runtime/ChatQueueWorker.js +0 -0
  2054. /package/bin/{services → service/builtins}/chat/runtime/ChatQueueWorkerSupport.js +0 -0
  2055. /package/bin/{services → service/builtins}/chat/runtime/ChatSendMetadata.js +0 -0
  2056. /package/bin/{services → service/builtins}/chat/runtime/ChatSendRegistry.js +0 -0
  2057. /package/bin/{services → service/builtins}/chat/runtime/ChatServiceActions.js +0 -0
  2058. /package/bin/{services → service/builtins}/chat/runtime/ChatkeySend.js +0 -0
  2059. /package/bin/{services → service/builtins}/chat/runtime/PluginPoints.d.ts +0 -0
  2060. /package/bin/{services → service/builtins}/chat/runtime/PluginPoints.js +0 -0
  2061. /package/bin/{services → service/builtins}/chat/runtime/QueuedUserMessage.js +0 -0
  2062. /package/bin/{services → service/builtins}/chat/runtime/ReplyContextFormatter.js +0 -0
  2063. /package/bin/{services → service/builtins}/chat/runtime/UIMessageTransformer.js +0 -0
  2064. /package/bin/{services → service/builtins}/chat/runtime/UserVisibleText.js +0 -0
  2065. /package/bin/{services → service/builtins}/chat/types/BotInfo.js +0 -0
  2066. /package/bin/{services → service/builtins}/chat/types/ChannelConfiguration.js +0 -0
  2067. /package/bin/{services → service/builtins}/chat/types/ChannelContext.d.ts +0 -0
  2068. /package/bin/{services → service/builtins}/chat/types/ChannelContext.js +0 -0
  2069. /package/bin/{services → service/builtins}/chat/types/ChannelStatus.d.ts +0 -0
  2070. /package/bin/{services → service/builtins}/chat/types/ChannelStatus.js +0 -0
  2071. /package/bin/{services → service/builtins}/chat/types/ChatCommand.d.ts +0 -0
  2072. /package/bin/{services → service/builtins}/chat/types/ChatCommand.js +0 -0
  2073. /package/bin/{services → service/builtins}/chat/types/ChatDispatcher.d.ts +0 -0
  2074. /package/bin/{services → service/builtins}/chat/types/ChatDispatcher.js +0 -0
  2075. /package/bin/{services → service/builtins}/chat/types/ChatHistory.js +0 -0
  2076. /package/bin/{services → service/builtins}/chat/types/ChatMessageMarkup.d.ts +0 -0
  2077. /package/bin/{services → service/builtins}/chat/types/ChatMessageMarkup.js +0 -0
  2078. /package/bin/{services → service/builtins}/chat/types/ChatMeta.d.ts +0 -0
  2079. /package/bin/{services → service/builtins}/chat/types/ChatMeta.js +0 -0
  2080. /package/bin/{services → service/builtins}/chat/types/ChatQueue.js +0 -0
  2081. /package/bin/{services → service/builtins}/chat/types/DirectDispatch.js +0 -0
  2082. /package/bin/{services → service/builtins}/chat/types/FeishuAttachment.d.ts +0 -0
  2083. /package/bin/{services → service/builtins}/chat/types/FeishuAttachment.js +0 -0
  2084. /package/bin/{services → service/builtins}/chat/types/FeishuInboundAttachment.js +0 -0
  2085. /package/bin/{services → service/builtins}/chat/types/FeishuPost.d.ts +0 -0
  2086. /package/bin/{services → service/builtins}/chat/types/FeishuPost.js +0 -0
  2087. /package/bin/{services → service/builtins}/chat/types/QqInboundDedupe.d.ts +0 -0
  2088. /package/bin/{services → service/builtins}/chat/types/QqInboundDedupe.js +0 -0
  2089. /package/bin/{services → service/builtins}/chat/types/QqVoice.d.ts +0 -0
  2090. /package/bin/{services → service/builtins}/chat/types/QqVoice.js +0 -0
  2091. /package/bin/{services → service/builtins}/chat/types/ReplyContext.d.ts +0 -0
  2092. /package/bin/{services → service/builtins}/chat/types/ReplyContext.js +0 -0
  2093. /package/bin/{services → service/builtins}/contact/Action.d.ts +0 -0
  2094. /package/bin/{services → service/builtins}/contact/Action.js +0 -0
  2095. /package/bin/{services → service/builtins}/contact/Index.d.ts +0 -0
  2096. /package/bin/{services → service/builtins}/contact/Index.js +0 -0
  2097. /package/bin/{services → service/builtins}/contact/PROMPT.txt +0 -0
  2098. /package/bin/{services → service/builtins}/contact/runtime/ApproveCallback.js +0 -0
  2099. /package/bin/{services → service/builtins}/contact/runtime/ChatRuntime.js +0 -0
  2100. /package/bin/{services → service/builtins}/contact/runtime/ContactStore.js +0 -0
  2101. /package/bin/{services → service/builtins}/contact/runtime/EndpointNotice.js +0 -0
  2102. /package/bin/{services → service/builtins}/contact/runtime/EndpointResolver.d.ts +0 -0
  2103. /package/bin/{services → service/builtins}/contact/runtime/EndpointResolver.js +0 -0
  2104. /package/bin/{services → service/builtins}/contact/runtime/InboxStore.js +0 -0
  2105. /package/bin/{services → service/builtins}/contact/runtime/LinkApproval.js +0 -0
  2106. /package/bin/{services → service/builtins}/contact/runtime/LinkCode.js +0 -0
  2107. /package/bin/{services → service/builtins}/contact/runtime/LinkStore.js +0 -0
  2108. /package/bin/{services → service/builtins}/contact/runtime/Paths.d.ts +0 -0
  2109. /package/bin/{services → service/builtins}/contact/runtime/Paths.js +0 -0
  2110. /package/bin/{services → service/builtins}/contact/runtime/RemoteClient.js +0 -0
  2111. /package/bin/{services → service/builtins}/contact/runtime/ShareBundle.js +0 -0
  2112. /package/bin/{services → service/builtins}/contact/runtime/SystemProvider.d.ts +0 -0
  2113. /package/bin/{services → service/builtins}/contact/runtime/SystemProvider.js +0 -0
  2114. /package/bin/{services → service/builtins}/contact/runtime/Token.d.ts +0 -0
  2115. /package/bin/{services → service/builtins}/contact/runtime/Token.js +0 -0
  2116. /package/bin/{types/contact → service/builtins/contact/types}/Contact.d.ts +0 -0
  2117. /package/bin/{types/contact → service/builtins/contact/types}/Contact.js +0 -0
  2118. /package/bin/{types/contact → service/builtins/contact/types}/ContactApproval.d.ts +0 -0
  2119. /package/bin/{types/contact → service/builtins/contact/types}/ContactApproval.js +0 -0
  2120. /package/bin/{types/contact → service/builtins/contact/types}/ContactChat.d.ts +0 -0
  2121. /package/bin/{types/contact → service/builtins/contact/types}/ContactChat.js +0 -0
  2122. /package/bin/{types/contact → service/builtins/contact/types}/ContactCheck.d.ts +0 -0
  2123. /package/bin/{types/contact → service/builtins/contact/types}/ContactCheck.js +0 -0
  2124. /package/bin/{types/contact → service/builtins/contact/types}/ContactCommand.d.ts +0 -0
  2125. /package/bin/{types/contact → service/builtins/contact/types}/ContactCommand.js +0 -0
  2126. /package/bin/{types/contact → service/builtins/contact/types}/ContactEndpoint.d.ts +0 -0
  2127. /package/bin/{types/contact → service/builtins/contact/types}/ContactEndpoint.js +0 -0
  2128. /package/bin/{types/contact → service/builtins/contact/types}/ContactLink.d.ts +0 -0
  2129. /package/bin/{types/contact → service/builtins/contact/types}/ContactLink.js +0 -0
  2130. /package/bin/{types/contact → service/builtins/contact/types}/ContactShare.d.ts +0 -0
  2131. /package/bin/{types/contact → service/builtins/contact/types}/ContactShare.js +0 -0
  2132. /package/bin/{services → service/builtins}/memory/Action.js +0 -0
  2133. /package/bin/{services → service/builtins}/memory/Index.d.ts +0 -0
  2134. /package/bin/{services → service/builtins}/memory/Index.js +0 -0
  2135. /package/bin/{services → service/builtins}/memory/runtime/Flush.js +0 -0
  2136. /package/bin/{services → service/builtins}/memory/runtime/Indexer.js +0 -0
  2137. /package/bin/{services → service/builtins}/memory/runtime/Search.js +0 -0
  2138. /package/bin/{services → service/builtins}/memory/runtime/Store.js +0 -0
  2139. /package/bin/{services → service/builtins}/memory/runtime/SystemProvider.js +0 -0
  2140. /package/bin/{services → service/builtins}/memory/runtime/Writer.js +0 -0
  2141. /package/bin/{services → service/builtins}/memory/types/Memory.js +0 -0
  2142. /package/bin/{services → service/builtins}/shell/Index.d.ts +0 -0
  2143. /package/bin/{services → service/builtins}/shell/Index.js +0 -0
  2144. /package/bin/{services → service/builtins}/shell/runtime/Paths.d.ts +0 -0
  2145. /package/bin/{services → service/builtins}/shell/runtime/Paths.js +0 -0
  2146. /package/bin/{services → service/builtins}/shell/types/ShellService.d.ts +0 -0
  2147. /package/bin/{services → service/builtins}/shell/types/ShellService.js +0 -0
  2148. /package/bin/{services → service/builtins}/task/Action.js +0 -0
  2149. /package/bin/{services → service/builtins}/task/Index.d.ts +0 -0
  2150. /package/bin/{services → service/builtins}/task/Index.js +0 -0
  2151. /package/bin/{services → service/builtins}/task/PROMPT.txt +0 -0
  2152. /package/bin/{services → service/builtins}/task/runtime/CronTrigger.d.ts +0 -0
  2153. /package/bin/{services → service/builtins}/task/runtime/CronTrigger.js +0 -0
  2154. /package/bin/{services → service/builtins}/task/runtime/Frontmatter.d.ts +0 -0
  2155. /package/bin/{services → service/builtins}/task/runtime/Frontmatter.js +0 -0
  2156. /package/bin/{services → service/builtins}/task/runtime/Model.js +0 -0
  2157. /package/bin/{services → service/builtins}/task/runtime/Paths.d.ts +0 -0
  2158. /package/bin/{services → service/builtins}/task/runtime/Paths.js +0 -0
  2159. /package/bin/{services → service/builtins}/task/runtime/Runner.js +0 -0
  2160. /package/bin/{services → service/builtins}/task/runtime/Store.js +0 -0
  2161. /package/bin/{services → service/builtins}/task/runtime/TaskRunArtifacts.js +0 -0
  2162. /package/bin/{services → service/builtins}/task/runtime/TaskRunChatDispatch.js +0 -0
  2163. /package/bin/{services → service/builtins}/task/runtime/TaskRunnerProgress.js +0 -0
  2164. /package/bin/{services → service/builtins}/task/runtime/TaskServiceActions.js +0 -0
  2165. /package/bin/{services → service/builtins}/task/runtime/TaskServiceSystem.d.ts +0 -0
  2166. /package/bin/{services → service/builtins}/task/runtime/TaskServiceSystem.js +0 -0
  2167. /package/bin/{services → service/builtins}/task/types/Cron.d.ts +0 -0
  2168. /package/bin/{services → service/builtins}/task/types/Cron.js +0 -0
  2169. /package/bin/{services → service/builtins}/task/types/Task.d.ts +0 -0
  2170. /package/bin/{services → service/builtins}/task/types/Task.js +0 -0
  2171. /package/bin/{services → service/builtins}/task/types/TaskCommand.d.ts +0 -0
  2172. /package/bin/{services → service/builtins}/task/types/TaskCommand.js +0 -0
  2173. /package/bin/service/{Manager.js → core/Manager.js} +0 -0
  2174. /package/bin/service/{ServiceManager.js → core/ServiceManager.js} +0 -0
  2175. /package/src/{daemon → host/daemon}/Api.ts +0 -0
  2176. /package/src/{runtime → host/runtime}/AgentHostRuntime.ts +0 -0
  2177. /package/src/{services → service/builtins}/README.md +0 -0
  2178. /package/src/{services → service/builtins}/chat/Index.ts +0 -0
  2179. /package/src/{services → service/builtins}/chat/PROMPT.direct.txt +0 -0
  2180. /package/src/{services → service/builtins}/chat/channels/feishu/FeishuInbound.ts +0 -0
  2181. /package/src/{services → service/builtins}/chat/channels/feishu/PROMPT.direct.txt +0 -0
  2182. /package/src/{services → service/builtins}/chat/channels/qq/PROMPT.direct.txt +0 -0
  2183. /package/src/{services → service/builtins}/chat/channels/qq/QQEventCapture.ts +0 -0
  2184. /package/src/{services → service/builtins}/chat/channels/qq/QQGatewayClient.ts +0 -0
  2185. /package/src/{services → service/builtins}/chat/channels/qq/QQGatewaySend.ts +0 -0
  2186. /package/src/{services → service/builtins}/chat/channels/qq/QQGatewaySupport.ts +0 -0
  2187. /package/src/{services → service/builtins}/chat/channels/qq/QQSendSupport.ts +0 -0
  2188. /package/src/{services → service/builtins}/chat/channels/telegram/ApiClient.ts +0 -0
  2189. /package/src/{services → service/builtins}/chat/channels/telegram/Handlers.ts +0 -0
  2190. /package/src/{services → service/builtins}/chat/channels/telegram/PROMPT.direct.txt +0 -0
  2191. /package/src/{services → service/builtins}/chat/channels/telegram/StateStore.ts +0 -0
  2192. /package/src/{services → service/builtins}/chat/channels/telegram/TelegramInbound.ts +0 -0
  2193. /package/src/{services → service/builtins}/chat/runtime/ChatChannelFacade.ts +0 -0
  2194. /package/src/{services → service/builtins}/chat/runtime/ChatServiceActions.ts +0 -0
  2195. /package/src/{types/chat/ChatSession.ts → service/builtins/chat/runtime/ChatSessionTypes.ts} +0 -0
  2196. /package/src/{services → service/builtins}/chat/runtime/PluginPoints.ts +0 -0
  2197. /package/src/{services → service/builtins}/chat/runtime/QueuedUserMessage.ts +0 -0
  2198. /package/src/{services → service/builtins}/chat/runtime/UIMessageTransformer.ts +0 -0
  2199. /package/src/{services → service/builtins}/chat/runtime/UserVisibleText.ts +0 -0
  2200. /package/src/{services → service/builtins}/chat/types/ChannelContext.ts +0 -0
  2201. /package/src/{services → service/builtins}/chat/types/ChannelStatus.ts +0 -0
  2202. /package/src/{services → service/builtins}/chat/types/ChatCommand.ts +0 -0
  2203. /package/src/{services → service/builtins}/chat/types/ChatDispatcher.ts +0 -0
  2204. /package/src/{services → service/builtins}/chat/types/ChatMessageMarkup.ts +0 -0
  2205. /package/src/{services → service/builtins}/chat/types/ChatMeta.ts +0 -0
  2206. /package/src/{services → service/builtins}/chat/types/ChatQueue.ts +0 -0
  2207. /package/src/{services → service/builtins}/chat/types/FeishuAttachment.ts +0 -0
  2208. /package/src/{services → service/builtins}/chat/types/FeishuPost.ts +0 -0
  2209. /package/src/{services → service/builtins}/chat/types/QqInboundDedupe.ts +0 -0
  2210. /package/src/{services → service/builtins}/chat/types/QqVoice.ts +0 -0
  2211. /package/src/{services → service/builtins}/chat/types/ReplyContext.ts +0 -0
  2212. /package/src/{services → service/builtins}/contact/Action.ts +0 -0
  2213. /package/src/{services → service/builtins}/contact/Index.ts +0 -0
  2214. /package/src/{services → service/builtins}/contact/PROMPT.txt +0 -0
  2215. /package/src/{services → service/builtins}/contact/runtime/EndpointResolver.ts +0 -0
  2216. /package/src/{services → service/builtins}/contact/runtime/Paths.ts +0 -0
  2217. /package/src/{services → service/builtins}/contact/runtime/RemoteClient.ts +0 -0
  2218. /package/src/{services → service/builtins}/contact/runtime/SystemProvider.ts +0 -0
  2219. /package/src/{services → service/builtins}/contact/runtime/Token.ts +0 -0
  2220. /package/src/{types/contact → service/builtins/contact/types}/Contact.ts +0 -0
  2221. /package/src/{types/contact → service/builtins/contact/types}/ContactApproval.ts +0 -0
  2222. /package/src/{types/contact → service/builtins/contact/types}/ContactChat.ts +0 -0
  2223. /package/src/{types/contact → service/builtins/contact/types}/ContactCheck.ts +0 -0
  2224. /package/src/{types/contact → service/builtins/contact/types}/ContactCommand.ts +0 -0
  2225. /package/src/{types/contact → service/builtins/contact/types}/ContactEndpoint.ts +0 -0
  2226. /package/src/{types/contact → service/builtins/contact/types}/ContactLink.ts +0 -0
  2227. /package/src/{types/contact → service/builtins/contact/types}/ContactShare.ts +0 -0
  2228. /package/src/{services → service/builtins}/memory/Index.ts +0 -0
  2229. /package/src/{services → service/builtins}/memory/types/Memory.ts +0 -0
  2230. /package/src/{services → service/builtins}/shell/Index.ts +0 -0
  2231. /package/src/{services → service/builtins}/shell/runtime/Paths.ts +0 -0
  2232. /package/src/{services → service/builtins}/shell/types/ShellService.ts +0 -0
  2233. /package/src/{services → service/builtins}/task/Index.ts +0 -0
  2234. /package/src/{services → service/builtins}/task/PROMPT.txt +0 -0
  2235. /package/src/{services → service/builtins}/task/runtime/CronTrigger.ts +0 -0
  2236. /package/src/{services → service/builtins}/task/runtime/Frontmatter.ts +0 -0
  2237. /package/src/{services → service/builtins}/task/runtime/Paths.ts +0 -0
  2238. /package/src/{services → service/builtins}/task/runtime/TaskServiceSystem.ts +0 -0
  2239. /package/src/{services → service/builtins}/task/types/Cron.ts +0 -0
  2240. /package/src/{services → service/builtins}/task/types/Task.ts +0 -0
  2241. /package/src/{services → service/builtins}/task/types/TaskCommand.ts +0 -0
  2242. /package/src/service/{Manager.ts → core/Manager.ts} +0 -0
  2243. /package/src/service/{ServiceManager.ts → core/ServiceManager.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContactService.d.ts","sourceRoot":"","sources":["../../../src/services/contact/ContactService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AA2JvD;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,QAAQ,CAAC,IAAI,aAAa;IAE1B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;gBAErB,KAAK,EAAE,YAAY,GAAG,IAAI;IA+RtC;;OAEG;IACH,MAAM,IAAI,MAAM;YAIF,IAAI;YAsCJ,OAAO;YAuGP,KAAK;YAwCL,IAAI;YAmCJ,KAAK;YA4BL,UAAU;YAqBV,aAAa;YAYb,aAAa;YAkBb,WAAW;CA0B1B"}
@@ -1,683 +0,0 @@
1
- /**
2
- * ContactService:agent 点对点关系与分享服务。
3
- *
4
- * 关键点(中文)
5
- * - `link/approve` 建立可信 contact,支持 outbound/inbound/bidirectional 三种可达方向。
6
- * - 每个 contact 固定一条长期 chat history。
7
- * - `share` 分享文本、链接、文件和目录,并进入对方 inbox。
8
- */
9
- import { BaseService } from "../BaseService.js";
10
- import { appendContactMessage, createStableContactId, findContact, findContactByInboundToken, listContacts, normalizeContactEndpoint, readContactMessages, saveContact, touchContactSeen, } from "./runtime/ContactStore.js";
11
- import { createContactLinkCode, parseContactLinkCode, } from "./runtime/LinkCode.js";
12
- import { saveContactLinkRecord, } from "./runtime/LinkStore.js";
13
- import { createContactId, createContactToken, hashContactToken, } from "./runtime/Token.js";
14
- import { callContactApprove, callContactChat, callContactConfirm, callContactPing, callContactShare, } from "./runtime/RemoteClient.js";
15
- import { listContactInboxShares, saveContactInboxShare, } from "./runtime/InboxStore.js";
16
- import { createShareInput, receiveShare, } from "./runtime/ShareBundle.js";
17
- import { receiveContactChatMessage } from "./runtime/ChatRuntime.js";
18
- import { buildContactServiceSystemText } from "./runtime/SystemProvider.js";
19
- import { resolveContactSelfEndpoint } from "./runtime/EndpointResolver.js";
20
- import { buildContactApproveNotes, buildContactLinkNotes, classifyContactEndpoint, } from "./runtime/EndpointNotice.js";
21
- import { approveContactLinkRequest, confirmContactLinkRequest, } from "./runtime/LinkApproval.js";
22
- import { buildContactApproveCallbackDecision } from "./runtime/ApproveCallback.js";
23
- function readObject(value) {
24
- return value && typeof value === "object" && !Array.isArray(value)
25
- ? value
26
- : {};
27
- }
28
- function readString(body, key) {
29
- const value = body[key];
30
- return typeof value === "string" ? value.trim() : "";
31
- }
32
- function readNumber(body, key) {
33
- const value = body[key];
34
- if (typeof value !== "number")
35
- return undefined;
36
- return Number.isFinite(value) ? value : undefined;
37
- }
38
- function readBoolean(body, key) {
39
- const value = body[key];
40
- return typeof value === "boolean" ? value : undefined;
41
- }
42
- function getHeaderToken(params) {
43
- const fromHeader = String(params.headers?.get("x-downcity-contact-token") || "").trim();
44
- if (fromHeader)
45
- return fromHeader;
46
- return params.body ? readString(params.body, "token") : "";
47
- }
48
- async function resolveSelfEndpoint(context, endpointOverride) {
49
- const explicit = String(endpointOverride || "").trim();
50
- if (explicit)
51
- return normalizeContactEndpoint(explicit);
52
- const start = context.config.start || {};
53
- const env = {
54
- ...process.env,
55
- ...context.globalEnv,
56
- ...context.env,
57
- };
58
- const runtimePort = Number(process.env.DC_SERVER_PORT || env.DC_SERVER_PORT || "");
59
- // 关键点(中文):link code 必须写入当前 runtime 的真实监听端口,不能使用可能已经过期的配置端口。
60
- const port = Number.isFinite(runtimePort) && runtimePort > 0 ? runtimePort : start.port;
61
- const runtimeHost = String(process.env.DC_SERVER_HOST || env.DC_SERVER_HOST || "").trim();
62
- return normalizeContactEndpoint(await resolveContactSelfEndpoint({
63
- host: runtimeHost || start.host,
64
- port,
65
- env,
66
- }));
67
- }
68
- function hasRuntimePublicEndpointEnv(context) {
69
- const env = {
70
- ...context.globalEnv,
71
- ...context.env,
72
- ...process.env,
73
- };
74
- return Boolean(String(env.DOWNCITY_PUBLIC_URL || "").trim() ||
75
- String(env.DOWNCITY_PUBLIC_HOST || "").trim());
76
- }
77
- function getAgentName(context) {
78
- return String(context.config.name || "downcity-agent").trim() || "downcity-agent";
79
- }
80
- function requireOutboundContact(contact) {
81
- if (!contact.endpoint || !contact.outboundToken) {
82
- throw new Error(`Contact is inbound-only and cannot be called directly: ${contact.name}`);
83
- }
84
- return {
85
- endpoint: contact.endpoint,
86
- token: contact.outboundToken,
87
- };
88
- }
89
- /**
90
- * Contact service 类实现。
91
- */
92
- export class ContactService extends BaseService {
93
- /**
94
- * service 名称。
95
- */
96
- name = "contact";
97
- /**
98
- * 当前 service action 定义表。
99
- */
100
- actions;
101
- constructor(agent) {
102
- super(agent);
103
- this.actions = {
104
- link: {
105
- command: {
106
- description: "生成一次性 contact link code,交给另一个 agent approve",
107
- configure(command) {
108
- command.option("--ttl-seconds <seconds>", "link 过期秒数,默认 600", Number);
109
- },
110
- mapInput({ opts }) {
111
- const payload = {};
112
- if (typeof opts.ttlSeconds === "number")
113
- payload.ttlSeconds = opts.ttlSeconds;
114
- return payload;
115
- },
116
- },
117
- execute: async (params) => ({
118
- success: true,
119
- data: (await this.link(params.context, params.payload)),
120
- }),
121
- },
122
- approve: {
123
- command: {
124
- description: "使用 contact link code 建立点对点联系",
125
- configure(command) {
126
- command
127
- .argument("<code>")
128
- .option("--name <alias>", "本地 contact 别名");
129
- },
130
- mapInput({ args, opts }) {
131
- const code = String(args[0] || "").trim();
132
- if (!code)
133
- throw new Error("Missing link code");
134
- const payload = { code };
135
- if (typeof opts.name === "string")
136
- payload.name = opts.name;
137
- return payload;
138
- },
139
- },
140
- execute: async (params) => ({
141
- success: true,
142
- data: (await this.approve(params.context, params.payload)),
143
- }),
144
- },
145
- list: {
146
- command: {
147
- description: "列出已建立的 contact",
148
- mapInput() {
149
- return {};
150
- },
151
- },
152
- execute: async (params) => ({
153
- success: true,
154
- data: {
155
- contacts: await listContacts(params.context.rootPath),
156
- },
157
- }),
158
- },
159
- check: {
160
- command: {
161
- description: "检查 contact 或 endpoint 当前是否在线可用",
162
- configure(command) {
163
- command
164
- .argument("[target]")
165
- .option("--to <endpoint>", "直接检查未保存的 endpoint");
166
- },
167
- mapInput({ args, opts }) {
168
- const payload = {};
169
- const target = String(args[0] || "").trim();
170
- if (target)
171
- payload.target = target;
172
- if (typeof opts.to === "string")
173
- payload.endpoint = opts.to;
174
- return payload;
175
- },
176
- },
177
- execute: async (params) => ({
178
- success: true,
179
- data: (await this.check(params.context, params.payload)),
180
- }),
181
- },
182
- chat: {
183
- command: {
184
- description: "和某个 contact 的长期对话线聊天",
185
- configure(command) {
186
- command.requiredOption("--to <contact>", "目标 contact").argument("[message...]");
187
- },
188
- mapInput({ args, opts }) {
189
- const payload = {
190
- to: String(opts.to || "").trim(),
191
- };
192
- const message = args.join(" ").trim();
193
- if (message)
194
- payload.message = message;
195
- return payload;
196
- },
197
- },
198
- execute: async (params) => ({
199
- success: true,
200
- data: (await this.chat(params.context, params.payload)),
201
- }),
202
- },
203
- share: {
204
- command: {
205
- description: "向 contact 分享文本、链接、文件或目录",
206
- configure(command) {
207
- command
208
- .requiredOption("--to <contact>", "目标 contact")
209
- .option("--text <text>", "分享文本")
210
- .option("--link <url...>", "分享链接")
211
- .argument("[paths...]");
212
- },
213
- mapInput({ args, opts }) {
214
- const links = Array.isArray(opts.link)
215
- ? opts.link.map((item) => String(item || "").trim()).filter(Boolean)
216
- : typeof opts.link === "string"
217
- ? [opts.link]
218
- : [];
219
- return {
220
- to: String(opts.to || "").trim(),
221
- ...(typeof opts.text === "string" ? { text: opts.text } : {}),
222
- ...(links.length > 0 ? { links } : {}),
223
- paths: args.map((item) => String(item || "").trim()).filter(Boolean),
224
- };
225
- },
226
- },
227
- execute: async (params) => ({
228
- success: true,
229
- data: (await this.share(params.context, params.payload)),
230
- }),
231
- },
232
- inbox: {
233
- command: {
234
- description: "查看 contact inbox",
235
- mapInput() {
236
- return {};
237
- },
238
- },
239
- execute: async (params) => ({
240
- success: true,
241
- data: {
242
- shares: await listContactInboxShares(params.context.rootPath),
243
- },
244
- }),
245
- },
246
- receive: {
247
- command: {
248
- description: "接收 inbox 中的 share",
249
- configure(command) {
250
- command.argument("<shareId>");
251
- },
252
- mapInput({ args, opts }) {
253
- const shareId = String(args[0] || "").trim();
254
- if (!shareId)
255
- throw new Error("Missing shareId");
256
- return {
257
- shareId,
258
- };
259
- },
260
- },
261
- execute: async (params) => ({
262
- success: true,
263
- data: (await receiveShare({
264
- projectRoot: params.context.rootPath,
265
- shareId: params.payload.shareId,
266
- })),
267
- }),
268
- },
269
- remoteping: {
270
- api: {
271
- method: "POST",
272
- path: "/api/contact/ping",
273
- async mapInput(ctx) {
274
- const body = (await ctx.req.json().catch(() => ({})));
275
- return {
276
- body,
277
- token: getHeaderToken({
278
- headers: ctx.req.raw.headers,
279
- body: readObject(body),
280
- }),
281
- };
282
- },
283
- },
284
- execute: async (params) => ({
285
- success: true,
286
- data: (await this.remotePing(params.context, params.payload)),
287
- }),
288
- },
289
- remoteapprove: {
290
- api: {
291
- method: "POST",
292
- path: "/api/contact/approve",
293
- async mapInput(ctx) {
294
- return (await ctx.req.json());
295
- },
296
- },
297
- execute: async (params) => ({
298
- success: true,
299
- data: (await this.remoteApprove(params.context, readObject(params.payload))),
300
- }),
301
- },
302
- remoteconfirm: {
303
- api: {
304
- method: "POST",
305
- path: "/api/contact/confirm",
306
- async mapInput(ctx) {
307
- return (await ctx.req.json());
308
- },
309
- },
310
- execute: async (params) => ({
311
- success: true,
312
- data: (await this.remoteConfirm(params.context, readObject(params.payload))),
313
- }),
314
- },
315
- remotechat: {
316
- api: {
317
- method: "POST",
318
- path: "/api/contact/chat",
319
- async mapInput(ctx) {
320
- const body = (await ctx.req.json());
321
- return {
322
- body,
323
- token: getHeaderToken({
324
- headers: ctx.req.raw.headers,
325
- body: readObject(body),
326
- }),
327
- };
328
- },
329
- },
330
- execute: async (params) => {
331
- const payload = readObject(params.payload);
332
- const body = readObject(payload.body);
333
- return {
334
- success: true,
335
- data: (await receiveContactChatMessage({
336
- context: params.context,
337
- token: readString(payload, "token"),
338
- message: readString(body, "message"),
339
- })),
340
- };
341
- },
342
- },
343
- remoteshare: {
344
- api: {
345
- method: "POST",
346
- path: "/api/contact/share",
347
- async mapInput(ctx) {
348
- const body = (await ctx.req.json());
349
- return {
350
- body,
351
- token: getHeaderToken({
352
- headers: ctx.req.raw.headers,
353
- body: readObject(body),
354
- }),
355
- };
356
- },
357
- },
358
- execute: async (params) => ({
359
- success: true,
360
- data: (await this.remoteShare(params.context, params.payload)),
361
- }),
362
- },
363
- };
364
- this.lifecycle = {
365
- start: () => undefined,
366
- stop: () => undefined,
367
- };
368
- }
369
- /**
370
- * contact system 文本。
371
- */
372
- system() {
373
- return buildContactServiceSystemText();
374
- }
375
- async link(context, payload) {
376
- const now = Date.now();
377
- const ttlSeconds = Math.max(60, Number(payload.ttlSeconds || 600));
378
- const linkId = createContactId("link");
379
- const secret = createContactToken();
380
- const endpoint = await resolveSelfEndpoint(context, payload.endpoint);
381
- const agentName = getAgentName(context);
382
- await saveContactLinkRecord(context.rootPath, {
383
- id: linkId,
384
- agentName,
385
- endpoint,
386
- secretHash: hashContactToken(secret),
387
- createdAt: now,
388
- expiresAt: now + ttlSeconds * 1000,
389
- usedAt: null,
390
- });
391
- const code = createContactLinkCode({
392
- version: 1,
393
- linkId,
394
- agentName,
395
- endpoint,
396
- secret,
397
- createdAt: now,
398
- expiresAt: now + ttlSeconds * 1000,
399
- });
400
- return {
401
- code,
402
- linkId,
403
- agentName,
404
- endpoint,
405
- endpointReachability: classifyContactEndpoint(endpoint),
406
- notes: buildContactLinkNotes({ endpoint }),
407
- expiresAt: now + ttlSeconds * 1000,
408
- };
409
- }
410
- async approve(context, payload) {
411
- const parsed = parseContactLinkCode(payload.code);
412
- // 关键点(中文):approve 端不使用本机时钟预判过期,避免两台机器时钟不一致时把本来可用的 link 提前拦截。
413
- // 是否过期统一交给 link 持有方在远端按本地记录判断。
414
- const targetReachability = classifyContactEndpoint(parsed.endpoint);
415
- const shouldResolveRequesterEndpoint = payload.endpoint ||
416
- hasRuntimePublicEndpointEnv(context) ||
417
- targetReachability === "loopback" ||
418
- targetReachability === "private";
419
- const requesterEndpointCandidate = shouldResolveRequesterEndpoint
420
- ? await resolveSelfEndpoint(context, payload.endpoint)
421
- : undefined;
422
- const callbackDecision = buildContactApproveCallbackDecision({
423
- targetEndpoint: parsed.endpoint,
424
- requesterEndpoint: requesterEndpointCandidate,
425
- });
426
- const requesterEndpoint = callbackDecision.callbackOffered
427
- ? callbackDecision.endpoint
428
- : undefined;
429
- const tokenForRequester = requesterEndpoint ? createContactToken() : undefined;
430
- const approveNotes = buildContactApproveNotes({
431
- targetEndpoint: parsed.endpoint,
432
- });
433
- let response;
434
- try {
435
- response = await callContactApprove({
436
- endpoint: parsed.endpoint,
437
- body: {
438
- linkId: parsed.linkId,
439
- secret: parsed.secret,
440
- agentName: getAgentName(context),
441
- callbackOffered: callbackDecision.callbackOffered,
442
- callbackReason: callbackDecision.reason,
443
- ...(requesterEndpoint ? { endpoint: requesterEndpoint } : {}),
444
- ...(tokenForRequester ? { tokenForRequester } : {}),
445
- },
446
- });
447
- }
448
- catch (error) {
449
- throw new Error(`${String(error)}\n${approveNotes.join("\n")}`);
450
- }
451
- if (!response.success)
452
- throw new Error(response.error || "Contact approve failed");
453
- const name = String(payload.name || response.agentName || parsed.agentName).trim();
454
- const contact = await saveContact(context.rootPath, {
455
- id: createStableContactId(name),
456
- name,
457
- endpoint: response.endpoint || parsed.endpoint,
458
- reachability: "outbound",
459
- status: "trusted",
460
- outboundToken: response.tokenForOwner,
461
- inboundTokenHash: tokenForRequester ? hashContactToken(tokenForRequester) : null,
462
- createdAt: Date.now(),
463
- lastSeenAt: Date.now(),
464
- });
465
- let confirmed = false;
466
- let confirmError;
467
- if (requesterEndpoint && tokenForRequester) {
468
- try {
469
- const confirm = await callContactConfirm({
470
- endpoint: parsed.endpoint,
471
- body: {
472
- linkId: parsed.linkId,
473
- secret: parsed.secret,
474
- agentName: getAgentName(context),
475
- endpoint: requesterEndpoint,
476
- tokenForRequester,
477
- },
478
- });
479
- confirmed = Boolean(confirm.success && confirm.confirmed);
480
- if (!confirmed && confirm.error)
481
- confirmError = confirm.error;
482
- }
483
- catch (error) {
484
- // 关键点(中文):confirm 只决定是否升级双向;approve 已成功时仍保留 outbound contact。
485
- confirmError = String(error);
486
- }
487
- }
488
- const finalContact = confirmed
489
- ? await saveContact(context.rootPath, {
490
- ...contact,
491
- reachability: "bidirectional",
492
- inboundTokenHash: tokenForRequester ? hashContactToken(tokenForRequester) : null,
493
- lastSeenAt: Date.now(),
494
- })
495
- : contact;
496
- const finalNotes = buildContactApproveNotes({
497
- targetEndpoint: parsed.endpoint,
498
- requesterEndpoint,
499
- callbackConfirmed: confirmed,
500
- });
501
- return {
502
- contact: finalContact,
503
- reachability: finalContact.reachability,
504
- targetEndpointReachability: classifyContactEndpoint(parsed.endpoint),
505
- callbackOffered: callbackDecision.callbackOffered,
506
- callbackConfirmed: confirmed,
507
- callbackReason: callbackDecision.reason,
508
- ...(requesterEndpoint ? { requesterEndpoint } : {}),
509
- ...(confirmError ? { confirmError } : {}),
510
- notes: finalNotes,
511
- };
512
- }
513
- async check(context, payload) {
514
- const startedAt = Date.now();
515
- const endpointInput = String(payload.endpoint || "").trim();
516
- const contact = endpointInput
517
- ? null
518
- : await findContact(context.rootPath, String(payload.target || "").trim());
519
- const endpoint = endpointInput || contact?.endpoint || "";
520
- if (!endpoint)
521
- throw new Error("contact target or --to endpoint is required");
522
- if (contact && !contact.outboundToken) {
523
- throw new Error(`Contact is inbound-only and cannot be checked directly: ${contact.name}`);
524
- }
525
- try {
526
- const pong = await callContactPing({
527
- endpoint,
528
- token: contact?.outboundToken || undefined,
529
- });
530
- if (contact && pong.success) {
531
- await touchContactSeen(context.rootPath, contact.id);
532
- }
533
- return {
534
- target: contact?.name || endpoint,
535
- endpoint: normalizeContactEndpoint(endpoint),
536
- reachable: Boolean(pong.success),
537
- authenticated: pong.authenticated,
538
- latencyMs: Date.now() - startedAt,
539
- agentName: pong.agentName,
540
- ...(pong.error ? { error: pong.error } : {}),
541
- };
542
- }
543
- catch (error) {
544
- return {
545
- target: contact?.name || endpoint,
546
- endpoint: normalizeContactEndpoint(endpoint),
547
- reachable: false,
548
- latencyMs: Date.now() - startedAt,
549
- error: String(error),
550
- };
551
- }
552
- }
553
- async chat(context, payload) {
554
- const contact = await findContact(context.rootPath, payload.to);
555
- if (!contact)
556
- throw new Error(`Contact not found: ${payload.to}`);
557
- const message = String(payload.message || "").trim();
558
- if (!message) {
559
- return {
560
- contact,
561
- messages: await readContactMessages(context.rootPath, contact.id),
562
- };
563
- }
564
- await appendContactMessage(context.rootPath, contact.id, {
565
- role: "local",
566
- text: message,
567
- createdAt: Date.now(),
568
- });
569
- const outbound = requireOutboundContact(contact);
570
- const response = await callContactChat({
571
- endpoint: outbound.endpoint,
572
- token: outbound.token,
573
- body: {
574
- senderContactId: contact.id,
575
- message,
576
- createdAt: Date.now(),
577
- },
578
- });
579
- if (!response.success)
580
- throw new Error(response.error || "Contact chat failed");
581
- await appendContactMessage(context.rootPath, contact.id, {
582
- role: "remote",
583
- text: response.reply,
584
- createdAt: Date.now(),
585
- });
586
- return response;
587
- }
588
- async share(context, payload) {
589
- const contact = await findContact(context.rootPath, payload.to);
590
- if (!contact)
591
- throw new Error(`Contact not found: ${payload.to}`);
592
- const outbound = requireOutboundContact(contact);
593
- const share = await createShareInput({
594
- context,
595
- fromContactId: contact.id,
596
- fromAgentName: getAgentName(context),
597
- text: payload.text,
598
- links: payload.links,
599
- paths: payload.paths,
600
- });
601
- const response = await callContactShare({
602
- endpoint: outbound.endpoint,
603
- token: outbound.token,
604
- body: share,
605
- });
606
- if (!response.success)
607
- throw new Error(response.error || "Contact share failed");
608
- return {
609
- shareId: response.shareId || share.meta.id,
610
- to: contact.name,
611
- items: share.payload.items.map((item) => ({
612
- type: item.type,
613
- title: item.title,
614
- })),
615
- };
616
- }
617
- async remotePing(context, payload) {
618
- const token = String(payload.token || "").trim();
619
- if (!token) {
620
- return {
621
- success: true,
622
- agentName: getAgentName(context),
623
- service: "contact",
624
- };
625
- }
626
- const contact = await findContactByInboundToken(context.rootPath, token);
627
- return {
628
- success: true,
629
- agentName: getAgentName(context),
630
- service: "contact",
631
- authenticated: Boolean(contact && contact.status === "trusted"),
632
- };
633
- }
634
- async remoteApprove(context, request) {
635
- return await approveContactLinkRequest({
636
- projectRoot: context.rootPath,
637
- ownerAgentName: getAgentName(context),
638
- ownerEndpoint: await resolveSelfEndpoint(context),
639
- request,
640
- });
641
- }
642
- async remoteConfirm(context, request) {
643
- return await confirmContactLinkRequest({
644
- projectRoot: context.rootPath,
645
- ownerAgentName: getAgentName(context),
646
- request,
647
- verifyCallback: async ({ endpoint, token }) => {
648
- const pong = await callContactPing({
649
- endpoint,
650
- token,
651
- });
652
- return Boolean(pong.success && pong.authenticated);
653
- },
654
- });
655
- }
656
- async remoteShare(context, rawPayload) {
657
- const payload = readObject(rawPayload);
658
- const token = readString(payload, "token");
659
- const body = readObject(payload.body);
660
- const contact = await findContactByInboundToken(context.rootPath, token);
661
- if (!contact || contact.status !== "trusted") {
662
- throw new Error("Invalid contact token");
663
- }
664
- const share = body;
665
- const meta = {
666
- ...share.meta,
667
- fromContactId: contact.id,
668
- fromAgentName: contact.name,
669
- receivedAt: Date.now(),
670
- status: "pending",
671
- };
672
- await saveContactInboxShare(context.rootPath, {
673
- meta,
674
- payload: share.payload,
675
- files: Array.isArray(share.files) ? share.files : [],
676
- });
677
- return {
678
- success: true,
679
- shareId: meta.id,
680
- };
681
- }
682
- }
683
- //# sourceMappingURL=ContactService.js.map