@downcity/city 1.1.1 → 1.1.4

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 (2195) hide show
  1. package/bin/cli/AgentChat.js +3 -3
  2. package/bin/cli/AgentChat.js.map +1 -1
  3. package/bin/cli/AgentHistory.js +1 -1
  4. package/bin/cli/AgentHistory.js.map +1 -1
  5. package/bin/cli/AgentManager.js +1 -1
  6. package/bin/cli/AgentManager.js.map +1 -1
  7. package/bin/cli/AgentReset.js +1 -1
  8. package/bin/cli/AgentReset.js.map +1 -1
  9. package/bin/cli/AgentSelection.js +1 -1
  10. package/bin/cli/AgentSelection.js.map +1 -1
  11. package/bin/cli/ChatAuth.d.ts +5 -1
  12. package/bin/cli/ChatAuth.d.ts.map +1 -1
  13. package/bin/cli/ChatAuth.js +21 -9
  14. package/bin/cli/ChatAuth.js.map +1 -1
  15. package/bin/cli/ChatManager.js +1 -1
  16. package/bin/cli/ChatManager.js.map +1 -1
  17. package/bin/cli/Config.js +1 -1
  18. package/bin/cli/Config.js.map +1 -1
  19. package/bin/cli/Console.d.ts +1 -1
  20. package/bin/cli/Console.d.ts.map +1 -1
  21. package/bin/cli/ConsoleInit.js +3 -3
  22. package/bin/cli/ConsoleInit.js.map +1 -1
  23. package/bin/cli/Env.js +2 -2
  24. package/bin/cli/Env.js.map +1 -1
  25. package/bin/cli/Index.js +2 -2
  26. package/bin/cli/Index.js.map +1 -1
  27. package/bin/cli/IndexAgentCommand.js +1 -1
  28. package/bin/cli/IndexAgentCommand.js.map +1 -1
  29. package/bin/cli/IndexConsoleProcess.d.ts +2 -2
  30. package/bin/cli/IndexConsoleProcess.d.ts.map +1 -1
  31. package/bin/cli/IndexConsoleProcess.js +2 -2
  32. package/bin/cli/IndexConsoleProcess.js.map +1 -1
  33. package/bin/cli/IndexConsoleStatus.d.ts +1 -1
  34. package/bin/cli/IndexConsoleStatus.d.ts.map +1 -1
  35. package/bin/cli/Init.js +1 -1
  36. package/bin/cli/Init.js.map +1 -1
  37. package/bin/cli/ModelCommandShared.d.ts +2 -2
  38. package/bin/cli/ModelCommandShared.d.ts.map +1 -1
  39. package/bin/cli/ModelCommandShared.js +2 -2
  40. package/bin/cli/ModelCommandShared.js.map +1 -1
  41. package/bin/cli/ModelCreateCommand.js +2 -2
  42. package/bin/cli/ModelCreateCommand.js.map +1 -1
  43. package/bin/cli/ModelManageCommand.js +1 -1
  44. package/bin/cli/ModelManageCommand.js.map +1 -1
  45. package/bin/cli/ModelManager.js +2 -2
  46. package/bin/cli/ModelManager.js.map +1 -1
  47. package/bin/cli/ModelReadCommand.js +2 -2
  48. package/bin/cli/ModelReadCommand.js.map +1 -1
  49. package/bin/cli/ModelSupport.d.ts +1 -1
  50. package/bin/cli/ModelSupport.d.ts.map +1 -1
  51. package/bin/cli/Plugins.js +4 -4
  52. package/bin/cli/Plugins.js.map +1 -1
  53. package/bin/cli/PublicHostEnv.js +1 -1
  54. package/bin/cli/PublicHostEnv.js.map +1 -1
  55. package/bin/cli/Restart.d.ts +1 -1
  56. package/bin/cli/Restart.d.ts.map +1 -1
  57. package/bin/cli/Run.d.ts +1 -1
  58. package/bin/cli/Run.d.ts.map +1 -1
  59. package/bin/cli/Run.js +2 -6
  60. package/bin/cli/Run.js.map +1 -1
  61. package/bin/{service/ServiceCommand.d.ts → cli/ServiceActionCommands.d.ts} +2 -1
  62. package/bin/cli/ServiceActionCommands.d.ts.map +1 -0
  63. package/bin/{service/ServiceCommand.js → cli/ServiceActionCommands.js} +6 -5
  64. package/bin/cli/ServiceActionCommands.js.map +1 -0
  65. package/bin/cli/ServiceCommandRemote.d.ts +1 -1
  66. package/bin/cli/ServiceCommandRemote.d.ts.map +1 -1
  67. package/bin/cli/ServiceCommandRemote.js +2 -2
  68. package/bin/cli/ServiceCommandRemote.js.map +1 -1
  69. package/bin/cli/ServiceCommandSupport.d.ts +3 -3
  70. package/bin/cli/ServiceCommandSupport.d.ts.map +1 -1
  71. package/bin/cli/ServiceCommandSupport.js +1 -1
  72. package/bin/cli/ServiceCommandSupport.js.map +1 -1
  73. package/bin/cli/ServiceScheduleCommand.d.ts +1 -1
  74. package/bin/cli/ServiceScheduleCommand.d.ts.map +1 -1
  75. package/bin/cli/ServiceScheduleCommand.js +2 -2
  76. package/bin/cli/ServiceScheduleCommand.js.map +1 -1
  77. package/bin/cli/Services.js +2 -2
  78. package/bin/cli/Services.js.map +1 -1
  79. package/bin/cli/Start.d.ts +1 -1
  80. package/bin/cli/Start.d.ts.map +1 -1
  81. package/bin/cli/Token.js +1 -1
  82. package/bin/cli/Token.js.map +1 -1
  83. package/bin/cli/Update.js +1 -1
  84. package/bin/cli/Update.js.map +1 -1
  85. package/bin/console/AgentStatusApiRoutes.d.ts +1 -1
  86. package/bin/console/AgentStatusApiRoutes.d.ts.map +1 -1
  87. package/bin/console/ChannelAccountApiRoutes.js +2 -2
  88. package/bin/console/ChannelAccountApiRoutes.js.map +1 -1
  89. package/bin/console/ConsoleGateway.js +1 -1
  90. package/bin/console/ConsoleGateway.js.map +1 -1
  91. package/bin/console/ConsoleGatewayRoutes.d.ts +2 -2
  92. package/bin/console/ConsoleGatewayRoutes.d.ts.map +1 -1
  93. package/bin/console/EnvApiRoutes.js +1 -1
  94. package/bin/console/EnvApiRoutes.js.map +1 -1
  95. package/bin/console/InlineInstantRoutes.d.ts +2 -2
  96. package/bin/console/InlineInstantRoutes.d.ts.map +1 -1
  97. package/bin/console/InlineInstantSessionService.d.ts +3 -3
  98. package/bin/console/InlineInstantSessionService.d.ts.map +1 -1
  99. package/bin/console/InlineInstantSessionService.js +8 -8
  100. package/bin/console/InlineInstantSessionService.js.map +1 -1
  101. package/bin/console/InlineInstantSystemComposer.d.ts +1 -1
  102. package/bin/console/InlineInstantSystemComposer.d.ts.map +1 -1
  103. package/bin/console/InlineInstantSystemComposer.js +3 -3
  104. package/bin/console/InlineInstantSystemComposer.js.map +1 -1
  105. package/bin/console/ModelApiRoutes.d.ts +1 -1
  106. package/bin/console/ModelApiRoutes.d.ts.map +1 -1
  107. package/bin/console/ModelApiRoutes.js +1 -1
  108. package/bin/console/ModelApiRoutes.js.map +1 -1
  109. package/bin/console/ModelPoolService.js +2 -2
  110. package/bin/console/ModelPoolService.js.map +1 -1
  111. package/bin/console/PluginApiRoutes.d.ts +1 -1
  112. package/bin/console/PluginApiRoutes.d.ts.map +1 -1
  113. package/bin/console/PluginApiRoutes.js +4 -4
  114. package/bin/console/PluginApiRoutes.js.map +1 -1
  115. package/bin/console/gateway/AgentActions.d.ts +2 -2
  116. package/bin/console/gateway/AgentActions.d.ts.map +1 -1
  117. package/bin/console/gateway/AgentActions.js +1 -2
  118. package/bin/console/gateway/AgentActions.js.map +1 -1
  119. package/bin/console/gateway/AgentCatalog.d.ts +1 -1
  120. package/bin/console/gateway/AgentCatalog.d.ts.map +1 -1
  121. package/bin/console/gateway/AgentCatalog.js +2 -2
  122. package/bin/console/gateway/AgentCatalog.js.map +1 -1
  123. package/bin/constants/DowncitySchema.d.ts +3 -0
  124. package/bin/constants/DowncitySchema.d.ts.map +1 -0
  125. package/bin/constants/DowncitySchema.js.map +1 -0
  126. package/bin/daemon/Api.d.ts +1 -1
  127. package/bin/daemon/Api.d.ts.map +1 -1
  128. package/bin/daemon/CliArgs.d.ts +1 -1
  129. package/bin/daemon/CliArgs.d.ts.map +1 -1
  130. package/bin/daemon/Manager.d.ts +1 -1
  131. package/bin/daemon/Manager.d.ts.map +1 -1
  132. package/bin/daemon/Manager.js +1 -1
  133. package/bin/daemon/Manager.js.map +1 -1
  134. package/bin/http/auth/AuthMiddleware.d.ts +1 -1
  135. package/bin/http/auth/AuthMiddleware.d.ts.map +1 -1
  136. package/bin/http/auth/AuthService.d.ts +2 -2
  137. package/bin/http/auth/AuthService.d.ts.map +1 -1
  138. package/bin/http/auth/AuthService.js +1 -1
  139. package/bin/http/auth/AuthService.js.map +1 -1
  140. package/bin/http/auth/AuthStore.d.ts +3 -3
  141. package/bin/http/auth/AuthStore.d.ts.map +1 -1
  142. package/bin/http/auth/AuthStore.js +4 -4
  143. package/bin/http/auth/AuthStore.js.map +1 -1
  144. package/bin/http/auth/RoutePolicy.d.ts +1 -1
  145. package/bin/http/auth/RoutePolicy.d.ts.map +1 -1
  146. package/bin/http/dashboard/AuthDashboardService.d.ts +3 -3
  147. package/bin/http/dashboard/AuthDashboardService.d.ts.map +1 -1
  148. package/bin/http/dashboard/AuthDashboardService.js +1 -1
  149. package/bin/http/dashboard/AuthDashboardService.js.map +1 -1
  150. package/bin/http/dashboard/ExecuteInput.d.ts +1 -1
  151. package/bin/http/dashboard/ExecuteInput.d.ts.map +1 -1
  152. package/bin/http/dashboard/ExecuteInput.js +1 -1
  153. package/bin/http/dashboard/ExecuteInput.js.map +1 -1
  154. package/bin/http/dashboard/MessageTimeline.d.ts +2 -2
  155. package/bin/http/dashboard/MessageTimeline.d.ts.map +1 -1
  156. package/bin/http/dashboard/MessageTimeline.js +2 -2
  157. package/bin/http/dashboard/MessageTimeline.js.map +1 -1
  158. package/bin/http/dashboard/SessionSummaryStore.d.ts +2 -2
  159. package/bin/http/dashboard/SessionSummaryStore.d.ts.map +1 -1
  160. package/bin/http/dashboard/SessionSummaryStore.js +1 -1
  161. package/bin/http/dashboard/SessionSummaryStore.js.map +1 -1
  162. package/bin/http/dashboard/TaskStore.d.ts +1 -1
  163. package/bin/http/dashboard/TaskStore.d.ts.map +1 -1
  164. package/bin/http/dashboard/TaskStore.js +1 -1
  165. package/bin/http/dashboard/TaskStore.js.map +1 -1
  166. package/bin/model/ModelCommand.d.ts +1 -1
  167. package/bin/model/ModelCommand.d.ts.map +1 -1
  168. package/bin/model/ModelManager.d.ts +1 -1
  169. package/bin/model/ModelManager.d.ts.map +1 -1
  170. package/bin/registry/AgentHostRuntime.d.ts +1 -1
  171. package/bin/registry/AgentHostRuntime.d.ts.map +1 -1
  172. package/bin/registry/AgentHostRuntime.js +1 -1
  173. package/bin/registry/AgentHostRuntime.js.map +1 -1
  174. package/bin/registry/CityRegistry.d.ts +1 -1
  175. package/bin/registry/CityRegistry.d.ts.map +1 -1
  176. package/bin/registry/PluginRuntime.d.ts +1 -1
  177. package/bin/registry/PluginRuntime.d.ts.map +1 -1
  178. package/bin/rpc/Paths.js +1 -1
  179. package/bin/rpc/Paths.js.map +1 -1
  180. package/bin/sandbox/SandboxConfigResolver.d.ts +1 -1
  181. package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -1
  182. package/bin/sandbox/SandboxRunner.d.ts +1 -1
  183. package/bin/sandbox/SandboxRunner.d.ts.map +1 -1
  184. package/bin/{shared/utils/store → store}/StoreChannelAccountRepository.d.ts +1 -1
  185. package/bin/store/StoreChannelAccountRepository.d.ts.map +1 -0
  186. package/bin/store/StoreChannelAccountRepository.js.map +1 -0
  187. package/bin/{shared/utils/store → store}/StoreEnvRepository.d.ts +1 -1
  188. package/bin/store/StoreEnvRepository.d.ts.map +1 -0
  189. package/bin/store/StoreEnvRepository.js.map +1 -0
  190. package/bin/{shared/utils/store → store}/StoreModelRepository.d.ts +1 -1
  191. package/bin/store/StoreModelRepository.d.ts.map +1 -0
  192. package/bin/store/StoreModelRepository.js.map +1 -0
  193. package/bin/store/StoreSchema.d.ts.map +1 -0
  194. package/bin/{shared/utils/store → store}/StoreSchema.js +0 -195
  195. package/bin/store/StoreSchema.js.map +1 -0
  196. package/bin/store/StoreSecureSettings.d.ts.map +1 -0
  197. package/bin/store/StoreSecureSettings.js.map +1 -0
  198. package/bin/{shared/utils/store → store}/StoreShared.d.ts +2 -2
  199. package/bin/store/StoreShared.d.ts.map +1 -0
  200. package/bin/{shared/utils/store → store}/StoreShared.js +1 -1
  201. package/bin/store/StoreShared.js.map +1 -0
  202. package/bin/store/crypto.d.ts.map +1 -0
  203. package/bin/{shared/utils/store → store}/crypto.js +1 -1
  204. package/bin/store/crypto.js.map +1 -0
  205. package/bin/{shared/utils/store → store}/index.d.ts +1 -17
  206. package/bin/store/index.d.ts.map +1 -0
  207. package/bin/{shared/utils/store → store}/index.js +2 -25
  208. package/bin/store/index.js.map +1 -0
  209. package/bin/store/schema.d.ts.map +1 -0
  210. package/bin/store/schema.js.map +1 -0
  211. package/bin/types/chat/ChatSession.d.ts +2 -2
  212. package/bin/types/chat/ChatSession.d.ts.map +1 -1
  213. package/bin/types/sandbox/SandboxRuntime.d.ts +2 -2
  214. package/bin/types/sandbox/SandboxRuntime.d.ts.map +1 -1
  215. package/bin/types/store/Store.d.ts +26 -0
  216. package/bin/types/store/Store.d.ts.map +1 -0
  217. package/bin/types/store/Store.js +9 -0
  218. package/bin/types/store/Store.js.map +1 -0
  219. package/bin/types/task/TaskRunner.d.ts +5 -5
  220. package/bin/types/task/TaskRunner.d.ts.map +1 -1
  221. package/bin/utils/Id.d.ts.map +1 -0
  222. package/bin/utils/Id.js.map +1 -0
  223. package/bin/{shared/utils → utils}/cli/CliOutput.d.ts +1 -1
  224. package/bin/utils/cli/CliOutput.d.ts.map +1 -0
  225. package/bin/{shared/utils → utils}/cli/CliOutput.js +1 -1
  226. package/bin/utils/cli/CliOutput.js.map +1 -0
  227. package/bin/utils/cli/Spinner.d.ts.map +1 -0
  228. package/bin/utils/cli/Spinner.js.map +1 -0
  229. package/bin/{shared/utils/storage/index.d.ts → utils/storage.d.ts} +2 -2
  230. package/bin/utils/storage.d.ts.map +1 -0
  231. package/bin/{shared/utils/storage/index.js → utils/storage.js} +1 -1
  232. package/bin/utils/storage.js.map +1 -0
  233. package/package.json +2 -2
  234. package/public/app.js +35 -35
  235. package/src/cli/AgentChat.ts +3 -3
  236. package/src/cli/AgentHistory.ts +1 -1
  237. package/src/cli/AgentManager.ts +4 -4
  238. package/src/cli/AgentReset.ts +1 -1
  239. package/src/cli/AgentSelection.ts +2 -2
  240. package/src/cli/ChatAuth.ts +26 -9
  241. package/src/cli/ChatManager.ts +3 -3
  242. package/src/cli/Config.ts +2 -2
  243. package/src/cli/Console.ts +1 -1
  244. package/src/cli/ConsoleInit.ts +3 -3
  245. package/src/cli/Env.ts +3 -3
  246. package/src/cli/Index.ts +2 -2
  247. package/src/cli/IndexAgentCommand.ts +2 -2
  248. package/src/cli/IndexConsoleProcess.ts +4 -4
  249. package/src/cli/IndexConsoleStatus.ts +1 -1
  250. package/src/cli/Init.ts +3 -3
  251. package/src/cli/ModelCommandShared.ts +3 -3
  252. package/src/cli/ModelCreateCommand.ts +2 -2
  253. package/src/cli/ModelManageCommand.ts +2 -2
  254. package/src/cli/ModelManager.ts +2 -2
  255. package/src/cli/ModelReadCommand.ts +2 -2
  256. package/src/cli/ModelSupport.ts +2 -2
  257. package/src/cli/Plugins.ts +6 -6
  258. package/src/cli/PublicHostEnv.ts +1 -1
  259. package/src/cli/Restart.ts +1 -1
  260. package/src/cli/Run.ts +7 -12
  261. package/src/{service/ServiceCommand.ts → cli/ServiceActionCommands.ts} +10 -9
  262. package/src/cli/ServiceCommandRemote.ts +3 -3
  263. package/src/cli/ServiceCommandSupport.ts +4 -4
  264. package/src/cli/ServiceScheduleCommand.ts +3 -3
  265. package/src/cli/Services.ts +4 -4
  266. package/src/cli/Start.ts +1 -1
  267. package/src/cli/Token.ts +2 -2
  268. package/src/cli/Update.ts +1 -1
  269. package/src/console/AgentStatusApiRoutes.ts +1 -1
  270. package/src/console/ChannelAccountApiRoutes.ts +2 -2
  271. package/src/console/ConsoleGateway.ts +3 -3
  272. package/src/console/ConsoleGatewayRoutes.ts +2 -2
  273. package/src/console/EnvApiRoutes.ts +1 -1
  274. package/src/console/InlineInstantRoutes.ts +2 -2
  275. package/src/console/InlineInstantSessionService.ts +14 -13
  276. package/src/console/InlineInstantSystemComposer.ts +3 -3
  277. package/src/console/ModelApiRoutes.ts +2 -2
  278. package/src/console/ModelPoolService.ts +3 -3
  279. package/src/console/PluginApiRoutes.ts +7 -7
  280. package/src/console/gateway/AgentActions.ts +5 -5
  281. package/src/console/gateway/AgentCatalog.ts +5 -5
  282. package/src/{shared/constants → constants}/DowncitySchema.ts +1 -1
  283. package/src/daemon/Api.ts +1 -1
  284. package/src/daemon/CliArgs.ts +1 -1
  285. package/src/daemon/Client.ts +1 -1
  286. package/src/daemon/Manager.ts +1 -1
  287. package/src/http/auth/AuthMiddleware.ts +1 -1
  288. package/src/http/auth/AuthService.ts +3 -3
  289. package/src/http/auth/AuthStore.ts +6 -6
  290. package/src/http/auth/RoutePolicy.ts +2 -2
  291. package/src/http/dashboard/AuthDashboardService.ts +5 -5
  292. package/src/http/dashboard/ExecuteInput.ts +2 -2
  293. package/src/http/dashboard/MessageTimeline.ts +4 -4
  294. package/src/http/dashboard/SessionSummaryStore.ts +5 -4
  295. package/src/http/dashboard/TaskStore.ts +2 -2
  296. package/src/model/ModelCommand.ts +1 -1
  297. package/src/model/ModelManager.ts +1 -1
  298. package/src/registry/AgentHostRuntime.ts +3 -3
  299. package/src/registry/CityRegistry.ts +1 -1
  300. package/src/registry/PluginRuntime.ts +1 -1
  301. package/src/rpc/Client.ts +1 -1
  302. package/src/rpc/Paths.ts +1 -1
  303. package/src/sandbox/SandboxConfigResolver.ts +1 -1
  304. package/src/sandbox/SandboxRunner.ts +1 -1
  305. package/src/{shared/utils/store → store}/StoreChannelAccountRepository.ts +1 -1
  306. package/src/{shared/utils/store → store}/StoreEnvRepository.ts +1 -1
  307. package/src/{shared/utils/store → store}/StoreModelRepository.ts +1 -1
  308. package/src/{shared/utils/store → store}/StoreSchema.ts +0 -223
  309. package/src/{shared/utils/store → store}/StoreShared.ts +2 -2
  310. package/src/{shared/utils/store → store}/crypto.ts +1 -1
  311. package/src/{shared/utils/store → store}/index.ts +3 -38
  312. package/src/types/chat/ChatSession.ts +2 -2
  313. package/src/types/sandbox/SandboxRuntime.ts +2 -2
  314. package/src/types/store/Store.ts +27 -0
  315. package/src/types/task/TaskRunner.ts +5 -5
  316. package/src/{shared/utils/storage/index.ts → utils/storage.ts} +1 -1
  317. package/tsconfig.json +1 -4
  318. package/bin/agent/AgentContext.d.ts +0 -23
  319. package/bin/agent/AgentContext.d.ts.map +0 -1
  320. package/bin/agent/AgentContext.js +0 -148
  321. package/bin/agent/AgentContext.js.map +0 -1
  322. package/bin/agent/AgentRuntime.d.ts +0 -32
  323. package/bin/agent/AgentRuntime.d.ts.map +0 -1
  324. package/bin/agent/AgentRuntime.js +0 -277
  325. package/bin/agent/AgentRuntime.js.map +0 -1
  326. package/bin/agent/AgentRuntimeState.d.ts +0 -42
  327. package/bin/agent/AgentRuntimeState.d.ts.map +0 -1
  328. package/bin/agent/AgentRuntimeState.js +0 -116
  329. package/bin/agent/AgentRuntimeState.js.map +0 -1
  330. package/bin/agent/project/AgentInitializer.d.ts +0 -38
  331. package/bin/agent/project/AgentInitializer.d.ts.map +0 -1
  332. package/bin/agent/project/AgentInitializer.js +0 -308
  333. package/bin/agent/project/AgentInitializer.js.map +0 -1
  334. package/bin/agent/project/ProjectExecutionBinding.d.ts +0 -27
  335. package/bin/agent/project/ProjectExecutionBinding.d.ts.map +0 -1
  336. package/bin/agent/project/ProjectExecutionBinding.js +0 -47
  337. package/bin/agent/project/ProjectExecutionBinding.js.map +0 -1
  338. package/bin/config/Config.d.ts +0 -32
  339. package/bin/config/Config.d.ts.map +0 -1
  340. package/bin/config/Config.js +0 -217
  341. package/bin/config/Config.js.map +0 -1
  342. package/bin/console/ChannelAccountService.d.ts +0 -9
  343. package/bin/console/ChannelAccountService.d.ts.map +0 -1
  344. package/bin/console/ChannelAccountService.js +0 -9
  345. package/bin/console/ChannelAccountService.js.map +0 -1
  346. package/bin/daemon/ProjectSetup.d.ts +0 -22
  347. package/bin/daemon/ProjectSetup.d.ts.map +0 -1
  348. package/bin/daemon/ProjectSetup.js +0 -101
  349. package/bin/daemon/ProjectSetup.js.map +0 -1
  350. package/bin/http/Server.d.ts +0 -39
  351. package/bin/http/Server.d.ts.map +0 -1
  352. package/bin/http/Server.js +0 -122
  353. package/bin/http/Server.js.map +0 -1
  354. package/bin/http/dashboard/DashboardApiRoutes.d.ts +0 -13
  355. package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +0 -1
  356. package/bin/http/dashboard/DashboardApiRoutes.js +0 -26
  357. package/bin/http/dashboard/DashboardApiRoutes.js.map +0 -1
  358. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +0 -17
  359. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +0 -1
  360. package/bin/http/dashboard/DashboardAuthorizationRoutes.js +0 -78
  361. package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +0 -1
  362. package/bin/http/dashboard/ExecuteBySession.d.ts +0 -39
  363. package/bin/http/dashboard/ExecuteBySession.d.ts.map +0 -1
  364. package/bin/http/dashboard/ExecuteBySession.js +0 -129
  365. package/bin/http/dashboard/ExecuteBySession.js.map +0 -1
  366. package/bin/http/dashboard/Helpers.d.ts +0 -13
  367. package/bin/http/dashboard/Helpers.d.ts.map +0 -1
  368. package/bin/http/dashboard/Helpers.js +0 -13
  369. package/bin/http/dashboard/Helpers.js.map +0 -1
  370. package/bin/http/dashboard/ModelRoutes.d.ts +0 -13
  371. package/bin/http/dashboard/ModelRoutes.d.ts.map +0 -1
  372. package/bin/http/dashboard/ModelRoutes.js +0 -87
  373. package/bin/http/dashboard/ModelRoutes.js.map +0 -1
  374. package/bin/http/dashboard/OverviewRoutes.d.ts +0 -13
  375. package/bin/http/dashboard/OverviewRoutes.d.ts.map +0 -1
  376. package/bin/http/dashboard/OverviewRoutes.js +0 -88
  377. package/bin/http/dashboard/OverviewRoutes.js.map +0 -1
  378. package/bin/http/dashboard/Router.d.ts +0 -14
  379. package/bin/http/dashboard/Router.d.ts.map +0 -1
  380. package/bin/http/dashboard/Router.js +0 -21
  381. package/bin/http/dashboard/Router.js.map +0 -1
  382. package/bin/http/dashboard/SessionRoutes.d.ts +0 -13
  383. package/bin/http/dashboard/SessionRoutes.d.ts.map +0 -1
  384. package/bin/http/dashboard/SessionRoutes.js +0 -323
  385. package/bin/http/dashboard/SessionRoutes.js.map +0 -1
  386. package/bin/http/dashboard/TaskRoutes.d.ts +0 -13
  387. package/bin/http/dashboard/TaskRoutes.d.ts.map +0 -1
  388. package/bin/http/dashboard/TaskRoutes.js +0 -318
  389. package/bin/http/dashboard/TaskRoutes.js.map +0 -1
  390. package/bin/http/execute/execute.d.ts +0 -14
  391. package/bin/http/execute/execute.d.ts.map +0 -1
  392. package/bin/http/execute/execute.js +0 -90
  393. package/bin/http/execute/execute.js.map +0 -1
  394. package/bin/http/health/health.d.ts +0 -14
  395. package/bin/http/health/health.d.ts.map +0 -1
  396. package/bin/http/health/health.js +0 -24
  397. package/bin/http/health/health.js.map +0 -1
  398. package/bin/http/plugins/plugins.d.ts +0 -14
  399. package/bin/http/plugins/plugins.d.ts.map +0 -1
  400. package/bin/http/plugins/plugins.js +0 -55
  401. package/bin/http/plugins/plugins.js.map +0 -1
  402. package/bin/http/services/services.d.ts +0 -21
  403. package/bin/http/services/services.d.ts.map +0 -1
  404. package/bin/http/services/services.js +0 -79
  405. package/bin/http/services/services.js.map +0 -1
  406. package/bin/http/static/static.d.ts +0 -14
  407. package/bin/http/static/static.d.ts.map +0 -1
  408. package/bin/http/static/static.js +0 -97
  409. package/bin/http/static/static.js.map +0 -1
  410. package/bin/model/CreateModel.d.ts +0 -30
  411. package/bin/model/CreateModel.d.ts.map +0 -1
  412. package/bin/model/CreateModel.js +0 -305
  413. package/bin/model/CreateModel.js.map +0 -1
  414. package/bin/plugin/Activation.d.ts +0 -15
  415. package/bin/plugin/Activation.d.ts.map +0 -1
  416. package/bin/plugin/Activation.js +0 -20
  417. package/bin/plugin/Activation.js.map +0 -1
  418. package/bin/plugin/Catalog.d.ts +0 -42
  419. package/bin/plugin/Catalog.d.ts.map +0 -1
  420. package/bin/plugin/Catalog.js +0 -92
  421. package/bin/plugin/Catalog.js.map +0 -1
  422. package/bin/plugin/HookRegistry.d.ts +0 -68
  423. package/bin/plugin/HookRegistry.d.ts.map +0 -1
  424. package/bin/plugin/HookRegistry.js +0 -186
  425. package/bin/plugin/HookRegistry.js.map +0 -1
  426. package/bin/plugin/HttpRoutes.d.ts +0 -22
  427. package/bin/plugin/HttpRoutes.d.ts.map +0 -1
  428. package/bin/plugin/HttpRoutes.js +0 -37
  429. package/bin/plugin/HttpRoutes.js.map +0 -1
  430. package/bin/plugin/Lifecycle.d.ts +0 -33
  431. package/bin/plugin/Lifecycle.d.ts.map +0 -1
  432. package/bin/plugin/Lifecycle.js +0 -102
  433. package/bin/plugin/Lifecycle.js.map +0 -1
  434. package/bin/plugin/LocalExecution.d.ts +0 -32
  435. package/bin/plugin/LocalExecution.d.ts.map +0 -1
  436. package/bin/plugin/LocalExecution.js +0 -127
  437. package/bin/plugin/LocalExecution.js.map +0 -1
  438. package/bin/plugin/PluginCommand.d.ts +0 -13
  439. package/bin/plugin/PluginCommand.d.ts.map +0 -1
  440. package/bin/plugin/PluginCommand.js +0 -189
  441. package/bin/plugin/PluginCommand.js.map +0 -1
  442. package/bin/plugin/PluginManager.d.ts +0 -24
  443. package/bin/plugin/PluginManager.d.ts.map +0 -1
  444. package/bin/plugin/PluginManager.js +0 -62
  445. package/bin/plugin/PluginManager.js.map +0 -1
  446. package/bin/plugin/PluginRegistry.d.ts +0 -66
  447. package/bin/plugin/PluginRegistry.d.ts.map +0 -1
  448. package/bin/plugin/PluginRegistry.js +0 -184
  449. package/bin/plugin/PluginRegistry.js.map +0 -1
  450. package/bin/plugin/Plugins.d.ts +0 -20
  451. package/bin/plugin/Plugins.d.ts.map +0 -1
  452. package/bin/plugin/Plugins.js +0 -33
  453. package/bin/plugin/Plugins.js.map +0 -1
  454. package/bin/plugin/ProjectConfigStore.d.ts +0 -30
  455. package/bin/plugin/ProjectConfigStore.d.ts.map +0 -1
  456. package/bin/plugin/ProjectConfigStore.js +0 -38
  457. package/bin/plugin/ProjectConfigStore.js.map +0 -1
  458. package/bin/plugins/asr/Dependency.d.ts +0 -77
  459. package/bin/plugins/asr/Dependency.d.ts.map +0 -1
  460. package/bin/plugins/asr/Dependency.js +0 -238
  461. package/bin/plugins/asr/Dependency.js.map +0 -1
  462. package/bin/plugins/asr/ModelCatalog.d.ts +0 -29
  463. package/bin/plugins/asr/ModelCatalog.d.ts.map +0 -1
  464. package/bin/plugins/asr/ModelCatalog.js +0 -25
  465. package/bin/plugins/asr/ModelCatalog.js.map +0 -1
  466. package/bin/plugins/asr/Plugin.d.ts +0 -14
  467. package/bin/plugins/asr/Plugin.d.ts.map +0 -1
  468. package/bin/plugins/asr/Plugin.js +0 -586
  469. package/bin/plugins/asr/Plugin.js.map +0 -1
  470. package/bin/plugins/auth/Plugin.d.ts +0 -14
  471. package/bin/plugins/auth/Plugin.d.ts.map +0 -1
  472. package/bin/plugins/auth/Plugin.js +0 -180
  473. package/bin/plugins/auth/Plugin.js.map +0 -1
  474. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +0 -42
  475. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
  476. package/bin/plugins/auth/runtime/AuthorizationConfig.js +0 -264
  477. package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +0 -1
  478. package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +0 -31
  479. package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
  480. package/bin/plugins/auth/runtime/AuthorizationPolicy.js +0 -122
  481. package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +0 -1
  482. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +0 -29
  483. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
  484. package/bin/plugins/auth/runtime/AuthorizationStore.js +0 -179
  485. package/bin/plugins/auth/runtime/AuthorizationStore.js.map +0 -1
  486. package/bin/plugins/skill/Action.d.ts +0 -34
  487. package/bin/plugins/skill/Action.d.ts.map +0 -1
  488. package/bin/plugins/skill/Action.js +0 -122
  489. package/bin/plugins/skill/Action.js.map +0 -1
  490. package/bin/plugins/skill/Command.d.ts +0 -37
  491. package/bin/plugins/skill/Command.d.ts.map +0 -1
  492. package/bin/plugins/skill/Command.js +0 -70
  493. package/bin/plugins/skill/Command.js.map +0 -1
  494. package/bin/plugins/skill/Config.d.ts +0 -18
  495. package/bin/plugins/skill/Config.d.ts.map +0 -1
  496. package/bin/plugins/skill/Config.js +0 -37
  497. package/bin/plugins/skill/Config.js.map +0 -1
  498. package/bin/plugins/skill/PROMPT.txt +0 -10
  499. package/bin/plugins/skill/Plugin.d.ts +0 -14
  500. package/bin/plugins/skill/Plugin.d.ts.map +0 -1
  501. package/bin/plugins/skill/Plugin.js +0 -315
  502. package/bin/plugins/skill/Plugin.js.map +0 -1
  503. package/bin/plugins/skill/runtime/Discovery.d.ts +0 -25
  504. package/bin/plugins/skill/runtime/Discovery.d.ts.map +0 -1
  505. package/bin/plugins/skill/runtime/Discovery.js +0 -130
  506. package/bin/plugins/skill/runtime/Discovery.js.map +0 -1
  507. package/bin/plugins/skill/runtime/Frontmatter.d.ts +0 -6
  508. package/bin/plugins/skill/runtime/Frontmatter.d.ts.map +0 -1
  509. package/bin/plugins/skill/runtime/Frontmatter.js +0 -12
  510. package/bin/plugins/skill/runtime/Frontmatter.js.map +0 -1
  511. package/bin/plugins/skill/runtime/Paths.d.ts +0 -16
  512. package/bin/plugins/skill/runtime/Paths.d.ts.map +0 -1
  513. package/bin/plugins/skill/runtime/Paths.js +0 -111
  514. package/bin/plugins/skill/runtime/Paths.js.map +0 -1
  515. package/bin/plugins/skill/runtime/Prompt.d.ts +0 -19
  516. package/bin/plugins/skill/runtime/Prompt.d.ts.map +0 -1
  517. package/bin/plugins/skill/runtime/Prompt.js +0 -54
  518. package/bin/plugins/skill/runtime/Prompt.js.map +0 -1
  519. package/bin/plugins/skill/runtime/Store.d.ts +0 -25
  520. package/bin/plugins/skill/runtime/Store.d.ts.map +0 -1
  521. package/bin/plugins/skill/runtime/Store.js +0 -81
  522. package/bin/plugins/skill/runtime/Store.js.map +0 -1
  523. package/bin/plugins/skill/runtime/SystemProvider.d.ts +0 -24
  524. package/bin/plugins/skill/runtime/SystemProvider.d.ts.map +0 -1
  525. package/bin/plugins/skill/runtime/SystemProvider.js +0 -33
  526. package/bin/plugins/skill/runtime/SystemProvider.js.map +0 -1
  527. package/bin/plugins/skill/runtime/Types.d.ts +0 -21
  528. package/bin/plugins/skill/runtime/Types.d.ts.map +0 -1
  529. package/bin/plugins/skill/runtime/Types.js +0 -2
  530. package/bin/plugins/skill/runtime/Types.js.map +0 -1
  531. package/bin/plugins/skill/runtime/Utils.d.ts +0 -4
  532. package/bin/plugins/skill/runtime/Utils.d.ts.map +0 -1
  533. package/bin/plugins/skill/runtime/Utils.js +0 -29
  534. package/bin/plugins/skill/runtime/Utils.js.map +0 -1
  535. package/bin/plugins/tts/Dependency.d.ts +0 -90
  536. package/bin/plugins/tts/Dependency.d.ts.map +0 -1
  537. package/bin/plugins/tts/Dependency.js +0 -344
  538. package/bin/plugins/tts/Dependency.js.map +0 -1
  539. package/bin/plugins/tts/Plugin.d.ts +0 -13
  540. package/bin/plugins/tts/Plugin.d.ts.map +0 -1
  541. package/bin/plugins/tts/Plugin.js +0 -524
  542. package/bin/plugins/tts/Plugin.js.map +0 -1
  543. package/bin/plugins/tts/runtime/Catalog.d.ts +0 -21
  544. package/bin/plugins/tts/runtime/Catalog.d.ts.map +0 -1
  545. package/bin/plugins/tts/runtime/Catalog.js +0 -90
  546. package/bin/plugins/tts/runtime/Catalog.js.map +0 -1
  547. package/bin/plugins/tts/runtime/DependencyInstaller.d.ts +0 -143
  548. package/bin/plugins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
  549. package/bin/plugins/tts/runtime/DependencyInstaller.js +0 -261
  550. package/bin/plugins/tts/runtime/DependencyInstaller.js.map +0 -1
  551. package/bin/plugins/tts/runtime/Installer.d.ts +0 -89
  552. package/bin/plugins/tts/runtime/Installer.d.ts.map +0 -1
  553. package/bin/plugins/tts/runtime/Installer.js +0 -188
  554. package/bin/plugins/tts/runtime/Installer.js.map +0 -1
  555. package/bin/plugins/tts/runtime/Paths.d.ts +0 -20
  556. package/bin/plugins/tts/runtime/Paths.d.ts.map +0 -1
  557. package/bin/plugins/tts/runtime/Paths.js +0 -32
  558. package/bin/plugins/tts/runtime/Paths.js.map +0 -1
  559. package/bin/plugins/tts/runtime/Synthesizer.d.ts +0 -44
  560. package/bin/plugins/tts/runtime/Synthesizer.d.ts.map +0 -1
  561. package/bin/plugins/tts/runtime/Synthesizer.js +0 -363
  562. package/bin/plugins/tts/runtime/Synthesizer.js.map +0 -1
  563. package/bin/plugins/voice/Dependency.d.ts +0 -77
  564. package/bin/plugins/voice/Dependency.d.ts.map +0 -1
  565. package/bin/plugins/voice/Dependency.js +0 -237
  566. package/bin/plugins/voice/Dependency.js.map +0 -1
  567. package/bin/plugins/voice/ModelCatalog.d.ts +0 -29
  568. package/bin/plugins/voice/ModelCatalog.d.ts.map +0 -1
  569. package/bin/plugins/voice/ModelCatalog.js +0 -25
  570. package/bin/plugins/voice/ModelCatalog.js.map +0 -1
  571. package/bin/plugins/voice/Plugin.d.ts +0 -14
  572. package/bin/plugins/voice/Plugin.d.ts.map +0 -1
  573. package/bin/plugins/voice/Plugin.js +0 -546
  574. package/bin/plugins/voice/Plugin.js.map +0 -1
  575. package/bin/plugins/voice/runtime/Catalog.d.ts +0 -18
  576. package/bin/plugins/voice/runtime/Catalog.d.ts.map +0 -1
  577. package/bin/plugins/voice/runtime/Catalog.js +0 -61
  578. package/bin/plugins/voice/runtime/Catalog.js.map +0 -1
  579. package/bin/plugins/voice/runtime/DependencyInstaller.d.ts +0 -145
  580. package/bin/plugins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
  581. package/bin/plugins/voice/runtime/DependencyInstaller.js +0 -309
  582. package/bin/plugins/voice/runtime/DependencyInstaller.js.map +0 -1
  583. package/bin/plugins/voice/runtime/Installer.d.ts +0 -94
  584. package/bin/plugins/voice/runtime/Installer.d.ts.map +0 -1
  585. package/bin/plugins/voice/runtime/Installer.js +0 -200
  586. package/bin/plugins/voice/runtime/Installer.js.map +0 -1
  587. package/bin/plugins/voice/runtime/Paths.d.ts +0 -8
  588. package/bin/plugins/voice/runtime/Paths.d.ts.map +0 -1
  589. package/bin/plugins/voice/runtime/Paths.js +0 -26
  590. package/bin/plugins/voice/runtime/Paths.js.map +0 -1
  591. package/bin/plugins/voice/runtime/Transcriber.d.ts +0 -57
  592. package/bin/plugins/voice/runtime/Transcriber.d.ts.map +0 -1
  593. package/bin/plugins/voice/runtime/Transcriber.js +0 -329
  594. package/bin/plugins/voice/runtime/Transcriber.js.map +0 -1
  595. package/bin/plugins/web/Dependency.d.ts +0 -10
  596. package/bin/plugins/web/Dependency.d.ts.map +0 -1
  597. package/bin/plugins/web/Dependency.js +0 -10
  598. package/bin/plugins/web/Dependency.js.map +0 -1
  599. package/bin/plugins/web/PROMPT.agent-browser.txt +0 -17
  600. package/bin/plugins/web/PROMPT.txt +0 -33
  601. package/bin/plugins/web/PROMPT.web-access.txt +0 -13
  602. package/bin/plugins/web/Plugin.d.ts +0 -13
  603. package/bin/plugins/web/Plugin.d.ts.map +0 -1
  604. package/bin/plugins/web/Plugin.js +0 -482
  605. package/bin/plugins/web/Plugin.js.map +0 -1
  606. package/bin/plugins/web/runtime/Config.d.ts +0 -21
  607. package/bin/plugins/web/runtime/Config.d.ts.map +0 -1
  608. package/bin/plugins/web/runtime/Config.js +0 -79
  609. package/bin/plugins/web/runtime/Config.js.map +0 -1
  610. package/bin/plugins/web/runtime/Source.d.ts +0 -29
  611. package/bin/plugins/web/runtime/Source.d.ts.map +0 -1
  612. package/bin/plugins/web/runtime/Source.js +0 -215
  613. package/bin/plugins/web/runtime/Source.js.map +0 -1
  614. package/bin/plugins/workboard/Plugin.d.ts +0 -13
  615. package/bin/plugins/workboard/Plugin.d.ts.map +0 -1
  616. package/bin/plugins/workboard/Plugin.js +0 -71
  617. package/bin/plugins/workboard/Plugin.js.map +0 -1
  618. package/bin/plugins/workboard/runtime/Collector.d.ts +0 -14
  619. package/bin/plugins/workboard/runtime/Collector.d.ts.map +0 -1
  620. package/bin/plugins/workboard/runtime/Collector.js +0 -62
  621. package/bin/plugins/workboard/runtime/Collector.js.map +0 -1
  622. package/bin/plugins/workboard/runtime/Normalizer.d.ts +0 -61
  623. package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +0 -1
  624. package/bin/plugins/workboard/runtime/Normalizer.js +0 -172
  625. package/bin/plugins/workboard/runtime/Normalizer.js.map +0 -1
  626. package/bin/plugins/workboard/runtime/Store.d.ts +0 -48
  627. package/bin/plugins/workboard/runtime/Store.d.ts.map +0 -1
  628. package/bin/plugins/workboard/runtime/Store.js +0 -84
  629. package/bin/plugins/workboard/runtime/Store.js.map +0 -1
  630. package/bin/plugins/workboard/types/Workboard.d.ts +0 -150
  631. package/bin/plugins/workboard/types/Workboard.d.ts.map +0 -1
  632. package/bin/plugins/workboard/types/Workboard.js +0 -9
  633. package/bin/plugins/workboard/types/Workboard.js.map +0 -1
  634. package/bin/rpc/Server.d.ts +0 -18
  635. package/bin/rpc/Server.d.ts.map +0 -1
  636. package/bin/rpc/Server.js +0 -307
  637. package/bin/rpc/Server.js.map +0 -1
  638. package/bin/rpc/Transport.d.ts +0 -21
  639. package/bin/rpc/Transport.d.ts.map +0 -1
  640. package/bin/rpc/Transport.js +0 -30
  641. package/bin/rpc/Transport.js.map +0 -1
  642. package/bin/runtime/AgentHostRuntime.d.ts +0 -10
  643. package/bin/runtime/AgentHostRuntime.d.ts.map +0 -1
  644. package/bin/runtime/AgentHostRuntime.js +0 -47
  645. package/bin/runtime/AgentHostRuntime.js.map +0 -1
  646. package/bin/runtime/CityPaths.d.ts +0 -61
  647. package/bin/runtime/CityPaths.d.ts.map +0 -1
  648. package/bin/runtime/CityPaths.js +0 -90
  649. package/bin/runtime/CityPaths.js.map +0 -1
  650. package/bin/runtime/CityRegistry.d.ts +0 -51
  651. package/bin/runtime/CityRegistry.d.ts.map +0 -1
  652. package/bin/runtime/CityRegistry.js +0 -217
  653. package/bin/runtime/CityRegistry.js.map +0 -1
  654. package/bin/runtime/CityRuntime.d.ts +0 -21
  655. package/bin/runtime/CityRuntime.d.ts.map +0 -1
  656. package/bin/runtime/CityRuntime.js +0 -45
  657. package/bin/runtime/CityRuntime.js.map +0 -1
  658. package/bin/runtime/PluginRuntime.d.ts +0 -24
  659. package/bin/runtime/PluginRuntime.d.ts.map +0 -1
  660. package/bin/runtime/PluginRuntime.js +0 -31
  661. package/bin/runtime/PluginRuntime.js.map +0 -1
  662. package/bin/runtime/ProcessSweep.d.ts +0 -76
  663. package/bin/runtime/ProcessSweep.d.ts.map +0 -1
  664. package/bin/runtime/ProcessSweep.js +0 -202
  665. package/bin/runtime/ProcessSweep.js.map +0 -1
  666. package/bin/service/Manager.d.ts +0 -13
  667. package/bin/service/Manager.d.ts.map +0 -1
  668. package/bin/service/Manager.js +0 -12
  669. package/bin/service/Manager.js.map +0 -1
  670. package/bin/service/ServiceActionApi.d.ts +0 -15
  671. package/bin/service/ServiceActionApi.d.ts.map +0 -1
  672. package/bin/service/ServiceActionApi.js +0 -234
  673. package/bin/service/ServiceActionApi.js.map +0 -1
  674. package/bin/service/ServiceActionRunner.d.ts +0 -44
  675. package/bin/service/ServiceActionRunner.d.ts.map +0 -1
  676. package/bin/service/ServiceActionRunner.js +0 -211
  677. package/bin/service/ServiceActionRunner.js.map +0 -1
  678. package/bin/service/ServiceClassRegistry.d.ts +0 -40
  679. package/bin/service/ServiceClassRegistry.d.ts.map +0 -1
  680. package/bin/service/ServiceClassRegistry.js +0 -64
  681. package/bin/service/ServiceClassRegistry.js.map +0 -1
  682. package/bin/service/ServiceCommand.d.ts.map +0 -1
  683. package/bin/service/ServiceCommand.js.map +0 -1
  684. package/bin/service/ServiceManager.d.ts +0 -9
  685. package/bin/service/ServiceManager.d.ts.map +0 -1
  686. package/bin/service/ServiceManager.js +0 -9
  687. package/bin/service/ServiceManager.js.map +0 -1
  688. package/bin/service/ServiceStateController.d.ts +0 -79
  689. package/bin/service/ServiceStateController.d.ts.map +0 -1
  690. package/bin/service/ServiceStateController.js +0 -245
  691. package/bin/service/ServiceStateController.js.map +0 -1
  692. package/bin/service/ServiceSystemProviders.d.ts +0 -27
  693. package/bin/service/ServiceSystemProviders.d.ts.map +0 -1
  694. package/bin/service/ServiceSystemProviders.js +0 -34
  695. package/bin/service/ServiceSystemProviders.js.map +0 -1
  696. package/bin/service/Services.d.ts +0 -18
  697. package/bin/service/Services.d.ts.map +0 -1
  698. package/bin/service/Services.js +0 -23
  699. package/bin/service/Services.js.map +0 -1
  700. package/bin/service/schedule/Executor.d.ts +0 -17
  701. package/bin/service/schedule/Executor.d.ts.map +0 -1
  702. package/bin/service/schedule/Executor.js +0 -48
  703. package/bin/service/schedule/Executor.js.map +0 -1
  704. package/bin/service/schedule/Runtime.d.ts +0 -17
  705. package/bin/service/schedule/Runtime.d.ts.map +0 -1
  706. package/bin/service/schedule/Runtime.js +0 -64
  707. package/bin/service/schedule/Runtime.js.map +0 -1
  708. package/bin/service/schedule/Schema.d.ts +0 -171
  709. package/bin/service/schedule/Schema.d.ts.map +0 -1
  710. package/bin/service/schedule/Schema.js +0 -26
  711. package/bin/service/schedule/Schema.js.map +0 -1
  712. package/bin/service/schedule/Store.d.ts +0 -94
  713. package/bin/service/schedule/Store.d.ts.map +0 -1
  714. package/bin/service/schedule/Store.js +0 -266
  715. package/bin/service/schedule/Store.js.map +0 -1
  716. package/bin/service/schedule/Time.d.ts +0 -31
  717. package/bin/service/schedule/Time.d.ts.map +0 -1
  718. package/bin/service/schedule/Time.js +0 -107
  719. package/bin/service/schedule/Time.js.map +0 -1
  720. package/bin/services/BaseService.d.ts +0 -62
  721. package/bin/services/BaseService.d.ts.map +0 -1
  722. package/bin/services/BaseService.js +0 -56
  723. package/bin/services/BaseService.js.map +0 -1
  724. package/bin/services/chat/Action.d.ts +0 -125
  725. package/bin/services/chat/Action.d.ts.map +0 -1
  726. package/bin/services/chat/Action.js +0 -376
  727. package/bin/services/chat/Action.js.map +0 -1
  728. package/bin/services/chat/ChatService.d.ts +0 -63
  729. package/bin/services/chat/ChatService.d.ts.map +0 -1
  730. package/bin/services/chat/ChatService.js +0 -96
  731. package/bin/services/chat/ChatService.js.map +0 -1
  732. package/bin/services/chat/Index.d.ts +0 -9
  733. package/bin/services/chat/Index.d.ts.map +0 -1
  734. package/bin/services/chat/Index.js +0 -9
  735. package/bin/services/chat/Index.js.map +0 -1
  736. package/bin/services/chat/PROMPT.direct.txt +0 -55
  737. package/bin/services/chat/accounts/ChannelAccountService.d.ts +0 -60
  738. package/bin/services/chat/accounts/ChannelAccountService.d.ts.map +0 -1
  739. package/bin/services/chat/accounts/ChannelAccountService.js +0 -285
  740. package/bin/services/chat/accounts/ChannelAccountService.js.map +0 -1
  741. package/bin/services/chat/channels/BaseChatChannel.d.ts +0 -201
  742. package/bin/services/chat/channels/BaseChatChannel.d.ts.map +0 -1
  743. package/bin/services/chat/channels/BaseChatChannel.js +0 -294
  744. package/bin/services/chat/channels/BaseChatChannel.js.map +0 -1
  745. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +0 -73
  746. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
  747. package/bin/services/chat/channels/BaseChatChannelQueue.js +0 -238
  748. package/bin/services/chat/channels/BaseChatChannelQueue.js.map +0 -1
  749. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +0 -189
  750. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
  751. package/bin/services/chat/channels/BaseChatChannelSupport.js +0 -141
  752. package/bin/services/chat/channels/BaseChatChannelSupport.js.map +0 -1
  753. package/bin/services/chat/channels/BotInfoProvider.d.ts +0 -18
  754. package/bin/services/chat/channels/BotInfoProvider.d.ts.map +0 -1
  755. package/bin/services/chat/channels/BotInfoProvider.js +0 -32
  756. package/bin/services/chat/channels/BotInfoProvider.js.map +0 -1
  757. package/bin/services/chat/channels/Configuration.d.ts +0 -27
  758. package/bin/services/chat/channels/Configuration.d.ts.map +0 -1
  759. package/bin/services/chat/channels/Configuration.js +0 -19
  760. package/bin/services/chat/channels/Configuration.js.map +0 -1
  761. package/bin/services/chat/channels/ConfigurationRegistry.d.ts +0 -18
  762. package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
  763. package/bin/services/chat/channels/ConfigurationRegistry.js +0 -31
  764. package/bin/services/chat/channels/ConfigurationRegistry.js.map +0 -1
  765. package/bin/services/chat/channels/feishu/BotInfo.d.ts +0 -20
  766. package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +0 -1
  767. package/bin/services/chat/channels/feishu/BotInfo.js +0 -147
  768. package/bin/services/chat/channels/feishu/BotInfo.js.map +0 -1
  769. package/bin/services/chat/channels/feishu/Configuration.d.ts +0 -17
  770. package/bin/services/chat/channels/feishu/Configuration.d.ts.map +0 -1
  771. package/bin/services/chat/channels/feishu/Configuration.js +0 -59
  772. package/bin/services/chat/channels/feishu/Configuration.js.map +0 -1
  773. package/bin/services/chat/channels/feishu/Feishu.d.ts +0 -116
  774. package/bin/services/chat/channels/feishu/Feishu.d.ts.map +0 -1
  775. package/bin/services/chat/channels/feishu/Feishu.js +0 -458
  776. package/bin/services/chat/channels/feishu/Feishu.js.map +0 -1
  777. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +0 -21
  778. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
  779. package/bin/services/chat/channels/feishu/FeishuInbound.js +0 -43
  780. package/bin/services/chat/channels/feishu/FeishuInbound.js.map +0 -1
  781. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
  782. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
  783. package/bin/services/chat/channels/feishu/FeishuPlatformClient.js +0 -316
  784. package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
  785. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
  786. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
  787. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
  788. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
  789. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
  790. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
  791. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
  792. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
  793. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +0 -31
  794. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
  795. package/bin/services/chat/channels/feishu/InboundAttachment.js +0 -222
  796. package/bin/services/chat/channels/feishu/InboundAttachment.js.map +0 -1
  797. package/bin/services/chat/channels/feishu/PROMPT.direct.txt +0 -5
  798. package/bin/services/chat/channels/feishu/PostMessage.d.ts +0 -48
  799. package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +0 -1
  800. package/bin/services/chat/channels/feishu/PostMessage.js +0 -413
  801. package/bin/services/chat/channels/feishu/PostMessage.js.map +0 -1
  802. package/bin/services/chat/channels/feishu/ReplyContext.d.ts +0 -18
  803. package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
  804. package/bin/services/chat/channels/feishu/ReplyContext.js +0 -56
  805. package/bin/services/chat/channels/feishu/ReplyContext.js.map +0 -1
  806. package/bin/services/chat/channels/feishu/Shared.d.ts +0 -21
  807. package/bin/services/chat/channels/feishu/Shared.d.ts.map +0 -1
  808. package/bin/services/chat/channels/feishu/Shared.js +0 -69
  809. package/bin/services/chat/channels/feishu/Shared.js.map +0 -1
  810. package/bin/services/chat/channels/qq/BotInfo.d.ts +0 -19
  811. package/bin/services/chat/channels/qq/BotInfo.d.ts.map +0 -1
  812. package/bin/services/chat/channels/qq/BotInfo.js +0 -112
  813. package/bin/services/chat/channels/qq/BotInfo.js.map +0 -1
  814. package/bin/services/chat/channels/qq/Configuration.d.ts +0 -17
  815. package/bin/services/chat/channels/qq/Configuration.d.ts.map +0 -1
  816. package/bin/services/chat/channels/qq/Configuration.js +0 -59
  817. package/bin/services/chat/channels/qq/Configuration.js.map +0 -1
  818. package/bin/services/chat/channels/qq/PROMPT.direct.txt +0 -11
  819. package/bin/services/chat/channels/qq/QQ.d.ts +0 -92
  820. package/bin/services/chat/channels/qq/QQ.d.ts.map +0 -1
  821. package/bin/services/chat/channels/qq/QQ.js +0 -485
  822. package/bin/services/chat/channels/qq/QQ.js.map +0 -1
  823. package/bin/services/chat/channels/qq/QQEventCapture.d.ts +0 -22
  824. package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
  825. package/bin/services/chat/channels/qq/QQEventCapture.js +0 -67
  826. package/bin/services/chat/channels/qq/QQEventCapture.js.map +0 -1
  827. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
  828. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
  829. package/bin/services/chat/channels/qq/QQGatewayAuth.js +0 -186
  830. package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +0 -1
  831. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +0 -179
  832. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
  833. package/bin/services/chat/channels/qq/QQGatewayClient.js +0 -540
  834. package/bin/services/chat/channels/qq/QQGatewayClient.js.map +0 -1
  835. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +0 -84
  836. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
  837. package/bin/services/chat/channels/qq/QQGatewaySend.js +0 -120
  838. package/bin/services/chat/channels/qq/QQGatewaySend.js.map +0 -1
  839. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
  840. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
  841. package/bin/services/chat/channels/qq/QQGatewaySupport.js +0 -137
  842. package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +0 -1
  843. package/bin/services/chat/channels/qq/QQInbound.d.ts +0 -47
  844. package/bin/services/chat/channels/qq/QQInbound.d.ts.map +0 -1
  845. package/bin/services/chat/channels/qq/QQInbound.js +0 -235
  846. package/bin/services/chat/channels/qq/QQInbound.js.map +0 -1
  847. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
  848. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
  849. package/bin/services/chat/channels/qq/QQInboundDedupe.js +0 -108
  850. package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +0 -1
  851. package/bin/services/chat/channels/qq/QQSendSupport.d.ts +0 -20
  852. package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
  853. package/bin/services/chat/channels/qq/QQSendSupport.js +0 -86
  854. package/bin/services/chat/channels/qq/QQSendSupport.js.map +0 -1
  855. package/bin/services/chat/channels/qq/QQSupport.d.ts +0 -102
  856. package/bin/services/chat/channels/qq/QQSupport.d.ts.map +0 -1
  857. package/bin/services/chat/channels/qq/QQSupport.js +0 -172
  858. package/bin/services/chat/channels/qq/QQSupport.js.map +0 -1
  859. package/bin/services/chat/channels/qq/VoiceInput.d.ts +0 -64
  860. package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +0 -1
  861. package/bin/services/chat/channels/qq/VoiceInput.js +0 -299
  862. package/bin/services/chat/channels/qq/VoiceInput.js.map +0 -1
  863. package/bin/services/chat/channels/telegram/ApiClient.d.ts +0 -99
  864. package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +0 -1
  865. package/bin/services/chat/channels/telegram/ApiClient.js +0 -306
  866. package/bin/services/chat/channels/telegram/ApiClient.js.map +0 -1
  867. package/bin/services/chat/channels/telegram/Bot.d.ts +0 -97
  868. package/bin/services/chat/channels/telegram/Bot.d.ts.map +0 -1
  869. package/bin/services/chat/channels/telegram/Bot.js +0 -504
  870. package/bin/services/chat/channels/telegram/Bot.js.map +0 -1
  871. package/bin/services/chat/channels/telegram/BotInfo.d.ts +0 -19
  872. package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +0 -1
  873. package/bin/services/chat/channels/telegram/BotInfo.js +0 -71
  874. package/bin/services/chat/channels/telegram/BotInfo.js.map +0 -1
  875. package/bin/services/chat/channels/telegram/Configuration.d.ts +0 -17
  876. package/bin/services/chat/channels/telegram/Configuration.d.ts.map +0 -1
  877. package/bin/services/chat/channels/telegram/Configuration.js +0 -59
  878. package/bin/services/chat/channels/telegram/Configuration.js.map +0 -1
  879. package/bin/services/chat/channels/telegram/Handlers.d.ts +0 -42
  880. package/bin/services/chat/channels/telegram/Handlers.d.ts.map +0 -1
  881. package/bin/services/chat/channels/telegram/Handlers.js +0 -45
  882. package/bin/services/chat/channels/telegram/Handlers.js.map +0 -1
  883. package/bin/services/chat/channels/telegram/PROMPT.direct.txt +0 -1
  884. package/bin/services/chat/channels/telegram/ReplyContext.d.ts +0 -14
  885. package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
  886. package/bin/services/chat/channels/telegram/ReplyContext.js +0 -57
  887. package/bin/services/chat/channels/telegram/ReplyContext.js.map +0 -1
  888. package/bin/services/chat/channels/telegram/Shared.d.ts +0 -221
  889. package/bin/services/chat/channels/telegram/Shared.d.ts.map +0 -1
  890. package/bin/services/chat/channels/telegram/Shared.js +0 -171
  891. package/bin/services/chat/channels/telegram/Shared.js.map +0 -1
  892. package/bin/services/chat/channels/telegram/StateStore.d.ts +0 -27
  893. package/bin/services/chat/channels/telegram/StateStore.d.ts.map +0 -1
  894. package/bin/services/chat/channels/telegram/StateStore.js +0 -53
  895. package/bin/services/chat/channels/telegram/StateStore.js.map +0 -1
  896. package/bin/services/chat/channels/telegram/TelegramInbound.d.ts +0 -46
  897. package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
  898. package/bin/services/chat/channels/telegram/TelegramInbound.js +0 -148
  899. package/bin/services/chat/channels/telegram/TelegramInbound.js.map +0 -1
  900. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
  901. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
  902. package/bin/services/chat/channels/telegram/TelegramPlatformClient.js +0 -366
  903. package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
  904. package/bin/services/chat/runtime/ChannelContextStore.d.ts +0 -78
  905. package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +0 -1
  906. package/bin/services/chat/runtime/ChannelContextStore.js +0 -336
  907. package/bin/services/chat/runtime/ChannelContextStore.js.map +0 -1
  908. package/bin/services/chat/runtime/ChatActionExecution.d.ts +0 -145
  909. package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +0 -1
  910. package/bin/services/chat/runtime/ChatActionExecution.js +0 -287
  911. package/bin/services/chat/runtime/ChatActionExecution.js.map +0 -1
  912. package/bin/services/chat/runtime/ChatActionInput.d.ts +0 -63
  913. package/bin/services/chat/runtime/ChatActionInput.d.ts.map +0 -1
  914. package/bin/services/chat/runtime/ChatActionInput.js +0 -458
  915. package/bin/services/chat/runtime/ChatActionInput.js.map +0 -1
  916. package/bin/services/chat/runtime/ChatChannelActions.d.ts +0 -122
  917. package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +0 -1
  918. package/bin/services/chat/runtime/ChatChannelActions.js +0 -237
  919. package/bin/services/chat/runtime/ChatChannelActions.js.map +0 -1
  920. package/bin/services/chat/runtime/ChatChannelConfig.d.ts +0 -61
  921. package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
  922. package/bin/services/chat/runtime/ChatChannelConfig.js +0 -265
  923. package/bin/services/chat/runtime/ChatChannelConfig.js.map +0 -1
  924. package/bin/services/chat/runtime/ChatChannelCore.d.ts +0 -41
  925. package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +0 -1
  926. package/bin/services/chat/runtime/ChatChannelCore.js +0 -92
  927. package/bin/services/chat/runtime/ChatChannelCore.js.map +0 -1
  928. package/bin/services/chat/runtime/ChatChannelFacade.d.ts +0 -12
  929. package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
  930. package/bin/services/chat/runtime/ChatChannelFacade.js +0 -12
  931. package/bin/services/chat/runtime/ChatChannelFacade.js.map +0 -1
  932. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
  933. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
  934. package/bin/services/chat/runtime/ChatChannelLifecycle.js +0 -132
  935. package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +0 -1
  936. package/bin/services/chat/runtime/ChatHistoryStore.d.ts +0 -72
  937. package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
  938. package/bin/services/chat/runtime/ChatHistoryStore.js +0 -219
  939. package/bin/services/chat/runtime/ChatHistoryStore.js.map +0 -1
  940. package/bin/services/chat/runtime/ChatIngressStore.d.ts +0 -52
  941. package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +0 -1
  942. package/bin/services/chat/runtime/ChatIngressStore.js +0 -65
  943. package/bin/services/chat/runtime/ChatIngressStore.js.map +0 -1
  944. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +0 -54
  945. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
  946. package/bin/services/chat/runtime/ChatMessageMarkup.js +0 -233
  947. package/bin/services/chat/runtime/ChatMessageMarkup.js.map +0 -1
  948. package/bin/services/chat/runtime/ChatMetaStore.d.ts +0 -68
  949. package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +0 -1
  950. package/bin/services/chat/runtime/ChatMetaStore.js +0 -143
  951. package/bin/services/chat/runtime/ChatMetaStore.js.map +0 -1
  952. package/bin/services/chat/runtime/ChatQueue.d.ts +0 -40
  953. package/bin/services/chat/runtime/ChatQueue.d.ts.map +0 -1
  954. package/bin/services/chat/runtime/ChatQueue.js +0 -52
  955. package/bin/services/chat/runtime/ChatQueue.js.map +0 -1
  956. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
  957. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
  958. package/bin/services/chat/runtime/ChatQueueReplyDispatch.js +0 -168
  959. package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
  960. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
  961. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
  962. package/bin/services/chat/runtime/ChatQueueSessionBridge.js +0 -98
  963. package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
  964. package/bin/services/chat/runtime/ChatQueueStore.d.ts +0 -85
  965. package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +0 -1
  966. package/bin/services/chat/runtime/ChatQueueStore.js +0 -130
  967. package/bin/services/chat/runtime/ChatQueueStore.js.map +0 -1
  968. package/bin/services/chat/runtime/ChatQueueWorker.d.ts +0 -88
  969. package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
  970. package/bin/services/chat/runtime/ChatQueueWorker.js +0 -435
  971. package/bin/services/chat/runtime/ChatQueueWorker.js.map +0 -1
  972. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
  973. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
  974. package/bin/services/chat/runtime/ChatQueueWorkerSupport.js +0 -101
  975. package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
  976. package/bin/services/chat/runtime/ChatSendMetadata.d.ts +0 -20
  977. package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
  978. package/bin/services/chat/runtime/ChatSendMetadata.js +0 -130
  979. package/bin/services/chat/runtime/ChatSendMetadata.js.map +0 -1
  980. package/bin/services/chat/runtime/ChatSendRegistry.d.ts +0 -27
  981. package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
  982. package/bin/services/chat/runtime/ChatSendRegistry.js +0 -26
  983. package/bin/services/chat/runtime/ChatSendRegistry.js.map +0 -1
  984. package/bin/services/chat/runtime/ChatServiceActions.d.ts +0 -17
  985. package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +0 -1
  986. package/bin/services/chat/runtime/ChatServiceActions.js +0 -411
  987. package/bin/services/chat/runtime/ChatServiceActions.js.map +0 -1
  988. package/bin/services/chat/runtime/ChatServiceSystem.d.ts +0 -22
  989. package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
  990. package/bin/services/chat/runtime/ChatServiceSystem.js +0 -87
  991. package/bin/services/chat/runtime/ChatServiceSystem.js.map +0 -1
  992. package/bin/services/chat/runtime/ChatSession.d.ts +0 -73
  993. package/bin/services/chat/runtime/ChatSession.d.ts.map +0 -1
  994. package/bin/services/chat/runtime/ChatSession.js +0 -78
  995. package/bin/services/chat/runtime/ChatSession.js.map +0 -1
  996. package/bin/services/chat/runtime/ChatSessionDelete.d.ts +0 -29
  997. package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
  998. package/bin/services/chat/runtime/ChatSessionDelete.js +0 -76
  999. package/bin/services/chat/runtime/ChatSessionDelete.js.map +0 -1
  1000. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +0 -45
  1001. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +0 -1
  1002. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +0 -60
  1003. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +0 -1
  1004. package/bin/services/chat/runtime/ChatkeySend.d.ts +0 -67
  1005. package/bin/services/chat/runtime/ChatkeySend.d.ts.map +0 -1
  1006. package/bin/services/chat/runtime/ChatkeySend.js +0 -147
  1007. package/bin/services/chat/runtime/ChatkeySend.js.map +0 -1
  1008. package/bin/services/chat/runtime/DirectDispatchParser.d.ts +0 -22
  1009. package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
  1010. package/bin/services/chat/runtime/DirectDispatchParser.js +0 -133
  1011. package/bin/services/chat/runtime/DirectDispatchParser.js.map +0 -1
  1012. package/bin/services/chat/runtime/EnqueueDispatch.d.ts +0 -24
  1013. package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
  1014. package/bin/services/chat/runtime/EnqueueDispatch.js +0 -28
  1015. package/bin/services/chat/runtime/EnqueueDispatch.js.map +0 -1
  1016. package/bin/services/chat/runtime/InboundAugment.d.ts +0 -21
  1017. package/bin/services/chat/runtime/InboundAugment.d.ts.map +0 -1
  1018. package/bin/services/chat/runtime/InboundAugment.js +0 -50
  1019. package/bin/services/chat/runtime/InboundAugment.js.map +0 -1
  1020. package/bin/services/chat/runtime/PluginDispatch.d.ts +0 -43
  1021. package/bin/services/chat/runtime/PluginDispatch.d.ts.map +0 -1
  1022. package/bin/services/chat/runtime/PluginDispatch.js +0 -57
  1023. package/bin/services/chat/runtime/PluginDispatch.js.map +0 -1
  1024. package/bin/services/chat/runtime/PluginPoints.d.ts +0 -78
  1025. package/bin/services/chat/runtime/PluginPoints.d.ts.map +0 -1
  1026. package/bin/services/chat/runtime/PluginPoints.js +0 -78
  1027. package/bin/services/chat/runtime/PluginPoints.js.map +0 -1
  1028. package/bin/services/chat/runtime/QueuedUserMessage.d.ts +0 -20
  1029. package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
  1030. package/bin/services/chat/runtime/QueuedUserMessage.js +0 -40
  1031. package/bin/services/chat/runtime/QueuedUserMessage.js.map +0 -1
  1032. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +0 -29
  1033. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
  1034. package/bin/services/chat/runtime/ReplyContextFormatter.js +0 -74
  1035. package/bin/services/chat/runtime/ReplyContextFormatter.js.map +0 -1
  1036. package/bin/services/chat/runtime/ReplyDispatch.d.ts +0 -36
  1037. package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +0 -1
  1038. package/bin/services/chat/runtime/ReplyDispatch.js +0 -51
  1039. package/bin/services/chat/runtime/ReplyDispatch.js.map +0 -1
  1040. package/bin/services/chat/runtime/SystemPrompt.d.ts +0 -26
  1041. package/bin/services/chat/runtime/SystemPrompt.d.ts.map +0 -1
  1042. package/bin/services/chat/runtime/SystemPrompt.js +0 -70
  1043. package/bin/services/chat/runtime/SystemPrompt.js.map +0 -1
  1044. package/bin/services/chat/runtime/UIMessageTransformer.d.ts +0 -24
  1045. package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
  1046. package/bin/services/chat/runtime/UIMessageTransformer.js +0 -102
  1047. package/bin/services/chat/runtime/UIMessageTransformer.js.map +0 -1
  1048. package/bin/services/chat/runtime/UserVisibleText.d.ts +0 -34
  1049. package/bin/services/chat/runtime/UserVisibleText.d.ts.map +0 -1
  1050. package/bin/services/chat/runtime/UserVisibleText.js +0 -73
  1051. package/bin/services/chat/runtime/UserVisibleText.js.map +0 -1
  1052. package/bin/services/chat/types/BotInfo.d.ts +0 -97
  1053. package/bin/services/chat/types/BotInfo.d.ts.map +0 -1
  1054. package/bin/services/chat/types/BotInfo.js +0 -9
  1055. package/bin/services/chat/types/BotInfo.js.map +0 -1
  1056. package/bin/services/chat/types/ChannelAccount.d.ts +0 -226
  1057. package/bin/services/chat/types/ChannelAccount.d.ts.map +0 -1
  1058. package/bin/services/chat/types/ChannelAccount.js +0 -9
  1059. package/bin/services/chat/types/ChannelAccount.js.map +0 -1
  1060. package/bin/services/chat/types/ChannelConfiguration.d.ts +0 -146
  1061. package/bin/services/chat/types/ChannelConfiguration.d.ts.map +0 -1
  1062. package/bin/services/chat/types/ChannelConfiguration.js +0 -9
  1063. package/bin/services/chat/types/ChannelConfiguration.js.map +0 -1
  1064. package/bin/services/chat/types/ChannelContext.d.ts +0 -107
  1065. package/bin/services/chat/types/ChannelContext.d.ts.map +0 -1
  1066. package/bin/services/chat/types/ChannelContext.js +0 -9
  1067. package/bin/services/chat/types/ChannelContext.js.map +0 -1
  1068. package/bin/services/chat/types/ChannelStatus.d.ts +0 -88
  1069. package/bin/services/chat/types/ChannelStatus.d.ts.map +0 -1
  1070. package/bin/services/chat/types/ChannelStatus.js +0 -9
  1071. package/bin/services/chat/types/ChannelStatus.js.map +0 -1
  1072. package/bin/services/chat/types/ChatCommand.d.ts +0 -163
  1073. package/bin/services/chat/types/ChatCommand.d.ts.map +0 -1
  1074. package/bin/services/chat/types/ChatCommand.js +0 -9
  1075. package/bin/services/chat/types/ChatCommand.js.map +0 -1
  1076. package/bin/services/chat/types/ChatDispatcher.d.ts +0 -37
  1077. package/bin/services/chat/types/ChatDispatcher.d.ts.map +0 -1
  1078. package/bin/services/chat/types/ChatDispatcher.js +0 -9
  1079. package/bin/services/chat/types/ChatDispatcher.js.map +0 -1
  1080. package/bin/services/chat/types/ChatHistory.d.ts +0 -36
  1081. package/bin/services/chat/types/ChatHistory.d.ts.map +0 -1
  1082. package/bin/services/chat/types/ChatHistory.js +0 -9
  1083. package/bin/services/chat/types/ChatHistory.js.map +0 -1
  1084. package/bin/services/chat/types/ChatMessageMarkup.d.ts +0 -144
  1085. package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +0 -1
  1086. package/bin/services/chat/types/ChatMessageMarkup.js +0 -9
  1087. package/bin/services/chat/types/ChatMessageMarkup.js.map +0 -1
  1088. package/bin/services/chat/types/ChatMeta.d.ts +0 -34
  1089. package/bin/services/chat/types/ChatMeta.d.ts.map +0 -1
  1090. package/bin/services/chat/types/ChatMeta.js +0 -10
  1091. package/bin/services/chat/types/ChatMeta.js.map +0 -1
  1092. package/bin/services/chat/types/ChatQueue.d.ts +0 -44
  1093. package/bin/services/chat/types/ChatQueue.d.ts.map +0 -1
  1094. package/bin/services/chat/types/ChatQueue.js +0 -9
  1095. package/bin/services/chat/types/ChatQueue.js.map +0 -1
  1096. package/bin/services/chat/types/DirectDispatch.d.ts +0 -115
  1097. package/bin/services/chat/types/DirectDispatch.d.ts.map +0 -1
  1098. package/bin/services/chat/types/DirectDispatch.js +0 -9
  1099. package/bin/services/chat/types/DirectDispatch.js.map +0 -1
  1100. package/bin/services/chat/types/FeishuAttachment.d.ts +0 -42
  1101. package/bin/services/chat/types/FeishuAttachment.d.ts.map +0 -1
  1102. package/bin/services/chat/types/FeishuAttachment.js +0 -9
  1103. package/bin/services/chat/types/FeishuAttachment.js.map +0 -1
  1104. package/bin/services/chat/types/FeishuInboundAttachment.d.ts +0 -114
  1105. package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
  1106. package/bin/services/chat/types/FeishuInboundAttachment.js +0 -9
  1107. package/bin/services/chat/types/FeishuInboundAttachment.js.map +0 -1
  1108. package/bin/services/chat/types/FeishuPost.d.ts +0 -287
  1109. package/bin/services/chat/types/FeishuPost.d.ts.map +0 -1
  1110. package/bin/services/chat/types/FeishuPost.js +0 -9
  1111. package/bin/services/chat/types/FeishuPost.js.map +0 -1
  1112. package/bin/services/chat/types/QqInboundDedupe.d.ts +0 -12
  1113. package/bin/services/chat/types/QqInboundDedupe.d.ts.map +0 -1
  1114. package/bin/services/chat/types/QqInboundDedupe.js +0 -2
  1115. package/bin/services/chat/types/QqInboundDedupe.js.map +0 -1
  1116. package/bin/services/chat/types/QqVoice.d.ts +0 -118
  1117. package/bin/services/chat/types/QqVoice.d.ts.map +0 -1
  1118. package/bin/services/chat/types/QqVoice.js +0 -9
  1119. package/bin/services/chat/types/QqVoice.js.map +0 -1
  1120. package/bin/services/chat/types/ReplyContext.d.ts +0 -46
  1121. package/bin/services/chat/types/ReplyContext.d.ts.map +0 -1
  1122. package/bin/services/chat/types/ReplyContext.js +0 -10
  1123. package/bin/services/chat/types/ReplyContext.js.map +0 -1
  1124. package/bin/services/contact/Action.d.ts +0 -9
  1125. package/bin/services/contact/Action.d.ts.map +0 -1
  1126. package/bin/services/contact/Action.js +0 -9
  1127. package/bin/services/contact/Action.js.map +0 -1
  1128. package/bin/services/contact/ContactService.d.ts +0 -39
  1129. package/bin/services/contact/ContactService.d.ts.map +0 -1
  1130. package/bin/services/contact/ContactService.js +0 -683
  1131. package/bin/services/contact/ContactService.js.map +0 -1
  1132. package/bin/services/contact/Index.d.ts +0 -8
  1133. package/bin/services/contact/Index.d.ts.map +0 -1
  1134. package/bin/services/contact/Index.js +0 -8
  1135. package/bin/services/contact/Index.js.map +0 -1
  1136. package/bin/services/contact/PROMPT.txt +0 -25
  1137. package/bin/services/contact/runtime/ApproveCallback.d.ts +0 -23
  1138. package/bin/services/contact/runtime/ApproveCallback.d.ts.map +0 -1
  1139. package/bin/services/contact/runtime/ApproveCallback.js +0 -83
  1140. package/bin/services/contact/runtime/ApproveCallback.js.map +0 -1
  1141. package/bin/services/contact/runtime/ChatRuntime.d.ts +0 -27
  1142. package/bin/services/contact/runtime/ChatRuntime.d.ts.map +0 -1
  1143. package/bin/services/contact/runtime/ChatRuntime.js +0 -59
  1144. package/bin/services/contact/runtime/ChatRuntime.js.map +0 -1
  1145. package/bin/services/contact/runtime/ContactStore.d.ts +0 -49
  1146. package/bin/services/contact/runtime/ContactStore.d.ts.map +0 -1
  1147. package/bin/services/contact/runtime/ContactStore.js +0 -255
  1148. package/bin/services/contact/runtime/ContactStore.js.map +0 -1
  1149. package/bin/services/contact/runtime/EndpointNotice.d.ts +0 -39
  1150. package/bin/services/contact/runtime/EndpointNotice.d.ts.map +0 -1
  1151. package/bin/services/contact/runtime/EndpointNotice.js +0 -98
  1152. package/bin/services/contact/runtime/EndpointNotice.js.map +0 -1
  1153. package/bin/services/contact/runtime/EndpointResolver.d.ts +0 -36
  1154. package/bin/services/contact/runtime/EndpointResolver.d.ts.map +0 -1
  1155. package/bin/services/contact/runtime/EndpointResolver.js +0 -113
  1156. package/bin/services/contact/runtime/EndpointResolver.js.map +0 -1
  1157. package/bin/services/contact/runtime/InboxStore.d.ts +0 -33
  1158. package/bin/services/contact/runtime/InboxStore.d.ts.map +0 -1
  1159. package/bin/services/contact/runtime/InboxStore.js +0 -142
  1160. package/bin/services/contact/runtime/InboxStore.js.map +0 -1
  1161. package/bin/services/contact/runtime/LinkApproval.d.ts +0 -20
  1162. package/bin/services/contact/runtime/LinkApproval.d.ts.map +0 -1
  1163. package/bin/services/contact/runtime/LinkApproval.js +0 -317
  1164. package/bin/services/contact/runtime/LinkApproval.js.map +0 -1
  1165. package/bin/services/contact/runtime/LinkCode.d.ts +0 -21
  1166. package/bin/services/contact/runtime/LinkCode.d.ts.map +0 -1
  1167. package/bin/services/contact/runtime/LinkCode.js +0 -61
  1168. package/bin/services/contact/runtime/LinkCode.js.map +0 -1
  1169. package/bin/services/contact/runtime/LinkStore.d.ts +0 -17
  1170. package/bin/services/contact/runtime/LinkStore.d.ts.map +0 -1
  1171. package/bin/services/contact/runtime/LinkStore.js +0 -39
  1172. package/bin/services/contact/runtime/LinkStore.js.map +0 -1
  1173. package/bin/services/contact/runtime/Paths.d.ts +0 -64
  1174. package/bin/services/contact/runtime/Paths.d.ts.map +0 -1
  1175. package/bin/services/contact/runtime/Paths.js +0 -103
  1176. package/bin/services/contact/runtime/Paths.js.map +0 -1
  1177. package/bin/services/contact/runtime/RemoteClient.d.ts +0 -46
  1178. package/bin/services/contact/runtime/RemoteClient.d.ts.map +0 -1
  1179. package/bin/services/contact/runtime/RemoteClient.js +0 -102
  1180. package/bin/services/contact/runtime/RemoteClient.js.map +0 -1
  1181. package/bin/services/contact/runtime/ShareBundle.d.ts +0 -65
  1182. package/bin/services/contact/runtime/ShareBundle.d.ts.map +0 -1
  1183. package/bin/services/contact/runtime/ShareBundle.js +0 -185
  1184. package/bin/services/contact/runtime/ShareBundle.js.map +0 -1
  1185. package/bin/services/contact/runtime/SystemProvider.d.ts +0 -12
  1186. package/bin/services/contact/runtime/SystemProvider.d.ts.map +0 -1
  1187. package/bin/services/contact/runtime/SystemProvider.js +0 -21
  1188. package/bin/services/contact/runtime/SystemProvider.js.map +0 -1
  1189. package/bin/services/contact/runtime/Token.d.ts +0 -24
  1190. package/bin/services/contact/runtime/Token.d.ts.map +0 -1
  1191. package/bin/services/contact/runtime/Token.js +0 -36
  1192. package/bin/services/contact/runtime/Token.js.map +0 -1
  1193. package/bin/services/memory/Action.d.ts +0 -41
  1194. package/bin/services/memory/Action.d.ts.map +0 -1
  1195. package/bin/services/memory/Action.js +0 -149
  1196. package/bin/services/memory/Action.js.map +0 -1
  1197. package/bin/services/memory/Index.d.ts +0 -9
  1198. package/bin/services/memory/Index.d.ts.map +0 -1
  1199. package/bin/services/memory/Index.js +0 -9
  1200. package/bin/services/memory/Index.js.map +0 -1
  1201. package/bin/services/memory/MemoryService.d.ts +0 -45
  1202. package/bin/services/memory/MemoryService.d.ts.map +0 -1
  1203. package/bin/services/memory/MemoryService.js +0 -299
  1204. package/bin/services/memory/MemoryService.js.map +0 -1
  1205. package/bin/services/memory/runtime/Flush.d.ts +0 -15
  1206. package/bin/services/memory/runtime/Flush.d.ts.map +0 -1
  1207. package/bin/services/memory/runtime/Flush.js +0 -63
  1208. package/bin/services/memory/runtime/Flush.js.map +0 -1
  1209. package/bin/services/memory/runtime/Indexer.d.ts +0 -71
  1210. package/bin/services/memory/runtime/Indexer.d.ts.map +0 -1
  1211. package/bin/services/memory/runtime/Indexer.js +0 -345
  1212. package/bin/services/memory/runtime/Indexer.js.map +0 -1
  1213. package/bin/services/memory/runtime/Search.d.ts +0 -15
  1214. package/bin/services/memory/runtime/Search.d.ts.map +0 -1
  1215. package/bin/services/memory/runtime/Search.js +0 -64
  1216. package/bin/services/memory/runtime/Search.js.map +0 -1
  1217. package/bin/services/memory/runtime/Store.d.ts +0 -106
  1218. package/bin/services/memory/runtime/Store.d.ts.map +0 -1
  1219. package/bin/services/memory/runtime/Store.js +0 -262
  1220. package/bin/services/memory/runtime/Store.js.map +0 -1
  1221. package/bin/services/memory/runtime/SystemProvider.d.ts +0 -22
  1222. package/bin/services/memory/runtime/SystemProvider.d.ts.map +0 -1
  1223. package/bin/services/memory/runtime/SystemProvider.js +0 -126
  1224. package/bin/services/memory/runtime/SystemProvider.js.map +0 -1
  1225. package/bin/services/memory/runtime/Writer.d.ts +0 -23
  1226. package/bin/services/memory/runtime/Writer.d.ts.map +0 -1
  1227. package/bin/services/memory/runtime/Writer.js +0 -140
  1228. package/bin/services/memory/runtime/Writer.js.map +0 -1
  1229. package/bin/services/memory/types/Memory.d.ts +0 -318
  1230. package/bin/services/memory/types/Memory.d.ts.map +0 -1
  1231. package/bin/services/memory/types/Memory.js +0 -9
  1232. package/bin/services/memory/types/Memory.js.map +0 -1
  1233. package/bin/services/shell/Index.d.ts +0 -9
  1234. package/bin/services/shell/Index.d.ts.map +0 -1
  1235. package/bin/services/shell/Index.js +0 -9
  1236. package/bin/services/shell/Index.js.map +0 -1
  1237. package/bin/services/shell/ShellService.d.ts +0 -65
  1238. package/bin/services/shell/ShellService.d.ts.map +0 -1
  1239. package/bin/services/shell/ShellService.js +0 -138
  1240. package/bin/services/shell/ShellService.js.map +0 -1
  1241. package/bin/services/shell/runtime/Paths.d.ts +0 -12
  1242. package/bin/services/shell/runtime/Paths.d.ts.map +0 -1
  1243. package/bin/services/shell/runtime/Paths.js +0 -21
  1244. package/bin/services/shell/runtime/Paths.js.map +0 -1
  1245. package/bin/services/shell/runtime/ShellActionRuntime.d.ts +0 -49
  1246. package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
  1247. package/bin/services/shell/runtime/ShellActionRuntime.js +0 -463
  1248. package/bin/services/shell/runtime/ShellActionRuntime.js.map +0 -1
  1249. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -107
  1250. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
  1251. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +0 -452
  1252. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
  1253. package/bin/services/shell/types/ShellService.d.ts +0 -216
  1254. package/bin/services/shell/types/ShellService.d.ts.map +0 -1
  1255. package/bin/services/shell/types/ShellService.js +0 -9
  1256. package/bin/services/shell/types/ShellService.js.map +0 -1
  1257. package/bin/services/task/Action.d.ts +0 -36
  1258. package/bin/services/task/Action.d.ts.map +0 -1
  1259. package/bin/services/task/Action.js +0 -407
  1260. package/bin/services/task/Action.js.map +0 -1
  1261. package/bin/services/task/Index.d.ts +0 -9
  1262. package/bin/services/task/Index.d.ts.map +0 -1
  1263. package/bin/services/task/Index.js +0 -9
  1264. package/bin/services/task/Index.js.map +0 -1
  1265. package/bin/services/task/PROMPT.txt +0 -237
  1266. package/bin/services/task/Scheduler.d.ts +0 -17
  1267. package/bin/services/task/Scheduler.d.ts.map +0 -1
  1268. package/bin/services/task/Scheduler.js +0 -231
  1269. package/bin/services/task/Scheduler.js.map +0 -1
  1270. package/bin/services/task/TaskService.d.ts +0 -57
  1271. package/bin/services/task/TaskService.d.ts.map +0 -1
  1272. package/bin/services/task/TaskService.js +0 -126
  1273. package/bin/services/task/TaskService.js.map +0 -1
  1274. package/bin/services/task/runtime/CronRuntime.d.ts +0 -34
  1275. package/bin/services/task/runtime/CronRuntime.d.ts.map +0 -1
  1276. package/bin/services/task/runtime/CronRuntime.js +0 -59
  1277. package/bin/services/task/runtime/CronRuntime.js.map +0 -1
  1278. package/bin/services/task/runtime/CronTrigger.d.ts +0 -19
  1279. package/bin/services/task/runtime/CronTrigger.d.ts.map +0 -1
  1280. package/bin/services/task/runtime/CronTrigger.js +0 -93
  1281. package/bin/services/task/runtime/CronTrigger.js.map +0 -1
  1282. package/bin/services/task/runtime/Frontmatter.d.ts +0 -13
  1283. package/bin/services/task/runtime/Frontmatter.d.ts.map +0 -1
  1284. package/bin/services/task/runtime/Frontmatter.js +0 -19
  1285. package/bin/services/task/runtime/Frontmatter.js.map +0 -1
  1286. package/bin/services/task/runtime/Model.d.ts +0 -73
  1287. package/bin/services/task/runtime/Model.d.ts.map +0 -1
  1288. package/bin/services/task/runtime/Model.js +0 -312
  1289. package/bin/services/task/runtime/Model.js.map +0 -1
  1290. package/bin/services/task/runtime/Paths.d.ts +0 -32
  1291. package/bin/services/task/runtime/Paths.d.ts.map +0 -1
  1292. package/bin/services/task/runtime/Paths.js +0 -103
  1293. package/bin/services/task/runtime/Paths.js.map +0 -1
  1294. package/bin/services/task/runtime/Runner.d.ts +0 -43
  1295. package/bin/services/task/runtime/Runner.d.ts.map +0 -1
  1296. package/bin/services/task/runtime/Runner.js +0 -482
  1297. package/bin/services/task/runtime/Runner.js.map +0 -1
  1298. package/bin/services/task/runtime/Store.d.ts +0 -89
  1299. package/bin/services/task/runtime/Store.d.ts.map +0 -1
  1300. package/bin/services/task/runtime/Store.js +0 -206
  1301. package/bin/services/task/runtime/Store.js.map +0 -1
  1302. package/bin/services/task/runtime/TaskActionExecution.d.ts +0 -160
  1303. package/bin/services/task/runtime/TaskActionExecution.d.ts.map +0 -1
  1304. package/bin/services/task/runtime/TaskActionExecution.js +0 -192
  1305. package/bin/services/task/runtime/TaskActionExecution.js.map +0 -1
  1306. package/bin/services/task/runtime/TaskActionInput.d.ts +0 -48
  1307. package/bin/services/task/runtime/TaskActionInput.d.ts.map +0 -1
  1308. package/bin/services/task/runtime/TaskActionInput.js +0 -357
  1309. package/bin/services/task/runtime/TaskActionInput.js.map +0 -1
  1310. package/bin/services/task/runtime/TaskRunArtifacts.d.ts +0 -189
  1311. package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
  1312. package/bin/services/task/runtime/TaskRunArtifacts.js +0 -271
  1313. package/bin/services/task/runtime/TaskRunArtifacts.js.map +0 -1
  1314. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +0 -22
  1315. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
  1316. package/bin/services/task/runtime/TaskRunChatDispatch.js +0 -66
  1317. package/bin/services/task/runtime/TaskRunChatDispatch.js.map +0 -1
  1318. package/bin/services/task/runtime/TaskRunnerProgress.d.ts +0 -35
  1319. package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
  1320. package/bin/services/task/runtime/TaskRunnerProgress.js +0 -95
  1321. package/bin/services/task/runtime/TaskRunnerProgress.js.map +0 -1
  1322. package/bin/services/task/runtime/TaskRunnerRound.d.ts +0 -80
  1323. package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +0 -1
  1324. package/bin/services/task/runtime/TaskRunnerRound.js +0 -272
  1325. package/bin/services/task/runtime/TaskRunnerRound.js.map +0 -1
  1326. package/bin/services/task/runtime/TaskRunnerSession.d.ts +0 -45
  1327. package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +0 -1
  1328. package/bin/services/task/runtime/TaskRunnerSession.js +0 -138
  1329. package/bin/services/task/runtime/TaskRunnerSession.js.map +0 -1
  1330. package/bin/services/task/runtime/TaskServiceActions.d.ts +0 -16
  1331. package/bin/services/task/runtime/TaskServiceActions.d.ts.map +0 -1
  1332. package/bin/services/task/runtime/TaskServiceActions.js +0 -195
  1333. package/bin/services/task/runtime/TaskServiceActions.js.map +0 -1
  1334. package/bin/services/task/runtime/TaskServiceSystem.d.ts +0 -12
  1335. package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +0 -1
  1336. package/bin/services/task/runtime/TaskServiceSystem.js +0 -26
  1337. package/bin/services/task/runtime/TaskServiceSystem.js.map +0 -1
  1338. package/bin/services/task/types/Cron.d.ts +0 -16
  1339. package/bin/services/task/types/Cron.d.ts.map +0 -1
  1340. package/bin/services/task/types/Cron.js +0 -2
  1341. package/bin/services/task/types/Cron.js.map +0 -1
  1342. package/bin/services/task/types/Task.d.ts +0 -146
  1343. package/bin/services/task/types/Task.d.ts.map +0 -1
  1344. package/bin/services/task/types/Task.js +0 -9
  1345. package/bin/services/task/types/Task.js.map +0 -1
  1346. package/bin/services/task/types/TaskCommand.d.ts +0 -147
  1347. package/bin/services/task/types/TaskCommand.d.ts.map +0 -1
  1348. package/bin/services/task/types/TaskCommand.js +0 -9
  1349. package/bin/services/task/types/TaskCommand.js.map +0 -1
  1350. package/bin/session/Session.d.ts +0 -101
  1351. package/bin/session/Session.d.ts.map +0 -1
  1352. package/bin/session/Session.js +0 -171
  1353. package/bin/session/Session.js.map +0 -1
  1354. package/bin/session/SessionRunScope.d.ts +0 -76
  1355. package/bin/session/SessionRunScope.d.ts.map +0 -1
  1356. package/bin/session/SessionRunScope.js +0 -82
  1357. package/bin/session/SessionRunScope.js.map +0 -1
  1358. package/bin/session/composer/SessionComposer.d.ts +0 -29
  1359. package/bin/session/composer/SessionComposer.d.ts.map +0 -1
  1360. package/bin/session/composer/SessionComposer.js +0 -29
  1361. package/bin/session/composer/SessionComposer.js.map +0 -1
  1362. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -56
  1363. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
  1364. package/bin/session/composer/compaction/SessionCompactionComposer.js +0 -14
  1365. package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
  1366. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -38
  1367. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
  1368. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -70
  1369. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
  1370. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
  1371. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
  1372. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -199
  1373. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
  1374. package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts +0 -49
  1375. package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts.map +0 -1
  1376. package/bin/session/composer/execution/LocalSessionExecutionComposer.js +0 -117
  1377. package/bin/session/composer/execution/LocalSessionExecutionComposer.js.map +0 -1
  1378. package/bin/session/composer/execution/SessionExecutionComposer.d.ts +0 -63
  1379. package/bin/session/composer/execution/SessionExecutionComposer.d.ts.map +0 -1
  1380. package/bin/session/composer/execution/SessionExecutionComposer.js +0 -14
  1381. package/bin/session/composer/execution/SessionExecutionComposer.js.map +0 -1
  1382. package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -156
  1383. package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
  1384. package/bin/session/composer/history/SessionHistoryComposer.js +0 -14
  1385. package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
  1386. package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
  1387. package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
  1388. package/bin/session/composer/history/SessionHistoryWriter.js +0 -95
  1389. package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
  1390. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -67
  1391. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
  1392. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -423
  1393. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
  1394. package/bin/session/composer/system/SessionSystemComposer.d.ts +0 -23
  1395. package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
  1396. package/bin/session/composer/system/SessionSystemComposer.js +0 -14
  1397. package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
  1398. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
  1399. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
  1400. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js +0 -46
  1401. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
  1402. package/bin/session/composer/system/default/InitPrompts.d.ts +0 -16
  1403. package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
  1404. package/bin/session/composer/system/default/InitPrompts.js +0 -35
  1405. package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
  1406. package/bin/session/composer/system/default/PromptRenderer.d.ts +0 -35
  1407. package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
  1408. package/bin/session/composer/system/default/PromptRenderer.js +0 -23
  1409. package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
  1410. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts +0 -46
  1411. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
  1412. package/bin/session/composer/system/default/StaticPromptCatalog.js +0 -223
  1413. package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
  1414. package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
  1415. package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
  1416. package/bin/session/composer/system/default/SystemDomain.js +0 -232
  1417. package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
  1418. package/bin/session/composer/system/default/assets/core.prompt.txt +0 -39
  1419. package/bin/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
  1420. package/bin/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
  1421. package/bin/session/composer/system/default/assets/service.prompt.txt +0 -29
  1422. package/bin/session/composer/system/default/assets/task.prompt.txt +0 -33
  1423. package/bin/session/composer/system/default/variables/GeoContext.d.ts +0 -14
  1424. package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
  1425. package/bin/session/composer/system/default/variables/GeoContext.js +0 -150
  1426. package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
  1427. package/bin/session/composer/system/default/variables/PromptTypes.d.ts +0 -36
  1428. package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
  1429. package/bin/session/composer/system/default/variables/PromptTypes.js +0 -9
  1430. package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
  1431. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts +0 -61
  1432. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
  1433. package/bin/session/composer/system/default/variables/VariableReplacer.js +0 -93
  1434. package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
  1435. package/bin/session/executors/local/LocalSessionCore.d.ts +0 -116
  1436. package/bin/session/executors/local/LocalSessionCore.d.ts.map +0 -1
  1437. package/bin/session/executors/local/LocalSessionCore.js +0 -574
  1438. package/bin/session/executors/local/LocalSessionCore.js.map +0 -1
  1439. package/bin/session/executors/local/LocalSessionExecutor.d.ts +0 -61
  1440. package/bin/session/executors/local/LocalSessionExecutor.d.ts.map +0 -1
  1441. package/bin/session/executors/local/LocalSessionExecutor.js +0 -36
  1442. package/bin/session/executors/local/LocalSessionExecutor.js.map +0 -1
  1443. package/bin/session/executors/local/SessionLoopDecision.d.ts +0 -27
  1444. package/bin/session/executors/local/SessionLoopDecision.d.ts.map +0 -1
  1445. package/bin/session/executors/local/SessionLoopDecision.js +0 -62
  1446. package/bin/session/executors/local/SessionLoopDecision.js.map +0 -1
  1447. package/bin/session/executors/local/SessionSignals.d.ts +0 -72
  1448. package/bin/session/executors/local/SessionSignals.d.ts.map +0 -1
  1449. package/bin/session/executors/local/SessionSignals.js +0 -357
  1450. package/bin/session/executors/local/SessionSignals.js.map +0 -1
  1451. package/bin/session/ids/resolveSessionId.d.ts +0 -11
  1452. package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
  1453. package/bin/session/ids/resolveSessionId.js +0 -17
  1454. package/bin/session/ids/resolveSessionId.js.map +0 -1
  1455. package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
  1456. package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
  1457. package/bin/session/messages/SessionAttachmentMapper.js +0 -145
  1458. package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
  1459. package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
  1460. package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
  1461. package/bin/session/messages/SessionMessageCodec.js +0 -93
  1462. package/bin/session/messages/SessionMessageCodec.js.map +0 -1
  1463. package/bin/session/messages/SessionMessageLog.d.ts +0 -19
  1464. package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
  1465. package/bin/session/messages/SessionMessageLog.js +0 -34
  1466. package/bin/session/messages/SessionMessageLog.js.map +0 -1
  1467. package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
  1468. package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
  1469. package/bin/session/messages/SessionStepEventMapper.js +0 -208
  1470. package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
  1471. package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
  1472. package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
  1473. package/bin/session/tools/shell/ShellToolBridge.js +0 -288
  1474. package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
  1475. package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
  1476. package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
  1477. package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
  1478. package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
  1479. package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
  1480. package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
  1481. package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
  1482. package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
  1483. package/bin/session/tools/shell/ShellToolSchemas.d.ts +0 -118
  1484. package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
  1485. package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
  1486. package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
  1487. package/bin/shared/constants/DowncityDefault.d.ts +0 -3
  1488. package/bin/shared/constants/DowncityDefault.d.ts.map +0 -1
  1489. package/bin/shared/constants/DowncityDefault.js +0 -37
  1490. package/bin/shared/constants/DowncityDefault.js.map +0 -1
  1491. package/bin/shared/constants/DowncitySchema.d.ts +0 -3
  1492. package/bin/shared/constants/DowncitySchema.d.ts.map +0 -1
  1493. package/bin/shared/constants/DowncitySchema.js.map +0 -1
  1494. package/bin/shared/types/AgentHost.d.ts +0 -72
  1495. package/bin/shared/types/AgentHost.d.ts.map +0 -1
  1496. package/bin/shared/types/AgentHost.js +0 -10
  1497. package/bin/shared/types/AgentHost.js.map +0 -1
  1498. package/bin/shared/types/AgentProject.d.ts +0 -80
  1499. package/bin/shared/types/AgentProject.d.ts.map +0 -1
  1500. package/bin/shared/types/AgentProject.js +0 -9
  1501. package/bin/shared/types/AgentProject.js.map +0 -1
  1502. package/bin/shared/types/AuthDashboard.d.ts +0 -30
  1503. package/bin/shared/types/AuthDashboard.d.ts.map +0 -1
  1504. package/bin/shared/types/AuthDashboard.js +0 -9
  1505. package/bin/shared/types/AuthDashboard.js.map +0 -1
  1506. package/bin/shared/types/AuthPlugin.d.ts +0 -407
  1507. package/bin/shared/types/AuthPlugin.d.ts.map +0 -1
  1508. package/bin/shared/types/AuthPlugin.js +0 -115
  1509. package/bin/shared/types/AuthPlugin.js.map +0 -1
  1510. package/bin/shared/types/ChatPlugin.d.ts +0 -238
  1511. package/bin/shared/types/ChatPlugin.d.ts.map +0 -1
  1512. package/bin/shared/types/ChatPlugin.js +0 -10
  1513. package/bin/shared/types/ChatPlugin.js.map +0 -1
  1514. package/bin/shared/types/ChatPromptContext.d.ts +0 -125
  1515. package/bin/shared/types/ChatPromptContext.d.ts.map +0 -1
  1516. package/bin/shared/types/ChatPromptContext.js +0 -10
  1517. package/bin/shared/types/ChatPromptContext.js.map +0 -1
  1518. package/bin/shared/types/ChatQueueWorker.d.ts +0 -25
  1519. package/bin/shared/types/ChatQueueWorker.d.ts.map +0 -1
  1520. package/bin/shared/types/ChatQueueWorker.js +0 -9
  1521. package/bin/shared/types/ChatQueueWorker.js.map +0 -1
  1522. package/bin/shared/types/ChatRuntime.d.ts +0 -32
  1523. package/bin/shared/types/ChatRuntime.d.ts.map +0 -1
  1524. package/bin/shared/types/ChatRuntime.js +0 -9
  1525. package/bin/shared/types/ChatRuntime.js.map +0 -1
  1526. package/bin/shared/types/ChatService.d.ts +0 -145
  1527. package/bin/shared/types/ChatService.d.ts.map +0 -1
  1528. package/bin/shared/types/ChatService.js +0 -10
  1529. package/bin/shared/types/ChatService.js.map +0 -1
  1530. package/bin/shared/types/ClaudeSkill.d.ts +0 -63
  1531. package/bin/shared/types/ClaudeSkill.d.ts.map +0 -1
  1532. package/bin/shared/types/ClaudeSkill.js +0 -10
  1533. package/bin/shared/types/ClaudeSkill.js.map +0 -1
  1534. package/bin/shared/types/Console.d.ts +0 -373
  1535. package/bin/shared/types/Console.d.ts.map +0 -1
  1536. package/bin/shared/types/Console.js +0 -9
  1537. package/bin/shared/types/Console.js.map +0 -1
  1538. package/bin/shared/types/ConsoleGateway.d.ts +0 -174
  1539. package/bin/shared/types/ConsoleGateway.d.ts.map +0 -1
  1540. package/bin/shared/types/ConsoleGateway.js +0 -9
  1541. package/bin/shared/types/ConsoleGateway.js.map +0 -1
  1542. package/bin/shared/types/Daemon.d.ts +0 -46
  1543. package/bin/shared/types/Daemon.d.ts.map +0 -1
  1544. package/bin/shared/types/Daemon.js +0 -14
  1545. package/bin/shared/types/Daemon.js.map +0 -1
  1546. package/bin/shared/types/DashboardData.d.ts +0 -320
  1547. package/bin/shared/types/DashboardData.d.ts.map +0 -1
  1548. package/bin/shared/types/DashboardData.js +0 -9
  1549. package/bin/shared/types/DashboardData.js.map +0 -1
  1550. package/bin/shared/types/DashboardRoutes.d.ts +0 -28
  1551. package/bin/shared/types/DashboardRoutes.d.ts.map +0 -1
  1552. package/bin/shared/types/DashboardRoutes.js +0 -9
  1553. package/bin/shared/types/DashboardRoutes.js.map +0 -1
  1554. package/bin/shared/types/DashboardSessionExecute.d.ts +0 -85
  1555. package/bin/shared/types/DashboardSessionExecute.d.ts.map +0 -1
  1556. package/bin/shared/types/DashboardSessionExecute.js +0 -9
  1557. package/bin/shared/types/DashboardSessionExecute.js.map +0 -1
  1558. package/bin/shared/types/DowncityConfig.d.ts +0 -214
  1559. package/bin/shared/types/DowncityConfig.d.ts.map +0 -1
  1560. package/bin/shared/types/DowncityConfig.js +0 -2
  1561. package/bin/shared/types/DowncityConfig.js.map +0 -1
  1562. package/bin/shared/types/ExecutionBinding.d.ts +0 -26
  1563. package/bin/shared/types/ExecutionBinding.d.ts.map +0 -1
  1564. package/bin/shared/types/ExecutionBinding.js +0 -10
  1565. package/bin/shared/types/ExecutionBinding.js.map +0 -1
  1566. package/bin/shared/types/FeishuChannel.d.ts +0 -127
  1567. package/bin/shared/types/FeishuChannel.d.ts.map +0 -1
  1568. package/bin/shared/types/FeishuChannel.js +0 -9
  1569. package/bin/shared/types/FeishuChannel.js.map +0 -1
  1570. package/bin/shared/types/InlineInstant.d.ts +0 -82
  1571. package/bin/shared/types/InlineInstant.d.ts.map +0 -1
  1572. package/bin/shared/types/InlineInstant.js +0 -10
  1573. package/bin/shared/types/InlineInstant.js.map +0 -1
  1574. package/bin/shared/types/Json.d.ts +0 -32
  1575. package/bin/shared/types/Json.d.ts.map +0 -1
  1576. package/bin/shared/types/Json.js +0 -9
  1577. package/bin/shared/types/Json.js.map +0 -1
  1578. package/bin/shared/types/LlmConfig.d.ts +0 -100
  1579. package/bin/shared/types/LlmConfig.d.ts.map +0 -1
  1580. package/bin/shared/types/LlmConfig.js +0 -10
  1581. package/bin/shared/types/LlmConfig.js.map +0 -1
  1582. package/bin/shared/types/LocalRpc.d.ts +0 -69
  1583. package/bin/shared/types/LocalRpc.d.ts.map +0 -1
  1584. package/bin/shared/types/LocalRpc.js +0 -9
  1585. package/bin/shared/types/LocalRpc.js.map +0 -1
  1586. package/bin/shared/types/ModelBinding.d.ts +0 -19
  1587. package/bin/shared/types/ModelBinding.d.ts.map +0 -1
  1588. package/bin/shared/types/ModelBinding.js +0 -2
  1589. package/bin/shared/types/ModelBinding.js.map +0 -1
  1590. package/bin/shared/types/Plugin.d.ts +0 -693
  1591. package/bin/shared/types/Plugin.d.ts.map +0 -1
  1592. package/bin/shared/types/Plugin.js +0 -10
  1593. package/bin/shared/types/Plugin.js.map +0 -1
  1594. package/bin/shared/types/PluginApi.d.ts +0 -151
  1595. package/bin/shared/types/PluginApi.d.ts.map +0 -1
  1596. package/bin/shared/types/PluginApi.js +0 -9
  1597. package/bin/shared/types/PluginApi.js.map +0 -1
  1598. package/bin/shared/types/PluginLifecycle.d.ts +0 -34
  1599. package/bin/shared/types/PluginLifecycle.d.ts.map +0 -1
  1600. package/bin/shared/types/PluginLifecycle.js +0 -9
  1601. package/bin/shared/types/PluginLifecycle.js.map +0 -1
  1602. package/bin/shared/types/QqChannel.d.ts +0 -485
  1603. package/bin/shared/types/QqChannel.d.ts.map +0 -1
  1604. package/bin/shared/types/QqChannel.js +0 -42
  1605. package/bin/shared/types/QqChannel.js.map +0 -1
  1606. package/bin/shared/types/QqGatewaySupport.d.ts +0 -82
  1607. package/bin/shared/types/QqGatewaySupport.d.ts.map +0 -1
  1608. package/bin/shared/types/QqGatewaySupport.js +0 -9
  1609. package/bin/shared/types/QqGatewaySupport.js.map +0 -1
  1610. package/bin/shared/types/Sandbox.d.ts +0 -130
  1611. package/bin/shared/types/Sandbox.d.ts.map +0 -1
  1612. package/bin/shared/types/Sandbox.js +0 -10
  1613. package/bin/shared/types/Sandbox.js.map +0 -1
  1614. package/bin/shared/types/Service.d.ts +0 -205
  1615. package/bin/shared/types/Service.d.ts.map +0 -1
  1616. package/bin/shared/types/Service.js +0 -10
  1617. package/bin/shared/types/Service.js.map +0 -1
  1618. package/bin/shared/types/ServiceSchedule.d.ts +0 -114
  1619. package/bin/shared/types/ServiceSchedule.d.ts.map +0 -1
  1620. package/bin/shared/types/ServiceSchedule.js +0 -9
  1621. package/bin/shared/types/ServiceSchedule.js.map +0 -1
  1622. package/bin/shared/types/ServiceState.d.ts +0 -104
  1623. package/bin/shared/types/ServiceState.d.ts.map +0 -1
  1624. package/bin/shared/types/ServiceState.js +0 -9
  1625. package/bin/shared/types/ServiceState.js.map +0 -1
  1626. package/bin/shared/types/Services.d.ts +0 -94
  1627. package/bin/shared/types/Services.d.ts.map +0 -1
  1628. package/bin/shared/types/Services.js +0 -9
  1629. package/bin/shared/types/Services.js.map +0 -1
  1630. package/bin/shared/types/Shell.d.ts +0 -97
  1631. package/bin/shared/types/Shell.d.ts.map +0 -1
  1632. package/bin/shared/types/Shell.js +0 -9
  1633. package/bin/shared/types/Shell.js.map +0 -1
  1634. package/bin/shared/types/SkillCommand.d.ts +0 -87
  1635. package/bin/shared/types/SkillCommand.d.ts.map +0 -1
  1636. package/bin/shared/types/SkillCommand.js +0 -9
  1637. package/bin/shared/types/SkillCommand.js.map +0 -1
  1638. package/bin/shared/types/SkillPlugin.d.ts +0 -102
  1639. package/bin/shared/types/SkillPlugin.d.ts.map +0 -1
  1640. package/bin/shared/types/SkillPlugin.js +0 -29
  1641. package/bin/shared/types/SkillPlugin.js.map +0 -1
  1642. package/bin/shared/types/SkillRoot.d.ts +0 -48
  1643. package/bin/shared/types/SkillRoot.d.ts.map +0 -1
  1644. package/bin/shared/types/SkillRoot.js +0 -9
  1645. package/bin/shared/types/SkillRoot.js.map +0 -1
  1646. package/bin/shared/types/Start.d.ts +0 -16
  1647. package/bin/shared/types/Start.d.ts.map +0 -1
  1648. package/bin/shared/types/Start.js +0 -11
  1649. package/bin/shared/types/Start.js.map +0 -1
  1650. package/bin/shared/types/Store.d.ts +0 -507
  1651. package/bin/shared/types/Store.d.ts.map +0 -1
  1652. package/bin/shared/types/Store.js +0 -2
  1653. package/bin/shared/types/Store.js.map +0 -1
  1654. package/bin/shared/types/TaskService.d.ts +0 -52
  1655. package/bin/shared/types/TaskService.d.ts.map +0 -1
  1656. package/bin/shared/types/TaskService.js +0 -9
  1657. package/bin/shared/types/TaskService.js.map +0 -1
  1658. package/bin/shared/types/Template.d.ts +0 -9
  1659. package/bin/shared/types/Template.d.ts.map +0 -1
  1660. package/bin/shared/types/Template.js +0 -9
  1661. package/bin/shared/types/Template.js.map +0 -1
  1662. package/bin/shared/types/Tts.d.ts +0 -91
  1663. package/bin/shared/types/Tts.d.ts.map +0 -1
  1664. package/bin/shared/types/Tts.js +0 -9
  1665. package/bin/shared/types/Tts.js.map +0 -1
  1666. package/bin/shared/types/TtsPlugin.d.ts +0 -161
  1667. package/bin/shared/types/TtsPlugin.d.ts.map +0 -1
  1668. package/bin/shared/types/TtsPlugin.js +0 -9
  1669. package/bin/shared/types/TtsPlugin.js.map +0 -1
  1670. package/bin/shared/types/Voice.d.ts +0 -58
  1671. package/bin/shared/types/Voice.d.ts.map +0 -1
  1672. package/bin/shared/types/Voice.js +0 -9
  1673. package/bin/shared/types/Voice.js.map +0 -1
  1674. package/bin/shared/types/VoicePlugin.d.ts +0 -190
  1675. package/bin/shared/types/VoicePlugin.d.ts.map +0 -1
  1676. package/bin/shared/types/VoicePlugin.js +0 -9
  1677. package/bin/shared/types/VoicePlugin.js.map +0 -1
  1678. package/bin/shared/types/WebPlugin.d.ts +0 -133
  1679. package/bin/shared/types/WebPlugin.d.ts.map +0 -1
  1680. package/bin/shared/types/WebPlugin.js +0 -12
  1681. package/bin/shared/types/WebPlugin.js.map +0 -1
  1682. package/bin/shared/types/auth/AuthPermission.d.ts +0 -49
  1683. package/bin/shared/types/auth/AuthPermission.d.ts.map +0 -1
  1684. package/bin/shared/types/auth/AuthPermission.js +0 -92
  1685. package/bin/shared/types/auth/AuthPermission.js.map +0 -1
  1686. package/bin/shared/types/auth/AuthRoute.d.ts +0 -29
  1687. package/bin/shared/types/auth/AuthRoute.d.ts.map +0 -1
  1688. package/bin/shared/types/auth/AuthRoute.js +0 -8
  1689. package/bin/shared/types/auth/AuthRoute.js.map +0 -1
  1690. package/bin/shared/types/auth/AuthToken.d.ts +0 -46
  1691. package/bin/shared/types/auth/AuthToken.d.ts.map +0 -1
  1692. package/bin/shared/types/auth/AuthToken.js +0 -9
  1693. package/bin/shared/types/auth/AuthToken.js.map +0 -1
  1694. package/bin/shared/types/auth/AuthTypes.d.ts +0 -227
  1695. package/bin/shared/types/auth/AuthTypes.d.ts.map +0 -1
  1696. package/bin/shared/types/auth/AuthTypes.js +0 -9
  1697. package/bin/shared/types/auth/AuthTypes.js.map +0 -1
  1698. package/bin/shared/utils/Id.d.ts.map +0 -1
  1699. package/bin/shared/utils/Id.js.map +0 -1
  1700. package/bin/shared/utils/Template.d.ts +0 -17
  1701. package/bin/shared/utils/Template.d.ts.map +0 -1
  1702. package/bin/shared/utils/Template.js +0 -24
  1703. package/bin/shared/utils/Template.js.map +0 -1
  1704. package/bin/shared/utils/Time.d.ts +0 -15
  1705. package/bin/shared/utils/Time.d.ts.map +0 -1
  1706. package/bin/shared/utils/Time.js +0 -69
  1707. package/bin/shared/utils/Time.js.map +0 -1
  1708. package/bin/shared/utils/cli/CliOutput.d.ts.map +0 -1
  1709. package/bin/shared/utils/cli/CliOutput.js.map +0 -1
  1710. package/bin/shared/utils/cli/Spinner.d.ts.map +0 -1
  1711. package/bin/shared/utils/cli/Spinner.js.map +0 -1
  1712. package/bin/shared/utils/logger/Fetch.d.ts +0 -14
  1713. package/bin/shared/utils/logger/Fetch.d.ts.map +0 -1
  1714. package/bin/shared/utils/logger/Fetch.js +0 -68
  1715. package/bin/shared/utils/logger/Fetch.js.map +0 -1
  1716. package/bin/shared/utils/logger/Format.d.ts +0 -11
  1717. package/bin/shared/utils/logger/Format.d.ts.map +0 -1
  1718. package/bin/shared/utils/logger/Format.js +0 -10
  1719. package/bin/shared/utils/logger/Format.js.map +0 -1
  1720. package/bin/shared/utils/logger/FormatRequest.d.ts +0 -29
  1721. package/bin/shared/utils/logger/FormatRequest.d.ts.map +0 -1
  1722. package/bin/shared/utils/logger/FormatRequest.js +0 -309
  1723. package/bin/shared/utils/logger/FormatRequest.js.map +0 -1
  1724. package/bin/shared/utils/logger/FormatResponse.d.ts +0 -46
  1725. package/bin/shared/utils/logger/FormatResponse.d.ts.map +0 -1
  1726. package/bin/shared/utils/logger/FormatResponse.js +0 -186
  1727. package/bin/shared/utils/logger/FormatResponse.js.map +0 -1
  1728. package/bin/shared/utils/logger/FormatShared.d.ts +0 -33
  1729. package/bin/shared/utils/logger/FormatShared.d.ts.map +0 -1
  1730. package/bin/shared/utils/logger/FormatShared.js +0 -215
  1731. package/bin/shared/utils/logger/FormatShared.js.map +0 -1
  1732. package/bin/shared/utils/logger/Logger.d.ts +0 -101
  1733. package/bin/shared/utils/logger/Logger.d.ts.map +0 -1
  1734. package/bin/shared/utils/logger/Logger.js +0 -308
  1735. package/bin/shared/utils/logger/Logger.js.map +0 -1
  1736. package/bin/shared/utils/storage/index.d.ts.map +0 -1
  1737. package/bin/shared/utils/storage/index.js.map +0 -1
  1738. package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +0 -1
  1739. package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +0 -1
  1740. package/bin/shared/utils/store/StoreChatAuthRepository.d.ts +0 -26
  1741. package/bin/shared/utils/store/StoreChatAuthRepository.d.ts.map +0 -1
  1742. package/bin/shared/utils/store/StoreChatAuthRepository.js +0 -145
  1743. package/bin/shared/utils/store/StoreChatAuthRepository.js.map +0 -1
  1744. package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +0 -1
  1745. package/bin/shared/utils/store/StoreEnvRepository.js.map +0 -1
  1746. package/bin/shared/utils/store/StoreModelRepository.d.ts.map +0 -1
  1747. package/bin/shared/utils/store/StoreModelRepository.js.map +0 -1
  1748. package/bin/shared/utils/store/StoreSchema.d.ts.map +0 -1
  1749. package/bin/shared/utils/store/StoreSchema.js.map +0 -1
  1750. package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +0 -1
  1751. package/bin/shared/utils/store/StoreSecureSettings.js.map +0 -1
  1752. package/bin/shared/utils/store/StoreShared.d.ts.map +0 -1
  1753. package/bin/shared/utils/store/StoreShared.js.map +0 -1
  1754. package/bin/shared/utils/store/crypto.d.ts.map +0 -1
  1755. package/bin/shared/utils/store/crypto.js.map +0 -1
  1756. package/bin/shared/utils/store/index.d.ts.map +0 -1
  1757. package/bin/shared/utils/store/index.js.map +0 -1
  1758. package/bin/shared/utils/store/schema.d.ts.map +0 -1
  1759. package/bin/shared/utils/store/schema.js.map +0 -1
  1760. package/bin/types/agent/AgentContext.d.ts +0 -345
  1761. package/bin/types/agent/AgentContext.d.ts.map +0 -1
  1762. package/bin/types/agent/AgentContext.js +0 -10
  1763. package/bin/types/agent/AgentContext.js.map +0 -1
  1764. package/bin/types/agent/AgentRuntime.d.ts +0 -81
  1765. package/bin/types/agent/AgentRuntime.d.ts.map +0 -1
  1766. package/bin/types/agent/AgentRuntime.js +0 -10
  1767. package/bin/types/agent/AgentRuntime.js.map +0 -1
  1768. package/bin/types/session/SessionExecutor.d.ts +0 -18
  1769. package/bin/types/session/SessionExecutor.d.ts.map +0 -1
  1770. package/bin/types/session/SessionExecutor.js +0 -9
  1771. package/bin/types/session/SessionExecutor.js.map +0 -1
  1772. package/bin/types/session/SessionHistoryMeta.d.ts +0 -26
  1773. package/bin/types/session/SessionHistoryMeta.d.ts.map +0 -1
  1774. package/bin/types/session/SessionHistoryMeta.js +0 -9
  1775. package/bin/types/session/SessionHistoryMeta.js.map +0 -1
  1776. package/bin/types/session/SessionHistoryPaths.d.ts +0 -30
  1777. package/bin/types/session/SessionHistoryPaths.d.ts.map +0 -1
  1778. package/bin/types/session/SessionHistoryPaths.js +0 -2
  1779. package/bin/types/session/SessionHistoryPaths.js.map +0 -1
  1780. package/bin/types/session/SessionLoop.d.ts +0 -79
  1781. package/bin/types/session/SessionLoop.d.ts.map +0 -1
  1782. package/bin/types/session/SessionLoop.js +0 -9
  1783. package/bin/types/session/SessionLoop.js.map +0 -1
  1784. package/bin/types/session/SessionMessages.d.ts +0 -83
  1785. package/bin/types/session/SessionMessages.d.ts.map +0 -1
  1786. package/bin/types/session/SessionMessages.js +0 -10
  1787. package/bin/types/session/SessionMessages.js.map +0 -1
  1788. package/bin/types/session/SessionPrompts.d.ts +0 -13
  1789. package/bin/types/session/SessionPrompts.d.ts.map +0 -1
  1790. package/bin/types/session/SessionPrompts.js +0 -9
  1791. package/bin/types/session/SessionPrompts.js.map +0 -1
  1792. package/bin/types/session/SessionRun.d.ts +0 -100
  1793. package/bin/types/session/SessionRun.d.ts.map +0 -1
  1794. package/bin/types/session/SessionRun.js +0 -10
  1795. package/bin/types/session/SessionRun.js.map +0 -1
  1796. package/bin/types/shell/ShellRuntime.d.ts +0 -91
  1797. package/bin/types/shell/ShellRuntime.d.ts.map +0 -1
  1798. package/bin/types/shell/ShellRuntime.js +0 -10
  1799. package/bin/types/shell/ShellRuntime.js.map +0 -1
  1800. package/src/agent/AgentContext.ts +0 -181
  1801. package/src/agent/AgentRuntime.ts +0 -348
  1802. package/src/agent/AgentRuntimeState.ts +0 -149
  1803. package/src/agent/project/AgentInitializer.ts +0 -382
  1804. package/src/agent/project/ProjectExecutionBinding.ts +0 -53
  1805. package/src/config/Config.ts +0 -251
  1806. package/src/console/ChannelAccountService.ts +0 -9
  1807. package/src/daemon/ProjectSetup.ts +0 -126
  1808. package/src/http/Server.ts +0 -170
  1809. package/src/http/dashboard/DashboardApiRoutes.ts +0 -30
  1810. package/src/http/dashboard/DashboardAuthorizationRoutes.ts +0 -101
  1811. package/src/http/dashboard/ExecuteBySession.ts +0 -152
  1812. package/src/http/dashboard/Helpers.ts +0 -22
  1813. package/src/http/dashboard/ModelRoutes.ts +0 -102
  1814. package/src/http/dashboard/OverviewRoutes.ts +0 -101
  1815. package/src/http/dashboard/Router.ts +0 -26
  1816. package/src/http/dashboard/SessionRoutes.ts +0 -402
  1817. package/src/http/dashboard/TaskRoutes.ts +0 -372
  1818. package/src/http/execute/execute.ts +0 -120
  1819. package/src/http/health/health.ts +0 -27
  1820. package/src/http/plugins/plugins.ts +0 -67
  1821. package/src/http/services/services.ts +0 -94
  1822. package/src/http/static/static.ts +0 -104
  1823. package/src/model/CreateModel.ts +0 -343
  1824. package/src/plugin/Activation.ts +0 -22
  1825. package/src/plugin/Catalog.ts +0 -118
  1826. package/src/plugin/HookRegistry.ts +0 -249
  1827. package/src/plugin/HttpRoutes.ts +0 -50
  1828. package/src/plugin/Lifecycle.ts +0 -116
  1829. package/src/plugin/LocalExecution.ts +0 -157
  1830. package/src/plugin/PluginCommand.ts +0 -220
  1831. package/src/plugin/PluginManager.ts +0 -66
  1832. package/src/plugin/PluginRegistry.ts +0 -244
  1833. package/src/plugin/Plugins.ts +0 -39
  1834. package/src/plugin/ProjectConfigStore.ts +0 -58
  1835. package/src/plugins/asr/Dependency.ts +0 -336
  1836. package/src/plugins/asr/ModelCatalog.ts +0 -43
  1837. package/src/plugins/asr/Plugin.ts +0 -640
  1838. package/src/plugins/auth/Plugin.ts +0 -208
  1839. package/src/plugins/auth/runtime/AuthorizationConfig.ts +0 -336
  1840. package/src/plugins/auth/runtime/AuthorizationPolicy.ts +0 -168
  1841. package/src/plugins/auth/runtime/AuthorizationStore.ts +0 -218
  1842. package/src/plugins/skill/Action.ts +0 -159
  1843. package/src/plugins/skill/Command.ts +0 -98
  1844. package/src/plugins/skill/Config.ts +0 -51
  1845. package/src/plugins/skill/PROMPT.txt +0 -10
  1846. package/src/plugins/skill/Plugin.ts +0 -355
  1847. package/src/plugins/skill/runtime/Discovery.ts +0 -141
  1848. package/src/plugins/skill/runtime/Frontmatter.ts +0 -17
  1849. package/src/plugins/skill/runtime/Paths.ts +0 -130
  1850. package/src/plugins/skill/runtime/Prompt.ts +0 -67
  1851. package/src/plugins/skill/runtime/Store.ts +0 -95
  1852. package/src/plugins/skill/runtime/SystemProvider.ts +0 -52
  1853. package/src/plugins/skill/runtime/Types.ts +0 -22
  1854. package/src/plugins/skill/runtime/Utils.ts +0 -28
  1855. package/src/plugins/tts/Dependency.ts +0 -473
  1856. package/src/plugins/tts/Plugin.ts +0 -554
  1857. package/src/plugins/tts/runtime/Catalog.ts +0 -97
  1858. package/src/plugins/tts/runtime/DependencyInstaller.ts +0 -436
  1859. package/src/plugins/tts/runtime/Installer.ts +0 -297
  1860. package/src/plugins/tts/runtime/Paths.ts +0 -39
  1861. package/src/plugins/tts/runtime/Synthesizer.ts +0 -480
  1862. package/src/plugins/voice/Dependency.ts +0 -329
  1863. package/src/plugins/voice/ModelCatalog.ts +0 -43
  1864. package/src/plugins/voice/Plugin.ts +0 -599
  1865. package/src/plugins/voice/runtime/Catalog.ts +0 -68
  1866. package/src/plugins/voice/runtime/DependencyInstaller.ts +0 -505
  1867. package/src/plugins/voice/runtime/Installer.ts +0 -324
  1868. package/src/plugins/voice/runtime/Paths.ts +0 -26
  1869. package/src/plugins/voice/runtime/Transcriber.ts +0 -467
  1870. package/src/plugins/web/Dependency.ts +0 -17
  1871. package/src/plugins/web/PROMPT.agent-browser.txt +0 -17
  1872. package/src/plugins/web/PROMPT.txt +0 -33
  1873. package/src/plugins/web/PROMPT.web-access.txt +0 -13
  1874. package/src/plugins/web/Plugin.ts +0 -516
  1875. package/src/plugins/web/runtime/Config.ts +0 -105
  1876. package/src/plugins/web/runtime/Source.ts +0 -263
  1877. package/src/plugins/workboard/Plugin.ts +0 -81
  1878. package/src/plugins/workboard/runtime/Collector.ts +0 -78
  1879. package/src/plugins/workboard/runtime/Normalizer.ts +0 -213
  1880. package/src/plugins/workboard/runtime/Store.ts +0 -110
  1881. package/src/plugins/workboard/types/Workboard.ts +0 -158
  1882. package/src/rpc/Server.ts +0 -395
  1883. package/src/rpc/Transport.ts +0 -40
  1884. package/src/runtime/AgentHostRuntime.ts +0 -65
  1885. package/src/runtime/CityPaths.ts +0 -101
  1886. package/src/runtime/CityRegistry.ts +0 -256
  1887. package/src/runtime/CityRuntime.ts +0 -45
  1888. package/src/runtime/PluginRuntime.ts +0 -42
  1889. package/src/runtime/ProcessSweep.ts +0 -256
  1890. package/src/service/Manager.ts +0 -25
  1891. package/src/service/ServiceActionApi.ts +0 -304
  1892. package/src/service/ServiceActionRunner.ts +0 -272
  1893. package/src/service/ServiceClassRegistry.ts +0 -77
  1894. package/src/service/ServiceManager.ts +0 -20
  1895. package/src/service/ServiceStateController.ts +0 -316
  1896. package/src/service/ServiceSystemProviders.ts +0 -50
  1897. package/src/service/Services.ts +0 -33
  1898. package/src/service/schedule/Executor.ts +0 -54
  1899. package/src/service/schedule/Runtime.ts +0 -78
  1900. package/src/service/schedule/Schema.ts +0 -34
  1901. package/src/service/schedule/Store.ts +0 -316
  1902. package/src/service/schedule/Time.ts +0 -131
  1903. package/src/services/BaseService.ts +0 -85
  1904. package/src/services/README.md +0 -100
  1905. package/src/services/chat/Action.ts +0 -477
  1906. package/src/services/chat/ChatService.ts +0 -111
  1907. package/src/services/chat/Index.ts +0 -9
  1908. package/src/services/chat/PROMPT.direct.txt +0 -55
  1909. package/src/services/chat/accounts/ChannelAccountService.ts +0 -317
  1910. package/src/services/chat/channels/BaseChatChannel.ts +0 -450
  1911. package/src/services/chat/channels/BaseChatChannelQueue.ts +0 -321
  1912. package/src/services/chat/channels/BaseChatChannelSupport.ts +0 -321
  1913. package/src/services/chat/channels/BotInfoProvider.ts +0 -49
  1914. package/src/services/chat/channels/Configuration.ts +0 -35
  1915. package/src/services/chat/channels/ConfigurationRegistry.ts +0 -43
  1916. package/src/services/chat/channels/feishu/BotInfo.ts +0 -199
  1917. package/src/services/chat/channels/feishu/Configuration.ts +0 -65
  1918. package/src/services/chat/channels/feishu/Feishu.ts +0 -634
  1919. package/src/services/chat/channels/feishu/FeishuInbound.ts +0 -51
  1920. package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
  1921. package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
  1922. package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
  1923. package/src/services/chat/channels/feishu/InboundAttachment.ts +0 -261
  1924. package/src/services/chat/channels/feishu/PROMPT.direct.txt +0 -5
  1925. package/src/services/chat/channels/feishu/PostMessage.ts +0 -492
  1926. package/src/services/chat/channels/feishu/ReplyContext.ts +0 -68
  1927. package/src/services/chat/channels/feishu/Shared.ts +0 -94
  1928. package/src/services/chat/channels/qq/BotInfo.ts +0 -137
  1929. package/src/services/chat/channels/qq/Configuration.ts +0 -64
  1930. package/src/services/chat/channels/qq/PROMPT.direct.txt +0 -11
  1931. package/src/services/chat/channels/qq/QQ.ts +0 -633
  1932. package/src/services/chat/channels/qq/QQEventCapture.ts +0 -88
  1933. package/src/services/chat/channels/qq/QQGatewayAuth.ts +0 -318
  1934. package/src/services/chat/channels/qq/QQGatewayClient.ts +0 -641
  1935. package/src/services/chat/channels/qq/QQGatewaySend.ts +0 -258
  1936. package/src/services/chat/channels/qq/QQGatewaySupport.ts +0 -159
  1937. package/src/services/chat/channels/qq/QQInbound.ts +0 -262
  1938. package/src/services/chat/channels/qq/QQInboundDedupe.ts +0 -126
  1939. package/src/services/chat/channels/qq/QQSendSupport.ts +0 -91
  1940. package/src/services/chat/channels/qq/QQSupport.ts +0 -263
  1941. package/src/services/chat/channels/qq/VoiceInput.ts +0 -381
  1942. package/src/services/chat/channels/telegram/ApiClient.ts +0 -373
  1943. package/src/services/chat/channels/telegram/Bot.ts +0 -652
  1944. package/src/services/chat/channels/telegram/BotInfo.ts +0 -92
  1945. package/src/services/chat/channels/telegram/Configuration.ts +0 -65
  1946. package/src/services/chat/channels/telegram/Handlers.ts +0 -91
  1947. package/src/services/chat/channels/telegram/PROMPT.direct.txt +0 -1
  1948. package/src/services/chat/channels/telegram/ReplyContext.ts +0 -76
  1949. package/src/services/chat/channels/telegram/Shared.ts +0 -404
  1950. package/src/services/chat/channels/telegram/StateStore.ts +0 -58
  1951. package/src/services/chat/channels/telegram/TelegramInbound.ts +0 -186
  1952. package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
  1953. package/src/services/chat/runtime/ChannelContextStore.ts +0 -395
  1954. package/src/services/chat/runtime/ChatActionExecution.ts +0 -362
  1955. package/src/services/chat/runtime/ChatActionInput.ts +0 -590
  1956. package/src/services/chat/runtime/ChatChannelActions.ts +0 -313
  1957. package/src/services/chat/runtime/ChatChannelConfig.ts +0 -334
  1958. package/src/services/chat/runtime/ChatChannelCore.ts +0 -112
  1959. package/src/services/chat/runtime/ChatChannelFacade.ts +0 -23
  1960. package/src/services/chat/runtime/ChatChannelLifecycle.ts +0 -165
  1961. package/src/services/chat/runtime/ChatHistoryStore.ts +0 -289
  1962. package/src/services/chat/runtime/ChatIngressStore.ts +0 -88
  1963. package/src/services/chat/runtime/ChatMessageMarkup.ts +0 -263
  1964. package/src/services/chat/runtime/ChatMetaStore.ts +0 -186
  1965. package/src/services/chat/runtime/ChatQueue.ts +0 -77
  1966. package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
  1967. package/src/services/chat/runtime/ChatQueueSessionBridge.ts +0 -122
  1968. package/src/services/chat/runtime/ChatQueueStore.ts +0 -185
  1969. package/src/services/chat/runtime/ChatQueueWorker.ts +0 -504
  1970. package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
  1971. package/src/services/chat/runtime/ChatSendMetadata.ts +0 -170
  1972. package/src/services/chat/runtime/ChatSendRegistry.ts +0 -43
  1973. package/src/services/chat/runtime/ChatServiceActions.ts +0 -484
  1974. package/src/services/chat/runtime/ChatServiceSystem.ts +0 -119
  1975. package/src/services/chat/runtime/ChatSession.ts +0 -125
  1976. package/src/services/chat/runtime/ChatSessionDelete.ts +0 -95
  1977. package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +0 -106
  1978. package/src/services/chat/runtime/ChatkeySend.ts +0 -187
  1979. package/src/services/chat/runtime/DirectDispatchParser.ts +0 -158
  1980. package/src/services/chat/runtime/EnqueueDispatch.ts +0 -49
  1981. package/src/services/chat/runtime/InboundAugment.ts +0 -63
  1982. package/src/services/chat/runtime/PluginDispatch.ts +0 -89
  1983. package/src/services/chat/runtime/PluginPoints.ts +0 -78
  1984. package/src/services/chat/runtime/QueuedUserMessage.ts +0 -43
  1985. package/src/services/chat/runtime/ReplyContextFormatter.ts +0 -85
  1986. package/src/services/chat/runtime/ReplyDispatch.ts +0 -78
  1987. package/src/services/chat/runtime/SystemPrompt.ts +0 -84
  1988. package/src/services/chat/runtime/UIMessageTransformer.ts +0 -141
  1989. package/src/services/chat/runtime/UserVisibleText.ts +0 -84
  1990. package/src/services/chat/types/BotInfo.ts +0 -101
  1991. package/src/services/chat/types/ChannelAccount.ts +0 -232
  1992. package/src/services/chat/types/ChannelConfiguration.ts +0 -161
  1993. package/src/services/chat/types/ChannelContext.ts +0 -110
  1994. package/src/services/chat/types/ChannelStatus.ts +0 -98
  1995. package/src/services/chat/types/ChatCommand.ts +0 -174
  1996. package/src/services/chat/types/ChatDispatcher.ts +0 -42
  1997. package/src/services/chat/types/ChatHistory.ts +0 -42
  1998. package/src/services/chat/types/ChatMessageMarkup.ts +0 -168
  1999. package/src/services/chat/types/ChatMeta.ts +0 -35
  2000. package/src/services/chat/types/ChatQueue.ts +0 -49
  2001. package/src/services/chat/types/DirectDispatch.ts +0 -133
  2002. package/src/services/chat/types/FeishuAttachment.ts +0 -50
  2003. package/src/services/chat/types/FeishuInboundAttachment.ts +0 -138
  2004. package/src/services/chat/types/FeishuPost.ts +0 -338
  2005. package/src/services/chat/types/QqInboundDedupe.ts +0 -12
  2006. package/src/services/chat/types/QqVoice.ts +0 -126
  2007. package/src/services/chat/types/ReplyContext.ts +0 -49
  2008. package/src/services/contact/Action.ts +0 -9
  2009. package/src/services/contact/ContactService.ts +0 -799
  2010. package/src/services/contact/Index.ts +0 -8
  2011. package/src/services/contact/PROMPT.txt +0 -25
  2012. package/src/services/contact/runtime/ApproveCallback.ts +0 -97
  2013. package/src/services/contact/runtime/ChatRuntime.ts +0 -82
  2014. package/src/services/contact/runtime/ContactStore.ts +0 -299
  2015. package/src/services/contact/runtime/EndpointNotice.ts +0 -125
  2016. package/src/services/contact/runtime/EndpointResolver.ts +0 -146
  2017. package/src/services/contact/runtime/InboxStore.ts +0 -178
  2018. package/src/services/contact/runtime/LinkApproval.ts +0 -387
  2019. package/src/services/contact/runtime/LinkCode.ts +0 -70
  2020. package/src/services/contact/runtime/LinkStore.ts +0 -50
  2021. package/src/services/contact/runtime/Paths.ts +0 -139
  2022. package/src/services/contact/runtime/RemoteClient.ts +0 -137
  2023. package/src/services/contact/runtime/ShareBundle.ts +0 -286
  2024. package/src/services/contact/runtime/SystemProvider.ts +0 -22
  2025. package/src/services/contact/runtime/Token.ts +0 -40
  2026. package/src/services/memory/Action.ts +0 -188
  2027. package/src/services/memory/Index.ts +0 -9
  2028. package/src/services/memory/MemoryService.ts +0 -329
  2029. package/src/services/memory/runtime/Flush.ts +0 -83
  2030. package/src/services/memory/runtime/Indexer.ts +0 -466
  2031. package/src/services/memory/runtime/Search.ts +0 -90
  2032. package/src/services/memory/runtime/Store.ts +0 -370
  2033. package/src/services/memory/runtime/SystemProvider.ts +0 -145
  2034. package/src/services/memory/runtime/Writer.ts +0 -174
  2035. package/src/services/memory/types/Memory.ts +0 -341
  2036. package/src/services/shell/Index.ts +0 -9
  2037. package/src/services/shell/ShellService.ts +0 -199
  2038. package/src/services/shell/runtime/Paths.ts +0 -28
  2039. package/src/services/shell/runtime/ShellActionRuntime.ts +0 -579
  2040. package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +0 -552
  2041. package/src/services/shell/types/ShellService.ts +0 -233
  2042. package/src/services/task/Action.ts +0 -491
  2043. package/src/services/task/Index.ts +0 -9
  2044. package/src/services/task/PROMPT.txt +0 -237
  2045. package/src/services/task/Scheduler.ts +0 -245
  2046. package/src/services/task/TaskService.ts +0 -167
  2047. package/src/services/task/runtime/CronRuntime.ts +0 -73
  2048. package/src/services/task/runtime/CronTrigger.ts +0 -110
  2049. package/src/services/task/runtime/Frontmatter.ts +0 -24
  2050. package/src/services/task/runtime/Model.ts +0 -347
  2051. package/src/services/task/runtime/Paths.ts +0 -116
  2052. package/src/services/task/runtime/Runner.ts +0 -558
  2053. package/src/services/task/runtime/Store.ts +0 -253
  2054. package/src/services/task/runtime/TaskActionExecution.ts +0 -276
  2055. package/src/services/task/runtime/TaskActionInput.ts +0 -463
  2056. package/src/services/task/runtime/TaskRunArtifacts.ts +0 -493
  2057. package/src/services/task/runtime/TaskRunChatDispatch.ts +0 -81
  2058. package/src/services/task/runtime/TaskRunnerProgress.ts +0 -112
  2059. package/src/services/task/runtime/TaskRunnerRound.ts +0 -337
  2060. package/src/services/task/runtime/TaskRunnerSession.ts +0 -167
  2061. package/src/services/task/runtime/TaskServiceActions.ts +0 -248
  2062. package/src/services/task/runtime/TaskServiceSystem.ts +0 -30
  2063. package/src/services/task/types/Cron.ts +0 -16
  2064. package/src/services/task/types/Task.ts +0 -157
  2065. package/src/services/task/types/TaskCommand.ts +0 -165
  2066. package/src/session/Session.ts +0 -237
  2067. package/src/session/SessionRunScope.ts +0 -134
  2068. package/src/session/composer/SessionComposer.ts +0 -34
  2069. package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -68
  2070. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -100
  2071. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
  2072. package/src/session/composer/execution/LocalSessionExecutionComposer.ts +0 -169
  2073. package/src/session/composer/execution/SessionExecutionComposer.ts +0 -71
  2074. package/src/session/composer/history/SessionHistoryComposer.ts +0 -194
  2075. package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
  2076. package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -508
  2077. package/src/session/composer/system/SessionSystemComposer.ts +0 -25
  2078. package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -78
  2079. package/src/session/composer/system/default/InitPrompts.ts +0 -52
  2080. package/src/session/composer/system/default/PromptRenderer.ts +0 -52
  2081. package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
  2082. package/src/session/composer/system/default/SystemDomain.ts +0 -405
  2083. package/src/session/composer/system/default/assets/core.prompt.txt +0 -39
  2084. package/src/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
  2085. package/src/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
  2086. package/src/session/composer/system/default/assets/service.prompt.txt +0 -29
  2087. package/src/session/composer/system/default/assets/task.prompt.txt +0 -33
  2088. package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
  2089. package/src/session/composer/system/default/variables/PromptTypes.ts +0 -37
  2090. package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
  2091. package/src/session/executors/local/LocalSessionCore.ts +0 -753
  2092. package/src/session/executors/local/LocalSessionExecutor.ts +0 -89
  2093. package/src/session/executors/local/SessionLoopDecision.ts +0 -80
  2094. package/src/session/executors/local/SessionSignals.ts +0 -416
  2095. package/src/session/ids/resolveSessionId.ts +0 -18
  2096. package/src/session/messages/SessionAttachmentMapper.ts +0 -155
  2097. package/src/session/messages/SessionMessageCodec.ts +0 -116
  2098. package/src/session/messages/SessionMessageLog.ts +0 -39
  2099. package/src/session/messages/SessionStepEventMapper.ts +0 -233
  2100. package/src/session/tools/shell/ShellToolBridge.ts +0 -378
  2101. package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
  2102. package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
  2103. package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
  2104. package/src/shared/constants/DowncityDefault.ts +0 -38
  2105. package/src/shared/types/AgentHost.ts +0 -74
  2106. package/src/shared/types/AgentProject.ts +0 -92
  2107. package/src/shared/types/AuthDashboard.ts +0 -38
  2108. package/src/shared/types/AuthPlugin.ts +0 -545
  2109. package/src/shared/types/ChatPlugin.ts +0 -251
  2110. package/src/shared/types/ChatPromptContext.ts +0 -139
  2111. package/src/shared/types/ChatQueueWorker.ts +0 -25
  2112. package/src/shared/types/ChatRuntime.ts +0 -33
  2113. package/src/shared/types/ChatService.ts +0 -165
  2114. package/src/shared/types/ClaudeSkill.ts +0 -64
  2115. package/src/shared/types/Console.ts +0 -448
  2116. package/src/shared/types/ConsoleGateway.ts +0 -196
  2117. package/src/shared/types/Daemon.ts +0 -53
  2118. package/src/shared/types/DashboardData.ts +0 -392
  2119. package/src/shared/types/DashboardRoutes.ts +0 -31
  2120. package/src/shared/types/DashboardSessionExecute.ts +0 -99
  2121. package/src/shared/types/DowncityConfig.ts +0 -215
  2122. package/src/shared/types/ExecutionBinding.ts +0 -27
  2123. package/src/shared/types/FeishuChannel.ts +0 -131
  2124. package/src/shared/types/InlineInstant.ts +0 -96
  2125. package/src/shared/types/Json.ts +0 -34
  2126. package/src/shared/types/LlmConfig.ts +0 -115
  2127. package/src/shared/types/LocalRpc.ts +0 -72
  2128. package/src/shared/types/ModelBinding.ts +0 -18
  2129. package/src/shared/types/Plugin.ts +0 -743
  2130. package/src/shared/types/PluginApi.ts +0 -157
  2131. package/src/shared/types/PluginLifecycle.ts +0 -35
  2132. package/src/shared/types/QqChannel.ts +0 -501
  2133. package/src/shared/types/QqGatewaySupport.ts +0 -97
  2134. package/src/shared/types/README.md +0 -53
  2135. package/src/shared/types/Sandbox.ts +0 -144
  2136. package/src/shared/types/Service.ts +0 -223
  2137. package/src/shared/types/ServiceSchedule.ts +0 -134
  2138. package/src/shared/types/ServiceState.ts +0 -112
  2139. package/src/shared/types/Services.ts +0 -100
  2140. package/src/shared/types/Shell.ts +0 -103
  2141. package/src/shared/types/SkillCommand.ts +0 -90
  2142. package/src/shared/types/SkillPlugin.ts +0 -107
  2143. package/src/shared/types/SkillRoot.ts +0 -49
  2144. package/src/shared/types/Start.ts +0 -16
  2145. package/src/shared/types/Store.ts +0 -526
  2146. package/src/shared/types/TaskService.ts +0 -55
  2147. package/src/shared/types/Template.ts +0 -9
  2148. package/src/shared/types/Tts.ts +0 -99
  2149. package/src/shared/types/TtsPlugin.ts +0 -164
  2150. package/src/shared/types/Voice.ts +0 -68
  2151. package/src/shared/types/VoicePlugin.ts +0 -194
  2152. package/src/shared/types/WebPlugin.ts +0 -141
  2153. package/src/shared/types/auth/AuthPermission.ts +0 -126
  2154. package/src/shared/types/auth/AuthRoute.ts +0 -31
  2155. package/src/shared/types/auth/AuthToken.ts +0 -47
  2156. package/src/shared/types/auth/AuthTypes.ts +0 -235
  2157. package/src/shared/utils/README.md +0 -49
  2158. package/src/shared/utils/Template.ts +0 -28
  2159. package/src/shared/utils/Time.ts +0 -77
  2160. package/src/shared/utils/logger/Fetch.ts +0 -93
  2161. package/src/shared/utils/logger/Format.ts +0 -15
  2162. package/src/shared/utils/logger/FormatRequest.ts +0 -455
  2163. package/src/shared/utils/logger/FormatResponse.ts +0 -265
  2164. package/src/shared/utils/logger/FormatShared.ts +0 -258
  2165. package/src/shared/utils/logger/Logger.ts +0 -372
  2166. package/src/shared/utils/store/StoreChatAuthRepository.ts +0 -215
  2167. package/src/types/agent/AgentContext.ts +0 -380
  2168. package/src/types/agent/AgentRuntime.ts +0 -86
  2169. package/src/types/session/SessionExecutor.ts +0 -33
  2170. package/src/types/session/SessionHistoryMeta.ts +0 -26
  2171. package/src/types/session/SessionHistoryPaths.ts +0 -33
  2172. package/src/types/session/SessionLoop.ts +0 -95
  2173. package/src/types/session/SessionMessages.ts +0 -90
  2174. package/src/types/session/SessionPrompts.ts +0 -14
  2175. package/src/types/session/SessionRun.ts +0 -116
  2176. package/src/types/shell/ShellRuntime.ts +0 -94
  2177. /package/bin/{shared/constants → constants}/DowncitySchema.js +0 -0
  2178. /package/bin/{shared/utils/store → store}/StoreChannelAccountRepository.js +0 -0
  2179. /package/bin/{shared/utils/store → store}/StoreEnvRepository.js +0 -0
  2180. /package/bin/{shared/utils/store → store}/StoreModelRepository.js +0 -0
  2181. /package/bin/{shared/utils/store → store}/StoreSchema.d.ts +0 -0
  2182. /package/bin/{shared/utils/store → store}/StoreSecureSettings.d.ts +0 -0
  2183. /package/bin/{shared/utils/store → store}/StoreSecureSettings.js +0 -0
  2184. /package/bin/{shared/utils/store → store}/crypto.d.ts +0 -0
  2185. /package/bin/{shared/utils/store → store}/schema.d.ts +0 -0
  2186. /package/bin/{shared/utils/store → store}/schema.js +0 -0
  2187. /package/bin/{shared/utils → utils}/Id.d.ts +0 -0
  2188. /package/bin/{shared/utils → utils}/Id.js +0 -0
  2189. /package/bin/{shared/utils → utils}/cli/Spinner.d.ts +0 -0
  2190. /package/bin/{shared/utils → utils}/cli/Spinner.js +0 -0
  2191. /package/src/{shared/utils/store → store}/StoreSecureSettings.ts +0 -0
  2192. /package/src/{shared/utils/store → store}/schema.ts +0 -0
  2193. /package/src/{shared/utils → utils}/Id.ts +0 -0
  2194. /package/src/{shared/utils → utils}/cli/CliOutput.ts +0 -0
  2195. /package/src/{shared/utils → utils}/cli/Spinner.ts +0 -0
