@downcity/agent 1.1.35 → 1.1.43

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 (1858) hide show
  1. package/bin/agent/Agent.d.ts +208 -0
  2. package/bin/agent/Agent.d.ts.map +1 -0
  3. package/bin/agent/Agent.js +641 -0
  4. package/bin/agent/Agent.js.map +1 -0
  5. package/bin/agent/RemoteAgent.d.ts +29 -0
  6. package/bin/agent/RemoteAgent.d.ts.map +1 -0
  7. package/bin/agent/RemoteAgent.js +444 -0
  8. package/bin/agent/RemoteAgent.js.map +1 -0
  9. package/bin/config/AgentInitializer.d.ts +39 -0
  10. package/bin/config/AgentInitializer.d.ts.map +1 -0
  11. package/bin/config/AgentInitializer.js +208 -0
  12. package/bin/config/AgentInitializer.js.map +1 -0
  13. package/bin/config/Config.d.ts +16 -0
  14. package/bin/config/Config.d.ts.map +1 -1
  15. package/bin/config/Config.js +33 -67
  16. package/bin/config/Config.js.map +1 -1
  17. package/bin/config/ConfigEnvResolver.d.ts +22 -0
  18. package/bin/config/ConfigEnvResolver.d.ts.map +1 -0
  19. package/bin/config/ConfigEnvResolver.js +41 -0
  20. package/bin/config/ConfigEnvResolver.js.map +1 -0
  21. package/bin/config/Defaults.d.ts +12 -4
  22. package/bin/config/Defaults.d.ts.map +1 -1
  23. package/bin/config/Defaults.js +12 -4
  24. package/bin/config/Defaults.js.map +1 -1
  25. package/bin/config/DowncitySchema.d.ts +18 -0
  26. package/bin/config/DowncitySchema.d.ts.map +1 -1
  27. package/bin/config/DowncitySchema.js +7 -0
  28. package/bin/config/DowncitySchema.js.map +1 -1
  29. package/bin/config/EnvFile.d.ts +31 -0
  30. package/bin/config/EnvFile.d.ts.map +1 -0
  31. package/bin/config/EnvFile.js +89 -0
  32. package/bin/config/EnvFile.js.map +1 -0
  33. package/bin/config/ExecutionBinding.d.ts +24 -5
  34. package/bin/config/ExecutionBinding.d.ts.map +1 -1
  35. package/bin/config/ExecutionBinding.js +24 -5
  36. package/bin/config/ExecutionBinding.js.map +1 -1
  37. package/bin/config/Gitignore.d.ts +21 -0
  38. package/bin/config/Gitignore.d.ts.map +1 -0
  39. package/bin/config/Gitignore.js +46 -0
  40. package/bin/config/Gitignore.js.map +1 -0
  41. package/bin/config/Paths.d.ts +145 -0
  42. package/bin/config/Paths.d.ts.map +1 -1
  43. package/bin/config/Paths.js +154 -5
  44. package/bin/config/Paths.js.map +1 -1
  45. package/bin/config/PlatformPaths.d.ts +35 -0
  46. package/bin/config/PlatformPaths.d.ts.map +1 -0
  47. package/bin/config/PlatformPaths.js +49 -0
  48. package/bin/config/PlatformPaths.js.map +1 -0
  49. package/bin/executor/Executor.js +1 -1
  50. package/bin/executor/Executor.js.map +1 -1
  51. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +1 -1
  52. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -1
  53. package/bin/executor/composer/system/default/SystemDomain.d.ts +1 -1
  54. package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -1
  55. package/bin/executor/composer/system/default/SystemDomain.js +12 -29
  56. package/bin/executor/composer/system/default/SystemDomain.js.map +1 -1
  57. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +1 -1
  58. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -1
  59. package/bin/executor/composer/system/default/assets/plugin.prompt.js +1 -1
  60. package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -1
  61. package/bin/executor/messages/AssistantResultPersistence.js +1 -1
  62. package/bin/executor/messages/AssistantResultPersistence.js.map +1 -1
  63. package/bin/executor/messages/ChatMessageMarkup.d.ts +54 -0
  64. package/bin/executor/messages/ChatMessageMarkup.d.ts.map +1 -0
  65. package/bin/executor/messages/ChatMessageMarkup.js.map +1 -0
  66. package/bin/executor/messages/ChatMessageMarkupTypes.d.ts +144 -0
  67. package/bin/executor/messages/ChatMessageMarkupTypes.d.ts.map +1 -0
  68. package/bin/executor/messages/ChatMessageMarkupTypes.js +9 -0
  69. package/bin/executor/messages/ChatMessageMarkupTypes.js.map +1 -0
  70. package/bin/executor/messages/SessionAttachmentMapper.js +1 -1
  71. package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -1
  72. package/bin/executor/messages/UIMessageTransformer.d.ts +24 -0
  73. package/bin/executor/messages/UIMessageTransformer.d.ts.map +1 -0
  74. package/bin/executor/messages/UIMessageTransformer.js.map +1 -0
  75. package/bin/executor/messages/UserVisibleText.d.ts +34 -0
  76. package/bin/executor/messages/UserVisibleText.d.ts.map +1 -0
  77. package/bin/executor/messages/UserVisibleText.js.map +1 -0
  78. package/bin/executor/tools/shell/ShellToolBridge.d.ts +2 -2
  79. package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -1
  80. package/bin/executor/tools/shell/ShellToolDefinition.d.ts +1 -1
  81. package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -1
  82. package/bin/executor/tools/shell/ShellToolSchemas.d.ts +1 -1
  83. package/bin/executor/tools/shell/types/Shell.d.ts.map +1 -0
  84. package/bin/executor/tools/shell/types/Shell.js.map +1 -0
  85. package/bin/executor/tools/shell/types/ShellPlugin.d.ts.map +1 -0
  86. package/bin/executor/tools/shell/types/ShellPlugin.js.map +1 -0
  87. package/bin/index.d.ts +19 -36
  88. package/bin/index.d.ts.map +1 -1
  89. package/bin/index.js +15 -28
  90. package/bin/index.js.map +1 -1
  91. package/bin/plugin/core/ActionScheduleExecutor.d.ts +18 -0
  92. package/bin/plugin/core/ActionScheduleExecutor.d.ts.map +1 -0
  93. package/bin/plugin/core/ActionScheduleExecutor.js +49 -0
  94. package/bin/plugin/core/ActionScheduleExecutor.js.map +1 -0
  95. package/bin/plugin/core/ActionScheduleRuntime.d.ts +23 -0
  96. package/bin/plugin/core/ActionScheduleRuntime.d.ts.map +1 -0
  97. package/bin/plugin/core/ActionScheduleRuntime.js +61 -0
  98. package/bin/plugin/core/ActionScheduleRuntime.js.map +1 -0
  99. package/bin/plugin/core/ActionScheduleStore.d.ts +92 -0
  100. package/bin/plugin/core/ActionScheduleStore.d.ts.map +1 -0
  101. package/bin/plugin/core/ActionScheduleStore.js +287 -0
  102. package/bin/plugin/core/ActionScheduleStore.js.map +1 -0
  103. package/bin/plugin/core/ActionScheduleTime.d.ts +32 -0
  104. package/bin/plugin/core/ActionScheduleTime.d.ts.map +1 -0
  105. package/bin/plugin/core/ActionScheduleTime.js +108 -0
  106. package/bin/plugin/core/ActionScheduleTime.js.map +1 -0
  107. package/bin/plugin/core/Activation.d.ts +7 -7
  108. package/bin/plugin/core/Activation.d.ts.map +1 -1
  109. package/bin/plugin/core/Activation.js +8 -7
  110. package/bin/plugin/core/Activation.js.map +1 -1
  111. package/bin/plugin/core/BasePlugin.d.ts +3 -3
  112. package/bin/plugin/core/BasePlugin.d.ts.map +1 -1
  113. package/bin/plugin/core/HookRegistry.d.ts +1 -1
  114. package/bin/plugin/core/HookRegistry.d.ts.map +1 -1
  115. package/bin/plugin/core/PluginActionRunner.d.ts +3 -3
  116. package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -1
  117. package/bin/plugin/core/PluginActionRunner.js +3 -3
  118. package/bin/plugin/core/PluginActionRunner.js.map +1 -1
  119. package/bin/plugin/core/PluginCatalog.d.ts +56 -0
  120. package/bin/plugin/core/PluginCatalog.d.ts.map +1 -0
  121. package/bin/plugin/core/PluginCatalog.js +137 -0
  122. package/bin/plugin/core/PluginCatalog.js.map +1 -0
  123. package/bin/plugin/core/PluginCommand.d.ts +9 -5
  124. package/bin/plugin/core/PluginCommand.d.ts.map +1 -1
  125. package/bin/plugin/core/PluginCommand.js +12 -11
  126. package/bin/plugin/core/PluginCommand.js.map +1 -1
  127. package/bin/plugin/core/PluginCommandRequest.d.ts +3 -3
  128. package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -1
  129. package/bin/plugin/core/PluginCommandRequest.js +3 -3
  130. package/bin/plugin/core/PluginCommandRequest.js.map +1 -1
  131. package/bin/plugin/core/PluginHttpRoutes.d.ts +24 -0
  132. package/bin/plugin/core/PluginHttpRoutes.d.ts.map +1 -0
  133. package/bin/plugin/core/PluginHttpRoutes.js +35 -0
  134. package/bin/plugin/core/PluginHttpRoutes.js.map +1 -0
  135. package/bin/plugin/core/PluginLocalExecution.d.ts +33 -0
  136. package/bin/plugin/core/PluginLocalExecution.d.ts.map +1 -0
  137. package/bin/plugin/core/PluginLocalExecution.js +120 -0
  138. package/bin/plugin/core/PluginLocalExecution.js.map +1 -0
  139. package/bin/plugin/core/PluginRegistry.d.ts +1 -1
  140. package/bin/plugin/core/PluginRegistry.d.ts.map +1 -1
  141. package/bin/plugin/core/PluginRegistry.js +2 -12
  142. package/bin/plugin/core/PluginRegistry.js.map +1 -1
  143. package/bin/plugin/core/PluginStateController.d.ts +2 -2
  144. package/bin/plugin/core/PluginStateController.d.ts.map +1 -1
  145. package/bin/plugin/core/PluginStateController.js +3 -4
  146. package/bin/plugin/core/PluginStateController.js.map +1 -1
  147. package/bin/plugin/core/ProjectConfigStore.d.ts +53 -0
  148. package/bin/plugin/core/ProjectConfigStore.d.ts.map +1 -1
  149. package/bin/plugin/core/ProjectConfigStore.js +52 -0
  150. package/bin/plugin/core/ProjectConfigStore.js.map +1 -1
  151. package/bin/plugin/types/ActionSchedule.d.ts +85 -0
  152. package/bin/plugin/types/ActionSchedule.d.ts.map +1 -0
  153. package/bin/plugin/types/ActionSchedule.js +10 -0
  154. package/bin/plugin/types/ActionSchedule.js.map +1 -0
  155. package/bin/plugin/types/Plugin.d.ts +6 -10
  156. package/bin/plugin/types/Plugin.d.ts.map +1 -1
  157. package/bin/runtime/host/daemon/ProjectSetup.d.ts +0 -11
  158. package/bin/runtime/host/daemon/ProjectSetup.d.ts.map +1 -1
  159. package/bin/runtime/host/daemon/ProjectSetup.js +0 -45
  160. package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
  161. package/bin/runtime/sandbox/SandboxConfigResolver.d.ts +1 -1
  162. package/bin/runtime/sandbox/SandboxConfigResolver.d.ts.map +1 -1
  163. package/bin/runtime/sandbox/SandboxRunner.d.ts +1 -1
  164. package/bin/runtime/sandbox/SandboxRunner.d.ts.map +1 -1
  165. package/bin/runtime/server/http/Server.d.ts +3 -3
  166. package/bin/runtime/server/http/Server.d.ts.map +1 -1
  167. package/bin/runtime/server/http/Server.js +7 -5
  168. package/bin/runtime/server/http/Server.js.map +1 -1
  169. package/bin/runtime/server/http/control/AuthControlService.d.ts +9 -5
  170. package/bin/runtime/server/http/control/AuthControlService.d.ts.map +1 -1
  171. package/bin/runtime/server/http/control/AuthControlService.js +11 -2
  172. package/bin/runtime/server/http/control/AuthControlService.js.map +1 -1
  173. package/bin/runtime/server/http/control/ControlApiRoutes.d.ts +1 -1
  174. package/bin/runtime/server/http/control/ControlApiRoutes.d.ts.map +1 -1
  175. package/bin/runtime/server/http/control/ControlApiRoutes.js +1 -3
  176. package/bin/runtime/server/http/control/ControlApiRoutes.js.map +1 -1
  177. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts +1 -1
  178. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts.map +1 -1
  179. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js +1 -2
  180. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js.map +1 -1
  181. package/bin/runtime/server/http/control/ControlRouter.d.ts +2 -2
  182. package/bin/runtime/server/http/control/ControlRouter.d.ts.map +1 -1
  183. package/bin/runtime/server/http/control/ExecuteBySession.d.ts +5 -14
  184. package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
  185. package/bin/runtime/server/http/control/ExecuteBySession.js +3 -64
  186. package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
  187. package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
  188. package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
  189. package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
  190. package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
  191. package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
  192. package/bin/runtime/server/http/control/OverviewRoutes.js +7 -4
  193. package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
  194. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -1
  195. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
  196. package/bin/runtime/server/http/control/SessionSummaryStore.js +0 -12
  197. package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
  198. package/bin/runtime/server/http/control/TaskRoutes.d.ts.map +1 -1
  199. package/bin/runtime/server/http/control/TaskRoutes.js +42 -13
  200. package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
  201. package/bin/runtime/server/http/control/TaskStore.d.ts.map +1 -1
  202. package/bin/runtime/server/http/control/TaskStore.js +20 -2
  203. package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
  204. package/bin/runtime/server/http/control/types/AuthControl.d.ts +5 -5
  205. package/bin/runtime/server/http/control/types/AuthControl.d.ts.map +1 -1
  206. package/bin/runtime/server/http/control/types/ControlRoutes.d.ts +2 -2
  207. package/bin/runtime/server/http/control/types/ControlRoutes.d.ts.map +1 -1
  208. package/bin/runtime/server/http/execute/execute.d.ts +1 -1
  209. package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
  210. package/bin/runtime/server/http/plugins/plugins.d.ts +1 -1
  211. package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
  212. package/bin/runtime/server/http/sdk/Router.d.ts +1 -1
  213. package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
  214. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +1 -1
  215. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
  216. package/bin/runtime/server/http/static/static.d.ts +1 -1
  217. package/bin/runtime/server/http/static/static.d.ts.map +1 -1
  218. package/bin/runtime/server/rpc/Server.d.ts +2 -2
  219. package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
  220. package/bin/runtime/transport/rpc/Paths.d.ts.map +1 -1
  221. package/bin/runtime/transport/rpc/Paths.js +1 -14
  222. package/bin/runtime/transport/rpc/Paths.js.map +1 -1
  223. package/bin/session/Session.d.ts +176 -0
  224. package/bin/session/Session.d.ts.map +1 -0
  225. package/bin/session/Session.js +503 -0
  226. package/bin/session/Session.js.map +1 -0
  227. package/bin/session/SessionEventMapper.d.ts.map +1 -0
  228. package/bin/session/SessionEventMapper.js.map +1 -0
  229. package/bin/session/SessionSystemBuilder.d.ts +106 -0
  230. package/bin/session/SessionSystemBuilder.d.ts.map +1 -0
  231. package/bin/session/SessionSystemBuilder.js.map +1 -0
  232. package/bin/session/browse/Browse.d.ts +76 -0
  233. package/bin/session/browse/Browse.d.ts.map +1 -0
  234. package/bin/session/browse/Browse.js +418 -0
  235. package/bin/session/browse/Browse.js.map +1 -0
  236. package/bin/session/index.d.ts +14 -0
  237. package/bin/session/index.d.ts.map +1 -0
  238. package/bin/session/index.js +14 -0
  239. package/bin/session/index.js.map +1 -0
  240. package/bin/session/runtime/SessionEventHub.d.ts +24 -0
  241. package/bin/session/runtime/SessionEventHub.d.ts.map +1 -0
  242. package/bin/session/runtime/SessionEventHub.js.map +1 -0
  243. package/bin/session/runtime/SessionPromptRuntime.d.ts +71 -0
  244. package/bin/session/runtime/SessionPromptRuntime.d.ts.map +1 -0
  245. package/bin/session/runtime/SessionPromptRuntime.js.map +1 -0
  246. package/bin/session/storage/Metadata.d.ts.map +1 -0
  247. package/bin/session/storage/Metadata.js +140 -0
  248. package/bin/session/storage/Metadata.js.map +1 -0
  249. package/bin/session/storage/Paths.d.ts.map +1 -0
  250. package/bin/session/storage/Paths.js.map +1 -0
  251. package/bin/session/storage/Persistence.d.ts +63 -0
  252. package/bin/session/storage/Persistence.d.ts.map +1 -0
  253. package/bin/session/storage/Persistence.js +52 -0
  254. package/bin/session/storage/Persistence.js.map +1 -0
  255. package/bin/session/storage/RuntimeSessionPort.d.ts +70 -0
  256. package/bin/session/storage/RuntimeSessionPort.d.ts.map +1 -0
  257. package/bin/session/storage/RuntimeSessionPort.js.map +1 -0
  258. package/bin/types/agent/AgentTypes.d.ts +636 -0
  259. package/bin/types/agent/AgentTypes.d.ts.map +1 -0
  260. package/bin/types/agent/AgentTypes.js +10 -0
  261. package/bin/types/agent/AgentTypes.js.map +1 -0
  262. package/bin/types/common/EnvFile.d.ts +30 -0
  263. package/bin/types/common/EnvFile.d.ts.map +1 -0
  264. package/bin/types/common/EnvFile.js +10 -0
  265. package/bin/types/common/EnvFile.js.map +1 -0
  266. package/bin/types/common/ResolvedConfigValue.d.ts +12 -0
  267. package/bin/types/common/ResolvedConfigValue.d.ts.map +1 -0
  268. package/bin/types/common/ResolvedConfigValue.js +2 -0
  269. package/bin/types/common/ResolvedConfigValue.js.map +1 -0
  270. package/bin/types/config/AgentProject.d.ts +80 -0
  271. package/bin/types/config/AgentProject.d.ts.map +1 -0
  272. package/bin/types/config/AgentProject.js.map +1 -0
  273. package/bin/types/runtime/agent/AgentContext.d.ts +244 -0
  274. package/bin/types/runtime/agent/AgentContext.d.ts.map +1 -0
  275. package/bin/types/runtime/agent/AgentContext.js +13 -0
  276. package/bin/types/runtime/agent/AgentContext.js.map +1 -0
  277. package/bin/types/runtime/agent/AgentRuntime.d.ts +79 -0
  278. package/bin/types/runtime/agent/AgentRuntime.d.ts.map +1 -0
  279. package/bin/types/runtime/agent/AgentRuntime.js +13 -0
  280. package/bin/types/runtime/agent/AgentRuntime.js.map +1 -0
  281. package/bin/types/runtime/host/AgentHost.d.ts +1 -121
  282. package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
  283. package/bin/types/runtime/host/AgentHost.js +1 -1
  284. package/bin/utils/object/DeepMerge.d.ts +18 -0
  285. package/bin/utils/object/DeepMerge.d.ts.map +1 -0
  286. package/bin/utils/object/DeepMerge.js +37 -0
  287. package/bin/utils/object/DeepMerge.js.map +1 -0
  288. package/bin/utils/object/ObjectGuards.d.ts +17 -0
  289. package/bin/utils/object/ObjectGuards.d.ts.map +1 -0
  290. package/bin/utils/object/ObjectGuards.js +19 -0
  291. package/bin/utils/object/ObjectGuards.js.map +1 -0
  292. package/bin/utils/path/AncestorFiles.d.ts +17 -0
  293. package/bin/utils/path/AncestorFiles.d.ts.map +1 -0
  294. package/bin/utils/path/AncestorFiles.js +36 -0
  295. package/bin/utils/path/AncestorFiles.js.map +1 -0
  296. package/bin/utils/string/EscapeRegExp.d.ts +17 -0
  297. package/bin/utils/string/EscapeRegExp.d.ts.map +1 -0
  298. package/bin/utils/string/EscapeRegExp.js +19 -0
  299. package/bin/utils/string/EscapeRegExp.js.map +1 -0
  300. package/package.json +7 -1
  301. package/src/agent/Agent.ts +748 -0
  302. package/src/agent/RemoteAgent.ts +621 -0
  303. package/src/config/AgentInitializer.ts +262 -0
  304. package/src/config/Config.ts +37 -82
  305. package/src/config/ConfigEnvResolver.ts +52 -0
  306. package/src/config/Defaults.ts +12 -4
  307. package/src/config/DowncitySchema.ts +18 -0
  308. package/src/config/EnvFile.ts +99 -0
  309. package/src/config/ExecutionBinding.ts +24 -5
  310. package/src/config/Gitignore.ts +52 -0
  311. package/src/config/Paths.ts +154 -5
  312. package/src/config/PlatformPaths.ts +53 -0
  313. package/src/executor/Executor.ts +1 -1
  314. package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +1 -1
  315. package/src/executor/composer/system/default/SystemDomain.ts +10 -30
  316. package/src/executor/composer/system/default/assets/plugin.prompt.ts +1 -1
  317. package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +2 -1
  318. package/src/executor/messages/AssistantResultPersistence.ts +1 -1
  319. package/src/executor/messages/ChatMessageMarkup.ts +263 -0
  320. package/src/executor/messages/SessionAttachmentMapper.ts +1 -1
  321. package/src/executor/tools/shell/ShellToolBridge.ts +2 -2
  322. package/src/executor/tools/shell/ShellToolDefinition.ts +1 -1
  323. package/src/index.ts +43 -85
  324. package/src/plugin/core/ActionScheduleExecutor.ts +58 -0
  325. package/src/plugin/core/ActionScheduleRuntime.ts +82 -0
  326. package/src/plugin/core/ActionScheduleStore.ts +371 -0
  327. package/src/plugin/core/ActionScheduleTime.ts +132 -0
  328. package/src/plugin/core/Activation.ts +12 -10
  329. package/src/plugin/core/BasePlugin.ts +3 -3
  330. package/src/plugin/core/HookRegistry.ts +1 -1
  331. package/src/plugin/core/PluginActionRunner.ts +8 -8
  332. package/src/plugin/core/PluginCatalog.ts +178 -0
  333. package/src/plugin/core/PluginCommand.ts +22 -12
  334. package/src/plugin/core/PluginCommandRequest.ts +7 -7
  335. package/src/plugin/core/PluginHttpRoutes.ts +47 -0
  336. package/src/plugin/core/PluginLocalExecution.ts +155 -0
  337. package/src/plugin/core/PluginRegistry.ts +3 -23
  338. package/src/plugin/core/PluginStateController.ts +5 -10
  339. package/src/plugin/core/ProjectConfigStore.ts +97 -0
  340. package/src/plugin/types/ActionSchedule.ts +94 -0
  341. package/src/plugin/types/Plugin.ts +5 -10
  342. package/src/runtime/host/daemon/ProjectSetup.ts +0 -53
  343. package/src/runtime/sandbox/SandboxConfigResolver.ts +1 -1
  344. package/src/runtime/sandbox/SandboxRunner.ts +1 -1
  345. package/src/runtime/server/http/Server.ts +10 -10
  346. package/src/runtime/server/http/control/AuthControlService.ts +37 -29
  347. package/src/runtime/server/http/control/ControlApiRoutes.ts +1 -3
  348. package/src/runtime/server/http/control/ControlAuthorizationRoutes.ts +6 -11
  349. package/src/runtime/server/http/control/ControlRouter.ts +2 -2
  350. package/src/runtime/server/http/control/ExecuteBySession.ts +5 -70
  351. package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
  352. package/src/runtime/server/http/control/MessageTimeline.ts +2 -2
  353. package/src/runtime/server/http/control/OverviewRoutes.ts +8 -4
  354. package/src/runtime/server/http/control/SessionSummaryStore.ts +1 -13
  355. package/src/runtime/server/http/control/TaskRoutes.ts +58 -13
  356. package/src/runtime/server/http/control/TaskStore.ts +22 -2
  357. package/src/runtime/server/http/control/types/AuthControl.ts +5 -9
  358. package/src/runtime/server/http/control/types/ControlRoutes.ts +2 -2
  359. package/src/runtime/server/http/execute/execute.ts +1 -1
  360. package/src/runtime/server/http/plugins/plugins.ts +1 -1
  361. package/src/runtime/server/http/sdk/Router.ts +1 -1
  362. package/src/runtime/server/http/sdk/SessionRoutes.ts +1 -1
  363. package/src/runtime/server/http/static/static.ts +1 -1
  364. package/src/runtime/server/rpc/Server.ts +2 -2
  365. package/src/runtime/transport/rpc/Paths.ts +1 -14
  366. package/src/session/Session.ts +671 -0
  367. package/src/session/SessionSystemBuilder.ts +259 -0
  368. package/src/session/browse/Browse.ts +519 -0
  369. package/src/session/index.ts +45 -0
  370. package/src/session/storage/Metadata.ts +196 -0
  371. package/src/session/storage/Persistence.ts +113 -0
  372. package/src/session/storage/RuntimeSessionPort.ts +107 -0
  373. package/src/types/agent/AgentTypes.ts +735 -0
  374. package/src/types/common/EnvFile.ts +31 -0
  375. package/src/types/common/ResolvedConfigValue.ts +16 -0
  376. package/src/types/runtime/agent/AgentContext.ts +272 -0
  377. package/src/types/runtime/agent/AgentRuntime.ts +84 -0
  378. package/src/types/runtime/host/AgentHost.ts +1 -139
  379. package/src/utils/object/DeepMerge.ts +40 -0
  380. package/src/utils/object/ObjectGuards.ts +19 -0
  381. package/src/utils/path/AncestorFiles.ts +40 -0
  382. package/src/utils/string/EscapeRegExp.ts +19 -0
  383. package/tsconfig.tsbuildinfo +1 -1
  384. package/bin/config/project/AgentInitializer.d.ts +0 -39
  385. package/bin/config/project/AgentInitializer.d.ts.map +0 -1
  386. package/bin/config/project/AgentInitializer.js +0 -339
  387. package/bin/config/project/AgentInitializer.js.map +0 -1
  388. package/bin/config/project/types/AgentProject.d.ts +0 -80
  389. package/bin/config/project/types/AgentProject.d.ts.map +0 -1
  390. package/bin/config/project/types/AgentProject.js.map +0 -1
  391. package/bin/core/AgentContextTypes.d.ts +0 -272
  392. package/bin/core/AgentContextTypes.d.ts.map +0 -1
  393. package/bin/core/AgentContextTypes.js +0 -10
  394. package/bin/core/AgentContextTypes.js.map +0 -1
  395. package/bin/core/AgentCore.d.ts +0 -89
  396. package/bin/core/AgentCore.d.ts.map +0 -1
  397. package/bin/core/AgentCore.js +0 -442
  398. package/bin/core/AgentCore.js.map +0 -1
  399. package/bin/core/AgentCoreTypes.d.ts +0 -84
  400. package/bin/core/AgentCoreTypes.d.ts.map +0 -1
  401. package/bin/core/AgentCoreTypes.js +0 -10
  402. package/bin/core/AgentCoreTypes.js.map +0 -1
  403. package/bin/plugin/builtins/asr/Config.d.ts +0 -43
  404. package/bin/plugin/builtins/asr/Config.d.ts.map +0 -1
  405. package/bin/plugin/builtins/asr/Config.js +0 -107
  406. package/bin/plugin/builtins/asr/Config.js.map +0 -1
  407. package/bin/plugin/builtins/asr/Dependency.d.ts +0 -77
  408. package/bin/plugin/builtins/asr/Dependency.d.ts.map +0 -1
  409. package/bin/plugin/builtins/asr/Dependency.js +0 -238
  410. package/bin/plugin/builtins/asr/Dependency.js.map +0 -1
  411. package/bin/plugin/builtins/asr/InboundAugment.d.ts +0 -17
  412. package/bin/plugin/builtins/asr/InboundAugment.d.ts.map +0 -1
  413. package/bin/plugin/builtins/asr/InboundAugment.js +0 -47
  414. package/bin/plugin/builtins/asr/InboundAugment.js.map +0 -1
  415. package/bin/plugin/builtins/asr/ModelCatalog.d.ts +0 -29
  416. package/bin/plugin/builtins/asr/ModelCatalog.d.ts.map +0 -1
  417. package/bin/plugin/builtins/asr/ModelCatalog.js +0 -25
  418. package/bin/plugin/builtins/asr/ModelCatalog.js.map +0 -1
  419. package/bin/plugin/builtins/asr/Plugin.d.ts +0 -18
  420. package/bin/plugin/builtins/asr/Plugin.d.ts.map +0 -1
  421. package/bin/plugin/builtins/asr/Plugin.js +0 -472
  422. package/bin/plugin/builtins/asr/Plugin.js.map +0 -1
  423. package/bin/plugin/builtins/auth/Plugin.d.ts +0 -18
  424. package/bin/plugin/builtins/auth/Plugin.d.ts.map +0 -1
  425. package/bin/plugin/builtins/auth/Plugin.js +0 -191
  426. package/bin/plugin/builtins/auth/Plugin.js.map +0 -1
  427. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +0 -41
  428. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
  429. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js +0 -187
  430. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js.map +0 -1
  431. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +0 -30
  432. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
  433. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js +0 -123
  434. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js.map +0 -1
  435. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +0 -29
  436. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
  437. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js +0 -178
  438. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js.map +0 -1
  439. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +0 -407
  440. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +0 -1
  441. package/bin/plugin/builtins/auth/types/AuthPlugin.js +0 -115
  442. package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +0 -1
  443. package/bin/plugin/builtins/chat/Action.d.ts +0 -125
  444. package/bin/plugin/builtins/chat/Action.d.ts.map +0 -1
  445. package/bin/plugin/builtins/chat/Action.js +0 -376
  446. package/bin/plugin/builtins/chat/Action.js.map +0 -1
  447. package/bin/plugin/builtins/chat/ChatPlugin.d.ts +0 -89
  448. package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +0 -1
  449. package/bin/plugin/builtins/chat/ChatPlugin.js +0 -212
  450. package/bin/plugin/builtins/chat/ChatPlugin.js.map +0 -1
  451. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +0 -159
  452. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +0 -1
  453. package/bin/plugin/builtins/chat/ChatPluginTypes.js +0 -10
  454. package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +0 -1
  455. package/bin/plugin/builtins/chat/Index.d.ts +0 -9
  456. package/bin/plugin/builtins/chat/Index.d.ts.map +0 -1
  457. package/bin/plugin/builtins/chat/Index.js +0 -9
  458. package/bin/plugin/builtins/chat/Index.js.map +0 -1
  459. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +0 -7
  460. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +0 -1
  461. package/bin/plugin/builtins/chat/PROMPT.direct.js +0 -8
  462. package/bin/plugin/builtins/chat/PROMPT.direct.js.map +0 -1
  463. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts +0 -63
  464. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts.map +0 -1
  465. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js +0 -258
  466. package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js.map +0 -1
  467. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
  468. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
  469. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +0 -294
  470. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +0 -1
  471. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
  472. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
  473. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +0 -237
  474. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
  475. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
  476. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
  477. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
  478. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
  479. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
  480. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
  481. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +0 -32
  482. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +0 -1
  483. package/bin/plugin/builtins/chat/channels/Configuration.d.ts +0 -27
  484. package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +0 -1
  485. package/bin/plugin/builtins/chat/channels/Configuration.js +0 -19
  486. package/bin/plugin/builtins/chat/channels/Configuration.js.map +0 -1
  487. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
  488. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
  489. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +0 -31
  490. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
  491. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
  492. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
  493. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js +0 -147
  494. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
  495. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
  496. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
  497. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +0 -59
  498. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +0 -1
  499. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
  500. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
  501. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +0 -326
  502. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +0 -1
  503. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
  504. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
  505. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js +0 -43
  506. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
  507. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
  508. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
  509. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
  510. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
  511. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
  512. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
  513. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -316
  514. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
  515. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
  516. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
  517. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
  518. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
  519. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
  520. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
  521. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
  522. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
  523. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
  524. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
  525. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js +0 -222
  526. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
  527. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -7
  528. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
  529. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
  530. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
  531. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
  532. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
  533. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js +0 -413
  534. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
  535. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
  536. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
  537. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js +0 -56
  538. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
  539. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +0 -21
  540. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
  541. package/bin/plugin/builtins/chat/channels/feishu/Shared.js +0 -69
  542. package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +0 -1
  543. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
  544. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
  545. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
  546. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
  547. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
  548. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
  549. package/bin/plugin/builtins/chat/channels/qq/BotInfo.js +0 -112
  550. package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +0 -1
  551. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +0 -17
  552. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
  553. package/bin/plugin/builtins/chat/channels/qq/Configuration.js +0 -59
  554. package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +0 -1
  555. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
  556. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
  557. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
  558. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
  559. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +0 -92
  560. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
  561. package/bin/plugin/builtins/chat/channels/qq/QQ.js +0 -287
  562. package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +0 -1
  563. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
  564. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
  565. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js +0 -67
  566. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
  567. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
  568. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
  569. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js +0 -186
  570. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
  571. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
  572. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
  573. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js +0 -381
  574. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
  575. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
  576. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
  577. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js +0 -110
  578. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
  579. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -59
  580. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
  581. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
  582. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
  583. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
  584. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
  585. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
  586. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
  587. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
  588. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
  589. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js +0 -120
  590. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
  591. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
  592. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
  593. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js +0 -137
  594. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
  595. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
  596. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
  597. package/bin/plugin/builtins/chat/channels/qq/QQInbound.js +0 -235
  598. package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +0 -1
  599. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
  600. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
  601. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js +0 -108
  602. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
  603. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
  604. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
  605. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js +0 -284
  606. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
  607. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -20
  608. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
  609. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js +0 -86
  610. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
  611. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
  612. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
  613. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +0 -172
  614. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +0 -1
  615. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
  616. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
  617. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js +0 -299
  618. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
  619. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
  620. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
  621. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +0 -42
  622. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
  623. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -82
  624. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
  625. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -9
  626. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
  627. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts +0 -99
  628. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
  629. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js +0 -306
  630. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
  631. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +0 -97
  632. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
  633. package/bin/plugin/builtins/chat/channels/telegram/Bot.js +0 -246
  634. package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +0 -1
  635. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
  636. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
  637. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js +0 -71
  638. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
  639. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
  640. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
  641. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +0 -59
  642. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +0 -1
  643. package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts +0 -42
  644. package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
  645. package/bin/plugin/builtins/chat/channels/telegram/Handlers.js +0 -45
  646. package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +0 -1
  647. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -7
  648. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
  649. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
  650. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
  651. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
  652. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
  653. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js +0 -57
  654. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
  655. package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts +0 -221
  656. package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
  657. package/bin/plugin/builtins/chat/channels/telegram/Shared.js +0 -171
  658. package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +0 -1
  659. package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts +0 -27
  660. package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
  661. package/bin/plugin/builtins/chat/channels/telegram/StateStore.js +0 -53
  662. package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +0 -1
  663. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -46
  664. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
  665. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js +0 -148
  666. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
  667. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
  668. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
  669. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
  670. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
  671. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
  672. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
  673. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -125
  674. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
  675. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
  676. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
  677. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -366
  678. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
  679. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
  680. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
  681. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js +0 -336
  682. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
  683. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
  684. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
  685. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +0 -287
  686. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
  687. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
  688. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
  689. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +0 -114
  690. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +0 -1
  691. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -33
  692. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
  693. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js +0 -66
  694. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
  695. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
  696. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
  697. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +0 -230
  698. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
  699. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
  700. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
  701. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +0 -260
  702. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
  703. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
  704. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
  705. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +0 -106
  706. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
  707. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
  708. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
  709. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +0 -12
  710. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
  711. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
  712. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
  713. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
  714. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
  715. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
  716. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
  717. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js +0 -219
  718. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
  719. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +0 -44
  720. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
  721. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +0 -51
  722. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
  723. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
  724. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
  725. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
  726. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
  727. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
  728. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +0 -143
  729. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
  730. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +0 -17
  731. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +0 -1
  732. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +0 -304
  733. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +0 -1
  734. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +0 -5
  735. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +0 -1
  736. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +0 -5
  737. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +0 -1
  738. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +0 -22
  739. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +0 -1
  740. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +0 -44
  741. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +0 -1
  742. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
  743. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
  744. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +0 -28
  745. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
  746. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +0 -40
  747. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
  748. package/bin/plugin/builtins/chat/runtime/ChatQueue.js +0 -52
  749. package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +0 -1
  750. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
  751. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
  752. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -168
  753. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
  754. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
  755. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
  756. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +0 -130
  757. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
  758. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -83
  759. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
  760. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +0 -406
  761. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
  762. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
  763. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
  764. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -101
  765. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
  766. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
  767. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
  768. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +0 -205
  769. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
  770. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
  771. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
  772. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js +0 -130
  773. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
  774. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
  775. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
  776. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js +0 -26
  777. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
  778. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +0 -97
  779. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
  780. package/bin/plugin/builtins/chat/runtime/ChatSession.js +0 -84
  781. package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +0 -1
  782. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
  783. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
  784. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
  785. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
  786. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
  787. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
  788. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +0 -76
  789. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
  790. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
  791. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
  792. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js +0 -9
  793. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
  794. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
  795. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
  796. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +0 -147
  797. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +0 -1
  798. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
  799. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
  800. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +0 -133
  801. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
  802. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
  803. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
  804. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +0 -28
  805. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
  806. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +0 -21
  807. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
  808. package/bin/plugin/builtins/chat/runtime/InboundAugment.js +0 -50
  809. package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +0 -1
  810. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
  811. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
  812. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +0 -57
  813. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +0 -1
  814. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +0 -78
  815. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
  816. package/bin/plugin/builtins/chat/runtime/PluginPoints.js +0 -78
  817. package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +0 -1
  818. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
  819. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
  820. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js +0 -40
  821. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
  822. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
  823. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
  824. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js +0 -74
  825. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
  826. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
  827. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
  828. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +0 -51
  829. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
  830. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
  831. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
  832. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +0 -70
  833. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +0 -1
  834. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
  835. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
  836. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
  837. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
  838. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
  839. package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +0 -1
  840. package/bin/plugin/builtins/chat/types/BotInfo.d.ts +0 -97
  841. package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +0 -1
  842. package/bin/plugin/builtins/chat/types/BotInfo.js +0 -9
  843. package/bin/plugin/builtins/chat/types/BotInfo.js.map +0 -1
  844. package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts +0 -226
  845. package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
  846. package/bin/plugin/builtins/chat/types/ChannelAccount.js +0 -9
  847. package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +0 -1
  848. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
  849. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
  850. package/bin/plugin/builtins/chat/types/ChannelConfiguration.js +0 -9
  851. package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +0 -1
  852. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +0 -107
  853. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +0 -1
  854. package/bin/plugin/builtins/chat/types/ChannelContext.js +0 -9
  855. package/bin/plugin/builtins/chat/types/ChannelContext.js.map +0 -1
  856. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +0 -88
  857. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
  858. package/bin/plugin/builtins/chat/types/ChannelStatus.js +0 -9
  859. package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +0 -1
  860. package/bin/plugin/builtins/chat/types/ChatCommand.d.ts +0 -163
  861. package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +0 -1
  862. package/bin/plugin/builtins/chat/types/ChatCommand.js +0 -9
  863. package/bin/plugin/builtins/chat/types/ChatCommand.js.map +0 -1
  864. package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts +0 -37
  865. package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
  866. package/bin/plugin/builtins/chat/types/ChatDispatcher.js +0 -9
  867. package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +0 -1
  868. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +0 -36
  869. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +0 -1
  870. package/bin/plugin/builtins/chat/types/ChatHistory.js +0 -9
  871. package/bin/plugin/builtins/chat/types/ChatHistory.js.map +0 -1
  872. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
  873. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
  874. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +0 -9
  875. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
  876. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +0 -34
  877. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +0 -1
  878. package/bin/plugin/builtins/chat/types/ChatMeta.js +0 -10
  879. package/bin/plugin/builtins/chat/types/ChatMeta.js.map +0 -1
  880. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +0 -238
  881. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
  882. package/bin/plugin/builtins/chat/types/ChatPlugin.js +0 -10
  883. package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +0 -1
  884. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +0 -145
  885. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +0 -1
  886. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +0 -10
  887. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +0 -1
  888. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +0 -125
  889. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
  890. package/bin/plugin/builtins/chat/types/ChatPromptContext.js +0 -10
  891. package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +0 -1
  892. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +0 -36
  893. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +0 -1
  894. package/bin/plugin/builtins/chat/types/ChatQueue.js +0 -9
  895. package/bin/plugin/builtins/chat/types/ChatQueue.js.map +0 -1
  896. package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts +0 -25
  897. package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
  898. package/bin/plugin/builtins/chat/types/ChatQueueWorker.js +0 -9
  899. package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +0 -1
  900. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +0 -32
  901. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
  902. package/bin/plugin/builtins/chat/types/ChatRuntime.js +0 -9
  903. package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +0 -1
  904. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +0 -115
  905. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
  906. package/bin/plugin/builtins/chat/types/DirectDispatch.js +0 -9
  907. package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +0 -1
  908. package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts +0 -42
  909. package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
  910. package/bin/plugin/builtins/chat/types/FeishuAttachment.js +0 -9
  911. package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +0 -1
  912. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
  913. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
  914. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js +0 -9
  915. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
  916. package/bin/plugin/builtins/chat/types/FeishuPost.d.ts +0 -287
  917. package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +0 -1
  918. package/bin/plugin/builtins/chat/types/FeishuPost.js +0 -9
  919. package/bin/plugin/builtins/chat/types/FeishuPost.js.map +0 -1
  920. package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts +0 -12
  921. package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
  922. package/bin/plugin/builtins/chat/types/QqInboundDedupe.js +0 -2
  923. package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +0 -1
  924. package/bin/plugin/builtins/chat/types/QqVoice.d.ts +0 -118
  925. package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +0 -1
  926. package/bin/plugin/builtins/chat/types/QqVoice.js +0 -9
  927. package/bin/plugin/builtins/chat/types/QqVoice.js.map +0 -1
  928. package/bin/plugin/builtins/chat/types/ReplyContext.d.ts +0 -46
  929. package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +0 -1
  930. package/bin/plugin/builtins/chat/types/ReplyContext.js +0 -10
  931. package/bin/plugin/builtins/chat/types/ReplyContext.js.map +0 -1
  932. package/bin/plugin/builtins/contact/Action.d.ts +0 -62
  933. package/bin/plugin/builtins/contact/Action.d.ts.map +0 -1
  934. package/bin/plugin/builtins/contact/Action.js +0 -221
  935. package/bin/plugin/builtins/contact/Action.js.map +0 -1
  936. package/bin/plugin/builtins/contact/ContactPlugin.d.ts +0 -39
  937. package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +0 -1
  938. package/bin/plugin/builtins/contact/ContactPlugin.js +0 -409
  939. package/bin/plugin/builtins/contact/ContactPlugin.js.map +0 -1
  940. package/bin/plugin/builtins/contact/Index.d.ts +0 -8
  941. package/bin/plugin/builtins/contact/Index.d.ts.map +0 -1
  942. package/bin/plugin/builtins/contact/Index.js +0 -8
  943. package/bin/plugin/builtins/contact/Index.js.map +0 -1
  944. package/bin/plugin/builtins/contact/PROMPT.d.ts +0 -7
  945. package/bin/plugin/builtins/contact/PROMPT.d.ts.map +0 -1
  946. package/bin/plugin/builtins/contact/PROMPT.js +0 -8
  947. package/bin/plugin/builtins/contact/PROMPT.js.map +0 -1
  948. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
  949. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
  950. package/bin/plugin/builtins/contact/runtime/ApproveCallback.js +0 -83
  951. package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +0 -1
  952. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
  953. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
  954. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +0 -60
  955. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +0 -1
  956. package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts +0 -17
  957. package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
  958. package/bin/plugin/builtins/contact/runtime/ContactPayload.js +0 -23
  959. package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +0 -1
  960. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
  961. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
  962. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +0 -13
  963. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
  964. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +0 -49
  965. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
  966. package/bin/plugin/builtins/contact/runtime/ContactStore.js +0 -255
  967. package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +0 -1
  968. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
  969. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
  970. package/bin/plugin/builtins/contact/runtime/EndpointNotice.js +0 -98
  971. package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +0 -1
  972. package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts +0 -36
  973. package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
  974. package/bin/plugin/builtins/contact/runtime/EndpointResolver.js +0 -113
  975. package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +0 -1
  976. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +0 -33
  977. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
  978. package/bin/plugin/builtins/contact/runtime/InboxStore.js +0 -142
  979. package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +0 -1
  980. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +0 -20
  981. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
  982. package/bin/plugin/builtins/contact/runtime/LinkApproval.js +0 -317
  983. package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +0 -1
  984. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +0 -21
  985. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
  986. package/bin/plugin/builtins/contact/runtime/LinkCode.js +0 -61
  987. package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +0 -1
  988. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +0 -17
  989. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
  990. package/bin/plugin/builtins/contact/runtime/LinkStore.js +0 -39
  991. package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +0 -1
  992. package/bin/plugin/builtins/contact/runtime/Paths.d.ts +0 -64
  993. package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +0 -1
  994. package/bin/plugin/builtins/contact/runtime/Paths.js +0 -103
  995. package/bin/plugin/builtins/contact/runtime/Paths.js.map +0 -1
  996. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +0 -46
  997. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
  998. package/bin/plugin/builtins/contact/runtime/RemoteClient.js +0 -120
  999. package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +0 -1
  1000. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +0 -65
  1001. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
  1002. package/bin/plugin/builtins/contact/runtime/ShareBundle.js +0 -185
  1003. package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +0 -1
  1004. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +0 -5
  1005. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
  1006. package/bin/plugin/builtins/contact/runtime/SystemProvider.js +0 -15
  1007. package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +0 -1
  1008. package/bin/plugin/builtins/contact/runtime/Token.d.ts +0 -24
  1009. package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +0 -1
  1010. package/bin/plugin/builtins/contact/runtime/Token.js +0 -36
  1011. package/bin/plugin/builtins/contact/runtime/Token.js.map +0 -1
  1012. package/bin/plugin/builtins/contact/types/Contact.d.ts +0 -78
  1013. package/bin/plugin/builtins/contact/types/Contact.d.ts.map +0 -1
  1014. package/bin/plugin/builtins/contact/types/Contact.js +0 -9
  1015. package/bin/plugin/builtins/contact/types/Contact.js.map +0 -1
  1016. package/bin/plugin/builtins/contact/types/ContactApproval.d.ts +0 -145
  1017. package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +0 -1
  1018. package/bin/plugin/builtins/contact/types/ContactApproval.js +0 -9
  1019. package/bin/plugin/builtins/contact/types/ContactApproval.js.map +0 -1
  1020. package/bin/plugin/builtins/contact/types/ContactChat.d.ts +0 -46
  1021. package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +0 -1
  1022. package/bin/plugin/builtins/contact/types/ContactChat.js +0 -9
  1023. package/bin/plugin/builtins/contact/types/ContactChat.js.map +0 -1
  1024. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +0 -66
  1025. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +0 -1
  1026. package/bin/plugin/builtins/contact/types/ContactCheck.js +0 -9
  1027. package/bin/plugin/builtins/contact/types/ContactCheck.js.map +0 -1
  1028. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +0 -93
  1029. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +0 -1
  1030. package/bin/plugin/builtins/contact/types/ContactCommand.js +0 -8
  1031. package/bin/plugin/builtins/contact/types/ContactCommand.js.map +0 -1
  1032. package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts +0 -12
  1033. package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
  1034. package/bin/plugin/builtins/contact/types/ContactEndpoint.js +0 -9
  1035. package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +0 -1
  1036. package/bin/plugin/builtins/contact/types/ContactLink.d.ts +0 -160
  1037. package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +0 -1
  1038. package/bin/plugin/builtins/contact/types/ContactLink.js +0 -9
  1039. package/bin/plugin/builtins/contact/types/ContactLink.js.map +0 -1
  1040. package/bin/plugin/builtins/contact/types/ContactShare.d.ts +0 -163
  1041. package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +0 -1
  1042. package/bin/plugin/builtins/contact/types/ContactShare.js +0 -9
  1043. package/bin/plugin/builtins/contact/types/ContactShare.js.map +0 -1
  1044. package/bin/plugin/builtins/memory/Action.d.ts +0 -37
  1045. package/bin/plugin/builtins/memory/Action.d.ts.map +0 -1
  1046. package/bin/plugin/builtins/memory/Action.js +0 -111
  1047. package/bin/plugin/builtins/memory/Action.js.map +0 -1
  1048. package/bin/plugin/builtins/memory/Index.d.ts +0 -9
  1049. package/bin/plugin/builtins/memory/Index.d.ts.map +0 -1
  1050. package/bin/plugin/builtins/memory/Index.js +0 -9
  1051. package/bin/plugin/builtins/memory/Index.js.map +0 -1
  1052. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +0 -45
  1053. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +0 -1
  1054. package/bin/plugin/builtins/memory/MemoryPlugin.js +0 -242
  1055. package/bin/plugin/builtins/memory/MemoryPlugin.js.map +0 -1
  1056. package/bin/plugin/builtins/memory/runtime/Flush.d.ts +0 -15
  1057. package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +0 -1
  1058. package/bin/plugin/builtins/memory/runtime/Flush.js +0 -63
  1059. package/bin/plugin/builtins/memory/runtime/Flush.js.map +0 -1
  1060. package/bin/plugin/builtins/memory/runtime/Search.d.ts +0 -19
  1061. package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +0 -1
  1062. package/bin/plugin/builtins/memory/runtime/Search.js +0 -268
  1063. package/bin/plugin/builtins/memory/runtime/Search.js.map +0 -1
  1064. package/bin/plugin/builtins/memory/runtime/Store.d.ts +0 -65
  1065. package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +0 -1
  1066. package/bin/plugin/builtins/memory/runtime/Store.js +0 -142
  1067. package/bin/plugin/builtins/memory/runtime/Store.js.map +0 -1
  1068. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +0 -22
  1069. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
  1070. package/bin/plugin/builtins/memory/runtime/SystemProvider.js +0 -126
  1071. package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +0 -1
  1072. package/bin/plugin/builtins/memory/runtime/Writer.d.ts +0 -23
  1073. package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +0 -1
  1074. package/bin/plugin/builtins/memory/runtime/Writer.js +0 -139
  1075. package/bin/plugin/builtins/memory/runtime/Writer.js.map +0 -1
  1076. package/bin/plugin/builtins/memory/types/Memory.d.ts +0 -264
  1077. package/bin/plugin/builtins/memory/types/Memory.d.ts.map +0 -1
  1078. package/bin/plugin/builtins/memory/types/Memory.js +0 -9
  1079. package/bin/plugin/builtins/memory/types/Memory.js.map +0 -1
  1080. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +0 -39
  1081. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +0 -1
  1082. package/bin/plugin/builtins/schedule/SchedulePlugin.js +0 -106
  1083. package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +0 -1
  1084. package/bin/plugin/builtins/shell/Index.d.ts +0 -9
  1085. package/bin/plugin/builtins/shell/Index.d.ts.map +0 -1
  1086. package/bin/plugin/builtins/shell/Index.js +0 -9
  1087. package/bin/plugin/builtins/shell/Index.js.map +0 -1
  1088. package/bin/plugin/builtins/shell/ShellPlugin.d.ts +0 -65
  1089. package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +0 -1
  1090. package/bin/plugin/builtins/shell/ShellPlugin.js +0 -138
  1091. package/bin/plugin/builtins/shell/ShellPlugin.js.map +0 -1
  1092. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
  1093. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
  1094. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +0 -10
  1095. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +0 -1
  1096. package/bin/plugin/builtins/shell/runtime/Paths.d.ts +0 -12
  1097. package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +0 -1
  1098. package/bin/plugin/builtins/shell/runtime/Paths.js +0 -21
  1099. package/bin/plugin/builtins/shell/runtime/Paths.js.map +0 -1
  1100. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
  1101. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
  1102. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js +0 -73
  1103. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
  1104. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
  1105. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
  1106. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +0 -440
  1107. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
  1108. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
  1109. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
  1110. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -312
  1111. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
  1112. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
  1113. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
  1114. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js +0 -41
  1115. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
  1116. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -21
  1117. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
  1118. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
  1119. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
  1120. package/bin/plugin/builtins/shell/types/Shell.d.ts.map +0 -1
  1121. package/bin/plugin/builtins/shell/types/Shell.js.map +0 -1
  1122. package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +0 -1
  1123. package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +0 -1
  1124. package/bin/plugin/builtins/skill/Action.d.ts +0 -34
  1125. package/bin/plugin/builtins/skill/Action.d.ts.map +0 -1
  1126. package/bin/plugin/builtins/skill/Action.js +0 -122
  1127. package/bin/plugin/builtins/skill/Action.js.map +0 -1
  1128. package/bin/plugin/builtins/skill/Command.d.ts +0 -37
  1129. package/bin/plugin/builtins/skill/Command.d.ts.map +0 -1
  1130. package/bin/plugin/builtins/skill/Command.js +0 -70
  1131. package/bin/plugin/builtins/skill/Command.js.map +0 -1
  1132. package/bin/plugin/builtins/skill/Config.d.ts +0 -18
  1133. package/bin/plugin/builtins/skill/Config.d.ts.map +0 -1
  1134. package/bin/plugin/builtins/skill/Config.js +0 -37
  1135. package/bin/plugin/builtins/skill/Config.js.map +0 -1
  1136. package/bin/plugin/builtins/skill/PROMPT.d.ts +0 -7
  1137. package/bin/plugin/builtins/skill/PROMPT.d.ts.map +0 -1
  1138. package/bin/plugin/builtins/skill/PROMPT.js +0 -8
  1139. package/bin/plugin/builtins/skill/PROMPT.js.map +0 -1
  1140. package/bin/plugin/builtins/skill/Plugin.d.ts +0 -18
  1141. package/bin/plugin/builtins/skill/Plugin.d.ts.map +0 -1
  1142. package/bin/plugin/builtins/skill/Plugin.js +0 -311
  1143. package/bin/plugin/builtins/skill/Plugin.js.map +0 -1
  1144. package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts +0 -12
  1145. package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts.map +0 -1
  1146. package/bin/plugin/builtins/skill/SkillPromptAssets.js +0 -13
  1147. package/bin/plugin/builtins/skill/SkillPromptAssets.js.map +0 -1
  1148. package/bin/plugin/builtins/skill/runtime/Discovery.d.ts +0 -25
  1149. package/bin/plugin/builtins/skill/runtime/Discovery.d.ts.map +0 -1
  1150. package/bin/plugin/builtins/skill/runtime/Discovery.js +0 -130
  1151. package/bin/plugin/builtins/skill/runtime/Discovery.js.map +0 -1
  1152. package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts +0 -6
  1153. package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts.map +0 -1
  1154. package/bin/plugin/builtins/skill/runtime/Frontmatter.js +0 -12
  1155. package/bin/plugin/builtins/skill/runtime/Frontmatter.js.map +0 -1
  1156. package/bin/plugin/builtins/skill/runtime/Paths.d.ts +0 -16
  1157. package/bin/plugin/builtins/skill/runtime/Paths.d.ts.map +0 -1
  1158. package/bin/plugin/builtins/skill/runtime/Paths.js +0 -111
  1159. package/bin/plugin/builtins/skill/runtime/Paths.js.map +0 -1
  1160. package/bin/plugin/builtins/skill/runtime/Prompt.d.ts +0 -19
  1161. package/bin/plugin/builtins/skill/runtime/Prompt.d.ts.map +0 -1
  1162. package/bin/plugin/builtins/skill/runtime/Prompt.js +0 -54
  1163. package/bin/plugin/builtins/skill/runtime/Prompt.js.map +0 -1
  1164. package/bin/plugin/builtins/skill/runtime/Store.d.ts +0 -25
  1165. package/bin/plugin/builtins/skill/runtime/Store.d.ts.map +0 -1
  1166. package/bin/plugin/builtins/skill/runtime/Store.js +0 -81
  1167. package/bin/plugin/builtins/skill/runtime/Store.js.map +0 -1
  1168. package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +0 -24
  1169. package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts.map +0 -1
  1170. package/bin/plugin/builtins/skill/runtime/SystemProvider.js +0 -33
  1171. package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +0 -1
  1172. package/bin/plugin/builtins/skill/runtime/Types.d.ts +0 -21
  1173. package/bin/plugin/builtins/skill/runtime/Types.d.ts.map +0 -1
  1174. package/bin/plugin/builtins/skill/runtime/Types.js +0 -2
  1175. package/bin/plugin/builtins/skill/runtime/Types.js.map +0 -1
  1176. package/bin/plugin/builtins/skill/runtime/Utils.d.ts +0 -4
  1177. package/bin/plugin/builtins/skill/runtime/Utils.d.ts.map +0 -1
  1178. package/bin/plugin/builtins/skill/runtime/Utils.js +0 -29
  1179. package/bin/plugin/builtins/skill/runtime/Utils.js.map +0 -1
  1180. package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +0 -63
  1181. package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +0 -1
  1182. package/bin/plugin/builtins/skill/types/ClaudeSkill.js +0 -10
  1183. package/bin/plugin/builtins/skill/types/ClaudeSkill.js.map +0 -1
  1184. package/bin/plugin/builtins/skill/types/SkillCommand.d.ts +0 -87
  1185. package/bin/plugin/builtins/skill/types/SkillCommand.d.ts.map +0 -1
  1186. package/bin/plugin/builtins/skill/types/SkillCommand.js +0 -9
  1187. package/bin/plugin/builtins/skill/types/SkillCommand.js.map +0 -1
  1188. package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts +0 -102
  1189. package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts.map +0 -1
  1190. package/bin/plugin/builtins/skill/types/SkillPlugin.js +0 -29
  1191. package/bin/plugin/builtins/skill/types/SkillPlugin.js.map +0 -1
  1192. package/bin/plugin/builtins/skill/types/SkillRoot.d.ts +0 -48
  1193. package/bin/plugin/builtins/skill/types/SkillRoot.d.ts.map +0 -1
  1194. package/bin/plugin/builtins/skill/types/SkillRoot.js +0 -9
  1195. package/bin/plugin/builtins/skill/types/SkillRoot.js.map +0 -1
  1196. package/bin/plugin/builtins/task/Action.d.ts +0 -36
  1197. package/bin/plugin/builtins/task/Action.d.ts.map +0 -1
  1198. package/bin/plugin/builtins/task/Action.js +0 -407
  1199. package/bin/plugin/builtins/task/Action.js.map +0 -1
  1200. package/bin/plugin/builtins/task/Index.d.ts +0 -9
  1201. package/bin/plugin/builtins/task/Index.d.ts.map +0 -1
  1202. package/bin/plugin/builtins/task/Index.js +0 -9
  1203. package/bin/plugin/builtins/task/Index.js.map +0 -1
  1204. package/bin/plugin/builtins/task/PROMPT.d.ts +0 -7
  1205. package/bin/plugin/builtins/task/PROMPT.d.ts.map +0 -1
  1206. package/bin/plugin/builtins/task/PROMPT.js +0 -8
  1207. package/bin/plugin/builtins/task/PROMPT.js.map +0 -1
  1208. package/bin/plugin/builtins/task/Scheduler.d.ts +0 -17
  1209. package/bin/plugin/builtins/task/Scheduler.d.ts.map +0 -1
  1210. package/bin/plugin/builtins/task/Scheduler.js +0 -231
  1211. package/bin/plugin/builtins/task/Scheduler.js.map +0 -1
  1212. package/bin/plugin/builtins/task/TaskPlugin.d.ts +0 -57
  1213. package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +0 -1
  1214. package/bin/plugin/builtins/task/TaskPlugin.js +0 -126
  1215. package/bin/plugin/builtins/task/TaskPlugin.js.map +0 -1
  1216. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +0 -19
  1217. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
  1218. package/bin/plugin/builtins/task/runtime/CronTrigger.js +0 -93
  1219. package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +0 -1
  1220. package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts +0 -13
  1221. package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
  1222. package/bin/plugin/builtins/task/runtime/Frontmatter.js +0 -19
  1223. package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +0 -1
  1224. package/bin/plugin/builtins/task/runtime/Model.d.ts +0 -73
  1225. package/bin/plugin/builtins/task/runtime/Model.d.ts.map +0 -1
  1226. package/bin/plugin/builtins/task/runtime/Model.js +0 -312
  1227. package/bin/plugin/builtins/task/runtime/Model.js.map +0 -1
  1228. package/bin/plugin/builtins/task/runtime/Paths.d.ts +0 -32
  1229. package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +0 -1
  1230. package/bin/plugin/builtins/task/runtime/Paths.js +0 -103
  1231. package/bin/plugin/builtins/task/runtime/Paths.js.map +0 -1
  1232. package/bin/plugin/builtins/task/runtime/Runner.d.ts +0 -43
  1233. package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +0 -1
  1234. package/bin/plugin/builtins/task/runtime/Runner.js +0 -440
  1235. package/bin/plugin/builtins/task/runtime/Runner.js.map +0 -1
  1236. package/bin/plugin/builtins/task/runtime/Store.d.ts +0 -89
  1237. package/bin/plugin/builtins/task/runtime/Store.d.ts.map +0 -1
  1238. package/bin/plugin/builtins/task/runtime/Store.js +0 -206
  1239. package/bin/plugin/builtins/task/runtime/Store.js.map +0 -1
  1240. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
  1241. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
  1242. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +0 -192
  1243. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +0 -1
  1244. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +0 -19
  1245. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
  1246. package/bin/plugin/builtins/task/runtime/TaskActionInput.js +0 -218
  1247. package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +0 -1
  1248. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +0 -16
  1249. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +0 -1
  1250. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +0 -167
  1251. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +0 -1
  1252. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +0 -5
  1253. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +0 -1
  1254. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +0 -5
  1255. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +0 -1
  1256. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +0 -9
  1257. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +0 -1
  1258. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +0 -9
  1259. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +0 -1
  1260. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
  1261. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
  1262. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +0 -13
  1263. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
  1264. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
  1265. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
  1266. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js +0 -271
  1267. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
  1268. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
  1269. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
  1270. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
  1271. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
  1272. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
  1273. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
  1274. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js +0 -95
  1275. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
  1276. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
  1277. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
  1278. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +0 -272
  1279. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
  1280. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
  1281. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
  1282. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js +0 -96
  1283. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
  1284. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
  1285. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
  1286. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +0 -153
  1287. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
  1288. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
  1289. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
  1290. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js +0 -9
  1291. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
  1292. package/bin/plugin/builtins/task/types/Cron.d.ts +0 -16
  1293. package/bin/plugin/builtins/task/types/Cron.d.ts.map +0 -1
  1294. package/bin/plugin/builtins/task/types/Cron.js +0 -2
  1295. package/bin/plugin/builtins/task/types/Cron.js.map +0 -1
  1296. package/bin/plugin/builtins/task/types/Task.d.ts +0 -146
  1297. package/bin/plugin/builtins/task/types/Task.d.ts.map +0 -1
  1298. package/bin/plugin/builtins/task/types/Task.js +0 -9
  1299. package/bin/plugin/builtins/task/types/Task.js.map +0 -1
  1300. package/bin/plugin/builtins/task/types/TaskCommand.d.ts +0 -147
  1301. package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +0 -1
  1302. package/bin/plugin/builtins/task/types/TaskCommand.js +0 -9
  1303. package/bin/plugin/builtins/task/types/TaskCommand.js.map +0 -1
  1304. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +0 -52
  1305. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +0 -1
  1306. package/bin/plugin/builtins/task/types/TaskPluginTypes.js +0 -9
  1307. package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +0 -1
  1308. package/bin/plugin/builtins/tts/Dependency.d.ts +0 -90
  1309. package/bin/plugin/builtins/tts/Dependency.d.ts.map +0 -1
  1310. package/bin/plugin/builtins/tts/Dependency.js +0 -344
  1311. package/bin/plugin/builtins/tts/Dependency.js.map +0 -1
  1312. package/bin/plugin/builtins/tts/Plugin.d.ts +0 -17
  1313. package/bin/plugin/builtins/tts/Plugin.d.ts.map +0 -1
  1314. package/bin/plugin/builtins/tts/Plugin.js +0 -482
  1315. package/bin/plugin/builtins/tts/Plugin.js.map +0 -1
  1316. package/bin/plugin/builtins/tts/PluginSupport.d.ts +0 -25
  1317. package/bin/plugin/builtins/tts/PluginSupport.d.ts.map +0 -1
  1318. package/bin/plugin/builtins/tts/PluginSupport.js +0 -72
  1319. package/bin/plugin/builtins/tts/PluginSupport.js.map +0 -1
  1320. package/bin/plugin/builtins/tts/runtime/Catalog.d.ts +0 -21
  1321. package/bin/plugin/builtins/tts/runtime/Catalog.d.ts.map +0 -1
  1322. package/bin/plugin/builtins/tts/runtime/Catalog.js +0 -90
  1323. package/bin/plugin/builtins/tts/runtime/Catalog.js.map +0 -1
  1324. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts +0 -143
  1325. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
  1326. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js +0 -261
  1327. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js.map +0 -1
  1328. package/bin/plugin/builtins/tts/runtime/Installer.d.ts +0 -89
  1329. package/bin/plugin/builtins/tts/runtime/Installer.d.ts.map +0 -1
  1330. package/bin/plugin/builtins/tts/runtime/Installer.js +0 -188
  1331. package/bin/plugin/builtins/tts/runtime/Installer.js.map +0 -1
  1332. package/bin/plugin/builtins/tts/runtime/Paths.d.ts +0 -20
  1333. package/bin/plugin/builtins/tts/runtime/Paths.d.ts.map +0 -1
  1334. package/bin/plugin/builtins/tts/runtime/Paths.js +0 -32
  1335. package/bin/plugin/builtins/tts/runtime/Paths.js.map +0 -1
  1336. package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts +0 -44
  1337. package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts.map +0 -1
  1338. package/bin/plugin/builtins/tts/runtime/Synthesizer.js +0 -363
  1339. package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +0 -1
  1340. package/bin/plugin/builtins/tts/types/Tts.d.ts +0 -91
  1341. package/bin/plugin/builtins/tts/types/Tts.d.ts.map +0 -1
  1342. package/bin/plugin/builtins/tts/types/Tts.js +0 -9
  1343. package/bin/plugin/builtins/tts/types/Tts.js.map +0 -1
  1344. package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +0 -161
  1345. package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +0 -1
  1346. package/bin/plugin/builtins/tts/types/TtsPlugin.js +0 -9
  1347. package/bin/plugin/builtins/tts/types/TtsPlugin.js.map +0 -1
  1348. package/bin/plugin/builtins/voice/Config.d.ts +0 -43
  1349. package/bin/plugin/builtins/voice/Config.d.ts.map +0 -1
  1350. package/bin/plugin/builtins/voice/Config.js +0 -104
  1351. package/bin/plugin/builtins/voice/Config.js.map +0 -1
  1352. package/bin/plugin/builtins/voice/Dependency.d.ts +0 -77
  1353. package/bin/plugin/builtins/voice/Dependency.d.ts.map +0 -1
  1354. package/bin/plugin/builtins/voice/Dependency.js +0 -237
  1355. package/bin/plugin/builtins/voice/Dependency.js.map +0 -1
  1356. package/bin/plugin/builtins/voice/InboundAugment.d.ts +0 -17
  1357. package/bin/plugin/builtins/voice/InboundAugment.d.ts.map +0 -1
  1358. package/bin/plugin/builtins/voice/InboundAugment.js +0 -47
  1359. package/bin/plugin/builtins/voice/InboundAugment.js.map +0 -1
  1360. package/bin/plugin/builtins/voice/ModelCatalog.d.ts +0 -29
  1361. package/bin/plugin/builtins/voice/ModelCatalog.d.ts.map +0 -1
  1362. package/bin/plugin/builtins/voice/ModelCatalog.js +0 -25
  1363. package/bin/plugin/builtins/voice/ModelCatalog.js.map +0 -1
  1364. package/bin/plugin/builtins/voice/runtime/Catalog.d.ts +0 -18
  1365. package/bin/plugin/builtins/voice/runtime/Catalog.d.ts.map +0 -1
  1366. package/bin/plugin/builtins/voice/runtime/Catalog.js +0 -61
  1367. package/bin/plugin/builtins/voice/runtime/Catalog.js.map +0 -1
  1368. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts +0 -145
  1369. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
  1370. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js +0 -309
  1371. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js.map +0 -1
  1372. package/bin/plugin/builtins/voice/runtime/Installer.d.ts +0 -94
  1373. package/bin/plugin/builtins/voice/runtime/Installer.d.ts.map +0 -1
  1374. package/bin/plugin/builtins/voice/runtime/Installer.js +0 -200
  1375. package/bin/plugin/builtins/voice/runtime/Installer.js.map +0 -1
  1376. package/bin/plugin/builtins/voice/runtime/Paths.d.ts +0 -8
  1377. package/bin/plugin/builtins/voice/runtime/Paths.d.ts.map +0 -1
  1378. package/bin/plugin/builtins/voice/runtime/Paths.js +0 -26
  1379. package/bin/plugin/builtins/voice/runtime/Paths.js.map +0 -1
  1380. package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts +0 -57
  1381. package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts.map +0 -1
  1382. package/bin/plugin/builtins/voice/runtime/Transcriber.js +0 -329
  1383. package/bin/plugin/builtins/voice/runtime/Transcriber.js.map +0 -1
  1384. package/bin/plugin/builtins/voice/types/Voice.d.ts +0 -58
  1385. package/bin/plugin/builtins/voice/types/Voice.d.ts.map +0 -1
  1386. package/bin/plugin/builtins/voice/types/Voice.js +0 -9
  1387. package/bin/plugin/builtins/voice/types/Voice.js.map +0 -1
  1388. package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +0 -190
  1389. package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +0 -1
  1390. package/bin/plugin/builtins/voice/types/VoicePlugin.js +0 -9
  1391. package/bin/plugin/builtins/voice/types/VoicePlugin.js.map +0 -1
  1392. package/bin/plugin/builtins/web/Dependency.d.ts +0 -10
  1393. package/bin/plugin/builtins/web/Dependency.d.ts.map +0 -1
  1394. package/bin/plugin/builtins/web/Dependency.js +0 -10
  1395. package/bin/plugin/builtins/web/Dependency.js.map +0 -1
  1396. package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts +0 -7
  1397. package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts.map +0 -1
  1398. package/bin/plugin/builtins/web/PROMPT.agent-browser.js +0 -8
  1399. package/bin/plugin/builtins/web/PROMPT.agent-browser.js.map +0 -1
  1400. package/bin/plugin/builtins/web/PROMPT.d.ts +0 -7
  1401. package/bin/plugin/builtins/web/PROMPT.d.ts.map +0 -1
  1402. package/bin/plugin/builtins/web/PROMPT.js +0 -8
  1403. package/bin/plugin/builtins/web/PROMPT.js.map +0 -1
  1404. package/bin/plugin/builtins/web/PROMPT.web-access.d.ts +0 -7
  1405. package/bin/plugin/builtins/web/PROMPT.web-access.d.ts.map +0 -1
  1406. package/bin/plugin/builtins/web/PROMPT.web-access.js +0 -8
  1407. package/bin/plugin/builtins/web/PROMPT.web-access.js.map +0 -1
  1408. package/bin/plugin/builtins/web/Plugin.d.ts +0 -17
  1409. package/bin/plugin/builtins/web/Plugin.d.ts.map +0 -1
  1410. package/bin/plugin/builtins/web/Plugin.js +0 -469
  1411. package/bin/plugin/builtins/web/Plugin.js.map +0 -1
  1412. package/bin/plugin/builtins/web/WebPromptAssets.d.ts +0 -20
  1413. package/bin/plugin/builtins/web/WebPromptAssets.d.ts.map +0 -1
  1414. package/bin/plugin/builtins/web/WebPromptAssets.js +0 -23
  1415. package/bin/plugin/builtins/web/WebPromptAssets.js.map +0 -1
  1416. package/bin/plugin/builtins/web/runtime/Config.d.ts +0 -21
  1417. package/bin/plugin/builtins/web/runtime/Config.d.ts.map +0 -1
  1418. package/bin/plugin/builtins/web/runtime/Config.js +0 -79
  1419. package/bin/plugin/builtins/web/runtime/Config.js.map +0 -1
  1420. package/bin/plugin/builtins/web/runtime/Source.d.ts +0 -29
  1421. package/bin/plugin/builtins/web/runtime/Source.d.ts.map +0 -1
  1422. package/bin/plugin/builtins/web/runtime/Source.js +0 -209
  1423. package/bin/plugin/builtins/web/runtime/Source.js.map +0 -1
  1424. package/bin/plugin/builtins/web/types/WebPlugin.d.ts +0 -133
  1425. package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +0 -1
  1426. package/bin/plugin/builtins/web/types/WebPlugin.js +0 -12
  1427. package/bin/plugin/builtins/web/types/WebPlugin.js.map +0 -1
  1428. package/bin/plugin/builtins/workboard/Plugin.d.ts +0 -17
  1429. package/bin/plugin/builtins/workboard/Plugin.d.ts.map +0 -1
  1430. package/bin/plugin/builtins/workboard/Plugin.js +0 -81
  1431. package/bin/plugin/builtins/workboard/Plugin.js.map +0 -1
  1432. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +0 -14
  1433. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +0 -1
  1434. package/bin/plugin/builtins/workboard/runtime/Collector.js +0 -63
  1435. package/bin/plugin/builtins/workboard/runtime/Collector.js.map +0 -1
  1436. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +0 -61
  1437. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +0 -1
  1438. package/bin/plugin/builtins/workboard/runtime/Normalizer.js +0 -172
  1439. package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +0 -1
  1440. package/bin/plugin/builtins/workboard/runtime/Store.d.ts +0 -48
  1441. package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +0 -1
  1442. package/bin/plugin/builtins/workboard/runtime/Store.js +0 -84
  1443. package/bin/plugin/builtins/workboard/runtime/Store.js.map +0 -1
  1444. package/bin/plugin/builtins/workboard/types/Workboard.d.ts +0 -150
  1445. package/bin/plugin/builtins/workboard/types/Workboard.d.ts.map +0 -1
  1446. package/bin/plugin/builtins/workboard/types/Workboard.js +0 -9
  1447. package/bin/plugin/builtins/workboard/types/Workboard.js.map +0 -1
  1448. package/bin/plugin/core/BuiltinPluginClasses.d.ts +0 -19
  1449. package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +0 -1
  1450. package/bin/plugin/core/BuiltinPluginClasses.js +0 -38
  1451. package/bin/plugin/core/BuiltinPluginClasses.js.map +0 -1
  1452. package/bin/plugin/core/Catalog.d.ts +0 -43
  1453. package/bin/plugin/core/Catalog.d.ts.map +0 -1
  1454. package/bin/plugin/core/Catalog.js +0 -92
  1455. package/bin/plugin/core/Catalog.js.map +0 -1
  1456. package/bin/plugin/core/HttpRoutes.d.ts +0 -22
  1457. package/bin/plugin/core/HttpRoutes.d.ts.map +0 -1
  1458. package/bin/plugin/core/HttpRoutes.js +0 -37
  1459. package/bin/plugin/core/HttpRoutes.js.map +0 -1
  1460. package/bin/plugin/core/LocalExecution.d.ts +0 -32
  1461. package/bin/plugin/core/LocalExecution.d.ts.map +0 -1
  1462. package/bin/plugin/core/LocalExecution.js +0 -161
  1463. package/bin/plugin/core/LocalExecution.js.map +0 -1
  1464. package/bin/plugin/core/PluginClassRegistry.d.ts +0 -42
  1465. package/bin/plugin/core/PluginClassRegistry.d.ts.map +0 -1
  1466. package/bin/plugin/core/PluginClassRegistry.js +0 -73
  1467. package/bin/plugin/core/PluginClassRegistry.js.map +0 -1
  1468. package/bin/plugin/core/PluginSystemProviders.d.ts +0 -27
  1469. package/bin/plugin/core/PluginSystemProviders.d.ts.map +0 -1
  1470. package/bin/plugin/core/PluginSystemProviders.js +0 -34
  1471. package/bin/plugin/core/PluginSystemProviders.js.map +0 -1
  1472. package/bin/plugin/core/schedule/Executor.d.ts +0 -17
  1473. package/bin/plugin/core/schedule/Executor.d.ts.map +0 -1
  1474. package/bin/plugin/core/schedule/Executor.js +0 -48
  1475. package/bin/plugin/core/schedule/Executor.js.map +0 -1
  1476. package/bin/plugin/core/schedule/Store.d.ts +0 -91
  1477. package/bin/plugin/core/schedule/Store.d.ts.map +0 -1
  1478. package/bin/plugin/core/schedule/Store.js +0 -284
  1479. package/bin/plugin/core/schedule/Store.js.map +0 -1
  1480. package/bin/plugin/core/schedule/Time.d.ts +0 -31
  1481. package/bin/plugin/core/schedule/Time.d.ts.map +0 -1
  1482. package/bin/plugin/core/schedule/Time.js +0 -107
  1483. package/bin/plugin/core/schedule/Time.js.map +0 -1
  1484. package/bin/plugin/types/PluginSchedule.d.ts +0 -80
  1485. package/bin/plugin/types/PluginSchedule.d.ts.map +0 -1
  1486. package/bin/plugin/types/PluginSchedule.js +0 -5
  1487. package/bin/plugin/types/PluginSchedule.js.map +0 -1
  1488. package/bin/runtime/server/http/control/ModelRoutes.d.ts +0 -13
  1489. package/bin/runtime/server/http/control/ModelRoutes.d.ts.map +0 -1
  1490. package/bin/runtime/server/http/control/ModelRoutes.js +0 -87
  1491. package/bin/runtime/server/http/control/ModelRoutes.js.map +0 -1
  1492. package/bin/sdk/Agent.d.ts +0 -86
  1493. package/bin/sdk/Agent.d.ts.map +0 -1
  1494. package/bin/sdk/Agent.js +0 -213
  1495. package/bin/sdk/Agent.js.map +0 -1
  1496. package/bin/sdk/AgentSdkTypes.d.ts +0 -659
  1497. package/bin/sdk/AgentSdkTypes.d.ts.map +0 -1
  1498. package/bin/sdk/AgentSdkTypes.js +0 -10
  1499. package/bin/sdk/AgentSdkTypes.js.map +0 -1
  1500. package/bin/sdk/RemoteAgent.d.ts +0 -29
  1501. package/bin/sdk/RemoteAgent.d.ts.map +0 -1
  1502. package/bin/sdk/RemoteAgent.js +0 -444
  1503. package/bin/sdk/RemoteAgent.js.map +0 -1
  1504. package/bin/sdk/Session.d.ts +0 -176
  1505. package/bin/sdk/Session.d.ts.map +0 -1
  1506. package/bin/sdk/Session.js +0 -503
  1507. package/bin/sdk/Session.js.map +0 -1
  1508. package/bin/sdk/SessionEventMapper.d.ts.map +0 -1
  1509. package/bin/sdk/SessionEventMapper.js.map +0 -1
  1510. package/bin/sdk/SessionSystemBuilder.d.ts +0 -106
  1511. package/bin/sdk/SessionSystemBuilder.d.ts.map +0 -1
  1512. package/bin/sdk/SessionSystemBuilder.js.map +0 -1
  1513. package/bin/sdk/session/Browse.d.ts +0 -76
  1514. package/bin/sdk/session/Browse.d.ts.map +0 -1
  1515. package/bin/sdk/session/Browse.js +0 -418
  1516. package/bin/sdk/session/Browse.js.map +0 -1
  1517. package/bin/sdk/session/Metadata.d.ts.map +0 -1
  1518. package/bin/sdk/session/Metadata.js +0 -140
  1519. package/bin/sdk/session/Metadata.js.map +0 -1
  1520. package/bin/sdk/session/Paths.d.ts.map +0 -1
  1521. package/bin/sdk/session/Paths.js.map +0 -1
  1522. package/bin/sdk/session/Persistence.d.ts +0 -63
  1523. package/bin/sdk/session/Persistence.d.ts.map +0 -1
  1524. package/bin/sdk/session/Persistence.js +0 -52
  1525. package/bin/sdk/session/Persistence.js.map +0 -1
  1526. package/bin/sdk/session/RuntimeSessionPort.d.ts +0 -70
  1527. package/bin/sdk/session/RuntimeSessionPort.d.ts.map +0 -1
  1528. package/bin/sdk/session/RuntimeSessionPort.js.map +0 -1
  1529. package/bin/sdk/session/index.d.ts +0 -13
  1530. package/bin/sdk/session/index.d.ts.map +0 -1
  1531. package/bin/sdk/session/index.js +0 -13
  1532. package/bin/sdk/session/index.js.map +0 -1
  1533. package/bin/sdk/session/runtime/SessionEventHub.d.ts +0 -24
  1534. package/bin/sdk/session/runtime/SessionEventHub.d.ts.map +0 -1
  1535. package/bin/sdk/session/runtime/SessionEventHub.js.map +0 -1
  1536. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +0 -71
  1537. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +0 -1
  1538. package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +0 -1
  1539. package/src/config/project/AgentInitializer.ts +0 -426
  1540. package/src/core/AgentContextTypes.ts +0 -305
  1541. package/src/core/AgentCore.ts +0 -523
  1542. package/src/core/AgentCoreTypes.ts +0 -90
  1543. package/src/plugin/builtins/asr/Config.ts +0 -138
  1544. package/src/plugin/builtins/asr/Dependency.ts +0 -336
  1545. package/src/plugin/builtins/asr/InboundAugment.ts +0 -59
  1546. package/src/plugin/builtins/asr/ModelCatalog.ts +0 -43
  1547. package/src/plugin/builtins/asr/Plugin.ts +0 -501
  1548. package/src/plugin/builtins/auth/Plugin.ts +0 -222
  1549. package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +0 -265
  1550. package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +0 -168
  1551. package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +0 -219
  1552. package/src/plugin/builtins/auth/types/AuthPlugin.ts +0 -545
  1553. package/src/plugin/builtins/chat/Action.ts +0 -477
  1554. package/src/plugin/builtins/chat/ChatPlugin.ts +0 -255
  1555. package/src/plugin/builtins/chat/ChatPluginTypes.ts +0 -164
  1556. package/src/plugin/builtins/chat/Index.ts +0 -8
  1557. package/src/plugin/builtins/chat/PROMPT.direct.ts +0 -9
  1558. package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +0 -55
  1559. package/src/plugin/builtins/chat/accounts/ChannelAccountManager.ts +0 -297
  1560. package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +0 -450
  1561. package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +0 -320
  1562. package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
  1563. package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +0 -49
  1564. package/src/plugin/builtins/chat/channels/Configuration.ts +0 -35
  1565. package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
  1566. package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +0 -199
  1567. package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +0 -65
  1568. package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +0 -467
  1569. package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
  1570. package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
  1571. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
  1572. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
  1573. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
  1574. package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
  1575. package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
  1576. package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -5
  1577. package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +0 -492
  1578. package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
  1579. package/src/plugin/builtins/chat/channels/feishu/Shared.ts +0 -94
  1580. package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
  1581. package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +0 -137
  1582. package/src/plugin/builtins/chat/channels/qq/Configuration.ts +0 -64
  1583. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
  1584. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
  1585. package/src/plugin/builtins/chat/channels/qq/QQ.ts +0 -398
  1586. package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
  1587. package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
  1588. package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
  1589. package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
  1590. package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
  1591. package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
  1592. package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
  1593. package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
  1594. package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +0 -262
  1595. package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
  1596. package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
  1597. package/src/plugin/builtins/chat/channels/qq/QQSendSupport.ts +0 -91
  1598. package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +0 -263
  1599. package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +0 -381
  1600. package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
  1601. package/src/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -97
  1602. package/src/plugin/builtins/chat/channels/telegram/ApiClient.ts +0 -373
  1603. package/src/plugin/builtins/chat/channels/telegram/Bot.ts +0 -357
  1604. package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +0 -92
  1605. package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +0 -65
  1606. package/src/plugin/builtins/chat/channels/telegram/Handlers.ts +0 -91
  1607. package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
  1608. package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -2
  1609. package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
  1610. package/src/plugin/builtins/chat/channels/telegram/Shared.ts +0 -404
  1611. package/src/plugin/builtins/chat/channels/telegram/StateStore.ts +0 -58
  1612. package/src/plugin/builtins/chat/channels/telegram/TelegramInbound.ts +0 -186
  1613. package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
  1614. package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
  1615. package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
  1616. package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +0 -395
  1617. package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +0 -362
  1618. package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +0 -167
  1619. package/src/plugin/builtins/chat/runtime/ChatActionInputSupport.ts +0 -85
  1620. package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +0 -307
  1621. package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
  1622. package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +0 -145
  1623. package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
  1624. package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
  1625. package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
  1626. package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +0 -68
  1627. package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
  1628. package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +0 -186
  1629. package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +0 -367
  1630. package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +0 -5
  1631. package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +0 -70
  1632. package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
  1633. package/src/plugin/builtins/chat/runtime/ChatQueue.ts +0 -77
  1634. package/src/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
  1635. package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +0 -185
  1636. package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +0 -485
  1637. package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
  1638. package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
  1639. package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
  1640. package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
  1641. package/src/plugin/builtins/chat/runtime/ChatSession.ts +0 -156
  1642. package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
  1643. package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
  1644. package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
  1645. package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +0 -187
  1646. package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
  1647. package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
  1648. package/src/plugin/builtins/chat/runtime/InboundAugment.ts +0 -63
  1649. package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +0 -89
  1650. package/src/plugin/builtins/chat/runtime/PluginPoints.ts +0 -78
  1651. package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
  1652. package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
  1653. package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +0 -78
  1654. package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +0 -84
  1655. package/src/plugin/builtins/chat/types/BotInfo.ts +0 -101
  1656. package/src/plugin/builtins/chat/types/ChannelAccount.ts +0 -232
  1657. package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +0 -161
  1658. package/src/plugin/builtins/chat/types/ChannelContext.ts +0 -110
  1659. package/src/plugin/builtins/chat/types/ChannelStatus.ts +0 -98
  1660. package/src/plugin/builtins/chat/types/ChatCommand.ts +0 -174
  1661. package/src/plugin/builtins/chat/types/ChatDispatcher.ts +0 -42
  1662. package/src/plugin/builtins/chat/types/ChatHistory.ts +0 -42
  1663. package/src/plugin/builtins/chat/types/ChatMeta.ts +0 -35
  1664. package/src/plugin/builtins/chat/types/ChatPlugin.ts +0 -251
  1665. package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +0 -165
  1666. package/src/plugin/builtins/chat/types/ChatPromptContext.ts +0 -139
  1667. package/src/plugin/builtins/chat/types/ChatQueue.ts +0 -41
  1668. package/src/plugin/builtins/chat/types/ChatQueueWorker.ts +0 -25
  1669. package/src/plugin/builtins/chat/types/ChatRuntime.ts +0 -33
  1670. package/src/plugin/builtins/chat/types/DirectDispatch.ts +0 -133
  1671. package/src/plugin/builtins/chat/types/FeishuAttachment.ts +0 -50
  1672. package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
  1673. package/src/plugin/builtins/chat/types/FeishuPost.ts +0 -338
  1674. package/src/plugin/builtins/chat/types/QqInboundDedupe.ts +0 -12
  1675. package/src/plugin/builtins/chat/types/QqVoice.ts +0 -126
  1676. package/src/plugin/builtins/chat/types/ReplyContext.ts +0 -49
  1677. package/src/plugin/builtins/contact/Action.ts +0 -316
  1678. package/src/plugin/builtins/contact/ContactPlugin.ts +0 -505
  1679. package/src/plugin/builtins/contact/Index.ts +0 -8
  1680. package/src/plugin/builtins/contact/PROMPT.ts +0 -9
  1681. package/src/plugin/builtins/contact/PROMPT.ts.txt +0 -25
  1682. package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +0 -97
  1683. package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +0 -83
  1684. package/src/plugin/builtins/contact/runtime/ContactPayload.ts +0 -26
  1685. package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
  1686. package/src/plugin/builtins/contact/runtime/ContactStore.ts +0 -299
  1687. package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +0 -125
  1688. package/src/plugin/builtins/contact/runtime/EndpointResolver.ts +0 -146
  1689. package/src/plugin/builtins/contact/runtime/InboxStore.ts +0 -178
  1690. package/src/plugin/builtins/contact/runtime/LinkApproval.ts +0 -387
  1691. package/src/plugin/builtins/contact/runtime/LinkCode.ts +0 -70
  1692. package/src/plugin/builtins/contact/runtime/LinkStore.ts +0 -50
  1693. package/src/plugin/builtins/contact/runtime/Paths.ts +0 -139
  1694. package/src/plugin/builtins/contact/runtime/RemoteClient.ts +0 -158
  1695. package/src/plugin/builtins/contact/runtime/ShareBundle.ts +0 -286
  1696. package/src/plugin/builtins/contact/runtime/SystemProvider.ts +0 -15
  1697. package/src/plugin/builtins/contact/runtime/Token.ts +0 -40
  1698. package/src/plugin/builtins/contact/types/Contact.ts +0 -82
  1699. package/src/plugin/builtins/contact/types/ContactApproval.ts +0 -150
  1700. package/src/plugin/builtins/contact/types/ContactChat.ts +0 -47
  1701. package/src/plugin/builtins/contact/types/ContactCheck.ts +0 -67
  1702. package/src/plugin/builtins/contact/types/ContactCommand.ts +0 -98
  1703. package/src/plugin/builtins/contact/types/ContactEndpoint.ts +0 -16
  1704. package/src/plugin/builtins/contact/types/ContactLink.ts +0 -169
  1705. package/src/plugin/builtins/contact/types/ContactShare.ts +0 -172
  1706. package/src/plugin/builtins/memory/Action.ts +0 -147
  1707. package/src/plugin/builtins/memory/Index.ts +0 -9
  1708. package/src/plugin/builtins/memory/MemoryPlugin.ts +0 -270
  1709. package/src/plugin/builtins/memory/runtime/Flush.ts +0 -83
  1710. package/src/plugin/builtins/memory/runtime/Search.ts +0 -330
  1711. package/src/plugin/builtins/memory/runtime/Store.ts +0 -198
  1712. package/src/plugin/builtins/memory/runtime/SystemProvider.ts +0 -145
  1713. package/src/plugin/builtins/memory/runtime/Writer.ts +0 -173
  1714. package/src/plugin/builtins/memory/types/Memory.ts +0 -284
  1715. package/src/plugin/builtins/schedule/SchedulePlugin.ts +0 -131
  1716. package/src/plugin/builtins/shell/Index.ts +0 -9
  1717. package/src/plugin/builtins/shell/ShellPlugin.ts +0 -199
  1718. package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +0 -94
  1719. package/src/plugin/builtins/shell/runtime/Paths.ts +0 -28
  1720. package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +0 -135
  1721. package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
  1722. package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -384
  1723. package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
  1724. package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
  1725. package/src/plugin/builtins/skill/Action.ts +0 -159
  1726. package/src/plugin/builtins/skill/Command.ts +0 -98
  1727. package/src/plugin/builtins/skill/Config.ts +0 -51
  1728. package/src/plugin/builtins/skill/PROMPT.ts +0 -9
  1729. package/src/plugin/builtins/skill/PROMPT.ts.txt +0 -10
  1730. package/src/plugin/builtins/skill/Plugin.ts +0 -347
  1731. package/src/plugin/builtins/skill/SkillPromptAssets.ts +0 -14
  1732. package/src/plugin/builtins/skill/runtime/Discovery.ts +0 -141
  1733. package/src/plugin/builtins/skill/runtime/Frontmatter.ts +0 -17
  1734. package/src/plugin/builtins/skill/runtime/Paths.ts +0 -130
  1735. package/src/plugin/builtins/skill/runtime/Prompt.ts +0 -67
  1736. package/src/plugin/builtins/skill/runtime/Store.ts +0 -95
  1737. package/src/plugin/builtins/skill/runtime/SystemProvider.ts +0 -52
  1738. package/src/plugin/builtins/skill/runtime/Types.ts +0 -22
  1739. package/src/plugin/builtins/skill/runtime/Utils.ts +0 -28
  1740. package/src/plugin/builtins/skill/types/ClaudeSkill.ts +0 -64
  1741. package/src/plugin/builtins/skill/types/SkillCommand.ts +0 -90
  1742. package/src/plugin/builtins/skill/types/SkillPlugin.ts +0 -107
  1743. package/src/plugin/builtins/skill/types/SkillRoot.ts +0 -49
  1744. package/src/plugin/builtins/task/Action.ts +0 -491
  1745. package/src/plugin/builtins/task/Index.ts +0 -8
  1746. package/src/plugin/builtins/task/PROMPT.ts +0 -9
  1747. package/src/plugin/builtins/task/PROMPT.ts.txt +0 -237
  1748. package/src/plugin/builtins/task/Scheduler.ts +0 -245
  1749. package/src/plugin/builtins/task/TaskPlugin.ts +0 -167
  1750. package/src/plugin/builtins/task/runtime/CronTrigger.ts +0 -110
  1751. package/src/plugin/builtins/task/runtime/Frontmatter.ts +0 -24
  1752. package/src/plugin/builtins/task/runtime/Model.ts +0 -347
  1753. package/src/plugin/builtins/task/runtime/Paths.ts +0 -116
  1754. package/src/plugin/builtins/task/runtime/Runner.ts +0 -519
  1755. package/src/plugin/builtins/task/runtime/Store.ts +0 -253
  1756. package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +0 -276
  1757. package/src/plugin/builtins/task/runtime/TaskActionInput.ts +0 -281
  1758. package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +0 -214
  1759. package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +0 -5
  1760. package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +0 -8
  1761. package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +0 -14
  1762. package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
  1763. package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
  1764. package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
  1765. package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +0 -337
  1766. package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +0 -175
  1767. package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +0 -190
  1768. package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
  1769. package/src/plugin/builtins/task/types/Cron.ts +0 -16
  1770. package/src/plugin/builtins/task/types/Task.ts +0 -157
  1771. package/src/plugin/builtins/task/types/TaskCommand.ts +0 -165
  1772. package/src/plugin/builtins/task/types/TaskPluginTypes.ts +0 -55
  1773. package/src/plugin/builtins/tts/Dependency.ts +0 -473
  1774. package/src/plugin/builtins/tts/Plugin.ts +0 -509
  1775. package/src/plugin/builtins/tts/PluginSupport.ts +0 -85
  1776. package/src/plugin/builtins/tts/runtime/Catalog.ts +0 -97
  1777. package/src/plugin/builtins/tts/runtime/DependencyInstaller.ts +0 -436
  1778. package/src/plugin/builtins/tts/runtime/Installer.ts +0 -297
  1779. package/src/plugin/builtins/tts/runtime/Paths.ts +0 -39
  1780. package/src/plugin/builtins/tts/runtime/Synthesizer.ts +0 -480
  1781. package/src/plugin/builtins/tts/types/Tts.ts +0 -99
  1782. package/src/plugin/builtins/tts/types/TtsPlugin.ts +0 -164
  1783. package/src/plugin/builtins/voice/Config.ts +0 -135
  1784. package/src/plugin/builtins/voice/Dependency.ts +0 -329
  1785. package/src/plugin/builtins/voice/InboundAugment.ts +0 -59
  1786. package/src/plugin/builtins/voice/ModelCatalog.ts +0 -43
  1787. package/src/plugin/builtins/voice/runtime/Catalog.ts +0 -68
  1788. package/src/plugin/builtins/voice/runtime/DependencyInstaller.ts +0 -505
  1789. package/src/plugin/builtins/voice/runtime/Installer.ts +0 -324
  1790. package/src/plugin/builtins/voice/runtime/Paths.ts +0 -26
  1791. package/src/plugin/builtins/voice/runtime/Transcriber.ts +0 -467
  1792. package/src/plugin/builtins/voice/types/Voice.ts +0 -68
  1793. package/src/plugin/builtins/voice/types/VoicePlugin.ts +0 -194
  1794. package/src/plugin/builtins/web/Dependency.ts +0 -17
  1795. package/src/plugin/builtins/web/PROMPT.agent-browser.ts +0 -9
  1796. package/src/plugin/builtins/web/PROMPT.agent-browser.ts.txt +0 -17
  1797. package/src/plugin/builtins/web/PROMPT.ts +0 -9
  1798. package/src/plugin/builtins/web/PROMPT.ts.txt +0 -33
  1799. package/src/plugin/builtins/web/PROMPT.web-access.ts +0 -9
  1800. package/src/plugin/builtins/web/PROMPT.web-access.ts.txt +0 -13
  1801. package/src/plugin/builtins/web/Plugin.ts +0 -514
  1802. package/src/plugin/builtins/web/WebPromptAssets.ts +0 -26
  1803. package/src/plugin/builtins/web/runtime/Config.ts +0 -105
  1804. package/src/plugin/builtins/web/runtime/Source.ts +0 -257
  1805. package/src/plugin/builtins/web/types/WebPlugin.ts +0 -141
  1806. package/src/plugin/builtins/workboard/Plugin.ts +0 -94
  1807. package/src/plugin/builtins/workboard/runtime/Collector.ts +0 -79
  1808. package/src/plugin/builtins/workboard/runtime/Normalizer.ts +0 -213
  1809. package/src/plugin/builtins/workboard/runtime/Store.ts +0 -110
  1810. package/src/plugin/builtins/workboard/types/Workboard.ts +0 -158
  1811. package/src/plugin/core/BuiltinPluginClasses.ts +0 -48
  1812. package/src/plugin/core/Catalog.ts +0 -119
  1813. package/src/plugin/core/HttpRoutes.ts +0 -50
  1814. package/src/plugin/core/LocalExecution.ts +0 -199
  1815. package/src/plugin/core/PluginClassRegistry.ts +0 -88
  1816. package/src/plugin/core/PluginSystemProviders.ts +0 -50
  1817. package/src/plugin/core/schedule/Executor.ts +0 -54
  1818. package/src/plugin/core/schedule/Store.ts +0 -358
  1819. package/src/plugin/core/schedule/Time.ts +0 -131
  1820. package/src/plugin/types/PluginSchedule.ts +0 -89
  1821. package/src/runtime/server/http/control/ModelRoutes.ts +0 -101
  1822. package/src/sdk/Agent.ts +0 -261
  1823. package/src/sdk/AgentSdkTypes.ts +0 -760
  1824. package/src/sdk/RemoteAgent.ts +0 -621
  1825. package/src/sdk/Session.ts +0 -671
  1826. package/src/sdk/SessionSystemBuilder.ts +0 -259
  1827. package/src/sdk/session/Browse.ts +0 -519
  1828. package/src/sdk/session/Metadata.ts +0 -196
  1829. package/src/sdk/session/Persistence.ts +0 -113
  1830. package/src/sdk/session/RuntimeSessionPort.ts +0 -107
  1831. package/src/sdk/session/index.ts +0 -43
  1832. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/ChatMessageMarkup.js +0 -0
  1833. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UIMessageTransformer.js +0 -0
  1834. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UserVisibleText.js +0 -0
  1835. /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.d.ts +0 -0
  1836. /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.js +0 -0
  1837. /package/bin/{plugin/builtins → executor/tools}/shell/types/ShellPlugin.d.ts +0 -0
  1838. /package/bin/{plugin/builtins → executor/tools}/shell/types/ShellPlugin.js +0 -0
  1839. /package/bin/{sdk → session}/SessionEventMapper.d.ts +0 -0
  1840. /package/bin/{sdk → session}/SessionEventMapper.js +0 -0
  1841. /package/bin/{sdk → session}/SessionSystemBuilder.js +0 -0
  1842. /package/bin/{sdk/session → session}/runtime/SessionEventHub.js +0 -0
  1843. /package/bin/{sdk/session → session}/runtime/SessionPromptRuntime.js +0 -0
  1844. /package/bin/{sdk/session → session/storage}/Metadata.d.ts +0 -0
  1845. /package/bin/{sdk/session → session/storage}/Paths.d.ts +0 -0
  1846. /package/bin/{sdk/session → session/storage}/Paths.js +0 -0
  1847. /package/bin/{sdk/session → session/storage}/RuntimeSessionPort.js +0 -0
  1848. /package/bin/{config/project/types → types/config}/AgentProject.js +0 -0
  1849. /package/src/{plugin/builtins/chat/types/ChatMessageMarkup.ts → executor/messages/ChatMessageMarkupTypes.ts} +0 -0
  1850. /package/src/{plugin/builtins/chat/runtime → executor/messages}/UIMessageTransformer.ts +0 -0
  1851. /package/src/{plugin/builtins/chat/runtime → executor/messages}/UserVisibleText.ts +0 -0
  1852. /package/src/{plugin/builtins → executor/tools}/shell/types/Shell.ts +0 -0
  1853. /package/src/{plugin/builtins → executor/tools}/shell/types/ShellPlugin.ts +0 -0
  1854. /package/src/{sdk → session}/SessionEventMapper.ts +0 -0
  1855. /package/src/{sdk/session → session}/runtime/SessionEventHub.ts +0 -0
  1856. /package/src/{sdk/session → session}/runtime/SessionPromptRuntime.ts +0 -0
  1857. /package/src/{sdk/session → session/storage}/Paths.ts +0 -0
  1858. /package/src/{config/project/types → types/config}/AgentProject.ts +0 -0
