@downcity/city 1.1.1

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 (2501) hide show
  1. package/bin/agent/AgentContext.d.ts +23 -0
  2. package/bin/agent/AgentContext.d.ts.map +1 -0
  3. package/bin/agent/AgentContext.js +148 -0
  4. package/bin/agent/AgentContext.js.map +1 -0
  5. package/bin/agent/AgentRuntime.d.ts +32 -0
  6. package/bin/agent/AgentRuntime.d.ts.map +1 -0
  7. package/bin/agent/AgentRuntime.js +277 -0
  8. package/bin/agent/AgentRuntime.js.map +1 -0
  9. package/bin/agent/AgentRuntimeState.d.ts +42 -0
  10. package/bin/agent/AgentRuntimeState.d.ts.map +1 -0
  11. package/bin/agent/AgentRuntimeState.js +116 -0
  12. package/bin/agent/AgentRuntimeState.js.map +1 -0
  13. package/bin/agent/project/AgentInitializer.d.ts +38 -0
  14. package/bin/agent/project/AgentInitializer.d.ts.map +1 -0
  15. package/bin/agent/project/AgentInitializer.js +308 -0
  16. package/bin/agent/project/AgentInitializer.js.map +1 -0
  17. package/bin/agent/project/ProjectExecutionBinding.d.ts +27 -0
  18. package/bin/agent/project/ProjectExecutionBinding.d.ts.map +1 -0
  19. package/bin/agent/project/ProjectExecutionBinding.js +47 -0
  20. package/bin/agent/project/ProjectExecutionBinding.js.map +1 -0
  21. package/bin/cli/AgentChat.d.ts +22 -0
  22. package/bin/cli/AgentChat.d.ts.map +1 -0
  23. package/bin/cli/AgentChat.js +357 -0
  24. package/bin/cli/AgentChat.js.map +1 -0
  25. package/bin/cli/AgentHistory.d.ts +14 -0
  26. package/bin/cli/AgentHistory.d.ts.map +1 -0
  27. package/bin/cli/AgentHistory.js +157 -0
  28. package/bin/cli/AgentHistory.js.map +1 -0
  29. package/bin/cli/AgentManager.d.ts +12 -0
  30. package/bin/cli/AgentManager.d.ts.map +1 -0
  31. package/bin/cli/AgentManager.js +602 -0
  32. package/bin/cli/AgentManager.js.map +1 -0
  33. package/bin/cli/AgentReset.d.ts +13 -0
  34. package/bin/cli/AgentReset.d.ts.map +1 -0
  35. package/bin/cli/AgentReset.js +167 -0
  36. package/bin/cli/AgentReset.js.map +1 -0
  37. package/bin/cli/AgentSelection.d.ts +43 -0
  38. package/bin/cli/AgentSelection.d.ts.map +1 -0
  39. package/bin/cli/AgentSelection.js +243 -0
  40. package/bin/cli/AgentSelection.js.map +1 -0
  41. package/bin/cli/Alias.d.ts +21 -0
  42. package/bin/cli/Alias.d.ts.map +1 -0
  43. package/bin/cli/Alias.js +115 -0
  44. package/bin/cli/Alias.js.map +1 -0
  45. package/bin/cli/Chat.d.ts +13 -0
  46. package/bin/cli/Chat.d.ts.map +1 -0
  47. package/bin/cli/Chat.js +27 -0
  48. package/bin/cli/Chat.js.map +1 -0
  49. package/bin/cli/ChatAuth.d.ts +36 -0
  50. package/bin/cli/ChatAuth.d.ts.map +1 -0
  51. package/bin/cli/ChatAuth.js +140 -0
  52. package/bin/cli/ChatAuth.js.map +1 -0
  53. package/bin/cli/ChatManager.d.ts +13 -0
  54. package/bin/cli/ChatManager.d.ts.map +1 -0
  55. package/bin/cli/ChatManager.js +383 -0
  56. package/bin/cli/ChatManager.js.map +1 -0
  57. package/bin/cli/CliReporter.d.ts +50 -0
  58. package/bin/cli/CliReporter.d.ts.map +1 -0
  59. package/bin/cli/CliReporter.js +278 -0
  60. package/bin/cli/CliReporter.js.map +1 -0
  61. package/bin/cli/Config.d.ts +14 -0
  62. package/bin/cli/Config.d.ts.map +1 -0
  63. package/bin/cli/Config.js +239 -0
  64. package/bin/cli/Config.js.map +1 -0
  65. package/bin/cli/Console.d.ts +97 -0
  66. package/bin/cli/Console.d.ts.map +1 -0
  67. package/bin/cli/Console.js +514 -0
  68. package/bin/cli/Console.js.map +1 -0
  69. package/bin/cli/ConsoleAuthBootstrap.d.ts +25 -0
  70. package/bin/cli/ConsoleAuthBootstrap.d.ts.map +1 -0
  71. package/bin/cli/ConsoleAuthBootstrap.js +56 -0
  72. package/bin/cli/ConsoleAuthBootstrap.js.map +1 -0
  73. package/bin/cli/ConsoleInit.d.ts +17 -0
  74. package/bin/cli/ConsoleInit.d.ts.map +1 -0
  75. package/bin/cli/ConsoleInit.js +76 -0
  76. package/bin/cli/ConsoleInit.js.map +1 -0
  77. package/bin/cli/Env.d.ts +14 -0
  78. package/bin/cli/Env.d.ts.map +1 -0
  79. package/bin/cli/Env.js +419 -0
  80. package/bin/cli/Env.js.map +1 -0
  81. package/bin/cli/Index.d.ts +11 -0
  82. package/bin/cli/Index.d.ts.map +1 -0
  83. package/bin/cli/Index.js +70 -0
  84. package/bin/cli/Index.js.map +1 -0
  85. package/bin/cli/IndexAgentCommand.d.ts +22 -0
  86. package/bin/cli/IndexAgentCommand.d.ts.map +1 -0
  87. package/bin/cli/IndexAgentCommand.js +218 -0
  88. package/bin/cli/IndexAgentCommand.js.map +1 -0
  89. package/bin/cli/IndexConsoleCommand.d.ts +24 -0
  90. package/bin/cli/IndexConsoleCommand.d.ts.map +1 -0
  91. package/bin/cli/IndexConsoleCommand.js +147 -0
  92. package/bin/cli/IndexConsoleCommand.js.map +1 -0
  93. package/bin/cli/IndexConsoleProcess.d.ts +61 -0
  94. package/bin/cli/IndexConsoleProcess.d.ts.map +1 -0
  95. package/bin/cli/IndexConsoleProcess.js +395 -0
  96. package/bin/cli/IndexConsoleProcess.js.map +1 -0
  97. package/bin/cli/IndexConsoleStatus.d.ts +27 -0
  98. package/bin/cli/IndexConsoleStatus.d.ts.map +1 -0
  99. package/bin/cli/IndexConsoleStatus.js +135 -0
  100. package/bin/cli/IndexConsoleStatus.js.map +1 -0
  101. package/bin/cli/IndexSupport.d.ts +39 -0
  102. package/bin/cli/IndexSupport.d.ts.map +1 -0
  103. package/bin/cli/IndexSupport.js +123 -0
  104. package/bin/cli/IndexSupport.js.map +1 -0
  105. package/bin/cli/Init.d.ts +24 -0
  106. package/bin/cli/Init.d.ts.map +1 -0
  107. package/bin/cli/Init.js +252 -0
  108. package/bin/cli/Init.js.map +1 -0
  109. package/bin/cli/Model.d.ts +13 -0
  110. package/bin/cli/Model.d.ts.map +1 -0
  111. package/bin/cli/Model.js +31 -0
  112. package/bin/cli/Model.js.map +1 -0
  113. package/bin/cli/ModelCommandShared.d.ts +28 -0
  114. package/bin/cli/ModelCommandShared.d.ts.map +1 -0
  115. package/bin/cli/ModelCommandShared.js +109 -0
  116. package/bin/cli/ModelCommandShared.js.map +1 -0
  117. package/bin/cli/ModelCreateCommand.d.ts +23 -0
  118. package/bin/cli/ModelCreateCommand.d.ts.map +1 -0
  119. package/bin/cli/ModelCreateCommand.js +367 -0
  120. package/bin/cli/ModelCreateCommand.js.map +1 -0
  121. package/bin/cli/ModelManageCommand.d.ts +13 -0
  122. package/bin/cli/ModelManageCommand.d.ts.map +1 -0
  123. package/bin/cli/ModelManageCommand.js +438 -0
  124. package/bin/cli/ModelManageCommand.js.map +1 -0
  125. package/bin/cli/ModelManager.d.ts +13 -0
  126. package/bin/cli/ModelManager.d.ts.map +1 -0
  127. package/bin/cli/ModelManager.js +588 -0
  128. package/bin/cli/ModelManager.js.map +1 -0
  129. package/bin/cli/ModelReadCommand.d.ts +13 -0
  130. package/bin/cli/ModelReadCommand.d.ts.map +1 -0
  131. package/bin/cli/ModelReadCommand.js +198 -0
  132. package/bin/cli/ModelReadCommand.js.map +1 -0
  133. package/bin/cli/ModelSupport.d.ts +40 -0
  134. package/bin/cli/ModelSupport.d.ts.map +1 -0
  135. package/bin/cli/ModelSupport.js +201 -0
  136. package/bin/cli/ModelSupport.js.map +1 -0
  137. package/bin/cli/Plugins.d.ts +14 -0
  138. package/bin/cli/Plugins.d.ts.map +1 -0
  139. package/bin/cli/Plugins.js +474 -0
  140. package/bin/cli/Plugins.js.map +1 -0
  141. package/bin/cli/PortHints.d.ts +35 -0
  142. package/bin/cli/PortHints.d.ts.map +1 -0
  143. package/bin/cli/PortHints.js +58 -0
  144. package/bin/cli/PortHints.js.map +1 -0
  145. package/bin/cli/PublicAccess.d.ts +24 -0
  146. package/bin/cli/PublicAccess.d.ts.map +1 -0
  147. package/bin/cli/PublicAccess.js +100 -0
  148. package/bin/cli/PublicAccess.js.map +1 -0
  149. package/bin/cli/PublicHostEnv.d.ts +14 -0
  150. package/bin/cli/PublicHostEnv.d.ts.map +1 -0
  151. package/bin/cli/PublicHostEnv.js +104 -0
  152. package/bin/cli/PublicHostEnv.js.map +1 -0
  153. package/bin/cli/Reset.d.ts +11 -0
  154. package/bin/cli/Reset.d.ts.map +1 -0
  155. package/bin/cli/Reset.js +91 -0
  156. package/bin/cli/Reset.js.map +1 -0
  157. package/bin/cli/Restart.d.ts +19 -0
  158. package/bin/cli/Restart.d.ts.map +1 -0
  159. package/bin/cli/Restart.js +60 -0
  160. package/bin/cli/Restart.js.map +1 -0
  161. package/bin/cli/Run.d.ts +24 -0
  162. package/bin/cli/Run.d.ts.map +1 -0
  163. package/bin/cli/Run.js +123 -0
  164. package/bin/cli/Run.js.map +1 -0
  165. package/bin/cli/ServiceCommandRemote.d.ts +30 -0
  166. package/bin/cli/ServiceCommandRemote.d.ts.map +1 -0
  167. package/bin/cli/ServiceCommandRemote.js +200 -0
  168. package/bin/cli/ServiceCommandRemote.js.map +1 -0
  169. package/bin/cli/ServiceCommandSupport.d.ts +82 -0
  170. package/bin/cli/ServiceCommandSupport.d.ts.map +1 -0
  171. package/bin/cli/ServiceCommandSupport.js +224 -0
  172. package/bin/cli/ServiceCommandSupport.js.map +1 -0
  173. package/bin/cli/ServiceScheduleCommand.d.ts +36 -0
  174. package/bin/cli/ServiceScheduleCommand.d.ts.map +1 -0
  175. package/bin/cli/ServiceScheduleCommand.js +271 -0
  176. package/bin/cli/ServiceScheduleCommand.js.map +1 -0
  177. package/bin/cli/Services.d.ts +14 -0
  178. package/bin/cli/Services.d.ts.map +1 -0
  179. package/bin/cli/Services.js +154 -0
  180. package/bin/cli/Services.js.map +1 -0
  181. package/bin/cli/Start.d.ts +23 -0
  182. package/bin/cli/Start.d.ts.map +1 -0
  183. package/bin/cli/Start.js +63 -0
  184. package/bin/cli/Start.js.map +1 -0
  185. package/bin/cli/Status.d.ts +16 -0
  186. package/bin/cli/Status.d.ts.map +1 -0
  187. package/bin/cli/Status.js +103 -0
  188. package/bin/cli/Status.js.map +1 -0
  189. package/bin/cli/Stop.d.ts +18 -0
  190. package/bin/cli/Stop.d.ts.map +1 -0
  191. package/bin/cli/Stop.js +44 -0
  192. package/bin/cli/Stop.js.map +1 -0
  193. package/bin/cli/Token.d.ts +14 -0
  194. package/bin/cli/Token.d.ts.map +1 -0
  195. package/bin/cli/Token.js +638 -0
  196. package/bin/cli/Token.js.map +1 -0
  197. package/bin/cli/Update.d.ts +42 -0
  198. package/bin/cli/Update.d.ts.map +1 -0
  199. package/bin/cli/Update.js +150 -0
  200. package/bin/cli/Update.js.map +1 -0
  201. package/bin/config/Config.d.ts +32 -0
  202. package/bin/config/Config.d.ts.map +1 -0
  203. package/bin/config/Config.js +217 -0
  204. package/bin/config/Config.js.map +1 -0
  205. package/bin/config/Paths.d.ts +119 -0
  206. package/bin/config/Paths.d.ts.map +1 -0
  207. package/bin/config/Paths.js +203 -0
  208. package/bin/config/Paths.js.map +1 -0
  209. package/bin/console/AgentStatusApiRoutes.d.ts +28 -0
  210. package/bin/console/AgentStatusApiRoutes.d.ts.map +1 -0
  211. package/bin/console/AgentStatusApiRoutes.js +165 -0
  212. package/bin/console/AgentStatusApiRoutes.js.map +1 -0
  213. package/bin/console/ChannelAccountApiRoutes.d.ts +15 -0
  214. package/bin/console/ChannelAccountApiRoutes.d.ts.map +1 -0
  215. package/bin/console/ChannelAccountApiRoutes.js +93 -0
  216. package/bin/console/ChannelAccountApiRoutes.js.map +1 -0
  217. package/bin/console/ChannelAccountService.d.ts +9 -0
  218. package/bin/console/ChannelAccountService.d.ts.map +1 -0
  219. package/bin/console/ChannelAccountService.js +9 -0
  220. package/bin/console/ChannelAccountService.js.map +1 -0
  221. package/bin/console/ConsoleClient.d.ts +53 -0
  222. package/bin/console/ConsoleClient.d.ts.map +1 -0
  223. package/bin/console/ConsoleClient.js +258 -0
  224. package/bin/console/ConsoleClient.js.map +1 -0
  225. package/bin/console/ConsoleGateway.d.ts +102 -0
  226. package/bin/console/ConsoleGateway.d.ts.map +1 -0
  227. package/bin/console/ConsoleGateway.js +283 -0
  228. package/bin/console/ConsoleGateway.js.map +1 -0
  229. package/bin/console/ConsoleGatewayRoutes.d.ts +133 -0
  230. package/bin/console/ConsoleGatewayRoutes.d.ts.map +1 -0
  231. package/bin/console/ConsoleGatewayRoutes.js +292 -0
  232. package/bin/console/ConsoleGatewayRoutes.js.map +1 -0
  233. package/bin/console/EnvApiRoutes.d.ts +18 -0
  234. package/bin/console/EnvApiRoutes.d.ts.map +1 -0
  235. package/bin/console/EnvApiRoutes.js +228 -0
  236. package/bin/console/EnvApiRoutes.js.map +1 -0
  237. package/bin/console/InlineInstantRoutes.d.ts +19 -0
  238. package/bin/console/InlineInstantRoutes.d.ts.map +1 -0
  239. package/bin/console/InlineInstantRoutes.js +58 -0
  240. package/bin/console/InlineInstantRoutes.js.map +1 -0
  241. package/bin/console/InlineInstantSessionService.d.ts +36 -0
  242. package/bin/console/InlineInstantSessionService.d.ts.map +1 -0
  243. package/bin/console/InlineInstantSessionService.js +190 -0
  244. package/bin/console/InlineInstantSessionService.js.map +1 -0
  245. package/bin/console/InlineInstantSystemComposer.d.ts +34 -0
  246. package/bin/console/InlineInstantSystemComposer.d.ts.map +1 -0
  247. package/bin/console/InlineInstantSystemComposer.js +40 -0
  248. package/bin/console/InlineInstantSystemComposer.js.map +1 -0
  249. package/bin/console/ModelApiRoutes.d.ts +35 -0
  250. package/bin/console/ModelApiRoutes.d.ts.map +1 -0
  251. package/bin/console/ModelApiRoutes.js +237 -0
  252. package/bin/console/ModelApiRoutes.js.map +1 -0
  253. package/bin/console/ModelPoolService.d.ts +126 -0
  254. package/bin/console/ModelPoolService.d.ts.map +1 -0
  255. package/bin/console/ModelPoolService.js +327 -0
  256. package/bin/console/ModelPoolService.js.map +1 -0
  257. package/bin/console/PluginApiRoutes.d.ts +28 -0
  258. package/bin/console/PluginApiRoutes.d.ts.map +1 -0
  259. package/bin/console/PluginApiRoutes.js +299 -0
  260. package/bin/console/PluginApiRoutes.js.map +1 -0
  261. package/bin/console/gateway/AgentActions.d.ts +107 -0
  262. package/bin/console/gateway/AgentActions.d.ts.map +1 -0
  263. package/bin/console/gateway/AgentActions.js +315 -0
  264. package/bin/console/gateway/AgentActions.js.map +1 -0
  265. package/bin/console/gateway/AgentCatalog.d.ts +83 -0
  266. package/bin/console/gateway/AgentCatalog.d.ts.map +1 -0
  267. package/bin/console/gateway/AgentCatalog.js +484 -0
  268. package/bin/console/gateway/AgentCatalog.js.map +1 -0
  269. package/bin/console/gateway/FrontendAssets.d.ts +21 -0
  270. package/bin/console/gateway/FrontendAssets.d.ts.map +1 -0
  271. package/bin/console/gateway/FrontendAssets.js +77 -0
  272. package/bin/console/gateway/FrontendAssets.js.map +1 -0
  273. package/bin/console/gateway/GatewaySupport.d.ts +34 -0
  274. package/bin/console/gateway/GatewaySupport.d.ts.map +1 -0
  275. package/bin/console/gateway/GatewaySupport.js +32 -0
  276. package/bin/console/gateway/GatewaySupport.js.map +1 -0
  277. package/bin/console/gateway/Proxy.d.ts +16 -0
  278. package/bin/console/gateway/Proxy.d.ts.map +1 -0
  279. package/bin/console/gateway/Proxy.js +47 -0
  280. package/bin/console/gateway/Proxy.js.map +1 -0
  281. package/bin/daemon/Api.d.ts +60 -0
  282. package/bin/daemon/Api.d.ts.map +1 -0
  283. package/bin/daemon/Api.js +10 -0
  284. package/bin/daemon/Api.js.map +1 -0
  285. package/bin/daemon/CliArgs.d.ts +17 -0
  286. package/bin/daemon/CliArgs.d.ts.map +1 -0
  287. package/bin/daemon/CliArgs.js +30 -0
  288. package/bin/daemon/CliArgs.js.map +1 -0
  289. package/bin/daemon/Client.d.ts +17 -0
  290. package/bin/daemon/Client.d.ts.map +1 -0
  291. package/bin/daemon/Client.js +158 -0
  292. package/bin/daemon/Client.js.map +1 -0
  293. package/bin/daemon/Manager.d.ts +92 -0
  294. package/bin/daemon/Manager.d.ts.map +1 -0
  295. package/bin/daemon/Manager.js +287 -0
  296. package/bin/daemon/Manager.js.map +1 -0
  297. package/bin/daemon/PortAllocator.d.ts +18 -0
  298. package/bin/daemon/PortAllocator.d.ts.map +1 -0
  299. package/bin/daemon/PortAllocator.js +52 -0
  300. package/bin/daemon/PortAllocator.js.map +1 -0
  301. package/bin/daemon/ProjectSetup.d.ts +22 -0
  302. package/bin/daemon/ProjectSetup.d.ts.map +1 -0
  303. package/bin/daemon/ProjectSetup.js +101 -0
  304. package/bin/daemon/ProjectSetup.js.map +1 -0
  305. package/bin/http/Server.d.ts +39 -0
  306. package/bin/http/Server.d.ts.map +1 -0
  307. package/bin/http/Server.js +122 -0
  308. package/bin/http/Server.js.map +1 -0
  309. package/bin/http/auth/AuthEnv.d.ts +45 -0
  310. package/bin/http/auth/AuthEnv.d.ts.map +1 -0
  311. package/bin/http/auth/AuthEnv.js +63 -0
  312. package/bin/http/auth/AuthEnv.js.map +1 -0
  313. package/bin/http/auth/AuthError.d.ts +22 -0
  314. package/bin/http/auth/AuthError.d.ts.map +1 -0
  315. package/bin/http/auth/AuthError.js +28 -0
  316. package/bin/http/auth/AuthError.js.map +1 -0
  317. package/bin/http/auth/AuthMiddleware.d.ts +36 -0
  318. package/bin/http/auth/AuthMiddleware.d.ts.map +1 -0
  319. package/bin/http/auth/AuthMiddleware.js +37 -0
  320. package/bin/http/auth/AuthMiddleware.js.map +1 -0
  321. package/bin/http/auth/AuthRoutes.d.ts +17 -0
  322. package/bin/http/auth/AuthRoutes.d.ts.map +1 -0
  323. package/bin/http/auth/AuthRoutes.js +78 -0
  324. package/bin/http/auth/AuthRoutes.js.map +1 -0
  325. package/bin/http/auth/AuthService.d.ts +119 -0
  326. package/bin/http/auth/AuthService.d.ts.map +1 -0
  327. package/bin/http/auth/AuthService.js +307 -0
  328. package/bin/http/auth/AuthService.js.map +1 -0
  329. package/bin/http/auth/AuthStore.d.ts +165 -0
  330. package/bin/http/auth/AuthStore.d.ts.map +1 -0
  331. package/bin/http/auth/AuthStore.js +442 -0
  332. package/bin/http/auth/AuthStore.js.map +1 -0
  333. package/bin/http/auth/CliAuthStateStore.d.ts +33 -0
  334. package/bin/http/auth/CliAuthStateStore.d.ts.map +1 -0
  335. package/bin/http/auth/CliAuthStateStore.js +30 -0
  336. package/bin/http/auth/CliAuthStateStore.js.map +1 -0
  337. package/bin/http/auth/PasswordHasher.d.ts +16 -0
  338. package/bin/http/auth/PasswordHasher.d.ts.map +1 -0
  339. package/bin/http/auth/PasswordHasher.js +37 -0
  340. package/bin/http/auth/PasswordHasher.js.map +1 -0
  341. package/bin/http/auth/RoutePolicy.d.ts +30 -0
  342. package/bin/http/auth/RoutePolicy.d.ts.map +1 -0
  343. package/bin/http/auth/RoutePolicy.js +229 -0
  344. package/bin/http/auth/RoutePolicy.js.map +1 -0
  345. package/bin/http/auth/TokenService.d.ts +20 -0
  346. package/bin/http/auth/TokenService.d.ts.map +1 -0
  347. package/bin/http/auth/TokenService.js +34 -0
  348. package/bin/http/auth/TokenService.js.map +1 -0
  349. package/bin/http/dashboard/AuthDashboardService.d.ts +30 -0
  350. package/bin/http/dashboard/AuthDashboardService.d.ts.map +1 -0
  351. package/bin/http/dashboard/AuthDashboardService.js +120 -0
  352. package/bin/http/dashboard/AuthDashboardService.js.map +1 -0
  353. package/bin/http/dashboard/CommonHelpers.d.ts +24 -0
  354. package/bin/http/dashboard/CommonHelpers.d.ts.map +1 -0
  355. package/bin/http/dashboard/CommonHelpers.js +46 -0
  356. package/bin/http/dashboard/CommonHelpers.js.map +1 -0
  357. package/bin/http/dashboard/DashboardApiRoutes.d.ts +13 -0
  358. package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +1 -0
  359. package/bin/http/dashboard/DashboardApiRoutes.js +26 -0
  360. package/bin/http/dashboard/DashboardApiRoutes.js.map +1 -0
  361. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +17 -0
  362. package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +1 -0
  363. package/bin/http/dashboard/DashboardAuthorizationRoutes.js +78 -0
  364. package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +1 -0
  365. package/bin/http/dashboard/ExecuteBySession.d.ts +39 -0
  366. package/bin/http/dashboard/ExecuteBySession.d.ts.map +1 -0
  367. package/bin/http/dashboard/ExecuteBySession.js +129 -0
  368. package/bin/http/dashboard/ExecuteBySession.js.map +1 -0
  369. package/bin/http/dashboard/ExecuteInput.d.ts +18 -0
  370. package/bin/http/dashboard/ExecuteInput.d.ts.map +1 -0
  371. package/bin/http/dashboard/ExecuteInput.js +201 -0
  372. package/bin/http/dashboard/ExecuteInput.js.map +1 -0
  373. package/bin/http/dashboard/Helpers.d.ts +13 -0
  374. package/bin/http/dashboard/Helpers.d.ts.map +1 -0
  375. package/bin/http/dashboard/Helpers.js +13 -0
  376. package/bin/http/dashboard/Helpers.js.map +1 -0
  377. package/bin/http/dashboard/MessageTimeline.d.ts +22 -0
  378. package/bin/http/dashboard/MessageTimeline.d.ts.map +1 -0
  379. package/bin/http/dashboard/MessageTimeline.js +226 -0
  380. package/bin/http/dashboard/MessageTimeline.js.map +1 -0
  381. package/bin/http/dashboard/ModelRoutes.d.ts +13 -0
  382. package/bin/http/dashboard/ModelRoutes.d.ts.map +1 -0
  383. package/bin/http/dashboard/ModelRoutes.js +87 -0
  384. package/bin/http/dashboard/ModelRoutes.js.map +1 -0
  385. package/bin/http/dashboard/OverviewRoutes.d.ts +13 -0
  386. package/bin/http/dashboard/OverviewRoutes.d.ts.map +1 -0
  387. package/bin/http/dashboard/OverviewRoutes.js +88 -0
  388. package/bin/http/dashboard/OverviewRoutes.js.map +1 -0
  389. package/bin/http/dashboard/Router.d.ts +14 -0
  390. package/bin/http/dashboard/Router.d.ts.map +1 -0
  391. package/bin/http/dashboard/Router.js +21 -0
  392. package/bin/http/dashboard/Router.js.map +1 -0
  393. package/bin/http/dashboard/SessionRoutes.d.ts +13 -0
  394. package/bin/http/dashboard/SessionRoutes.d.ts.map +1 -0
  395. package/bin/http/dashboard/SessionRoutes.js +323 -0
  396. package/bin/http/dashboard/SessionRoutes.js.map +1 -0
  397. package/bin/http/dashboard/SessionSummaryStore.d.ts +19 -0
  398. package/bin/http/dashboard/SessionSummaryStore.d.ts.map +1 -0
  399. package/bin/http/dashboard/SessionSummaryStore.js +62 -0
  400. package/bin/http/dashboard/SessionSummaryStore.js.map +1 -0
  401. package/bin/http/dashboard/TaskRoutes.d.ts +13 -0
  402. package/bin/http/dashboard/TaskRoutes.d.ts.map +1 -0
  403. package/bin/http/dashboard/TaskRoutes.js +318 -0
  404. package/bin/http/dashboard/TaskRoutes.js.map +1 -0
  405. package/bin/http/dashboard/TaskStore.d.ts +33 -0
  406. package/bin/http/dashboard/TaskStore.d.ts.map +1 -0
  407. package/bin/http/dashboard/TaskStore.js +157 -0
  408. package/bin/http/dashboard/TaskStore.js.map +1 -0
  409. package/bin/http/execute/execute.d.ts +14 -0
  410. package/bin/http/execute/execute.d.ts.map +1 -0
  411. package/bin/http/execute/execute.js +90 -0
  412. package/bin/http/execute/execute.js.map +1 -0
  413. package/bin/http/health/health.d.ts +14 -0
  414. package/bin/http/health/health.d.ts.map +1 -0
  415. package/bin/http/health/health.js +24 -0
  416. package/bin/http/health/health.js.map +1 -0
  417. package/bin/http/plugins/plugins.d.ts +14 -0
  418. package/bin/http/plugins/plugins.d.ts.map +1 -0
  419. package/bin/http/plugins/plugins.js +55 -0
  420. package/bin/http/plugins/plugins.js.map +1 -0
  421. package/bin/http/services/services.d.ts +21 -0
  422. package/bin/http/services/services.d.ts.map +1 -0
  423. package/bin/http/services/services.js +79 -0
  424. package/bin/http/services/services.js.map +1 -0
  425. package/bin/http/static/static.d.ts +14 -0
  426. package/bin/http/static/static.d.ts.map +1 -0
  427. package/bin/http/static/static.js +97 -0
  428. package/bin/http/static/static.js.map +1 -0
  429. package/bin/model/CreateModel.d.ts +30 -0
  430. package/bin/model/CreateModel.d.ts.map +1 -0
  431. package/bin/model/CreateModel.js +305 -0
  432. package/bin/model/CreateModel.js.map +1 -0
  433. package/bin/model/ModelCommand.d.ts +60 -0
  434. package/bin/model/ModelCommand.d.ts.map +1 -0
  435. package/bin/model/ModelCommand.js +46 -0
  436. package/bin/model/ModelCommand.js.map +1 -0
  437. package/bin/model/ModelManager.d.ts +71 -0
  438. package/bin/model/ModelManager.d.ts.map +1 -0
  439. package/bin/model/ModelManager.js +187 -0
  440. package/bin/model/ModelManager.js.map +1 -0
  441. package/bin/plugin/Activation.d.ts +15 -0
  442. package/bin/plugin/Activation.d.ts.map +1 -0
  443. package/bin/plugin/Activation.js +20 -0
  444. package/bin/plugin/Activation.js.map +1 -0
  445. package/bin/plugin/Catalog.d.ts +42 -0
  446. package/bin/plugin/Catalog.d.ts.map +1 -0
  447. package/bin/plugin/Catalog.js +92 -0
  448. package/bin/plugin/Catalog.js.map +1 -0
  449. package/bin/plugin/HookRegistry.d.ts +68 -0
  450. package/bin/plugin/HookRegistry.d.ts.map +1 -0
  451. package/bin/plugin/HookRegistry.js +186 -0
  452. package/bin/plugin/HookRegistry.js.map +1 -0
  453. package/bin/plugin/HttpRoutes.d.ts +22 -0
  454. package/bin/plugin/HttpRoutes.d.ts.map +1 -0
  455. package/bin/plugin/HttpRoutes.js +37 -0
  456. package/bin/plugin/HttpRoutes.js.map +1 -0
  457. package/bin/plugin/Lifecycle.d.ts +33 -0
  458. package/bin/plugin/Lifecycle.d.ts.map +1 -0
  459. package/bin/plugin/Lifecycle.js +102 -0
  460. package/bin/plugin/Lifecycle.js.map +1 -0
  461. package/bin/plugin/LocalExecution.d.ts +32 -0
  462. package/bin/plugin/LocalExecution.d.ts.map +1 -0
  463. package/bin/plugin/LocalExecution.js +127 -0
  464. package/bin/plugin/LocalExecution.js.map +1 -0
  465. package/bin/plugin/PluginCommand.d.ts +13 -0
  466. package/bin/plugin/PluginCommand.d.ts.map +1 -0
  467. package/bin/plugin/PluginCommand.js +189 -0
  468. package/bin/plugin/PluginCommand.js.map +1 -0
  469. package/bin/plugin/PluginManager.d.ts +24 -0
  470. package/bin/plugin/PluginManager.d.ts.map +1 -0
  471. package/bin/plugin/PluginManager.js +62 -0
  472. package/bin/plugin/PluginManager.js.map +1 -0
  473. package/bin/plugin/PluginRegistry.d.ts +66 -0
  474. package/bin/plugin/PluginRegistry.d.ts.map +1 -0
  475. package/bin/plugin/PluginRegistry.js +184 -0
  476. package/bin/plugin/PluginRegistry.js.map +1 -0
  477. package/bin/plugin/Plugins.d.ts +20 -0
  478. package/bin/plugin/Plugins.d.ts.map +1 -0
  479. package/bin/plugin/Plugins.js +33 -0
  480. package/bin/plugin/Plugins.js.map +1 -0
  481. package/bin/plugin/ProjectConfigStore.d.ts +30 -0
  482. package/bin/plugin/ProjectConfigStore.d.ts.map +1 -0
  483. package/bin/plugin/ProjectConfigStore.js +38 -0
  484. package/bin/plugin/ProjectConfigStore.js.map +1 -0
  485. package/bin/plugins/asr/Dependency.d.ts +77 -0
  486. package/bin/plugins/asr/Dependency.d.ts.map +1 -0
  487. package/bin/plugins/asr/Dependency.js +238 -0
  488. package/bin/plugins/asr/Dependency.js.map +1 -0
  489. package/bin/plugins/asr/ModelCatalog.d.ts +29 -0
  490. package/bin/plugins/asr/ModelCatalog.d.ts.map +1 -0
  491. package/bin/plugins/asr/ModelCatalog.js +25 -0
  492. package/bin/plugins/asr/ModelCatalog.js.map +1 -0
  493. package/bin/plugins/asr/Plugin.d.ts +14 -0
  494. package/bin/plugins/asr/Plugin.d.ts.map +1 -0
  495. package/bin/plugins/asr/Plugin.js +586 -0
  496. package/bin/plugins/asr/Plugin.js.map +1 -0
  497. package/bin/plugins/auth/Plugin.d.ts +14 -0
  498. package/bin/plugins/auth/Plugin.d.ts.map +1 -0
  499. package/bin/plugins/auth/Plugin.js +180 -0
  500. package/bin/plugins/auth/Plugin.js.map +1 -0
  501. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +42 -0
  502. package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +1 -0
  503. package/bin/plugins/auth/runtime/AuthorizationConfig.js +264 -0
  504. package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +1 -0
  505. package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +31 -0
  506. package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +1 -0
  507. package/bin/plugins/auth/runtime/AuthorizationPolicy.js +122 -0
  508. package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +1 -0
  509. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +29 -0
  510. package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +1 -0
  511. package/bin/plugins/auth/runtime/AuthorizationStore.js +179 -0
  512. package/bin/plugins/auth/runtime/AuthorizationStore.js.map +1 -0
  513. package/bin/plugins/skill/Action.d.ts +34 -0
  514. package/bin/plugins/skill/Action.d.ts.map +1 -0
  515. package/bin/plugins/skill/Action.js +122 -0
  516. package/bin/plugins/skill/Action.js.map +1 -0
  517. package/bin/plugins/skill/Command.d.ts +37 -0
  518. package/bin/plugins/skill/Command.d.ts.map +1 -0
  519. package/bin/plugins/skill/Command.js +70 -0
  520. package/bin/plugins/skill/Command.js.map +1 -0
  521. package/bin/plugins/skill/Config.d.ts +18 -0
  522. package/bin/plugins/skill/Config.d.ts.map +1 -0
  523. package/bin/plugins/skill/Config.js +37 -0
  524. package/bin/plugins/skill/Config.js.map +1 -0
  525. package/bin/plugins/skill/PROMPT.txt +10 -0
  526. package/bin/plugins/skill/Plugin.d.ts +14 -0
  527. package/bin/plugins/skill/Plugin.d.ts.map +1 -0
  528. package/bin/plugins/skill/Plugin.js +315 -0
  529. package/bin/plugins/skill/Plugin.js.map +1 -0
  530. package/bin/plugins/skill/runtime/Discovery.d.ts +25 -0
  531. package/bin/plugins/skill/runtime/Discovery.d.ts.map +1 -0
  532. package/bin/plugins/skill/runtime/Discovery.js +130 -0
  533. package/bin/plugins/skill/runtime/Discovery.js.map +1 -0
  534. package/bin/plugins/skill/runtime/Frontmatter.d.ts +6 -0
  535. package/bin/plugins/skill/runtime/Frontmatter.d.ts.map +1 -0
  536. package/bin/plugins/skill/runtime/Frontmatter.js +12 -0
  537. package/bin/plugins/skill/runtime/Frontmatter.js.map +1 -0
  538. package/bin/plugins/skill/runtime/Paths.d.ts +16 -0
  539. package/bin/plugins/skill/runtime/Paths.d.ts.map +1 -0
  540. package/bin/plugins/skill/runtime/Paths.js +111 -0
  541. package/bin/plugins/skill/runtime/Paths.js.map +1 -0
  542. package/bin/plugins/skill/runtime/Prompt.d.ts +19 -0
  543. package/bin/plugins/skill/runtime/Prompt.d.ts.map +1 -0
  544. package/bin/plugins/skill/runtime/Prompt.js +54 -0
  545. package/bin/plugins/skill/runtime/Prompt.js.map +1 -0
  546. package/bin/plugins/skill/runtime/Store.d.ts +25 -0
  547. package/bin/plugins/skill/runtime/Store.d.ts.map +1 -0
  548. package/bin/plugins/skill/runtime/Store.js +81 -0
  549. package/bin/plugins/skill/runtime/Store.js.map +1 -0
  550. package/bin/plugins/skill/runtime/SystemProvider.d.ts +24 -0
  551. package/bin/plugins/skill/runtime/SystemProvider.d.ts.map +1 -0
  552. package/bin/plugins/skill/runtime/SystemProvider.js +33 -0
  553. package/bin/plugins/skill/runtime/SystemProvider.js.map +1 -0
  554. package/bin/plugins/skill/runtime/Types.d.ts +21 -0
  555. package/bin/plugins/skill/runtime/Types.d.ts.map +1 -0
  556. package/bin/plugins/skill/runtime/Types.js +2 -0
  557. package/bin/plugins/skill/runtime/Types.js.map +1 -0
  558. package/bin/plugins/skill/runtime/Utils.d.ts +4 -0
  559. package/bin/plugins/skill/runtime/Utils.d.ts.map +1 -0
  560. package/bin/plugins/skill/runtime/Utils.js +29 -0
  561. package/bin/plugins/skill/runtime/Utils.js.map +1 -0
  562. package/bin/plugins/tts/Dependency.d.ts +90 -0
  563. package/bin/plugins/tts/Dependency.d.ts.map +1 -0
  564. package/bin/plugins/tts/Dependency.js +344 -0
  565. package/bin/plugins/tts/Dependency.js.map +1 -0
  566. package/bin/plugins/tts/Plugin.d.ts +13 -0
  567. package/bin/plugins/tts/Plugin.d.ts.map +1 -0
  568. package/bin/plugins/tts/Plugin.js +524 -0
  569. package/bin/plugins/tts/Plugin.js.map +1 -0
  570. package/bin/plugins/tts/runtime/Catalog.d.ts +21 -0
  571. package/bin/plugins/tts/runtime/Catalog.d.ts.map +1 -0
  572. package/bin/plugins/tts/runtime/Catalog.js +90 -0
  573. package/bin/plugins/tts/runtime/Catalog.js.map +1 -0
  574. package/bin/plugins/tts/runtime/DependencyInstaller.d.ts +143 -0
  575. package/bin/plugins/tts/runtime/DependencyInstaller.d.ts.map +1 -0
  576. package/bin/plugins/tts/runtime/DependencyInstaller.js +261 -0
  577. package/bin/plugins/tts/runtime/DependencyInstaller.js.map +1 -0
  578. package/bin/plugins/tts/runtime/Installer.d.ts +89 -0
  579. package/bin/plugins/tts/runtime/Installer.d.ts.map +1 -0
  580. package/bin/plugins/tts/runtime/Installer.js +188 -0
  581. package/bin/plugins/tts/runtime/Installer.js.map +1 -0
  582. package/bin/plugins/tts/runtime/Paths.d.ts +20 -0
  583. package/bin/plugins/tts/runtime/Paths.d.ts.map +1 -0
  584. package/bin/plugins/tts/runtime/Paths.js +32 -0
  585. package/bin/plugins/tts/runtime/Paths.js.map +1 -0
  586. package/bin/plugins/tts/runtime/Synthesizer.d.ts +44 -0
  587. package/bin/plugins/tts/runtime/Synthesizer.d.ts.map +1 -0
  588. package/bin/plugins/tts/runtime/Synthesizer.js +363 -0
  589. package/bin/plugins/tts/runtime/Synthesizer.js.map +1 -0
  590. package/bin/plugins/voice/Dependency.d.ts +77 -0
  591. package/bin/plugins/voice/Dependency.d.ts.map +1 -0
  592. package/bin/plugins/voice/Dependency.js +237 -0
  593. package/bin/plugins/voice/Dependency.js.map +1 -0
  594. package/bin/plugins/voice/ModelCatalog.d.ts +29 -0
  595. package/bin/plugins/voice/ModelCatalog.d.ts.map +1 -0
  596. package/bin/plugins/voice/ModelCatalog.js +25 -0
  597. package/bin/plugins/voice/ModelCatalog.js.map +1 -0
  598. package/bin/plugins/voice/Plugin.d.ts +14 -0
  599. package/bin/plugins/voice/Plugin.d.ts.map +1 -0
  600. package/bin/plugins/voice/Plugin.js +546 -0
  601. package/bin/plugins/voice/Plugin.js.map +1 -0
  602. package/bin/plugins/voice/runtime/Catalog.d.ts +18 -0
  603. package/bin/plugins/voice/runtime/Catalog.d.ts.map +1 -0
  604. package/bin/plugins/voice/runtime/Catalog.js +61 -0
  605. package/bin/plugins/voice/runtime/Catalog.js.map +1 -0
  606. package/bin/plugins/voice/runtime/DependencyInstaller.d.ts +145 -0
  607. package/bin/plugins/voice/runtime/DependencyInstaller.d.ts.map +1 -0
  608. package/bin/plugins/voice/runtime/DependencyInstaller.js +309 -0
  609. package/bin/plugins/voice/runtime/DependencyInstaller.js.map +1 -0
  610. package/bin/plugins/voice/runtime/Installer.d.ts +94 -0
  611. package/bin/plugins/voice/runtime/Installer.d.ts.map +1 -0
  612. package/bin/plugins/voice/runtime/Installer.js +200 -0
  613. package/bin/plugins/voice/runtime/Installer.js.map +1 -0
  614. package/bin/plugins/voice/runtime/Paths.d.ts +8 -0
  615. package/bin/plugins/voice/runtime/Paths.d.ts.map +1 -0
  616. package/bin/plugins/voice/runtime/Paths.js +26 -0
  617. package/bin/plugins/voice/runtime/Paths.js.map +1 -0
  618. package/bin/plugins/voice/runtime/Transcriber.d.ts +57 -0
  619. package/bin/plugins/voice/runtime/Transcriber.d.ts.map +1 -0
  620. package/bin/plugins/voice/runtime/Transcriber.js +329 -0
  621. package/bin/plugins/voice/runtime/Transcriber.js.map +1 -0
  622. package/bin/plugins/web/Dependency.d.ts +10 -0
  623. package/bin/plugins/web/Dependency.d.ts.map +1 -0
  624. package/bin/plugins/web/Dependency.js +10 -0
  625. package/bin/plugins/web/Dependency.js.map +1 -0
  626. package/bin/plugins/web/PROMPT.agent-browser.txt +17 -0
  627. package/bin/plugins/web/PROMPT.txt +33 -0
  628. package/bin/plugins/web/PROMPT.web-access.txt +13 -0
  629. package/bin/plugins/web/Plugin.d.ts +13 -0
  630. package/bin/plugins/web/Plugin.d.ts.map +1 -0
  631. package/bin/plugins/web/Plugin.js +482 -0
  632. package/bin/plugins/web/Plugin.js.map +1 -0
  633. package/bin/plugins/web/runtime/Config.d.ts +21 -0
  634. package/bin/plugins/web/runtime/Config.d.ts.map +1 -0
  635. package/bin/plugins/web/runtime/Config.js +79 -0
  636. package/bin/plugins/web/runtime/Config.js.map +1 -0
  637. package/bin/plugins/web/runtime/Source.d.ts +29 -0
  638. package/bin/plugins/web/runtime/Source.d.ts.map +1 -0
  639. package/bin/plugins/web/runtime/Source.js +215 -0
  640. package/bin/plugins/web/runtime/Source.js.map +1 -0
  641. package/bin/plugins/workboard/Plugin.d.ts +13 -0
  642. package/bin/plugins/workboard/Plugin.d.ts.map +1 -0
  643. package/bin/plugins/workboard/Plugin.js +71 -0
  644. package/bin/plugins/workboard/Plugin.js.map +1 -0
  645. package/bin/plugins/workboard/runtime/Collector.d.ts +14 -0
  646. package/bin/plugins/workboard/runtime/Collector.d.ts.map +1 -0
  647. package/bin/plugins/workboard/runtime/Collector.js +62 -0
  648. package/bin/plugins/workboard/runtime/Collector.js.map +1 -0
  649. package/bin/plugins/workboard/runtime/Normalizer.d.ts +61 -0
  650. package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +1 -0
  651. package/bin/plugins/workboard/runtime/Normalizer.js +172 -0
  652. package/bin/plugins/workboard/runtime/Normalizer.js.map +1 -0
  653. package/bin/plugins/workboard/runtime/Store.d.ts +48 -0
  654. package/bin/plugins/workboard/runtime/Store.d.ts.map +1 -0
  655. package/bin/plugins/workboard/runtime/Store.js +84 -0
  656. package/bin/plugins/workboard/runtime/Store.js.map +1 -0
  657. package/bin/plugins/workboard/types/Workboard.d.ts +150 -0
  658. package/bin/plugins/workboard/types/Workboard.d.ts.map +1 -0
  659. package/bin/plugins/workboard/types/Workboard.js +9 -0
  660. package/bin/plugins/workboard/types/Workboard.js.map +1 -0
  661. package/bin/registry/AgentHostRuntime.d.ts +10 -0
  662. package/bin/registry/AgentHostRuntime.d.ts.map +1 -0
  663. package/bin/registry/AgentHostRuntime.js +47 -0
  664. package/bin/registry/AgentHostRuntime.js.map +1 -0
  665. package/bin/registry/CityPaths.d.ts +61 -0
  666. package/bin/registry/CityPaths.d.ts.map +1 -0
  667. package/bin/registry/CityPaths.js +90 -0
  668. package/bin/registry/CityPaths.js.map +1 -0
  669. package/bin/registry/CityRegistry.d.ts +51 -0
  670. package/bin/registry/CityRegistry.d.ts.map +1 -0
  671. package/bin/registry/CityRegistry.js +217 -0
  672. package/bin/registry/CityRegistry.js.map +1 -0
  673. package/bin/registry/CityRuntime.d.ts +21 -0
  674. package/bin/registry/CityRuntime.d.ts.map +1 -0
  675. package/bin/registry/CityRuntime.js +45 -0
  676. package/bin/registry/CityRuntime.js.map +1 -0
  677. package/bin/registry/PluginRuntime.d.ts +24 -0
  678. package/bin/registry/PluginRuntime.d.ts.map +1 -0
  679. package/bin/registry/PluginRuntime.js +31 -0
  680. package/bin/registry/PluginRuntime.js.map +1 -0
  681. package/bin/registry/ProcessSweep.d.ts +76 -0
  682. package/bin/registry/ProcessSweep.d.ts.map +1 -0
  683. package/bin/registry/ProcessSweep.js +202 -0
  684. package/bin/registry/ProcessSweep.js.map +1 -0
  685. package/bin/rpc/Client.d.ts +13 -0
  686. package/bin/rpc/Client.d.ts.map +1 -0
  687. package/bin/rpc/Client.js +98 -0
  688. package/bin/rpc/Client.js.map +1 -0
  689. package/bin/rpc/Paths.d.ts +14 -0
  690. package/bin/rpc/Paths.d.ts.map +1 -0
  691. package/bin/rpc/Paths.js +36 -0
  692. package/bin/rpc/Paths.js.map +1 -0
  693. package/bin/rpc/Server.d.ts +18 -0
  694. package/bin/rpc/Server.d.ts.map +1 -0
  695. package/bin/rpc/Server.js +307 -0
  696. package/bin/rpc/Server.js.map +1 -0
  697. package/bin/rpc/Transport.d.ts +21 -0
  698. package/bin/rpc/Transport.d.ts.map +1 -0
  699. package/bin/rpc/Transport.js +30 -0
  700. package/bin/rpc/Transport.js.map +1 -0
  701. package/bin/runtime/AgentHostRuntime.d.ts +10 -0
  702. package/bin/runtime/AgentHostRuntime.d.ts.map +1 -0
  703. package/bin/runtime/AgentHostRuntime.js +47 -0
  704. package/bin/runtime/AgentHostRuntime.js.map +1 -0
  705. package/bin/runtime/CityPaths.d.ts +61 -0
  706. package/bin/runtime/CityPaths.d.ts.map +1 -0
  707. package/bin/runtime/CityPaths.js +90 -0
  708. package/bin/runtime/CityPaths.js.map +1 -0
  709. package/bin/runtime/CityRegistry.d.ts +51 -0
  710. package/bin/runtime/CityRegistry.d.ts.map +1 -0
  711. package/bin/runtime/CityRegistry.js +217 -0
  712. package/bin/runtime/CityRegistry.js.map +1 -0
  713. package/bin/runtime/CityRuntime.d.ts +21 -0
  714. package/bin/runtime/CityRuntime.d.ts.map +1 -0
  715. package/bin/runtime/CityRuntime.js +45 -0
  716. package/bin/runtime/CityRuntime.js.map +1 -0
  717. package/bin/runtime/PluginRuntime.d.ts +24 -0
  718. package/bin/runtime/PluginRuntime.d.ts.map +1 -0
  719. package/bin/runtime/PluginRuntime.js +31 -0
  720. package/bin/runtime/PluginRuntime.js.map +1 -0
  721. package/bin/runtime/ProcessSweep.d.ts +76 -0
  722. package/bin/runtime/ProcessSweep.d.ts.map +1 -0
  723. package/bin/runtime/ProcessSweep.js +202 -0
  724. package/bin/runtime/ProcessSweep.js.map +1 -0
  725. package/bin/sandbox/MacOsSeatbeltSandbox.d.ts +16 -0
  726. package/bin/sandbox/MacOsSeatbeltSandbox.d.ts.map +1 -0
  727. package/bin/sandbox/MacOsSeatbeltSandbox.js +152 -0
  728. package/bin/sandbox/MacOsSeatbeltSandbox.js.map +1 -0
  729. package/bin/sandbox/SandboxConfigResolver.d.ts +31 -0
  730. package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -0
  731. package/bin/sandbox/SandboxConfigResolver.js +113 -0
  732. package/bin/sandbox/SandboxConfigResolver.js.map +1 -0
  733. package/bin/sandbox/SandboxRunner.d.ts +46 -0
  734. package/bin/sandbox/SandboxRunner.d.ts.map +1 -0
  735. package/bin/sandbox/SandboxRunner.js +70 -0
  736. package/bin/sandbox/SandboxRunner.js.map +1 -0
  737. package/bin/service/Manager.d.ts +13 -0
  738. package/bin/service/Manager.d.ts.map +1 -0
  739. package/bin/service/Manager.js +12 -0
  740. package/bin/service/Manager.js.map +1 -0
  741. package/bin/service/ServiceActionApi.d.ts +15 -0
  742. package/bin/service/ServiceActionApi.d.ts.map +1 -0
  743. package/bin/service/ServiceActionApi.js +234 -0
  744. package/bin/service/ServiceActionApi.js.map +1 -0
  745. package/bin/service/ServiceActionRunner.d.ts +44 -0
  746. package/bin/service/ServiceActionRunner.d.ts.map +1 -0
  747. package/bin/service/ServiceActionRunner.js +211 -0
  748. package/bin/service/ServiceActionRunner.js.map +1 -0
  749. package/bin/service/ServiceClassRegistry.d.ts +40 -0
  750. package/bin/service/ServiceClassRegistry.d.ts.map +1 -0
  751. package/bin/service/ServiceClassRegistry.js +64 -0
  752. package/bin/service/ServiceClassRegistry.js.map +1 -0
  753. package/bin/service/ServiceCommand.d.ts +13 -0
  754. package/bin/service/ServiceCommand.d.ts.map +1 -0
  755. package/bin/service/ServiceCommand.js +344 -0
  756. package/bin/service/ServiceCommand.js.map +1 -0
  757. package/bin/service/ServiceManager.d.ts +9 -0
  758. package/bin/service/ServiceManager.d.ts.map +1 -0
  759. package/bin/service/ServiceManager.js +9 -0
  760. package/bin/service/ServiceManager.js.map +1 -0
  761. package/bin/service/ServiceStateController.d.ts +79 -0
  762. package/bin/service/ServiceStateController.d.ts.map +1 -0
  763. package/bin/service/ServiceStateController.js +245 -0
  764. package/bin/service/ServiceStateController.js.map +1 -0
  765. package/bin/service/ServiceSystemProviders.d.ts +27 -0
  766. package/bin/service/ServiceSystemProviders.d.ts.map +1 -0
  767. package/bin/service/ServiceSystemProviders.js +34 -0
  768. package/bin/service/ServiceSystemProviders.js.map +1 -0
  769. package/bin/service/Services.d.ts +18 -0
  770. package/bin/service/Services.d.ts.map +1 -0
  771. package/bin/service/Services.js +23 -0
  772. package/bin/service/Services.js.map +1 -0
  773. package/bin/service/schedule/Executor.d.ts +17 -0
  774. package/bin/service/schedule/Executor.d.ts.map +1 -0
  775. package/bin/service/schedule/Executor.js +48 -0
  776. package/bin/service/schedule/Executor.js.map +1 -0
  777. package/bin/service/schedule/Runtime.d.ts +17 -0
  778. package/bin/service/schedule/Runtime.d.ts.map +1 -0
  779. package/bin/service/schedule/Runtime.js +64 -0
  780. package/bin/service/schedule/Runtime.js.map +1 -0
  781. package/bin/service/schedule/Schema.d.ts +171 -0
  782. package/bin/service/schedule/Schema.d.ts.map +1 -0
  783. package/bin/service/schedule/Schema.js +26 -0
  784. package/bin/service/schedule/Schema.js.map +1 -0
  785. package/bin/service/schedule/Store.d.ts +94 -0
  786. package/bin/service/schedule/Store.d.ts.map +1 -0
  787. package/bin/service/schedule/Store.js +266 -0
  788. package/bin/service/schedule/Store.js.map +1 -0
  789. package/bin/service/schedule/Time.d.ts +31 -0
  790. package/bin/service/schedule/Time.d.ts.map +1 -0
  791. package/bin/service/schedule/Time.js +107 -0
  792. package/bin/service/schedule/Time.js.map +1 -0
  793. package/bin/services/BaseService.d.ts +62 -0
  794. package/bin/services/BaseService.d.ts.map +1 -0
  795. package/bin/services/BaseService.js +56 -0
  796. package/bin/services/BaseService.js.map +1 -0
  797. package/bin/services/chat/Action.d.ts +125 -0
  798. package/bin/services/chat/Action.d.ts.map +1 -0
  799. package/bin/services/chat/Action.js +376 -0
  800. package/bin/services/chat/Action.js.map +1 -0
  801. package/bin/services/chat/ChatService.d.ts +63 -0
  802. package/bin/services/chat/ChatService.d.ts.map +1 -0
  803. package/bin/services/chat/ChatService.js +96 -0
  804. package/bin/services/chat/ChatService.js.map +1 -0
  805. package/bin/services/chat/Index.d.ts +9 -0
  806. package/bin/services/chat/Index.d.ts.map +1 -0
  807. package/bin/services/chat/Index.js +9 -0
  808. package/bin/services/chat/Index.js.map +1 -0
  809. package/bin/services/chat/PROMPT.direct.txt +55 -0
  810. package/bin/services/chat/accounts/ChannelAccountService.d.ts +60 -0
  811. package/bin/services/chat/accounts/ChannelAccountService.d.ts.map +1 -0
  812. package/bin/services/chat/accounts/ChannelAccountService.js +285 -0
  813. package/bin/services/chat/accounts/ChannelAccountService.js.map +1 -0
  814. package/bin/services/chat/channels/BaseChatChannel.d.ts +201 -0
  815. package/bin/services/chat/channels/BaseChatChannel.d.ts.map +1 -0
  816. package/bin/services/chat/channels/BaseChatChannel.js +294 -0
  817. package/bin/services/chat/channels/BaseChatChannel.js.map +1 -0
  818. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +73 -0
  819. package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
  820. package/bin/services/chat/channels/BaseChatChannelQueue.js +238 -0
  821. package/bin/services/chat/channels/BaseChatChannelQueue.js.map +1 -0
  822. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +189 -0
  823. package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
  824. package/bin/services/chat/channels/BaseChatChannelSupport.js +141 -0
  825. package/bin/services/chat/channels/BaseChatChannelSupport.js.map +1 -0
  826. package/bin/services/chat/channels/BotInfoProvider.d.ts +18 -0
  827. package/bin/services/chat/channels/BotInfoProvider.d.ts.map +1 -0
  828. package/bin/services/chat/channels/BotInfoProvider.js +32 -0
  829. package/bin/services/chat/channels/BotInfoProvider.js.map +1 -0
  830. package/bin/services/chat/channels/Configuration.d.ts +27 -0
  831. package/bin/services/chat/channels/Configuration.d.ts.map +1 -0
  832. package/bin/services/chat/channels/Configuration.js +19 -0
  833. package/bin/services/chat/channels/Configuration.js.map +1 -0
  834. package/bin/services/chat/channels/ConfigurationRegistry.d.ts +18 -0
  835. package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
  836. package/bin/services/chat/channels/ConfigurationRegistry.js +31 -0
  837. package/bin/services/chat/channels/ConfigurationRegistry.js.map +1 -0
  838. package/bin/services/chat/channels/feishu/BotInfo.d.ts +20 -0
  839. package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +1 -0
  840. package/bin/services/chat/channels/feishu/BotInfo.js +147 -0
  841. package/bin/services/chat/channels/feishu/BotInfo.js.map +1 -0
  842. package/bin/services/chat/channels/feishu/Configuration.d.ts +17 -0
  843. package/bin/services/chat/channels/feishu/Configuration.d.ts.map +1 -0
  844. package/bin/services/chat/channels/feishu/Configuration.js +59 -0
  845. package/bin/services/chat/channels/feishu/Configuration.js.map +1 -0
  846. package/bin/services/chat/channels/feishu/Feishu.d.ts +116 -0
  847. package/bin/services/chat/channels/feishu/Feishu.d.ts.map +1 -0
  848. package/bin/services/chat/channels/feishu/Feishu.js +458 -0
  849. package/bin/services/chat/channels/feishu/Feishu.js.map +1 -0
  850. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +21 -0
  851. package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
  852. package/bin/services/chat/channels/feishu/FeishuInbound.js +43 -0
  853. package/bin/services/chat/channels/feishu/FeishuInbound.js.map +1 -0
  854. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
  855. package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
  856. package/bin/services/chat/channels/feishu/FeishuPlatformClient.js +316 -0
  857. package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
  858. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
  859. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
  860. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js +299 -0
  861. package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
  862. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
  863. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
  864. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js +139 -0
  865. package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
  866. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +31 -0
  867. package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
  868. package/bin/services/chat/channels/feishu/InboundAttachment.js +222 -0
  869. package/bin/services/chat/channels/feishu/InboundAttachment.js.map +1 -0
  870. package/bin/services/chat/channels/feishu/PROMPT.direct.txt +5 -0
  871. package/bin/services/chat/channels/feishu/PostMessage.d.ts +48 -0
  872. package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +1 -0
  873. package/bin/services/chat/channels/feishu/PostMessage.js +413 -0
  874. package/bin/services/chat/channels/feishu/PostMessage.js.map +1 -0
  875. package/bin/services/chat/channels/feishu/ReplyContext.d.ts +18 -0
  876. package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
  877. package/bin/services/chat/channels/feishu/ReplyContext.js +56 -0
  878. package/bin/services/chat/channels/feishu/ReplyContext.js.map +1 -0
  879. package/bin/services/chat/channels/feishu/Shared.d.ts +21 -0
  880. package/bin/services/chat/channels/feishu/Shared.d.ts.map +1 -0
  881. package/bin/services/chat/channels/feishu/Shared.js +69 -0
  882. package/bin/services/chat/channels/feishu/Shared.js.map +1 -0
  883. package/bin/services/chat/channels/qq/BotInfo.d.ts +19 -0
  884. package/bin/services/chat/channels/qq/BotInfo.d.ts.map +1 -0
  885. package/bin/services/chat/channels/qq/BotInfo.js +112 -0
  886. package/bin/services/chat/channels/qq/BotInfo.js.map +1 -0
  887. package/bin/services/chat/channels/qq/Configuration.d.ts +17 -0
  888. package/bin/services/chat/channels/qq/Configuration.d.ts.map +1 -0
  889. package/bin/services/chat/channels/qq/Configuration.js +59 -0
  890. package/bin/services/chat/channels/qq/Configuration.js.map +1 -0
  891. package/bin/services/chat/channels/qq/PROMPT.direct.txt +11 -0
  892. package/bin/services/chat/channels/qq/QQ.d.ts +92 -0
  893. package/bin/services/chat/channels/qq/QQ.d.ts.map +1 -0
  894. package/bin/services/chat/channels/qq/QQ.js +485 -0
  895. package/bin/services/chat/channels/qq/QQ.js.map +1 -0
  896. package/bin/services/chat/channels/qq/QQEventCapture.d.ts +22 -0
  897. package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
  898. package/bin/services/chat/channels/qq/QQEventCapture.js +67 -0
  899. package/bin/services/chat/channels/qq/QQEventCapture.js.map +1 -0
  900. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
  901. package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
  902. package/bin/services/chat/channels/qq/QQGatewayAuth.js +186 -0
  903. package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +1 -0
  904. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +179 -0
  905. package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
  906. package/bin/services/chat/channels/qq/QQGatewayClient.js +540 -0
  907. package/bin/services/chat/channels/qq/QQGatewayClient.js.map +1 -0
  908. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +84 -0
  909. package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
  910. package/bin/services/chat/channels/qq/QQGatewaySend.js +120 -0
  911. package/bin/services/chat/channels/qq/QQGatewaySend.js.map +1 -0
  912. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
  913. package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
  914. package/bin/services/chat/channels/qq/QQGatewaySupport.js +137 -0
  915. package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +1 -0
  916. package/bin/services/chat/channels/qq/QQInbound.d.ts +47 -0
  917. package/bin/services/chat/channels/qq/QQInbound.d.ts.map +1 -0
  918. package/bin/services/chat/channels/qq/QQInbound.js +235 -0
  919. package/bin/services/chat/channels/qq/QQInbound.js.map +1 -0
  920. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +48 -0
  921. package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
  922. package/bin/services/chat/channels/qq/QQInboundDedupe.js +108 -0
  923. package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +1 -0
  924. package/bin/services/chat/channels/qq/QQSendSupport.d.ts +20 -0
  925. package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
  926. package/bin/services/chat/channels/qq/QQSendSupport.js +86 -0
  927. package/bin/services/chat/channels/qq/QQSendSupport.js.map +1 -0
  928. package/bin/services/chat/channels/qq/QQSupport.d.ts +102 -0
  929. package/bin/services/chat/channels/qq/QQSupport.d.ts.map +1 -0
  930. package/bin/services/chat/channels/qq/QQSupport.js +172 -0
  931. package/bin/services/chat/channels/qq/QQSupport.js.map +1 -0
  932. package/bin/services/chat/channels/qq/VoiceInput.d.ts +64 -0
  933. package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +1 -0
  934. package/bin/services/chat/channels/qq/VoiceInput.js +299 -0
  935. package/bin/services/chat/channels/qq/VoiceInput.js.map +1 -0
  936. package/bin/services/chat/channels/telegram/ApiClient.d.ts +99 -0
  937. package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +1 -0
  938. package/bin/services/chat/channels/telegram/ApiClient.js +306 -0
  939. package/bin/services/chat/channels/telegram/ApiClient.js.map +1 -0
  940. package/bin/services/chat/channels/telegram/Bot.d.ts +97 -0
  941. package/bin/services/chat/channels/telegram/Bot.d.ts.map +1 -0
  942. package/bin/services/chat/channels/telegram/Bot.js +504 -0
  943. package/bin/services/chat/channels/telegram/Bot.js.map +1 -0
  944. package/bin/services/chat/channels/telegram/BotInfo.d.ts +19 -0
  945. package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +1 -0
  946. package/bin/services/chat/channels/telegram/BotInfo.js +71 -0
  947. package/bin/services/chat/channels/telegram/BotInfo.js.map +1 -0
  948. package/bin/services/chat/channels/telegram/Configuration.d.ts +17 -0
  949. package/bin/services/chat/channels/telegram/Configuration.d.ts.map +1 -0
  950. package/bin/services/chat/channels/telegram/Configuration.js +59 -0
  951. package/bin/services/chat/channels/telegram/Configuration.js.map +1 -0
  952. package/bin/services/chat/channels/telegram/Handlers.d.ts +42 -0
  953. package/bin/services/chat/channels/telegram/Handlers.d.ts.map +1 -0
  954. package/bin/services/chat/channels/telegram/Handlers.js +45 -0
  955. package/bin/services/chat/channels/telegram/Handlers.js.map +1 -0
  956. package/bin/services/chat/channels/telegram/PROMPT.direct.txt +1 -0
  957. package/bin/services/chat/channels/telegram/ReplyContext.d.ts +14 -0
  958. package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
  959. package/bin/services/chat/channels/telegram/ReplyContext.js +57 -0
  960. package/bin/services/chat/channels/telegram/ReplyContext.js.map +1 -0
  961. package/bin/services/chat/channels/telegram/Shared.d.ts +221 -0
  962. package/bin/services/chat/channels/telegram/Shared.d.ts.map +1 -0
  963. package/bin/services/chat/channels/telegram/Shared.js +171 -0
  964. package/bin/services/chat/channels/telegram/Shared.js.map +1 -0
  965. package/bin/services/chat/channels/telegram/StateStore.d.ts +27 -0
  966. package/bin/services/chat/channels/telegram/StateStore.d.ts.map +1 -0
  967. package/bin/services/chat/channels/telegram/StateStore.js +53 -0
  968. package/bin/services/chat/channels/telegram/StateStore.js.map +1 -0
  969. package/bin/services/chat/channels/telegram/TelegramInbound.d.ts +46 -0
  970. package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
  971. package/bin/services/chat/channels/telegram/TelegramInbound.js +148 -0
  972. package/bin/services/chat/channels/telegram/TelegramInbound.js.map +1 -0
  973. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
  974. package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
  975. package/bin/services/chat/channels/telegram/TelegramPlatformClient.js +366 -0
  976. package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
  977. package/bin/services/chat/runtime/ChannelContextStore.d.ts +78 -0
  978. package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +1 -0
  979. package/bin/services/chat/runtime/ChannelContextStore.js +336 -0
  980. package/bin/services/chat/runtime/ChannelContextStore.js.map +1 -0
  981. package/bin/services/chat/runtime/ChatActionExecution.d.ts +145 -0
  982. package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +1 -0
  983. package/bin/services/chat/runtime/ChatActionExecution.js +287 -0
  984. package/bin/services/chat/runtime/ChatActionExecution.js.map +1 -0
  985. package/bin/services/chat/runtime/ChatActionInput.d.ts +63 -0
  986. package/bin/services/chat/runtime/ChatActionInput.d.ts.map +1 -0
  987. package/bin/services/chat/runtime/ChatActionInput.js +458 -0
  988. package/bin/services/chat/runtime/ChatActionInput.js.map +1 -0
  989. package/bin/services/chat/runtime/ChatChannelActions.d.ts +122 -0
  990. package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +1 -0
  991. package/bin/services/chat/runtime/ChatChannelActions.js +237 -0
  992. package/bin/services/chat/runtime/ChatChannelActions.js.map +1 -0
  993. package/bin/services/chat/runtime/ChatChannelConfig.d.ts +61 -0
  994. package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
  995. package/bin/services/chat/runtime/ChatChannelConfig.js +265 -0
  996. package/bin/services/chat/runtime/ChatChannelConfig.js.map +1 -0
  997. package/bin/services/chat/runtime/ChatChannelCore.d.ts +41 -0
  998. package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +1 -0
  999. package/bin/services/chat/runtime/ChatChannelCore.js +92 -0
  1000. package/bin/services/chat/runtime/ChatChannelCore.js.map +1 -0
  1001. package/bin/services/chat/runtime/ChatChannelFacade.d.ts +12 -0
  1002. package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
  1003. package/bin/services/chat/runtime/ChatChannelFacade.js +12 -0
  1004. package/bin/services/chat/runtime/ChatChannelFacade.js.map +1 -0
  1005. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
  1006. package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
  1007. package/bin/services/chat/runtime/ChatChannelLifecycle.js +132 -0
  1008. package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +1 -0
  1009. package/bin/services/chat/runtime/ChatHistoryStore.d.ts +72 -0
  1010. package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
  1011. package/bin/services/chat/runtime/ChatHistoryStore.js +219 -0
  1012. package/bin/services/chat/runtime/ChatHistoryStore.js.map +1 -0
  1013. package/bin/services/chat/runtime/ChatIngressStore.d.ts +52 -0
  1014. package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +1 -0
  1015. package/bin/services/chat/runtime/ChatIngressStore.js +65 -0
  1016. package/bin/services/chat/runtime/ChatIngressStore.js.map +1 -0
  1017. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +54 -0
  1018. package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
  1019. package/bin/services/chat/runtime/ChatMessageMarkup.js +233 -0
  1020. package/bin/services/chat/runtime/ChatMessageMarkup.js.map +1 -0
  1021. package/bin/services/chat/runtime/ChatMetaStore.d.ts +68 -0
  1022. package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +1 -0
  1023. package/bin/services/chat/runtime/ChatMetaStore.js +143 -0
  1024. package/bin/services/chat/runtime/ChatMetaStore.js.map +1 -0
  1025. package/bin/services/chat/runtime/ChatQueue.d.ts +40 -0
  1026. package/bin/services/chat/runtime/ChatQueue.d.ts.map +1 -0
  1027. package/bin/services/chat/runtime/ChatQueue.js +52 -0
  1028. package/bin/services/chat/runtime/ChatQueue.js.map +1 -0
  1029. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +31 -0
  1030. package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
  1031. package/bin/services/chat/runtime/ChatQueueReplyDispatch.js +168 -0
  1032. package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
  1033. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +55 -0
  1034. package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -0
  1035. package/bin/services/chat/runtime/ChatQueueSessionBridge.js +98 -0
  1036. package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +1 -0
  1037. package/bin/services/chat/runtime/ChatQueueStore.d.ts +85 -0
  1038. package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +1 -0
  1039. package/bin/services/chat/runtime/ChatQueueStore.js +130 -0
  1040. package/bin/services/chat/runtime/ChatQueueStore.js.map +1 -0
  1041. package/bin/services/chat/runtime/ChatQueueWorker.d.ts +88 -0
  1042. package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
  1043. package/bin/services/chat/runtime/ChatQueueWorker.js +435 -0
  1044. package/bin/services/chat/runtime/ChatQueueWorker.js.map +1 -0
  1045. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
  1046. package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
  1047. package/bin/services/chat/runtime/ChatQueueWorkerSupport.js +101 -0
  1048. package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
  1049. package/bin/services/chat/runtime/ChatSendMetadata.d.ts +20 -0
  1050. package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
  1051. package/bin/services/chat/runtime/ChatSendMetadata.js +130 -0
  1052. package/bin/services/chat/runtime/ChatSendMetadata.js.map +1 -0
  1053. package/bin/services/chat/runtime/ChatSendRegistry.d.ts +27 -0
  1054. package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
  1055. package/bin/services/chat/runtime/ChatSendRegistry.js +26 -0
  1056. package/bin/services/chat/runtime/ChatSendRegistry.js.map +1 -0
  1057. package/bin/services/chat/runtime/ChatServiceActions.d.ts +17 -0
  1058. package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +1 -0
  1059. package/bin/services/chat/runtime/ChatServiceActions.js +411 -0
  1060. package/bin/services/chat/runtime/ChatServiceActions.js.map +1 -0
  1061. package/bin/services/chat/runtime/ChatServiceSystem.d.ts +22 -0
  1062. package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +1 -0
  1063. package/bin/services/chat/runtime/ChatServiceSystem.js +87 -0
  1064. package/bin/services/chat/runtime/ChatServiceSystem.js.map +1 -0
  1065. package/bin/services/chat/runtime/ChatSession.d.ts +73 -0
  1066. package/bin/services/chat/runtime/ChatSession.d.ts.map +1 -0
  1067. package/bin/services/chat/runtime/ChatSession.js +78 -0
  1068. package/bin/services/chat/runtime/ChatSession.js.map +1 -0
  1069. package/bin/services/chat/runtime/ChatSessionDelete.d.ts +29 -0
  1070. package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
  1071. package/bin/services/chat/runtime/ChatSessionDelete.js +76 -0
  1072. package/bin/services/chat/runtime/ChatSessionDelete.js.map +1 -0
  1073. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +45 -0
  1074. package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +1 -0
  1075. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +60 -0
  1076. package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +1 -0
  1077. package/bin/services/chat/runtime/ChatkeySend.d.ts +67 -0
  1078. package/bin/services/chat/runtime/ChatkeySend.d.ts.map +1 -0
  1079. package/bin/services/chat/runtime/ChatkeySend.js +147 -0
  1080. package/bin/services/chat/runtime/ChatkeySend.js.map +1 -0
  1081. package/bin/services/chat/runtime/DirectDispatchParser.d.ts +22 -0
  1082. package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
  1083. package/bin/services/chat/runtime/DirectDispatchParser.js +133 -0
  1084. package/bin/services/chat/runtime/DirectDispatchParser.js.map +1 -0
  1085. package/bin/services/chat/runtime/EnqueueDispatch.d.ts +24 -0
  1086. package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
  1087. package/bin/services/chat/runtime/EnqueueDispatch.js +28 -0
  1088. package/bin/services/chat/runtime/EnqueueDispatch.js.map +1 -0
  1089. package/bin/services/chat/runtime/InboundAugment.d.ts +21 -0
  1090. package/bin/services/chat/runtime/InboundAugment.d.ts.map +1 -0
  1091. package/bin/services/chat/runtime/InboundAugment.js +50 -0
  1092. package/bin/services/chat/runtime/InboundAugment.js.map +1 -0
  1093. package/bin/services/chat/runtime/PluginDispatch.d.ts +43 -0
  1094. package/bin/services/chat/runtime/PluginDispatch.d.ts.map +1 -0
  1095. package/bin/services/chat/runtime/PluginDispatch.js +57 -0
  1096. package/bin/services/chat/runtime/PluginDispatch.js.map +1 -0
  1097. package/bin/services/chat/runtime/PluginPoints.d.ts +78 -0
  1098. package/bin/services/chat/runtime/PluginPoints.d.ts.map +1 -0
  1099. package/bin/services/chat/runtime/PluginPoints.js +78 -0
  1100. package/bin/services/chat/runtime/PluginPoints.js.map +1 -0
  1101. package/bin/services/chat/runtime/QueuedUserMessage.d.ts +20 -0
  1102. package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
  1103. package/bin/services/chat/runtime/QueuedUserMessage.js +40 -0
  1104. package/bin/services/chat/runtime/QueuedUserMessage.js.map +1 -0
  1105. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +29 -0
  1106. package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
  1107. package/bin/services/chat/runtime/ReplyContextFormatter.js +74 -0
  1108. package/bin/services/chat/runtime/ReplyContextFormatter.js.map +1 -0
  1109. package/bin/services/chat/runtime/ReplyDispatch.d.ts +36 -0
  1110. package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +1 -0
  1111. package/bin/services/chat/runtime/ReplyDispatch.js +51 -0
  1112. package/bin/services/chat/runtime/ReplyDispatch.js.map +1 -0
  1113. package/bin/services/chat/runtime/SystemPrompt.d.ts +26 -0
  1114. package/bin/services/chat/runtime/SystemPrompt.d.ts.map +1 -0
  1115. package/bin/services/chat/runtime/SystemPrompt.js +70 -0
  1116. package/bin/services/chat/runtime/SystemPrompt.js.map +1 -0
  1117. package/bin/services/chat/runtime/UIMessageTransformer.d.ts +24 -0
  1118. package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
  1119. package/bin/services/chat/runtime/UIMessageTransformer.js +102 -0
  1120. package/bin/services/chat/runtime/UIMessageTransformer.js.map +1 -0
  1121. package/bin/services/chat/runtime/UserVisibleText.d.ts +34 -0
  1122. package/bin/services/chat/runtime/UserVisibleText.d.ts.map +1 -0
  1123. package/bin/services/chat/runtime/UserVisibleText.js +73 -0
  1124. package/bin/services/chat/runtime/UserVisibleText.js.map +1 -0
  1125. package/bin/services/chat/types/BotInfo.d.ts +97 -0
  1126. package/bin/services/chat/types/BotInfo.d.ts.map +1 -0
  1127. package/bin/services/chat/types/BotInfo.js +9 -0
  1128. package/bin/services/chat/types/BotInfo.js.map +1 -0
  1129. package/bin/services/chat/types/ChannelAccount.d.ts +226 -0
  1130. package/bin/services/chat/types/ChannelAccount.d.ts.map +1 -0
  1131. package/bin/services/chat/types/ChannelAccount.js +9 -0
  1132. package/bin/services/chat/types/ChannelAccount.js.map +1 -0
  1133. package/bin/services/chat/types/ChannelConfiguration.d.ts +146 -0
  1134. package/bin/services/chat/types/ChannelConfiguration.d.ts.map +1 -0
  1135. package/bin/services/chat/types/ChannelConfiguration.js +9 -0
  1136. package/bin/services/chat/types/ChannelConfiguration.js.map +1 -0
  1137. package/bin/services/chat/types/ChannelContext.d.ts +107 -0
  1138. package/bin/services/chat/types/ChannelContext.d.ts.map +1 -0
  1139. package/bin/services/chat/types/ChannelContext.js +9 -0
  1140. package/bin/services/chat/types/ChannelContext.js.map +1 -0
  1141. package/bin/services/chat/types/ChannelStatus.d.ts +88 -0
  1142. package/bin/services/chat/types/ChannelStatus.d.ts.map +1 -0
  1143. package/bin/services/chat/types/ChannelStatus.js +9 -0
  1144. package/bin/services/chat/types/ChannelStatus.js.map +1 -0
  1145. package/bin/services/chat/types/ChatCommand.d.ts +163 -0
  1146. package/bin/services/chat/types/ChatCommand.d.ts.map +1 -0
  1147. package/bin/services/chat/types/ChatCommand.js +9 -0
  1148. package/bin/services/chat/types/ChatCommand.js.map +1 -0
  1149. package/bin/services/chat/types/ChatDispatcher.d.ts +37 -0
  1150. package/bin/services/chat/types/ChatDispatcher.d.ts.map +1 -0
  1151. package/bin/services/chat/types/ChatDispatcher.js +9 -0
  1152. package/bin/services/chat/types/ChatDispatcher.js.map +1 -0
  1153. package/bin/services/chat/types/ChatHistory.d.ts +36 -0
  1154. package/bin/services/chat/types/ChatHistory.d.ts.map +1 -0
  1155. package/bin/services/chat/types/ChatHistory.js +9 -0
  1156. package/bin/services/chat/types/ChatHistory.js.map +1 -0
  1157. package/bin/services/chat/types/ChatMessageMarkup.d.ts +144 -0
  1158. package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +1 -0
  1159. package/bin/services/chat/types/ChatMessageMarkup.js +9 -0
  1160. package/bin/services/chat/types/ChatMessageMarkup.js.map +1 -0
  1161. package/bin/services/chat/types/ChatMeta.d.ts +34 -0
  1162. package/bin/services/chat/types/ChatMeta.d.ts.map +1 -0
  1163. package/bin/services/chat/types/ChatMeta.js +10 -0
  1164. package/bin/services/chat/types/ChatMeta.js.map +1 -0
  1165. package/bin/services/chat/types/ChatQueue.d.ts +44 -0
  1166. package/bin/services/chat/types/ChatQueue.d.ts.map +1 -0
  1167. package/bin/services/chat/types/ChatQueue.js +9 -0
  1168. package/bin/services/chat/types/ChatQueue.js.map +1 -0
  1169. package/bin/services/chat/types/DirectDispatch.d.ts +115 -0
  1170. package/bin/services/chat/types/DirectDispatch.d.ts.map +1 -0
  1171. package/bin/services/chat/types/DirectDispatch.js +9 -0
  1172. package/bin/services/chat/types/DirectDispatch.js.map +1 -0
  1173. package/bin/services/chat/types/FeishuAttachment.d.ts +42 -0
  1174. package/bin/services/chat/types/FeishuAttachment.d.ts.map +1 -0
  1175. package/bin/services/chat/types/FeishuAttachment.js +9 -0
  1176. package/bin/services/chat/types/FeishuAttachment.js.map +1 -0
  1177. package/bin/services/chat/types/FeishuInboundAttachment.d.ts +114 -0
  1178. package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
  1179. package/bin/services/chat/types/FeishuInboundAttachment.js +9 -0
  1180. package/bin/services/chat/types/FeishuInboundAttachment.js.map +1 -0
  1181. package/bin/services/chat/types/FeishuPost.d.ts +287 -0
  1182. package/bin/services/chat/types/FeishuPost.d.ts.map +1 -0
  1183. package/bin/services/chat/types/FeishuPost.js +9 -0
  1184. package/bin/services/chat/types/FeishuPost.js.map +1 -0
  1185. package/bin/services/chat/types/QqInboundDedupe.d.ts +12 -0
  1186. package/bin/services/chat/types/QqInboundDedupe.d.ts.map +1 -0
  1187. package/bin/services/chat/types/QqInboundDedupe.js +2 -0
  1188. package/bin/services/chat/types/QqInboundDedupe.js.map +1 -0
  1189. package/bin/services/chat/types/QqVoice.d.ts +118 -0
  1190. package/bin/services/chat/types/QqVoice.d.ts.map +1 -0
  1191. package/bin/services/chat/types/QqVoice.js +9 -0
  1192. package/bin/services/chat/types/QqVoice.js.map +1 -0
  1193. package/bin/services/chat/types/ReplyContext.d.ts +46 -0
  1194. package/bin/services/chat/types/ReplyContext.d.ts.map +1 -0
  1195. package/bin/services/chat/types/ReplyContext.js +10 -0
  1196. package/bin/services/chat/types/ReplyContext.js.map +1 -0
  1197. package/bin/services/contact/Action.d.ts +9 -0
  1198. package/bin/services/contact/Action.d.ts.map +1 -0
  1199. package/bin/services/contact/Action.js +9 -0
  1200. package/bin/services/contact/Action.js.map +1 -0
  1201. package/bin/services/contact/ContactService.d.ts +39 -0
  1202. package/bin/services/contact/ContactService.d.ts.map +1 -0
  1203. package/bin/services/contact/ContactService.js +683 -0
  1204. package/bin/services/contact/ContactService.js.map +1 -0
  1205. package/bin/services/contact/Index.d.ts +8 -0
  1206. package/bin/services/contact/Index.d.ts.map +1 -0
  1207. package/bin/services/contact/Index.js +8 -0
  1208. package/bin/services/contact/Index.js.map +1 -0
  1209. package/bin/services/contact/PROMPT.txt +25 -0
  1210. package/bin/services/contact/runtime/ApproveCallback.d.ts +23 -0
  1211. package/bin/services/contact/runtime/ApproveCallback.d.ts.map +1 -0
  1212. package/bin/services/contact/runtime/ApproveCallback.js +83 -0
  1213. package/bin/services/contact/runtime/ApproveCallback.js.map +1 -0
  1214. package/bin/services/contact/runtime/ChatRuntime.d.ts +27 -0
  1215. package/bin/services/contact/runtime/ChatRuntime.d.ts.map +1 -0
  1216. package/bin/services/contact/runtime/ChatRuntime.js +59 -0
  1217. package/bin/services/contact/runtime/ChatRuntime.js.map +1 -0
  1218. package/bin/services/contact/runtime/ContactStore.d.ts +49 -0
  1219. package/bin/services/contact/runtime/ContactStore.d.ts.map +1 -0
  1220. package/bin/services/contact/runtime/ContactStore.js +255 -0
  1221. package/bin/services/contact/runtime/ContactStore.js.map +1 -0
  1222. package/bin/services/contact/runtime/EndpointNotice.d.ts +39 -0
  1223. package/bin/services/contact/runtime/EndpointNotice.d.ts.map +1 -0
  1224. package/bin/services/contact/runtime/EndpointNotice.js +98 -0
  1225. package/bin/services/contact/runtime/EndpointNotice.js.map +1 -0
  1226. package/bin/services/contact/runtime/EndpointResolver.d.ts +36 -0
  1227. package/bin/services/contact/runtime/EndpointResolver.d.ts.map +1 -0
  1228. package/bin/services/contact/runtime/EndpointResolver.js +113 -0
  1229. package/bin/services/contact/runtime/EndpointResolver.js.map +1 -0
  1230. package/bin/services/contact/runtime/InboxStore.d.ts +33 -0
  1231. package/bin/services/contact/runtime/InboxStore.d.ts.map +1 -0
  1232. package/bin/services/contact/runtime/InboxStore.js +142 -0
  1233. package/bin/services/contact/runtime/InboxStore.js.map +1 -0
  1234. package/bin/services/contact/runtime/LinkApproval.d.ts +20 -0
  1235. package/bin/services/contact/runtime/LinkApproval.d.ts.map +1 -0
  1236. package/bin/services/contact/runtime/LinkApproval.js +317 -0
  1237. package/bin/services/contact/runtime/LinkApproval.js.map +1 -0
  1238. package/bin/services/contact/runtime/LinkCode.d.ts +21 -0
  1239. package/bin/services/contact/runtime/LinkCode.d.ts.map +1 -0
  1240. package/bin/services/contact/runtime/LinkCode.js +61 -0
  1241. package/bin/services/contact/runtime/LinkCode.js.map +1 -0
  1242. package/bin/services/contact/runtime/LinkStore.d.ts +17 -0
  1243. package/bin/services/contact/runtime/LinkStore.d.ts.map +1 -0
  1244. package/bin/services/contact/runtime/LinkStore.js +39 -0
  1245. package/bin/services/contact/runtime/LinkStore.js.map +1 -0
  1246. package/bin/services/contact/runtime/Paths.d.ts +64 -0
  1247. package/bin/services/contact/runtime/Paths.d.ts.map +1 -0
  1248. package/bin/services/contact/runtime/Paths.js +103 -0
  1249. package/bin/services/contact/runtime/Paths.js.map +1 -0
  1250. package/bin/services/contact/runtime/RemoteClient.d.ts +46 -0
  1251. package/bin/services/contact/runtime/RemoteClient.d.ts.map +1 -0
  1252. package/bin/services/contact/runtime/RemoteClient.js +102 -0
  1253. package/bin/services/contact/runtime/RemoteClient.js.map +1 -0
  1254. package/bin/services/contact/runtime/ShareBundle.d.ts +65 -0
  1255. package/bin/services/contact/runtime/ShareBundle.d.ts.map +1 -0
  1256. package/bin/services/contact/runtime/ShareBundle.js +185 -0
  1257. package/bin/services/contact/runtime/ShareBundle.js.map +1 -0
  1258. package/bin/services/contact/runtime/SystemProvider.d.ts +12 -0
  1259. package/bin/services/contact/runtime/SystemProvider.d.ts.map +1 -0
  1260. package/bin/services/contact/runtime/SystemProvider.js +21 -0
  1261. package/bin/services/contact/runtime/SystemProvider.js.map +1 -0
  1262. package/bin/services/contact/runtime/Token.d.ts +24 -0
  1263. package/bin/services/contact/runtime/Token.d.ts.map +1 -0
  1264. package/bin/services/contact/runtime/Token.js +36 -0
  1265. package/bin/services/contact/runtime/Token.js.map +1 -0
  1266. package/bin/services/memory/Action.d.ts +41 -0
  1267. package/bin/services/memory/Action.d.ts.map +1 -0
  1268. package/bin/services/memory/Action.js +149 -0
  1269. package/bin/services/memory/Action.js.map +1 -0
  1270. package/bin/services/memory/Index.d.ts +9 -0
  1271. package/bin/services/memory/Index.d.ts.map +1 -0
  1272. package/bin/services/memory/Index.js +9 -0
  1273. package/bin/services/memory/Index.js.map +1 -0
  1274. package/bin/services/memory/MemoryService.d.ts +45 -0
  1275. package/bin/services/memory/MemoryService.d.ts.map +1 -0
  1276. package/bin/services/memory/MemoryService.js +299 -0
  1277. package/bin/services/memory/MemoryService.js.map +1 -0
  1278. package/bin/services/memory/runtime/Flush.d.ts +15 -0
  1279. package/bin/services/memory/runtime/Flush.d.ts.map +1 -0
  1280. package/bin/services/memory/runtime/Flush.js +63 -0
  1281. package/bin/services/memory/runtime/Flush.js.map +1 -0
  1282. package/bin/services/memory/runtime/Indexer.d.ts +71 -0
  1283. package/bin/services/memory/runtime/Indexer.d.ts.map +1 -0
  1284. package/bin/services/memory/runtime/Indexer.js +345 -0
  1285. package/bin/services/memory/runtime/Indexer.js.map +1 -0
  1286. package/bin/services/memory/runtime/Search.d.ts +15 -0
  1287. package/bin/services/memory/runtime/Search.d.ts.map +1 -0
  1288. package/bin/services/memory/runtime/Search.js +64 -0
  1289. package/bin/services/memory/runtime/Search.js.map +1 -0
  1290. package/bin/services/memory/runtime/Store.d.ts +106 -0
  1291. package/bin/services/memory/runtime/Store.d.ts.map +1 -0
  1292. package/bin/services/memory/runtime/Store.js +262 -0
  1293. package/bin/services/memory/runtime/Store.js.map +1 -0
  1294. package/bin/services/memory/runtime/SystemProvider.d.ts +22 -0
  1295. package/bin/services/memory/runtime/SystemProvider.d.ts.map +1 -0
  1296. package/bin/services/memory/runtime/SystemProvider.js +126 -0
  1297. package/bin/services/memory/runtime/SystemProvider.js.map +1 -0
  1298. package/bin/services/memory/runtime/Writer.d.ts +23 -0
  1299. package/bin/services/memory/runtime/Writer.d.ts.map +1 -0
  1300. package/bin/services/memory/runtime/Writer.js +140 -0
  1301. package/bin/services/memory/runtime/Writer.js.map +1 -0
  1302. package/bin/services/memory/types/Memory.d.ts +318 -0
  1303. package/bin/services/memory/types/Memory.d.ts.map +1 -0
  1304. package/bin/services/memory/types/Memory.js +9 -0
  1305. package/bin/services/memory/types/Memory.js.map +1 -0
  1306. package/bin/services/shell/Index.d.ts +9 -0
  1307. package/bin/services/shell/Index.d.ts.map +1 -0
  1308. package/bin/services/shell/Index.js +9 -0
  1309. package/bin/services/shell/Index.js.map +1 -0
  1310. package/bin/services/shell/ShellService.d.ts +65 -0
  1311. package/bin/services/shell/ShellService.d.ts.map +1 -0
  1312. package/bin/services/shell/ShellService.js +138 -0
  1313. package/bin/services/shell/ShellService.js.map +1 -0
  1314. package/bin/services/shell/runtime/Paths.d.ts +12 -0
  1315. package/bin/services/shell/runtime/Paths.d.ts.map +1 -0
  1316. package/bin/services/shell/runtime/Paths.js +21 -0
  1317. package/bin/services/shell/runtime/Paths.js.map +1 -0
  1318. package/bin/services/shell/runtime/ShellActionRuntime.d.ts +49 -0
  1319. package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
  1320. package/bin/services/shell/runtime/ShellActionRuntime.js +463 -0
  1321. package/bin/services/shell/runtime/ShellActionRuntime.js.map +1 -0
  1322. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +107 -0
  1323. package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
  1324. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +452 -0
  1325. package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
  1326. package/bin/services/shell/types/ShellService.d.ts +216 -0
  1327. package/bin/services/shell/types/ShellService.d.ts.map +1 -0
  1328. package/bin/services/shell/types/ShellService.js +9 -0
  1329. package/bin/services/shell/types/ShellService.js.map +1 -0
  1330. package/bin/services/task/Action.d.ts +36 -0
  1331. package/bin/services/task/Action.d.ts.map +1 -0
  1332. package/bin/services/task/Action.js +407 -0
  1333. package/bin/services/task/Action.js.map +1 -0
  1334. package/bin/services/task/Index.d.ts +9 -0
  1335. package/bin/services/task/Index.d.ts.map +1 -0
  1336. package/bin/services/task/Index.js +9 -0
  1337. package/bin/services/task/Index.js.map +1 -0
  1338. package/bin/services/task/PROMPT.txt +237 -0
  1339. package/bin/services/task/Scheduler.d.ts +17 -0
  1340. package/bin/services/task/Scheduler.d.ts.map +1 -0
  1341. package/bin/services/task/Scheduler.js +231 -0
  1342. package/bin/services/task/Scheduler.js.map +1 -0
  1343. package/bin/services/task/TaskService.d.ts +57 -0
  1344. package/bin/services/task/TaskService.d.ts.map +1 -0
  1345. package/bin/services/task/TaskService.js +126 -0
  1346. package/bin/services/task/TaskService.js.map +1 -0
  1347. package/bin/services/task/runtime/CronRuntime.d.ts +34 -0
  1348. package/bin/services/task/runtime/CronRuntime.d.ts.map +1 -0
  1349. package/bin/services/task/runtime/CronRuntime.js +59 -0
  1350. package/bin/services/task/runtime/CronRuntime.js.map +1 -0
  1351. package/bin/services/task/runtime/CronTrigger.d.ts +19 -0
  1352. package/bin/services/task/runtime/CronTrigger.d.ts.map +1 -0
  1353. package/bin/services/task/runtime/CronTrigger.js +93 -0
  1354. package/bin/services/task/runtime/CronTrigger.js.map +1 -0
  1355. package/bin/services/task/runtime/Frontmatter.d.ts +13 -0
  1356. package/bin/services/task/runtime/Frontmatter.d.ts.map +1 -0
  1357. package/bin/services/task/runtime/Frontmatter.js +19 -0
  1358. package/bin/services/task/runtime/Frontmatter.js.map +1 -0
  1359. package/bin/services/task/runtime/Model.d.ts +73 -0
  1360. package/bin/services/task/runtime/Model.d.ts.map +1 -0
  1361. package/bin/services/task/runtime/Model.js +312 -0
  1362. package/bin/services/task/runtime/Model.js.map +1 -0
  1363. package/bin/services/task/runtime/Paths.d.ts +32 -0
  1364. package/bin/services/task/runtime/Paths.d.ts.map +1 -0
  1365. package/bin/services/task/runtime/Paths.js +103 -0
  1366. package/bin/services/task/runtime/Paths.js.map +1 -0
  1367. package/bin/services/task/runtime/Runner.d.ts +43 -0
  1368. package/bin/services/task/runtime/Runner.d.ts.map +1 -0
  1369. package/bin/services/task/runtime/Runner.js +482 -0
  1370. package/bin/services/task/runtime/Runner.js.map +1 -0
  1371. package/bin/services/task/runtime/Store.d.ts +89 -0
  1372. package/bin/services/task/runtime/Store.d.ts.map +1 -0
  1373. package/bin/services/task/runtime/Store.js +206 -0
  1374. package/bin/services/task/runtime/Store.js.map +1 -0
  1375. package/bin/services/task/runtime/TaskActionExecution.d.ts +160 -0
  1376. package/bin/services/task/runtime/TaskActionExecution.d.ts.map +1 -0
  1377. package/bin/services/task/runtime/TaskActionExecution.js +192 -0
  1378. package/bin/services/task/runtime/TaskActionExecution.js.map +1 -0
  1379. package/bin/services/task/runtime/TaskActionInput.d.ts +48 -0
  1380. package/bin/services/task/runtime/TaskActionInput.d.ts.map +1 -0
  1381. package/bin/services/task/runtime/TaskActionInput.js +357 -0
  1382. package/bin/services/task/runtime/TaskActionInput.js.map +1 -0
  1383. package/bin/services/task/runtime/TaskRunArtifacts.d.ts +189 -0
  1384. package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
  1385. package/bin/services/task/runtime/TaskRunArtifacts.js +271 -0
  1386. package/bin/services/task/runtime/TaskRunArtifacts.js.map +1 -0
  1387. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +22 -0
  1388. package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
  1389. package/bin/services/task/runtime/TaskRunChatDispatch.js +66 -0
  1390. package/bin/services/task/runtime/TaskRunChatDispatch.js.map +1 -0
  1391. package/bin/services/task/runtime/TaskRunnerProgress.d.ts +35 -0
  1392. package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
  1393. package/bin/services/task/runtime/TaskRunnerProgress.js +95 -0
  1394. package/bin/services/task/runtime/TaskRunnerProgress.js.map +1 -0
  1395. package/bin/services/task/runtime/TaskRunnerRound.d.ts +80 -0
  1396. package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +1 -0
  1397. package/bin/services/task/runtime/TaskRunnerRound.js +272 -0
  1398. package/bin/services/task/runtime/TaskRunnerRound.js.map +1 -0
  1399. package/bin/services/task/runtime/TaskRunnerSession.d.ts +45 -0
  1400. package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +1 -0
  1401. package/bin/services/task/runtime/TaskRunnerSession.js +138 -0
  1402. package/bin/services/task/runtime/TaskRunnerSession.js.map +1 -0
  1403. package/bin/services/task/runtime/TaskServiceActions.d.ts +16 -0
  1404. package/bin/services/task/runtime/TaskServiceActions.d.ts.map +1 -0
  1405. package/bin/services/task/runtime/TaskServiceActions.js +195 -0
  1406. package/bin/services/task/runtime/TaskServiceActions.js.map +1 -0
  1407. package/bin/services/task/runtime/TaskServiceSystem.d.ts +12 -0
  1408. package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +1 -0
  1409. package/bin/services/task/runtime/TaskServiceSystem.js +26 -0
  1410. package/bin/services/task/runtime/TaskServiceSystem.js.map +1 -0
  1411. package/bin/services/task/types/Cron.d.ts +16 -0
  1412. package/bin/services/task/types/Cron.d.ts.map +1 -0
  1413. package/bin/services/task/types/Cron.js +2 -0
  1414. package/bin/services/task/types/Cron.js.map +1 -0
  1415. package/bin/services/task/types/Task.d.ts +146 -0
  1416. package/bin/services/task/types/Task.d.ts.map +1 -0
  1417. package/bin/services/task/types/Task.js +9 -0
  1418. package/bin/services/task/types/Task.js.map +1 -0
  1419. package/bin/services/task/types/TaskCommand.d.ts +147 -0
  1420. package/bin/services/task/types/TaskCommand.d.ts.map +1 -0
  1421. package/bin/services/task/types/TaskCommand.js +9 -0
  1422. package/bin/services/task/types/TaskCommand.js.map +1 -0
  1423. package/bin/session/Session.d.ts +101 -0
  1424. package/bin/session/Session.d.ts.map +1 -0
  1425. package/bin/session/Session.js +171 -0
  1426. package/bin/session/Session.js.map +1 -0
  1427. package/bin/session/SessionRunScope.d.ts +76 -0
  1428. package/bin/session/SessionRunScope.d.ts.map +1 -0
  1429. package/bin/session/SessionRunScope.js +82 -0
  1430. package/bin/session/SessionRunScope.js.map +1 -0
  1431. package/bin/session/composer/SessionComposer.d.ts +29 -0
  1432. package/bin/session/composer/SessionComposer.d.ts.map +1 -0
  1433. package/bin/session/composer/SessionComposer.js +29 -0
  1434. package/bin/session/composer/SessionComposer.js.map +1 -0
  1435. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +56 -0
  1436. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
  1437. package/bin/session/composer/compaction/SessionCompactionComposer.js +14 -0
  1438. package/bin/session/composer/compaction/SessionCompactionComposer.js.map +1 -0
  1439. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +38 -0
  1440. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
  1441. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +70 -0
  1442. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
  1443. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
  1444. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
  1445. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +199 -0
  1446. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
  1447. package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts +49 -0
  1448. package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts.map +1 -0
  1449. package/bin/session/composer/execution/LocalSessionExecutionComposer.js +117 -0
  1450. package/bin/session/composer/execution/LocalSessionExecutionComposer.js.map +1 -0
  1451. package/bin/session/composer/execution/SessionExecutionComposer.d.ts +63 -0
  1452. package/bin/session/composer/execution/SessionExecutionComposer.d.ts.map +1 -0
  1453. package/bin/session/composer/execution/SessionExecutionComposer.js +14 -0
  1454. package/bin/session/composer/execution/SessionExecutionComposer.js.map +1 -0
  1455. package/bin/session/composer/history/SessionHistoryComposer.d.ts +156 -0
  1456. package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +1 -0
  1457. package/bin/session/composer/history/SessionHistoryComposer.js +14 -0
  1458. package/bin/session/composer/history/SessionHistoryComposer.js.map +1 -0
  1459. package/bin/session/composer/history/SessionHistoryWriter.d.ts +56 -0
  1460. package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +1 -0
  1461. package/bin/session/composer/history/SessionHistoryWriter.js +95 -0
  1462. package/bin/session/composer/history/SessionHistoryWriter.js.map +1 -0
  1463. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +67 -0
  1464. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
  1465. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +423 -0
  1466. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
  1467. package/bin/session/composer/system/SessionSystemComposer.d.ts +23 -0
  1468. package/bin/session/composer/system/SessionSystemComposer.d.ts.map +1 -0
  1469. package/bin/session/composer/system/SessionSystemComposer.js +14 -0
  1470. package/bin/session/composer/system/SessionSystemComposer.js.map +1 -0
  1471. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
  1472. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
  1473. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js +46 -0
  1474. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
  1475. package/bin/session/composer/system/default/InitPrompts.d.ts +16 -0
  1476. package/bin/session/composer/system/default/InitPrompts.d.ts.map +1 -0
  1477. package/bin/session/composer/system/default/InitPrompts.js +35 -0
  1478. package/bin/session/composer/system/default/InitPrompts.js.map +1 -0
  1479. package/bin/session/composer/system/default/PromptRenderer.d.ts +35 -0
  1480. package/bin/session/composer/system/default/PromptRenderer.d.ts.map +1 -0
  1481. package/bin/session/composer/system/default/PromptRenderer.js +23 -0
  1482. package/bin/session/composer/system/default/PromptRenderer.js.map +1 -0
  1483. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts +46 -0
  1484. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
  1485. package/bin/session/composer/system/default/StaticPromptCatalog.js +223 -0
  1486. package/bin/session/composer/system/default/StaticPromptCatalog.js.map +1 -0
  1487. package/bin/session/composer/system/default/SystemDomain.d.ts +169 -0
  1488. package/bin/session/composer/system/default/SystemDomain.d.ts.map +1 -0
  1489. package/bin/session/composer/system/default/SystemDomain.js +232 -0
  1490. package/bin/session/composer/system/default/SystemDomain.js.map +1 -0
  1491. package/bin/session/composer/system/default/assets/core.prompt.txt +39 -0
  1492. package/bin/session/composer/system/default/assets/init/PROFILE.md.txt +17 -0
  1493. package/bin/session/composer/system/default/assets/init/SOUL.md.txt +88 -0
  1494. package/bin/session/composer/system/default/assets/service.prompt.txt +29 -0
  1495. package/bin/session/composer/system/default/assets/task.prompt.txt +33 -0
  1496. package/bin/session/composer/system/default/variables/GeoContext.d.ts +14 -0
  1497. package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +1 -0
  1498. package/bin/session/composer/system/default/variables/GeoContext.js +150 -0
  1499. package/bin/session/composer/system/default/variables/GeoContext.js.map +1 -0
  1500. package/bin/session/composer/system/default/variables/PromptTypes.d.ts +36 -0
  1501. package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
  1502. package/bin/session/composer/system/default/variables/PromptTypes.js +9 -0
  1503. package/bin/session/composer/system/default/variables/PromptTypes.js.map +1 -0
  1504. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts +61 -0
  1505. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
  1506. package/bin/session/composer/system/default/variables/VariableReplacer.js +93 -0
  1507. package/bin/session/composer/system/default/variables/VariableReplacer.js.map +1 -0
  1508. package/bin/session/executors/local/LocalSessionCore.d.ts +116 -0
  1509. package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -0
  1510. package/bin/session/executors/local/LocalSessionCore.js +574 -0
  1511. package/bin/session/executors/local/LocalSessionCore.js.map +1 -0
  1512. package/bin/session/executors/local/LocalSessionExecutor.d.ts +61 -0
  1513. package/bin/session/executors/local/LocalSessionExecutor.d.ts.map +1 -0
  1514. package/bin/session/executors/local/LocalSessionExecutor.js +36 -0
  1515. package/bin/session/executors/local/LocalSessionExecutor.js.map +1 -0
  1516. package/bin/session/executors/local/SessionLoopDecision.d.ts +27 -0
  1517. package/bin/session/executors/local/SessionLoopDecision.d.ts.map +1 -0
  1518. package/bin/session/executors/local/SessionLoopDecision.js +62 -0
  1519. package/bin/session/executors/local/SessionLoopDecision.js.map +1 -0
  1520. package/bin/session/executors/local/SessionSignals.d.ts +72 -0
  1521. package/bin/session/executors/local/SessionSignals.d.ts.map +1 -0
  1522. package/bin/session/executors/local/SessionSignals.js +357 -0
  1523. package/bin/session/executors/local/SessionSignals.js.map +1 -0
  1524. package/bin/session/ids/resolveSessionId.d.ts +11 -0
  1525. package/bin/session/ids/resolveSessionId.d.ts.map +1 -0
  1526. package/bin/session/ids/resolveSessionId.js +17 -0
  1527. package/bin/session/ids/resolveSessionId.js.map +1 -0
  1528. package/bin/session/messages/SessionAttachmentMapper.d.ts +14 -0
  1529. package/bin/session/messages/SessionAttachmentMapper.d.ts.map +1 -0
  1530. package/bin/session/messages/SessionAttachmentMapper.js +145 -0
  1531. package/bin/session/messages/SessionAttachmentMapper.js.map +1 -0
  1532. package/bin/session/messages/SessionMessageCodec.d.ts +41 -0
  1533. package/bin/session/messages/SessionMessageCodec.d.ts.map +1 -0
  1534. package/bin/session/messages/SessionMessageCodec.js +93 -0
  1535. package/bin/session/messages/SessionMessageCodec.js.map +1 -0
  1536. package/bin/session/messages/SessionMessageLog.d.ts +19 -0
  1537. package/bin/session/messages/SessionMessageLog.d.ts.map +1 -0
  1538. package/bin/session/messages/SessionMessageLog.js +34 -0
  1539. package/bin/session/messages/SessionMessageLog.js.map +1 -0
  1540. package/bin/session/messages/SessionStepEventMapper.d.ts +20 -0
  1541. package/bin/session/messages/SessionStepEventMapper.d.ts.map +1 -0
  1542. package/bin/session/messages/SessionStepEventMapper.js +208 -0
  1543. package/bin/session/messages/SessionStepEventMapper.js.map +1 -0
  1544. package/bin/session/tools/shell/ShellToolBridge.d.ts +79 -0
  1545. package/bin/session/tools/shell/ShellToolBridge.d.ts.map +1 -0
  1546. package/bin/session/tools/shell/ShellToolBridge.js +288 -0
  1547. package/bin/session/tools/shell/ShellToolBridge.js.map +1 -0
  1548. package/bin/session/tools/shell/ShellToolDefinition.d.ts +114 -0
  1549. package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +1 -0
  1550. package/bin/session/tools/shell/ShellToolDefinition.js +359 -0
  1551. package/bin/session/tools/shell/ShellToolDefinition.js.map +1 -0
  1552. package/bin/session/tools/shell/ShellToolFormatting.d.ts +26 -0
  1553. package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +1 -0
  1554. package/bin/session/tools/shell/ShellToolFormatting.js +74 -0
  1555. package/bin/session/tools/shell/ShellToolFormatting.js.map +1 -0
  1556. package/bin/session/tools/shell/ShellToolSchemas.d.ts +118 -0
  1557. package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +1 -0
  1558. package/bin/session/tools/shell/ShellToolSchemas.js +113 -0
  1559. package/bin/session/tools/shell/ShellToolSchemas.js.map +1 -0
  1560. package/bin/shared/constants/DowncityDefault.d.ts +3 -0
  1561. package/bin/shared/constants/DowncityDefault.d.ts.map +1 -0
  1562. package/bin/shared/constants/DowncityDefault.js +37 -0
  1563. package/bin/shared/constants/DowncityDefault.js.map +1 -0
  1564. package/bin/shared/constants/DowncitySchema.d.ts +3 -0
  1565. package/bin/shared/constants/DowncitySchema.d.ts.map +1 -0
  1566. package/bin/shared/constants/DowncitySchema.js +367 -0
  1567. package/bin/shared/constants/DowncitySchema.js.map +1 -0
  1568. package/bin/shared/types/AgentHost.d.ts +72 -0
  1569. package/bin/shared/types/AgentHost.d.ts.map +1 -0
  1570. package/bin/shared/types/AgentHost.js +10 -0
  1571. package/bin/shared/types/AgentHost.js.map +1 -0
  1572. package/bin/shared/types/AgentProject.d.ts +80 -0
  1573. package/bin/shared/types/AgentProject.d.ts.map +1 -0
  1574. package/bin/shared/types/AgentProject.js +9 -0
  1575. package/bin/shared/types/AgentProject.js.map +1 -0
  1576. package/bin/shared/types/AuthDashboard.d.ts +30 -0
  1577. package/bin/shared/types/AuthDashboard.d.ts.map +1 -0
  1578. package/bin/shared/types/AuthDashboard.js +9 -0
  1579. package/bin/shared/types/AuthDashboard.js.map +1 -0
  1580. package/bin/shared/types/AuthPlugin.d.ts +407 -0
  1581. package/bin/shared/types/AuthPlugin.d.ts.map +1 -0
  1582. package/bin/shared/types/AuthPlugin.js +115 -0
  1583. package/bin/shared/types/AuthPlugin.js.map +1 -0
  1584. package/bin/shared/types/ChatPlugin.d.ts +238 -0
  1585. package/bin/shared/types/ChatPlugin.d.ts.map +1 -0
  1586. package/bin/shared/types/ChatPlugin.js +10 -0
  1587. package/bin/shared/types/ChatPlugin.js.map +1 -0
  1588. package/bin/shared/types/ChatPromptContext.d.ts +125 -0
  1589. package/bin/shared/types/ChatPromptContext.d.ts.map +1 -0
  1590. package/bin/shared/types/ChatPromptContext.js +10 -0
  1591. package/bin/shared/types/ChatPromptContext.js.map +1 -0
  1592. package/bin/shared/types/ChatQueueWorker.d.ts +25 -0
  1593. package/bin/shared/types/ChatQueueWorker.d.ts.map +1 -0
  1594. package/bin/shared/types/ChatQueueWorker.js +9 -0
  1595. package/bin/shared/types/ChatQueueWorker.js.map +1 -0
  1596. package/bin/shared/types/ChatRuntime.d.ts +32 -0
  1597. package/bin/shared/types/ChatRuntime.d.ts.map +1 -0
  1598. package/bin/shared/types/ChatRuntime.js +9 -0
  1599. package/bin/shared/types/ChatRuntime.js.map +1 -0
  1600. package/bin/shared/types/ChatService.d.ts +145 -0
  1601. package/bin/shared/types/ChatService.d.ts.map +1 -0
  1602. package/bin/shared/types/ChatService.js +10 -0
  1603. package/bin/shared/types/ChatService.js.map +1 -0
  1604. package/bin/shared/types/ClaudeSkill.d.ts +63 -0
  1605. package/bin/shared/types/ClaudeSkill.d.ts.map +1 -0
  1606. package/bin/shared/types/ClaudeSkill.js +10 -0
  1607. package/bin/shared/types/ClaudeSkill.js.map +1 -0
  1608. package/bin/shared/types/Console.d.ts +373 -0
  1609. package/bin/shared/types/Console.d.ts.map +1 -0
  1610. package/bin/shared/types/Console.js +9 -0
  1611. package/bin/shared/types/Console.js.map +1 -0
  1612. package/bin/shared/types/ConsoleGateway.d.ts +174 -0
  1613. package/bin/shared/types/ConsoleGateway.d.ts.map +1 -0
  1614. package/bin/shared/types/ConsoleGateway.js +9 -0
  1615. package/bin/shared/types/ConsoleGateway.js.map +1 -0
  1616. package/bin/shared/types/Daemon.d.ts +46 -0
  1617. package/bin/shared/types/Daemon.d.ts.map +1 -0
  1618. package/bin/shared/types/Daemon.js +14 -0
  1619. package/bin/shared/types/Daemon.js.map +1 -0
  1620. package/bin/shared/types/DashboardData.d.ts +320 -0
  1621. package/bin/shared/types/DashboardData.d.ts.map +1 -0
  1622. package/bin/shared/types/DashboardData.js +9 -0
  1623. package/bin/shared/types/DashboardData.js.map +1 -0
  1624. package/bin/shared/types/DashboardRoutes.d.ts +28 -0
  1625. package/bin/shared/types/DashboardRoutes.d.ts.map +1 -0
  1626. package/bin/shared/types/DashboardRoutes.js +9 -0
  1627. package/bin/shared/types/DashboardRoutes.js.map +1 -0
  1628. package/bin/shared/types/DashboardSessionExecute.d.ts +85 -0
  1629. package/bin/shared/types/DashboardSessionExecute.d.ts.map +1 -0
  1630. package/bin/shared/types/DashboardSessionExecute.js +9 -0
  1631. package/bin/shared/types/DashboardSessionExecute.js.map +1 -0
  1632. package/bin/shared/types/DowncityConfig.d.ts +214 -0
  1633. package/bin/shared/types/DowncityConfig.d.ts.map +1 -0
  1634. package/bin/shared/types/DowncityConfig.js +2 -0
  1635. package/bin/shared/types/DowncityConfig.js.map +1 -0
  1636. package/bin/shared/types/ExecutionBinding.d.ts +26 -0
  1637. package/bin/shared/types/ExecutionBinding.d.ts.map +1 -0
  1638. package/bin/shared/types/ExecutionBinding.js +10 -0
  1639. package/bin/shared/types/ExecutionBinding.js.map +1 -0
  1640. package/bin/shared/types/FeishuChannel.d.ts +127 -0
  1641. package/bin/shared/types/FeishuChannel.d.ts.map +1 -0
  1642. package/bin/shared/types/FeishuChannel.js +9 -0
  1643. package/bin/shared/types/FeishuChannel.js.map +1 -0
  1644. package/bin/shared/types/InlineInstant.d.ts +82 -0
  1645. package/bin/shared/types/InlineInstant.d.ts.map +1 -0
  1646. package/bin/shared/types/InlineInstant.js +10 -0
  1647. package/bin/shared/types/InlineInstant.js.map +1 -0
  1648. package/bin/shared/types/Json.d.ts +32 -0
  1649. package/bin/shared/types/Json.d.ts.map +1 -0
  1650. package/bin/shared/types/Json.js +9 -0
  1651. package/bin/shared/types/Json.js.map +1 -0
  1652. package/bin/shared/types/LlmConfig.d.ts +100 -0
  1653. package/bin/shared/types/LlmConfig.d.ts.map +1 -0
  1654. package/bin/shared/types/LlmConfig.js +10 -0
  1655. package/bin/shared/types/LlmConfig.js.map +1 -0
  1656. package/bin/shared/types/LocalRpc.d.ts +69 -0
  1657. package/bin/shared/types/LocalRpc.d.ts.map +1 -0
  1658. package/bin/shared/types/LocalRpc.js +9 -0
  1659. package/bin/shared/types/LocalRpc.js.map +1 -0
  1660. package/bin/shared/types/ModelBinding.d.ts +19 -0
  1661. package/bin/shared/types/ModelBinding.d.ts.map +1 -0
  1662. package/bin/shared/types/ModelBinding.js +2 -0
  1663. package/bin/shared/types/ModelBinding.js.map +1 -0
  1664. package/bin/shared/types/Plugin.d.ts +693 -0
  1665. package/bin/shared/types/Plugin.d.ts.map +1 -0
  1666. package/bin/shared/types/Plugin.js +10 -0
  1667. package/bin/shared/types/Plugin.js.map +1 -0
  1668. package/bin/shared/types/PluginApi.d.ts +151 -0
  1669. package/bin/shared/types/PluginApi.d.ts.map +1 -0
  1670. package/bin/shared/types/PluginApi.js +9 -0
  1671. package/bin/shared/types/PluginApi.js.map +1 -0
  1672. package/bin/shared/types/PluginLifecycle.d.ts +34 -0
  1673. package/bin/shared/types/PluginLifecycle.d.ts.map +1 -0
  1674. package/bin/shared/types/PluginLifecycle.js +9 -0
  1675. package/bin/shared/types/PluginLifecycle.js.map +1 -0
  1676. package/bin/shared/types/QqChannel.d.ts +485 -0
  1677. package/bin/shared/types/QqChannel.d.ts.map +1 -0
  1678. package/bin/shared/types/QqChannel.js +42 -0
  1679. package/bin/shared/types/QqChannel.js.map +1 -0
  1680. package/bin/shared/types/QqGatewaySupport.d.ts +82 -0
  1681. package/bin/shared/types/QqGatewaySupport.d.ts.map +1 -0
  1682. package/bin/shared/types/QqGatewaySupport.js +9 -0
  1683. package/bin/shared/types/QqGatewaySupport.js.map +1 -0
  1684. package/bin/shared/types/Sandbox.d.ts +130 -0
  1685. package/bin/shared/types/Sandbox.d.ts.map +1 -0
  1686. package/bin/shared/types/Sandbox.js +10 -0
  1687. package/bin/shared/types/Sandbox.js.map +1 -0
  1688. package/bin/shared/types/Service.d.ts +205 -0
  1689. package/bin/shared/types/Service.d.ts.map +1 -0
  1690. package/bin/shared/types/Service.js +10 -0
  1691. package/bin/shared/types/Service.js.map +1 -0
  1692. package/bin/shared/types/ServiceSchedule.d.ts +114 -0
  1693. package/bin/shared/types/ServiceSchedule.d.ts.map +1 -0
  1694. package/bin/shared/types/ServiceSchedule.js +9 -0
  1695. package/bin/shared/types/ServiceSchedule.js.map +1 -0
  1696. package/bin/shared/types/ServiceState.d.ts +104 -0
  1697. package/bin/shared/types/ServiceState.d.ts.map +1 -0
  1698. package/bin/shared/types/ServiceState.js +9 -0
  1699. package/bin/shared/types/ServiceState.js.map +1 -0
  1700. package/bin/shared/types/Services.d.ts +94 -0
  1701. package/bin/shared/types/Services.d.ts.map +1 -0
  1702. package/bin/shared/types/Services.js +9 -0
  1703. package/bin/shared/types/Services.js.map +1 -0
  1704. package/bin/shared/types/Shell.d.ts +97 -0
  1705. package/bin/shared/types/Shell.d.ts.map +1 -0
  1706. package/bin/shared/types/Shell.js +9 -0
  1707. package/bin/shared/types/Shell.js.map +1 -0
  1708. package/bin/shared/types/SkillCommand.d.ts +87 -0
  1709. package/bin/shared/types/SkillCommand.d.ts.map +1 -0
  1710. package/bin/shared/types/SkillCommand.js +9 -0
  1711. package/bin/shared/types/SkillCommand.js.map +1 -0
  1712. package/bin/shared/types/SkillPlugin.d.ts +102 -0
  1713. package/bin/shared/types/SkillPlugin.d.ts.map +1 -0
  1714. package/bin/shared/types/SkillPlugin.js +29 -0
  1715. package/bin/shared/types/SkillPlugin.js.map +1 -0
  1716. package/bin/shared/types/SkillRoot.d.ts +48 -0
  1717. package/bin/shared/types/SkillRoot.d.ts.map +1 -0
  1718. package/bin/shared/types/SkillRoot.js +9 -0
  1719. package/bin/shared/types/SkillRoot.js.map +1 -0
  1720. package/bin/shared/types/Start.d.ts +16 -0
  1721. package/bin/shared/types/Start.d.ts.map +1 -0
  1722. package/bin/shared/types/Start.js +11 -0
  1723. package/bin/shared/types/Start.js.map +1 -0
  1724. package/bin/shared/types/Store.d.ts +507 -0
  1725. package/bin/shared/types/Store.d.ts.map +1 -0
  1726. package/bin/shared/types/Store.js +2 -0
  1727. package/bin/shared/types/Store.js.map +1 -0
  1728. package/bin/shared/types/TaskService.d.ts +52 -0
  1729. package/bin/shared/types/TaskService.d.ts.map +1 -0
  1730. package/bin/shared/types/TaskService.js +9 -0
  1731. package/bin/shared/types/TaskService.js.map +1 -0
  1732. package/bin/shared/types/Template.d.ts +9 -0
  1733. package/bin/shared/types/Template.d.ts.map +1 -0
  1734. package/bin/shared/types/Template.js +9 -0
  1735. package/bin/shared/types/Template.js.map +1 -0
  1736. package/bin/shared/types/Tts.d.ts +91 -0
  1737. package/bin/shared/types/Tts.d.ts.map +1 -0
  1738. package/bin/shared/types/Tts.js +9 -0
  1739. package/bin/shared/types/Tts.js.map +1 -0
  1740. package/bin/shared/types/TtsPlugin.d.ts +161 -0
  1741. package/bin/shared/types/TtsPlugin.d.ts.map +1 -0
  1742. package/bin/shared/types/TtsPlugin.js +9 -0
  1743. package/bin/shared/types/TtsPlugin.js.map +1 -0
  1744. package/bin/shared/types/Voice.d.ts +58 -0
  1745. package/bin/shared/types/Voice.d.ts.map +1 -0
  1746. package/bin/shared/types/Voice.js +9 -0
  1747. package/bin/shared/types/Voice.js.map +1 -0
  1748. package/bin/shared/types/VoicePlugin.d.ts +190 -0
  1749. package/bin/shared/types/VoicePlugin.d.ts.map +1 -0
  1750. package/bin/shared/types/VoicePlugin.js +9 -0
  1751. package/bin/shared/types/VoicePlugin.js.map +1 -0
  1752. package/bin/shared/types/WebPlugin.d.ts +133 -0
  1753. package/bin/shared/types/WebPlugin.d.ts.map +1 -0
  1754. package/bin/shared/types/WebPlugin.js +12 -0
  1755. package/bin/shared/types/WebPlugin.js.map +1 -0
  1756. package/bin/shared/types/auth/AuthPermission.d.ts +49 -0
  1757. package/bin/shared/types/auth/AuthPermission.d.ts.map +1 -0
  1758. package/bin/shared/types/auth/AuthPermission.js +92 -0
  1759. package/bin/shared/types/auth/AuthPermission.js.map +1 -0
  1760. package/bin/shared/types/auth/AuthRoute.d.ts +29 -0
  1761. package/bin/shared/types/auth/AuthRoute.d.ts.map +1 -0
  1762. package/bin/shared/types/auth/AuthRoute.js +8 -0
  1763. package/bin/shared/types/auth/AuthRoute.js.map +1 -0
  1764. package/bin/shared/types/auth/AuthToken.d.ts +46 -0
  1765. package/bin/shared/types/auth/AuthToken.d.ts.map +1 -0
  1766. package/bin/shared/types/auth/AuthToken.js +9 -0
  1767. package/bin/shared/types/auth/AuthToken.js.map +1 -0
  1768. package/bin/shared/types/auth/AuthTypes.d.ts +227 -0
  1769. package/bin/shared/types/auth/AuthTypes.d.ts.map +1 -0
  1770. package/bin/shared/types/auth/AuthTypes.js +9 -0
  1771. package/bin/shared/types/auth/AuthTypes.js.map +1 -0
  1772. package/bin/shared/utils/Id.d.ts +9 -0
  1773. package/bin/shared/utils/Id.d.ts.map +1 -0
  1774. package/bin/shared/utils/Id.js +12 -0
  1775. package/bin/shared/utils/Id.js.map +1 -0
  1776. package/bin/shared/utils/Template.d.ts +17 -0
  1777. package/bin/shared/utils/Template.d.ts.map +1 -0
  1778. package/bin/shared/utils/Template.js +24 -0
  1779. package/bin/shared/utils/Template.js.map +1 -0
  1780. package/bin/shared/utils/Time.d.ts +15 -0
  1781. package/bin/shared/utils/Time.d.ts.map +1 -0
  1782. package/bin/shared/utils/Time.js +69 -0
  1783. package/bin/shared/utils/Time.js.map +1 -0
  1784. package/bin/shared/utils/cli/CliOutput.d.ts +51 -0
  1785. package/bin/shared/utils/cli/CliOutput.d.ts.map +1 -0
  1786. package/bin/shared/utils/cli/CliOutput.js +117 -0
  1787. package/bin/shared/utils/cli/CliOutput.js.map +1 -0
  1788. package/bin/shared/utils/cli/Spinner.d.ts +80 -0
  1789. package/bin/shared/utils/cli/Spinner.d.ts.map +1 -0
  1790. package/bin/shared/utils/cli/Spinner.js +109 -0
  1791. package/bin/shared/utils/cli/Spinner.js.map +1 -0
  1792. package/bin/shared/utils/logger/Fetch.d.ts +14 -0
  1793. package/bin/shared/utils/logger/Fetch.d.ts.map +1 -0
  1794. package/bin/shared/utils/logger/Fetch.js +68 -0
  1795. package/bin/shared/utils/logger/Fetch.js.map +1 -0
  1796. package/bin/shared/utils/logger/Format.d.ts +11 -0
  1797. package/bin/shared/utils/logger/Format.d.ts.map +1 -0
  1798. package/bin/shared/utils/logger/Format.js +10 -0
  1799. package/bin/shared/utils/logger/Format.js.map +1 -0
  1800. package/bin/shared/utils/logger/FormatRequest.d.ts +29 -0
  1801. package/bin/shared/utils/logger/FormatRequest.d.ts.map +1 -0
  1802. package/bin/shared/utils/logger/FormatRequest.js +309 -0
  1803. package/bin/shared/utils/logger/FormatRequest.js.map +1 -0
  1804. package/bin/shared/utils/logger/FormatResponse.d.ts +46 -0
  1805. package/bin/shared/utils/logger/FormatResponse.d.ts.map +1 -0
  1806. package/bin/shared/utils/logger/FormatResponse.js +186 -0
  1807. package/bin/shared/utils/logger/FormatResponse.js.map +1 -0
  1808. package/bin/shared/utils/logger/FormatShared.d.ts +33 -0
  1809. package/bin/shared/utils/logger/FormatShared.d.ts.map +1 -0
  1810. package/bin/shared/utils/logger/FormatShared.js +215 -0
  1811. package/bin/shared/utils/logger/FormatShared.js.map +1 -0
  1812. package/bin/shared/utils/logger/Logger.d.ts +101 -0
  1813. package/bin/shared/utils/logger/Logger.d.ts.map +1 -0
  1814. package/bin/shared/utils/logger/Logger.js +308 -0
  1815. package/bin/shared/utils/logger/Logger.js.map +1 -0
  1816. package/bin/shared/utils/storage/index.d.ts +5 -0
  1817. package/bin/shared/utils/storage/index.d.ts.map +1 -0
  1818. package/bin/shared/utils/storage/index.js +23 -0
  1819. package/bin/shared/utils/storage/index.js.map +1 -0
  1820. package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts +34 -0
  1821. package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +1 -0
  1822. package/bin/shared/utils/store/StoreChannelAccountRepository.js +198 -0
  1823. package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +1 -0
  1824. package/bin/shared/utils/store/StoreChatAuthRepository.d.ts +26 -0
  1825. package/bin/shared/utils/store/StoreChatAuthRepository.d.ts.map +1 -0
  1826. package/bin/shared/utils/store/StoreChatAuthRepository.js +145 -0
  1827. package/bin/shared/utils/store/StoreChatAuthRepository.js.map +1 -0
  1828. package/bin/shared/utils/store/StoreEnvRepository.d.ts +98 -0
  1829. package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +1 -0
  1830. package/bin/shared/utils/store/StoreEnvRepository.js +334 -0
  1831. package/bin/shared/utils/store/StoreEnvRepository.js.map +1 -0
  1832. package/bin/shared/utils/store/StoreModelRepository.d.ts +61 -0
  1833. package/bin/shared/utils/store/StoreModelRepository.d.ts.map +1 -0
  1834. package/bin/shared/utils/store/StoreModelRepository.js +278 -0
  1835. package/bin/shared/utils/store/StoreModelRepository.js.map +1 -0
  1836. package/bin/shared/utils/store/StoreSchema.d.ts +13 -0
  1837. package/bin/shared/utils/store/StoreSchema.d.ts.map +1 -0
  1838. package/bin/shared/utils/store/StoreSchema.js +514 -0
  1839. package/bin/shared/utils/store/StoreSchema.js.map +1 -0
  1840. package/bin/shared/utils/store/StoreSecureSettings.d.ts +33 -0
  1841. package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +1 -0
  1842. package/bin/shared/utils/store/StoreSecureSettings.js +91 -0
  1843. package/bin/shared/utils/store/StoreSecureSettings.js.map +1 -0
  1844. package/bin/shared/utils/store/StoreShared.d.ts +44 -0
  1845. package/bin/shared/utils/store/StoreShared.d.ts.map +1 -0
  1846. package/bin/shared/utils/store/StoreShared.js +40 -0
  1847. package/bin/shared/utils/store/StoreShared.js.map +1 -0
  1848. package/bin/shared/utils/store/crypto.d.ts +24 -0
  1849. package/bin/shared/utils/store/crypto.d.ts.map +1 -0
  1850. package/bin/shared/utils/store/crypto.js +101 -0
  1851. package/bin/shared/utils/store/crypto.js.map +1 -0
  1852. package/bin/shared/utils/store/index.d.ts +246 -0
  1853. package/bin/shared/utils/store/index.d.ts.map +1 -0
  1854. package/bin/shared/utils/store/index.js +383 -0
  1855. package/bin/shared/utils/store/index.js.map +1 -0
  1856. package/bin/shared/utils/store/schema.d.ts +690 -0
  1857. package/bin/shared/utils/store/schema.d.ts.map +1 -0
  1858. package/bin/shared/utils/store/schema.js +81 -0
  1859. package/bin/shared/utils/store/schema.js.map +1 -0
  1860. package/bin/types/agent/AgentContext.d.ts +345 -0
  1861. package/bin/types/agent/AgentContext.d.ts.map +1 -0
  1862. package/bin/types/agent/AgentContext.js +10 -0
  1863. package/bin/types/agent/AgentContext.js.map +1 -0
  1864. package/bin/types/agent/AgentRuntime.d.ts +81 -0
  1865. package/bin/types/agent/AgentRuntime.d.ts.map +1 -0
  1866. package/bin/types/agent/AgentRuntime.js +10 -0
  1867. package/bin/types/agent/AgentRuntime.js.map +1 -0
  1868. package/bin/types/chat/ChatSession.d.ts +30 -0
  1869. package/bin/types/chat/ChatSession.d.ts.map +1 -0
  1870. package/bin/types/chat/ChatSession.js +9 -0
  1871. package/bin/types/chat/ChatSession.js.map +1 -0
  1872. package/bin/types/city/PublicHostEnv.d.ts +72 -0
  1873. package/bin/types/city/PublicHostEnv.d.ts.map +1 -0
  1874. package/bin/types/city/PublicHostEnv.js +9 -0
  1875. package/bin/types/city/PublicHostEnv.js.map +1 -0
  1876. package/bin/types/cli/AgentChat.d.ts +147 -0
  1877. package/bin/types/cli/AgentChat.d.ts.map +1 -0
  1878. package/bin/types/cli/AgentChat.js +12 -0
  1879. package/bin/types/cli/AgentChat.js.map +1 -0
  1880. package/bin/types/cli/AgentHistory.d.ts +127 -0
  1881. package/bin/types/cli/AgentHistory.d.ts.map +1 -0
  1882. package/bin/types/cli/AgentHistory.js +9 -0
  1883. package/bin/types/cli/AgentHistory.js.map +1 -0
  1884. package/bin/types/cli/AgentManager.d.ts +113 -0
  1885. package/bin/types/cli/AgentManager.d.ts.map +1 -0
  1886. package/bin/types/cli/AgentManager.js +9 -0
  1887. package/bin/types/cli/AgentManager.js.map +1 -0
  1888. package/bin/types/cli/AgentSelection.d.ts +146 -0
  1889. package/bin/types/cli/AgentSelection.d.ts.map +1 -0
  1890. package/bin/types/cli/AgentSelection.js +9 -0
  1891. package/bin/types/cli/AgentSelection.js.map +1 -0
  1892. package/bin/types/cli/ChatManager.d.ts +64 -0
  1893. package/bin/types/cli/ChatManager.d.ts.map +1 -0
  1894. package/bin/types/cli/ChatManager.js +9 -0
  1895. package/bin/types/cli/ChatManager.js.map +1 -0
  1896. package/bin/types/cli/CliError.d.ts +62 -0
  1897. package/bin/types/cli/CliError.d.ts.map +1 -0
  1898. package/bin/types/cli/CliError.js +30 -0
  1899. package/bin/types/cli/CliError.js.map +1 -0
  1900. package/bin/types/cli/CliReporter.d.ts +157 -0
  1901. package/bin/types/cli/CliReporter.d.ts.map +1 -0
  1902. package/bin/types/cli/CliReporter.js +10 -0
  1903. package/bin/types/cli/CliReporter.js.map +1 -0
  1904. package/bin/types/cli/ModelManager.d.ts +127 -0
  1905. package/bin/types/cli/ModelManager.d.ts.map +1 -0
  1906. package/bin/types/cli/ModelManager.js +9 -0
  1907. package/bin/types/cli/ModelManager.js.map +1 -0
  1908. package/bin/types/contact/Contact.d.ts +78 -0
  1909. package/bin/types/contact/Contact.d.ts.map +1 -0
  1910. package/bin/types/contact/Contact.js +9 -0
  1911. package/bin/types/contact/Contact.js.map +1 -0
  1912. package/bin/types/contact/ContactApproval.d.ts +145 -0
  1913. package/bin/types/contact/ContactApproval.d.ts.map +1 -0
  1914. package/bin/types/contact/ContactApproval.js +9 -0
  1915. package/bin/types/contact/ContactApproval.js.map +1 -0
  1916. package/bin/types/contact/ContactChat.d.ts +46 -0
  1917. package/bin/types/contact/ContactChat.d.ts.map +1 -0
  1918. package/bin/types/contact/ContactChat.js +9 -0
  1919. package/bin/types/contact/ContactChat.js.map +1 -0
  1920. package/bin/types/contact/ContactCheck.d.ts +66 -0
  1921. package/bin/types/contact/ContactCheck.d.ts.map +1 -0
  1922. package/bin/types/contact/ContactCheck.js +9 -0
  1923. package/bin/types/contact/ContactCheck.js.map +1 -0
  1924. package/bin/types/contact/ContactCommand.d.ts +93 -0
  1925. package/bin/types/contact/ContactCommand.d.ts.map +1 -0
  1926. package/bin/types/contact/ContactCommand.js +8 -0
  1927. package/bin/types/contact/ContactCommand.js.map +1 -0
  1928. package/bin/types/contact/ContactEndpoint.d.ts +12 -0
  1929. package/bin/types/contact/ContactEndpoint.d.ts.map +1 -0
  1930. package/bin/types/contact/ContactEndpoint.js +9 -0
  1931. package/bin/types/contact/ContactEndpoint.js.map +1 -0
  1932. package/bin/types/contact/ContactLink.d.ts +160 -0
  1933. package/bin/types/contact/ContactLink.d.ts.map +1 -0
  1934. package/bin/types/contact/ContactLink.js +9 -0
  1935. package/bin/types/contact/ContactLink.js.map +1 -0
  1936. package/bin/types/contact/ContactShare.d.ts +163 -0
  1937. package/bin/types/contact/ContactShare.d.ts.map +1 -0
  1938. package/bin/types/contact/ContactShare.js +9 -0
  1939. package/bin/types/contact/ContactShare.js.map +1 -0
  1940. package/bin/types/sandbox/SandboxRuntime.d.ts +318 -0
  1941. package/bin/types/sandbox/SandboxRuntime.d.ts.map +1 -0
  1942. package/bin/types/sandbox/SandboxRuntime.js +10 -0
  1943. package/bin/types/sandbox/SandboxRuntime.js.map +1 -0
  1944. package/bin/types/session/SessionExecutor.d.ts +18 -0
  1945. package/bin/types/session/SessionExecutor.d.ts.map +1 -0
  1946. package/bin/types/session/SessionExecutor.js +9 -0
  1947. package/bin/types/session/SessionExecutor.js.map +1 -0
  1948. package/bin/types/session/SessionHistoryMeta.d.ts +26 -0
  1949. package/bin/types/session/SessionHistoryMeta.d.ts.map +1 -0
  1950. package/bin/types/session/SessionHistoryMeta.js +9 -0
  1951. package/bin/types/session/SessionHistoryMeta.js.map +1 -0
  1952. package/bin/types/session/SessionHistoryPaths.d.ts +30 -0
  1953. package/bin/types/session/SessionHistoryPaths.d.ts.map +1 -0
  1954. package/bin/types/session/SessionHistoryPaths.js +2 -0
  1955. package/bin/types/session/SessionHistoryPaths.js.map +1 -0
  1956. package/bin/types/session/SessionLoop.d.ts +79 -0
  1957. package/bin/types/session/SessionLoop.d.ts.map +1 -0
  1958. package/bin/types/session/SessionLoop.js +9 -0
  1959. package/bin/types/session/SessionLoop.js.map +1 -0
  1960. package/bin/types/session/SessionMessages.d.ts +83 -0
  1961. package/bin/types/session/SessionMessages.d.ts.map +1 -0
  1962. package/bin/types/session/SessionMessages.js +10 -0
  1963. package/bin/types/session/SessionMessages.js.map +1 -0
  1964. package/bin/types/session/SessionPrompts.d.ts +13 -0
  1965. package/bin/types/session/SessionPrompts.d.ts.map +1 -0
  1966. package/bin/types/session/SessionPrompts.js +9 -0
  1967. package/bin/types/session/SessionPrompts.js.map +1 -0
  1968. package/bin/types/session/SessionRun.d.ts +100 -0
  1969. package/bin/types/session/SessionRun.d.ts.map +1 -0
  1970. package/bin/types/session/SessionRun.js +10 -0
  1971. package/bin/types/session/SessionRun.js.map +1 -0
  1972. package/bin/types/shell/ShellRuntime.d.ts +91 -0
  1973. package/bin/types/shell/ShellRuntime.d.ts.map +1 -0
  1974. package/bin/types/shell/ShellRuntime.js +10 -0
  1975. package/bin/types/shell/ShellRuntime.js.map +1 -0
  1976. package/bin/types/task/TaskRunner.d.ts +186 -0
  1977. package/bin/types/task/TaskRunner.d.ts.map +1 -0
  1978. package/bin/types/task/TaskRunner.js +9 -0
  1979. package/bin/types/task/TaskRunner.js.map +1 -0
  1980. package/package.json +60 -0
  1981. package/public/app.js +424 -0
  1982. package/public/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2 +0 -0
  1983. package/public/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2 +0 -0
  1984. package/public/assets/geist-latin-wght-normal-Dm3htQBi.woff2 +0 -0
  1985. package/public/image.png +0 -0
  1986. package/public/index.html +15 -0
  1987. package/public/styles.css +1 -0
  1988. package/scripts/bump-patch.mjs +29 -0
  1989. package/scripts/copy-prompt-assets.mjs +72 -0
  1990. package/scripts/ensure-cli-executable.mjs +20 -0
  1991. package/scripts/lint-import-boundaries.mjs +142 -0
  1992. package/src/agent/AgentContext.ts +181 -0
  1993. package/src/agent/AgentRuntime.ts +348 -0
  1994. package/src/agent/AgentRuntimeState.ts +149 -0
  1995. package/src/agent/project/AgentInitializer.ts +382 -0
  1996. package/src/agent/project/ProjectExecutionBinding.ts +53 -0
  1997. package/src/cli/AgentChat.ts +415 -0
  1998. package/src/cli/AgentHistory.ts +187 -0
  1999. package/src/cli/AgentManager.ts +667 -0
  2000. package/src/cli/AgentReset.ts +181 -0
  2001. package/src/cli/AgentSelection.ts +297 -0
  2002. package/src/cli/Alias.ts +138 -0
  2003. package/src/cli/Chat.ts +30 -0
  2004. package/src/cli/ChatAuth.ts +186 -0
  2005. package/src/cli/ChatManager.ts +439 -0
  2006. package/src/cli/CliReporter.ts +362 -0
  2007. package/src/cli/Config.ts +301 -0
  2008. package/src/cli/Console.ts +610 -0
  2009. package/src/cli/ConsoleAuthBootstrap.ts +72 -0
  2010. package/src/cli/ConsoleInit.ts +83 -0
  2011. package/src/cli/Env.ts +556 -0
  2012. package/src/cli/Index.ts +84 -0
  2013. package/src/cli/IndexAgentCommand.ts +303 -0
  2014. package/src/cli/IndexConsoleCommand.ts +211 -0
  2015. package/src/cli/IndexConsoleProcess.ts +497 -0
  2016. package/src/cli/IndexConsoleStatus.ts +152 -0
  2017. package/src/cli/IndexSupport.ts +138 -0
  2018. package/src/cli/Init.ts +291 -0
  2019. package/src/cli/Model.ts +34 -0
  2020. package/src/cli/ModelCommandShared.ts +126 -0
  2021. package/src/cli/ModelCreateCommand.ts +424 -0
  2022. package/src/cli/ModelManageCommand.ts +516 -0
  2023. package/src/cli/ModelManager.ts +631 -0
  2024. package/src/cli/ModelReadCommand.ts +207 -0
  2025. package/src/cli/ModelSupport.ts +223 -0
  2026. package/src/cli/Plugins.ts +568 -0
  2027. package/src/cli/PortHints.ts +80 -0
  2028. package/src/cli/PublicAccess.ts +106 -0
  2029. package/src/cli/PublicHostEnv.ts +116 -0
  2030. package/src/cli/Reset.ts +93 -0
  2031. package/src/cli/Restart.ts +68 -0
  2032. package/src/cli/Run.ts +153 -0
  2033. package/src/cli/ServiceCommandRemote.ts +230 -0
  2034. package/src/cli/ServiceCommandSupport.ts +275 -0
  2035. package/src/cli/ServiceScheduleCommand.ts +305 -0
  2036. package/src/cli/Services.ts +189 -0
  2037. package/src/cli/Start.ts +72 -0
  2038. package/src/cli/Status.ts +116 -0
  2039. package/src/cli/Stop.ts +45 -0
  2040. package/src/cli/Token.ts +702 -0
  2041. package/src/cli/Update.ts +183 -0
  2042. package/src/config/Config.ts +251 -0
  2043. package/src/config/Paths.ts +260 -0
  2044. package/src/console/AgentStatusApiRoutes.ts +225 -0
  2045. package/src/console/ChannelAccountApiRoutes.ts +119 -0
  2046. package/src/console/ChannelAccountService.ts +9 -0
  2047. package/src/console/ConsoleClient.ts +293 -0
  2048. package/src/console/ConsoleGateway.ts +463 -0
  2049. package/src/console/ConsoleGatewayRoutes.ts +495 -0
  2050. package/src/console/EnvApiRoutes.ts +257 -0
  2051. package/src/console/InlineInstantRoutes.ts +74 -0
  2052. package/src/console/InlineInstantSessionService.ts +276 -0
  2053. package/src/console/InlineInstantSystemComposer.ts +58 -0
  2054. package/src/console/ModelApiRoutes.ts +336 -0
  2055. package/src/console/ModelPoolService.ts +395 -0
  2056. package/src/console/PluginApiRoutes.ts +453 -0
  2057. package/src/console/gateway/AgentActions.ts +413 -0
  2058. package/src/console/gateway/AgentCatalog.ts +606 -0
  2059. package/src/console/gateway/FrontendAssets.ts +79 -0
  2060. package/src/console/gateway/GatewaySupport.ts +59 -0
  2061. package/src/console/gateway/Proxy.ts +62 -0
  2062. package/src/daemon/Api.ts +64 -0
  2063. package/src/daemon/CliArgs.ts +39 -0
  2064. package/src/daemon/Client.ts +182 -0
  2065. package/src/daemon/Manager.ts +344 -0
  2066. package/src/daemon/PortAllocator.ts +64 -0
  2067. package/src/daemon/ProjectSetup.ts +126 -0
  2068. package/src/http/Server.ts +170 -0
  2069. package/src/http/auth/AuthEnv.ts +71 -0
  2070. package/src/http/auth/AuthError.ts +31 -0
  2071. package/src/http/auth/AuthMiddleware.ts +61 -0
  2072. package/src/http/auth/AuthRoutes.ts +100 -0
  2073. package/src/http/auth/AuthService.ts +367 -0
  2074. package/src/http/auth/AuthStore.ts +572 -0
  2075. package/src/http/auth/CliAuthStateStore.ts +50 -0
  2076. package/src/http/auth/PasswordHasher.ts +37 -0
  2077. package/src/http/auth/RoutePolicy.ts +255 -0
  2078. package/src/http/auth/TokenService.ts +36 -0
  2079. package/src/http/dashboard/AuthDashboardService.ts +161 -0
  2080. package/src/http/dashboard/CommonHelpers.ts +50 -0
  2081. package/src/http/dashboard/DashboardApiRoutes.ts +30 -0
  2082. package/src/http/dashboard/DashboardAuthorizationRoutes.ts +101 -0
  2083. package/src/http/dashboard/ExecuteBySession.ts +152 -0
  2084. package/src/http/dashboard/ExecuteInput.ts +236 -0
  2085. package/src/http/dashboard/Helpers.ts +22 -0
  2086. package/src/http/dashboard/MessageTimeline.ts +269 -0
  2087. package/src/http/dashboard/ModelRoutes.ts +102 -0
  2088. package/src/http/dashboard/OverviewRoutes.ts +101 -0
  2089. package/src/http/dashboard/Router.ts +26 -0
  2090. package/src/http/dashboard/SessionRoutes.ts +402 -0
  2091. package/src/http/dashboard/SessionSummaryStore.ts +76 -0
  2092. package/src/http/dashboard/TaskRoutes.ts +372 -0
  2093. package/src/http/dashboard/TaskStore.ts +222 -0
  2094. package/src/http/execute/execute.ts +120 -0
  2095. package/src/http/health/health.ts +27 -0
  2096. package/src/http/plugins/plugins.ts +67 -0
  2097. package/src/http/services/services.ts +94 -0
  2098. package/src/http/static/static.ts +104 -0
  2099. package/src/model/CreateModel.ts +343 -0
  2100. package/src/model/ModelCommand.ts +95 -0
  2101. package/src/model/ModelManager.ts +242 -0
  2102. package/src/plugin/Activation.ts +22 -0
  2103. package/src/plugin/Catalog.ts +118 -0
  2104. package/src/plugin/HookRegistry.ts +249 -0
  2105. package/src/plugin/HttpRoutes.ts +50 -0
  2106. package/src/plugin/Lifecycle.ts +116 -0
  2107. package/src/plugin/LocalExecution.ts +157 -0
  2108. package/src/plugin/PluginCommand.ts +220 -0
  2109. package/src/plugin/PluginManager.ts +66 -0
  2110. package/src/plugin/PluginRegistry.ts +244 -0
  2111. package/src/plugin/Plugins.ts +39 -0
  2112. package/src/plugin/ProjectConfigStore.ts +58 -0
  2113. package/src/plugins/asr/Dependency.ts +336 -0
  2114. package/src/plugins/asr/ModelCatalog.ts +43 -0
  2115. package/src/plugins/asr/Plugin.ts +640 -0
  2116. package/src/plugins/auth/Plugin.ts +208 -0
  2117. package/src/plugins/auth/runtime/AuthorizationConfig.ts +336 -0
  2118. package/src/plugins/auth/runtime/AuthorizationPolicy.ts +168 -0
  2119. package/src/plugins/auth/runtime/AuthorizationStore.ts +218 -0
  2120. package/src/plugins/skill/Action.ts +159 -0
  2121. package/src/plugins/skill/Command.ts +98 -0
  2122. package/src/plugins/skill/Config.ts +51 -0
  2123. package/src/plugins/skill/PROMPT.txt +10 -0
  2124. package/src/plugins/skill/Plugin.ts +355 -0
  2125. package/src/plugins/skill/runtime/Discovery.ts +141 -0
  2126. package/src/plugins/skill/runtime/Frontmatter.ts +17 -0
  2127. package/src/plugins/skill/runtime/Paths.ts +130 -0
  2128. package/src/plugins/skill/runtime/Prompt.ts +67 -0
  2129. package/src/plugins/skill/runtime/Store.ts +95 -0
  2130. package/src/plugins/skill/runtime/SystemProvider.ts +52 -0
  2131. package/src/plugins/skill/runtime/Types.ts +22 -0
  2132. package/src/plugins/skill/runtime/Utils.ts +28 -0
  2133. package/src/plugins/tts/Dependency.ts +473 -0
  2134. package/src/plugins/tts/Plugin.ts +554 -0
  2135. package/src/plugins/tts/runtime/Catalog.ts +97 -0
  2136. package/src/plugins/tts/runtime/DependencyInstaller.ts +436 -0
  2137. package/src/plugins/tts/runtime/Installer.ts +297 -0
  2138. package/src/plugins/tts/runtime/Paths.ts +39 -0
  2139. package/src/plugins/tts/runtime/Synthesizer.ts +480 -0
  2140. package/src/plugins/voice/Dependency.ts +329 -0
  2141. package/src/plugins/voice/ModelCatalog.ts +43 -0
  2142. package/src/plugins/voice/Plugin.ts +599 -0
  2143. package/src/plugins/voice/runtime/Catalog.ts +68 -0
  2144. package/src/plugins/voice/runtime/DependencyInstaller.ts +505 -0
  2145. package/src/plugins/voice/runtime/Installer.ts +324 -0
  2146. package/src/plugins/voice/runtime/Paths.ts +26 -0
  2147. package/src/plugins/voice/runtime/Transcriber.ts +467 -0
  2148. package/src/plugins/web/Dependency.ts +17 -0
  2149. package/src/plugins/web/PROMPT.agent-browser.txt +17 -0
  2150. package/src/plugins/web/PROMPT.txt +33 -0
  2151. package/src/plugins/web/PROMPT.web-access.txt +13 -0
  2152. package/src/plugins/web/Plugin.ts +516 -0
  2153. package/src/plugins/web/runtime/Config.ts +105 -0
  2154. package/src/plugins/web/runtime/Source.ts +263 -0
  2155. package/src/plugins/workboard/Plugin.ts +81 -0
  2156. package/src/plugins/workboard/runtime/Collector.ts +78 -0
  2157. package/src/plugins/workboard/runtime/Normalizer.ts +213 -0
  2158. package/src/plugins/workboard/runtime/Store.ts +110 -0
  2159. package/src/plugins/workboard/types/Workboard.ts +158 -0
  2160. package/src/registry/AgentHostRuntime.ts +65 -0
  2161. package/src/registry/CityPaths.ts +101 -0
  2162. package/src/registry/CityRegistry.ts +256 -0
  2163. package/src/registry/CityRuntime.ts +45 -0
  2164. package/src/registry/PluginRuntime.ts +42 -0
  2165. package/src/registry/ProcessSweep.ts +256 -0
  2166. package/src/rpc/Client.ts +110 -0
  2167. package/src/rpc/Paths.ts +43 -0
  2168. package/src/rpc/Server.ts +395 -0
  2169. package/src/rpc/Transport.ts +40 -0
  2170. package/src/runtime/AgentHostRuntime.ts +65 -0
  2171. package/src/runtime/CityPaths.ts +101 -0
  2172. package/src/runtime/CityRegistry.ts +256 -0
  2173. package/src/runtime/CityRuntime.ts +45 -0
  2174. package/src/runtime/PluginRuntime.ts +42 -0
  2175. package/src/runtime/ProcessSweep.ts +256 -0
  2176. package/src/sandbox/MacOsSeatbeltSandbox.ts +196 -0
  2177. package/src/sandbox/SandboxConfigResolver.ts +134 -0
  2178. package/src/sandbox/SandboxRunner.ts +101 -0
  2179. package/src/service/Manager.ts +25 -0
  2180. package/src/service/ServiceActionApi.ts +304 -0
  2181. package/src/service/ServiceActionRunner.ts +272 -0
  2182. package/src/service/ServiceClassRegistry.ts +77 -0
  2183. package/src/service/ServiceCommand.ts +413 -0
  2184. package/src/service/ServiceManager.ts +20 -0
  2185. package/src/service/ServiceStateController.ts +316 -0
  2186. package/src/service/ServiceSystemProviders.ts +50 -0
  2187. package/src/service/Services.ts +33 -0
  2188. package/src/service/schedule/Executor.ts +54 -0
  2189. package/src/service/schedule/Runtime.ts +78 -0
  2190. package/src/service/schedule/Schema.ts +34 -0
  2191. package/src/service/schedule/Store.ts +316 -0
  2192. package/src/service/schedule/Time.ts +131 -0
  2193. package/src/services/BaseService.ts +85 -0
  2194. package/src/services/README.md +100 -0
  2195. package/src/services/chat/Action.ts +477 -0
  2196. package/src/services/chat/ChatService.ts +111 -0
  2197. package/src/services/chat/Index.ts +9 -0
  2198. package/src/services/chat/PROMPT.direct.txt +55 -0
  2199. package/src/services/chat/accounts/ChannelAccountService.ts +317 -0
  2200. package/src/services/chat/channels/BaseChatChannel.ts +450 -0
  2201. package/src/services/chat/channels/BaseChatChannelQueue.ts +321 -0
  2202. package/src/services/chat/channels/BaseChatChannelSupport.ts +321 -0
  2203. package/src/services/chat/channels/BotInfoProvider.ts +49 -0
  2204. package/src/services/chat/channels/Configuration.ts +35 -0
  2205. package/src/services/chat/channels/ConfigurationRegistry.ts +43 -0
  2206. package/src/services/chat/channels/feishu/BotInfo.ts +199 -0
  2207. package/src/services/chat/channels/feishu/Configuration.ts +65 -0
  2208. package/src/services/chat/channels/feishu/Feishu.ts +634 -0
  2209. package/src/services/chat/channels/feishu/FeishuInbound.ts +51 -0
  2210. package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
  2211. package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
  2212. package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
  2213. package/src/services/chat/channels/feishu/InboundAttachment.ts +261 -0
  2214. package/src/services/chat/channels/feishu/PROMPT.direct.txt +5 -0
  2215. package/src/services/chat/channels/feishu/PostMessage.ts +492 -0
  2216. package/src/services/chat/channels/feishu/ReplyContext.ts +68 -0
  2217. package/src/services/chat/channels/feishu/Shared.ts +94 -0
  2218. package/src/services/chat/channels/qq/BotInfo.ts +137 -0
  2219. package/src/services/chat/channels/qq/Configuration.ts +64 -0
  2220. package/src/services/chat/channels/qq/PROMPT.direct.txt +11 -0
  2221. package/src/services/chat/channels/qq/QQ.ts +633 -0
  2222. package/src/services/chat/channels/qq/QQEventCapture.ts +88 -0
  2223. package/src/services/chat/channels/qq/QQGatewayAuth.ts +318 -0
  2224. package/src/services/chat/channels/qq/QQGatewayClient.ts +641 -0
  2225. package/src/services/chat/channels/qq/QQGatewaySend.ts +258 -0
  2226. package/src/services/chat/channels/qq/QQGatewaySupport.ts +159 -0
  2227. package/src/services/chat/channels/qq/QQInbound.ts +262 -0
  2228. package/src/services/chat/channels/qq/QQInboundDedupe.ts +126 -0
  2229. package/src/services/chat/channels/qq/QQSendSupport.ts +91 -0
  2230. package/src/services/chat/channels/qq/QQSupport.ts +263 -0
  2231. package/src/services/chat/channels/qq/VoiceInput.ts +381 -0
  2232. package/src/services/chat/channels/telegram/ApiClient.ts +373 -0
  2233. package/src/services/chat/channels/telegram/Bot.ts +652 -0
  2234. package/src/services/chat/channels/telegram/BotInfo.ts +92 -0
  2235. package/src/services/chat/channels/telegram/Configuration.ts +65 -0
  2236. package/src/services/chat/channels/telegram/Handlers.ts +91 -0
  2237. package/src/services/chat/channels/telegram/PROMPT.direct.txt +1 -0
  2238. package/src/services/chat/channels/telegram/ReplyContext.ts +76 -0
  2239. package/src/services/chat/channels/telegram/Shared.ts +404 -0
  2240. package/src/services/chat/channels/telegram/StateStore.ts +58 -0
  2241. package/src/services/chat/channels/telegram/TelegramInbound.ts +186 -0
  2242. package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
  2243. package/src/services/chat/runtime/ChannelContextStore.ts +395 -0
  2244. package/src/services/chat/runtime/ChatActionExecution.ts +362 -0
  2245. package/src/services/chat/runtime/ChatActionInput.ts +590 -0
  2246. package/src/services/chat/runtime/ChatChannelActions.ts +313 -0
  2247. package/src/services/chat/runtime/ChatChannelConfig.ts +334 -0
  2248. package/src/services/chat/runtime/ChatChannelCore.ts +112 -0
  2249. package/src/services/chat/runtime/ChatChannelFacade.ts +23 -0
  2250. package/src/services/chat/runtime/ChatChannelLifecycle.ts +165 -0
  2251. package/src/services/chat/runtime/ChatHistoryStore.ts +289 -0
  2252. package/src/services/chat/runtime/ChatIngressStore.ts +88 -0
  2253. package/src/services/chat/runtime/ChatMessageMarkup.ts +263 -0
  2254. package/src/services/chat/runtime/ChatMetaStore.ts +186 -0
  2255. package/src/services/chat/runtime/ChatQueue.ts +77 -0
  2256. package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +191 -0
  2257. package/src/services/chat/runtime/ChatQueueSessionBridge.ts +122 -0
  2258. package/src/services/chat/runtime/ChatQueueStore.ts +185 -0
  2259. package/src/services/chat/runtime/ChatQueueWorker.ts +504 -0
  2260. package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
  2261. package/src/services/chat/runtime/ChatSendMetadata.ts +170 -0
  2262. package/src/services/chat/runtime/ChatSendRegistry.ts +43 -0
  2263. package/src/services/chat/runtime/ChatServiceActions.ts +484 -0
  2264. package/src/services/chat/runtime/ChatServiceSystem.ts +119 -0
  2265. package/src/services/chat/runtime/ChatSession.ts +125 -0
  2266. package/src/services/chat/runtime/ChatSessionDelete.ts +95 -0
  2267. package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +106 -0
  2268. package/src/services/chat/runtime/ChatkeySend.ts +187 -0
  2269. package/src/services/chat/runtime/DirectDispatchParser.ts +158 -0
  2270. package/src/services/chat/runtime/EnqueueDispatch.ts +49 -0
  2271. package/src/services/chat/runtime/InboundAugment.ts +63 -0
  2272. package/src/services/chat/runtime/PluginDispatch.ts +89 -0
  2273. package/src/services/chat/runtime/PluginPoints.ts +78 -0
  2274. package/src/services/chat/runtime/QueuedUserMessage.ts +43 -0
  2275. package/src/services/chat/runtime/ReplyContextFormatter.ts +85 -0
  2276. package/src/services/chat/runtime/ReplyDispatch.ts +78 -0
  2277. package/src/services/chat/runtime/SystemPrompt.ts +84 -0
  2278. package/src/services/chat/runtime/UIMessageTransformer.ts +141 -0
  2279. package/src/services/chat/runtime/UserVisibleText.ts +84 -0
  2280. package/src/services/chat/types/BotInfo.ts +101 -0
  2281. package/src/services/chat/types/ChannelAccount.ts +232 -0
  2282. package/src/services/chat/types/ChannelConfiguration.ts +161 -0
  2283. package/src/services/chat/types/ChannelContext.ts +110 -0
  2284. package/src/services/chat/types/ChannelStatus.ts +98 -0
  2285. package/src/services/chat/types/ChatCommand.ts +174 -0
  2286. package/src/services/chat/types/ChatDispatcher.ts +42 -0
  2287. package/src/services/chat/types/ChatHistory.ts +42 -0
  2288. package/src/services/chat/types/ChatMessageMarkup.ts +168 -0
  2289. package/src/services/chat/types/ChatMeta.ts +35 -0
  2290. package/src/services/chat/types/ChatQueue.ts +49 -0
  2291. package/src/services/chat/types/DirectDispatch.ts +133 -0
  2292. package/src/services/chat/types/FeishuAttachment.ts +50 -0
  2293. package/src/services/chat/types/FeishuInboundAttachment.ts +138 -0
  2294. package/src/services/chat/types/FeishuPost.ts +338 -0
  2295. package/src/services/chat/types/QqInboundDedupe.ts +12 -0
  2296. package/src/services/chat/types/QqVoice.ts +126 -0
  2297. package/src/services/chat/types/ReplyContext.ts +49 -0
  2298. package/src/services/contact/Action.ts +9 -0
  2299. package/src/services/contact/ContactService.ts +799 -0
  2300. package/src/services/contact/Index.ts +8 -0
  2301. package/src/services/contact/PROMPT.txt +25 -0
  2302. package/src/services/contact/runtime/ApproveCallback.ts +97 -0
  2303. package/src/services/contact/runtime/ChatRuntime.ts +82 -0
  2304. package/src/services/contact/runtime/ContactStore.ts +299 -0
  2305. package/src/services/contact/runtime/EndpointNotice.ts +125 -0
  2306. package/src/services/contact/runtime/EndpointResolver.ts +146 -0
  2307. package/src/services/contact/runtime/InboxStore.ts +178 -0
  2308. package/src/services/contact/runtime/LinkApproval.ts +387 -0
  2309. package/src/services/contact/runtime/LinkCode.ts +70 -0
  2310. package/src/services/contact/runtime/LinkStore.ts +50 -0
  2311. package/src/services/contact/runtime/Paths.ts +139 -0
  2312. package/src/services/contact/runtime/RemoteClient.ts +137 -0
  2313. package/src/services/contact/runtime/ShareBundle.ts +286 -0
  2314. package/src/services/contact/runtime/SystemProvider.ts +22 -0
  2315. package/src/services/contact/runtime/Token.ts +40 -0
  2316. package/src/services/memory/Action.ts +188 -0
  2317. package/src/services/memory/Index.ts +9 -0
  2318. package/src/services/memory/MemoryService.ts +329 -0
  2319. package/src/services/memory/runtime/Flush.ts +83 -0
  2320. package/src/services/memory/runtime/Indexer.ts +466 -0
  2321. package/src/services/memory/runtime/Search.ts +90 -0
  2322. package/src/services/memory/runtime/Store.ts +370 -0
  2323. package/src/services/memory/runtime/SystemProvider.ts +145 -0
  2324. package/src/services/memory/runtime/Writer.ts +174 -0
  2325. package/src/services/memory/types/Memory.ts +341 -0
  2326. package/src/services/shell/Index.ts +9 -0
  2327. package/src/services/shell/ShellService.ts +199 -0
  2328. package/src/services/shell/runtime/Paths.ts +28 -0
  2329. package/src/services/shell/runtime/ShellActionRuntime.ts +579 -0
  2330. package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +552 -0
  2331. package/src/services/shell/types/ShellService.ts +233 -0
  2332. package/src/services/task/Action.ts +491 -0
  2333. package/src/services/task/Index.ts +9 -0
  2334. package/src/services/task/PROMPT.txt +237 -0
  2335. package/src/services/task/Scheduler.ts +245 -0
  2336. package/src/services/task/TaskService.ts +167 -0
  2337. package/src/services/task/runtime/CronRuntime.ts +73 -0
  2338. package/src/services/task/runtime/CronTrigger.ts +110 -0
  2339. package/src/services/task/runtime/Frontmatter.ts +24 -0
  2340. package/src/services/task/runtime/Model.ts +347 -0
  2341. package/src/services/task/runtime/Paths.ts +116 -0
  2342. package/src/services/task/runtime/Runner.ts +558 -0
  2343. package/src/services/task/runtime/Store.ts +253 -0
  2344. package/src/services/task/runtime/TaskActionExecution.ts +276 -0
  2345. package/src/services/task/runtime/TaskActionInput.ts +463 -0
  2346. package/src/services/task/runtime/TaskRunArtifacts.ts +493 -0
  2347. package/src/services/task/runtime/TaskRunChatDispatch.ts +81 -0
  2348. package/src/services/task/runtime/TaskRunnerProgress.ts +112 -0
  2349. package/src/services/task/runtime/TaskRunnerRound.ts +337 -0
  2350. package/src/services/task/runtime/TaskRunnerSession.ts +167 -0
  2351. package/src/services/task/runtime/TaskServiceActions.ts +248 -0
  2352. package/src/services/task/runtime/TaskServiceSystem.ts +30 -0
  2353. package/src/services/task/types/Cron.ts +16 -0
  2354. package/src/services/task/types/Task.ts +157 -0
  2355. package/src/services/task/types/TaskCommand.ts +165 -0
  2356. package/src/session/Session.ts +237 -0
  2357. package/src/session/SessionRunScope.ts +134 -0
  2358. package/src/session/composer/SessionComposer.ts +34 -0
  2359. package/src/session/composer/compaction/SessionCompactionComposer.ts +68 -0
  2360. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +100 -0
  2361. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
  2362. package/src/session/composer/execution/LocalSessionExecutionComposer.ts +169 -0
  2363. package/src/session/composer/execution/SessionExecutionComposer.ts +71 -0
  2364. package/src/session/composer/history/SessionHistoryComposer.ts +194 -0
  2365. package/src/session/composer/history/SessionHistoryWriter.ts +131 -0
  2366. package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +508 -0
  2367. package/src/session/composer/system/SessionSystemComposer.ts +25 -0
  2368. package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +78 -0
  2369. package/src/session/composer/system/default/InitPrompts.ts +52 -0
  2370. package/src/session/composer/system/default/PromptRenderer.ts +52 -0
  2371. package/src/session/composer/system/default/StaticPromptCatalog.ts +287 -0
  2372. package/src/session/composer/system/default/SystemDomain.ts +405 -0
  2373. package/src/session/composer/system/default/assets/core.prompt.txt +39 -0
  2374. package/src/session/composer/system/default/assets/init/PROFILE.md.txt +17 -0
  2375. package/src/session/composer/system/default/assets/init/SOUL.md.txt +88 -0
  2376. package/src/session/composer/system/default/assets/service.prompt.txt +29 -0
  2377. package/src/session/composer/system/default/assets/task.prompt.txt +33 -0
  2378. package/src/session/composer/system/default/variables/GeoContext.ts +180 -0
  2379. package/src/session/composer/system/default/variables/PromptTypes.ts +37 -0
  2380. package/src/session/composer/system/default/variables/VariableReplacer.ts +154 -0
  2381. package/src/session/executors/local/LocalSessionCore.ts +753 -0
  2382. package/src/session/executors/local/LocalSessionExecutor.ts +89 -0
  2383. package/src/session/executors/local/SessionLoopDecision.ts +80 -0
  2384. package/src/session/executors/local/SessionSignals.ts +416 -0
  2385. package/src/session/ids/resolveSessionId.ts +18 -0
  2386. package/src/session/messages/SessionAttachmentMapper.ts +155 -0
  2387. package/src/session/messages/SessionMessageCodec.ts +116 -0
  2388. package/src/session/messages/SessionMessageLog.ts +39 -0
  2389. package/src/session/messages/SessionStepEventMapper.ts +233 -0
  2390. package/src/session/tools/shell/ShellToolBridge.ts +378 -0
  2391. package/src/session/tools/shell/ShellToolDefinition.ts +509 -0
  2392. package/src/session/tools/shell/ShellToolFormatting.ts +83 -0
  2393. package/src/session/tools/shell/ShellToolSchemas.ts +120 -0
  2394. package/src/shared/constants/DowncityDefault.ts +38 -0
  2395. package/src/shared/constants/DowncitySchema.ts +377 -0
  2396. package/src/shared/types/AgentHost.ts +74 -0
  2397. package/src/shared/types/AgentProject.ts +92 -0
  2398. package/src/shared/types/AuthDashboard.ts +38 -0
  2399. package/src/shared/types/AuthPlugin.ts +545 -0
  2400. package/src/shared/types/ChatPlugin.ts +251 -0
  2401. package/src/shared/types/ChatPromptContext.ts +139 -0
  2402. package/src/shared/types/ChatQueueWorker.ts +25 -0
  2403. package/src/shared/types/ChatRuntime.ts +33 -0
  2404. package/src/shared/types/ChatService.ts +165 -0
  2405. package/src/shared/types/ClaudeSkill.ts +64 -0
  2406. package/src/shared/types/Console.ts +448 -0
  2407. package/src/shared/types/ConsoleGateway.ts +196 -0
  2408. package/src/shared/types/Daemon.ts +53 -0
  2409. package/src/shared/types/DashboardData.ts +392 -0
  2410. package/src/shared/types/DashboardRoutes.ts +31 -0
  2411. package/src/shared/types/DashboardSessionExecute.ts +99 -0
  2412. package/src/shared/types/DowncityConfig.ts +215 -0
  2413. package/src/shared/types/ExecutionBinding.ts +27 -0
  2414. package/src/shared/types/FeishuChannel.ts +131 -0
  2415. package/src/shared/types/InlineInstant.ts +96 -0
  2416. package/src/shared/types/Json.ts +34 -0
  2417. package/src/shared/types/LlmConfig.ts +115 -0
  2418. package/src/shared/types/LocalRpc.ts +72 -0
  2419. package/src/shared/types/ModelBinding.ts +18 -0
  2420. package/src/shared/types/Plugin.ts +743 -0
  2421. package/src/shared/types/PluginApi.ts +157 -0
  2422. package/src/shared/types/PluginLifecycle.ts +35 -0
  2423. package/src/shared/types/QqChannel.ts +501 -0
  2424. package/src/shared/types/QqGatewaySupport.ts +97 -0
  2425. package/src/shared/types/README.md +53 -0
  2426. package/src/shared/types/Sandbox.ts +144 -0
  2427. package/src/shared/types/Service.ts +223 -0
  2428. package/src/shared/types/ServiceSchedule.ts +134 -0
  2429. package/src/shared/types/ServiceState.ts +112 -0
  2430. package/src/shared/types/Services.ts +100 -0
  2431. package/src/shared/types/Shell.ts +103 -0
  2432. package/src/shared/types/SkillCommand.ts +90 -0
  2433. package/src/shared/types/SkillPlugin.ts +107 -0
  2434. package/src/shared/types/SkillRoot.ts +49 -0
  2435. package/src/shared/types/Start.ts +16 -0
  2436. package/src/shared/types/Store.ts +526 -0
  2437. package/src/shared/types/TaskService.ts +55 -0
  2438. package/src/shared/types/Template.ts +9 -0
  2439. package/src/shared/types/Tts.ts +99 -0
  2440. package/src/shared/types/TtsPlugin.ts +164 -0
  2441. package/src/shared/types/Voice.ts +68 -0
  2442. package/src/shared/types/VoicePlugin.ts +194 -0
  2443. package/src/shared/types/WebPlugin.ts +141 -0
  2444. package/src/shared/types/auth/AuthPermission.ts +126 -0
  2445. package/src/shared/types/auth/AuthRoute.ts +31 -0
  2446. package/src/shared/types/auth/AuthToken.ts +47 -0
  2447. package/src/shared/types/auth/AuthTypes.ts +235 -0
  2448. package/src/shared/utils/Id.ts +13 -0
  2449. package/src/shared/utils/README.md +49 -0
  2450. package/src/shared/utils/Template.ts +28 -0
  2451. package/src/shared/utils/Time.ts +77 -0
  2452. package/src/shared/utils/cli/CliOutput.ts +170 -0
  2453. package/src/shared/utils/cli/Spinner.ts +161 -0
  2454. package/src/shared/utils/logger/Fetch.ts +93 -0
  2455. package/src/shared/utils/logger/Format.ts +15 -0
  2456. package/src/shared/utils/logger/FormatRequest.ts +455 -0
  2457. package/src/shared/utils/logger/FormatResponse.ts +265 -0
  2458. package/src/shared/utils/logger/FormatShared.ts +258 -0
  2459. package/src/shared/utils/logger/Logger.ts +372 -0
  2460. package/src/shared/utils/storage/index.ts +26 -0
  2461. package/src/shared/utils/store/StoreChannelAccountRepository.ts +269 -0
  2462. package/src/shared/utils/store/StoreChatAuthRepository.ts +215 -0
  2463. package/src/shared/utils/store/StoreEnvRepository.ts +452 -0
  2464. package/src/shared/utils/store/StoreModelRepository.ts +324 -0
  2465. package/src/shared/utils/store/StoreSchema.ts +567 -0
  2466. package/src/shared/utils/store/StoreSecureSettings.ts +126 -0
  2467. package/src/shared/utils/store/StoreShared.ts +67 -0
  2468. package/src/shared/utils/store/crypto.ts +112 -0
  2469. package/src/shared/utils/store/index.ts +532 -0
  2470. package/src/shared/utils/store/schema.ts +103 -0
  2471. package/src/types/agent/AgentContext.ts +380 -0
  2472. package/src/types/agent/AgentRuntime.ts +86 -0
  2473. package/src/types/chat/ChatSession.ts +32 -0
  2474. package/src/types/city/PublicHostEnv.ts +76 -0
  2475. package/src/types/cli/AgentChat.ts +172 -0
  2476. package/src/types/cli/AgentHistory.ts +146 -0
  2477. package/src/types/cli/AgentManager.ts +119 -0
  2478. package/src/types/cli/AgentSelection.ts +162 -0
  2479. package/src/types/cli/ChatManager.ts +65 -0
  2480. package/src/types/cli/CliError.ts +72 -0
  2481. package/src/types/cli/CliReporter.ts +167 -0
  2482. package/src/types/cli/ModelManager.ts +139 -0
  2483. package/src/types/contact/Contact.ts +82 -0
  2484. package/src/types/contact/ContactApproval.ts +150 -0
  2485. package/src/types/contact/ContactChat.ts +47 -0
  2486. package/src/types/contact/ContactCheck.ts +67 -0
  2487. package/src/types/contact/ContactCommand.ts +98 -0
  2488. package/src/types/contact/ContactEndpoint.ts +16 -0
  2489. package/src/types/contact/ContactLink.ts +169 -0
  2490. package/src/types/contact/ContactShare.ts +172 -0
  2491. package/src/types/sandbox/SandboxRuntime.ts +377 -0
  2492. package/src/types/session/SessionExecutor.ts +33 -0
  2493. package/src/types/session/SessionHistoryMeta.ts +26 -0
  2494. package/src/types/session/SessionHistoryPaths.ts +33 -0
  2495. package/src/types/session/SessionLoop.ts +95 -0
  2496. package/src/types/session/SessionMessages.ts +90 -0
  2497. package/src/types/session/SessionPrompts.ts +14 -0
  2498. package/src/types/session/SessionRun.ts +116 -0
  2499. package/src/types/shell/ShellRuntime.ts +94 -0
  2500. package/src/types/task/TaskRunner.ts +199 -0
  2501. package/tsconfig.json +27 -0