@@ -1,421 +0,0 @@
1
- /**
2
- * FeishuPlatformClient:飞书平台连接与消息能力封装。
3
- *
4
- * 关键点(中文)
5
- * - 负责 SDK client / WS client、token 缓存、启动停止与 runtime 状态。
6
- * - 查询类能力与发送类能力已经拆到旁路模块,当前文件只保留平台宿主职责。
7
- * - `FeishuBot` 只调用这里暴露的平台能力,不再直接持有底层 Feishu 连接细节。
8
- */
9
-
10
- import * as Lark from "@larksuiteoapi/node-sdk";
11
- import type { AgentContext } from "@/types/agent/AgentContext.js";
12
- import type {
13
- FeishuConfig,
14
- FeishuDownloadedAttachment,
15
- FeishuMessageEvent,
16
- FeishuMessagePayloadType,
17
- } from "@/shared/types/FeishuChannel.js";
18
- import type { ChatChannelTestResult } from "@services/chat/types/ChannelStatus.js";
19
- import type { ParsedFeishuAttachmentCommand } from "@services/chat/types/FeishuAttachment.js";
20
- import type { FeishuIncomingAttachmentDescriptor } from "@services/chat/types/FeishuInboundAttachment.js";
21
- import type { InboundReplyContext } from "@services/chat/types/ReplyContext.js";
22
- import {
23
- downloadFeishuIncomingAttachments,
24
- resolveFeishuChatTitle,
25
- resolveFeishuReplyContext,
26
- resolveFeishuSenderName,
27
- } from "./FeishuPlatformLookup.js";
28
- import {
29
- sendFeishuAttachment,
30
- sendFeishuPlatformMessage,
31
- } from "./FeishuPlatformMessaging.js";
32
-
33
- const FEISHU_INBOUND_ACK_REACTION_TYPE = "OK";
34
-
35
- /**
36
- * Feishu 平台 client 构造参数。
37
- */
38
- export interface FeishuPlatformClientOptions {
39
- /**
40
- * 当前执行上下文。
41
- */
42
- context: AgentContext;
43
- /**
44
- * 飞书渠道配置。
45
- */
46
- config: Pick<FeishuConfig, "appId" | "appSecret" | "domain">;
47
- /**
48
- * 入站消息回调。
49
- */
50
- onMessage: (data: FeishuMessageEvent) => Promise<void>;
51
- }
52
-
53
- /**
54
- * 飞书平台 client。
55
- */
56
- export class FeishuPlatformClient {
57
- private readonly context: AgentContext;
58
- private readonly rootPath: string;
59
- private readonly logger: AgentContext["logger"];
60
- private readonly appId: string;
61
- private readonly appSecret: string;
62
- private readonly domain?: string;
63
- private readonly onMessage: (data: FeishuMessageEvent) => Promise<void>;
64
-
65
- private client: Lark.Client | null = null;
66
- private wsClient: Lark.WSClient | null = null;
67
- private isRunning = false;
68
- private messageCleanupInterval: NodeJS.Timeout | null = null;
69
- private appAccessToken = "";
70
- private appAccessTokenExpiresAtMs = 0;
71
- private readonly chatTitleByChatId: Map<string, string> = new Map();
72
- private readonly senderNameBySenderKey: Map<string, string> = new Map();
73
- private readonly lookupWarnings: Set<string> = new Set();
74
-
75
- constructor(options: FeishuPlatformClientOptions) {
76
- this.context = options.context;
77
- this.rootPath = options.context.rootPath;
78
- this.logger = options.context.logger;
79
- this.appId = options.config.appId;
80
- this.appSecret = options.config.appSecret;
81
- this.domain = options.config.domain;
82
- this.onMessage = options.onMessage;
83
- }
84
-
85
- /**
86
- * 获取 runtime 快照。
87
- */
88
- getExecutorStatus(): {
89
- running: boolean;
90
- linkState: "connected" | "disconnected" | "unknown";
91
- statusText: string;
92
- detail: Record<string, string | number | boolean | null>;
93
- } {
94
- const running = this.isRunning;
95
- const hasClients = Boolean(this.client && this.wsClient);
96
- const linkState = running && hasClients ? "connected" : running ? "unknown" : "disconnected";
97
- return {
98
- running,
99
- linkState,
100
- statusText:
101
- linkState === "connected"
102
- ? "ws_online"
103
- : linkState === "unknown"
104
- ? "starting"
105
- : "stopped",
106
- detail: {
107
- hasClient: Boolean(this.client),
108
- hasWsClient: Boolean(this.wsClient),
109
- cachedChatTitleCount: this.chatTitleByChatId.size,
110
- cachedSenderNameCount: this.senderNameBySenderKey.size,
111
- },
112
- };
113
- }
114
-
115
- /**
116
- * 连通性测试。
117
- */
118
- async testConnection(): Promise<ChatChannelTestResult> {
119
- const startedAt = Date.now();
120
- if (!this.appId || !this.appSecret) {
121
- return {
122
- channel: "feishu",
123
- success: false,
124
- testedAtMs: startedAt,
125
- message: "App credentials are missing",
126
- };
127
- }
128
-
129
- const domain = this.domain || "https://open.feishu.cn";
130
- const endpoint = `${domain.replace(/\/+$/, "")}/open-apis/auth/v3/app_access_token/internal`;
131
- try {
132
- const response = await fetch(endpoint, {
133
- method: "POST",
134
- headers: { "Content-Type": "application/json" },
135
- body: JSON.stringify({
136
- app_id: this.appId,
137
- app_secret: this.appSecret,
138
- }),
139
- });
140
- const raw = await response.text();
141
- const now = Date.now();
142
- let code: number | undefined;
143
- let msg: string | undefined;
144
- try {
145
- const parsed = JSON.parse(raw) as { code?: number; msg?: string };
146
- code = typeof parsed.code === "number" ? parsed.code : undefined;
147
- msg = typeof parsed.msg === "string" ? parsed.msg : undefined;
148
- } catch {
149
- // ignore parse error
150
- }
151
-
152
- if (response.ok && (code === 0 || code === undefined)) {
153
- return {
154
- channel: "feishu",
155
- success: true,
156
- testedAtMs: now,
157
- latencyMs: now - startedAt,
158
- message: "Connected to Feishu Open API",
159
- detail: {
160
- httpStatus: response.status,
161
- code: code ?? null,
162
- },
163
- };
164
- }
165
-
166
- return {
167
- channel: "feishu",
168
- success: false,
169
- testedAtMs: now,
170
- latencyMs: now - startedAt,
171
- message: `Feishu API check failed: HTTP ${response.status}${msg ? ` ${msg}` : ""}`,
172
- detail: {
173
- httpStatus: response.status,
174
- code: code ?? null,
175
- },
176
- };
177
- } catch (error) {
178
- const now = Date.now();
179
- return {
180
- channel: "feishu",
181
- success: false,
182
- testedAtMs: now,
183
- latencyMs: now - startedAt,
184
- message: `Feishu API check failed: ${String(error)}`,
185
- };
186
- }
187
- }
188
-
189
- /**
190
- * 启动平台连接。
191
- */
192
- async start(processedMessages: Set<string>): Promise<void> {
193
- if (this.isRunning) {
194
- this.logger.warn("Feishu Bot is already running, skipping duplicate startup");
195
- return;
196
- }
197
-
198
- this.isRunning = true;
199
- const baseConfig = {
200
- appId: this.appId,
201
- appSecret: this.appSecret,
202
- domain: this.domain || "https://open.feishu.cn",
203
- };
204
- this.client = new Lark.Client(baseConfig);
205
- this.wsClient = new Lark.WSClient(baseConfig);
206
-
207
- const eventDispatcher = new Lark.EventDispatcher({}).register({
208
- "im.message.receive_v1": async (data: FeishuMessageEvent) => {
209
- await this.onMessage(data);
210
- },
211
- });
212
-
213
- this.wsClient.start({ eventDispatcher });
214
- this.logger.info("Feishu Bot started, using long connection mode");
215
-
216
- this.messageCleanupInterval = setInterval(() => {
217
- if (processedMessages.size > 1000) {
218
- processedMessages.clear();
219
- this.logger.debug("Cleared message deduplication cache");
220
- }
221
- }, 5 * 60 * 1000);
222
- }
223
-
224
- /**
225
- * 停止平台连接。
226
- */
227
- async stop(): Promise<void> {
228
- this.isRunning = false;
229
- if (this.messageCleanupInterval) {
230
- clearInterval(this.messageCleanupInterval);
231
- this.messageCleanupInterval = null;
232
- }
233
- if (this.wsClient) {
234
- this.logger.info("Feishu Bot stopped");
235
- }
236
- }
237
-
238
- /**
239
- * 给入站消息补一个轻量 ack reaction。
240
- */
241
- async sendInboundAckReaction(params: { messageId?: string }): Promise<void> {
242
- const messageId = String(params.messageId || "").trim();
243
- if (!messageId || !this.client?.im?.v1?.messageReaction?.create) return;
244
- try {
245
- await this.client.im.v1.messageReaction.create({
246
- path: { message_id: messageId },
247
- data: {
248
- reaction_type: {
249
- emoji_type: FEISHU_INBOUND_ACK_REACTION_TYPE,
250
- },
251
- },
252
- });
253
- } catch (error) {
254
- this.logger.warn("飞书入站 ack reaction 失败,继续处理消息", {
255
- messageId,
256
- reactionType: FEISHU_INBOUND_ACK_REACTION_TYPE,
257
- error: String(error),
258
- });
259
- }
260
- }
261
-
262
- /**
263
- * 解析发送者姓名。
264
- */
265
- async resolveSenderName(params: {
266
- senderId?: string;
267
- idType?: "open_id" | "user_id" | "union_id";
268
- chatId?: string;
269
- }): Promise<string | undefined> {
270
- return resolveFeishuSenderName(this.getLookupDeps(), params);
271
- }
272
-
273
- /**
274
- * 解析群聊/会话标题。
275
- */
276
- async resolveChatTitle(chatId: string): Promise<string | undefined> {
277
- return resolveFeishuChatTitle(this.getLookupDeps(), chatId);
278
- }
279
-
280
- /**
281
- * 查询 reply 的父消息上下文。
282
- */
283
- async resolveReplyContext(params: {
284
- parentMessageId?: string;
285
- }): Promise<InboundReplyContext | undefined> {
286
- return resolveFeishuReplyContext(this.getLookupDeps(), params);
287
- }
288
-
289
- /**
290
- * 下载入站附件。
291
- */
292
- async downloadIncomingAttachments(params: {
293
- messageId: string;
294
- attachments: FeishuIncomingAttachmentDescriptor[];
295
- }): Promise<FeishuDownloadedAttachment[]> {
296
- return downloadFeishuIncomingAttachments(this.getLookupDeps(), params);
297
- }
298
-
299
- /**
300
- * 发送附件。
301
- */
302
- async sendAttachment(
303
- chatId: string,
304
- chatType: string,
305
- messageId: string | undefined,
306
- attachment: ParsedFeishuAttachmentCommand,
307
- ): Promise<void> {
308
- return sendFeishuAttachment(this.getMessagingDeps(), chatId, chatType, messageId, attachment);
309
- }
310
-
311
- /**
312
- * 发送平台消息。
313
- */
314
- async sendPlatformMessage(
315
- chatId: string,
316
- chatType: string,
317
- messageId: string | undefined,
318
- msgType: FeishuMessagePayloadType,
319
- content: Record<string, unknown> | string,
320
- ): Promise<void> {
321
- return sendFeishuPlatformMessage(
322
- this.getMessagingDeps(),
323
- chatId,
324
- chatType,
325
- messageId,
326
- msgType,
327
- content,
328
- );
329
- }
330
-
331
- /**
332
- * 获取 tenant_access_token。
333
- */
334
- private async getAppAccessToken(): Promise<string | undefined> {
335
- const now = Date.now();
336
- if (this.appAccessToken && this.appAccessTokenExpiresAtMs > now + 10_000) {
337
- return this.appAccessToken;
338
- }
339
-
340
- const domain = this.getNormalizedDomain();
341
- try {
342
- const response = await fetch(
343
- `${domain}/open-apis/auth/v3/tenant_access_token/internal`,
344
- {
345
- method: "POST",
346
- headers: { "Content-Type": "application/json" },
347
- body: JSON.stringify({
348
- app_id: this.appId,
349
- app_secret: this.appSecret,
350
- }),
351
- },
352
- );
353
- const payload = (await response.json().catch(() => null)) as
354
- | {
355
- code?: number;
356
- tenant_access_token?: string;
357
- expire?: number;
358
- msg?: string;
359
- }
360
- | null;
361
- const token =
362
- typeof payload?.tenant_access_token === "string"
363
- ? payload.tenant_access_token.trim()
364
- : "";
365
- if (!response.ok || payload?.code !== 0 || !token) {
366
- this.logger.debug("Feishu tenant_access_token 获取失败", {
367
- httpStatus: response.status,
368
- code: payload?.code,
369
- msg: payload?.msg,
370
- });
371
- return undefined;
372
- }
373
-
374
- const expireSeconds =
375
- typeof payload?.expire === "number" && Number.isFinite(payload.expire)
376
- ? payload.expire
377
- : 7200;
378
- this.appAccessToken = token;
379
- this.appAccessTokenExpiresAtMs = Date.now() + Math.max(60, expireSeconds) * 1000;
380
- return token;
381
- } catch {
382
- return undefined;
383
- }
384
- }
385
-
386
- /**
387
- * 为 lookup helper 构造依赖集合。
388
- */
389
- private getLookupDeps() {
390
- return {
391
- rootPath: this.rootPath,
392
- logger: this.logger,
393
- client: this.client,
394
- getAppAccessToken: () => this.getAppAccessToken(),
395
- getNormalizedDomain: () => this.getNormalizedDomain(),
396
- senderNameBySenderKey: this.senderNameBySenderKey,
397
- chatTitleByChatId: this.chatTitleByChatId,
398
- lookupWarnings: this.lookupWarnings,
399
- };
400
- }
401
-
402
- /**
403
- * 为 messaging helper 构造依赖集合。
404
- */
405
- private getMessagingDeps() {
406
- return {
407
- rootPath: this.rootPath,
408
- logger: this.logger,
409
- client: this.client,
410
- getAppAccessToken: () => this.getAppAccessToken(),
411
- getNormalizedDomain: () => this.getNormalizedDomain(),
412
- };
413
- }
414
-
415
- /**
416
- * 归一化 domain。
417
- */
418
- private getNormalizedDomain(): string {
419
- return (this.domain || "https://open.feishu.cn").replace(/\/+$/, "");
420
- }
421
- }