@@ -1,15 +0,0 @@
1
- /**
2
- * Memory Flush(手动刷写)。
3
- *
4
- * 关键点(中文)
5
- * - 首版使用确定性规则,不依赖额外模型调用。
6
- * - 仅提取最近消息的可读文本并落盘到 daily 记忆。
7
- */
8
- import type { AgentContext } from "../../../../core/AgentContextTypes.js";
9
- import type { MemoryFlushPayload, MemoryFlushResponse } from "../../../../plugin/builtins/memory/types/Memory.js";
10
- import type { MemoryRuntimeState } from "./Store.js";
11
- /**
12
- * 把当前会话最近消息刷写到 daily 记忆。
13
- */
14
- export declare function flushMemory(context: AgentContext, state: MemoryRuntimeState, payload: MemoryFlushPayload): Promise<MemoryFlushResponse>;
15
- //# sourceMappingURL=Flush.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flush.d.ts","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/Flush.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA0BrD;;GAEG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,mBAAmB,CAAC,CAkC9B"}
@@ -1,63 +0,0 @@
1
- /**
2
- * Memory Flush(手动刷写)。
3
- *
4
- * 关键点(中文)
5
- * - 首版使用确定性规则,不依赖额外模型调用。
6
- * - 仅提取最近消息的可读文本并落盘到 daily 记忆。
7
- */
8
- import { isTextUIPart } from "ai";
9
- import { storeMemory } from "./Writer.js";
10
- function toUiParts(message) {
11
- return Array.isArray(message?.parts) ? message.parts : [];
12
- }
13
- function extractReadableLine(message) {
14
- const role = String(message.role || "").toLowerCase() === "user" ? "User" : "Assistant";
15
- const text = toUiParts(message)
16
- .filter(isTextUIPart)
17
- .map((part) => String(part.text || "").trim())
18
- .filter(Boolean)
19
- .join("\n")
20
- .trim();
21
- if (!text) {
22
- return "";
23
- }
24
- return `${role}: ${text}`;
25
- }
26
- /**
27
- * 把当前会话最近消息刷写到 daily 记忆。
28
- */
29
- export async function flushMemory(context, state, payload) {
30
- const sessionId = String(payload.sessionId || "").trim();
31
- if (!sessionId) {
32
- throw new Error("sessionId is required");
33
- }
34
- const maxMessages = Number.isFinite(payload.maxMessages)
35
- ? Math.max(1, Math.floor(payload.maxMessages))
36
- : 30;
37
- const historyStore = context.session.get(sessionId).getHistoryStore();
38
- const total = await historyStore.size();
39
- const start = Math.max(0, total - maxMessages);
40
- const messages = await historyStore.slice(start, total);
41
- const lines = messages
42
- .map((msg) => extractReadableLine(msg))
43
- .filter((line) => line.length > 0);
44
- const summary = lines.length > 0
45
- ? lines.join("\n\n")
46
- : "本次 flush 未找到可写入的用户/助手文本内容。";
47
- const content = [
48
- `Flush Session: ${sessionId}`,
49
- `Window: ${start}-${Math.max(start, total - 1)}`,
50
- "",
51
- summary,
52
- ].join("\n");
53
- const saved = await storeMemory(context, state, {
54
- content,
55
- target: "daily",
56
- });
57
- return {
58
- path: saved.path,
59
- messageCount: lines.length,
60
- writtenChars: saved.writtenChars,
61
- };
62
- }
63
- //# sourceMappingURL=Flush.js.map
@@ -1 +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,CAAC,CAAC;IACH,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,YAAY,EAAE,KAAK,CAAC,MAAM;QAC1B,YAAY,EAAE,KAAK,CAAC,YAAY;KACjC,CAAC;AACJ,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Memory Search 运行时。
3
- *
4
- * 关键点(中文)
5
- * - 直接扫描 Markdown 文件,不依赖额外索引库。
6
- * - 统一收敛检索、分块、打分与状态统计逻辑。
7
- */
8
- import type { AgentContext } from "../../../../core/AgentContextTypes.js";
9
- import type { MemorySearchPayload, MemorySearchResponse, MemoryStatusResponse } from "../../../../plugin/builtins/memory/types/Memory.js";
10
- import { type MemoryRuntimeState } from "./Store.js";
11
- /**
12
- * 收集当前 memory Markdown 状态。
13
- */
14
- export declare function collectMemoryStatus(context: AgentContext, state: MemoryRuntimeState): Promise<MemoryStatusResponse>;
15
- /**
16
- * 执行检索。
17
- */
18
- export declare function searchMemory(context: AgentContext, state: MemoryRuntimeState, payload: MemorySearchPayload): Promise<MemorySearchResponse>;
19
- //# sourceMappingURL=Search.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/Search.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EAGpB,oBAAoB,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,YAAY,CAAC;AA8JpB;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,oBAAoB,CAAC,CA8B/B;AAED;;GAEG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,oBAAoB,CAAC,CAyG/B"}
@@ -1,268 +0,0 @@
1
- /**
2
- * Memory Search 运行时。
3
- *
4
- * 关键点(中文)
5
- * - 直接扫描 Markdown 文件,不依赖额外索引库。
6
- * - 统一收敛检索、分块、打分与状态统计逻辑。
7
- */
8
- import fs from "node:fs/promises";
9
- import { listMemorySourceFiles, MEMORY_DEFAULTS, } from "./Store.js";
10
- const SNIPPET_MAX_CHARS = 700;
11
- const CHUNK_MAX_CHARS = 1600;
12
- const CHUNK_OVERLAP_CHARS = 240;
13
- function clampNumber(value, min, max) {
14
- if (!Number.isFinite(value))
15
- return min;
16
- return Math.max(min, Math.min(max, value));
17
- }
18
- function normalizeText(input) {
19
- return String(input || "").replace(/\r\n/g, "\n");
20
- }
21
- function truncateText(value, maxChars) {
22
- if (value.length <= maxChars) {
23
- return value;
24
- }
25
- return value.slice(0, maxChars);
26
- }
27
- function tokenizeQuery(raw) {
28
- return String(raw || "")
29
- .toLowerCase()
30
- .replace(/[^\p{L}\p{N}_-]+/gu, " ")
31
- .split(/\s+/)
32
- .map((item) => item.trim())
33
- .filter(Boolean)
34
- .slice(0, 12);
35
- }
36
- function countTokenOccurrences(text, token) {
37
- if (!token)
38
- return 0;
39
- let hits = 0;
40
- let start = 0;
41
- while (start < text.length) {
42
- const index = text.indexOf(token, start);
43
- if (index < 0)
44
- break;
45
- hits += 1;
46
- start = index + token.length;
47
- }
48
- return hits;
49
- }
50
- function buildSnippetScore(text, tokens) {
51
- if (tokens.length === 0)
52
- return 0;
53
- const normalized = normalizeText(text).toLowerCase();
54
- let matchedTokens = 0;
55
- let totalHits = 0;
56
- for (const token of tokens) {
57
- const hits = countTokenOccurrences(normalized, token);
58
- if (hits > 0) {
59
- matchedTokens += 1;
60
- totalHits += Math.min(hits, 4);
61
- }
62
- }
63
- if (matchedTokens === 0) {
64
- return 0;
65
- }
66
- const coverageScore = matchedTokens / tokens.length;
67
- const densityScore = Math.min(totalHits, tokens.length * 3) / (tokens.length * 3);
68
- return Number((coverageScore * 0.75 + densityScore * 0.25).toFixed(4));
69
- }
70
- function chunkMarkdown(content) {
71
- const lines = normalizeText(content).split("\n");
72
- if (lines.length === 0) {
73
- return [];
74
- }
75
- const out = [];
76
- let bucket = [];
77
- let chars = 0;
78
- const flush = () => {
79
- if (bucket.length === 0)
80
- return;
81
- const startLine = bucket[0]?.lineNo ?? 1;
82
- const endLine = bucket[bucket.length - 1]?.lineNo ?? startLine;
83
- const text = bucket.map((item) => item.line).join("\n").trim();
84
- if (!text)
85
- return;
86
- out.push({
87
- startLine,
88
- endLine,
89
- text,
90
- });
91
- };
92
- const carryOverlap = () => {
93
- if (bucket.length === 0 || CHUNK_OVERLAP_CHARS <= 0) {
94
- bucket = [];
95
- chars = 0;
96
- return;
97
- }
98
- let acc = 0;
99
- const next = [];
100
- for (let i = bucket.length - 1; i >= 0; i -= 1) {
101
- const row = bucket[i];
102
- if (!row)
103
- continue;
104
- acc += row.line.length + 1;
105
- next.unshift(row);
106
- if (acc >= CHUNK_OVERLAP_CHARS)
107
- break;
108
- }
109
- bucket = next;
110
- chars = bucket.reduce((sum, item) => sum + item.line.length + 1, 0);
111
- };
112
- for (let i = 0; i < lines.length; i += 1) {
113
- const line = lines[i] ?? "";
114
- const rowSize = line.length + 1;
115
- if (bucket.length > 0 && chars + rowSize > CHUNK_MAX_CHARS) {
116
- flush();
117
- carryOverlap();
118
- }
119
- bucket.push({ line, lineNo: i + 1 });
120
- chars += rowSize;
121
- }
122
- flush();
123
- return out;
124
- }
125
- async function readMemoryChunks(context) {
126
- const files = await listMemorySourceFiles(context.rootPath);
127
- const out = [];
128
- for (const file of files) {
129
- const content = String(await fs.readFile(file.absPath, "utf-8"));
130
- for (const chunk of chunkMarkdown(content)) {
131
- out.push({
132
- path: file.relPath,
133
- source: file.source,
134
- startLine: chunk.startLine,
135
- endLine: chunk.endLine,
136
- text: chunk.text,
137
- });
138
- }
139
- }
140
- return out;
141
- }
142
- /**
143
- * 收集当前 memory Markdown 状态。
144
- */
145
- export async function collectMemoryStatus(context, state) {
146
- const files = await listMemorySourceFiles(context.rootPath);
147
- const sourceCounts = [
148
- { source: "longterm", files: 0, chunks: 0 },
149
- { source: "daily", files: 0, chunks: 0 },
150
- { source: "working", files: 0, chunks: 0 },
151
- ];
152
- let totalChunks = 0;
153
- for (const file of files) {
154
- const bucket = sourceCounts.find((item) => item.source === file.source);
155
- if (bucket) {
156
- bucket.files += 1;
157
- }
158
- const content = String(await fs.readFile(file.absPath, "utf-8"));
159
- const chunks = chunkMarkdown(content).length;
160
- totalChunks += chunks;
161
- if (bucket) {
162
- bucket.chunks += chunks;
163
- }
164
- }
165
- return {
166
- enabled: state.enabled,
167
- backend: "builtin",
168
- mode: "scan",
169
- files: files.length,
170
- chunks: totalChunks,
171
- sourceCounts,
172
- };
173
- }
174
- /**
175
- * 执行检索。
176
- */
177
- export async function searchMemory(context, state, payload) {
178
- if (!state.enabled) {
179
- return {
180
- backend: "builtin",
181
- mode: "scan",
182
- results: [],
183
- disabled: true,
184
- error: "memory plugin disabled",
185
- action: "Set context.memory.enabled=true or remove the config override.",
186
- };
187
- }
188
- const query = String(payload.query || "").trim();
189
- if (!query) {
190
- return {
191
- backend: "builtin",
192
- mode: "scan",
193
- results: [],
194
- };
195
- }
196
- const tokens = tokenizeQuery(query);
197
- if (tokens.length === 0) {
198
- return {
199
- backend: "builtin",
200
- mode: "scan",
201
- results: [],
202
- };
203
- }
204
- const maxResults = Math.floor(clampNumber(Number(payload.maxResults ?? MEMORY_DEFAULTS.maxResults), 1, 20));
205
- const minScore = clampNumber(Number(payload.minScore ?? MEMORY_DEFAULTS.minScore), 0, 1);
206
- try {
207
- const results = (await readMemoryChunks(context))
208
- .map((chunk) => {
209
- const score = buildSnippetScore(chunk.text, tokens);
210
- const citation = chunk.startLine === chunk.endLine
211
- ? `${chunk.path}#L${chunk.startLine}`
212
- : `${chunk.path}#L${chunk.startLine}-L${chunk.endLine}`;
213
- return {
214
- path: chunk.path,
215
- source: chunk.source,
216
- startLine: chunk.startLine,
217
- endLine: chunk.endLine,
218
- score,
219
- snippet: truncateText(chunk.text, SNIPPET_MAX_CHARS),
220
- citation,
221
- };
222
- })
223
- .filter((item) => item.score >= minScore)
224
- .sort((left, right) => {
225
- if (right.score !== left.score) {
226
- return right.score - left.score;
227
- }
228
- if (left.path !== right.path) {
229
- return left.path.localeCompare(right.path);
230
- }
231
- return left.startLine - right.startLine;
232
- })
233
- .slice(0, maxResults * 3);
234
- let remain = Math.max(0, MEMORY_DEFAULTS.maxInjectedChars);
235
- const clamped = [];
236
- for (const item of results) {
237
- if (remain <= 0 || clamped.length >= maxResults)
238
- break;
239
- if (item.snippet.length <= remain) {
240
- clamped.push(item);
241
- remain -= item.snippet.length;
242
- continue;
243
- }
244
- clamped.push({
245
- ...item,
246
- snippet: item.snippet.slice(0, remain),
247
- });
248
- break;
249
- }
250
- return {
251
- backend: "builtin",
252
- mode: "scan",
253
- results: clamped,
254
- };
255
- }
256
- catch (error) {
257
- const message = String(error);
258
- return {
259
- backend: "builtin",
260
- mode: "scan",
261
- results: [],
262
- disabled: true,
263
- error: message,
264
- action: "Check the Markdown memory files under `.downcity/memory/`.",
265
- };
266
- }
267
- }
268
- //# sourceMappingURL=Search.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/Search.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AASlC,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,YAAY,CAAC;AAEpB,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAC9B,MAAM,eAAe,GAAG,IAAI,CAAC;AAC7B,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAEhC,SAAS,WAAW,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW;IAC1D,IAAI,CAAC,MAAM,CAAC,QAAQ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D;SACrE,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -1,65 +0,0 @@
1
- /**
2
- * Memory Store(文件与运行态管理)。
3
- *
4
- * 关键点(中文)
5
- * - 管理 Memory service 的最小运行时状态。
6
- * - 统一管理 memory 源文件枚举。
7
- * - 不承载检索算法,检索在 Search 模块。
8
- * - 新版本不再使用 module-global state,状态归属 MemoryService 实例。
9
- */
10
- import type { AgentContext } from "../../../../core/AgentContextTypes.js";
11
- import type { MemoryDefaults, MemorySourceType } from "../../../../plugin/builtins/memory/types/Memory.js";
12
- export declare const MEMORY_DEFAULTS: MemoryDefaults;
13
- export type MemorySourceFile = {
14
- /**
15
- * 来源分类。
16
- */
17
- source: MemorySourceType;
18
- /**
19
- * 绝对路径。
20
- */
21
- absPath: string;
22
- /**
23
- * 相对项目根目录路径。
24
- */
25
- relPath: string;
26
- };
27
- export type MemoryRuntimeState = {
28
- /**
29
- * 项目根目录。
30
- */
31
- rootPath: string;
32
- /**
33
- * Memory 是否启用。
34
- */
35
- enabled: boolean;
36
- };
37
- /**
38
- * 枚举 memory 源文件。
39
- */
40
- export declare function listMemorySourceFiles(rootPath: string): Promise<MemorySourceFile[]>;
41
- /**
42
- * 判断 Memory 功能是否启用(默认 true)。
43
- */
44
- export declare function isMemoryEnabled(context: AgentContext): boolean;
45
- /**
46
- * 创建一个新的 memory plugin state。
47
- *
48
- * 关键点(中文)
49
- * - 每个 `MemoryPlugin` 实例都持有自己的 state。
50
- * - 不再按 rootPath 落到模块级 Map,避免 plugin runtime 实例之间共享状态。
51
- */
52
- export declare function createMemoryRuntimeState(context: AgentContext): MemoryRuntimeState;
53
- /**
54
- * 启动 memory 运行时。
55
- *
56
- * 关键点(中文)
57
- * - Markdown-only 方案下不再维护后台索引同步。
58
- * - 这里只负责根据配置刷新 enabled 状态。
59
- */
60
- export declare function startMemoryRuntime(context: AgentContext, state: MemoryRuntimeState): Promise<void>;
61
- /**
62
- * 停止 memory 运行时。
63
- */
64
- export declare function stopMemoryRuntime(_state: MemoryRuntimeState): Promise<void>;
65
- //# sourceMappingURL=Store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/Store.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,0CAA0C,CAAC;AAElD,eAAO,MAAM,eAAe,EAAE,cAI7B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AA4CF;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAgD7B;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAG9D;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,YAAY,GACpB,kBAAkB,CAKpB;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,IAAI,CAAC,CAMf;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -1,142 +0,0 @@
1
- /**
2
- * Memory Store(文件与运行态管理)。
3
- *
4
- * 关键点(中文)
5
- * - 管理 Memory service 的最小运行时状态。
6
- * - 统一管理 memory 源文件枚举。
7
- * - 不承载检索算法,检索在 Search 模块。
8
- * - 新版本不再使用 module-global state,状态归属 MemoryService 实例。
9
- */
10
- import fsp from "node:fs/promises";
11
- import path from "node:path";
12
- export const MEMORY_DEFAULTS = {
13
- maxResults: 6,
14
- minScore: 0.35,
15
- maxInjectedChars: 4000,
16
- };
17
- function normalizeRelPath(rootPath, absPath) {
18
- return path.relative(rootPath, absPath).replace(/\\/g, "/");
19
- }
20
- function isMarkdownPath(filePath) {
21
- return filePath.toLowerCase().endsWith(".md");
22
- }
23
- async function pathExists(absPath) {
24
- try {
25
- await fsp.access(absPath);
26
- return true;
27
- }
28
- catch {
29
- return false;
30
- }
31
- }
32
- async function listMarkdownFilesRecursively(dirPath) {
33
- const out = [];
34
- let entries = [];
35
- try {
36
- entries = await fsp.readdir(dirPath, { withFileTypes: true });
37
- }
38
- catch {
39
- return out;
40
- }
41
- for (const entry of entries) {
42
- const abs = path.join(dirPath, entry.name);
43
- if (entry.isSymbolicLink()) {
44
- continue;
45
- }
46
- if (entry.isDirectory()) {
47
- out.push(...(await listMarkdownFilesRecursively(abs)));
48
- continue;
49
- }
50
- if (!entry.isFile() || !isMarkdownPath(abs)) {
51
- continue;
52
- }
53
- out.push(abs);
54
- }
55
- return out;
56
- }
57
- /**
58
- * 枚举 memory 源文件。
59
- */
60
- export async function listMemorySourceFiles(rootPath) {
61
- const out = [];
62
- const longterm = path.join(rootPath, ".downcity", "memory", "MEMORY.md");
63
- if (await pathExists(longterm)) {
64
- out.push({
65
- source: "longterm",
66
- absPath: longterm,
67
- relPath: normalizeRelPath(rootPath, longterm),
68
- });
69
- }
70
- const dailyDir = path.join(rootPath, ".downcity", "memory", "daily");
71
- for (const abs of await listMarkdownFilesRecursively(dailyDir)) {
72
- out.push({
73
- source: "daily",
74
- absPath: abs,
75
- relPath: normalizeRelPath(rootPath, abs),
76
- });
77
- }
78
- const sessionRootDir = path.join(rootPath, ".downcity", "session");
79
- let sessions = [];
80
- try {
81
- sessions = await fsp.readdir(sessionRootDir, { withFileTypes: true });
82
- }
83
- catch {
84
- sessions = [];
85
- }
86
- for (const sessionDir of sessions) {
87
- if (!sessionDir.isDirectory() || sessionDir.isSymbolicLink()) {
88
- continue;
89
- }
90
- const workingPath = path.join(sessionRootDir, sessionDir.name, "memory", "working.md");
91
- if (!(await pathExists(workingPath))) {
92
- continue;
93
- }
94
- out.push({
95
- source: "working",
96
- absPath: workingPath,
97
- relPath: normalizeRelPath(rootPath, workingPath),
98
- });
99
- }
100
- return out;
101
- }
102
- /**
103
- * 判断 Memory 功能是否启用(默认 true)。
104
- */
105
- export function isMemoryEnabled(context) {
106
- const enabled = context.config?.context?.memory?.enabled;
107
- return enabled !== false;
108
- }
109
- /**
110
- * 创建一个新的 memory plugin state。
111
- *
112
- * 关键点(中文)
113
- * - 每个 `MemoryPlugin` 实例都持有自己的 state。
114
- * - 不再按 rootPath 落到模块级 Map,避免 plugin runtime 实例之间共享状态。
115
- */
116
- export function createMemoryRuntimeState(context) {
117
- return {
118
- rootPath: context.rootPath,
119
- enabled: isMemoryEnabled(context),
120
- };
121
- }
122
- /**
123
- * 启动 memory 运行时。
124
- *
125
- * 关键点(中文)
126
- * - Markdown-only 方案下不再维护后台索引同步。
127
- * - 这里只负责根据配置刷新 enabled 状态。
128
- */
129
- export async function startMemoryRuntime(context, state) {
130
- state.enabled = isMemoryEnabled(context);
131
- if (!state.enabled) {
132
- context.logger.info("[memory] disabled by config");
133
- return;
134
- }
135
- }
136
- /**
137
- * 停止 memory 运行时。
138
- */
139
- export async function stopMemoryRuntime(_state) {
140
- void _state;
141
- }
142
- //# sourceMappingURL=Store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Store.js","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/Store.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,IAAI,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AE,CAAC;QACnB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;QACnD,OAAO;IACT,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,MAA0B;IAE1B,KAAK,MAAM,CAAC;AACd,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Memory System Prompt 构建器。
3
- *
4
- * 关键点(中文)
5
- * - 仅注入一小段稳定长期记忆,不直接注入整份 memory 原文。
6
- * - 其余记忆统一通过 memory plugin action 按需获取。
7
- */
8
- import type { AgentContext } from "../../../../core/AgentContextTypes.js";
9
- /**
10
- * 从 longterm 文件中提取稳定 Canon 文本。
11
- *
12
- * 关键点(中文)
13
- * - 只提取 `### Canon` 下的正文。
14
- * - 丢弃时间戳、类型、空行等易变信息,保证 system prompt 更稳定。
15
- * - 做简单去重,避免同一条长期偏好重复注入。
16
- */
17
- export declare function readStableSystemMemory(context: AgentContext): Promise<string[]>;
18
- /**
19
- * 构建 memory plugin 的 system 文本。
20
- */
21
- export declare function buildMemoryPluginSystemText(context: AgentContext): Promise<string>;
22
- //# sourceMappingURL=SystemProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SystemProvider.d.ts","sourceRoot":"","sources":["../../../../../src/plugin/builtins/memory/runtime/SystemProvider.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAoBhE;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,EAAE,CAAC,CA+DnB;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,CAkCjB"}