@downcity/agent 1.1.32 → 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 (2342) hide show
  1. package/README.md +26 -84
  2. package/bin/agent/Agent.d.ts +208 -0
  3. package/bin/agent/Agent.d.ts.map +1 -0
  4. package/bin/agent/Agent.js +641 -0
  5. package/bin/agent/Agent.js.map +1 -0
  6. package/bin/agent/RemoteAgent.d.ts +29 -0
  7. package/bin/agent/RemoteAgent.d.ts.map +1 -0
  8. package/bin/agent/RemoteAgent.js +444 -0
  9. package/bin/agent/RemoteAgent.js.map +1 -0
  10. package/bin/config/AgentInitializer.d.ts +39 -0
  11. package/bin/config/AgentInitializer.d.ts.map +1 -0
  12. package/bin/config/AgentInitializer.js +208 -0
  13. package/bin/config/AgentInitializer.js.map +1 -0
  14. package/bin/config/Config.d.ts +16 -0
  15. package/bin/config/Config.d.ts.map +1 -1
  16. package/bin/config/Config.js +33 -67
  17. package/bin/config/Config.js.map +1 -1
  18. package/bin/config/ConfigEnvResolver.d.ts +22 -0
  19. package/bin/config/ConfigEnvResolver.d.ts.map +1 -0
  20. package/bin/config/ConfigEnvResolver.js +41 -0
  21. package/bin/config/ConfigEnvResolver.js.map +1 -0
  22. package/bin/config/Defaults.d.ts +12 -4
  23. package/bin/config/Defaults.d.ts.map +1 -1
  24. package/bin/config/Defaults.js +13 -5
  25. package/bin/config/Defaults.js.map +1 -1
  26. package/bin/config/DowncitySchema.d.ts +18 -0
  27. package/bin/config/DowncitySchema.d.ts.map +1 -1
  28. package/bin/config/DowncitySchema.js +9 -8
  29. package/bin/config/DowncitySchema.js.map +1 -1
  30. package/bin/config/EnvFile.d.ts +31 -0
  31. package/bin/config/EnvFile.d.ts.map +1 -0
  32. package/bin/config/EnvFile.js +89 -0
  33. package/bin/config/EnvFile.js.map +1 -0
  34. package/bin/config/ExecutionBinding.d.ts +24 -5
  35. package/bin/config/ExecutionBinding.d.ts.map +1 -1
  36. package/bin/config/ExecutionBinding.js +24 -5
  37. package/bin/config/ExecutionBinding.js.map +1 -1
  38. package/bin/config/Gitignore.d.ts +21 -0
  39. package/bin/config/Gitignore.d.ts.map +1 -0
  40. package/bin/config/Gitignore.js +46 -0
  41. package/bin/config/Gitignore.js.map +1 -0
  42. package/bin/config/Paths.d.ts +147 -2
  43. package/bin/config/Paths.d.ts.map +1 -1
  44. package/bin/config/Paths.js +156 -7
  45. package/bin/config/Paths.js.map +1 -1
  46. package/bin/config/PlatformPaths.d.ts +35 -0
  47. package/bin/config/PlatformPaths.d.ts.map +1 -0
  48. package/bin/config/PlatformPaths.js +49 -0
  49. package/bin/config/PlatformPaths.js.map +1 -0
  50. package/bin/executor/Executor.d.ts +172 -0
  51. package/bin/executor/Executor.d.ts.map +1 -0
  52. package/bin/executor/Executor.js +533 -0
  53. package/bin/executor/Executor.js.map +1 -0
  54. package/bin/executor/SessionRunScope.d.ts +84 -0
  55. package/bin/executor/SessionRunScope.d.ts.map +1 -0
  56. package/bin/executor/SessionRunScope.js +82 -0
  57. package/bin/executor/SessionRunScope.js.map +1 -0
  58. package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts +55 -0
  59. package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
  60. package/bin/executor/composer/compaction/SessionCompactionComposer.js.map +1 -0
  61. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
  62. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
  63. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
  64. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
  65. package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
  66. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +48 -0
  67. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -0
  68. package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -0
  69. package/bin/executor/composer/context/SessionContextComposer.d.ts +62 -0
  70. package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -0
  71. package/bin/executor/composer/context/SessionContextComposer.js.map +1 -0
  72. package/bin/executor/composer/history/SessionHistoryComposer.d.ts +54 -0
  73. package/bin/executor/composer/history/SessionHistoryComposer.d.ts.map +1 -0
  74. package/bin/executor/composer/history/SessionHistoryComposer.js.map +1 -0
  75. package/bin/executor/composer/history/SessionHistoryWriter.d.ts +56 -0
  76. package/bin/executor/composer/history/SessionHistoryWriter.d.ts.map +1 -0
  77. package/bin/executor/composer/history/SessionHistoryWriter.js.map +1 -0
  78. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +35 -0
  79. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
  80. package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
  81. package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -0
  82. package/bin/executor/composer/system/SessionSystemComposer.js.map +1 -0
  83. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
  84. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
  85. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
  86. package/bin/executor/composer/system/default/InitPromptAssets.d.ts.map +1 -0
  87. package/bin/executor/composer/system/default/InitPromptAssets.js.map +1 -0
  88. package/bin/executor/composer/system/default/InitPrompts.d.ts.map +1 -0
  89. package/bin/executor/composer/system/default/InitPrompts.js.map +1 -0
  90. package/bin/executor/composer/system/default/PromptRenderer.d.ts.map +1 -0
  91. package/bin/executor/composer/system/default/PromptRenderer.js.map +1 -0
  92. package/bin/executor/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
  93. package/bin/executor/composer/system/default/StaticPromptCatalog.js.map +1 -0
  94. package/bin/executor/composer/system/default/SystemDomain.d.ts +169 -0
  95. package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -0
  96. package/bin/executor/composer/system/default/SystemDomain.js +204 -0
  97. package/bin/executor/composer/system/default/SystemDomain.js.map +1 -0
  98. package/bin/executor/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
  99. package/bin/executor/composer/system/default/SystemPromptAssets.js.map +1 -0
  100. package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -0
  101. package/bin/executor/composer/system/default/assets/core.prompt.js +8 -0
  102. package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -0
  103. package/bin/executor/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
  104. package/bin/executor/composer/system/default/assets/init/PROFILE.md.js +8 -0
  105. package/bin/executor/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
  106. package/bin/executor/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
  107. package/bin/executor/composer/system/default/assets/init/SOUL.md.js +8 -0
  108. package/bin/executor/composer/system/default/assets/init/SOUL.md.js.map +1 -0
  109. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +7 -0
  110. package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -0
  111. package/bin/executor/composer/system/default/assets/plugin.prompt.js +8 -0
  112. package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -0
  113. package/bin/executor/composer/system/default/assets/task.prompt.d.ts.map +1 -0
  114. package/bin/executor/composer/system/default/assets/task.prompt.js +8 -0
  115. package/bin/executor/composer/system/default/assets/task.prompt.js.map +1 -0
  116. package/bin/executor/composer/system/default/variables/GeoContext.d.ts.map +1 -0
  117. package/bin/executor/composer/system/default/variables/GeoContext.js.map +1 -0
  118. package/bin/executor/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
  119. package/bin/executor/composer/system/default/variables/PromptTypes.js.map +1 -0
  120. package/bin/executor/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
  121. package/bin/executor/composer/system/default/variables/VariableReplacer.js.map +1 -0
  122. package/bin/executor/core-engine/CoreEngineError.d.ts.map +1 -0
  123. package/bin/executor/core-engine/CoreEngineError.js.map +1 -0
  124. package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts +27 -0
  125. package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts.map +1 -0
  126. package/bin/executor/core-engine/CoreEngineLoopDecision.js.map +1 -0
  127. package/bin/executor/core-engine/CoreEngineMessageState.d.ts +63 -0
  128. package/bin/executor/core-engine/CoreEngineMessageState.d.ts.map +1 -0
  129. package/bin/executor/core-engine/CoreEngineMessageState.js.map +1 -0
  130. package/bin/executor/core-engine/CoreEngineSignals.d.ts +72 -0
  131. package/bin/executor/core-engine/CoreEngineSignals.d.ts.map +1 -0
  132. package/bin/executor/core-engine/CoreEngineSignals.js.map +1 -0
  133. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +33 -0
  134. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -0
  135. package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -0
  136. package/bin/executor/ids/resolveSessionId.d.ts.map +1 -0
  137. package/bin/executor/ids/resolveSessionId.js.map +1 -0
  138. package/bin/executor/messages/AssistantResultPersistence.d.ts +66 -0
  139. package/bin/executor/messages/AssistantResultPersistence.d.ts.map +1 -0
  140. package/bin/executor/messages/AssistantResultPersistence.js +48 -0
  141. package/bin/executor/messages/AssistantResultPersistence.js.map +1 -0
  142. package/bin/executor/messages/ChatMessageMarkup.d.ts +54 -0
  143. package/bin/executor/messages/ChatMessageMarkup.d.ts.map +1 -0
  144. package/bin/executor/messages/ChatMessageMarkup.js.map +1 -0
  145. package/bin/executor/messages/ChatMessageMarkupTypes.d.ts +144 -0
  146. package/bin/executor/messages/ChatMessageMarkupTypes.d.ts.map +1 -0
  147. package/bin/executor/messages/ChatMessageMarkupTypes.js +9 -0
  148. package/bin/executor/messages/ChatMessageMarkupTypes.js.map +1 -0
  149. package/bin/executor/messages/SessionAttachmentMapper.d.ts +14 -0
  150. package/bin/executor/messages/SessionAttachmentMapper.d.ts.map +1 -0
  151. package/bin/executor/messages/SessionAttachmentMapper.js +145 -0
  152. package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -0
  153. package/bin/executor/messages/SessionMessageCodec.d.ts +41 -0
  154. package/bin/executor/messages/SessionMessageCodec.d.ts.map +1 -0
  155. package/bin/executor/messages/SessionMessageCodec.js.map +1 -0
  156. package/bin/executor/messages/SessionMessageLog.d.ts +19 -0
  157. package/bin/executor/messages/SessionMessageLog.d.ts.map +1 -0
  158. package/bin/executor/messages/SessionMessageLog.js.map +1 -0
  159. package/bin/executor/messages/SessionStepEventMapper.d.ts +20 -0
  160. package/bin/executor/messages/SessionStepEventMapper.d.ts.map +1 -0
  161. package/bin/executor/messages/SessionStepEventMapper.js.map +1 -0
  162. package/bin/executor/messages/UIMessageTransformer.d.ts +24 -0
  163. package/bin/executor/messages/UIMessageTransformer.d.ts.map +1 -0
  164. package/bin/executor/messages/UIMessageTransformer.js.map +1 -0
  165. package/bin/executor/messages/UserVisibleText.d.ts +34 -0
  166. package/bin/executor/messages/UserVisibleText.d.ts.map +1 -0
  167. package/bin/executor/messages/UserVisibleText.js.map +1 -0
  168. package/bin/executor/store/history/SessionHistoryStore.d.ts +119 -0
  169. package/bin/executor/store/history/SessionHistoryStore.d.ts.map +1 -0
  170. package/bin/executor/store/history/SessionHistoryStore.js.map +1 -0
  171. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts +85 -0
  172. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +1 -0
  173. package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js.map +1 -0
  174. package/bin/executor/tools/shell/ShellToolBridge.d.ts +79 -0
  175. package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -0
  176. package/bin/executor/tools/shell/ShellToolBridge.js +288 -0
  177. package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -0
  178. package/bin/executor/tools/shell/ShellToolDefinition.d.ts +114 -0
  179. package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -0
  180. package/bin/executor/tools/shell/ShellToolDefinition.js +359 -0
  181. package/bin/executor/tools/shell/ShellToolDefinition.js.map +1 -0
  182. package/bin/executor/tools/shell/ShellToolFormatting.d.ts +26 -0
  183. package/bin/executor/tools/shell/ShellToolFormatting.d.ts.map +1 -0
  184. package/bin/executor/tools/shell/ShellToolFormatting.js +74 -0
  185. package/bin/executor/tools/shell/ShellToolFormatting.js.map +1 -0
  186. package/bin/executor/tools/shell/ShellToolSchemas.d.ts +118 -0
  187. package/bin/executor/tools/shell/ShellToolSchemas.d.ts.map +1 -0
  188. package/bin/executor/tools/shell/ShellToolSchemas.js +113 -0
  189. package/bin/executor/tools/shell/ShellToolSchemas.js.map +1 -0
  190. package/bin/executor/tools/shell/types/Shell.d.ts.map +1 -0
  191. package/bin/executor/tools/shell/types/Shell.js.map +1 -0
  192. package/bin/executor/tools/shell/types/ShellPlugin.d.ts +216 -0
  193. package/bin/executor/tools/shell/types/ShellPlugin.d.ts.map +1 -0
  194. package/bin/executor/tools/shell/types/ShellPlugin.js +9 -0
  195. package/bin/executor/tools/shell/types/ShellPlugin.js.map +1 -0
  196. package/bin/executor/types/SessionExecutor.d.ts +18 -0
  197. package/bin/executor/types/SessionExecutor.d.ts.map +1 -0
  198. package/bin/executor/types/SessionExecutor.js.map +1 -0
  199. package/bin/executor/types/SessionHistoryMeta.d.ts.map +1 -0
  200. package/bin/executor/types/SessionHistoryMeta.js.map +1 -0
  201. package/bin/executor/types/SessionHistoryPaths.d.ts.map +1 -0
  202. package/bin/executor/types/SessionHistoryPaths.js.map +1 -0
  203. package/bin/executor/types/SessionLoop.d.ts.map +1 -0
  204. package/bin/executor/types/SessionLoop.js.map +1 -0
  205. package/bin/executor/types/SessionMessages.d.ts.map +1 -0
  206. package/bin/executor/types/SessionMessages.js.map +1 -0
  207. package/bin/executor/types/SessionPrompts.d.ts.map +1 -0
  208. package/bin/executor/types/SessionPrompts.js.map +1 -0
  209. package/bin/executor/types/SessionRun.d.ts +112 -0
  210. package/bin/executor/types/SessionRun.d.ts.map +1 -0
  211. package/bin/executor/types/SessionRun.js.map +1 -0
  212. package/bin/index.d.ts +34 -51
  213. package/bin/index.d.ts.map +1 -1
  214. package/bin/index.js +24 -37
  215. package/bin/index.js.map +1 -1
  216. package/bin/plugin/core/ActionScheduleExecutor.d.ts +18 -0
  217. package/bin/plugin/core/ActionScheduleExecutor.d.ts.map +1 -0
  218. package/bin/plugin/core/ActionScheduleExecutor.js +49 -0
  219. package/bin/plugin/core/ActionScheduleExecutor.js.map +1 -0
  220. package/bin/plugin/core/ActionScheduleRuntime.d.ts +23 -0
  221. package/bin/plugin/core/ActionScheduleRuntime.d.ts.map +1 -0
  222. package/bin/plugin/core/ActionScheduleRuntime.js +61 -0
  223. package/bin/plugin/core/ActionScheduleRuntime.js.map +1 -0
  224. package/bin/plugin/core/ActionScheduleStore.d.ts +92 -0
  225. package/bin/plugin/core/ActionScheduleStore.d.ts.map +1 -0
  226. package/bin/plugin/core/ActionScheduleStore.js +287 -0
  227. package/bin/plugin/core/ActionScheduleStore.js.map +1 -0
  228. package/bin/plugin/core/ActionScheduleTime.d.ts +32 -0
  229. package/bin/plugin/core/ActionScheduleTime.d.ts.map +1 -0
  230. package/bin/plugin/core/ActionScheduleTime.js +108 -0
  231. package/bin/plugin/core/ActionScheduleTime.js.map +1 -0
  232. package/bin/plugin/core/Activation.d.ts +7 -7
  233. package/bin/plugin/core/Activation.d.ts.map +1 -1
  234. package/bin/plugin/core/Activation.js +8 -7
  235. package/bin/plugin/core/Activation.js.map +1 -1
  236. package/bin/plugin/core/BasePlugin.d.ts +5 -5
  237. package/bin/plugin/core/BasePlugin.d.ts.map +1 -1
  238. package/bin/plugin/core/BasePlugin.js +2 -2
  239. package/bin/plugin/core/HookRegistry.d.ts +1 -1
  240. package/bin/plugin/core/HookRegistry.d.ts.map +1 -1
  241. package/bin/plugin/core/PluginActionRunner.d.ts +3 -3
  242. package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -1
  243. package/bin/plugin/core/PluginActionRunner.js +3 -4
  244. package/bin/plugin/core/PluginActionRunner.js.map +1 -1
  245. package/bin/plugin/core/PluginCatalog.d.ts +56 -0
  246. package/bin/plugin/core/PluginCatalog.d.ts.map +1 -0
  247. package/bin/plugin/core/PluginCatalog.js +137 -0
  248. package/bin/plugin/core/PluginCatalog.js.map +1 -0
  249. package/bin/plugin/core/PluginCommand.d.ts +9 -5
  250. package/bin/plugin/core/PluginCommand.d.ts.map +1 -1
  251. package/bin/plugin/core/PluginCommand.js +12 -11
  252. package/bin/plugin/core/PluginCommand.js.map +1 -1
  253. package/bin/plugin/core/PluginCommandRequest.d.ts +7 -7
  254. package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -1
  255. package/bin/plugin/core/PluginCommandRequest.js +6 -6
  256. package/bin/plugin/core/PluginCommandRequest.js.map +1 -1
  257. package/bin/plugin/core/PluginHttpRoutes.d.ts +24 -0
  258. package/bin/plugin/core/PluginHttpRoutes.d.ts.map +1 -0
  259. package/bin/plugin/core/PluginHttpRoutes.js +35 -0
  260. package/bin/plugin/core/PluginHttpRoutes.js.map +1 -0
  261. package/bin/plugin/core/PluginLocalExecution.d.ts +33 -0
  262. package/bin/plugin/core/PluginLocalExecution.d.ts.map +1 -0
  263. package/bin/plugin/core/PluginLocalExecution.js +120 -0
  264. package/bin/plugin/core/PluginLocalExecution.js.map +1 -0
  265. package/bin/plugin/core/PluginRegistry.d.ts +1 -1
  266. package/bin/plugin/core/PluginRegistry.d.ts.map +1 -1
  267. package/bin/plugin/core/PluginRegistry.js +2 -12
  268. package/bin/plugin/core/PluginRegistry.js.map +1 -1
  269. package/bin/plugin/core/PluginStateController.d.ts +2 -2
  270. package/bin/plugin/core/PluginStateController.d.ts.map +1 -1
  271. package/bin/plugin/core/PluginStateController.js +5 -6
  272. package/bin/plugin/core/PluginStateController.js.map +1 -1
  273. package/bin/plugin/core/ProjectConfigStore.d.ts +53 -0
  274. package/bin/plugin/core/ProjectConfigStore.d.ts.map +1 -1
  275. package/bin/plugin/core/ProjectConfigStore.js +52 -0
  276. package/bin/plugin/core/ProjectConfigStore.js.map +1 -1
  277. package/bin/plugin/types/ActionSchedule.d.ts +85 -0
  278. package/bin/plugin/types/ActionSchedule.d.ts.map +1 -0
  279. package/bin/plugin/types/ActionSchedule.js +10 -0
  280. package/bin/plugin/types/ActionSchedule.js.map +1 -0
  281. package/bin/plugin/types/Plugin.d.ts +23 -31
  282. package/bin/plugin/types/Plugin.d.ts.map +1 -1
  283. package/bin/plugin/types/PluginApi.d.ts +3 -3
  284. package/bin/plugin/types/PluginApi.d.ts.map +1 -1
  285. package/bin/plugin/types/PluginApi.js +1 -1
  286. package/bin/plugin/types/PluginState.d.ts +1 -1
  287. package/bin/plugin/types/PluginState.d.ts.map +1 -1
  288. package/bin/plugin/types/Plugins.d.ts +2 -2
  289. package/bin/plugin/types/Plugins.d.ts.map +1 -1
  290. package/bin/runtime/host/AgentHostRuntime.js +1 -1
  291. package/bin/runtime/host/daemon/Api.d.ts +2 -2
  292. package/bin/runtime/host/daemon/Api.js +1 -1
  293. package/bin/runtime/host/daemon/ProjectSetup.d.ts +0 -11
  294. package/bin/runtime/host/daemon/ProjectSetup.d.ts.map +1 -1
  295. package/bin/runtime/host/daemon/ProjectSetup.js +0 -45
  296. package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
  297. package/bin/runtime/sandbox/SandboxConfigResolver.d.ts +1 -1
  298. package/bin/runtime/sandbox/SandboxConfigResolver.d.ts.map +1 -1
  299. package/bin/runtime/sandbox/SandboxRunner.d.ts +1 -1
  300. package/bin/runtime/sandbox/SandboxRunner.d.ts.map +1 -1
  301. package/bin/runtime/sandbox/types/SandboxRuntime.d.ts +1 -1
  302. package/bin/runtime/sandbox/types/SandboxRuntime.js +1 -1
  303. package/bin/runtime/server/http/Server.d.ts +10 -10
  304. package/bin/runtime/server/http/Server.d.ts.map +1 -1
  305. package/bin/runtime/server/http/Server.js +14 -34
  306. package/bin/runtime/server/http/Server.js.map +1 -1
  307. package/bin/runtime/server/http/control/AuthControlService.d.ts +9 -5
  308. package/bin/runtime/server/http/control/AuthControlService.d.ts.map +1 -1
  309. package/bin/runtime/server/http/control/AuthControlService.js +11 -2
  310. package/bin/runtime/server/http/control/AuthControlService.js.map +1 -1
  311. package/bin/runtime/server/http/control/ControlApiRoutes.d.ts +1 -1
  312. package/bin/runtime/server/http/control/ControlApiRoutes.d.ts.map +1 -1
  313. package/bin/runtime/server/http/control/ControlApiRoutes.js +1 -3
  314. package/bin/runtime/server/http/control/ControlApiRoutes.js.map +1 -1
  315. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts +1 -1
  316. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts.map +1 -1
  317. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js +1 -2
  318. package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js.map +1 -1
  319. package/bin/runtime/server/http/control/ControlRouter.d.ts +2 -2
  320. package/bin/runtime/server/http/control/ControlRouter.d.ts.map +1 -1
  321. package/bin/runtime/server/http/control/ExecuteBySession.d.ts +6 -15
  322. package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
  323. package/bin/runtime/server/http/control/ExecuteBySession.js +3 -64
  324. package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
  325. package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
  326. package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
  327. package/bin/runtime/server/http/control/MessageTimeline.d.ts +1 -1
  328. package/bin/runtime/server/http/control/MessageTimeline.d.ts.map +1 -1
  329. package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
  330. package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
  331. package/bin/runtime/server/http/control/OverviewRoutes.d.ts +1 -1
  332. package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
  333. package/bin/runtime/server/http/control/OverviewRoutes.js +9 -10
  334. package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
  335. package/bin/runtime/server/http/control/SessionRoutes.js +1 -1
  336. package/bin/runtime/server/http/control/SessionRoutes.js.map +1 -1
  337. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -1
  338. package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
  339. package/bin/runtime/server/http/control/SessionSummaryStore.js +0 -12
  340. package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
  341. package/bin/runtime/server/http/control/TaskRoutes.d.ts +1 -1
  342. package/bin/runtime/server/http/control/TaskRoutes.d.ts.map +1 -1
  343. package/bin/runtime/server/http/control/TaskRoutes.js +43 -14
  344. package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
  345. package/bin/runtime/server/http/control/TaskStore.d.ts.map +1 -1
  346. package/bin/runtime/server/http/control/TaskStore.js +20 -2
  347. package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
  348. package/bin/runtime/server/http/control/types/AuthControl.d.ts +5 -5
  349. package/bin/runtime/server/http/control/types/AuthControl.d.ts.map +1 -1
  350. package/bin/runtime/server/http/control/types/ControlRoutes.d.ts +2 -2
  351. package/bin/runtime/server/http/control/types/ControlRoutes.d.ts.map +1 -1
  352. package/bin/runtime/server/http/execute/execute.d.ts +1 -1
  353. package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
  354. package/bin/runtime/server/http/plugins/plugins.d.ts +4 -4
  355. package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
  356. package/bin/runtime/server/http/plugins/plugins.js +61 -4
  357. package/bin/runtime/server/http/plugins/plugins.js.map +1 -1
  358. package/bin/runtime/server/http/sdk/Router.d.ts +2 -2
  359. package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
  360. package/bin/runtime/server/http/sdk/Router.js +2 -2
  361. package/bin/runtime/server/http/sdk/Router.js.map +1 -1
  362. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +2 -2
  363. package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
  364. package/bin/runtime/server/http/sdk/SessionRoutes.js +72 -13
  365. package/bin/runtime/server/http/sdk/SessionRoutes.js.map +1 -1
  366. package/bin/runtime/server/http/static/static.d.ts +1 -1
  367. package/bin/runtime/server/http/static/static.d.ts.map +1 -1
  368. package/bin/runtime/server/rpc/Server.d.ts +4 -6
  369. package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
  370. package/bin/runtime/server/rpc/Server.js +7 -12
  371. package/bin/runtime/server/rpc/Server.js.map +1 -1
  372. package/bin/runtime/transport/rpc/Paths.d.ts.map +1 -1
  373. package/bin/runtime/transport/rpc/Paths.js +1 -14
  374. package/bin/runtime/transport/rpc/Paths.js.map +1 -1
  375. package/bin/session/Session.d.ts +176 -0
  376. package/bin/session/Session.d.ts.map +1 -0
  377. package/bin/session/Session.js +503 -0
  378. package/bin/session/Session.js.map +1 -0
  379. package/bin/session/SessionEventMapper.d.ts.map +1 -0
  380. package/bin/session/SessionEventMapper.js.map +1 -0
  381. package/bin/session/SessionSystemBuilder.d.ts +106 -0
  382. package/bin/session/SessionSystemBuilder.d.ts.map +1 -0
  383. package/bin/session/SessionSystemBuilder.js +147 -0
  384. package/bin/session/SessionSystemBuilder.js.map +1 -0
  385. package/bin/session/browse/Browse.d.ts +76 -0
  386. package/bin/session/browse/Browse.d.ts.map +1 -0
  387. package/bin/session/browse/Browse.js +418 -0
  388. package/bin/session/browse/Browse.js.map +1 -0
  389. package/bin/session/index.d.ts +14 -0
  390. package/bin/session/index.d.ts.map +1 -0
  391. package/bin/session/index.js +14 -0
  392. package/bin/session/index.js.map +1 -0
  393. package/bin/session/runtime/SessionEventHub.d.ts +24 -0
  394. package/bin/session/runtime/SessionEventHub.d.ts.map +1 -0
  395. package/bin/session/runtime/SessionEventHub.js.map +1 -0
  396. package/bin/session/runtime/SessionPromptRuntime.d.ts +71 -0
  397. package/bin/session/runtime/SessionPromptRuntime.d.ts.map +1 -0
  398. package/bin/session/runtime/SessionPromptRuntime.js.map +1 -0
  399. package/bin/session/storage/Metadata.d.ts +55 -0
  400. package/bin/session/storage/Metadata.d.ts.map +1 -0
  401. package/bin/session/storage/Metadata.js +140 -0
  402. package/bin/session/storage/Metadata.js.map +1 -0
  403. package/bin/session/storage/Paths.d.ts.map +1 -0
  404. package/bin/session/storage/Paths.js.map +1 -0
  405. package/bin/session/storage/Persistence.d.ts +63 -0
  406. package/bin/session/storage/Persistence.d.ts.map +1 -0
  407. package/bin/session/storage/Persistence.js +52 -0
  408. package/bin/session/storage/Persistence.js.map +1 -0
  409. package/bin/session/storage/RuntimeSessionPort.d.ts +70 -0
  410. package/bin/session/storage/RuntimeSessionPort.d.ts.map +1 -0
  411. package/bin/session/storage/RuntimeSessionPort.js +40 -0
  412. package/bin/session/storage/RuntimeSessionPort.js.map +1 -0
  413. package/bin/types/agent/AgentTypes.d.ts +636 -0
  414. package/bin/types/agent/AgentTypes.d.ts.map +1 -0
  415. package/bin/types/agent/AgentTypes.js +10 -0
  416. package/bin/types/agent/AgentTypes.js.map +1 -0
  417. package/bin/types/common/EnvFile.d.ts +30 -0
  418. package/bin/types/common/EnvFile.d.ts.map +1 -0
  419. package/bin/types/common/EnvFile.js +10 -0
  420. package/bin/types/common/EnvFile.js.map +1 -0
  421. package/bin/types/common/ResolvedConfigValue.d.ts +12 -0
  422. package/bin/types/common/ResolvedConfigValue.d.ts.map +1 -0
  423. package/bin/types/common/ResolvedConfigValue.js +2 -0
  424. package/bin/types/common/ResolvedConfigValue.js.map +1 -0
  425. package/bin/types/config/AgentProject.d.ts +80 -0
  426. package/bin/types/config/AgentProject.d.ts.map +1 -0
  427. package/bin/types/config/AgentProject.js.map +1 -0
  428. package/bin/types/config/DowncityConfig.d.ts +132 -96
  429. package/bin/types/config/DowncityConfig.d.ts.map +1 -1
  430. package/bin/types/runtime/agent/AgentContext.d.ts +244 -0
  431. package/bin/types/runtime/agent/AgentContext.d.ts.map +1 -0
  432. package/bin/types/runtime/agent/AgentContext.js +13 -0
  433. package/bin/types/runtime/agent/AgentContext.js.map +1 -0
  434. package/bin/types/runtime/agent/AgentRuntime.d.ts +79 -0
  435. package/bin/types/runtime/agent/AgentRuntime.d.ts.map +1 -0
  436. package/bin/types/runtime/agent/AgentRuntime.js +13 -0
  437. package/bin/types/runtime/agent/AgentRuntime.js.map +1 -0
  438. package/bin/types/runtime/host/AgentHost.d.ts +2 -122
  439. package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
  440. package/bin/types/runtime/host/AgentHost.js +2 -2
  441. package/bin/types/runtime/http/InlineInstant.d.ts +2 -2
  442. package/bin/types/runtime/http/InlineInstant.d.ts.map +1 -1
  443. package/bin/types/runtime/platform/PlatformGateway.d.ts +10 -10
  444. package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
  445. package/bin/types/sdk/AgentSessionEvent.d.ts +1 -1
  446. package/bin/types/sdk/AgentSessionEvent.d.ts.map +1 -1
  447. package/bin/types/sdk/AgentSessionTurn.d.ts +1 -1
  448. package/bin/types/sdk/AgentSessionTurn.d.ts.map +1 -1
  449. package/bin/utils/object/DeepMerge.d.ts +18 -0
  450. package/bin/utils/object/DeepMerge.d.ts.map +1 -0
  451. package/bin/utils/object/DeepMerge.js +37 -0
  452. package/bin/utils/object/DeepMerge.js.map +1 -0
  453. package/bin/utils/object/ObjectGuards.d.ts +17 -0
  454. package/bin/utils/object/ObjectGuards.d.ts.map +1 -0
  455. package/bin/utils/object/ObjectGuards.js +19 -0
  456. package/bin/utils/object/ObjectGuards.js.map +1 -0
  457. package/bin/utils/path/AncestorFiles.d.ts +17 -0
  458. package/bin/utils/path/AncestorFiles.d.ts.map +1 -0
  459. package/bin/utils/path/AncestorFiles.js +36 -0
  460. package/bin/utils/path/AncestorFiles.js.map +1 -0
  461. package/bin/utils/string/EscapeRegExp.d.ts +17 -0
  462. package/bin/utils/string/EscapeRegExp.d.ts.map +1 -0
  463. package/bin/utils/string/EscapeRegExp.js +19 -0
  464. package/bin/utils/string/EscapeRegExp.js.map +1 -0
  465. package/package.json +8 -2
  466. package/scripts/session-prompt-runtime.test.mjs +30 -10
  467. package/src/agent/Agent.ts +748 -0
  468. package/src/agent/RemoteAgent.ts +621 -0
  469. package/src/config/AgentInitializer.ts +262 -0
  470. package/src/config/Config.ts +37 -82
  471. package/src/config/ConfigEnvResolver.ts +52 -0
  472. package/src/config/Defaults.ts +13 -5
  473. package/src/config/DowncitySchema.ts +20 -8
  474. package/src/config/EnvFile.ts +99 -0
  475. package/src/config/ExecutionBinding.ts +24 -5
  476. package/src/config/Gitignore.ts +52 -0
  477. package/src/config/Paths.ts +156 -7
  478. package/src/config/PlatformPaths.ts +53 -0
  479. package/src/executor/Executor.ts +732 -0
  480. package/src/executor/README.md +108 -0
  481. package/src/executor/SessionRunScope.ts +146 -0
  482. package/src/executor/composer/compaction/SessionCompactionComposer.ts +62 -0
  483. package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +101 -0
  484. package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
  485. package/src/executor/composer/context/LocalSessionContextComposer.ts +168 -0
  486. package/src/executor/composer/context/SessionContextComposer.ts +70 -0
  487. package/src/executor/composer/history/SessionHistoryComposer.ts +62 -0
  488. package/src/executor/composer/history/SessionHistoryWriter.ts +131 -0
  489. package/src/executor/composer/history/jsonl/JsonlSessionHistoryComposer.ts +126 -0
  490. package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +77 -0
  491. package/src/executor/composer/system/default/InitPromptAssets.ts +20 -0
  492. package/src/executor/composer/system/default/InitPrompts.ts +11 -0
  493. package/src/executor/composer/system/default/PromptRenderer.ts +52 -0
  494. package/src/executor/composer/system/default/StaticPromptCatalog.ts +287 -0
  495. package/src/executor/composer/system/default/SystemDomain.ts +357 -0
  496. package/src/executor/composer/system/default/SystemPromptAssets.ts +26 -0
  497. package/src/executor/composer/system/default/assets/core.prompt.ts +9 -0
  498. package/src/executor/composer/system/default/assets/init/PROFILE.md.ts +9 -0
  499. package/src/executor/composer/system/default/assets/init/SOUL.md.ts +9 -0
  500. package/src/executor/composer/system/default/assets/plugin.prompt.ts +9 -0
  501. package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +29 -0
  502. package/src/executor/composer/system/default/assets/task.prompt.ts +9 -0
  503. package/src/executor/composer/system/default/variables/GeoContext.ts +180 -0
  504. package/src/executor/composer/system/default/variables/VariableReplacer.ts +154 -0
  505. package/src/executor/core-engine/CoreEngineLoopDecision.ts +80 -0
  506. package/src/executor/core-engine/CoreEngineMessageState.ts +133 -0
  507. package/src/executor/core-engine/CoreEngineSignals.ts +416 -0
  508. package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +96 -0
  509. package/src/executor/messages/AssistantResultPersistence.ts +111 -0
  510. package/src/executor/messages/ChatMessageMarkup.ts +263 -0
  511. package/src/executor/messages/ChatMessageMarkupTypes.ts +168 -0
  512. package/src/executor/messages/SessionAttachmentMapper.ts +155 -0
  513. package/src/executor/messages/SessionMessageCodec.ts +116 -0
  514. package/src/executor/messages/SessionMessageLog.ts +39 -0
  515. package/src/executor/messages/SessionStepEventMapper.ts +233 -0
  516. package/src/executor/messages/UIMessageTransformer.ts +141 -0
  517. package/src/executor/messages/UserVisibleText.ts +84 -0
  518. package/src/executor/store/history/SessionHistoryStore.ts +145 -0
  519. package/src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts +500 -0
  520. package/src/executor/tools/shell/ShellToolBridge.ts +378 -0
  521. package/src/executor/tools/shell/ShellToolDefinition.ts +509 -0
  522. package/src/executor/tools/shell/ShellToolFormatting.ts +83 -0
  523. package/src/executor/tools/shell/ShellToolSchemas.ts +120 -0
  524. package/src/executor/tools/shell/types/ShellPlugin.ts +233 -0
  525. package/src/executor/types/SessionExecutor.ts +33 -0
  526. package/src/executor/types/SessionRun.ts +132 -0
  527. package/src/index.ts +75 -102
  528. package/src/plugin/core/ActionScheduleExecutor.ts +58 -0
  529. package/src/plugin/core/ActionScheduleRuntime.ts +82 -0
  530. package/src/plugin/core/ActionScheduleStore.ts +371 -0
  531. package/src/plugin/core/ActionScheduleTime.ts +132 -0
  532. package/src/plugin/core/Activation.ts +12 -10
  533. package/src/plugin/core/BasePlugin.ts +5 -5
  534. package/src/plugin/core/HookRegistry.ts +1 -1
  535. package/src/plugin/core/PluginActionRunner.ts +8 -9
  536. package/src/plugin/core/PluginCatalog.ts +178 -0
  537. package/src/plugin/core/PluginCommand.ts +22 -12
  538. package/src/plugin/core/PluginCommandRequest.ts +11 -11
  539. package/src/plugin/core/PluginHttpRoutes.ts +47 -0
  540. package/src/plugin/core/PluginLocalExecution.ts +155 -0
  541. package/src/plugin/core/PluginRegistry.ts +3 -23
  542. package/src/plugin/core/PluginStateController.ts +7 -12
  543. package/src/plugin/core/ProjectConfigStore.ts +97 -0
  544. package/src/plugin/types/ActionSchedule.ts +94 -0
  545. package/src/plugin/types/Plugin.ts +23 -32
  546. package/src/plugin/types/PluginApi.ts +3 -3
  547. package/src/plugin/types/PluginState.ts +0 -5
  548. package/src/plugin/types/Plugins.ts +2 -2
  549. package/src/runtime/host/AgentHostRuntime.ts +1 -1
  550. package/src/runtime/host/daemon/Api.ts +2 -2
  551. package/src/runtime/host/daemon/ProjectSetup.ts +0 -53
  552. package/src/runtime/sandbox/SandboxConfigResolver.ts +1 -1
  553. package/src/runtime/sandbox/SandboxRunner.ts +1 -1
  554. package/src/runtime/sandbox/types/SandboxRuntime.ts +1 -1
  555. package/src/runtime/server/http/Server.ts +27 -59
  556. package/src/runtime/server/http/control/AuthControlService.ts +37 -29
  557. package/src/runtime/server/http/control/ControlApiRoutes.ts +1 -3
  558. package/src/runtime/server/http/control/ControlAuthorizationRoutes.ts +6 -11
  559. package/src/runtime/server/http/control/ControlRouter.ts +2 -2
  560. package/src/runtime/server/http/control/ExecuteBySession.ts +5 -70
  561. package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
  562. package/src/runtime/server/http/control/MessageTimeline.ts +3 -3
  563. package/src/runtime/server/http/control/OverviewRoutes.ts +10 -10
  564. package/src/runtime/server/http/control/SessionRoutes.ts +1 -1
  565. package/src/runtime/server/http/control/SessionSummaryStore.ts +1 -13
  566. package/src/runtime/server/http/control/TaskRoutes.ts +59 -14
  567. package/src/runtime/server/http/control/TaskStore.ts +22 -2
  568. package/src/runtime/server/http/control/types/AuthControl.ts +5 -9
  569. package/src/runtime/server/http/control/types/ControlRoutes.ts +2 -2
  570. package/src/runtime/server/http/execute/execute.ts +1 -1
  571. package/src/runtime/server/http/plugins/plugins.ts +72 -5
  572. package/src/runtime/server/http/sdk/Router.ts +3 -3
  573. package/src/runtime/server/http/sdk/SessionRoutes.ts +82 -14
  574. package/src/runtime/server/http/static/static.ts +1 -1
  575. package/src/runtime/server/rpc/Server.ts +15 -22
  576. package/src/runtime/transport/rpc/Paths.ts +1 -14
  577. package/src/session/Session.ts +671 -0
  578. package/src/session/SessionSystemBuilder.ts +259 -0
  579. package/src/session/browse/Browse.ts +519 -0
  580. package/src/session/index.ts +45 -0
  581. package/src/session/runtime/SessionPromptRuntime.ts +302 -0
  582. package/src/session/storage/Metadata.ts +196 -0
  583. package/src/session/storage/Persistence.ts +113 -0
  584. package/src/session/storage/RuntimeSessionPort.ts +107 -0
  585. package/src/types/agent/AgentTypes.ts +735 -0
  586. package/src/types/common/EnvFile.ts +31 -0
  587. package/src/types/common/ResolvedConfigValue.ts +16 -0
  588. package/src/types/config/DowncityConfig.ts +143 -96
  589. package/src/types/runtime/agent/AgentContext.ts +272 -0
  590. package/src/types/runtime/agent/AgentRuntime.ts +84 -0
  591. package/src/types/runtime/host/AgentHost.ts +2 -140
  592. package/src/types/runtime/http/InlineInstant.ts +2 -2
  593. package/src/types/runtime/platform/PlatformGateway.ts +10 -10
  594. package/src/types/sdk/AgentSessionEvent.ts +1 -1
  595. package/src/types/sdk/AgentSessionTurn.ts +1 -1
  596. package/src/utils/object/DeepMerge.ts +40 -0
  597. package/src/utils/object/ObjectGuards.ts +19 -0
  598. package/src/utils/path/AncestorFiles.ts +40 -0
  599. package/src/utils/string/EscapeRegExp.ts +19 -0
  600. package/tsconfig.json +1 -2
  601. package/tsconfig.tsbuildinfo +1 -1
  602. package/bin/config/project/AgentInitializer.d.ts +0 -39
  603. package/bin/config/project/AgentInitializer.d.ts.map +0 -1
  604. package/bin/config/project/AgentInitializer.js +0 -339
  605. package/bin/config/project/AgentInitializer.js.map +0 -1
  606. package/bin/config/project/types/AgentProject.d.ts +0 -80
  607. package/bin/config/project/types/AgentProject.d.ts.map +0 -1
  608. package/bin/config/project/types/AgentProject.js.map +0 -1
  609. package/bin/core/AgentContextTypes.d.ts +0 -272
  610. package/bin/core/AgentContextTypes.d.ts.map +0 -1
  611. package/bin/core/AgentContextTypes.js +0 -10
  612. package/bin/core/AgentContextTypes.js.map +0 -1
  613. package/bin/core/AgentCore.d.ts +0 -88
  614. package/bin/core/AgentCore.d.ts.map +0 -1
  615. package/bin/core/AgentCore.js +0 -469
  616. package/bin/core/AgentCore.js.map +0 -1
  617. package/bin/core/AgentCoreTypes.d.ts +0 -84
  618. package/bin/core/AgentCoreTypes.d.ts.map +0 -1
  619. package/bin/core/AgentCoreTypes.js +0 -10
  620. package/bin/core/AgentCoreTypes.js.map +0 -1
  621. package/bin/plugin/builtins/asr/Config.d.ts +0 -43
  622. package/bin/plugin/builtins/asr/Config.d.ts.map +0 -1
  623. package/bin/plugin/builtins/asr/Config.js +0 -107
  624. package/bin/plugin/builtins/asr/Config.js.map +0 -1
  625. package/bin/plugin/builtins/asr/Dependency.d.ts +0 -77
  626. package/bin/plugin/builtins/asr/Dependency.d.ts.map +0 -1
  627. package/bin/plugin/builtins/asr/Dependency.js +0 -238
  628. package/bin/plugin/builtins/asr/Dependency.js.map +0 -1
  629. package/bin/plugin/builtins/asr/InboundAugment.d.ts +0 -17
  630. package/bin/plugin/builtins/asr/InboundAugment.d.ts.map +0 -1
  631. package/bin/plugin/builtins/asr/InboundAugment.js +0 -47
  632. package/bin/plugin/builtins/asr/InboundAugment.js.map +0 -1
  633. package/bin/plugin/builtins/asr/ModelCatalog.d.ts +0 -29
  634. package/bin/plugin/builtins/asr/ModelCatalog.d.ts.map +0 -1
  635. package/bin/plugin/builtins/asr/ModelCatalog.js +0 -25
  636. package/bin/plugin/builtins/asr/ModelCatalog.js.map +0 -1
  637. package/bin/plugin/builtins/asr/Plugin.d.ts +0 -14
  638. package/bin/plugin/builtins/asr/Plugin.d.ts.map +0 -1
  639. package/bin/plugin/builtins/asr/Plugin.js +0 -462
  640. package/bin/plugin/builtins/asr/Plugin.js.map +0 -1
  641. package/bin/plugin/builtins/auth/Plugin.d.ts +0 -14
  642. package/bin/plugin/builtins/auth/Plugin.d.ts.map +0 -1
  643. package/bin/plugin/builtins/auth/Plugin.js +0 -181
  644. package/bin/plugin/builtins/auth/Plugin.js.map +0 -1
  645. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +0 -41
  646. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
  647. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js +0 -187
  648. package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js.map +0 -1
  649. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +0 -30
  650. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
  651. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js +0 -123
  652. package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js.map +0 -1
  653. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +0 -29
  654. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
  655. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js +0 -178
  656. package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js.map +0 -1
  657. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +0 -407
  658. package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +0 -1
  659. package/bin/plugin/builtins/auth/types/AuthPlugin.js +0 -115
  660. package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +0 -1
  661. package/bin/plugin/builtins/chat/Action.d.ts +0 -125
  662. package/bin/plugin/builtins/chat/Action.d.ts.map +0 -1
  663. package/bin/plugin/builtins/chat/Action.js +0 -376
  664. package/bin/plugin/builtins/chat/Action.js.map +0 -1
  665. package/bin/plugin/builtins/chat/ChatPlugin.d.ts +0 -89
  666. package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +0 -1
  667. package/bin/plugin/builtins/chat/ChatPlugin.js +0 -212
  668. package/bin/plugin/builtins/chat/ChatPlugin.js.map +0 -1
  669. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +0 -159
  670. package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +0 -1
  671. package/bin/plugin/builtins/chat/ChatPluginTypes.js +0 -10
  672. package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +0 -1
  673. package/bin/plugin/builtins/chat/Index.d.ts +0 -9
  674. package/bin/plugin/builtins/chat/Index.d.ts.map +0 -1
  675. package/bin/plugin/builtins/chat/Index.js +0 -9
  676. package/bin/plugin/builtins/chat/Index.js.map +0 -1
  677. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +0 -7
  678. package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +0 -1
  679. package/bin/plugin/builtins/chat/PROMPT.direct.js +0 -8
  680. package/bin/plugin/builtins/chat/PROMPT.direct.js.map +0 -1
  681. package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts +0 -63
  682. package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts.map +0 -1
  683. package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js +0 -258
  684. package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js.map +0 -1
  685. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
  686. package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
  687. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +0 -294
  688. package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +0 -1
  689. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
  690. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
  691. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +0 -237
  692. package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
  693. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
  694. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
  695. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
  696. package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
  697. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
  698. package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
  699. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +0 -32
  700. package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +0 -1
  701. package/bin/plugin/builtins/chat/channels/Configuration.d.ts +0 -27
  702. package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +0 -1
  703. package/bin/plugin/builtins/chat/channels/Configuration.js +0 -19
  704. package/bin/plugin/builtins/chat/channels/Configuration.js.map +0 -1
  705. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
  706. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
  707. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +0 -31
  708. package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
  709. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
  710. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
  711. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js +0 -147
  712. package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
  713. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
  714. package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
  715. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +0 -59
  716. package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +0 -1
  717. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
  718. package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
  719. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +0 -326
  720. package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +0 -1
  721. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
  722. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
  723. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js +0 -43
  724. package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
  725. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
  726. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
  727. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
  728. package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
  729. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
  730. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
  731. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -316
  732. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
  733. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
  734. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
  735. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
  736. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
  737. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
  738. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
  739. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
  740. package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
  741. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
  742. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
  743. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js +0 -222
  744. package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
  745. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -7
  746. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
  747. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
  748. package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
  749. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
  750. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
  751. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js +0 -413
  752. package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
  753. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
  754. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
  755. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js +0 -56
  756. package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
  757. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +0 -21
  758. package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
  759. package/bin/plugin/builtins/chat/channels/feishu/Shared.js +0 -69
  760. package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +0 -1
  761. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
  762. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
  763. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
  764. package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
  765. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
  766. package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
  767. package/bin/plugin/builtins/chat/channels/qq/BotInfo.js +0 -112
  768. package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +0 -1
  769. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +0 -17
  770. package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
  771. package/bin/plugin/builtins/chat/channels/qq/Configuration.js +0 -59
  772. package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +0 -1
  773. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
  774. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
  775. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
  776. package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
  777. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +0 -92
  778. package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
  779. package/bin/plugin/builtins/chat/channels/qq/QQ.js +0 -287
  780. package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +0 -1
  781. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
  782. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
  783. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js +0 -67
  784. package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
  785. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
  786. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
  787. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js +0 -186
  788. package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
  789. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
  790. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
  791. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js +0 -381
  792. package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
  793. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
  794. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
  795. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js +0 -110
  796. package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
  797. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -59
  798. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
  799. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
  800. package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
  801. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
  802. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
  803. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
  804. package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
  805. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
  806. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
  807. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js +0 -120
  808. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
  809. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
  810. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
  811. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js +0 -137
  812. package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
  813. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
  814. package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
  815. package/bin/plugin/builtins/chat/channels/qq/QQInbound.js +0 -235
  816. package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +0 -1
  817. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
  818. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
  819. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js +0 -108
  820. package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
  821. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
  822. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
  823. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js +0 -284
  824. package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
  825. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -20
  826. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
  827. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js +0 -86
  828. package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
  829. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
  830. package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
  831. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +0 -172
  832. package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +0 -1
  833. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
  834. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
  835. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js +0 -299
  836. package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
  837. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
  838. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
  839. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +0 -42
  840. package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
  841. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -82
  842. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
  843. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -9
  844. package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
  845. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts +0 -99
  846. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
  847. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js +0 -306
  848. package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
  849. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +0 -97
  850. package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
  851. package/bin/plugin/builtins/chat/channels/telegram/Bot.js +0 -246
  852. package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +0 -1
  853. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
  854. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
  855. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js +0 -71
  856. package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
  857. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
  858. package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
  859. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +0 -59
  860. package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +0 -1
  861. package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts +0 -42
  862. package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
  863. package/bin/plugin/builtins/chat/channels/telegram/Handlers.js +0 -45
  864. package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +0 -1
  865. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -7
  866. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
  867. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
  868. package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
  869. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
  870. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
  871. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js +0 -57
  872. package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
  873. package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts +0 -221
  874. package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
  875. package/bin/plugin/builtins/chat/channels/telegram/Shared.js +0 -171
  876. package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +0 -1
  877. package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts +0 -27
  878. package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
  879. package/bin/plugin/builtins/chat/channels/telegram/StateStore.js +0 -53
  880. package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +0 -1
  881. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -46
  882. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
  883. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js +0 -148
  884. package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
  885. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
  886. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
  887. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
  888. package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
  889. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
  890. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
  891. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -125
  892. package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
  893. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
  894. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
  895. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -366
  896. package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
  897. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
  898. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
  899. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js +0 -336
  900. package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
  901. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
  902. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
  903. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +0 -287
  904. package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
  905. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
  906. package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
  907. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +0 -114
  908. package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +0 -1
  909. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -33
  910. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
  911. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js +0 -66
  912. package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
  913. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
  914. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
  915. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +0 -230
  916. package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
  917. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
  918. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
  919. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +0 -260
  920. package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
  921. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
  922. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
  923. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +0 -106
  924. package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
  925. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
  926. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
  927. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +0 -12
  928. package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
  929. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
  930. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
  931. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
  932. package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
  933. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
  934. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
  935. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js +0 -219
  936. package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
  937. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +0 -44
  938. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
  939. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +0 -51
  940. package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
  941. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
  942. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
  943. package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
  944. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
  945. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
  946. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +0 -143
  947. package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
  948. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +0 -17
  949. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +0 -1
  950. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +0 -304
  951. package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +0 -1
  952. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +0 -5
  953. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +0 -1
  954. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +0 -5
  955. package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +0 -1
  956. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +0 -22
  957. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +0 -1
  958. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +0 -44
  959. package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +0 -1
  960. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
  961. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
  962. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +0 -28
  963. package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
  964. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +0 -40
  965. package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
  966. package/bin/plugin/builtins/chat/runtime/ChatQueue.js +0 -52
  967. package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +0 -1
  968. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
  969. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
  970. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -168
  971. package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
  972. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
  973. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
  974. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +0 -130
  975. package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
  976. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -83
  977. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
  978. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +0 -406
  979. package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
  980. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
  981. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
  982. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -101
  983. package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
  984. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
  985. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
  986. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +0 -205
  987. package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
  988. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
  989. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
  990. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js +0 -130
  991. package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
  992. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
  993. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
  994. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js +0 -26
  995. package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
  996. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +0 -97
  997. package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
  998. package/bin/plugin/builtins/chat/runtime/ChatSession.js +0 -84
  999. package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +0 -1
  1000. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
  1001. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
  1002. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
  1003. package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
  1004. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
  1005. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
  1006. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +0 -76
  1007. package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
  1008. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
  1009. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
  1010. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js +0 -9
  1011. package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
  1012. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
  1013. package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
  1014. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +0 -147
  1015. package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +0 -1
  1016. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
  1017. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
  1018. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +0 -133
  1019. package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
  1020. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
  1021. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
  1022. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +0 -28
  1023. package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
  1024. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +0 -21
  1025. package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
  1026. package/bin/plugin/builtins/chat/runtime/InboundAugment.js +0 -50
  1027. package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +0 -1
  1028. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
  1029. package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
  1030. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +0 -57
  1031. package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +0 -1
  1032. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +0 -78
  1033. package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
  1034. package/bin/plugin/builtins/chat/runtime/PluginPoints.js +0 -78
  1035. package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +0 -1
  1036. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
  1037. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
  1038. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js +0 -40
  1039. package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
  1040. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
  1041. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
  1042. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js +0 -74
  1043. package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
  1044. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
  1045. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
  1046. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +0 -51
  1047. package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
  1048. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
  1049. package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
  1050. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +0 -70
  1051. package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +0 -1
  1052. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
  1053. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
  1054. package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
  1055. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
  1056. package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
  1057. package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +0 -1
  1058. package/bin/plugin/builtins/chat/types/BotInfo.d.ts +0 -97
  1059. package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +0 -1
  1060. package/bin/plugin/builtins/chat/types/BotInfo.js +0 -9
  1061. package/bin/plugin/builtins/chat/types/BotInfo.js.map +0 -1
  1062. package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts +0 -226
  1063. package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
  1064. package/bin/plugin/builtins/chat/types/ChannelAccount.js +0 -9
  1065. package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +0 -1
  1066. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
  1067. package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
  1068. package/bin/plugin/builtins/chat/types/ChannelConfiguration.js +0 -9
  1069. package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +0 -1
  1070. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +0 -107
  1071. package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +0 -1
  1072. package/bin/plugin/builtins/chat/types/ChannelContext.js +0 -9
  1073. package/bin/plugin/builtins/chat/types/ChannelContext.js.map +0 -1
  1074. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +0 -88
  1075. package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
  1076. package/bin/plugin/builtins/chat/types/ChannelStatus.js +0 -9
  1077. package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +0 -1
  1078. package/bin/plugin/builtins/chat/types/ChatCommand.d.ts +0 -163
  1079. package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +0 -1
  1080. package/bin/plugin/builtins/chat/types/ChatCommand.js +0 -9
  1081. package/bin/plugin/builtins/chat/types/ChatCommand.js.map +0 -1
  1082. package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts +0 -37
  1083. package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
  1084. package/bin/plugin/builtins/chat/types/ChatDispatcher.js +0 -9
  1085. package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +0 -1
  1086. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +0 -36
  1087. package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +0 -1
  1088. package/bin/plugin/builtins/chat/types/ChatHistory.js +0 -9
  1089. package/bin/plugin/builtins/chat/types/ChatHistory.js.map +0 -1
  1090. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
  1091. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
  1092. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +0 -9
  1093. package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
  1094. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +0 -34
  1095. package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +0 -1
  1096. package/bin/plugin/builtins/chat/types/ChatMeta.js +0 -10
  1097. package/bin/plugin/builtins/chat/types/ChatMeta.js.map +0 -1
  1098. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +0 -238
  1099. package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
  1100. package/bin/plugin/builtins/chat/types/ChatPlugin.js +0 -10
  1101. package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +0 -1
  1102. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +0 -145
  1103. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +0 -1
  1104. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +0 -10
  1105. package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +0 -1
  1106. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +0 -125
  1107. package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
  1108. package/bin/plugin/builtins/chat/types/ChatPromptContext.js +0 -10
  1109. package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +0 -1
  1110. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +0 -36
  1111. package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +0 -1
  1112. package/bin/plugin/builtins/chat/types/ChatQueue.js +0 -9
  1113. package/bin/plugin/builtins/chat/types/ChatQueue.js.map +0 -1
  1114. package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts +0 -25
  1115. package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
  1116. package/bin/plugin/builtins/chat/types/ChatQueueWorker.js +0 -9
  1117. package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +0 -1
  1118. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +0 -32
  1119. package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
  1120. package/bin/plugin/builtins/chat/types/ChatRuntime.js +0 -9
  1121. package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +0 -1
  1122. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +0 -115
  1123. package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
  1124. package/bin/plugin/builtins/chat/types/DirectDispatch.js +0 -9
  1125. package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +0 -1
  1126. package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts +0 -42
  1127. package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
  1128. package/bin/plugin/builtins/chat/types/FeishuAttachment.js +0 -9
  1129. package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +0 -1
  1130. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
  1131. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
  1132. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js +0 -9
  1133. package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
  1134. package/bin/plugin/builtins/chat/types/FeishuPost.d.ts +0 -287
  1135. package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +0 -1
  1136. package/bin/plugin/builtins/chat/types/FeishuPost.js +0 -9
  1137. package/bin/plugin/builtins/chat/types/FeishuPost.js.map +0 -1
  1138. package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts +0 -12
  1139. package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
  1140. package/bin/plugin/builtins/chat/types/QqInboundDedupe.js +0 -2
  1141. package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +0 -1
  1142. package/bin/plugin/builtins/chat/types/QqVoice.d.ts +0 -118
  1143. package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +0 -1
  1144. package/bin/plugin/builtins/chat/types/QqVoice.js +0 -9
  1145. package/bin/plugin/builtins/chat/types/QqVoice.js.map +0 -1
  1146. package/bin/plugin/builtins/chat/types/ReplyContext.d.ts +0 -46
  1147. package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +0 -1
  1148. package/bin/plugin/builtins/chat/types/ReplyContext.js +0 -10
  1149. package/bin/plugin/builtins/chat/types/ReplyContext.js.map +0 -1
  1150. package/bin/plugin/builtins/contact/Action.d.ts +0 -62
  1151. package/bin/plugin/builtins/contact/Action.d.ts.map +0 -1
  1152. package/bin/plugin/builtins/contact/Action.js +0 -221
  1153. package/bin/plugin/builtins/contact/Action.js.map +0 -1
  1154. package/bin/plugin/builtins/contact/ContactPlugin.d.ts +0 -39
  1155. package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +0 -1
  1156. package/bin/plugin/builtins/contact/ContactPlugin.js +0 -409
  1157. package/bin/plugin/builtins/contact/ContactPlugin.js.map +0 -1
  1158. package/bin/plugin/builtins/contact/Index.d.ts +0 -8
  1159. package/bin/plugin/builtins/contact/Index.d.ts.map +0 -1
  1160. package/bin/plugin/builtins/contact/Index.js +0 -8
  1161. package/bin/plugin/builtins/contact/Index.js.map +0 -1
  1162. package/bin/plugin/builtins/contact/PROMPT.d.ts +0 -7
  1163. package/bin/plugin/builtins/contact/PROMPT.d.ts.map +0 -1
  1164. package/bin/plugin/builtins/contact/PROMPT.js +0 -8
  1165. package/bin/plugin/builtins/contact/PROMPT.js.map +0 -1
  1166. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
  1167. package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
  1168. package/bin/plugin/builtins/contact/runtime/ApproveCallback.js +0 -83
  1169. package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +0 -1
  1170. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
  1171. package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
  1172. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +0 -60
  1173. package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +0 -1
  1174. package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts +0 -17
  1175. package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
  1176. package/bin/plugin/builtins/contact/runtime/ContactPayload.js +0 -23
  1177. package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +0 -1
  1178. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
  1179. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
  1180. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +0 -13
  1181. package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
  1182. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +0 -49
  1183. package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
  1184. package/bin/plugin/builtins/contact/runtime/ContactStore.js +0 -255
  1185. package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +0 -1
  1186. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
  1187. package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
  1188. package/bin/plugin/builtins/contact/runtime/EndpointNotice.js +0 -98
  1189. package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +0 -1
  1190. package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts +0 -36
  1191. package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
  1192. package/bin/plugin/builtins/contact/runtime/EndpointResolver.js +0 -113
  1193. package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +0 -1
  1194. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +0 -33
  1195. package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
  1196. package/bin/plugin/builtins/contact/runtime/InboxStore.js +0 -142
  1197. package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +0 -1
  1198. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +0 -20
  1199. package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
  1200. package/bin/plugin/builtins/contact/runtime/LinkApproval.js +0 -317
  1201. package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +0 -1
  1202. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +0 -21
  1203. package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
  1204. package/bin/plugin/builtins/contact/runtime/LinkCode.js +0 -61
  1205. package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +0 -1
  1206. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +0 -17
  1207. package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
  1208. package/bin/plugin/builtins/contact/runtime/LinkStore.js +0 -39
  1209. package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +0 -1
  1210. package/bin/plugin/builtins/contact/runtime/Paths.d.ts +0 -64
  1211. package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +0 -1
  1212. package/bin/plugin/builtins/contact/runtime/Paths.js +0 -103
  1213. package/bin/plugin/builtins/contact/runtime/Paths.js.map +0 -1
  1214. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +0 -46
  1215. package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
  1216. package/bin/plugin/builtins/contact/runtime/RemoteClient.js +0 -120
  1217. package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +0 -1
  1218. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +0 -65
  1219. package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
  1220. package/bin/plugin/builtins/contact/runtime/ShareBundle.js +0 -185
  1221. package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +0 -1
  1222. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +0 -5
  1223. package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
  1224. package/bin/plugin/builtins/contact/runtime/SystemProvider.js +0 -15
  1225. package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +0 -1
  1226. package/bin/plugin/builtins/contact/runtime/Token.d.ts +0 -24
  1227. package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +0 -1
  1228. package/bin/plugin/builtins/contact/runtime/Token.js +0 -36
  1229. package/bin/plugin/builtins/contact/runtime/Token.js.map +0 -1
  1230. package/bin/plugin/builtins/contact/types/Contact.d.ts +0 -78
  1231. package/bin/plugin/builtins/contact/types/Contact.d.ts.map +0 -1
  1232. package/bin/plugin/builtins/contact/types/Contact.js +0 -9
  1233. package/bin/plugin/builtins/contact/types/Contact.js.map +0 -1
  1234. package/bin/plugin/builtins/contact/types/ContactApproval.d.ts +0 -145
  1235. package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +0 -1
  1236. package/bin/plugin/builtins/contact/types/ContactApproval.js +0 -9
  1237. package/bin/plugin/builtins/contact/types/ContactApproval.js.map +0 -1
  1238. package/bin/plugin/builtins/contact/types/ContactChat.d.ts +0 -46
  1239. package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +0 -1
  1240. package/bin/plugin/builtins/contact/types/ContactChat.js +0 -9
  1241. package/bin/plugin/builtins/contact/types/ContactChat.js.map +0 -1
  1242. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +0 -66
  1243. package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +0 -1
  1244. package/bin/plugin/builtins/contact/types/ContactCheck.js +0 -9
  1245. package/bin/plugin/builtins/contact/types/ContactCheck.js.map +0 -1
  1246. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +0 -93
  1247. package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +0 -1
  1248. package/bin/plugin/builtins/contact/types/ContactCommand.js +0 -8
  1249. package/bin/plugin/builtins/contact/types/ContactCommand.js.map +0 -1
  1250. package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts +0 -12
  1251. package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
  1252. package/bin/plugin/builtins/contact/types/ContactEndpoint.js +0 -9
  1253. package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +0 -1
  1254. package/bin/plugin/builtins/contact/types/ContactLink.d.ts +0 -160
  1255. package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +0 -1
  1256. package/bin/plugin/builtins/contact/types/ContactLink.js +0 -9
  1257. package/bin/plugin/builtins/contact/types/ContactLink.js.map +0 -1
  1258. package/bin/plugin/builtins/contact/types/ContactShare.d.ts +0 -163
  1259. package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +0 -1
  1260. package/bin/plugin/builtins/contact/types/ContactShare.js +0 -9
  1261. package/bin/plugin/builtins/contact/types/ContactShare.js.map +0 -1
  1262. package/bin/plugin/builtins/memory/Action.d.ts +0 -37
  1263. package/bin/plugin/builtins/memory/Action.d.ts.map +0 -1
  1264. package/bin/plugin/builtins/memory/Action.js +0 -111
  1265. package/bin/plugin/builtins/memory/Action.js.map +0 -1
  1266. package/bin/plugin/builtins/memory/Index.d.ts +0 -9
  1267. package/bin/plugin/builtins/memory/Index.d.ts.map +0 -1
  1268. package/bin/plugin/builtins/memory/Index.js +0 -9
  1269. package/bin/plugin/builtins/memory/Index.js.map +0 -1
  1270. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +0 -45
  1271. package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +0 -1
  1272. package/bin/plugin/builtins/memory/MemoryPlugin.js +0 -242
  1273. package/bin/plugin/builtins/memory/MemoryPlugin.js.map +0 -1
  1274. package/bin/plugin/builtins/memory/runtime/Flush.d.ts +0 -15
  1275. package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +0 -1
  1276. package/bin/plugin/builtins/memory/runtime/Flush.js +0 -63
  1277. package/bin/plugin/builtins/memory/runtime/Flush.js.map +0 -1
  1278. package/bin/plugin/builtins/memory/runtime/Search.d.ts +0 -19
  1279. package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +0 -1
  1280. package/bin/plugin/builtins/memory/runtime/Search.js +0 -268
  1281. package/bin/plugin/builtins/memory/runtime/Search.js.map +0 -1
  1282. package/bin/plugin/builtins/memory/runtime/Store.d.ts +0 -65
  1283. package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +0 -1
  1284. package/bin/plugin/builtins/memory/runtime/Store.js +0 -142
  1285. package/bin/plugin/builtins/memory/runtime/Store.js.map +0 -1
  1286. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +0 -22
  1287. package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
  1288. package/bin/plugin/builtins/memory/runtime/SystemProvider.js +0 -126
  1289. package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +0 -1
  1290. package/bin/plugin/builtins/memory/runtime/Writer.d.ts +0 -23
  1291. package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +0 -1
  1292. package/bin/plugin/builtins/memory/runtime/Writer.js +0 -139
  1293. package/bin/plugin/builtins/memory/runtime/Writer.js.map +0 -1
  1294. package/bin/plugin/builtins/memory/types/Memory.d.ts +0 -264
  1295. package/bin/plugin/builtins/memory/types/Memory.d.ts.map +0 -1
  1296. package/bin/plugin/builtins/memory/types/Memory.js +0 -9
  1297. package/bin/plugin/builtins/memory/types/Memory.js.map +0 -1
  1298. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +0 -39
  1299. package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +0 -1
  1300. package/bin/plugin/builtins/schedule/SchedulePlugin.js +0 -106
  1301. package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +0 -1
  1302. package/bin/plugin/builtins/shell/Index.d.ts +0 -9
  1303. package/bin/plugin/builtins/shell/Index.d.ts.map +0 -1
  1304. package/bin/plugin/builtins/shell/Index.js +0 -9
  1305. package/bin/plugin/builtins/shell/Index.js.map +0 -1
  1306. package/bin/plugin/builtins/shell/ShellPlugin.d.ts +0 -65
  1307. package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +0 -1
  1308. package/bin/plugin/builtins/shell/ShellPlugin.js +0 -138
  1309. package/bin/plugin/builtins/shell/ShellPlugin.js.map +0 -1
  1310. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
  1311. package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
  1312. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +0 -10
  1313. package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +0 -1
  1314. package/bin/plugin/builtins/shell/runtime/Paths.d.ts +0 -12
  1315. package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +0 -1
  1316. package/bin/plugin/builtins/shell/runtime/Paths.js +0 -21
  1317. package/bin/plugin/builtins/shell/runtime/Paths.js.map +0 -1
  1318. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
  1319. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
  1320. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js +0 -73
  1321. package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
  1322. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
  1323. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
  1324. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +0 -440
  1325. package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
  1326. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
  1327. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
  1328. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -312
  1329. package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
  1330. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
  1331. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
  1332. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js +0 -41
  1333. package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
  1334. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -21
  1335. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
  1336. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
  1337. package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
  1338. package/bin/plugin/builtins/shell/types/Shell.d.ts.map +0 -1
  1339. package/bin/plugin/builtins/shell/types/Shell.js.map +0 -1
  1340. package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts +0 -216
  1341. package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +0 -1
  1342. package/bin/plugin/builtins/shell/types/ShellPlugin.js +0 -9
  1343. package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +0 -1
  1344. package/bin/plugin/builtins/skill/Action.d.ts +0 -34
  1345. package/bin/plugin/builtins/skill/Action.d.ts.map +0 -1
  1346. package/bin/plugin/builtins/skill/Action.js +0 -122
  1347. package/bin/plugin/builtins/skill/Action.js.map +0 -1
  1348. package/bin/plugin/builtins/skill/Command.d.ts +0 -37
  1349. package/bin/plugin/builtins/skill/Command.d.ts.map +0 -1
  1350. package/bin/plugin/builtins/skill/Command.js +0 -70
  1351. package/bin/plugin/builtins/skill/Command.js.map +0 -1
  1352. package/bin/plugin/builtins/skill/Config.d.ts +0 -18
  1353. package/bin/plugin/builtins/skill/Config.d.ts.map +0 -1
  1354. package/bin/plugin/builtins/skill/Config.js +0 -37
  1355. package/bin/plugin/builtins/skill/Config.js.map +0 -1
  1356. package/bin/plugin/builtins/skill/PROMPT.d.ts +0 -7
  1357. package/bin/plugin/builtins/skill/PROMPT.d.ts.map +0 -1
  1358. package/bin/plugin/builtins/skill/PROMPT.js +0 -8
  1359. package/bin/plugin/builtins/skill/PROMPT.js.map +0 -1
  1360. package/bin/plugin/builtins/skill/Plugin.d.ts +0 -14
  1361. package/bin/plugin/builtins/skill/Plugin.d.ts.map +0 -1
  1362. package/bin/plugin/builtins/skill/Plugin.js +0 -301
  1363. package/bin/plugin/builtins/skill/Plugin.js.map +0 -1
  1364. package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts +0 -12
  1365. package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts.map +0 -1
  1366. package/bin/plugin/builtins/skill/SkillPromptAssets.js +0 -13
  1367. package/bin/plugin/builtins/skill/SkillPromptAssets.js.map +0 -1
  1368. package/bin/plugin/builtins/skill/runtime/Discovery.d.ts +0 -25
  1369. package/bin/plugin/builtins/skill/runtime/Discovery.d.ts.map +0 -1
  1370. package/bin/plugin/builtins/skill/runtime/Discovery.js +0 -130
  1371. package/bin/plugin/builtins/skill/runtime/Discovery.js.map +0 -1
  1372. package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts +0 -6
  1373. package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts.map +0 -1
  1374. package/bin/plugin/builtins/skill/runtime/Frontmatter.js +0 -12
  1375. package/bin/plugin/builtins/skill/runtime/Frontmatter.js.map +0 -1
  1376. package/bin/plugin/builtins/skill/runtime/Paths.d.ts +0 -16
  1377. package/bin/plugin/builtins/skill/runtime/Paths.d.ts.map +0 -1
  1378. package/bin/plugin/builtins/skill/runtime/Paths.js +0 -111
  1379. package/bin/plugin/builtins/skill/runtime/Paths.js.map +0 -1
  1380. package/bin/plugin/builtins/skill/runtime/Prompt.d.ts +0 -19
  1381. package/bin/plugin/builtins/skill/runtime/Prompt.d.ts.map +0 -1
  1382. package/bin/plugin/builtins/skill/runtime/Prompt.js +0 -54
  1383. package/bin/plugin/builtins/skill/runtime/Prompt.js.map +0 -1
  1384. package/bin/plugin/builtins/skill/runtime/Store.d.ts +0 -25
  1385. package/bin/plugin/builtins/skill/runtime/Store.d.ts.map +0 -1
  1386. package/bin/plugin/builtins/skill/runtime/Store.js +0 -81
  1387. package/bin/plugin/builtins/skill/runtime/Store.js.map +0 -1
  1388. package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +0 -24
  1389. package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts.map +0 -1
  1390. package/bin/plugin/builtins/skill/runtime/SystemProvider.js +0 -33
  1391. package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +0 -1
  1392. package/bin/plugin/builtins/skill/runtime/Types.d.ts +0 -21
  1393. package/bin/plugin/builtins/skill/runtime/Types.d.ts.map +0 -1
  1394. package/bin/plugin/builtins/skill/runtime/Types.js +0 -2
  1395. package/bin/plugin/builtins/skill/runtime/Types.js.map +0 -1
  1396. package/bin/plugin/builtins/skill/runtime/Utils.d.ts +0 -4
  1397. package/bin/plugin/builtins/skill/runtime/Utils.d.ts.map +0 -1
  1398. package/bin/plugin/builtins/skill/runtime/Utils.js +0 -29
  1399. package/bin/plugin/builtins/skill/runtime/Utils.js.map +0 -1
  1400. package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +0 -63
  1401. package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +0 -1
  1402. package/bin/plugin/builtins/skill/types/ClaudeSkill.js +0 -10
  1403. package/bin/plugin/builtins/skill/types/ClaudeSkill.js.map +0 -1
  1404. package/bin/plugin/builtins/skill/types/SkillCommand.d.ts +0 -87
  1405. package/bin/plugin/builtins/skill/types/SkillCommand.d.ts.map +0 -1
  1406. package/bin/plugin/builtins/skill/types/SkillCommand.js +0 -9
  1407. package/bin/plugin/builtins/skill/types/SkillCommand.js.map +0 -1
  1408. package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts +0 -102
  1409. package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts.map +0 -1
  1410. package/bin/plugin/builtins/skill/types/SkillPlugin.js +0 -29
  1411. package/bin/plugin/builtins/skill/types/SkillPlugin.js.map +0 -1
  1412. package/bin/plugin/builtins/skill/types/SkillRoot.d.ts +0 -48
  1413. package/bin/plugin/builtins/skill/types/SkillRoot.d.ts.map +0 -1
  1414. package/bin/plugin/builtins/skill/types/SkillRoot.js +0 -9
  1415. package/bin/plugin/builtins/skill/types/SkillRoot.js.map +0 -1
  1416. package/bin/plugin/builtins/task/Action.d.ts +0 -36
  1417. package/bin/plugin/builtins/task/Action.d.ts.map +0 -1
  1418. package/bin/plugin/builtins/task/Action.js +0 -407
  1419. package/bin/plugin/builtins/task/Action.js.map +0 -1
  1420. package/bin/plugin/builtins/task/Index.d.ts +0 -9
  1421. package/bin/plugin/builtins/task/Index.d.ts.map +0 -1
  1422. package/bin/plugin/builtins/task/Index.js +0 -9
  1423. package/bin/plugin/builtins/task/Index.js.map +0 -1
  1424. package/bin/plugin/builtins/task/PROMPT.d.ts +0 -7
  1425. package/bin/plugin/builtins/task/PROMPT.d.ts.map +0 -1
  1426. package/bin/plugin/builtins/task/PROMPT.js +0 -8
  1427. package/bin/plugin/builtins/task/PROMPT.js.map +0 -1
  1428. package/bin/plugin/builtins/task/Scheduler.d.ts +0 -17
  1429. package/bin/plugin/builtins/task/Scheduler.d.ts.map +0 -1
  1430. package/bin/plugin/builtins/task/Scheduler.js +0 -231
  1431. package/bin/plugin/builtins/task/Scheduler.js.map +0 -1
  1432. package/bin/plugin/builtins/task/TaskPlugin.d.ts +0 -57
  1433. package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +0 -1
  1434. package/bin/plugin/builtins/task/TaskPlugin.js +0 -126
  1435. package/bin/plugin/builtins/task/TaskPlugin.js.map +0 -1
  1436. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +0 -19
  1437. package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
  1438. package/bin/plugin/builtins/task/runtime/CronTrigger.js +0 -93
  1439. package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +0 -1
  1440. package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts +0 -13
  1441. package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
  1442. package/bin/plugin/builtins/task/runtime/Frontmatter.js +0 -19
  1443. package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +0 -1
  1444. package/bin/plugin/builtins/task/runtime/Model.d.ts +0 -73
  1445. package/bin/plugin/builtins/task/runtime/Model.d.ts.map +0 -1
  1446. package/bin/plugin/builtins/task/runtime/Model.js +0 -312
  1447. package/bin/plugin/builtins/task/runtime/Model.js.map +0 -1
  1448. package/bin/plugin/builtins/task/runtime/Paths.d.ts +0 -32
  1449. package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +0 -1
  1450. package/bin/plugin/builtins/task/runtime/Paths.js +0 -103
  1451. package/bin/plugin/builtins/task/runtime/Paths.js.map +0 -1
  1452. package/bin/plugin/builtins/task/runtime/Runner.d.ts +0 -43
  1453. package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +0 -1
  1454. package/bin/plugin/builtins/task/runtime/Runner.js +0 -440
  1455. package/bin/plugin/builtins/task/runtime/Runner.js.map +0 -1
  1456. package/bin/plugin/builtins/task/runtime/Store.d.ts +0 -89
  1457. package/bin/plugin/builtins/task/runtime/Store.d.ts.map +0 -1
  1458. package/bin/plugin/builtins/task/runtime/Store.js +0 -206
  1459. package/bin/plugin/builtins/task/runtime/Store.js.map +0 -1
  1460. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
  1461. package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
  1462. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +0 -192
  1463. package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +0 -1
  1464. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +0 -19
  1465. package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
  1466. package/bin/plugin/builtins/task/runtime/TaskActionInput.js +0 -218
  1467. package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +0 -1
  1468. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +0 -16
  1469. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +0 -1
  1470. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +0 -167
  1471. package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +0 -1
  1472. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +0 -5
  1473. package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +0 -1
  1474. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +0 -5
  1475. package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +0 -1
  1476. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +0 -9
  1477. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +0 -1
  1478. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +0 -9
  1479. package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +0 -1
  1480. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
  1481. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
  1482. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +0 -13
  1483. package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
  1484. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
  1485. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
  1486. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js +0 -271
  1487. package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
  1488. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
  1489. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
  1490. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
  1491. package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
  1492. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
  1493. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
  1494. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js +0 -95
  1495. package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
  1496. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
  1497. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
  1498. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +0 -272
  1499. package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
  1500. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
  1501. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
  1502. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js +0 -96
  1503. package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
  1504. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
  1505. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
  1506. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +0 -153
  1507. package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
  1508. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
  1509. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
  1510. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js +0 -9
  1511. package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
  1512. package/bin/plugin/builtins/task/types/Cron.d.ts +0 -16
  1513. package/bin/plugin/builtins/task/types/Cron.d.ts.map +0 -1
  1514. package/bin/plugin/builtins/task/types/Cron.js +0 -2
  1515. package/bin/plugin/builtins/task/types/Cron.js.map +0 -1
  1516. package/bin/plugin/builtins/task/types/Task.d.ts +0 -146
  1517. package/bin/plugin/builtins/task/types/Task.d.ts.map +0 -1
  1518. package/bin/plugin/builtins/task/types/Task.js +0 -9
  1519. package/bin/plugin/builtins/task/types/Task.js.map +0 -1
  1520. package/bin/plugin/builtins/task/types/TaskCommand.d.ts +0 -147
  1521. package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +0 -1
  1522. package/bin/plugin/builtins/task/types/TaskCommand.js +0 -9
  1523. package/bin/plugin/builtins/task/types/TaskCommand.js.map +0 -1
  1524. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +0 -52
  1525. package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +0 -1
  1526. package/bin/plugin/builtins/task/types/TaskPluginTypes.js +0 -9
  1527. package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +0 -1
  1528. package/bin/plugin/builtins/tts/Dependency.d.ts +0 -90
  1529. package/bin/plugin/builtins/tts/Dependency.d.ts.map +0 -1
  1530. package/bin/plugin/builtins/tts/Dependency.js +0 -344
  1531. package/bin/plugin/builtins/tts/Dependency.js.map +0 -1
  1532. package/bin/plugin/builtins/tts/Plugin.d.ts +0 -13
  1533. package/bin/plugin/builtins/tts/Plugin.d.ts.map +0 -1
  1534. package/bin/plugin/builtins/tts/Plugin.js +0 -472
  1535. package/bin/plugin/builtins/tts/Plugin.js.map +0 -1
  1536. package/bin/plugin/builtins/tts/PluginSupport.d.ts +0 -25
  1537. package/bin/plugin/builtins/tts/PluginSupport.d.ts.map +0 -1
  1538. package/bin/plugin/builtins/tts/PluginSupport.js +0 -72
  1539. package/bin/plugin/builtins/tts/PluginSupport.js.map +0 -1
  1540. package/bin/plugin/builtins/tts/runtime/Catalog.d.ts +0 -21
  1541. package/bin/plugin/builtins/tts/runtime/Catalog.d.ts.map +0 -1
  1542. package/bin/plugin/builtins/tts/runtime/Catalog.js +0 -90
  1543. package/bin/plugin/builtins/tts/runtime/Catalog.js.map +0 -1
  1544. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts +0 -143
  1545. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
  1546. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js +0 -261
  1547. package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js.map +0 -1
  1548. package/bin/plugin/builtins/tts/runtime/Installer.d.ts +0 -89
  1549. package/bin/plugin/builtins/tts/runtime/Installer.d.ts.map +0 -1
  1550. package/bin/plugin/builtins/tts/runtime/Installer.js +0 -188
  1551. package/bin/plugin/builtins/tts/runtime/Installer.js.map +0 -1
  1552. package/bin/plugin/builtins/tts/runtime/Paths.d.ts +0 -20
  1553. package/bin/plugin/builtins/tts/runtime/Paths.d.ts.map +0 -1
  1554. package/bin/plugin/builtins/tts/runtime/Paths.js +0 -32
  1555. package/bin/plugin/builtins/tts/runtime/Paths.js.map +0 -1
  1556. package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts +0 -44
  1557. package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts.map +0 -1
  1558. package/bin/plugin/builtins/tts/runtime/Synthesizer.js +0 -363
  1559. package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +0 -1
  1560. package/bin/plugin/builtins/tts/types/Tts.d.ts +0 -91
  1561. package/bin/plugin/builtins/tts/types/Tts.d.ts.map +0 -1
  1562. package/bin/plugin/builtins/tts/types/Tts.js +0 -9
  1563. package/bin/plugin/builtins/tts/types/Tts.js.map +0 -1
  1564. package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +0 -161
  1565. package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +0 -1
  1566. package/bin/plugin/builtins/tts/types/TtsPlugin.js +0 -9
  1567. package/bin/plugin/builtins/tts/types/TtsPlugin.js.map +0 -1
  1568. package/bin/plugin/builtins/voice/Config.d.ts +0 -43
  1569. package/bin/plugin/builtins/voice/Config.d.ts.map +0 -1
  1570. package/bin/plugin/builtins/voice/Config.js +0 -104
  1571. package/bin/plugin/builtins/voice/Config.js.map +0 -1
  1572. package/bin/plugin/builtins/voice/Dependency.d.ts +0 -77
  1573. package/bin/plugin/builtins/voice/Dependency.d.ts.map +0 -1
  1574. package/bin/plugin/builtins/voice/Dependency.js +0 -237
  1575. package/bin/plugin/builtins/voice/Dependency.js.map +0 -1
  1576. package/bin/plugin/builtins/voice/InboundAugment.d.ts +0 -17
  1577. package/bin/plugin/builtins/voice/InboundAugment.d.ts.map +0 -1
  1578. package/bin/plugin/builtins/voice/InboundAugment.js +0 -47
  1579. package/bin/plugin/builtins/voice/InboundAugment.js.map +0 -1
  1580. package/bin/plugin/builtins/voice/ModelCatalog.d.ts +0 -29
  1581. package/bin/plugin/builtins/voice/ModelCatalog.d.ts.map +0 -1
  1582. package/bin/plugin/builtins/voice/ModelCatalog.js +0 -25
  1583. package/bin/plugin/builtins/voice/ModelCatalog.js.map +0 -1
  1584. package/bin/plugin/builtins/voice/runtime/Catalog.d.ts +0 -18
  1585. package/bin/plugin/builtins/voice/runtime/Catalog.d.ts.map +0 -1
  1586. package/bin/plugin/builtins/voice/runtime/Catalog.js +0 -61
  1587. package/bin/plugin/builtins/voice/runtime/Catalog.js.map +0 -1
  1588. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts +0 -145
  1589. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
  1590. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js +0 -309
  1591. package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js.map +0 -1
  1592. package/bin/plugin/builtins/voice/runtime/Installer.d.ts +0 -94
  1593. package/bin/plugin/builtins/voice/runtime/Installer.d.ts.map +0 -1
  1594. package/bin/plugin/builtins/voice/runtime/Installer.js +0 -200
  1595. package/bin/plugin/builtins/voice/runtime/Installer.js.map +0 -1
  1596. package/bin/plugin/builtins/voice/runtime/Paths.d.ts +0 -8
  1597. package/bin/plugin/builtins/voice/runtime/Paths.d.ts.map +0 -1
  1598. package/bin/plugin/builtins/voice/runtime/Paths.js +0 -26
  1599. package/bin/plugin/builtins/voice/runtime/Paths.js.map +0 -1
  1600. package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts +0 -57
  1601. package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts.map +0 -1
  1602. package/bin/plugin/builtins/voice/runtime/Transcriber.js +0 -329
  1603. package/bin/plugin/builtins/voice/runtime/Transcriber.js.map +0 -1
  1604. package/bin/plugin/builtins/voice/types/Voice.d.ts +0 -58
  1605. package/bin/plugin/builtins/voice/types/Voice.d.ts.map +0 -1
  1606. package/bin/plugin/builtins/voice/types/Voice.js +0 -9
  1607. package/bin/plugin/builtins/voice/types/Voice.js.map +0 -1
  1608. package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +0 -190
  1609. package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +0 -1
  1610. package/bin/plugin/builtins/voice/types/VoicePlugin.js +0 -9
  1611. package/bin/plugin/builtins/voice/types/VoicePlugin.js.map +0 -1
  1612. package/bin/plugin/builtins/web/Dependency.d.ts +0 -10
  1613. package/bin/plugin/builtins/web/Dependency.d.ts.map +0 -1
  1614. package/bin/plugin/builtins/web/Dependency.js +0 -10
  1615. package/bin/plugin/builtins/web/Dependency.js.map +0 -1
  1616. package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts +0 -7
  1617. package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts.map +0 -1
  1618. package/bin/plugin/builtins/web/PROMPT.agent-browser.js +0 -8
  1619. package/bin/plugin/builtins/web/PROMPT.agent-browser.js.map +0 -1
  1620. package/bin/plugin/builtins/web/PROMPT.d.ts +0 -7
  1621. package/bin/plugin/builtins/web/PROMPT.d.ts.map +0 -1
  1622. package/bin/plugin/builtins/web/PROMPT.js +0 -8
  1623. package/bin/plugin/builtins/web/PROMPT.js.map +0 -1
  1624. package/bin/plugin/builtins/web/PROMPT.web-access.d.ts +0 -7
  1625. package/bin/plugin/builtins/web/PROMPT.web-access.d.ts.map +0 -1
  1626. package/bin/plugin/builtins/web/PROMPT.web-access.js +0 -8
  1627. package/bin/plugin/builtins/web/PROMPT.web-access.js.map +0 -1
  1628. package/bin/plugin/builtins/web/Plugin.d.ts +0 -13
  1629. package/bin/plugin/builtins/web/Plugin.d.ts.map +0 -1
  1630. package/bin/plugin/builtins/web/Plugin.js +0 -459
  1631. package/bin/plugin/builtins/web/Plugin.js.map +0 -1
  1632. package/bin/plugin/builtins/web/WebPromptAssets.d.ts +0 -20
  1633. package/bin/plugin/builtins/web/WebPromptAssets.d.ts.map +0 -1
  1634. package/bin/plugin/builtins/web/WebPromptAssets.js +0 -23
  1635. package/bin/plugin/builtins/web/WebPromptAssets.js.map +0 -1
  1636. package/bin/plugin/builtins/web/runtime/Config.d.ts +0 -21
  1637. package/bin/plugin/builtins/web/runtime/Config.d.ts.map +0 -1
  1638. package/bin/plugin/builtins/web/runtime/Config.js +0 -79
  1639. package/bin/plugin/builtins/web/runtime/Config.js.map +0 -1
  1640. package/bin/plugin/builtins/web/runtime/Source.d.ts +0 -29
  1641. package/bin/plugin/builtins/web/runtime/Source.d.ts.map +0 -1
  1642. package/bin/plugin/builtins/web/runtime/Source.js +0 -209
  1643. package/bin/plugin/builtins/web/runtime/Source.js.map +0 -1
  1644. package/bin/plugin/builtins/web/types/WebPlugin.d.ts +0 -133
  1645. package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +0 -1
  1646. package/bin/plugin/builtins/web/types/WebPlugin.js +0 -12
  1647. package/bin/plugin/builtins/web/types/WebPlugin.js.map +0 -1
  1648. package/bin/plugin/builtins/workboard/Plugin.d.ts +0 -13
  1649. package/bin/plugin/builtins/workboard/Plugin.d.ts.map +0 -1
  1650. package/bin/plugin/builtins/workboard/Plugin.js +0 -71
  1651. package/bin/plugin/builtins/workboard/Plugin.js.map +0 -1
  1652. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +0 -14
  1653. package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +0 -1
  1654. package/bin/plugin/builtins/workboard/runtime/Collector.js +0 -63
  1655. package/bin/plugin/builtins/workboard/runtime/Collector.js.map +0 -1
  1656. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +0 -61
  1657. package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +0 -1
  1658. package/bin/plugin/builtins/workboard/runtime/Normalizer.js +0 -172
  1659. package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +0 -1
  1660. package/bin/plugin/builtins/workboard/runtime/Store.d.ts +0 -48
  1661. package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +0 -1
  1662. package/bin/plugin/builtins/workboard/runtime/Store.js +0 -84
  1663. package/bin/plugin/builtins/workboard/runtime/Store.js.map +0 -1
  1664. package/bin/plugin/builtins/workboard/types/Workboard.d.ts +0 -150
  1665. package/bin/plugin/builtins/workboard/types/Workboard.d.ts.map +0 -1
  1666. package/bin/plugin/builtins/workboard/types/Workboard.js +0 -9
  1667. package/bin/plugin/builtins/workboard/types/Workboard.js.map +0 -1
  1668. package/bin/plugin/core/BuiltinPluginClasses.d.ts +0 -14
  1669. package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +0 -1
  1670. package/bin/plugin/core/BuiltinPluginClasses.js +0 -21
  1671. package/bin/plugin/core/BuiltinPluginClasses.js.map +0 -1
  1672. package/bin/plugin/core/Catalog.d.ts +0 -42
  1673. package/bin/plugin/core/Catalog.d.ts.map +0 -1
  1674. package/bin/plugin/core/Catalog.js +0 -92
  1675. package/bin/plugin/core/Catalog.js.map +0 -1
  1676. package/bin/plugin/core/HttpRoutes.d.ts +0 -22
  1677. package/bin/plugin/core/HttpRoutes.d.ts.map +0 -1
  1678. package/bin/plugin/core/HttpRoutes.js +0 -37
  1679. package/bin/plugin/core/HttpRoutes.js.map +0 -1
  1680. package/bin/plugin/core/LocalExecution.d.ts +0 -32
  1681. package/bin/plugin/core/LocalExecution.d.ts.map +0 -1
  1682. package/bin/plugin/core/LocalExecution.js +0 -146
  1683. package/bin/plugin/core/LocalExecution.js.map +0 -1
  1684. package/bin/plugin/core/PluginClassRegistry.d.ts +0 -22
  1685. package/bin/plugin/core/PluginClassRegistry.d.ts.map +0 -1
  1686. package/bin/plugin/core/PluginClassRegistry.js +0 -47
  1687. package/bin/plugin/core/PluginClassRegistry.js.map +0 -1
  1688. package/bin/plugin/core/PluginSystemProviders.d.ts +0 -27
  1689. package/bin/plugin/core/PluginSystemProviders.d.ts.map +0 -1
  1690. package/bin/plugin/core/PluginSystemProviders.js +0 -34
  1691. package/bin/plugin/core/PluginSystemProviders.js.map +0 -1
  1692. package/bin/plugin/core/Plugins.d.ts +0 -20
  1693. package/bin/plugin/core/Plugins.d.ts.map +0 -1
  1694. package/bin/plugin/core/Plugins.js +0 -33
  1695. package/bin/plugin/core/Plugins.js.map +0 -1
  1696. package/bin/plugin/core/schedule/Executor.d.ts +0 -17
  1697. package/bin/plugin/core/schedule/Executor.d.ts.map +0 -1
  1698. package/bin/plugin/core/schedule/Executor.js +0 -48
  1699. package/bin/plugin/core/schedule/Executor.js.map +0 -1
  1700. package/bin/plugin/core/schedule/Store.d.ts +0 -91
  1701. package/bin/plugin/core/schedule/Store.d.ts.map +0 -1
  1702. package/bin/plugin/core/schedule/Store.js +0 -284
  1703. package/bin/plugin/core/schedule/Store.js.map +0 -1
  1704. package/bin/plugin/core/schedule/Time.d.ts +0 -31
  1705. package/bin/plugin/core/schedule/Time.d.ts.map +0 -1
  1706. package/bin/plugin/core/schedule/Time.js +0 -107
  1707. package/bin/plugin/core/schedule/Time.js.map +0 -1
  1708. package/bin/plugin/types/PluginSchedule.d.ts +0 -80
  1709. package/bin/plugin/types/PluginSchedule.d.ts.map +0 -1
  1710. package/bin/plugin/types/PluginSchedule.js +0 -5
  1711. package/bin/plugin/types/PluginSchedule.js.map +0 -1
  1712. package/bin/runtime/host/PluginRuntime.d.ts +0 -24
  1713. package/bin/runtime/host/PluginRuntime.d.ts.map +0 -1
  1714. package/bin/runtime/host/PluginRuntime.js +0 -31
  1715. package/bin/runtime/host/PluginRuntime.js.map +0 -1
  1716. package/bin/runtime/server/http/control/ModelRoutes.d.ts +0 -13
  1717. package/bin/runtime/server/http/control/ModelRoutes.d.ts.map +0 -1
  1718. package/bin/runtime/server/http/control/ModelRoutes.js +0 -87
  1719. package/bin/runtime/server/http/control/ModelRoutes.js.map +0 -1
  1720. package/bin/runtime/server/http/services/services.d.ts +0 -25
  1721. package/bin/runtime/server/http/services/services.d.ts.map +0 -1
  1722. package/bin/runtime/server/http/services/services.js +0 -82
  1723. package/bin/runtime/server/http/services/services.js.map +0 -1
  1724. package/bin/sdk/Agent.d.ts +0 -85
  1725. package/bin/sdk/Agent.d.ts.map +0 -1
  1726. package/bin/sdk/Agent.js +0 -200
  1727. package/bin/sdk/Agent.js.map +0 -1
  1728. package/bin/sdk/AgentSdkTypes.d.ts +0 -387
  1729. package/bin/sdk/AgentSdkTypes.d.ts.map +0 -1
  1730. package/bin/sdk/AgentSdkTypes.js +0 -10
  1731. package/bin/sdk/AgentSdkTypes.js.map +0 -1
  1732. package/bin/sdk/RemoteAgent.d.ts +0 -77
  1733. package/bin/sdk/RemoteAgent.d.ts.map +0 -1
  1734. package/bin/sdk/RemoteAgent.js +0 -396
  1735. package/bin/sdk/RemoteAgent.js.map +0 -1
  1736. package/bin/sdk/Session.d.ts +0 -177
  1737. package/bin/sdk/Session.d.ts.map +0 -1
  1738. package/bin/sdk/Session.js +0 -491
  1739. package/bin/sdk/Session.js.map +0 -1
  1740. package/bin/sdk/SessionEventMapper.d.ts.map +0 -1
  1741. package/bin/sdk/SessionEventMapper.js.map +0 -1
  1742. package/bin/sdk/SessionSystemBuilder.d.ts +0 -106
  1743. package/bin/sdk/SessionSystemBuilder.d.ts.map +0 -1
  1744. package/bin/sdk/SessionSystemBuilder.js +0 -147
  1745. package/bin/sdk/SessionSystemBuilder.js.map +0 -1
  1746. package/bin/sdk/session/Metadata.d.ts +0 -55
  1747. package/bin/sdk/session/Metadata.d.ts.map +0 -1
  1748. package/bin/sdk/session/Metadata.js +0 -140
  1749. package/bin/sdk/session/Metadata.js.map +0 -1
  1750. package/bin/sdk/session/Paths.d.ts.map +0 -1
  1751. package/bin/sdk/session/Paths.js.map +0 -1
  1752. package/bin/sdk/session/Persistence.d.ts +0 -63
  1753. package/bin/sdk/session/Persistence.d.ts.map +0 -1
  1754. package/bin/sdk/session/Persistence.js +0 -52
  1755. package/bin/sdk/session/Persistence.js.map +0 -1
  1756. package/bin/sdk/session/RuntimeSessionPort.d.ts +0 -70
  1757. package/bin/sdk/session/RuntimeSessionPort.d.ts.map +0 -1
  1758. package/bin/sdk/session/RuntimeSessionPort.js +0 -40
  1759. package/bin/sdk/session/RuntimeSessionPort.js.map +0 -1
  1760. package/bin/sdk/session/index.d.ts +0 -12
  1761. package/bin/sdk/session/index.d.ts.map +0 -1
  1762. package/bin/sdk/session/index.js +0 -12
  1763. package/bin/sdk/session/index.js.map +0 -1
  1764. package/bin/sdk/session/runtime/SessionEventHub.d.ts +0 -24
  1765. package/bin/sdk/session/runtime/SessionEventHub.d.ts.map +0 -1
  1766. package/bin/sdk/session/runtime/SessionEventHub.js.map +0 -1
  1767. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +0 -71
  1768. package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +0 -1
  1769. package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +0 -1
  1770. package/bin/session/Executor.d.ts +0 -172
  1771. package/bin/session/Executor.d.ts.map +0 -1
  1772. package/bin/session/Executor.js +0 -533
  1773. package/bin/session/Executor.js.map +0 -1
  1774. package/bin/session/SessionRunScope.d.ts +0 -84
  1775. package/bin/session/SessionRunScope.d.ts.map +0 -1
  1776. package/bin/session/SessionRunScope.js +0 -82
  1777. package/bin/session/SessionRunScope.js.map +0 -1
  1778. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -55
  1779. package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
  1780. package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
  1781. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
  1782. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
  1783. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
  1784. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
  1785. package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
  1786. package/bin/session/composer/context/LocalSessionContextComposer.d.ts +0 -48
  1787. package/bin/session/composer/context/LocalSessionContextComposer.d.ts.map +0 -1
  1788. package/bin/session/composer/context/LocalSessionContextComposer.js.map +0 -1
  1789. package/bin/session/composer/context/SessionContextComposer.d.ts +0 -62
  1790. package/bin/session/composer/context/SessionContextComposer.d.ts.map +0 -1
  1791. package/bin/session/composer/context/SessionContextComposer.js.map +0 -1
  1792. package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -54
  1793. package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
  1794. package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
  1795. package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
  1796. package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
  1797. package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
  1798. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -35
  1799. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
  1800. package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
  1801. package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
  1802. package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
  1803. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
  1804. package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
  1805. package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
  1806. package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +0 -1
  1807. package/bin/session/composer/system/default/InitPromptAssets.js.map +0 -1
  1808. package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
  1809. package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
  1810. package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
  1811. package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
  1812. package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
  1813. package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
  1814. package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
  1815. package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
  1816. package/bin/session/composer/system/default/SystemDomain.js +0 -221
  1817. package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
  1818. package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +0 -1
  1819. package/bin/session/composer/system/default/SystemPromptAssets.js.map +0 -1
  1820. package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +0 -1
  1821. package/bin/session/composer/system/default/assets/core.prompt.js +0 -8
  1822. package/bin/session/composer/system/default/assets/core.prompt.js.map +0 -1
  1823. package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +0 -1
  1824. package/bin/session/composer/system/default/assets/init/PROFILE.md.js +0 -8
  1825. package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +0 -1
  1826. package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +0 -1
  1827. package/bin/session/composer/system/default/assets/init/SOUL.md.js +0 -8
  1828. package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +0 -1
  1829. package/bin/session/composer/system/default/assets/plugin.prompt.d.ts +0 -7
  1830. package/bin/session/composer/system/default/assets/plugin.prompt.d.ts.map +0 -1
  1831. package/bin/session/composer/system/default/assets/plugin.prompt.js +0 -8
  1832. package/bin/session/composer/system/default/assets/plugin.prompt.js.map +0 -1
  1833. package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +0 -1
  1834. package/bin/session/composer/system/default/assets/task.prompt.js +0 -8
  1835. package/bin/session/composer/system/default/assets/task.prompt.js.map +0 -1
  1836. package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
  1837. package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
  1838. package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
  1839. package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
  1840. package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
  1841. package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
  1842. package/bin/session/core-engine/CoreEngineError.d.ts.map +0 -1
  1843. package/bin/session/core-engine/CoreEngineError.js.map +0 -1
  1844. package/bin/session/core-engine/CoreEngineLoopDecision.d.ts +0 -27
  1845. package/bin/session/core-engine/CoreEngineLoopDecision.d.ts.map +0 -1
  1846. package/bin/session/core-engine/CoreEngineLoopDecision.js.map +0 -1
  1847. package/bin/session/core-engine/CoreEngineMessageState.d.ts +0 -63
  1848. package/bin/session/core-engine/CoreEngineMessageState.d.ts.map +0 -1
  1849. package/bin/session/core-engine/CoreEngineMessageState.js.map +0 -1
  1850. package/bin/session/core-engine/CoreEngineSignals.d.ts +0 -72
  1851. package/bin/session/core-engine/CoreEngineSignals.d.ts.map +0 -1
  1852. package/bin/session/core-engine/CoreEngineSignals.js.map +0 -1
  1853. package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts +0 -33
  1854. package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts.map +0 -1
  1855. package/bin/session/core-engine/CoreEngineUiStreamCollector.js.map +0 -1
  1856. package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
  1857. package/bin/session/ids/resolveSessionId.js.map +0 -1
  1858. package/bin/session/messages/AssistantResultPersistence.d.ts +0 -66
  1859. package/bin/session/messages/AssistantResultPersistence.d.ts.map +0 -1
  1860. package/bin/session/messages/AssistantResultPersistence.js +0 -48
  1861. package/bin/session/messages/AssistantResultPersistence.js.map +0 -1
  1862. package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
  1863. package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
  1864. package/bin/session/messages/SessionAttachmentMapper.js +0 -145
  1865. package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
  1866. package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
  1867. package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
  1868. package/bin/session/messages/SessionMessageCodec.js.map +0 -1
  1869. package/bin/session/messages/SessionMessageLog.d.ts +0 -19
  1870. package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
  1871. package/bin/session/messages/SessionMessageLog.js.map +0 -1
  1872. package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
  1873. package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
  1874. package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
  1875. package/bin/session/store/history/SessionHistoryStore.d.ts +0 -119
  1876. package/bin/session/store/history/SessionHistoryStore.d.ts.map +0 -1
  1877. package/bin/session/store/history/SessionHistoryStore.js.map +0 -1
  1878. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts +0 -85
  1879. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +0 -1
  1880. package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js.map +0 -1
  1881. package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
  1882. package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
  1883. package/bin/session/tools/shell/ShellToolBridge.js +0 -288
  1884. package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
  1885. package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
  1886. package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
  1887. package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
  1888. package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
  1889. package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
  1890. package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
  1891. package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
  1892. package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
  1893. package/bin/session/tools/shell/ShellToolSchemas.d.ts +0 -118
  1894. package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
  1895. package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
  1896. package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
  1897. package/bin/session/types/SessionExecutor.d.ts +0 -18
  1898. package/bin/session/types/SessionExecutor.d.ts.map +0 -1
  1899. package/bin/session/types/SessionExecutor.js.map +0 -1
  1900. package/bin/session/types/SessionHistoryMeta.d.ts.map +0 -1
  1901. package/bin/session/types/SessionHistoryMeta.js.map +0 -1
  1902. package/bin/session/types/SessionHistoryPaths.d.ts.map +0 -1
  1903. package/bin/session/types/SessionHistoryPaths.js.map +0 -1
  1904. package/bin/session/types/SessionLoop.d.ts.map +0 -1
  1905. package/bin/session/types/SessionLoop.js.map +0 -1
  1906. package/bin/session/types/SessionMessages.d.ts.map +0 -1
  1907. package/bin/session/types/SessionMessages.js.map +0 -1
  1908. package/bin/session/types/SessionPrompts.d.ts.map +0 -1
  1909. package/bin/session/types/SessionPrompts.js.map +0 -1
  1910. package/bin/session/types/SessionRun.d.ts +0 -112
  1911. package/bin/session/types/SessionRun.d.ts.map +0 -1
  1912. package/bin/session/types/SessionRun.js.map +0 -1
  1913. package/src/config/project/AgentInitializer.ts +0 -427
  1914. package/src/core/AgentContextTypes.ts +0 -305
  1915. package/src/core/AgentCore.ts +0 -530
  1916. package/src/core/AgentCoreTypes.ts +0 -90
  1917. package/src/plugin/builtins/asr/Config.ts +0 -138
  1918. package/src/plugin/builtins/asr/Dependency.ts +0 -336
  1919. package/src/plugin/builtins/asr/InboundAugment.ts +0 -59
  1920. package/src/plugin/builtins/asr/ModelCatalog.ts +0 -43
  1921. package/src/plugin/builtins/asr/Plugin.ts +0 -488
  1922. package/src/plugin/builtins/auth/Plugin.ts +0 -209
  1923. package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +0 -265
  1924. package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +0 -168
  1925. package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +0 -219
  1926. package/src/plugin/builtins/auth/types/AuthPlugin.ts +0 -545
  1927. package/src/plugin/builtins/chat/Action.ts +0 -477
  1928. package/src/plugin/builtins/chat/ChatPlugin.ts +0 -255
  1929. package/src/plugin/builtins/chat/ChatPluginTypes.ts +0 -164
  1930. package/src/plugin/builtins/chat/Index.ts +0 -8
  1931. package/src/plugin/builtins/chat/PROMPT.direct.ts +0 -9
  1932. package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +0 -55
  1933. package/src/plugin/builtins/chat/accounts/ChannelAccountService.ts +0 -297
  1934. package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +0 -450
  1935. package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +0 -320
  1936. package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
  1937. package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +0 -49
  1938. package/src/plugin/builtins/chat/channels/Configuration.ts +0 -35
  1939. package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
  1940. package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +0 -199
  1941. package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +0 -65
  1942. package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +0 -467
  1943. package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
  1944. package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
  1945. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
  1946. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
  1947. package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
  1948. package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
  1949. package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
  1950. package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -5
  1951. package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +0 -492
  1952. package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
  1953. package/src/plugin/builtins/chat/channels/feishu/Shared.ts +0 -94
  1954. package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
  1955. package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +0 -137
  1956. package/src/plugin/builtins/chat/channels/qq/Configuration.ts +0 -64
  1957. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
  1958. package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
  1959. package/src/plugin/builtins/chat/channels/qq/QQ.ts +0 -398
  1960. package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
  1961. package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
  1962. package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
  1963. package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
  1964. package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
  1965. package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
  1966. package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
  1967. package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
  1968. package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +0 -262
  1969. package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
  1970. package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
  1971. package/src/plugin/builtins/chat/channels/qq/QQSendSupport.ts +0 -91
  1972. package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +0 -263
  1973. package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +0 -381
  1974. package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
  1975. package/src/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -97
  1976. package/src/plugin/builtins/chat/channels/telegram/ApiClient.ts +0 -373
  1977. package/src/plugin/builtins/chat/channels/telegram/Bot.ts +0 -357
  1978. package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +0 -92
  1979. package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +0 -65
  1980. package/src/plugin/builtins/chat/channels/telegram/Handlers.ts +0 -91
  1981. package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
  1982. package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -2
  1983. package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
  1984. package/src/plugin/builtins/chat/channels/telegram/Shared.ts +0 -404
  1985. package/src/plugin/builtins/chat/channels/telegram/StateStore.ts +0 -58
  1986. package/src/plugin/builtins/chat/channels/telegram/TelegramInbound.ts +0 -186
  1987. package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
  1988. package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
  1989. package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
  1990. package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +0 -395
  1991. package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +0 -362
  1992. package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +0 -167
  1993. package/src/plugin/builtins/chat/runtime/ChatActionInputSupport.ts +0 -85
  1994. package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +0 -307
  1995. package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
  1996. package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +0 -145
  1997. package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
  1998. package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
  1999. package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
  2000. package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +0 -68
  2001. package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
  2002. package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +0 -186
  2003. package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +0 -367
  2004. package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +0 -5
  2005. package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +0 -70
  2006. package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
  2007. package/src/plugin/builtins/chat/runtime/ChatQueue.ts +0 -77
  2008. package/src/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
  2009. package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +0 -185
  2010. package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +0 -485
  2011. package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
  2012. package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
  2013. package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
  2014. package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
  2015. package/src/plugin/builtins/chat/runtime/ChatSession.ts +0 -156
  2016. package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
  2017. package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
  2018. package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
  2019. package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +0 -187
  2020. package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
  2021. package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
  2022. package/src/plugin/builtins/chat/runtime/InboundAugment.ts +0 -63
  2023. package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +0 -89
  2024. package/src/plugin/builtins/chat/runtime/PluginPoints.ts +0 -78
  2025. package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
  2026. package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
  2027. package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +0 -78
  2028. package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +0 -84
  2029. package/src/plugin/builtins/chat/runtime/UIMessageTransformer.ts +0 -141
  2030. package/src/plugin/builtins/chat/runtime/UserVisibleText.ts +0 -84
  2031. package/src/plugin/builtins/chat/types/BotInfo.ts +0 -101
  2032. package/src/plugin/builtins/chat/types/ChannelAccount.ts +0 -232
  2033. package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +0 -161
  2034. package/src/plugin/builtins/chat/types/ChannelContext.ts +0 -110
  2035. package/src/plugin/builtins/chat/types/ChannelStatus.ts +0 -98
  2036. package/src/plugin/builtins/chat/types/ChatCommand.ts +0 -174
  2037. package/src/plugin/builtins/chat/types/ChatDispatcher.ts +0 -42
  2038. package/src/plugin/builtins/chat/types/ChatHistory.ts +0 -42
  2039. package/src/plugin/builtins/chat/types/ChatMessageMarkup.ts +0 -168
  2040. package/src/plugin/builtins/chat/types/ChatMeta.ts +0 -35
  2041. package/src/plugin/builtins/chat/types/ChatPlugin.ts +0 -251
  2042. package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +0 -165
  2043. package/src/plugin/builtins/chat/types/ChatPromptContext.ts +0 -139
  2044. package/src/plugin/builtins/chat/types/ChatQueue.ts +0 -41
  2045. package/src/plugin/builtins/chat/types/ChatQueueWorker.ts +0 -25
  2046. package/src/plugin/builtins/chat/types/ChatRuntime.ts +0 -33
  2047. package/src/plugin/builtins/chat/types/DirectDispatch.ts +0 -133
  2048. package/src/plugin/builtins/chat/types/FeishuAttachment.ts +0 -50
  2049. package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
  2050. package/src/plugin/builtins/chat/types/FeishuPost.ts +0 -338
  2051. package/src/plugin/builtins/chat/types/QqInboundDedupe.ts +0 -12
  2052. package/src/plugin/builtins/chat/types/QqVoice.ts +0 -126
  2053. package/src/plugin/builtins/chat/types/ReplyContext.ts +0 -49
  2054. package/src/plugin/builtins/contact/Action.ts +0 -316
  2055. package/src/plugin/builtins/contact/ContactPlugin.ts +0 -505
  2056. package/src/plugin/builtins/contact/Index.ts +0 -8
  2057. package/src/plugin/builtins/contact/PROMPT.ts +0 -9
  2058. package/src/plugin/builtins/contact/PROMPT.ts.txt +0 -25
  2059. package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +0 -97
  2060. package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +0 -83
  2061. package/src/plugin/builtins/contact/runtime/ContactPayload.ts +0 -26
  2062. package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
  2063. package/src/plugin/builtins/contact/runtime/ContactStore.ts +0 -299
  2064. package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +0 -125
  2065. package/src/plugin/builtins/contact/runtime/EndpointResolver.ts +0 -146
  2066. package/src/plugin/builtins/contact/runtime/InboxStore.ts +0 -178
  2067. package/src/plugin/builtins/contact/runtime/LinkApproval.ts +0 -387
  2068. package/src/plugin/builtins/contact/runtime/LinkCode.ts +0 -70
  2069. package/src/plugin/builtins/contact/runtime/LinkStore.ts +0 -50
  2070. package/src/plugin/builtins/contact/runtime/Paths.ts +0 -139
  2071. package/src/plugin/builtins/contact/runtime/RemoteClient.ts +0 -158
  2072. package/src/plugin/builtins/contact/runtime/ShareBundle.ts +0 -286
  2073. package/src/plugin/builtins/contact/runtime/SystemProvider.ts +0 -15
  2074. package/src/plugin/builtins/contact/runtime/Token.ts +0 -40
  2075. package/src/plugin/builtins/contact/types/Contact.ts +0 -82
  2076. package/src/plugin/builtins/contact/types/ContactApproval.ts +0 -150
  2077. package/src/plugin/builtins/contact/types/ContactChat.ts +0 -47
  2078. package/src/plugin/builtins/contact/types/ContactCheck.ts +0 -67
  2079. package/src/plugin/builtins/contact/types/ContactCommand.ts +0 -98
  2080. package/src/plugin/builtins/contact/types/ContactEndpoint.ts +0 -16
  2081. package/src/plugin/builtins/contact/types/ContactLink.ts +0 -169
  2082. package/src/plugin/builtins/contact/types/ContactShare.ts +0 -172
  2083. package/src/plugin/builtins/memory/Action.ts +0 -147
  2084. package/src/plugin/builtins/memory/Index.ts +0 -9
  2085. package/src/plugin/builtins/memory/MemoryPlugin.ts +0 -270
  2086. package/src/plugin/builtins/memory/runtime/Flush.ts +0 -83
  2087. package/src/plugin/builtins/memory/runtime/Search.ts +0 -330
  2088. package/src/plugin/builtins/memory/runtime/Store.ts +0 -198
  2089. package/src/plugin/builtins/memory/runtime/SystemProvider.ts +0 -145
  2090. package/src/plugin/builtins/memory/runtime/Writer.ts +0 -173
  2091. package/src/plugin/builtins/memory/types/Memory.ts +0 -284
  2092. package/src/plugin/builtins/schedule/SchedulePlugin.ts +0 -131
  2093. package/src/plugin/builtins/shell/Index.ts +0 -9
  2094. package/src/plugin/builtins/shell/ShellPlugin.ts +0 -199
  2095. package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +0 -94
  2096. package/src/plugin/builtins/shell/runtime/Paths.ts +0 -28
  2097. package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +0 -135
  2098. package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
  2099. package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -384
  2100. package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
  2101. package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
  2102. package/src/plugin/builtins/shell/types/ShellPlugin.ts +0 -233
  2103. package/src/plugin/builtins/skill/Action.ts +0 -159
  2104. package/src/plugin/builtins/skill/Command.ts +0 -98
  2105. package/src/plugin/builtins/skill/Config.ts +0 -51
  2106. package/src/plugin/builtins/skill/PROMPT.ts +0 -9
  2107. package/src/plugin/builtins/skill/PROMPT.ts.txt +0 -10
  2108. package/src/plugin/builtins/skill/Plugin.ts +0 -334
  2109. package/src/plugin/builtins/skill/SkillPromptAssets.ts +0 -14
  2110. package/src/plugin/builtins/skill/runtime/Discovery.ts +0 -141
  2111. package/src/plugin/builtins/skill/runtime/Frontmatter.ts +0 -17
  2112. package/src/plugin/builtins/skill/runtime/Paths.ts +0 -130
  2113. package/src/plugin/builtins/skill/runtime/Prompt.ts +0 -67
  2114. package/src/plugin/builtins/skill/runtime/Store.ts +0 -95
  2115. package/src/plugin/builtins/skill/runtime/SystemProvider.ts +0 -52
  2116. package/src/plugin/builtins/skill/runtime/Types.ts +0 -22
  2117. package/src/plugin/builtins/skill/runtime/Utils.ts +0 -28
  2118. package/src/plugin/builtins/skill/types/ClaudeSkill.ts +0 -64
  2119. package/src/plugin/builtins/skill/types/SkillCommand.ts +0 -90
  2120. package/src/plugin/builtins/skill/types/SkillPlugin.ts +0 -107
  2121. package/src/plugin/builtins/skill/types/SkillRoot.ts +0 -49
  2122. package/src/plugin/builtins/task/Action.ts +0 -491
  2123. package/src/plugin/builtins/task/Index.ts +0 -8
  2124. package/src/plugin/builtins/task/PROMPT.ts +0 -9
  2125. package/src/plugin/builtins/task/PROMPT.ts.txt +0 -237
  2126. package/src/plugin/builtins/task/Scheduler.ts +0 -245
  2127. package/src/plugin/builtins/task/TaskPlugin.ts +0 -167
  2128. package/src/plugin/builtins/task/runtime/CronTrigger.ts +0 -110
  2129. package/src/plugin/builtins/task/runtime/Frontmatter.ts +0 -24
  2130. package/src/plugin/builtins/task/runtime/Model.ts +0 -347
  2131. package/src/plugin/builtins/task/runtime/Paths.ts +0 -116
  2132. package/src/plugin/builtins/task/runtime/Runner.ts +0 -519
  2133. package/src/plugin/builtins/task/runtime/Store.ts +0 -253
  2134. package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +0 -276
  2135. package/src/plugin/builtins/task/runtime/TaskActionInput.ts +0 -281
  2136. package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +0 -214
  2137. package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +0 -5
  2138. package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +0 -8
  2139. package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +0 -14
  2140. package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
  2141. package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
  2142. package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
  2143. package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +0 -337
  2144. package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +0 -175
  2145. package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +0 -190
  2146. package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
  2147. package/src/plugin/builtins/task/types/Cron.ts +0 -16
  2148. package/src/plugin/builtins/task/types/Task.ts +0 -157
  2149. package/src/plugin/builtins/task/types/TaskCommand.ts +0 -165
  2150. package/src/plugin/builtins/task/types/TaskPluginTypes.ts +0 -55
  2151. package/src/plugin/builtins/tts/Dependency.ts +0 -473
  2152. package/src/plugin/builtins/tts/Plugin.ts +0 -496
  2153. package/src/plugin/builtins/tts/PluginSupport.ts +0 -85
  2154. package/src/plugin/builtins/tts/runtime/Catalog.ts +0 -97
  2155. package/src/plugin/builtins/tts/runtime/DependencyInstaller.ts +0 -436
  2156. package/src/plugin/builtins/tts/runtime/Installer.ts +0 -297
  2157. package/src/plugin/builtins/tts/runtime/Paths.ts +0 -39
  2158. package/src/plugin/builtins/tts/runtime/Synthesizer.ts +0 -480
  2159. package/src/plugin/builtins/tts/types/Tts.ts +0 -99
  2160. package/src/plugin/builtins/tts/types/TtsPlugin.ts +0 -164
  2161. package/src/plugin/builtins/voice/Config.ts +0 -135
  2162. package/src/plugin/builtins/voice/Dependency.ts +0 -329
  2163. package/src/plugin/builtins/voice/InboundAugment.ts +0 -59
  2164. package/src/plugin/builtins/voice/ModelCatalog.ts +0 -43
  2165. package/src/plugin/builtins/voice/runtime/Catalog.ts +0 -68
  2166. package/src/plugin/builtins/voice/runtime/DependencyInstaller.ts +0 -505
  2167. package/src/plugin/builtins/voice/runtime/Installer.ts +0 -324
  2168. package/src/plugin/builtins/voice/runtime/Paths.ts +0 -26
  2169. package/src/plugin/builtins/voice/runtime/Transcriber.ts +0 -467
  2170. package/src/plugin/builtins/voice/types/Voice.ts +0 -68
  2171. package/src/plugin/builtins/voice/types/VoicePlugin.ts +0 -194
  2172. package/src/plugin/builtins/web/Dependency.ts +0 -17
  2173. package/src/plugin/builtins/web/PROMPT.agent-browser.ts +0 -9
  2174. package/src/plugin/builtins/web/PROMPT.agent-browser.ts.txt +0 -17
  2175. package/src/plugin/builtins/web/PROMPT.ts +0 -9
  2176. package/src/plugin/builtins/web/PROMPT.ts.txt +0 -33
  2177. package/src/plugin/builtins/web/PROMPT.web-access.ts +0 -9
  2178. package/src/plugin/builtins/web/PROMPT.web-access.ts.txt +0 -13
  2179. package/src/plugin/builtins/web/Plugin.ts +0 -501
  2180. package/src/plugin/builtins/web/WebPromptAssets.ts +0 -26
  2181. package/src/plugin/builtins/web/runtime/Config.ts +0 -105
  2182. package/src/plugin/builtins/web/runtime/Source.ts +0 -257
  2183. package/src/plugin/builtins/web/types/WebPlugin.ts +0 -141
  2184. package/src/plugin/builtins/workboard/Plugin.ts +0 -81
  2185. package/src/plugin/builtins/workboard/runtime/Collector.ts +0 -79
  2186. package/src/plugin/builtins/workboard/runtime/Normalizer.ts +0 -213
  2187. package/src/plugin/builtins/workboard/runtime/Store.ts +0 -110
  2188. package/src/plugin/builtins/workboard/types/Workboard.ts +0 -158
  2189. package/src/plugin/core/BuiltinPluginClasses.ts +0 -31
  2190. package/src/plugin/core/Catalog.ts +0 -118
  2191. package/src/plugin/core/HttpRoutes.ts +0 -50
  2192. package/src/plugin/core/LocalExecution.ts +0 -184
  2193. package/src/plugin/core/PluginClassRegistry.ts +0 -59
  2194. package/src/plugin/core/PluginSystemProviders.ts +0 -50
  2195. package/src/plugin/core/Plugins.ts +0 -39
  2196. package/src/plugin/core/schedule/Executor.ts +0 -54
  2197. package/src/plugin/core/schedule/Store.ts +0 -358
  2198. package/src/plugin/core/schedule/Time.ts +0 -131
  2199. package/src/plugin/types/PluginSchedule.ts +0 -89
  2200. package/src/runtime/host/PluginRuntime.ts +0 -42
  2201. package/src/runtime/server/http/control/ModelRoutes.ts +0 -101
  2202. package/src/runtime/server/http/services/services.ts +0 -114
  2203. package/src/sdk/Agent.ts +0 -243
  2204. package/src/sdk/AgentSdkTypes.ts +0 -442
  2205. package/src/sdk/RemoteAgent.ts +0 -549
  2206. package/src/sdk/Session.ts +0 -653
  2207. package/src/sdk/SessionSystemBuilder.ts +0 -259
  2208. package/src/sdk/session/Metadata.ts +0 -196
  2209. package/src/sdk/session/Persistence.ts +0 -113
  2210. package/src/sdk/session/RuntimeSessionPort.ts +0 -107
  2211. package/src/sdk/session/index.ts +0 -34
  2212. package/src/sdk/session/runtime/SessionPromptRuntime.ts +0 -302
  2213. package/src/session/Executor.ts +0 -732
  2214. package/src/session/README.md +0 -108
  2215. package/src/session/SessionRunScope.ts +0 -146
  2216. package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -62
  2217. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -101
  2218. package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
  2219. package/src/session/composer/context/LocalSessionContextComposer.ts +0 -168
  2220. package/src/session/composer/context/SessionContextComposer.ts +0 -70
  2221. package/src/session/composer/history/SessionHistoryComposer.ts +0 -62
  2222. package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
  2223. package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -126
  2224. package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -77
  2225. package/src/session/composer/system/default/InitPromptAssets.ts +0 -20
  2226. package/src/session/composer/system/default/InitPrompts.ts +0 -11
  2227. package/src/session/composer/system/default/PromptRenderer.ts +0 -52
  2228. package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
  2229. package/src/session/composer/system/default/SystemDomain.ts +0 -377
  2230. package/src/session/composer/system/default/SystemPromptAssets.ts +0 -26
  2231. package/src/session/composer/system/default/assets/core.prompt.ts +0 -9
  2232. package/src/session/composer/system/default/assets/init/PROFILE.md.ts +0 -9
  2233. package/src/session/composer/system/default/assets/init/SOUL.md.ts +0 -9
  2234. package/src/session/composer/system/default/assets/plugin.prompt.ts +0 -9
  2235. package/src/session/composer/system/default/assets/plugin.prompt.ts.txt +0 -28
  2236. package/src/session/composer/system/default/assets/task.prompt.ts +0 -9
  2237. package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
  2238. package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
  2239. package/src/session/core-engine/CoreEngineLoopDecision.ts +0 -80
  2240. package/src/session/core-engine/CoreEngineMessageState.ts +0 -133
  2241. package/src/session/core-engine/CoreEngineSignals.ts +0 -416
  2242. package/src/session/core-engine/CoreEngineUiStreamCollector.ts +0 -96
  2243. package/src/session/messages/AssistantResultPersistence.ts +0 -111
  2244. package/src/session/messages/SessionAttachmentMapper.ts +0 -155
  2245. package/src/session/messages/SessionMessageCodec.ts +0 -116
  2246. package/src/session/messages/SessionMessageLog.ts +0 -39
  2247. package/src/session/messages/SessionStepEventMapper.ts +0 -233
  2248. package/src/session/store/history/SessionHistoryStore.ts +0 -145
  2249. package/src/session/store/history/jsonl/JsonlSessionHistoryStore.ts +0 -500
  2250. package/src/session/tools/shell/ShellToolBridge.ts +0 -378
  2251. package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
  2252. package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
  2253. package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
  2254. package/src/session/types/SessionExecutor.ts +0 -33
  2255. package/src/session/types/SessionRun.ts +0 -132
  2256. /package/bin/{session → executor}/composer/compaction/SessionCompactionComposer.js +0 -0
  2257. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -0
  2258. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -0
  2259. /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -0
  2260. /package/bin/{session → executor}/composer/context/LocalSessionContextComposer.js +0 -0
  2261. /package/bin/{session → executor}/composer/context/SessionContextComposer.js +0 -0
  2262. /package/bin/{session → executor}/composer/history/SessionHistoryComposer.js +0 -0
  2263. /package/bin/{session → executor}/composer/history/SessionHistoryWriter.js +0 -0
  2264. /package/bin/{session → executor}/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -0
  2265. /package/bin/{session → executor}/composer/system/SessionSystemComposer.d.ts +0 -0
  2266. /package/bin/{session → executor}/composer/system/SessionSystemComposer.js +0 -0
  2267. /package/bin/{session → executor}/composer/system/default/DefaultSessionSystemComposer.js +0 -0
  2268. /package/bin/{session → executor}/composer/system/default/InitPromptAssets.d.ts +0 -0
  2269. /package/bin/{session → executor}/composer/system/default/InitPromptAssets.js +0 -0
  2270. /package/bin/{session → executor}/composer/system/default/InitPrompts.d.ts +0 -0
  2271. /package/bin/{session → executor}/composer/system/default/InitPrompts.js +0 -0
  2272. /package/bin/{session → executor}/composer/system/default/PromptRenderer.d.ts +0 -0
  2273. /package/bin/{session → executor}/composer/system/default/PromptRenderer.js +0 -0
  2274. /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.d.ts +0 -0
  2275. /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.js +0 -0
  2276. /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.d.ts +0 -0
  2277. /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.js +0 -0
  2278. /package/bin/{session → executor}/composer/system/default/assets/core.prompt.d.ts +0 -0
  2279. /package/bin/{session → executor}/composer/system/default/assets/init/PROFILE.md.d.ts +0 -0
  2280. /package/bin/{session → executor}/composer/system/default/assets/init/SOUL.md.d.ts +0 -0
  2281. /package/bin/{session → executor}/composer/system/default/assets/task.prompt.d.ts +0 -0
  2282. /package/bin/{session → executor}/composer/system/default/variables/GeoContext.d.ts +0 -0
  2283. /package/bin/{session → executor}/composer/system/default/variables/GeoContext.js +0 -0
  2284. /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.d.ts +0 -0
  2285. /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.js +0 -0
  2286. /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.d.ts +0 -0
  2287. /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.js +0 -0
  2288. /package/bin/{session → executor}/core-engine/CoreEngineError.d.ts +0 -0
  2289. /package/bin/{session → executor}/core-engine/CoreEngineError.js +0 -0
  2290. /package/bin/{session → executor}/core-engine/CoreEngineLoopDecision.js +0 -0
  2291. /package/bin/{session → executor}/core-engine/CoreEngineMessageState.js +0 -0
  2292. /package/bin/{session → executor}/core-engine/CoreEngineSignals.js +0 -0
  2293. /package/bin/{session → executor}/core-engine/CoreEngineUiStreamCollector.js +0 -0
  2294. /package/bin/{session → executor}/ids/resolveSessionId.d.ts +0 -0
  2295. /package/bin/{session → executor}/ids/resolveSessionId.js +0 -0
  2296. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/ChatMessageMarkup.js +0 -0
  2297. /package/bin/{session → executor}/messages/SessionMessageCodec.js +0 -0
  2298. /package/bin/{session → executor}/messages/SessionMessageLog.js +0 -0
  2299. /package/bin/{session → executor}/messages/SessionStepEventMapper.js +0 -0
  2300. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UIMessageTransformer.js +0 -0
  2301. /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UserVisibleText.js +0 -0
  2302. /package/bin/{session → executor}/store/history/SessionHistoryStore.js +0 -0
  2303. /package/bin/{session → executor}/store/history/jsonl/JsonlSessionHistoryStore.js +0 -0
  2304. /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.d.ts +0 -0
  2305. /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.js +0 -0
  2306. /package/bin/{session → executor}/types/SessionExecutor.js +0 -0
  2307. /package/bin/{session → executor}/types/SessionHistoryMeta.d.ts +0 -0
  2308. /package/bin/{session → executor}/types/SessionHistoryMeta.js +0 -0
  2309. /package/bin/{session → executor}/types/SessionHistoryPaths.d.ts +0 -0
  2310. /package/bin/{session → executor}/types/SessionHistoryPaths.js +0 -0
  2311. /package/bin/{session → executor}/types/SessionLoop.d.ts +0 -0
  2312. /package/bin/{session → executor}/types/SessionLoop.js +0 -0
  2313. /package/bin/{session → executor}/types/SessionMessages.d.ts +0 -0
  2314. /package/bin/{session → executor}/types/SessionMessages.js +0 -0
  2315. /package/bin/{session → executor}/types/SessionPrompts.d.ts +0 -0
  2316. /package/bin/{session → executor}/types/SessionPrompts.js +0 -0
  2317. /package/bin/{session → executor}/types/SessionRun.js +0 -0
  2318. /package/bin/{sdk → session}/SessionEventMapper.d.ts +0 -0
  2319. /package/bin/{sdk → session}/SessionEventMapper.js +0 -0
  2320. /package/bin/{sdk/session → session}/runtime/SessionEventHub.js +0 -0
  2321. /package/bin/{sdk/session → session}/runtime/SessionPromptRuntime.js +0 -0
  2322. /package/bin/{sdk/session → session/storage}/Paths.d.ts +0 -0
  2323. /package/bin/{sdk/session → session/storage}/Paths.js +0 -0
  2324. /package/bin/{config/project/types → types/config}/AgentProject.js +0 -0
  2325. /package/src/{session → executor}/composer/system/SessionSystemComposer.ts +0 -0
  2326. /package/src/{session → executor}/composer/system/default/assets/core.prompt.ts.txt +0 -0
  2327. /package/src/{session → executor}/composer/system/default/assets/init/PROFILE.md.ts.txt +0 -0
  2328. /package/src/{session → executor}/composer/system/default/assets/init/SOUL.md.ts.txt +0 -0
  2329. /package/src/{session → executor}/composer/system/default/assets/task.prompt.ts.txt +0 -0
  2330. /package/src/{session → executor}/composer/system/default/variables/PromptTypes.ts +0 -0
  2331. /package/src/{session → executor}/core-engine/CoreEngineError.ts +0 -0
  2332. /package/src/{session → executor}/ids/resolveSessionId.ts +0 -0
  2333. /package/src/{plugin/builtins → executor/tools}/shell/types/Shell.ts +0 -0
  2334. /package/src/{session → executor}/types/SessionHistoryMeta.ts +0 -0
  2335. /package/src/{session → executor}/types/SessionHistoryPaths.ts +0 -0
  2336. /package/src/{session → executor}/types/SessionLoop.ts +0 -0
  2337. /package/src/{session → executor}/types/SessionMessages.ts +0 -0
  2338. /package/src/{session → executor}/types/SessionPrompts.ts +0 -0
  2339. /package/src/{sdk → session}/SessionEventMapper.ts +0 -0
  2340. /package/src/{sdk/session → session}/runtime/SessionEventHub.ts +0 -0
  2341. /package/src/{sdk/session → session/storage}/Paths.ts +0 -0
  2342. /package/src/{config/project/types → types/config}/AgentProject.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineLoopDecision.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineLoopDecision.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH;;;;;;;;GAQG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAA+B;IAE/B,IACE,KAAK,CAAC,qBAAqB;QAC3B,KAAK,CAAC,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,EAC7D,CAAC;QACD,OAAO;YACL,IAAI,EAAE,oBAAoB;YAC1B,oBAAoB,EAAE,KAAK;YAC3B,mBAAmB,EAAE,KAAK;YAC1B,6BAA6B,EAAE,IAAI;SACpC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,yBAAyB;YAC/B,oBAAoB,EAAE,IAAI;YAC1B,mBAAmB,EAAE,KAAK;YAC1B,6BAA6B,EAAE,KAAK;SACrC,CAAC;IACJ,CAAC;IAED,IACE,KAAK,CAAC,0BAA0B,KAAK,IAAI;QACzC,KAAK,CAAC,QAAQ;QACd,KAAK,CAAC,yBAAyB,GAAG,KAAK,CAAC,wBAAwB,EAChE,CAAC;QACD,OAAO;YACL,IAAI,EAAE,wBAAwB;YAC9B,oBAAoB,EAAE,KAAK;YAC3B,mBAAmB,EAAE,IAAI;YACzB,6BAA6B,EAAE,KAAK;SACrC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,oBAAoB,EAAE,KAAK;QAC3B,mBAAmB,EAAE,KAAK;QAC1B,6BAA6B,EAAE,KAAK;KACrC,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,uCAAuC,CACrD,KAAwC;IAExC,OAAO,KAAK,CAAC,sBAAsB,GAAG,CAAC,CAAC;AAC1C,CAAC"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * CoreEngine 模型消息运行态。