@@ -0,0 +1,186 @@
1
+ /**
2
+ * `city chat auth` CLI 辅助模块。
3
+ *
4
+ * 关键点(中文)
5
+ * - chat authorization 属于 city 全局 chat service 策略。
6
+ * - 授权主体使用 `<platform>:<platformUserId>`,例如 `telegram:12345678`。
7
+ * - 管理员执行 `city chat auth set telegram:12345678` 后交互式选择 role。
8
+ */
9
+
10
+ import prompts from "prompts";
11
+ import type { Command } from "commander";
12
+ import { emitCliBlock } from "./CliReporter.js";
13
+ import { parseBoolean } from "./IndexSupport.js";
14
+ import {
15
+ listChatAuthorizationRoles,
16
+ readChatAuthorizationConfigSync,
17
+ setChatAuthorizationUserRole,
18
+ } from "@/plugins/auth/runtime/AuthorizationConfig.js";
19
+ import { resolveAuthorizedUserRole } from "@/plugins/auth/runtime/AuthorizationPolicy.js";
20
+ import {
21
+ isChatAuthorizationChannel,
22
+ type ChatAuthorizationChannel,
23
+ type ChatAuthorizationRole,
24
+ } from "@/shared/types/AuthPlugin.js";
25
+
26
+ type ChatAuthSetOptions = {
27
+ /**
28
+ * 非交互式直接指定 roleId。
29
+ */
30
+ role?: string;
31
+ /**
32
+ * 是否以 JSON 输出。
33
+ */
34
+ json?: boolean;
35
+ };
36
+
37
+ type ParsedPrincipal = {
38
+ /**
39
+ * 授权主体所在平台。
40
+ */
41
+ channel: ChatAuthorizationChannel;
42
+ /**
43
+ * 平台用户 ID。
44
+ */
45
+ userId: string;
46
+ };
47
+
48
+ function parsePrincipal(principalInput: string): ParsedPrincipal {
49
+ const principal = String(principalInput || "").trim();
50
+ const separator = principal.indexOf(":");
51
+ if (separator <= 0 || separator === principal.length - 1) {
52
+ throw new Error("principal 格式应为 <platform>:<userId>,例如 telegram:12345678");
53
+ }
54
+ const channel = principal.slice(0, separator).trim().toLowerCase();
55
+ const userId = principal.slice(separator + 1).trim();
56
+ if (!isChatAuthorizationChannel(channel)) {
57
+ throw new Error("platform 仅支持 telegram、feishu、qq");
58
+ }
59
+ if (!userId) {
60
+ throw new Error("userId 不能为空");
61
+ }
62
+ return { channel, userId };
63
+ }
64
+
65
+ function findRole(roles: ChatAuthorizationRole[], roleId: string): ChatAuthorizationRole | null {
66
+ return roles.find((role) => role.roleId === roleId) || null;
67
+ }
68
+
69
+ async function chooseRole(params: {
70
+ roles: ChatAuthorizationRole[];
71
+ currentRoleId?: string;
72
+ }): Promise<ChatAuthorizationRole | null> {
73
+ const initial = Math.max(
74
+ 0,
75
+ params.roles.findIndex((role) => role.roleId === params.currentRoleId),
76
+ );
77
+ const response = (await prompts({
78
+ type: "select",
79
+ name: "roleId",
80
+ message: "选择新的 auth role",
81
+ choices: params.roles.map((role) => ({
82
+ title: role.roleId,
83
+ description: `${role.name} · ${role.permissions.length} permissions`,
84
+ value: role.roleId,
85
+ })),
86
+ initial,
87
+ })) as { roleId?: string };
88
+ const roleId = String(response.roleId || "").trim();
89
+ if (!roleId) return null;
90
+ return findRole(params.roles, roleId);
91
+ }
92
+
93
+ /**
94
+ * 设置授权主体角色。
95
+ */
96
+ export async function runChatAuthSet(params: {
97
+ principal: string;
98
+ options?: ChatAuthSetOptions;
99
+ }): Promise<void> {
100
+ const principal = parsePrincipal(params.principal);
101
+ const config = readChatAuthorizationConfigSync();
102
+ const roles = listChatAuthorizationRoles({ config });
103
+ const currentRole = resolveAuthorizedUserRole({
104
+ channel: principal.channel,
105
+ userId: principal.userId,
106
+ authorizationConfig: config,
107
+ });
108
+
109
+ let nextRole: ChatAuthorizationRole | null = null;
110
+ const explicitRoleId = String(params.options?.role || "").trim();
111
+ if (explicitRoleId) {
112
+ nextRole = findRole(roles, explicitRoleId);
113
+ if (!nextRole) throw new Error(`Unknown role: ${explicitRoleId}`);
114
+ } else {
115
+ emitCliBlock({
116
+ tone: "info",
117
+ title: "Chat auth principal",
118
+ facts: [
119
+ { label: "Principal", value: `${principal.channel}:${principal.userId}` },
120
+ { label: "Current role", value: currentRole?.roleId || "default" },
121
+ { label: "Scope", value: "city" },
122
+ ],
123
+ });
124
+ nextRole = await chooseRole({
125
+ roles,
126
+ currentRoleId: currentRole?.roleId,
127
+ });
128
+ }
129
+
130
+ if (!nextRole) return;
131
+
132
+ await setChatAuthorizationUserRole({
133
+ channel: principal.channel,
134
+ userId: principal.userId,
135
+ roleId: nextRole.roleId,
136
+ });
137
+
138
+ emitCliBlock({
139
+ tone: "success",
140
+ title: "Chat auth role updated",
141
+ summary: `${principal.channel}:${principal.userId} -> ${nextRole.roleId}`,
142
+ facts: [
143
+ { label: "Role", value: nextRole.name },
144
+ { label: "Scope", value: "city" },
145
+ ],
146
+ });
147
+ }
148
+
149
+ /**
150
+ * 交互式输入授权主体并设置角色。
151
+ */
152
+ export async function runInteractiveChatAuthSetFlow(options?: ChatAuthSetOptions): Promise<void> {
153
+ const response = (await prompts({
154
+ type: "text",
155
+ name: "principal",
156
+ message: "输入授权主体(例如 telegram:12345678)",
157
+ })) as { principal?: string };
158
+ const principal = String(response.principal || "").trim();
159
+ if (!principal) return;
160
+ await runChatAuthSet({
161
+ principal,
162
+ options,
163
+ });
164
+ }
165
+
166
+ /**
167
+ * 注册 `city chat auth` 命令。
168
+ */
169
+ export function registerChatAuthCommands(chat: Command): void {
170
+ const auth = chat
171
+ .command("auth")
172
+ .description("管理 city 全局 chat authorization")
173
+ .helpOption("--help", "display help for command");
174
+
175
+ auth
176
+ .command("set <principal>")
177
+ .description("给授权主体设置角色,例如:city chat auth set telegram:12345678")
178
+ .option("--role <roleId>", "直接指定 roleId;不传则交互式选择")
179
+ .option("--json [enabled]", "以 JSON 输出", parseBoolean, false)
180
+ .action(async (principal: string, options: ChatAuthSetOptions) => {
181
+ await runChatAuthSet({
182
+ principal,
183
+ options,
184
+ });
185
+ });
186
+ }
@@ -0,0 +1,439 @@
1
+ /**
2
+ * `city chat` 交互式管理器。
3
+ *
4
+ * 关键点(中文)
5
+ * - 裸 `city chat` 进入 chat service 管理,而不是只输出静态 help。
6
+ * - chat channel account 属于 city 级配置,在这里通过“配置 channel”管理。
7
+ * - agent 只绑定 channel account,不在 agent 流程中维护密钥。
8
+ */
9
+
10
+ import prompts from "prompts";
11
+ import type { PromptObject } from "prompts";
12
+ import { emitCliBlock, emitCliList } from "./CliReporter.js";
13
+ import { runServiceControlCommand } from "./ServiceCommandRemote.js";
14
+ import { ChatChannelAccountService } from "@services/chat/accounts/ChannelAccountService.js";
15
+ import type { ChatChannelAccountListItem } from "@services/chat/types/ChannelAccount.js";
16
+ import type { StoredChannelAccountChannel } from "@/shared/types/Store.js";
17
+ import type {
18
+ ChatChannelAccountAction,
19
+ ChatManagerRootAction,
20
+ } from "@/types/cli/ChatManager.js";
21
+ import { runInteractiveChatAuthSetFlow } from "./ChatAuth.js";
22
+
23
+ const CHAT_CHANNELS: StoredChannelAccountChannel[] = ["telegram", "feishu", "qq"];
24
+
25
+ function isInteractiveTerminal(): boolean {
26
+ return process.stdin.isTTY === true && process.stdout.isTTY === true;
27
+ }
28
+
29
+ function formatAccountTitle(account: ChatChannelAccountListItem): string {
30
+ const identity = account.identity ? ` · ${account.identity}` : "";
31
+ return `${account.channel} · ${account.name}${identity}`;
32
+ }
33
+
34
+ function formatCredentialSummary(account: ChatChannelAccountListItem): string {
35
+ const parts: string[] = [];
36
+ if (account.botTokenMasked) parts.push(`botToken ${account.botTokenMasked}`);
37
+ if (account.appIdMasked) parts.push(`appId ${account.appIdMasked}`);
38
+ if (account.appSecretMasked) parts.push(`appSecret ${account.appSecretMasked}`);
39
+ if (account.domain) parts.push(`domain ${account.domain}`);
40
+ if (account.sandbox) parts.push("sandbox");
41
+ return parts.join(" · ") || "no credentials";
42
+ }
43
+
44
+ async function promptRootAction(): Promise<ChatManagerRootAction | null> {
45
+ const service = new ChatChannelAccountService();
46
+ const accounts = await service.list();
47
+ const response = (await prompts({
48
+ type: "select",
49
+ name: "action",
50
+ message: "管理 chat service",
51
+ choices: [
52
+ {
53
+ title: "查看状态",
54
+ description: "查看当前项目 chat service 运行状态",
55
+ value: "status",
56
+ },
57
+ {
58
+ title: "启动",
59
+ description: "启动当前项目 chat service",
60
+ value: "start",
61
+ },
62
+ {
63
+ title: "停止",
64
+ description: "停止当前项目 chat service",
65
+ value: "stop",
66
+ },
67
+ {
68
+ title: "重启",
69
+ description: "重启当前项目 chat service",
70
+ value: "restart",
71
+ },
72
+ {
73
+ title: "配置 channel",
74
+ description: `${accounts.items.length} 个 city 级 channel account`,
75
+ value: "configureChannels",
76
+ },
77
+ {
78
+ title: "退出",
79
+ description: "关闭 chat manager",
80
+ value: "exit",
81
+ },
82
+ ],
83
+ initial: 0,
84
+ })) as { action?: ChatManagerRootAction };
85
+
86
+ return response.action || null;
87
+ }
88
+
89
+ async function promptChannelAccountAction(): Promise<ChatChannelAccountAction | null> {
90
+ const service = new ChatChannelAccountService();
91
+ const accounts = await service.list();
92
+ const response = (await prompts({
93
+ type: "select",
94
+ name: "action",
95
+ message: "配置 chat channel accounts",
96
+ choices: [
97
+ {
98
+ title: "查看 accounts",
99
+ description: `${accounts.items.length} 个已配置账号`,
100
+ value: "list",
101
+ },
102
+ {
103
+ title: "新增 account",
104
+ description: "配置 Telegram、Feishu 或 QQ 账号",
105
+ value: "add",
106
+ },
107
+ {
108
+ title: "编辑 account",
109
+ description: "修改名称、域名或密钥",
110
+ value: "edit",
111
+ },
112
+ {
113
+ title: "删除 account",
114
+ description: "从 city 全局账号池删除",
115
+ value: "remove",
116
+ },
117
+ {
118
+ title: "配置 authorization",
119
+ description: "给平台用户分配 auth role",
120
+ value: "configureAuthorization",
121
+ },
122
+ {
123
+ title: "返回",
124
+ description: "回到 chat service 菜单",
125
+ value: "back",
126
+ },
127
+ ],
128
+ initial: 0,
129
+ })) as { action?: ChatChannelAccountAction };
130
+
131
+ return response.action || null;
132
+ }
133
+
134
+ async function emitChannelAccountList(): Promise<void> {
135
+ const service = new ChatChannelAccountService();
136
+ const { items } = await service.list();
137
+ if (items.length === 0) {
138
+ emitCliBlock({
139
+ tone: "info",
140
+ title: "Chat channel accounts",
141
+ summary: "0 configured",
142
+ note: "在 `city chat` 中选择“配置 channel”后新增 Telegram、Feishu 或 QQ account。",
143
+ });
144
+ return;
145
+ }
146
+
147
+ emitCliList({
148
+ tone: "accent",
149
+ title: "Chat channel accounts",
150
+ summary: `${items.length} configured`,
151
+ items: items.map((account) => ({
152
+ title: formatAccountTitle(account),
153
+ facts: [
154
+ { label: "ID", value: account.id },
155
+ { label: "Credentials", value: formatCredentialSummary(account) },
156
+ { label: "Updated", value: account.updatedAt },
157
+ ],
158
+ })),
159
+ });
160
+ }
161
+
162
+ async function chooseChannel(): Promise<StoredChannelAccountChannel | null> {
163
+ const response = (await prompts({
164
+ type: "select",
165
+ name: "channel",
166
+ message: "选择 channel",
167
+ choices: CHAT_CHANNELS.map((channel) => ({
168
+ title: channel,
169
+ value: channel,
170
+ })),
171
+ initial: 0,
172
+ })) as { channel?: StoredChannelAccountChannel };
173
+
174
+ return response.channel || null;
175
+ }
176
+
177
+ async function chooseAccount(): Promise<ChatChannelAccountListItem | null> {
178
+ const service = new ChatChannelAccountService();
179
+ const { items } = await service.list();
180
+ if (items.length === 0) {
181
+ emitCliBlock({
182
+ tone: "info",
183
+ title: "No city channel accounts found",
184
+ note: "先新增一个 Telegram、Feishu 或 QQ account。",
185
+ });
186
+ return null;
187
+ }
188
+
189
+ const response = (await prompts({
190
+ type: "select",
191
+ name: "id",
192
+ message: "选择 account",
193
+ choices: items.map((account) => ({
194
+ title: formatAccountTitle(account),
195
+ description: `${account.id} · ${formatCredentialSummary(account)}`,
196
+ value: account.id,
197
+ })),
198
+ initial: 0,
199
+ })) as { id?: string };
200
+
201
+ const id = String(response.id || "").trim();
202
+ return items.find((item) => item.id === id) || null;
203
+ }
204
+
205
+ async function promptCredentialFields(params: {
206
+ channel: StoredChannelAccountChannel;
207
+ current?: ChatChannelAccountListItem;
208
+ }): Promise<{
209
+ name?: string;
210
+ botToken?: string;
211
+ appId?: string;
212
+ appSecret?: string;
213
+ domain?: string;
214
+ sandbox?: boolean;
215
+ }> {
216
+ const questions: PromptObject[] = [
217
+ {
218
+ type: "text",
219
+ name: "name",
220
+ message: "账号名称",
221
+ initial: params.current?.name || "",
222
+ },
223
+ ];
224
+
225
+ if (params.channel === "telegram") {
226
+ questions.push({
227
+ type: "password",
228
+ name: "botToken",
229
+ message: params.current ? "Bot Token(留空保持不变)" : "Bot Token",
230
+ });
231
+ }
232
+
233
+ if (params.channel === "feishu" || params.channel === "qq") {
234
+ questions.push(
235
+ {
236
+ type: "text",
237
+ name: "appId",
238
+ message: params.current ? "App ID(留空保持不变)" : "App ID",
239
+ },
240
+ {
241
+ type: "password",
242
+ name: "appSecret",
243
+ message: params.current ? "App Secret(留空保持不变)" : "App Secret",
244
+ },
245
+ );
246
+ }
247
+
248
+ if (params.channel === "feishu") {
249
+ questions.push({
250
+ type: "text",
251
+ name: "domain",
252
+ message: "Domain(可选,例如 open.feishu.cn)",
253
+ initial: params.current?.domain || "",
254
+ });
255
+ }
256
+
257
+ if (params.channel === "qq") {
258
+ questions.push({
259
+ type: "confirm",
260
+ name: "sandbox",
261
+ message: "启用 QQ sandbox?",
262
+ initial: params.current?.sandbox === true,
263
+ });
264
+ }
265
+
266
+ const response = (await prompts(questions)) as {
267
+ name?: string;
268
+ botToken?: string;
269
+ appId?: string;
270
+ appSecret?: string;
271
+ domain?: string;
272
+ sandbox?: boolean;
273
+ };
274
+
275
+ return response;
276
+ }
277
+
278
+ async function addChannelAccount(): Promise<void> {
279
+ const channel = await chooseChannel();
280
+ if (!channel) return;
281
+
282
+ const input = await promptCredentialFields({ channel });
283
+ const name = String(input.name || "").trim();
284
+
285
+ const probeResponse = (await prompts({
286
+ type: "confirm",
287
+ name: "probe",
288
+ message: "保存前探测 bot 信息?",
289
+ initial: true,
290
+ })) as { probe?: boolean };
291
+
292
+ const service = new ChatChannelAccountService();
293
+ const result = await service.create({
294
+ channel,
295
+ name,
296
+ botToken: input.botToken,
297
+ appId: input.appId,
298
+ appSecret: input.appSecret,
299
+ domain: input.domain,
300
+ sandbox: input.sandbox,
301
+ probe: probeResponse.probe !== false,
302
+ });
303
+
304
+ emitCliBlock({
305
+ tone: "success",
306
+ title: "Channel account saved",
307
+ summary: result.id,
308
+ note: result.message || (result.probed ? "bot 信息已探测" : "已按输入信息保存"),
309
+ });
310
+ }
311
+
312
+ async function editChannelAccount(): Promise<void> {
313
+ const account = await chooseAccount();
314
+ if (!account) return;
315
+
316
+ const input = await promptCredentialFields({
317
+ channel: account.channel,
318
+ current: account,
319
+ });
320
+ const service = new ChatChannelAccountService();
321
+ await service.upsert({
322
+ id: account.id,
323
+ channel: account.channel,
324
+ name: String(input.name || account.name).trim(),
325
+ botToken: String(input.botToken || "").trim() || undefined,
326
+ appId: String(input.appId || "").trim() || undefined,
327
+ appSecret: String(input.appSecret || "").trim() || undefined,
328
+ domain: input.domain,
329
+ sandbox: input.sandbox,
330
+ });
331
+
332
+ emitCliBlock({
333
+ tone: "success",
334
+ title: "Channel account updated",
335
+ summary: account.id,
336
+ });
337
+ }
338
+
339
+ async function removeChannelAccount(): Promise<void> {
340
+ const account = await chooseAccount();
341
+ if (!account) return;
342
+
343
+ const response = (await prompts({
344
+ type: "confirm",
345
+ name: "remove",
346
+ message: `删除 ${account.channel} · ${account.name}?`,
347
+ initial: false,
348
+ })) as { remove?: boolean };
349
+
350
+ if (response.remove !== true) return;
351
+
352
+ const service = new ChatChannelAccountService();
353
+ service.remove(account.id);
354
+ emitCliBlock({
355
+ tone: "success",
356
+ title: "Channel account removed",
357
+ summary: account.id,
358
+ });
359
+ }
360
+
361
+ async function runChannelAccountManager(): Promise<void> {
362
+ while (true) {
363
+ const action = await promptChannelAccountAction();
364
+ if (!action || action === "back") return;
365
+
366
+ try {
367
+ if (action === "list") {
368
+ await emitChannelAccountList();
369
+ continue;
370
+ }
371
+ if (action === "add") {
372
+ await addChannelAccount();
373
+ continue;
374
+ }
375
+ if (action === "edit") {
376
+ await editChannelAccount();
377
+ continue;
378
+ }
379
+ if (action === "remove") {
380
+ await removeChannelAccount();
381
+ continue;
382
+ }
383
+ if (action === "configureAuthorization") {
384
+ await runInteractiveChatAuthSetFlow();
385
+ }
386
+ } catch (error) {
387
+ emitCliBlock({
388
+ tone: "error",
389
+ title: "Channel account action failed",
390
+ note: error instanceof Error ? error.message : String(error),
391
+ });
392
+ }
393
+ }
394
+ }
395
+
396
+ async function runChatLifecycleAction(
397
+ action: "start" | "stop" | "restart" | "status",
398
+ ): Promise<void> {
399
+ await runServiceControlCommand({
400
+ serviceName: "chat",
401
+ action,
402
+ options: {
403
+ path: ".",
404
+ json: false,
405
+ },
406
+ });
407
+ }
408
+
409
+ /**
410
+ * 运行 `city chat` 交互式管理器。
411
+ */
412
+ export async function runInteractiveChatManager(): Promise<void> {
413
+ if (!isInteractiveTerminal()) return;
414
+
415
+ while (true) {
416
+ const action = await promptRootAction();
417
+ if (!action || action === "exit") {
418
+ emitCliBlock({
419
+ tone: "info",
420
+ title: "Chat manager closed",
421
+ });
422
+ return;
423
+ }
424
+
425
+ try {
426
+ if (action === "configureChannels") {
427
+ await runChannelAccountManager();
428
+ continue;
429
+ }
430
+ await runChatLifecycleAction(action);
431
+ } catch (error) {
432
+ emitCliBlock({
433
+ tone: "error",
434
+ title: "Chat manager action failed",
435
+ note: error instanceof Error ? error.message : String(error),
436
+ });
437
+ }
438
+ }
439
+ }