3
+ *
4
+ * 关键点(中文)
5
+ * - CoreEngine 同时维护 session 语义消息与模型消息。
6
+ * - 新增 user 消息可优先做增量转换,失败时再回退为全量重算。
7
+ * - assistant UI 消息只需要进入 session 语义基线;模型侧使用 SDK 返回的 response messages。
8
+ */
9
+ import type { ModelMessage, Tool } from "ai";
10
+ import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
11
+ /**
12
+ * CoreEngine 单轮执行期间的消息基线。
13
+ */
14
+ export declare class CoreEngineMessageState {
15
+ /**
16
+ * 当前运行时 session 语义消息。
17
+ */
18
+ private sessionMessages;
19
+ /**
20
+ * 当前模型侧消息基线。
21
+ */
22
+ private currentModelMessages;
23
+ /**
24
+ * 当前轮可用工具集合。
25
+ */
26
+ private readonly tools;
27
+ private constructor();
28
+ /**
29
+ * 基于初始 session 消息创建运行态。
30
+ */
31
+ static create(params: {
32
+ /**
33
+ * 初始 session 语义消息。
34
+ */
35
+ messages: SessionMessageV1[];
36
+ /**
37
+ * 当前轮可用工具集合。
38
+ */
39
+ tools: Record<string, Tool>;
40
+ }): Promise<CoreEngineMessageState>;
41
+ /**
42
+ * 读取当前模型消息。
43
+ */
44
+ get modelMessages(): ModelMessage[];
45
+ /**
46
+ * 把 step 间新增的 user 消息并入两份基线。
47
+ */
48
+ appendMergedUserMessages(messages: SessionMessageV1[]): Promise<ModelMessage[]>;
49
+ /**
50
+ * 追加内部生成的 user nudge 消息。
51
+ */
52
+ appendUserTextMessage(message: SessionMessageV1): Promise<void>;
53
+ /**
54
+ * 追加 assistant UI 消息到 session 语义基线。
55
+ */
56
+ appendRuntimeSessionMessage(message: SessionMessageV1): void;
57
+ /**
58
+ * 追加 SDK 返回的模型 response messages。
59
+ */
60
+ appendModelMessages(messages: ModelMessage[]): void;
61
+ private appendSessionMessagesAsModelMessages;
62
+ }
63
+ //# sourceMappingURL=CoreEngineMessageState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineMessageState.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineMessageState.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E;;GAEG;AACH,qBAAa,sBAAsB;IACjC;;OAEG;IACH,OAAO,CAAC,eAAe,CAAqB;IAE5C;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAiB;IAE7C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,OAAO;IAmBP;;OAEG;WACU,MAAM,CAAC,MAAM,EAAE;QAC1B;;WAEG;QACH,QAAQ,EAAE,gBAAgB,EAAE,CAAC;QAC7B;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAC7B,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAWnC;;OAEG;IACH,IAAI,aAAa,IAAI,YAAY,EAAE,CAElC;IAED;;OAEG;IACG,wBAAwB,CAC5B,QAAQ,EAAE,gBAAgB,EAAE,GAC3B,OAAO,CAAC,YAAY,EAAE,CAAC;IAM1B;;OAEG;IACG,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrE;;OAEG;IACH,2BAA2B,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI5D;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI;YAKrC,oCAAoC;CAenD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineMessageState.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineMessageState.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EACL,sBAAsB,EACtB,eAAe,GAChB,MAAM,2CAA2C,CAAC;AAEnD;;GAEG;AACH,MAAM,OAAO,sBAAsB;IACjC;;OAEG;IACK,eAAe,CAAqB;IAE5C;;OAEG;IACK,oBAAoB,CAAiB;IAE7C;;OAEG;IACc,KAAK,CAAuB;IAE7C,YAAoB,MAanB;QACC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;QAC9C,IAAI,CAAC,oBAAoB,GAAG,MAAM,CAAC,aAAa,CAAC;QACjD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MASnB;QACC,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;YACpD,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;YACtB,CAAC,CAAC,EAAE,CAAC;QACP,OAAO,IAAI,sBAAsB,CAAC;YAChC,eAAe;YACf,aAAa,EAAE,MAAM,eAAe,CAAC,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC;YACnE,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,I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ACvB,CAAC;QACD,IAAI,CAAC,oBAAoB,GAAG,MAAM,eAAe,CAC/C,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,KAAK,CACX,CAAC;QACF,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
@@ -0,0 +1,72 @@
1
+ /**
2
+ * SessionLoopSignals:tool-loop 执行循环的信号判断与调试摘要工具。
3
+ *
4
+ * 关键点(中文)
5
+ * - 这里只放“如何判断继续执行 / 如何输出调试摘要”的纯函数。
6
+ * - 不放 tool-loop 主流程,避免执行内核被大量辅助细节淹没。
7
+ * - 目标是让 tool-loop 保持“只看主链路就能理解”的结构。
8
+ */
9
+ import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
10
+ import type { JsonObject } from "../../types/common/Json.js";
11
+ /**
12
+ * 单次 tool-loop 允许的最大 step 数。
13
+ */
14
+ export declare const MAX_TOOL_LOOP_STEPS = 64;
15
+ /**
16
+ * text-only 提醒续跑的最大次数。
17
+ *
18
+ * 关键点(中文)
19
+ * - 仅用于“模型明显承诺下一步、但没有实际调用工具”的兜底。
20
+ * - 设置较小上限,避免进入无界自催促循环。
21
+ */
22
+ export declare const MAX_TEXT_ONLY_CONTINUATIONS = 3;
23
+ /**
24
+ * 不完整响应自动恢复的最大次数。
25
+ *
26
+ * 关键点(中文)
27
+ * - 仅针对 provider 流异常结束这类“本该继续、但响应被截断”的情况。
28
+ * - 只补一次,避免在 provider 异常持续时进入长时间空转。
29
+ */
30
+ export declare const MAX_INCOMPLETE_RESPONSE_RECOVERIES = 1;
31
+ /**
32
+ * 生成日志友好的单行预览文本。
33
+ */
34
+ export declare function toInlinePreview(value: unknown): string;
35
+ /**
36
+ * 汇总单个 step 的关键信号,便于定位“为什么没有继续下一轮”。
37
+ */
38
+ export declare function summarizeStepForDebug(stepResult: unknown): JsonObject;
39
+ /**
40
+ * 汇总最终 assistant UI 消息的调试摘要。
41
+ */
42
+ export declare function summarizeUiMessageForDebug(message: SessionMessageV1 | null | undefined): JsonObject;
43
+ /**
44
+ * 合并多轮 assistant UI 消息。
45
+ *
46
+ * 关键点(中文)
47
+ * - 多 step 场景下,最终 assistant message 需要把各 step 的 UI part 串起来。
48
+ */
49
+ export declare function mergeAssistantUiMessages(base: SessionMessageV1 | null, incoming: SessionMessageV1): SessionMessageV1;
50
+ /**
51
+ * 构造“不完整响应恢复”提示。
52
+ */
53
+ export declare function buildIncompleteResponseRecoveryNudge(recoveryIndex: number): string;
54
+ /**
55
+ * 检测“响应被中断但模型没有正常完成”的情况。
56
+ */
57
+ export declare function detectIncompleteResponse(params: {
58
+ stepResult: unknown;
59
+ assistantMessage: SessionMessageV1 | null | undefined;
60
+ }): {
61
+ reason: string;
62
+ details: JsonObject;
63
+ } | null;
64
+ /**
65
+ * 检测“只有口头计划,没有真正执行”的续跑信号。
66
+ */
67
+ export declare function detectTextOnlyContinuationReason(stepResult: unknown): string | null;
68
+ /**
69
+ * 构造“text-only 续跑”提示。
70
+ */
71
+ export declare function buildTextOnlyContinuationNudge(continuationIndex: number): string;
72
+ //# sourceMappingURL=CoreEngineSignals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineSignals.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineSignals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAqDpD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAMtD;AAsDD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CA+BrE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,UAAU,CA4BZ;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,gBAAgB,GAAG,IAAI,EAC7B,QAAQ,EAAE,gBAAgB,GACzB,gBAAgB,CAmBlB;AAiCD;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,aAAa,EAAE,MAAM,GACpB,MAAM,CAQR;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;CACvD,GAAG;IACF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,UAAU,CAAC;CACrB,GAAG,IAAI,CAmEP;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,OAAO,GAClB,MAAM,GAAG,IAAI,CAgBf;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,iBAAiB,EAAE,MAAM,GACxB,MAAM,CAQR"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineSignals.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineSignals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,IAAI,CAAC;AAIZ;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,4BAA4B,GAAG,GAAG,CAAC;AAEzC;;GAEG;AACH,MAAM,2BAA2B,GAAG,IAAI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IAE1E,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/C,IAAI,YAAY,IAAI,YAAY,KAAK,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzD,KAAK,MAAM,SAAS,IAAI,+BAA+B,EAAE,CAAC;QACxD,IAAI,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,OAAO,SAAS,CAAC,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,iBAAyB;IAEzB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC;IAC7C,OAAO;QACL,YAAY,KAAK,eAAe;QAChC,yBAAyB;QACzB,wBAAwB;QACxB,iCAAiC;KAClC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Session UI stream 最终消息收敛器。
3
+ *
4
+ * 关键点(中文)
5
+ * - 必须完整消费 AI SDK UI stream,才能稳定触发 `onFinish`。
6
+ * - 优先使用结构化 `responseMessage`;缺失时才回退到纯文本。
7
+ * - UI chunk 回调是展示层副作用,失败不应阻断 session 执行。
8
+ */
9
+ import type { streamText } from "ai";
10
+ import type { Logger } from "../../utils/logger/Logger.js";
11
+ import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
12
+ /**
13
+ * 收敛 UI stream 中的最终 assistant 消息。
14
+ */
15
+ export declare function collectFinalAssistantMessageFromUiStream(params: {
16
+ /**
17
+ * 当前 `streamText` 执行结果。
18
+ */
19
+ result: ReturnType<typeof streamText>;
20
+ /**
21
+ * 当前 sessionId,用于日志关联。
22
+ */
23
+ sessionId: string;
24
+ /**
25
+ * 当前日志器。
26
+ */
27
+ logger: Logger;
28
+ /**
29
+ * 构造 fallback assistant 消息的工厂函数。
30
+ */
31
+ buildFallbackAssistantMessage: (text: string) => SessionMessageV1;
32
+ }): Promise<SessionMessageV1>;
33
+ //# sourceMappingURL=CoreEngineUiStreamCollector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineUiStreamCollector.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineUiStreamCollector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAO5E;;GAEG;AACH,wBAAsB,wCAAwC,CAAC,MAAM,EAAE;IACrE;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,6BAA6B,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,gBAAgB,CAAC;CACnE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAwD5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreEngineUiStreamCollector.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineUiStreamCollector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EACL,0BAA0B,EAC1B,eAAe,GAChB,MAAM,4CAA4C,CAAC;AAEpD;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,wCAAwC,CAAC,MAiB9D;IACC,IAAI,wBAAwB,GAA4B,IAAI,CAAC;IAC7D,IAAI,eAAe,GAAsB,IAAI,CAAC;IAE9C,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CA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AC;QACP,aAAa,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,gCAAgC,EAAE;QAChE,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,mBAAmB,EAAE,aAAa,CAAC,MAAM;QACzC,oBAAoB,EAAE,eAAe,CAAC,aAAa,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC,6BAA6B,CACzC,aAAa,IAAI,qBAAqB,CACvC,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveSessionId.d.ts","sourceRoot":"","sources":["../../../src/executor/ids/resolveSessionId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,MAAM,GAAG,SAAS,CAQrB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveSessionId.js","sourceRoot":"","sources":["../../../src/executor/ids/resolveSessionId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAEhC;IACC,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACvD,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC;IAE9B,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACpE,IAAI,YAAY;QAAE,OAAO,YAAY,CAAC;IAEtC,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * AssistantResultPersistence:统一处理一次 run 结束后的 assistant 落盘决策。
3
+ *
4
+ * 关键点(中文)
5
+ * - 负责收敛“写完整 assistant message / 写 fallback 文本 / 完全跳过”三种分支。
6
+ * - 避免 SDK、HTTP execute、control execute、chat queue 各自复制一套判断。
7
+ * - 一旦 step 消息已经单独持久化,最终 merged assistant 必须跳过,不能再补一条 fallback。
8
+ */
9
+ import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
10
+ /**
11
+ * assistant 写入端口。
12
+ */
13
+ export interface AssistantResultPersistenceWriter {
14
+ /**
15
+ * 追加 assistant 消息。
16
+ */
17
+ appendAssistantMessage(params: {
18
+ /**
19
+ * 已构造好的完整 assistant 消息。
20
+ */
21
+ message?: SessionMessageV1 | null;
22
+ /**
23
+ * 在没有完整 message 可写时的兜底文本。
24
+ */
25
+ fallbackText?: string;
26
+ }): Promise<void>;
27
+ }
28
+ /**
29
+ * 一次 run 结束后的 assistant 落盘参数。
30
+ */
31
+ export interface PersistAssistantResultParams {
32
+ /**
33
+ * assistant 写入端口。
34
+ */
35
+ writer: AssistantResultPersistenceWriter;
36
+ /**
37
+ * 本轮执行得到的 assistant message。
38
+ */
39
+ assistantMessage: SessionMessageV1 | null | undefined;
40
+ /**
41
+ * 可选兜底文本。
42
+ *
43
+ * 关键点(中文)
44
+ * - 仅在没有完整 assistant message 且未发生 step 持久化时才允许写入。
45
+ * - 若 step 已单独落盘,这里必须被忽略,避免重复 assistant。
46
+ */
47
+ fallbackText?: string;
48
+ }
49
+ /**
50
+ * 解析本轮 run 最终应该如何持久化 assistant。
51
+ */
52
+ export declare function buildAssistantResultPersistencePayload(params: Omit<PersistAssistantResultParams, "writer">): {
53
+ /**
54
+ * 已构造好的完整 assistant message。
55
+ */
56
+ message?: SessionMessageV1 | null;
57
+ /**
58
+ * 允许写入的兜底文本。
59
+ */
60
+ fallbackText?: string;
61
+ } | null;
62
+ /**
63
+ * 按统一规则持久化一次 run 的 assistant 结果。
64
+ */
65
+ export declare function persistAssistantResult(params: PersistAssistantResultParams): Promise<boolean>;
66
+ //# sourceMappingURL=AssistantResultPersistence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssistantResultPersistence.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/AssistantResultPersistence.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,sBAAsB,CAAC,MAAM,EAAE;QAC7B;;WAEG;QACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;QAClC;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,gCAAgC,CAAC;IACzC;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD;;GAEG;AACH,wBAAgB,sCAAsC,CACpD,MAAM,EAAE,IAAI,CAAC,4BAA4B,EAAE,QAAQ,CAAC,GACnD;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,IAAI,CAoBP;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,4BAA4B,GACnC,OAAO,CAAC,OAAO,CAAC,CAQlB"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * AssistantResultPersistence:统一处理一次 run 结束后的 assistant 落盘决策。
3
+ *
4
+ * 关键点(中文)
5
+ * - 负责收敛“写完整 assistant message / 写 fallback 文本 / 完全跳过”三种分支。
6
+ * - 避免 SDK、HTTP execute、control execute、chat queue 各自复制一套判断。
7
+ * - 一旦 step 消息已经单独持久化,最终 merged assistant 必须跳过,不能再补一条 fallback。
8
+ */
9
+ import { hasPersistedAssistantSteps, resolveAssistantMessageForPersistence, } from "../../executor/messages/UserVisibleText.js";
10
+ function normalizeFallbackText(input) {
11
+ const text = String(input || "").trim();
12
+ return text || undefined;
13
+ }
14
+ /**
15
+ * 解析本轮 run 最终应该如何持久化 assistant。
16
+ */
17
+ export function buildAssistantResultPersistencePayload(params) {
18
+ const persistedMessage = resolveAssistantMessageForPersistence(params.assistantMessage);
19
+ if (persistedMessage) {
20
+ return {
21
+ message: persistedMessage,
22
+ };
23
+ }
24
+ // 关键点(中文):step 已经单独落盘时,最终 merged assistant 必须完全跳过。
25
+ if (hasPersistedAssistantSteps(params.assistantMessage)) {
26
+ return null;
27
+ }
28
+ const fallbackText = normalizeFallbackText(params.fallbackText);
29
+ if (!fallbackText)
30
+ return null;
31
+ return {
32
+ fallbackText,
33
+ };
34
+ }
35
+ /**
36
+ * 按统一规则持久化一次 run 的 assistant 结果。
37
+ */
38
+ export async function persistAssistantResult(params) {
39
+ const payload = buildAssistantResultPersistencePayload({
40
+ assistantMessage: params.assistantMessage,
41
+ fallbackText: params.fallbackText,
42
+ });
43
+ if (!payload)
44
+ return false;
45
+ await params.writer.appendAssistantMessage(payload);
46
+ return true;
47
+ }
48
+ //# sourceMappingURL=AssistantResultPersistence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssistantResultPersistence.js","sourceRoot":"","sources":["../../../src/executor/messages/AssistantResultPersistence.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,GACtC,MAAM,wCAAwC,CAAC;AA2ChD,SAAS,qBAAqB,CAAC,KAAyB;IACtD,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACxC,OAAO,IAAI,IAAI,SAAS,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sCAAsC,CACpD,MAAoD;IAWpD,MAAM,gBAAgB,GAAG,qCAAqC,CAC5D,MAAM,CAAC,gBAAgB,CACxB,CAAC;IACF,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO;YACL,OAAO,EAAE,gBAAgB;SAC1B,CAAC;IACJ,CAAC;IAED,mDAAmD;IACnD,IAAI,0BAA0B,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,YAAY,GAAG,qBAAqB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAChE,IAAI,CAAC,YAAY;QAAE,OAAO,IAAI,CAAC;IAC/B,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,MAAoC;IAEpC,MAAM,OAAO,GAAG,sCAAsC,CAAC;QACrD,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,YAAY,EAAE,MAAM,CAAC,YAAY;KAClC,CAAC,CAAC;IACH,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACpD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Chat 消息标记语法解析工具。
3
+ *
4
+ * 关键点(中文)
5
+ * - 统一处理 frontmatter metadata 与 `<file>` 附件标签。
6
+ * - 解析结果保留 `segments[]`,用于按正文与附件的真实顺序发送。
7
+ */
8
+ import type { ChatMessageFileTag, ChatMessageFileType, ChatMessageSegment, ParsedChatMessageMarkup } from "./ChatMessageMarkupTypes.js";
9
+ /**
10
+ * 归一化附件类型。
11
+ */
12
+ export declare function normalizeChatMessageFileType(value: unknown): ChatMessageFileType;
13
+ /**
14
+ * 提取 frontmatter metadata。
15
+ */
16
+ export declare function extractChatMessageFrontmatter(params: {
17
+ source: string;
18
+ }): {
19
+ metadata: Record<string, unknown>;
20
+ body: string;
21
+ };
22
+ /**
23
+ * 提取 `<file>` 标签,并保留正文/附件的真实顺序。
24
+ */
25
+ export declare function extractChatMessageSegments(source: string): ChatMessageSegment[];
26
+ /**
27
+ * 提取 `<file>` 标签列表。
28
+ */
29
+ export declare function extractChatMessageFileTags(source: string): ChatMessageFileTag[];
30
+ /**
31
+ * 移除正文中的 `<file>` 标签,仅保留文本段。
32
+ */
33
+ export declare function stripChatMessageFileTags(source: string): string;
34
+ /**
35
+ * 渲染一条标准化 `<file>` 标签。
36
+ */
37
+ export declare function renderChatMessageFileTag(file: ChatMessageFileTag): string;
38
+ /**
39
+ * 把附件列表渲染回统一的 `<file>` 文本块。
40
+ */
41
+ export declare function buildChatMessageFileBlock(files: ChatMessageFileTag[]): string;
42
+ /**
43
+ * 把片段重建成统一消息文本。
44
+ */
45
+ export declare function buildChatMessageText(params: {
46
+ bodyText?: string;
47
+ files?: ChatMessageFileTag[];
48
+ segments?: ChatMessageSegment[];
49
+ }): string;
50
+ /**
51
+ * 统一解析一段 chat 消息文本。
52
+ */
53
+ export declare function parseChatMessageMarkup(source: string): ParsedChatMessageMarkup;
54
+ //# sourceMappingURL=ChatMessageMarkup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMessageMarkup.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAEV,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAElB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AA6BrC;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,mBAAmB,CAOhF;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE;IACpD,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;CACd,CA4BA;A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,CAAC,CAAC,OAAO,EAAqC,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;aAC/E,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QACjC,QAAQ;KACT,CAAC;AACJ,CAAC"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Chat 消息标记语法类型。
3
+ *
4
+ * 关键点(中文)
5
+ * - 统一描述 chat plugin runtime 中可见的消息协议:frontmatter metadata + `<file>` 标签。
6
+ * - direct 模式、`city chat send`、入站附件注入、渠道出站解析都应复用本类型。
7
+ */
8
+ /**
9
+ * `<file>` 标签支持的附件类型。
10
+ *
11
+ * 说明(中文)
12
+ * - 语义集合与 Telegram/Feishu 当前支持的附件能力保持一致。
13
+ * - 默认类型为 `document`。
14
+ */
15
+ export type ChatMessageFileType = "document" | "photo" | "voice" | "audio" | "video";
16
+ /**
17
+ * 一条 `<file>` 标签解析后的结构。
18
+ */
19
+ export interface ChatMessageFileTag {
20
+ /**
21
+ * 附件路径。
22
+ *
23
+ * 说明(中文)
24
+ * - 当前主要使用项目内相对路径。
25
+ * - 渠道可自行决定是否支持绝对路径或远程 URL。
26
+ */
27
+ path: string;
28
+ /**
29
+ * 附件类型。
30
+ *
31
+ * 说明(中文)
32
+ * - 缺省时按 `document` 处理。
33
+ */
34
+ type: ChatMessageFileType;
35
+ /**
36
+ * 可选附件说明。
37
+ *
38
+ * 说明(中文)
39
+ * - 存在时由渠道决定如何发送给最终用户。
40
+ */
41
+ caption?: string;
42
+ }
43
+ /**
44
+ * 一段有序文本片段。
45
+ */
46
+ export interface ChatMessageTextSegment {
47
+ /**
48
+ * 片段类型。
49
+ */
50
+ kind: "text";
51
+ /**
52
+ * 片段文本。
53
+ *
54
+ * 说明(中文)
55
+ * - 已做 trim,保证不会出现纯空白文本段。
56
+ */
57
+ text: string;
58
+ }
59
+ /**
60
+ * 一段有序附件片段。
61
+ */
62
+ export interface ChatMessageFileSegment {
63
+ /**
64
+ * 片段类型。
65
+ */
66
+ kind: "file";
67
+ /**
68
+ * 附件内容。
69
+ */
70
+ file: ChatMessageFileTag;
71
+ }
72
+ /**
73
+ * 按消息真实顺序排列的片段。
74
+ */
75
+ export type ChatMessageSegment = ChatMessageTextSegment | ChatMessageFileSegment;
76
+ /**
77
+ * 一段 chat 消息正文解析后的结果。
78
+ */
79
+ export interface ParsedChatMessageMarkup {
80
+ /**
81
+ * frontmatter metadata 原始对象。
82
+ *
83
+ * 说明(中文)
84
+ * - 只在正文最顶部存在合法 YAML frontmatter 时才会填充。
85
+ * - 解析失败时会退化为 `{}`,避免误删正文。
86
+ */
87
+ metadata: Record<string, unknown>;
88
+ /**
89
+ * 去掉 frontmatter 与 `<file>` 标签后的纯正文。
90
+ *
91
+ * 说明(中文)
92
+ * - 会把多段文本按消息原始顺序合并,中间使用空行分隔。
93
+ */
94
+ bodyText: string;
95
+ /**
96
+ * 按出现顺序提取出的附件标签列表。
97
+ */
98
+ files: ChatMessageFileTag[];
99
+ /**
100
+ * 按消息实际顺序提取出的有序片段。
101
+ */
102
+ segments: ChatMessageSegment[];
103
+ }
104
+ /**
105
+ * 由 frontmatter metadata 解析出的发送参数。
106
+ */
107
+ export interface ChatMessageSendOptions {
108
+ /**
109
+ * 目标 chatKey。
110
+ *
111
+ * 说明(中文)
112
+ * - 未提供时由调用方回退到当前上下文或显式参数。
113
+ */
114
+ chatKey?: string;
115
+ /**
116
+ * 延迟发送毫秒数。
117
+ *
118
+ * 说明(中文)
119
+ * - 由 `delay/delayMs/delay-ms` 解析得到。
120
+ */
121
+ delayMs?: number;
122
+ /**
123
+ * 定时发送的绝对毫秒时间戳。
124
+ *
125
+ * 说明(中文)
126
+ * - 由 `time/sendAt/sendAtMs` 等字段解析得到。
127
+ */
128
+ sendAtMs?: number;
129
+ /**
130
+ * 是否使用 reply 语义发送。
131
+ *
132
+ * 说明(中文)
133
+ * - 允许仅设置布尔值,也允许结合 `messageId` 一起使用。
134
+ */
135
+ replyToMessage?: boolean;
136
+ /**
137
+ * 可选目标消息 ID。
138
+ *
139
+ * 说明(中文)
140
+ * - 当前主要用于 Telegram/Feishu reply 场景。
141
+ */
142
+ messageId?: string;
143
+ }
144
+ //# sourceMappingURL=ChatMessageMarkupTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMessageMarkupTypes.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkupTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,CAAC;AAEZ;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAE1B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,sBAAsB,GACtB,sBAAsB,CAAC;AAE3B;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Chat 消息标记语法类型。
3
+ *
4
+ * 关键点(中文)
5
+ * - 统一描述 chat plugin runtime 中可见的消息协议:frontmatter metadata + `<file>` 标签。
6
+ * - direct 模式、`city chat send`、入站附件注入、渠道出站解析都应复用本类型。
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=ChatMessageMarkupTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMessageMarkupTypes.js","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkupTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * SessionAttachmentMapper:把 `<file>` 附件描述映射为模型可消费的 file parts。
3
+ *
4
+ * 关键点(中文)
5
+ * - 兼容 Telegram / Feishu / TUI 等统一的 `<file>` 协议入口。
6
+ * - 仅在本轮执行的内存消息上追加 file parts,不修改持久化历史。
7
+ * - 当前只为图片与 PDF 注入 file part,保持多模态模型可直接消费。
8
+ */
9
+ import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
10
+ /**
11
+ * 在 user 消息上注入 FileUIPart,以便多模态模型直接消费本地附件。
12
+ */
13
+ export declare function injectFilePartsFromAttachments(messages: SessionMessageV1[]): Promise<SessionMessageV1[]>;
14
+ //# sourceMappingURL=SessionAttachmentMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SessionAttachmentMapper.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/SessionAttachmentMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AA+C5E;;GAEG;AACH,wBAAsB,8BAA8B,CAClD,QAAQ,EAAE,gBAAgB,EAAE,GAC3B,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAsF7B"}