@pellux/goodvibes-sdk 0.18.14 → 0.18.15

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 (1471) hide show
  1. package/dist/_internal/platform/acp/connection.d.ts +59 -0
  2. package/dist/_internal/platform/acp/connection.d.ts.map +1 -0
  3. package/dist/_internal/platform/acp/connection.js +377 -0
  4. package/dist/_internal/platform/acp/index.d.ts +3 -0
  5. package/dist/_internal/platform/acp/index.d.ts.map +1 -0
  6. package/dist/_internal/platform/acp/index.js +1 -0
  7. package/dist/_internal/platform/acp/manager.d.ts +49 -0
  8. package/dist/_internal/platform/acp/manager.d.ts.map +1 -0
  9. package/dist/_internal/platform/acp/manager.js +105 -0
  10. package/dist/_internal/platform/adapters/bluebubbles/index.d.ts +3 -0
  11. package/dist/_internal/platform/adapters/bluebubbles/index.d.ts.map +1 -0
  12. package/dist/_internal/platform/adapters/bluebubbles/index.js +119 -0
  13. package/dist/_internal/platform/adapters/discord/index.d.ts +9 -0
  14. package/dist/_internal/platform/adapters/discord/index.d.ts.map +1 -0
  15. package/dist/_internal/platform/adapters/discord/index.js +255 -0
  16. package/dist/_internal/platform/adapters/github/index.d.ts +8 -0
  17. package/dist/_internal/platform/adapters/github/index.d.ts.map +1 -0
  18. package/dist/_internal/platform/adapters/github/index.js +58 -0
  19. package/dist/_internal/platform/adapters/google-chat/index.d.ts +3 -0
  20. package/dist/_internal/platform/adapters/google-chat/index.d.ts.map +1 -0
  21. package/dist/_internal/platform/adapters/google-chat/index.js +105 -0
  22. package/dist/_internal/platform/adapters/imessage/index.d.ts +3 -0
  23. package/dist/_internal/platform/adapters/imessage/index.d.ts.map +1 -0
  24. package/dist/_internal/platform/adapters/imessage/index.js +84 -0
  25. package/dist/_internal/platform/adapters/index.d.ts +16 -0
  26. package/dist/_internal/platform/adapters/index.d.ts.map +1 -0
  27. package/dist/_internal/platform/adapters/index.js +15 -0
  28. package/dist/_internal/platform/adapters/matrix/index.d.ts +3 -0
  29. package/dist/_internal/platform/adapters/matrix/index.d.ts.map +1 -0
  30. package/dist/_internal/platform/adapters/matrix/index.js +106 -0
  31. package/dist/_internal/platform/adapters/mattermost/index.d.ts +3 -0
  32. package/dist/_internal/platform/adapters/mattermost/index.d.ts.map +1 -0
  33. package/dist/_internal/platform/adapters/mattermost/index.js +139 -0
  34. package/dist/_internal/platform/adapters/msteams/index.d.ts +3 -0
  35. package/dist/_internal/platform/adapters/msteams/index.d.ts.map +1 -0
  36. package/dist/_internal/platform/adapters/msteams/index.js +169 -0
  37. package/dist/_internal/platform/adapters/ntfy/index.d.ts +4 -0
  38. package/dist/_internal/platform/adapters/ntfy/index.d.ts.map +1 -0
  39. package/dist/_internal/platform/adapters/ntfy/index.js +105 -0
  40. package/dist/_internal/platform/adapters/signal/index.d.ts +3 -0
  41. package/dist/_internal/platform/adapters/signal/index.d.ts.map +1 -0
  42. package/dist/_internal/platform/adapters/signal/index.js +84 -0
  43. package/dist/_internal/platform/adapters/slack/index.d.ts +5 -0
  44. package/dist/_internal/platform/adapters/slack/index.d.ts.map +1 -0
  45. package/dist/_internal/platform/adapters/slack/index.js +287 -0
  46. package/dist/_internal/platform/adapters/telegram/index.d.ts +3 -0
  47. package/dist/_internal/platform/adapters/telegram/index.d.ts.map +1 -0
  48. package/dist/_internal/platform/adapters/telegram/index.js +147 -0
  49. package/dist/_internal/platform/adapters/types.d.ts +81 -0
  50. package/dist/_internal/platform/adapters/types.d.ts.map +1 -0
  51. package/dist/_internal/platform/adapters/types.js +1 -0
  52. package/dist/_internal/platform/adapters/webhook/index.d.ts +3 -0
  53. package/dist/_internal/platform/adapters/webhook/index.d.ts.map +1 -0
  54. package/dist/_internal/platform/adapters/webhook/index.js +167 -0
  55. package/dist/_internal/platform/adapters/whatsapp/index.d.ts +3 -0
  56. package/dist/_internal/platform/adapters/whatsapp/index.d.ts.map +1 -0
  57. package/dist/_internal/platform/adapters/whatsapp/index.js +125 -0
  58. package/dist/_internal/platform/agents/message-bus-core.d.ts +55 -0
  59. package/dist/_internal/platform/agents/message-bus-core.d.ts.map +1 -0
  60. package/dist/_internal/platform/agents/message-bus-core.js +244 -0
  61. package/dist/_internal/platform/agents/message-bus.d.ts +3 -0
  62. package/dist/_internal/platform/agents/message-bus.d.ts.map +1 -0
  63. package/dist/_internal/platform/agents/message-bus.js +1 -0
  64. package/dist/_internal/platform/agents/orchestrator-prompts.d.ts +33 -0
  65. package/dist/_internal/platform/agents/orchestrator-prompts.d.ts.map +1 -0
  66. package/dist/_internal/platform/agents/orchestrator-prompts.js +320 -0
  67. package/dist/_internal/platform/agents/orchestrator-runner.d.ts +56 -0
  68. package/dist/_internal/platform/agents/orchestrator-runner.d.ts.map +1 -0
  69. package/dist/_internal/platform/agents/orchestrator-runner.js +492 -0
  70. package/dist/_internal/platform/agents/orchestrator.d.ts +92 -0
  71. package/dist/_internal/platform/agents/orchestrator.d.ts.map +1 -0
  72. package/dist/_internal/platform/agents/orchestrator.js +318 -0
  73. package/dist/_internal/platform/agents/session.d.ts +37 -0
  74. package/dist/_internal/platform/agents/session.d.ts.map +1 -0
  75. package/dist/_internal/platform/agents/session.js +89 -0
  76. package/dist/_internal/platform/agents/worktree.d.ts +45 -0
  77. package/dist/_internal/platform/agents/worktree.d.ts.map +1 -0
  78. package/dist/_internal/platform/agents/worktree.js +134 -0
  79. package/dist/_internal/platform/agents/wrfc-config.d.ts +20 -0
  80. package/dist/_internal/platform/agents/wrfc-config.d.ts.map +1 -0
  81. package/dist/_internal/platform/agents/wrfc-config.js +27 -0
  82. package/dist/_internal/platform/agents/wrfc-controller.d.ts +67 -0
  83. package/dist/_internal/platform/agents/wrfc-controller.d.ts.map +1 -0
  84. package/dist/_internal/platform/agents/wrfc-controller.js +562 -0
  85. package/dist/_internal/platform/agents/wrfc-gate-runtime.d.ts +12 -0
  86. package/dist/_internal/platform/agents/wrfc-gate-runtime.d.ts.map +1 -0
  87. package/dist/_internal/platform/agents/wrfc-gate-runtime.js +55 -0
  88. package/dist/_internal/platform/agents/wrfc-reporting.d.ts +11 -0
  89. package/dist/_internal/platform/agents/wrfc-reporting.d.ts.map +1 -0
  90. package/dist/_internal/platform/agents/wrfc-reporting.js +244 -0
  91. package/dist/_internal/platform/agents/wrfc-runtime-events.d.ts +21 -0
  92. package/dist/_internal/platform/agents/wrfc-runtime-events.d.ts.map +1 -0
  93. package/dist/_internal/platform/agents/wrfc-runtime-events.js +80 -0
  94. package/dist/_internal/platform/agents/wrfc-types.d.ts +57 -0
  95. package/dist/_internal/platform/agents/wrfc-types.d.ts.map +1 -0
  96. package/dist/_internal/platform/agents/wrfc-types.js +1 -0
  97. package/dist/_internal/platform/agents/wrfc-workmap.js +1 -1
  98. package/dist/_internal/platform/automation/delivery-manager.d.ts +35 -0
  99. package/dist/_internal/platform/automation/delivery-manager.d.ts.map +1 -0
  100. package/dist/_internal/platform/automation/delivery-manager.js +306 -0
  101. package/dist/_internal/platform/automation/index.d.ts +21 -0
  102. package/dist/_internal/platform/automation/index.d.ts.map +1 -0
  103. package/dist/_internal/platform/automation/index.js +9 -0
  104. package/dist/_internal/platform/automation/manager-runtime-delivery.d.ts +25 -0
  105. package/dist/_internal/platform/automation/manager-runtime-delivery.d.ts.map +1 -0
  106. package/dist/_internal/platform/automation/manager-runtime-delivery.js +109 -0
  107. package/dist/_internal/platform/automation/manager-runtime-events.d.ts +11 -0
  108. package/dist/_internal/platform/automation/manager-runtime-events.d.ts.map +1 -0
  109. package/dist/_internal/platform/automation/manager-runtime-events.js +90 -0
  110. package/dist/_internal/platform/automation/manager-runtime-execution.d.ts +67 -0
  111. package/dist/_internal/platform/automation/manager-runtime-execution.d.ts.map +1 -0
  112. package/dist/_internal/platform/automation/manager-runtime-execution.js +402 -0
  113. package/dist/_internal/platform/automation/manager-runtime-helpers.d.ts +103 -0
  114. package/dist/_internal/platform/automation/manager-runtime-helpers.d.ts.map +1 -0
  115. package/dist/_internal/platform/automation/manager-runtime-helpers.js +313 -0
  116. package/dist/_internal/platform/automation/manager-runtime-job-mutations.d.ts +17 -0
  117. package/dist/_internal/platform/automation/manager-runtime-job-mutations.d.ts.map +1 -0
  118. package/dist/_internal/platform/automation/manager-runtime-job-mutations.js +139 -0
  119. package/dist/_internal/platform/automation/manager-runtime-reconcile.d.ts +28 -0
  120. package/dist/_internal/platform/automation/manager-runtime-reconcile.d.ts.map +1 -0
  121. package/dist/_internal/platform/automation/manager-runtime-reconcile.js +127 -0
  122. package/dist/_internal/platform/automation/manager-runtime-scheduling.d.ts +31 -0
  123. package/dist/_internal/platform/automation/manager-runtime-scheduling.d.ts.map +1 -0
  124. package/dist/_internal/platform/automation/manager-runtime-scheduling.js +142 -0
  125. package/dist/_internal/platform/automation/manager-runtime-sync.d.ts +9 -0
  126. package/dist/_internal/platform/automation/manager-runtime-sync.d.ts.map +1 -0
  127. package/dist/_internal/platform/automation/manager-runtime-sync.js +33 -0
  128. package/dist/_internal/platform/automation/manager-runtime.d.ts +127 -0
  129. package/dist/_internal/platform/automation/manager-runtime.d.ts.map +1 -0
  130. package/dist/_internal/platform/automation/manager-runtime.js +573 -0
  131. package/dist/_internal/platform/automation/manager.d.ts +3 -0
  132. package/dist/_internal/platform/automation/manager.d.ts.map +1 -0
  133. package/dist/_internal/platform/automation/manager.js +1 -0
  134. package/dist/_internal/platform/automation/schedules.js +1 -1
  135. package/dist/_internal/platform/automation/service.d.ts +61 -0
  136. package/dist/_internal/platform/automation/service.d.ts.map +1 -0
  137. package/dist/_internal/platform/automation/service.js +205 -0
  138. package/dist/_internal/platform/bookmarks/manager.d.ts +1 -1
  139. package/dist/_internal/platform/bookmarks/manager.js +1 -1
  140. package/dist/_internal/platform/channels/builtin/account-actions.d.ts +12 -0
  141. package/dist/_internal/platform/channels/builtin/account-actions.d.ts.map +1 -0
  142. package/dist/_internal/platform/channels/builtin/account-actions.js +437 -0
  143. package/dist/_internal/platform/channels/builtin/accounts.d.ts +11 -0
  144. package/dist/_internal/platform/channels/builtin/accounts.d.ts.map +1 -0
  145. package/dist/_internal/platform/channels/builtin/accounts.js +390 -0
  146. package/dist/_internal/platform/channels/builtin/contracts.d.ts +20 -0
  147. package/dist/_internal/platform/channels/builtin/contracts.d.ts.map +1 -0
  148. package/dist/_internal/platform/channels/builtin/contracts.js +299 -0
  149. package/dist/_internal/platform/channels/builtin/plugins.d.ts +25 -0
  150. package/dist/_internal/platform/channels/builtin/plugins.d.ts.map +1 -0
  151. package/dist/_internal/platform/channels/builtin/plugins.js +225 -0
  152. package/dist/_internal/platform/channels/builtin/rendering.d.ts +15 -0
  153. package/dist/_internal/platform/channels/builtin/rendering.d.ts.map +1 -0
  154. package/dist/_internal/platform/channels/builtin/rendering.js +135 -0
  155. package/dist/_internal/platform/channels/builtin/setup-schema.d.ts +3 -0
  156. package/dist/_internal/platform/channels/builtin/setup-schema.d.ts.map +1 -0
  157. package/dist/_internal/platform/channels/builtin/setup-schema.js +479 -0
  158. package/dist/_internal/platform/channels/builtin/shared.d.ts +41 -0
  159. package/dist/_internal/platform/channels/builtin/shared.d.ts.map +1 -0
  160. package/dist/_internal/platform/channels/builtin/shared.js +42 -0
  161. package/dist/_internal/platform/channels/builtin/surfaces.d.ts +11 -0
  162. package/dist/_internal/platform/channels/builtin/surfaces.d.ts.map +1 -0
  163. package/dist/_internal/platform/channels/builtin/surfaces.js +49 -0
  164. package/dist/_internal/platform/channels/builtin/targets.d.ts +14 -0
  165. package/dist/_internal/platform/channels/builtin/targets.d.ts.map +1 -0
  166. package/dist/_internal/platform/channels/builtin/targets.js +665 -0
  167. package/dist/_internal/platform/channels/builtin-runtime.d.ts +40 -0
  168. package/dist/_internal/platform/channels/builtin-runtime.d.ts.map +1 -0
  169. package/dist/_internal/platform/channels/builtin-runtime.js +293 -0
  170. package/dist/_internal/platform/channels/delivery/shared.d.ts +20 -0
  171. package/dist/_internal/platform/channels/delivery/shared.d.ts.map +1 -0
  172. package/dist/_internal/platform/channels/delivery/shared.js +165 -0
  173. package/dist/_internal/platform/channels/delivery/strategies-bridge.d.ts +9 -0
  174. package/dist/_internal/platform/channels/delivery/strategies-bridge.d.ts.map +1 -0
  175. package/dist/_internal/platform/channels/delivery/strategies-bridge.js +165 -0
  176. package/dist/_internal/platform/channels/delivery/strategies-core.d.ts +13 -0
  177. package/dist/_internal/platform/channels/delivery/strategies-core.d.ts.map +1 -0
  178. package/dist/_internal/platform/channels/delivery/strategies-core.js +238 -0
  179. package/dist/_internal/platform/channels/delivery/strategies-enterprise.d.ts +8 -0
  180. package/dist/_internal/platform/channels/delivery/strategies-enterprise.d.ts.map +1 -0
  181. package/dist/_internal/platform/channels/delivery/strategies-enterprise.js +120 -0
  182. package/dist/_internal/platform/channels/delivery/types.d.ts +53 -0
  183. package/dist/_internal/platform/channels/delivery/types.d.ts.map +1 -0
  184. package/dist/_internal/platform/channels/delivery/types.js +1 -0
  185. package/dist/_internal/platform/channels/delivery-router.d.ts +21 -0
  186. package/dist/_internal/platform/channels/delivery-router.d.ts.map +1 -0
  187. package/dist/_internal/platform/channels/delivery-router.js +74 -0
  188. package/dist/_internal/platform/channels/index.d.ts +15 -0
  189. package/dist/_internal/platform/channels/index.d.ts.map +1 -0
  190. package/dist/_internal/platform/channels/index.js +8 -0
  191. package/dist/_internal/platform/channels/plugin-registry.d.ts +96 -0
  192. package/dist/_internal/platform/channels/plugin-registry.d.ts.map +1 -0
  193. package/dist/_internal/platform/channels/plugin-registry.js +437 -0
  194. package/dist/_internal/platform/channels/provider-runtime.d.ts +56 -0
  195. package/dist/_internal/platform/channels/provider-runtime.d.ts.map +1 -0
  196. package/dist/_internal/platform/channels/provider-runtime.js +257 -0
  197. package/dist/_internal/platform/channels/reply-pipeline.d.ts +42 -0
  198. package/dist/_internal/platform/channels/reply-pipeline.d.ts.map +1 -0
  199. package/dist/_internal/platform/channels/reply-pipeline.js +444 -0
  200. package/dist/_internal/platform/channels/route-manager.d.ts +60 -0
  201. package/dist/_internal/platform/channels/route-manager.d.ts.map +1 -0
  202. package/dist/_internal/platform/channels/route-manager.js +280 -0
  203. package/dist/_internal/platform/channels/surface-registry.d.ts +16 -0
  204. package/dist/_internal/platform/channels/surface-registry.d.ts.map +1 -0
  205. package/dist/_internal/platform/channels/surface-registry.js +197 -0
  206. package/dist/_internal/platform/config/helper-model.d.ts +92 -0
  207. package/dist/_internal/platform/config/helper-model.d.ts.map +1 -0
  208. package/dist/_internal/platform/config/helper-model.js +187 -0
  209. package/dist/_internal/platform/config/index.d.ts +35 -0
  210. package/dist/_internal/platform/config/index.d.ts.map +1 -0
  211. package/dist/_internal/platform/config/index.js +182 -0
  212. package/dist/_internal/platform/config/manager.d.ts +91 -0
  213. package/dist/_internal/platform/config/manager.d.ts.map +1 -0
  214. package/dist/_internal/platform/config/manager.js +332 -0
  215. package/dist/_internal/platform/config/schema-domain-core.js +1 -1
  216. package/dist/_internal/platform/config/schema-domain-runtime.js +1 -1
  217. package/dist/_internal/platform/config/secrets.d.ts +89 -0
  218. package/dist/_internal/platform/config/secrets.d.ts.map +1 -0
  219. package/dist/_internal/platform/config/secrets.js +444 -0
  220. package/dist/_internal/platform/config/service-registry.d.ts +98 -0
  221. package/dist/_internal/platform/config/service-registry.d.ts.map +1 -0
  222. package/dist/_internal/platform/config/service-registry.js +221 -0
  223. package/dist/_internal/platform/config/subscription-auth.d.ts +3 -0
  224. package/dist/_internal/platform/config/subscription-auth.d.ts.map +1 -0
  225. package/dist/_internal/platform/config/subscription-auth.js +29 -0
  226. package/dist/_internal/platform/config/subscription-providers.d.ts +30 -0
  227. package/dist/_internal/platform/config/subscription-providers.d.ts.map +1 -0
  228. package/dist/_internal/platform/config/subscription-providers.js +92 -0
  229. package/dist/_internal/platform/config/tool-llm.d.ts +63 -0
  230. package/dist/_internal/platform/config/tool-llm.d.ts.map +1 -0
  231. package/dist/_internal/platform/config/tool-llm.js +87 -0
  232. package/dist/_internal/platform/control-plane/approval-broker.d.ts +83 -0
  233. package/dist/_internal/platform/control-plane/approval-broker.d.ts.map +1 -0
  234. package/dist/_internal/platform/control-plane/approval-broker.js +270 -0
  235. package/dist/_internal/platform/control-plane/gateway.d.ts +94 -0
  236. package/dist/_internal/platform/control-plane/gateway.d.ts.map +1 -0
  237. package/dist/_internal/platform/control-plane/gateway.js +582 -0
  238. package/dist/_internal/platform/control-plane/index.d.ts +12 -0
  239. package/dist/_internal/platform/control-plane/index.d.ts.map +1 -0
  240. package/dist/_internal/platform/control-plane/index.js +4 -0
  241. package/dist/_internal/platform/control-plane/media-contract-schemas.d.ts +16 -0
  242. package/dist/_internal/platform/control-plane/media-contract-schemas.d.ts.map +1 -0
  243. package/dist/_internal/platform/control-plane/media-contract-schemas.js +182 -0
  244. package/dist/_internal/platform/control-plane/method-catalog-admin.d.ts +3 -0
  245. package/dist/_internal/platform/control-plane/method-catalog-admin.d.ts.map +1 -0
  246. package/dist/_internal/platform/control-plane/method-catalog-admin.js +123 -0
  247. package/dist/_internal/platform/control-plane/method-catalog-channels.d.ts +3 -0
  248. package/dist/_internal/platform/control-plane/method-catalog-channels.d.ts.map +1 -0
  249. package/dist/_internal/platform/control-plane/method-catalog-channels.js +559 -0
  250. package/dist/_internal/platform/control-plane/method-catalog-control-automation.d.ts +3 -0
  251. package/dist/_internal/platform/control-plane/method-catalog-control-automation.d.ts.map +1 -0
  252. package/dist/_internal/platform/control-plane/method-catalog-control-automation.js +440 -0
  253. package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts +3 -0
  254. package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts.map +1 -0
  255. package/dist/_internal/platform/control-plane/method-catalog-control-core.js +541 -0
  256. package/dist/_internal/platform/control-plane/method-catalog-control.d.ts +3 -0
  257. package/dist/_internal/platform/control-plane/method-catalog-control.d.ts.map +1 -0
  258. package/dist/_internal/platform/control-plane/method-catalog-control.js +6 -0
  259. package/dist/_internal/platform/control-plane/method-catalog-events.d.ts +3 -0
  260. package/dist/_internal/platform/control-plane/method-catalog-events.d.ts.map +1 -0
  261. package/dist/_internal/platform/control-plane/method-catalog-events.js +71 -0
  262. package/dist/_internal/platform/control-plane/method-catalog-knowledge.d.ts +3 -0
  263. package/dist/_internal/platform/control-plane/method-catalog-knowledge.d.ts.map +1 -0
  264. package/dist/_internal/platform/control-plane/method-catalog-knowledge.js +487 -0
  265. package/dist/_internal/platform/control-plane/method-catalog-media.d.ts +3 -0
  266. package/dist/_internal/platform/control-plane/method-catalog-media.d.ts.map +1 -0
  267. package/dist/_internal/platform/control-plane/method-catalog-media.js +248 -0
  268. package/dist/_internal/platform/control-plane/method-catalog-runtime.d.ts +3 -0
  269. package/dist/_internal/platform/control-plane/method-catalog-runtime.d.ts.map +1 -0
  270. package/dist/_internal/platform/control-plane/method-catalog-runtime.js +265 -0
  271. package/dist/_internal/platform/control-plane/method-catalog-shared.d.ts +100 -0
  272. package/dist/_internal/platform/control-plane/method-catalog-shared.d.ts.map +1 -0
  273. package/dist/_internal/platform/control-plane/method-catalog-shared.js +117 -0
  274. package/dist/_internal/platform/control-plane/method-catalog.d.ts +29 -0
  275. package/dist/_internal/platform/control-plane/method-catalog.d.ts.map +1 -0
  276. package/dist/_internal/platform/control-plane/method-catalog.js +180 -0
  277. package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.d.ts +41 -0
  278. package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.d.ts.map +1 -0
  279. package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.js +569 -0
  280. package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.d.ts +26 -0
  281. package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.d.ts.map +1 -0
  282. package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.js +324 -0
  283. package/dist/_internal/platform/control-plane/operator-contract-schemas-control.d.ts +10 -0
  284. package/dist/_internal/platform/control-plane/operator-contract-schemas-control.d.ts.map +1 -0
  285. package/dist/_internal/platform/control-plane/operator-contract-schemas-control.js +189 -0
  286. package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.d.ts +5 -0
  287. package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.d.ts.map +1 -0
  288. package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.js +4 -0
  289. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts +92 -0
  290. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts.map +1 -0
  291. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.js +512 -0
  292. package/dist/_internal/platform/control-plane/operator-contract-schemas-media.d.ts +24 -0
  293. package/dist/_internal/platform/control-plane/operator-contract-schemas-media.d.ts.map +1 -0
  294. package/dist/_internal/platform/control-plane/operator-contract-schemas-media.js +232 -0
  295. package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.d.ts +15 -0
  296. package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.d.ts.map +1 -0
  297. package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.js +85 -0
  298. package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.d.ts +2 -0
  299. package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.d.ts.map +1 -0
  300. package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.js +1 -0
  301. package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts +30 -0
  302. package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts.map +1 -0
  303. package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.js +501 -0
  304. package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.d.ts +19 -0
  305. package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.d.ts.map +1 -0
  306. package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.js +59 -0
  307. package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.d.ts +18 -0
  308. package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.d.ts.map +1 -0
  309. package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.js +309 -0
  310. package/dist/_internal/platform/control-plane/operator-contract-schemas.d.ts +7 -0
  311. package/dist/_internal/platform/control-plane/operator-contract-schemas.d.ts.map +1 -0
  312. package/dist/_internal/platform/control-plane/operator-contract-schemas.js +6 -0
  313. package/dist/_internal/platform/control-plane/operator-contract.d.ts +6 -0
  314. package/dist/_internal/platform/control-plane/operator-contract.d.ts.map +1 -0
  315. package/dist/_internal/platform/control-plane/operator-contract.js +128 -0
  316. package/dist/_internal/platform/control-plane/session-broker.d.ts +73 -0
  317. package/dist/_internal/platform/control-plane/session-broker.d.ts.map +1 -0
  318. package/dist/_internal/platform/control-plane/session-broker.js +668 -0
  319. package/dist/_internal/platform/core/compaction-sections.d.ts +98 -0
  320. package/dist/_internal/platform/core/compaction-sections.d.ts.map +1 -0
  321. package/dist/_internal/platform/core/compaction-sections.js +394 -0
  322. package/dist/_internal/platform/core/compaction-types.d.ts +99 -0
  323. package/dist/_internal/platform/core/compaction-types.d.ts.map +1 -0
  324. package/dist/_internal/platform/core/compaction-types.js +21 -0
  325. package/dist/_internal/platform/core/context-compaction.d.ts +82 -0
  326. package/dist/_internal/platform/core/context-compaction.d.ts.map +1 -0
  327. package/dist/_internal/platform/core/context-compaction.js +419 -0
  328. package/dist/_internal/platform/core/conversation-compaction.d.ts +14 -0
  329. package/dist/_internal/platform/core/conversation-compaction.d.ts.map +1 -0
  330. package/dist/_internal/platform/core/conversation-compaction.js +43 -0
  331. package/dist/_internal/platform/core/conversation-diff.d.ts +10 -0
  332. package/dist/_internal/platform/core/conversation-diff.d.ts.map +1 -0
  333. package/dist/_internal/platform/core/conversation-diff.js +48 -0
  334. package/dist/_internal/platform/core/conversation-utils.d.ts +11 -0
  335. package/dist/_internal/platform/core/conversation-utils.d.ts.map +1 -0
  336. package/dist/_internal/platform/core/conversation-utils.js +66 -0
  337. package/dist/_internal/platform/core/conversation.d.ts +114 -0
  338. package/dist/_internal/platform/core/conversation.d.ts.map +1 -0
  339. package/dist/_internal/platform/core/conversation.js +246 -0
  340. package/dist/_internal/platform/core/event-replay.d.ts +83 -0
  341. package/dist/_internal/platform/core/event-replay.d.ts.map +1 -0
  342. package/dist/_internal/platform/core/event-replay.js +224 -0
  343. package/dist/_internal/platform/core/orchestrator-context-runtime.d.ts +58 -0
  344. package/dist/_internal/platform/core/orchestrator-context-runtime.d.ts.map +1 -0
  345. package/dist/_internal/platform/core/orchestrator-context-runtime.js +281 -0
  346. package/dist/_internal/platform/core/orchestrator-follow-up-runtime.d.ts +34 -0
  347. package/dist/_internal/platform/core/orchestrator-follow-up-runtime.d.ts.map +1 -0
  348. package/dist/_internal/platform/core/orchestrator-follow-up-runtime.js +110 -0
  349. package/dist/_internal/platform/core/orchestrator-runtime.d.ts +30 -0
  350. package/dist/_internal/platform/core/orchestrator-runtime.d.ts.map +1 -0
  351. package/dist/_internal/platform/core/orchestrator-runtime.js +62 -0
  352. package/dist/_internal/platform/core/orchestrator-tool-runtime.d.ts +41 -0
  353. package/dist/_internal/platform/core/orchestrator-tool-runtime.d.ts.map +1 -0
  354. package/dist/_internal/platform/core/orchestrator-tool-runtime.js +373 -0
  355. package/dist/_internal/platform/core/orchestrator-turn-helpers.d.ts +62 -0
  356. package/dist/_internal/platform/core/orchestrator-turn-helpers.d.ts.map +1 -0
  357. package/dist/_internal/platform/core/orchestrator-turn-helpers.js +226 -0
  358. package/dist/_internal/platform/core/orchestrator-turn-loop.d.ts +64 -0
  359. package/dist/_internal/platform/core/orchestrator-turn-loop.d.ts.map +1 -0
  360. package/dist/_internal/platform/core/orchestrator-turn-loop.js +319 -0
  361. package/dist/_internal/platform/core/orchestrator.d.ts +191 -0
  362. package/dist/_internal/platform/core/orchestrator.d.ts.map +1 -0
  363. package/dist/_internal/platform/core/orchestrator.js +612 -0
  364. package/dist/_internal/platform/core/plan-command-handler.d.ts +31 -0
  365. package/dist/_internal/platform/core/plan-command-handler.d.ts.map +1 -0
  366. package/dist/_internal/platform/core/plan-command-handler.js +133 -0
  367. package/dist/_internal/platform/core/transcript-events/classify.d.ts +4 -0
  368. package/dist/_internal/platform/core/transcript-events/classify.d.ts.map +1 -0
  369. package/dist/_internal/platform/core/transcript-events/classify.js +94 -0
  370. package/dist/_internal/platform/core/transcript-events/index.d.ts +10 -0
  371. package/dist/_internal/platform/core/transcript-events/index.d.ts.map +1 -0
  372. package/dist/_internal/platform/core/transcript-events/index.js +9 -0
  373. package/dist/_internal/platform/daemon/cli.d.ts +2 -0
  374. package/dist/_internal/platform/daemon/cli.d.ts.map +1 -0
  375. package/dist/_internal/platform/daemon/cli.js +68 -0
  376. package/dist/_internal/platform/daemon/control-plane.d.ts +113 -0
  377. package/dist/_internal/platform/daemon/control-plane.d.ts.map +1 -0
  378. package/dist/_internal/platform/daemon/control-plane.js +402 -0
  379. package/dist/_internal/platform/daemon/facade-composition.d.ts +127 -0
  380. package/dist/_internal/platform/daemon/facade-composition.d.ts.map +1 -0
  381. package/dist/_internal/platform/daemon/facade-composition.js +274 -0
  382. package/dist/_internal/platform/daemon/facade.d.ts +111 -0
  383. package/dist/_internal/platform/daemon/facade.d.ts.map +1 -0
  384. package/dist/_internal/platform/daemon/facade.js +483 -0
  385. package/dist/_internal/platform/daemon/helpers.d.ts +13 -0
  386. package/dist/_internal/platform/daemon/helpers.d.ts.map +1 -0
  387. package/dist/_internal/platform/daemon/helpers.js +48 -0
  388. package/dist/_internal/platform/daemon/http/router-route-contexts.d.ts +71 -0
  389. package/dist/_internal/platform/daemon/http/router-route-contexts.d.ts.map +1 -0
  390. package/dist/_internal/platform/daemon/http/router-route-contexts.js +162 -0
  391. package/dist/_internal/platform/daemon/http/router.d.ts +120 -0
  392. package/dist/_internal/platform/daemon/http/router.d.ts.map +1 -0
  393. package/dist/_internal/platform/daemon/http/router.js +360 -0
  394. package/dist/_internal/platform/daemon/http-listener.d.ts +68 -0
  395. package/dist/_internal/platform/daemon/http-listener.d.ts.map +1 -0
  396. package/dist/_internal/platform/daemon/http-listener.js +246 -0
  397. package/dist/_internal/platform/daemon/index.d.ts +4 -0
  398. package/dist/_internal/platform/daemon/index.d.ts.map +1 -0
  399. package/dist/_internal/platform/daemon/index.js +3 -0
  400. package/dist/_internal/platform/daemon/server.d.ts +2 -0
  401. package/dist/_internal/platform/daemon/server.d.ts.map +1 -0
  402. package/dist/_internal/platform/daemon/server.js +1 -0
  403. package/dist/_internal/platform/daemon/service-manager.d.ts +61 -0
  404. package/dist/_internal/platform/daemon/service-manager.d.ts.map +1 -0
  405. package/dist/_internal/platform/daemon/service-manager.js +351 -0
  406. package/dist/_internal/platform/daemon/surface-actions.d.ts +54 -0
  407. package/dist/_internal/platform/daemon/surface-actions.d.ts.map +1 -0
  408. package/dist/_internal/platform/daemon/surface-actions.js +124 -0
  409. package/dist/_internal/platform/daemon/surface-delivery.d.ts +57 -0
  410. package/dist/_internal/platform/daemon/surface-delivery.d.ts.map +1 -0
  411. package/dist/_internal/platform/daemon/surface-delivery.js +459 -0
  412. package/dist/_internal/platform/daemon/surface-policy.d.ts +5 -0
  413. package/dist/_internal/platform/daemon/surface-policy.d.ts.map +1 -0
  414. package/dist/_internal/platform/daemon/surface-policy.js +40 -0
  415. package/dist/_internal/platform/daemon/transport-events.d.ts +26 -0
  416. package/dist/_internal/platform/daemon/transport-events.d.ts.map +1 -0
  417. package/dist/_internal/platform/daemon/transport-events.js +91 -0
  418. package/dist/_internal/platform/daemon/types.d.ts +213 -0
  419. package/dist/_internal/platform/daemon/types.d.ts.map +1 -0
  420. package/dist/_internal/platform/daemon/types.js +1 -0
  421. package/dist/_internal/platform/discovery/mcp-scanner.js +5 -5
  422. package/dist/_internal/platform/discovery/scanner.js +1 -1
  423. package/dist/_internal/platform/export/markdown.d.ts +43 -0
  424. package/dist/_internal/platform/export/markdown.d.ts.map +1 -0
  425. package/dist/_internal/platform/export/markdown.js +171 -0
  426. package/dist/_internal/platform/export/session-export.d.ts +56 -0
  427. package/dist/_internal/platform/export/session-export.d.ts.map +1 -0
  428. package/dist/_internal/platform/export/session-export.js +568 -0
  429. package/dist/_internal/platform/git/index.d.ts +2 -0
  430. package/dist/_internal/platform/git/index.d.ts.map +1 -0
  431. package/dist/_internal/platform/git/index.js +1 -0
  432. package/dist/_internal/platform/git/service.d.ts +101 -0
  433. package/dist/_internal/platform/git/service.d.ts.map +1 -0
  434. package/dist/_internal/platform/git/service.js +355 -0
  435. package/dist/_internal/platform/hooks/chain-engine.d.ts +44 -0
  436. package/dist/_internal/platform/hooks/chain-engine.d.ts.map +1 -0
  437. package/dist/_internal/platform/hooks/chain-engine.js +459 -0
  438. package/dist/_internal/platform/hooks/dispatcher.d.ts +68 -0
  439. package/dist/_internal/platform/hooks/dispatcher.d.ts.map +1 -0
  440. package/dist/_internal/platform/hooks/dispatcher.js +376 -0
  441. package/dist/_internal/platform/hooks/hook-api.d.ts +72 -0
  442. package/dist/_internal/platform/hooks/hook-api.d.ts.map +1 -0
  443. package/dist/_internal/platform/hooks/hook-api.js +98 -0
  444. package/dist/_internal/platform/hooks/index.d.ts +19 -0
  445. package/dist/_internal/platform/hooks/index.d.ts.map +1 -0
  446. package/dist/_internal/platform/hooks/index.js +11 -0
  447. package/dist/_internal/platform/hooks/runners/agent.d.ts +16 -0
  448. package/dist/_internal/platform/hooks/runners/agent.d.ts.map +1 -0
  449. package/dist/_internal/platform/hooks/runners/agent.js +76 -0
  450. package/dist/_internal/platform/hooks/runners/prompt.d.ts +13 -0
  451. package/dist/_internal/platform/hooks/runners/prompt.d.ts.map +1 -0
  452. package/dist/_internal/platform/hooks/runners/prompt.js +58 -0
  453. package/dist/_internal/platform/hooks/workbench.d.ts +67 -0
  454. package/dist/_internal/platform/hooks/workbench.d.ts.map +1 -0
  455. package/dist/_internal/platform/hooks/workbench.js +301 -0
  456. package/dist/_internal/platform/input/command-registry.d.ts +17 -0
  457. package/dist/_internal/platform/input/command-registry.d.ts.map +1 -0
  458. package/dist/_internal/platform/input/command-registry.js +25 -0
  459. package/dist/_internal/platform/input/keybindings.d.ts +86 -0
  460. package/dist/_internal/platform/input/keybindings.d.ts.map +1 -0
  461. package/dist/_internal/platform/input/keybindings.js +202 -0
  462. package/dist/_internal/platform/integrations/index.d.ts +13 -0
  463. package/dist/_internal/platform/integrations/index.d.ts.map +1 -0
  464. package/dist/_internal/platform/integrations/index.js +7 -0
  465. package/dist/_internal/platform/integrations/notifier.d.ts +56 -0
  466. package/dist/_internal/platform/integrations/notifier.d.ts.map +1 -0
  467. package/dist/_internal/platform/integrations/notifier.js +166 -0
  468. package/dist/_internal/platform/integrations/webhooks.d.ts +52 -0
  469. package/dist/_internal/platform/integrations/webhooks.d.ts.map +1 -0
  470. package/dist/_internal/platform/integrations/webhooks.js +141 -0
  471. package/dist/_internal/platform/intelligence/config.js +4 -4
  472. package/dist/_internal/platform/intelligence/facade.d.ts +1 -1
  473. package/dist/_internal/platform/intelligence/facade.js +2 -2
  474. package/dist/_internal/platform/knowledge/consolidation.d.ts +23 -0
  475. package/dist/_internal/platform/knowledge/consolidation.d.ts.map +1 -0
  476. package/dist/_internal/platform/knowledge/consolidation.js +274 -0
  477. package/dist/_internal/platform/knowledge/graphql.d.ts +25 -0
  478. package/dist/_internal/platform/knowledge/graphql.d.ts.map +1 -0
  479. package/dist/_internal/platform/knowledge/graphql.js +232 -0
  480. package/dist/_internal/platform/knowledge/index.d.ts +13 -0
  481. package/dist/_internal/platform/knowledge/index.d.ts.map +1 -0
  482. package/dist/_internal/platform/knowledge/index.js +8 -0
  483. package/dist/_internal/platform/knowledge/ingest-compile.d.ts +21 -0
  484. package/dist/_internal/platform/knowledge/ingest-compile.d.ts.map +1 -0
  485. package/dist/_internal/platform/knowledge/ingest-compile.js +311 -0
  486. package/dist/_internal/platform/knowledge/ingest-context.d.ts +19 -0
  487. package/dist/_internal/platform/knowledge/ingest-context.d.ts.map +1 -0
  488. package/dist/_internal/platform/knowledge/ingest-context.js +1 -0
  489. package/dist/_internal/platform/knowledge/ingest-inputs.d.ts +65 -0
  490. package/dist/_internal/platform/knowledge/ingest-inputs.d.ts.map +1 -0
  491. package/dist/_internal/platform/knowledge/ingest-inputs.js +304 -0
  492. package/dist/_internal/platform/knowledge/ingest.d.ts +4 -0
  493. package/dist/_internal/platform/knowledge/ingest.d.ts.map +1 -0
  494. package/dist/_internal/platform/knowledge/ingest.js +2 -0
  495. package/dist/_internal/platform/knowledge/internal.d.ts +55 -0
  496. package/dist/_internal/platform/knowledge/internal.d.ts.map +1 -0
  497. package/dist/_internal/platform/knowledge/internal.js +231 -0
  498. package/dist/_internal/platform/knowledge/knowledge-api.d.ts +160 -0
  499. package/dist/_internal/platform/knowledge/knowledge-api.d.ts.map +1 -0
  500. package/dist/_internal/platform/knowledge/knowledge-api.js +145 -0
  501. package/dist/_internal/platform/knowledge/lint.d.ts +13 -0
  502. package/dist/_internal/platform/knowledge/lint.d.ts.map +1 -0
  503. package/dist/_internal/platform/knowledge/lint.js +94 -0
  504. package/dist/_internal/platform/knowledge/memory-sync.d.ts +4 -0
  505. package/dist/_internal/platform/knowledge/memory-sync.d.ts.map +1 -0
  506. package/dist/_internal/platform/knowledge/memory-sync.js +54 -0
  507. package/dist/_internal/platform/knowledge/packet.d.ts +38 -0
  508. package/dist/_internal/platform/knowledge/packet.d.ts.map +1 -0
  509. package/dist/_internal/platform/knowledge/packet.js +278 -0
  510. package/dist/_internal/platform/knowledge/scheduling.d.ts +48 -0
  511. package/dist/_internal/platform/knowledge/scheduling.d.ts.map +1 -0
  512. package/dist/_internal/platform/knowledge/scheduling.js +246 -0
  513. package/dist/_internal/platform/knowledge/service.d.ts +230 -0
  514. package/dist/_internal/platform/knowledge/service.d.ts.map +1 -0
  515. package/dist/_internal/platform/knowledge/service.js +420 -0
  516. package/dist/_internal/platform/mcp/client.d.ts +78 -0
  517. package/dist/_internal/platform/mcp/client.d.ts.map +1 -0
  518. package/dist/_internal/platform/mcp/client.js +331 -0
  519. package/dist/_internal/platform/mcp/index.d.ts +7 -0
  520. package/dist/_internal/platform/mcp/index.d.ts.map +1 -0
  521. package/dist/_internal/platform/mcp/index.js +3 -0
  522. package/dist/_internal/platform/mcp/mcp-api.d.ts +52 -0
  523. package/dist/_internal/platform/mcp/mcp-api.d.ts.map +1 -0
  524. package/dist/_internal/platform/mcp/mcp-api.js +34 -0
  525. package/dist/_internal/platform/mcp/registry.d.ts +110 -0
  526. package/dist/_internal/platform/mcp/registry.d.ts.map +1 -0
  527. package/dist/_internal/platform/mcp/registry.js +427 -0
  528. package/dist/_internal/platform/media/builtin-image-understanding.d.ts +11 -0
  529. package/dist/_internal/platform/media/builtin-image-understanding.d.ts.map +1 -0
  530. package/dist/_internal/platform/media/builtin-image-understanding.js +226 -0
  531. package/dist/_internal/platform/media/builtin-providers.d.ts +5 -0
  532. package/dist/_internal/platform/media/builtin-providers.d.ts.map +1 -0
  533. package/dist/_internal/platform/media/builtin-providers.js +13 -0
  534. package/dist/_internal/platform/media/index.d.ts +4 -0
  535. package/dist/_internal/platform/media/index.d.ts.map +1 -0
  536. package/dist/_internal/platform/media/index.js +2 -0
  537. package/dist/_internal/platform/multimodal/index.d.ts +3 -0
  538. package/dist/_internal/platform/multimodal/index.d.ts.map +1 -0
  539. package/dist/_internal/platform/multimodal/index.js +1 -0
  540. package/dist/_internal/platform/multimodal/service.d.ts +30 -0
  541. package/dist/_internal/platform/multimodal/service.d.ts.map +1 -0
  542. package/dist/_internal/platform/multimodal/service.js +443 -0
  543. package/dist/_internal/platform/panels/panel-manager.d.ts +89 -0
  544. package/dist/_internal/platform/panels/panel-manager.d.ts.map +1 -0
  545. package/dist/_internal/platform/panels/panel-manager.js +481 -0
  546. package/dist/_internal/platform/panels/types.d.ts +30 -0
  547. package/dist/_internal/platform/panels/types.d.ts.map +1 -0
  548. package/dist/_internal/platform/panels/types.js +1 -0
  549. package/dist/_internal/platform/permissions/briefs/build.d.ts +5 -0
  550. package/dist/_internal/platform/permissions/briefs/build.d.ts.map +1 -0
  551. package/dist/_internal/platform/permissions/briefs/build.js +82 -0
  552. package/dist/_internal/platform/permissions/manager.d.ts +52 -0
  553. package/dist/_internal/platform/permissions/manager.d.ts.map +1 -0
  554. package/dist/_internal/platform/permissions/manager.js +269 -0
  555. package/dist/_internal/platform/permissions/prompt.d.ts +18 -0
  556. package/dist/_internal/platform/permissions/prompt.d.ts.map +1 -0
  557. package/dist/_internal/platform/permissions/prompt.js +1 -0
  558. package/dist/_internal/platform/plugins/api.d.ts +155 -0
  559. package/dist/_internal/platform/plugins/api.d.ts.map +1 -0
  560. package/dist/_internal/platform/plugins/api.js +197 -0
  561. package/dist/_internal/platform/plugins/loader.d.ts +101 -0
  562. package/dist/_internal/platform/plugins/loader.d.ts.map +1 -0
  563. package/dist/_internal/platform/plugins/loader.js +201 -0
  564. package/dist/_internal/platform/plugins/manager.d.ts +148 -0
  565. package/dist/_internal/platform/plugins/manager.d.ts.map +1 -0
  566. package/dist/_internal/platform/plugins/manager.js +338 -0
  567. package/dist/_internal/platform/profiles/manager.d.ts +1 -1
  568. package/dist/_internal/platform/profiles/manager.js +1 -1
  569. package/dist/_internal/platform/profiles/shape.d.ts +5 -0
  570. package/dist/_internal/platform/profiles/shape.d.ts.map +1 -0
  571. package/dist/_internal/platform/profiles/shape.js +51 -0
  572. package/dist/_internal/platform/providers/amazon-bedrock-mantle.d.ts +5 -0
  573. package/dist/_internal/platform/providers/amazon-bedrock-mantle.d.ts.map +1 -0
  574. package/dist/_internal/platform/providers/amazon-bedrock-mantle.js +45 -0
  575. package/dist/_internal/platform/providers/amazon-bedrock.d.ts +5 -0
  576. package/dist/_internal/platform/providers/amazon-bedrock.d.ts.map +1 -0
  577. package/dist/_internal/platform/providers/amazon-bedrock.js +56 -0
  578. package/dist/_internal/platform/providers/anthropic-compat.d.ts +61 -0
  579. package/dist/_internal/platform/providers/anthropic-compat.d.ts.map +1 -0
  580. package/dist/_internal/platform/providers/anthropic-compat.js +291 -0
  581. package/dist/_internal/platform/providers/anthropic-sdk-provider.d.ts +37 -0
  582. package/dist/_internal/platform/providers/anthropic-sdk-provider.d.ts.map +1 -0
  583. package/dist/_internal/platform/providers/anthropic-sdk-provider.js +173 -0
  584. package/dist/_internal/platform/providers/anthropic-vertex.d.ts +5 -0
  585. package/dist/_internal/platform/providers/anthropic-vertex.d.ts.map +1 -0
  586. package/dist/_internal/platform/providers/anthropic-vertex.js +53 -0
  587. package/dist/_internal/platform/providers/anthropic.d.ts +18 -0
  588. package/dist/_internal/platform/providers/anthropic.d.ts.map +1 -0
  589. package/dist/_internal/platform/providers/anthropic.js +417 -0
  590. package/dist/_internal/platform/providers/auto-register.d.ts +91 -0
  591. package/dist/_internal/platform/providers/auto-register.d.ts.map +1 -0
  592. package/dist/_internal/platform/providers/auto-register.js +359 -0
  593. package/dist/_internal/platform/providers/builtin-catalog.d.ts +41 -0
  594. package/dist/_internal/platform/providers/builtin-catalog.d.ts.map +1 -0
  595. package/dist/_internal/platform/providers/builtin-catalog.js +280 -0
  596. package/dist/_internal/platform/providers/builtin-registry.d.ts +27 -0
  597. package/dist/_internal/platform/providers/builtin-registry.d.ts.map +1 -0
  598. package/dist/_internal/platform/providers/builtin-registry.js +510 -0
  599. package/dist/_internal/platform/providers/cache-planner.d.ts +58 -0
  600. package/dist/_internal/platform/providers/cache-planner.d.ts.map +1 -0
  601. package/dist/_internal/platform/providers/cache-planner.js +203 -0
  602. package/dist/_internal/platform/providers/capabilities.d.ts +154 -0
  603. package/dist/_internal/platform/providers/capabilities.d.ts.map +1 -0
  604. package/dist/_internal/platform/providers/capabilities.js +463 -0
  605. package/dist/_internal/platform/providers/custom-loader.d.ts +89 -0
  606. package/dist/_internal/platform/providers/custom-loader.d.ts.map +1 -0
  607. package/dist/_internal/platform/providers/custom-loader.js +300 -0
  608. package/dist/_internal/platform/providers/discovered-compat.d.ts +17 -0
  609. package/dist/_internal/platform/providers/discovered-compat.d.ts.map +1 -0
  610. package/dist/_internal/platform/providers/discovered-compat.js +14 -0
  611. package/dist/_internal/platform/providers/discovered-factory.d.ts +5 -0
  612. package/dist/_internal/platform/providers/discovered-factory.d.ts.map +1 -0
  613. package/dist/_internal/platform/providers/discovered-factory.js +54 -0
  614. package/dist/_internal/platform/providers/discovered-traits.d.ts +16 -0
  615. package/dist/_internal/platform/providers/discovered-traits.d.ts.map +1 -0
  616. package/dist/_internal/platform/providers/discovered-traits.js +113 -0
  617. package/dist/_internal/platform/providers/gemini.d.ts +32 -0
  618. package/dist/_internal/platform/providers/gemini.d.ts.map +1 -0
  619. package/dist/_internal/platform/providers/gemini.js +391 -0
  620. package/dist/_internal/platform/providers/github-copilot.d.ts +16 -0
  621. package/dist/_internal/platform/providers/github-copilot.d.ts.map +1 -0
  622. package/dist/_internal/platform/providers/github-copilot.js +234 -0
  623. package/dist/_internal/platform/providers/index.d.ts +6 -0
  624. package/dist/_internal/platform/providers/index.d.ts.map +1 -0
  625. package/dist/_internal/platform/providers/index.js +1 -0
  626. package/dist/_internal/platform/providers/interface.d.ts +174 -0
  627. package/dist/_internal/platform/providers/interface.d.ts.map +1 -0
  628. package/dist/_internal/platform/providers/interface.js +7 -0
  629. package/dist/_internal/platform/providers/llama-cpp.d.ts +27 -0
  630. package/dist/_internal/platform/providers/llama-cpp.d.ts.map +1 -0
  631. package/dist/_internal/platform/providers/llama-cpp.js +313 -0
  632. package/dist/_internal/platform/providers/lm-studio-helpers.d.ts +88 -0
  633. package/dist/_internal/platform/providers/lm-studio-helpers.d.ts.map +1 -0
  634. package/dist/_internal/platform/providers/lm-studio-helpers.js +281 -0
  635. package/dist/_internal/platform/providers/lm-studio.d.ts +30 -0
  636. package/dist/_internal/platform/providers/lm-studio.d.ts.map +1 -0
  637. package/dist/_internal/platform/providers/lm-studio.js +405 -0
  638. package/dist/_internal/platform/providers/model-catalog-cache.d.ts +19 -0
  639. package/dist/_internal/platform/providers/model-catalog-cache.d.ts.map +1 -0
  640. package/dist/_internal/platform/providers/model-catalog-cache.js +160 -0
  641. package/dist/_internal/platform/providers/model-catalog-notifications.d.ts +7 -0
  642. package/dist/_internal/platform/providers/model-catalog-notifications.d.ts.map +1 -0
  643. package/dist/_internal/platform/providers/model-catalog-notifications.js +78 -0
  644. package/dist/_internal/platform/providers/model-catalog-synthetic.d.ts +33 -0
  645. package/dist/_internal/platform/providers/model-catalog-synthetic.d.ts.map +1 -0
  646. package/dist/_internal/platform/providers/model-catalog-synthetic.js +153 -0
  647. package/dist/_internal/platform/providers/model-catalog.d.ts +73 -0
  648. package/dist/_internal/platform/providers/model-catalog.d.ts.map +1 -0
  649. package/dist/_internal/platform/providers/model-catalog.js +116 -0
  650. package/dist/_internal/platform/providers/model-limits.d.ts +23 -0
  651. package/dist/_internal/platform/providers/model-limits.d.ts.map +1 -0
  652. package/dist/_internal/platform/providers/model-limits.js +236 -0
  653. package/dist/_internal/platform/providers/ollama.d.ts +27 -0
  654. package/dist/_internal/platform/providers/ollama.d.ts.map +1 -0
  655. package/dist/_internal/platform/providers/ollama.js +376 -0
  656. package/dist/_internal/platform/providers/openai-codex.d.ts +12 -0
  657. package/dist/_internal/platform/providers/openai-codex.d.ts.map +1 -0
  658. package/dist/_internal/platform/providers/openai-codex.js +448 -0
  659. package/dist/_internal/platform/providers/openai-compat.d.ts +69 -0
  660. package/dist/_internal/platform/providers/openai-compat.d.ts.map +1 -0
  661. package/dist/_internal/platform/providers/openai-compat.js +493 -0
  662. package/dist/_internal/platform/providers/openai.d.ts +18 -0
  663. package/dist/_internal/platform/providers/openai.d.ts.map +1 -0
  664. package/dist/_internal/platform/providers/openai.js +199 -0
  665. package/dist/_internal/platform/providers/optimizer.d.ts +157 -0
  666. package/dist/_internal/platform/providers/optimizer.d.ts.map +1 -0
  667. package/dist/_internal/platform/providers/optimizer.js +265 -0
  668. package/dist/_internal/platform/providers/provider-api.d.ts +163 -0
  669. package/dist/_internal/platform/providers/provider-api.d.ts.map +1 -0
  670. package/dist/_internal/platform/providers/provider-api.js +291 -0
  671. package/dist/_internal/platform/providers/registry-helpers.d.ts +14 -0
  672. package/dist/_internal/platform/providers/registry-helpers.d.ts.map +1 -0
  673. package/dist/_internal/platform/providers/registry-helpers.js +28 -0
  674. package/dist/_internal/platform/providers/registry-models.d.ts +13 -0
  675. package/dist/_internal/platform/providers/registry-models.d.ts.map +1 -0
  676. package/dist/_internal/platform/providers/registry-models.js +47 -0
  677. package/dist/_internal/platform/providers/registry-types.d.ts +62 -0
  678. package/dist/_internal/platform/providers/registry-types.d.ts.map +1 -0
  679. package/dist/_internal/platform/providers/registry-types.js +1 -0
  680. package/dist/_internal/platform/providers/registry.d.ts +173 -0
  681. package/dist/_internal/platform/providers/registry.d.ts.map +1 -0
  682. package/dist/_internal/platform/providers/registry.js +603 -0
  683. package/dist/_internal/platform/providers/runtime-metadata.d.ts +13 -0
  684. package/dist/_internal/platform/providers/runtime-metadata.d.ts.map +1 -0
  685. package/dist/_internal/platform/providers/runtime-metadata.js +129 -0
  686. package/dist/_internal/platform/providers/runtime-snapshot.d.ts +34 -0
  687. package/dist/_internal/platform/providers/runtime-snapshot.d.ts.map +1 -0
  688. package/dist/_internal/platform/providers/runtime-snapshot.js +79 -0
  689. package/dist/_internal/platform/providers/synthetic.d.ts +78 -0
  690. package/dist/_internal/platform/providers/synthetic.d.ts.map +1 -0
  691. package/dist/_internal/platform/providers/synthetic.js +418 -0
  692. package/dist/_internal/platform/providers/tier-prompts.d.ts +32 -0
  693. package/dist/_internal/platform/providers/tier-prompts.d.ts.map +1 -0
  694. package/dist/_internal/platform/providers/tier-prompts.js +78 -0
  695. package/dist/_internal/platform/providers/tool-formats.d.ts +137 -0
  696. package/dist/_internal/platform/providers/tool-formats.d.ts.map +1 -0
  697. package/dist/_internal/platform/providers/tool-formats.js +306 -0
  698. package/dist/_internal/platform/runtime/auth/inspection.d.ts +35 -0
  699. package/dist/_internal/platform/runtime/auth/inspection.d.ts.map +1 -0
  700. package/dist/_internal/platform/runtime/auth/inspection.js +87 -0
  701. package/dist/_internal/platform/runtime/bootstrap-background.d.ts +32 -0
  702. package/dist/_internal/platform/runtime/bootstrap-background.d.ts.map +1 -0
  703. package/dist/_internal/platform/runtime/bootstrap-background.js +96 -0
  704. package/dist/_internal/platform/runtime/bootstrap-helpers.d.ts +15 -0
  705. package/dist/_internal/platform/runtime/bootstrap-helpers.d.ts.map +1 -0
  706. package/dist/_internal/platform/runtime/bootstrap-helpers.js +74 -0
  707. package/dist/_internal/platform/runtime/bootstrap-runtime-events.d.ts +30 -0
  708. package/dist/_internal/platform/runtime/bootstrap-runtime-events.d.ts.map +1 -0
  709. package/dist/_internal/platform/runtime/bootstrap-runtime-events.js +199 -0
  710. package/dist/_internal/platform/runtime/bootstrap-services.d.ts +40 -0
  711. package/dist/_internal/platform/runtime/bootstrap-services.d.ts.map +1 -0
  712. package/dist/_internal/platform/runtime/bootstrap-services.js +136 -0
  713. package/dist/_internal/platform/runtime/compaction/index.d.ts +43 -0
  714. package/dist/_internal/platform/runtime/compaction/index.d.ts.map +1 -0
  715. package/dist/_internal/platform/runtime/compaction/index.js +37 -0
  716. package/dist/_internal/platform/runtime/compaction/lifecycle.d.ts +63 -0
  717. package/dist/_internal/platform/runtime/compaction/lifecycle.d.ts.map +1 -0
  718. package/dist/_internal/platform/runtime/compaction/lifecycle.js +113 -0
  719. package/dist/_internal/platform/runtime/compaction/manager.d.ts +100 -0
  720. package/dist/_internal/platform/runtime/compaction/manager.d.ts.map +1 -0
  721. package/dist/_internal/platform/runtime/compaction/manager.js +371 -0
  722. package/dist/_internal/platform/runtime/compaction/quality-score.d.ts +70 -0
  723. package/dist/_internal/platform/runtime/compaction/quality-score.d.ts.map +1 -0
  724. package/dist/_internal/platform/runtime/compaction/quality-score.js +205 -0
  725. package/dist/_internal/platform/runtime/compaction/resume-repair.d.ts +40 -0
  726. package/dist/_internal/platform/runtime/compaction/resume-repair.d.ts.map +1 -0
  727. package/dist/_internal/platform/runtime/compaction/resume-repair.js +155 -0
  728. package/dist/_internal/platform/runtime/compaction/strategies/autocompact.d.ts +22 -0
  729. package/dist/_internal/platform/runtime/compaction/strategies/autocompact.d.ts.map +1 -0
  730. package/dist/_internal/platform/runtime/compaction/strategies/autocompact.js +56 -0
  731. package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.d.ts +52 -0
  732. package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.d.ts.map +1 -0
  733. package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.js +79 -0
  734. package/dist/_internal/platform/runtime/compaction/strategies/collapse.d.ts +22 -0
  735. package/dist/_internal/platform/runtime/compaction/strategies/collapse.d.ts.map +1 -0
  736. package/dist/_internal/platform/runtime/compaction/strategies/collapse.js +81 -0
  737. package/dist/_internal/platform/runtime/compaction/strategies/index.d.ts +14 -0
  738. package/dist/_internal/platform/runtime/compaction/strategies/index.d.ts.map +1 -0
  739. package/dist/_internal/platform/runtime/compaction/strategies/index.js +11 -0
  740. package/dist/_internal/platform/runtime/compaction/strategies/microcompact.d.ts +20 -0
  741. package/dist/_internal/platform/runtime/compaction/strategies/microcompact.d.ts.map +1 -0
  742. package/dist/_internal/platform/runtime/compaction/strategies/microcompact.js +63 -0
  743. package/dist/_internal/platform/runtime/compaction/strategies/reactive.d.ts +25 -0
  744. package/dist/_internal/platform/runtime/compaction/strategies/reactive.d.ts.map +1 -0
  745. package/dist/_internal/platform/runtime/compaction/strategies/reactive.js +71 -0
  746. package/dist/_internal/platform/runtime/compaction/types.d.ts +169 -0
  747. package/dist/_internal/platform/runtime/compaction/types.d.ts.map +1 -0
  748. package/dist/_internal/platform/runtime/compaction/types.js +10 -0
  749. package/dist/_internal/platform/runtime/diagnostics/actions.d.ts +329 -0
  750. package/dist/_internal/platform/runtime/diagnostics/actions.d.ts.map +1 -0
  751. package/dist/_internal/platform/runtime/diagnostics/actions.js +413 -0
  752. package/dist/_internal/platform/runtime/diagnostics/index.d.ts +40 -0
  753. package/dist/_internal/platform/runtime/diagnostics/index.d.ts.map +1 -0
  754. package/dist/_internal/platform/runtime/diagnostics/index.js +40 -0
  755. package/dist/_internal/platform/runtime/diagnostics/panels/agents.d.ts +51 -0
  756. package/dist/_internal/platform/runtime/diagnostics/panels/agents.d.ts.map +1 -0
  757. package/dist/_internal/platform/runtime/diagnostics/panels/agents.js +204 -0
  758. package/dist/_internal/platform/runtime/diagnostics/panels/events.d.ts +53 -0
  759. package/dist/_internal/platform/runtime/diagnostics/panels/events.d.ts.map +1 -0
  760. package/dist/_internal/platform/runtime/diagnostics/panels/events.js +161 -0
  761. package/dist/_internal/platform/runtime/diagnostics/panels/health.d.ts +66 -0
  762. package/dist/_internal/platform/runtime/diagnostics/panels/health.d.ts.map +1 -0
  763. package/dist/_internal/platform/runtime/diagnostics/panels/health.js +202 -0
  764. package/dist/_internal/platform/runtime/diagnostics/panels/index.d.ts +25 -0
  765. package/dist/_internal/platform/runtime/diagnostics/panels/index.d.ts.map +1 -0
  766. package/dist/_internal/platform/runtime/diagnostics/panels/index.js +19 -0
  767. package/dist/_internal/platform/runtime/diagnostics/panels/ops.d.ts +56 -0
  768. package/dist/_internal/platform/runtime/diagnostics/panels/ops.d.ts.map +1 -0
  769. package/dist/_internal/platform/runtime/diagnostics/panels/ops.js +71 -0
  770. package/dist/_internal/platform/runtime/diagnostics/panels/policy.d.ts +103 -0
  771. package/dist/_internal/platform/runtime/diagnostics/panels/policy.d.ts.map +1 -0
  772. package/dist/_internal/platform/runtime/diagnostics/panels/policy.js +123 -0
  773. package/dist/_internal/platform/runtime/diagnostics/panels/tasks.d.ts +51 -0
  774. package/dist/_internal/platform/runtime/diagnostics/panels/tasks.d.ts.map +1 -0
  775. package/dist/_internal/platform/runtime/diagnostics/panels/tasks.js +199 -0
  776. package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.d.ts +64 -0
  777. package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.d.ts.map +1 -0
  778. package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.js +216 -0
  779. package/dist/_internal/platform/runtime/diagnostics/provider.d.ts +159 -0
  780. package/dist/_internal/platform/runtime/diagnostics/provider.d.ts.map +1 -0
  781. package/dist/_internal/platform/runtime/diagnostics/provider.js +178 -0
  782. package/dist/_internal/platform/runtime/ecosystem/catalog.d.ts +164 -0
  783. package/dist/_internal/platform/runtime/ecosystem/catalog.d.ts.map +1 -0
  784. package/dist/_internal/platform/runtime/ecosystem/catalog.js +445 -0
  785. package/dist/_internal/platform/runtime/ecosystem/recommendations.d.ts +12 -0
  786. package/dist/_internal/platform/runtime/ecosystem/recommendations.d.ts.map +1 -0
  787. package/dist/_internal/platform/runtime/ecosystem/recommendations.js +51 -0
  788. package/dist/_internal/platform/runtime/emitters/agents.d.ts +65 -0
  789. package/dist/_internal/platform/runtime/emitters/agents.d.ts.map +1 -0
  790. package/dist/_internal/platform/runtime/emitters/agents.js +44 -0
  791. package/dist/_internal/platform/runtime/emitters/automation.d.ts +67 -0
  792. package/dist/_internal/platform/runtime/emitters/automation.d.ts.map +1 -0
  793. package/dist/_internal/platform/runtime/emitters/automation.js +40 -0
  794. package/dist/_internal/platform/runtime/emitters/communication.d.ts +29 -0
  795. package/dist/_internal/platform/runtime/emitters/communication.d.ts.map +1 -0
  796. package/dist/_internal/platform/runtime/emitters/communication.js +13 -0
  797. package/dist/_internal/platform/runtime/emitters/compaction.d.ts +89 -0
  798. package/dist/_internal/platform/runtime/emitters/compaction.d.ts.map +1 -0
  799. package/dist/_internal/platform/runtime/emitters/compaction.js +53 -0
  800. package/dist/_internal/platform/runtime/emitters/control-plane.d.ts +37 -0
  801. package/dist/_internal/platform/runtime/emitters/control-plane.d.ts.map +1 -0
  802. package/dist/_internal/platform/runtime/emitters/control-plane.js +25 -0
  803. package/dist/_internal/platform/runtime/emitters/deliveries.d.ts +53 -0
  804. package/dist/_internal/platform/runtime/emitters/deliveries.d.ts.map +1 -0
  805. package/dist/_internal/platform/runtime/emitters/deliveries.js +22 -0
  806. package/dist/_internal/platform/runtime/emitters/forensics.d.ts +10 -0
  807. package/dist/_internal/platform/runtime/emitters/forensics.d.ts.map +1 -0
  808. package/dist/_internal/platform/runtime/emitters/forensics.js +4 -0
  809. package/dist/_internal/platform/runtime/emitters/index.d.ts +58 -0
  810. package/dist/_internal/platform/runtime/emitters/index.d.ts.map +1 -0
  811. package/dist/_internal/platform/runtime/emitters/index.js +26 -0
  812. package/dist/_internal/platform/runtime/emitters/knowledge.d.ts +76 -0
  813. package/dist/_internal/platform/runtime/emitters/knowledge.d.ts.map +1 -0
  814. package/dist/_internal/platform/runtime/emitters/knowledge.js +49 -0
  815. package/dist/_internal/platform/runtime/emitters/mcp.d.ts +64 -0
  816. package/dist/_internal/platform/runtime/emitters/mcp.d.ts.map +1 -0
  817. package/dist/_internal/platform/runtime/emitters/mcp.js +42 -0
  818. package/dist/_internal/platform/runtime/emitters/ops.d.ts +63 -0
  819. package/dist/_internal/platform/runtime/emitters/ops.d.ts.map +1 -0
  820. package/dist/_internal/platform/runtime/emitters/ops.js +93 -0
  821. package/dist/_internal/platform/runtime/emitters/orchestration.d.ts +62 -0
  822. package/dist/_internal/platform/runtime/emitters/orchestration.d.ts.map +1 -0
  823. package/dist/_internal/platform/runtime/emitters/orchestration.js +34 -0
  824. package/dist/_internal/platform/runtime/emitters/permissions.d.ts +64 -0
  825. package/dist/_internal/platform/runtime/emitters/permissions.d.ts.map +1 -0
  826. package/dist/_internal/platform/runtime/emitters/permissions.js +36 -0
  827. package/dist/_internal/platform/runtime/emitters/planner.d.ts +9 -0
  828. package/dist/_internal/platform/runtime/emitters/planner.d.ts.map +1 -0
  829. package/dist/_internal/platform/runtime/emitters/planner.js +10 -0
  830. package/dist/_internal/platform/runtime/emitters/plugins.d.ts +46 -0
  831. package/dist/_internal/platform/runtime/emitters/plugins.d.ts.map +1 -0
  832. package/dist/_internal/platform/runtime/emitters/plugins.js +36 -0
  833. package/dist/_internal/platform/runtime/emitters/providers.d.ts +16 -0
  834. package/dist/_internal/platform/runtime/emitters/providers.d.ts.map +1 -0
  835. package/dist/_internal/platform/runtime/emitters/providers.js +13 -0
  836. package/dist/_internal/platform/runtime/emitters/routes.d.ts +37 -0
  837. package/dist/_internal/platform/runtime/emitters/routes.d.ts.map +1 -0
  838. package/dist/_internal/platform/runtime/emitters/routes.js +22 -0
  839. package/dist/_internal/platform/runtime/emitters/security.d.ts +31 -0
  840. package/dist/_internal/platform/runtime/emitters/security.d.ts.map +1 -0
  841. package/dist/_internal/platform/runtime/emitters/security.js +19 -0
  842. package/dist/_internal/platform/runtime/emitters/session.d.ts +38 -0
  843. package/dist/_internal/platform/runtime/emitters/session.d.ts.map +1 -0
  844. package/dist/_internal/platform/runtime/emitters/session.js +47 -0
  845. package/dist/_internal/platform/runtime/emitters/surfaces.d.ts +35 -0
  846. package/dist/_internal/platform/runtime/emitters/surfaces.d.ts.map +1 -0
  847. package/dist/_internal/platform/runtime/emitters/surfaces.js +22 -0
  848. package/dist/_internal/platform/runtime/emitters/tasks.d.ts +47 -0
  849. package/dist/_internal/platform/runtime/emitters/tasks.d.ts.map +1 -0
  850. package/dist/_internal/platform/runtime/emitters/tasks.js +32 -0
  851. package/dist/_internal/platform/runtime/emitters/tools.d.ts +109 -0
  852. package/dist/_internal/platform/runtime/emitters/tools.d.ts.map +1 -0
  853. package/dist/_internal/platform/runtime/emitters/tools.js +60 -0
  854. package/dist/_internal/platform/runtime/emitters/transport.d.ts +43 -0
  855. package/dist/_internal/platform/runtime/emitters/transport.d.ts.map +1 -0
  856. package/dist/_internal/platform/runtime/emitters/transport.js +36 -0
  857. package/dist/_internal/platform/runtime/emitters/turn.d.ts +78 -0
  858. package/dist/_internal/platform/runtime/emitters/turn.d.ts.map +1 -0
  859. package/dist/_internal/platform/runtime/emitters/turn.js +58 -0
  860. package/dist/_internal/platform/runtime/emitters/ui.d.ts +34 -0
  861. package/dist/_internal/platform/runtime/emitters/ui.d.ts.map +1 -0
  862. package/dist/_internal/platform/runtime/emitters/ui.js +37 -0
  863. package/dist/_internal/platform/runtime/emitters/watchers.d.ts +34 -0
  864. package/dist/_internal/platform/runtime/emitters/watchers.d.ts.map +1 -0
  865. package/dist/_internal/platform/runtime/emitters/watchers.js +22 -0
  866. package/dist/_internal/platform/runtime/emitters/workflows.d.ts +43 -0
  867. package/dist/_internal/platform/runtime/emitters/workflows.d.ts.map +1 -0
  868. package/dist/_internal/platform/runtime/emitters/workflows.js +31 -0
  869. package/dist/_internal/platform/runtime/eval/index.d.ts +24 -0
  870. package/dist/_internal/platform/runtime/eval/index.d.ts.map +1 -0
  871. package/dist/_internal/platform/runtime/eval/index.js +21 -0
  872. package/dist/_internal/platform/runtime/eval/runner.d.ts +60 -0
  873. package/dist/_internal/platform/runtime/eval/runner.d.ts.map +1 -0
  874. package/dist/_internal/platform/runtime/eval/runner.js +135 -0
  875. package/dist/_internal/platform/runtime/eval/suites.d.ts +19 -0
  876. package/dist/_internal/platform/runtime/eval/suites.d.ts.map +1 -0
  877. package/dist/_internal/platform/runtime/eval/suites.js +231 -0
  878. package/dist/_internal/platform/runtime/events/domain-map.d.ts +87 -0
  879. package/dist/_internal/platform/runtime/events/domain-map.d.ts.map +1 -0
  880. package/dist/_internal/platform/runtime/events/domain-map.js +36 -0
  881. package/dist/_internal/platform/runtime/events/index.d.ts +91 -0
  882. package/dist/_internal/platform/runtime/events/index.d.ts.map +1 -0
  883. package/dist/_internal/platform/runtime/events/index.js +148 -0
  884. package/dist/_internal/platform/runtime/events/turn.d.ts +98 -0
  885. package/dist/_internal/platform/runtime/events/turn.d.ts.map +1 -0
  886. package/dist/_internal/platform/runtime/events/turn.js +1 -0
  887. package/dist/_internal/platform/runtime/events/workflows.d.ts +46 -0
  888. package/dist/_internal/platform/runtime/events/workflows.d.ts.map +1 -0
  889. package/dist/_internal/platform/runtime/events/workflows.js +1 -0
  890. package/dist/_internal/platform/runtime/forensics/collector.d.ts +30 -0
  891. package/dist/_internal/platform/runtime/forensics/collector.d.ts.map +1 -0
  892. package/dist/_internal/platform/runtime/forensics/collector.js +525 -0
  893. package/dist/_internal/platform/runtime/forensics/index.d.ts +15 -0
  894. package/dist/_internal/platform/runtime/forensics/index.d.ts.map +1 -0
  895. package/dist/_internal/platform/runtime/forensics/index.js +3 -0
  896. package/dist/_internal/platform/runtime/foundation-clients.d.ts +30 -0
  897. package/dist/_internal/platform/runtime/foundation-clients.d.ts.map +1 -0
  898. package/dist/_internal/platform/runtime/foundation-clients.js +35 -0
  899. package/dist/_internal/platform/runtime/foundation-services.d.ts +41 -0
  900. package/dist/_internal/platform/runtime/foundation-services.d.ts.map +1 -0
  901. package/dist/_internal/platform/runtime/foundation-services.js +40 -0
  902. package/dist/_internal/platform/runtime/guidance.d.ts +30 -0
  903. package/dist/_internal/platform/runtime/guidance.d.ts.map +1 -0
  904. package/dist/_internal/platform/runtime/guidance.js +133 -0
  905. package/dist/_internal/platform/runtime/health/effect-handlers.d.ts +42 -0
  906. package/dist/_internal/platform/runtime/health/effect-handlers.d.ts.map +1 -0
  907. package/dist/_internal/platform/runtime/health/effect-handlers.js +148 -0
  908. package/dist/_internal/platform/runtime/health/index.d.ts +46 -0
  909. package/dist/_internal/platform/runtime/health/index.d.ts.map +1 -0
  910. package/dist/_internal/platform/runtime/health/index.js +45 -0
  911. package/dist/_internal/platform/runtime/health/wiring.d.ts +69 -0
  912. package/dist/_internal/platform/runtime/health/wiring.d.ts.map +1 -0
  913. package/dist/_internal/platform/runtime/health/wiring.js +100 -0
  914. package/dist/_internal/platform/runtime/index.d.ts +82 -0
  915. package/dist/_internal/platform/runtime/index.d.ts.map +1 -0
  916. package/dist/_internal/platform/runtime/index.js +49 -0
  917. package/dist/_internal/platform/runtime/integration/helpers.d.ts +110 -0
  918. package/dist/_internal/platform/runtime/integration/helpers.d.ts.map +1 -0
  919. package/dist/_internal/platform/runtime/integration/helpers.js +540 -0
  920. package/dist/_internal/platform/runtime/lifecycle.d.ts +37 -0
  921. package/dist/_internal/platform/runtime/lifecycle.d.ts.map +1 -0
  922. package/dist/_internal/platform/runtime/lifecycle.js +94 -0
  923. package/dist/_internal/platform/runtime/mcp/index.d.ts +31 -0
  924. package/dist/_internal/platform/runtime/mcp/index.d.ts.map +1 -0
  925. package/dist/_internal/platform/runtime/mcp/index.js +30 -0
  926. package/dist/_internal/platform/runtime/mcp/manager.d.ts +158 -0
  927. package/dist/_internal/platform/runtime/mcp/manager.d.ts.map +1 -0
  928. package/dist/_internal/platform/runtime/mcp/manager.js +422 -0
  929. package/dist/_internal/platform/runtime/network/inbound.d.ts +27 -0
  930. package/dist/_internal/platform/runtime/network/inbound.d.ts.map +1 -0
  931. package/dist/_internal/platform/runtime/network/inbound.js +90 -0
  932. package/dist/_internal/platform/runtime/network/index.d.ts +6 -0
  933. package/dist/_internal/platform/runtime/network/index.d.ts.map +1 -0
  934. package/dist/_internal/platform/runtime/network/index.js +3 -0
  935. package/dist/_internal/platform/runtime/network/outbound.d.ts +28 -0
  936. package/dist/_internal/platform/runtime/network/outbound.d.ts.map +1 -0
  937. package/dist/_internal/platform/runtime/network/outbound.js +222 -0
  938. package/dist/_internal/platform/runtime/network/shared.d.ts +19 -0
  939. package/dist/_internal/platform/runtime/network/shared.d.ts.map +1 -0
  940. package/dist/_internal/platform/runtime/network/shared.js +64 -0
  941. package/dist/_internal/platform/runtime/operator-client.d.ts +87 -0
  942. package/dist/_internal/platform/runtime/operator-client.d.ts.map +1 -0
  943. package/dist/_internal/platform/runtime/operator-client.js +110 -0
  944. package/dist/_internal/platform/runtime/ops/control-plane.d.ts +96 -0
  945. package/dist/_internal/platform/runtime/ops/control-plane.d.ts.map +1 -0
  946. package/dist/_internal/platform/runtime/ops/control-plane.js +298 -0
  947. package/dist/_internal/platform/runtime/ops/index.d.ts +54 -0
  948. package/dist/_internal/platform/runtime/ops/index.d.ts.map +1 -0
  949. package/dist/_internal/platform/runtime/ops/index.js +85 -0
  950. package/dist/_internal/platform/runtime/ops/playbooks/index.d.ts +11 -0
  951. package/dist/_internal/platform/runtime/ops/playbooks/index.d.ts.map +1 -0
  952. package/dist/_internal/platform/runtime/ops/playbooks/index.js +10 -0
  953. package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.d.ts +12 -0
  954. package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.d.ts.map +1 -0
  955. package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.js +175 -0
  956. package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.d.ts +12 -0
  957. package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.d.ts.map +1 -0
  958. package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.js +176 -0
  959. package/dist/_internal/platform/runtime/ops/runtime-context.d.ts +26 -0
  960. package/dist/_internal/platform/runtime/ops/runtime-context.d.ts.map +1 -0
  961. package/dist/_internal/platform/runtime/ops/runtime-context.js +71 -0
  962. package/dist/_internal/platform/runtime/ops-api.d.ts +25 -0
  963. package/dist/_internal/platform/runtime/ops-api.d.ts.map +1 -0
  964. package/dist/_internal/platform/runtime/ops-api.js +1 -0
  965. package/dist/_internal/platform/runtime/orchestration/spawn-policy.d.ts +24 -0
  966. package/dist/_internal/platform/runtime/orchestration/spawn-policy.d.ts.map +1 -0
  967. package/dist/_internal/platform/runtime/orchestration/spawn-policy.js +54 -0
  968. package/dist/_internal/platform/runtime/peer-client.d.ts +108 -0
  969. package/dist/_internal/platform/runtime/peer-client.d.ts.map +1 -0
  970. package/dist/_internal/platform/runtime/peer-client.js +232 -0
  971. package/dist/_internal/platform/runtime/perf/index.d.ts +34 -0
  972. package/dist/_internal/platform/runtime/perf/index.d.ts.map +1 -0
  973. package/dist/_internal/platform/runtime/perf/index.js +32 -0
  974. package/dist/_internal/platform/runtime/perf/slo-collector.d.ts +95 -0
  975. package/dist/_internal/platform/runtime/perf/slo-collector.d.ts.map +1 -0
  976. package/dist/_internal/platform/runtime/perf/slo-collector.js +324 -0
  977. package/dist/_internal/platform/runtime/permissions/index.d.ts +89 -0
  978. package/dist/_internal/platform/runtime/permissions/index.d.ts.map +1 -0
  979. package/dist/_internal/platform/runtime/permissions/index.js +85 -0
  980. package/dist/_internal/platform/runtime/permissions/policy-runtime.d.ts +58 -0
  981. package/dist/_internal/platform/runtime/permissions/policy-runtime.d.ts.map +1 -0
  982. package/dist/_internal/platform/runtime/permissions/policy-runtime.js +121 -0
  983. package/dist/_internal/platform/runtime/permissions/preflight.d.ts +31 -0
  984. package/dist/_internal/platform/runtime/permissions/preflight.d.ts.map +1 -0
  985. package/dist/_internal/platform/runtime/permissions/preflight.js +62 -0
  986. package/dist/_internal/platform/runtime/permissions/rule-suggestions.d.ts +10 -0
  987. package/dist/_internal/platform/runtime/permissions/rule-suggestions.d.ts.map +1 -0
  988. package/dist/_internal/platform/runtime/permissions/rule-suggestions.js +24 -0
  989. package/dist/_internal/platform/runtime/plugins/hot-reload.d.ts +75 -0
  990. package/dist/_internal/platform/runtime/plugins/hot-reload.d.ts.map +1 -0
  991. package/dist/_internal/platform/runtime/plugins/hot-reload.js +146 -0
  992. package/dist/_internal/platform/runtime/plugins/index.d.ts +40 -0
  993. package/dist/_internal/platform/runtime/plugins/index.d.ts.map +1 -0
  994. package/dist/_internal/platform/runtime/plugins/index.js +37 -0
  995. package/dist/_internal/platform/runtime/plugins/lifecycle.d.ts +56 -0
  996. package/dist/_internal/platform/runtime/plugins/lifecycle.d.ts.map +1 -0
  997. package/dist/_internal/platform/runtime/plugins/lifecycle.js +78 -0
  998. package/dist/_internal/platform/runtime/plugins/manager.d.ts +108 -0
  999. package/dist/_internal/platform/runtime/plugins/manager.d.ts.map +1 -0
  1000. package/dist/_internal/platform/runtime/plugins/manager.js +387 -0
  1001. package/dist/_internal/platform/runtime/plugins/manifest.d.ts +44 -0
  1002. package/dist/_internal/platform/runtime/plugins/manifest.d.ts.map +1 -0
  1003. package/dist/_internal/platform/runtime/plugins/manifest.js +133 -0
  1004. package/dist/_internal/platform/runtime/plugins/quarantine.d.ts +87 -0
  1005. package/dist/_internal/platform/runtime/plugins/quarantine.d.ts.map +1 -0
  1006. package/dist/_internal/platform/runtime/plugins/quarantine.js +140 -0
  1007. package/dist/_internal/platform/runtime/plugins/trust.d.ts +155 -0
  1008. package/dist/_internal/platform/runtime/plugins/trust.d.ts.map +1 -0
  1009. package/dist/_internal/platform/runtime/plugins/trust.js +198 -0
  1010. package/dist/_internal/platform/runtime/plugins/types.d.ts +164 -0
  1011. package/dist/_internal/platform/runtime/plugins/types.d.ts.map +1 -0
  1012. package/dist/_internal/platform/runtime/plugins/types.js +28 -0
  1013. package/dist/_internal/platform/runtime/provider-accounts/registry.d.ts +53 -0
  1014. package/dist/_internal/platform/runtime/provider-accounts/registry.d.ts.map +1 -0
  1015. package/dist/_internal/platform/runtime/provider-accounts/registry.js +269 -0
  1016. package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts +1 -72
  1017. package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts.map +1 -1
  1018. package/dist/_internal/platform/runtime/provider-health/data-provider.js +7 -194
  1019. package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts +1 -14
  1020. package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts.map +1 -1
  1021. package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.js +5 -45
  1022. package/dist/_internal/platform/runtime/provider-health/index.d.ts +1 -23
  1023. package/dist/_internal/platform/runtime/provider-health/index.d.ts.map +1 -1
  1024. package/dist/_internal/platform/runtime/provider-health/index.js +1 -21
  1025. package/dist/_internal/platform/runtime/provider-health/types.d.ts +1 -121
  1026. package/dist/_internal/platform/runtime/provider-health/types.d.ts.map +1 -1
  1027. package/dist/_internal/platform/runtime/provider-health/types.js +7 -1
  1028. package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.d.ts +38 -0
  1029. package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.d.ts.map +1 -0
  1030. package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.js +338 -0
  1031. package/dist/_internal/platform/runtime/remote/distributed-runtime-manager.js +1 -1
  1032. package/dist/_internal/platform/runtime/remote/index.d.ts +159 -0
  1033. package/dist/_internal/platform/runtime/remote/index.d.ts.map +1 -0
  1034. package/dist/_internal/platform/runtime/remote/index.js +305 -0
  1035. package/dist/_internal/platform/runtime/remote/runner-registry.d.ts +51 -0
  1036. package/dist/_internal/platform/runtime/remote/runner-registry.d.ts.map +1 -0
  1037. package/dist/_internal/platform/runtime/remote/runner-registry.js +377 -0
  1038. package/dist/_internal/platform/runtime/remote/supervisor.d.ts +19 -0
  1039. package/dist/_internal/platform/runtime/remote/supervisor.d.ts.map +1 -0
  1040. package/dist/_internal/platform/runtime/remote/supervisor.js +53 -0
  1041. package/dist/_internal/platform/runtime/runtime-hook-api.d.ts +3 -0
  1042. package/dist/_internal/platform/runtime/runtime-hook-api.d.ts.map +1 -0
  1043. package/dist/_internal/platform/runtime/runtime-hook-api.js +4 -0
  1044. package/dist/_internal/platform/runtime/runtime-knowledge-api.d.ts +6 -0
  1045. package/dist/_internal/platform/runtime/runtime-knowledge-api.d.ts.map +1 -0
  1046. package/dist/_internal/platform/runtime/runtime-knowledge-api.js +7 -0
  1047. package/dist/_internal/platform/runtime/runtime-mcp-api.d.ts +3 -0
  1048. package/dist/_internal/platform/runtime/runtime-mcp-api.d.ts.map +1 -0
  1049. package/dist/_internal/platform/runtime/runtime-mcp-api.js +4 -0
  1050. package/dist/_internal/platform/runtime/runtime-ops-api.d.ts +13 -0
  1051. package/dist/_internal/platform/runtime/runtime-ops-api.d.ts.map +1 -0
  1052. package/dist/_internal/platform/runtime/runtime-ops-api.js +64 -0
  1053. package/dist/_internal/platform/runtime/runtime-provider-api.d.ts +6 -0
  1054. package/dist/_internal/platform/runtime/runtime-provider-api.d.ts.map +1 -0
  1055. package/dist/_internal/platform/runtime/runtime-provider-api.js +8 -0
  1056. package/dist/_internal/platform/runtime/sandbox/backend.d.ts +29 -0
  1057. package/dist/_internal/platform/runtime/sandbox/backend.d.ts.map +1 -0
  1058. package/dist/_internal/platform/runtime/sandbox/backend.js +202 -0
  1059. package/dist/_internal/platform/runtime/sandbox/manager.d.ts +20 -0
  1060. package/dist/_internal/platform/runtime/sandbox/manager.d.ts.map +1 -0
  1061. package/dist/_internal/platform/runtime/sandbox/manager.js +307 -0
  1062. package/dist/_internal/platform/runtime/sandbox/provisioning.d.ts +73 -0
  1063. package/dist/_internal/platform/runtime/sandbox/provisioning.d.ts.map +1 -0
  1064. package/dist/_internal/platform/runtime/sandbox/provisioning.js +319 -0
  1065. package/dist/_internal/platform/runtime/sandbox/session-registry.d.ts +22 -0
  1066. package/dist/_internal/platform/runtime/sandbox/session-registry.d.ts.map +1 -0
  1067. package/dist/_internal/platform/runtime/sandbox/session-registry.js +257 -0
  1068. package/dist/_internal/platform/runtime/services.d.ts +160 -0
  1069. package/dist/_internal/platform/runtime/services.d.ts.map +1 -0
  1070. package/dist/_internal/platform/runtime/services.js +439 -0
  1071. package/dist/_internal/platform/runtime/session-maintenance.d.ts +31 -0
  1072. package/dist/_internal/platform/runtime/session-maintenance.d.ts.map +1 -0
  1073. package/dist/_internal/platform/runtime/session-maintenance.js +148 -0
  1074. package/dist/_internal/platform/runtime/session-persistence.d.ts +39 -0
  1075. package/dist/_internal/platform/runtime/session-persistence.d.ts.map +1 -0
  1076. package/dist/_internal/platform/runtime/session-persistence.js +226 -0
  1077. package/dist/_internal/platform/runtime/session-return-context.d.ts +47 -0
  1078. package/dist/_internal/platform/runtime/session-return-context.d.ts.map +1 -0
  1079. package/dist/_internal/platform/runtime/session-return-context.js +139 -0
  1080. package/dist/_internal/platform/runtime/settings/control-plane-store.d.ts +131 -0
  1081. package/dist/_internal/platform/runtime/settings/control-plane-store.d.ts.map +1 -0
  1082. package/dist/_internal/platform/runtime/settings/control-plane-store.js +107 -0
  1083. package/dist/_internal/platform/runtime/settings/control-plane.d.ts +32 -0
  1084. package/dist/_internal/platform/runtime/settings/control-plane.d.ts.map +1 -0
  1085. package/dist/_internal/platform/runtime/settings/control-plane.js +509 -0
  1086. package/dist/_internal/platform/runtime/shell-command-extensions.d.ts +29 -0
  1087. package/dist/_internal/platform/runtime/shell-command-extensions.d.ts.map +1 -0
  1088. package/dist/_internal/platform/runtime/shell-command-extensions.js +13 -0
  1089. package/dist/_internal/platform/runtime/shell-command-ops.d.ts +136 -0
  1090. package/dist/_internal/platform/runtime/shell-command-ops.d.ts.map +1 -0
  1091. package/dist/_internal/platform/runtime/shell-command-ops.js +54 -0
  1092. package/dist/_internal/platform/runtime/shell-command-platform.d.ts +22 -0
  1093. package/dist/_internal/platform/runtime/shell-command-platform.d.ts.map +1 -0
  1094. package/dist/_internal/platform/runtime/shell-command-platform.js +13 -0
  1095. package/dist/_internal/platform/runtime/shell-command-services.d.ts +59 -0
  1096. package/dist/_internal/platform/runtime/shell-command-services.d.ts.map +1 -0
  1097. package/dist/_internal/platform/runtime/shell-command-services.js +46 -0
  1098. package/dist/_internal/platform/runtime/shell-command-workspace.d.ts +14 -0
  1099. package/dist/_internal/platform/runtime/shell-command-workspace.d.ts.map +1 -0
  1100. package/dist/_internal/platform/runtime/shell-command-workspace.js +9 -0
  1101. package/dist/_internal/platform/runtime/store/domains/conversation.d.ts +109 -0
  1102. package/dist/_internal/platform/runtime/store/domains/conversation.d.ts.map +1 -0
  1103. package/dist/_internal/platform/runtime/store/domains/conversation.js +42 -0
  1104. package/dist/_internal/platform/runtime/store/domains/index.d.ts +58 -0
  1105. package/dist/_internal/platform/runtime/store/domains/index.d.ts.map +1 -0
  1106. package/dist/_internal/platform/runtime/store/domains/index.js +30 -0
  1107. package/dist/_internal/platform/runtime/store/domains/panels.d.ts +59 -0
  1108. package/dist/_internal/platform/runtime/store/domains/panels.d.ts.map +1 -0
  1109. package/dist/_internal/platform/runtime/store/domains/panels.js +44 -0
  1110. package/dist/_internal/platform/runtime/store/domains/permissions.d.ts +80 -0
  1111. package/dist/_internal/platform/runtime/store/domains/permissions.d.ts.map +1 -0
  1112. package/dist/_internal/platform/runtime/store/domains/permissions.js +23 -0
  1113. package/dist/_internal/platform/runtime/store/domains/ui-perf.d.ts +72 -0
  1114. package/dist/_internal/platform/runtime/store/domains/ui-perf.d.ts.map +1 -0
  1115. package/dist/_internal/platform/runtime/store/domains/ui-perf.js +28 -0
  1116. package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.d.ts +5 -0
  1117. package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.d.ts.map +1 -0
  1118. package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.js +232 -0
  1119. package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.d.ts +20 -0
  1120. package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.d.ts.map +1 -0
  1121. package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.js +393 -0
  1122. package/dist/_internal/platform/runtime/store/helpers/reducers/shared.d.ts +15 -0
  1123. package/dist/_internal/platform/runtime/store/helpers/reducers/shared.d.ts.map +1 -0
  1124. package/dist/_internal/platform/runtime/store/helpers/reducers/shared.js +48 -0
  1125. package/dist/_internal/platform/runtime/store/helpers/reducers/sync.d.ts +40 -0
  1126. package/dist/_internal/platform/runtime/store/helpers/reducers/sync.d.ts.map +1 -0
  1127. package/dist/_internal/platform/runtime/store/helpers/reducers/sync.js +480 -0
  1128. package/dist/_internal/platform/runtime/store/helpers/reducers.d.ts +5 -0
  1129. package/dist/_internal/platform/runtime/store/helpers/reducers.d.ts.map +1 -0
  1130. package/dist/_internal/platform/runtime/store/helpers/reducers.js +4 -0
  1131. package/dist/_internal/platform/runtime/store/index.d.ts +62 -0
  1132. package/dist/_internal/platform/runtime/store/index.d.ts.map +1 -0
  1133. package/dist/_internal/platform/runtime/store/index.js +178 -0
  1134. package/dist/_internal/platform/runtime/store/selectors/index.d.ts +151 -0
  1135. package/dist/_internal/platform/runtime/store/selectors/index.d.ts.map +1 -0
  1136. package/dist/_internal/platform/runtime/store/selectors/index.js +270 -0
  1137. package/dist/_internal/platform/runtime/store/state.d.ts +77 -0
  1138. package/dist/_internal/platform/runtime/store/state.d.ts.map +1 -0
  1139. package/dist/_internal/platform/runtime/store/state.js +71 -0
  1140. package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.d.ts +65 -0
  1141. package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.d.ts.map +1 -0
  1142. package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.js +176 -0
  1143. package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.d.ts +68 -0
  1144. package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.d.ts.map +1 -0
  1145. package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.js +174 -0
  1146. package/dist/_internal/platform/runtime/tasks/adapters/index.d.ts +13 -0
  1147. package/dist/_internal/platform/runtime/tasks/adapters/index.d.ts.map +1 -0
  1148. package/dist/_internal/platform/runtime/tasks/adapters/index.js +10 -0
  1149. package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.d.ts +82 -0
  1150. package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.d.ts.map +1 -0
  1151. package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.js +171 -0
  1152. package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.d.ts +76 -0
  1153. package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.d.ts.map +1 -0
  1154. package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.js +160 -0
  1155. package/dist/_internal/platform/runtime/tasks/index.d.ts +36 -0
  1156. package/dist/_internal/platform/runtime/tasks/index.d.ts.map +1 -0
  1157. package/dist/_internal/platform/runtime/tasks/index.js +37 -0
  1158. package/dist/_internal/platform/runtime/tasks/manager.d.ts +96 -0
  1159. package/dist/_internal/platform/runtime/tasks/manager.d.ts.map +1 -0
  1160. package/dist/_internal/platform/runtime/tasks/manager.js +316 -0
  1161. package/dist/_internal/platform/runtime/telemetry/api-helpers.d.ts +39 -0
  1162. package/dist/_internal/platform/runtime/telemetry/api-helpers.d.ts.map +1 -0
  1163. package/dist/_internal/platform/runtime/telemetry/api-helpers.js +481 -0
  1164. package/dist/_internal/platform/runtime/telemetry/api.d.ts +179 -0
  1165. package/dist/_internal/platform/runtime/telemetry/api.d.ts.map +1 -0
  1166. package/dist/_internal/platform/runtime/telemetry/api.js +535 -0
  1167. package/dist/_internal/platform/runtime/telemetry/index.d.ts +53 -0
  1168. package/dist/_internal/platform/runtime/telemetry/index.d.ts.map +1 -0
  1169. package/dist/_internal/platform/runtime/telemetry/index.js +52 -0
  1170. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.d.ts +6 -0
  1171. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.d.ts.map +1 -0
  1172. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.js +325 -0
  1173. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.d.ts +4 -0
  1174. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.d.ts.map +1 -0
  1175. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.js +142 -0
  1176. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.d.ts +18 -0
  1177. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.d.ts.map +1 -0
  1178. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.js +1 -0
  1179. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.d.ts +4 -0
  1180. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.d.ts.map +1 -0
  1181. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.js +146 -0
  1182. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.d.ts +67 -0
  1183. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.d.ts.map +1 -0
  1184. package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.js +101 -0
  1185. package/dist/_internal/platform/runtime/telemetry/instrumentation/index.d.ts +51 -0
  1186. package/dist/_internal/platform/runtime/telemetry/instrumentation/index.d.ts.map +1 -0
  1187. package/dist/_internal/platform/runtime/telemetry/instrumentation/index.js +21 -0
  1188. package/dist/_internal/platform/runtime/tools/context.d.ts +100 -0
  1189. package/dist/_internal/platform/runtime/tools/context.d.ts.map +1 -0
  1190. package/dist/_internal/platform/runtime/tools/context.js +1 -0
  1191. package/dist/_internal/platform/runtime/tools/index.d.ts +32 -0
  1192. package/dist/_internal/platform/runtime/tools/index.d.ts.map +1 -0
  1193. package/dist/_internal/platform/runtime/tools/index.js +21 -0
  1194. package/dist/_internal/platform/runtime/tools/phased-executor.d.ts +40 -0
  1195. package/dist/_internal/platform/runtime/tools/phased-executor.d.ts.map +1 -0
  1196. package/dist/_internal/platform/runtime/tools/phased-executor.js +338 -0
  1197. package/dist/_internal/platform/runtime/tools/phases/budget.d.ts +21 -0
  1198. package/dist/_internal/platform/runtime/tools/phases/budget.d.ts.map +1 -0
  1199. package/dist/_internal/platform/runtime/tools/phases/budget.js +87 -0
  1200. package/dist/_internal/platform/runtime/tools/phases/execute.d.ts +18 -0
  1201. package/dist/_internal/platform/runtime/tools/phases/execute.d.ts.map +1 -0
  1202. package/dist/_internal/platform/runtime/tools/phases/execute.js +49 -0
  1203. package/dist/_internal/platform/runtime/tools/phases/index.d.ts +14 -0
  1204. package/dist/_internal/platform/runtime/tools/phases/index.d.ts.map +1 -0
  1205. package/dist/_internal/platform/runtime/tools/phases/index.js +13 -0
  1206. package/dist/_internal/platform/runtime/tools/phases/map-output.d.ts +5 -0
  1207. package/dist/_internal/platform/runtime/tools/phases/map-output.d.ts.map +1 -0
  1208. package/dist/_internal/platform/runtime/tools/phases/map-output.js +83 -0
  1209. package/dist/_internal/platform/runtime/tools/phases/permission.d.ts +14 -0
  1210. package/dist/_internal/platform/runtime/tools/phases/permission.d.ts.map +1 -0
  1211. package/dist/_internal/platform/runtime/tools/phases/permission.js +109 -0
  1212. package/dist/_internal/platform/runtime/tools/phases/posthook.d.ts +15 -0
  1213. package/dist/_internal/platform/runtime/tools/phases/posthook.d.ts.map +1 -0
  1214. package/dist/_internal/platform/runtime/tools/phases/posthook.js +47 -0
  1215. package/dist/_internal/platform/runtime/tools/phases/prehook.d.ts +16 -0
  1216. package/dist/_internal/platform/runtime/tools/phases/prehook.d.ts.map +1 -0
  1217. package/dist/_internal/platform/runtime/tools/phases/prehook.js +56 -0
  1218. package/dist/_internal/platform/runtime/tools/phases/validate.d.ts +18 -0
  1219. package/dist/_internal/platform/runtime/tools/phases/validate.d.ts.map +1 -0
  1220. package/dist/_internal/platform/runtime/tools/phases/validate.js +38 -0
  1221. package/dist/_internal/platform/runtime/transports/direct.d.ts +34 -0
  1222. package/dist/_internal/platform/runtime/transports/direct.d.ts.map +1 -0
  1223. package/dist/_internal/platform/runtime/transports/direct.js +37 -0
  1224. package/dist/_internal/platform/runtime/transports/http-helpers.d.ts +18 -0
  1225. package/dist/_internal/platform/runtime/transports/http-helpers.d.ts.map +1 -0
  1226. package/dist/_internal/platform/runtime/transports/http-helpers.js +182 -0
  1227. package/dist/_internal/platform/runtime/transports/http-types.d.ts +307 -0
  1228. package/dist/_internal/platform/runtime/transports/http-types.d.ts.map +1 -0
  1229. package/dist/_internal/platform/runtime/transports/http-types.js +1 -0
  1230. package/dist/_internal/platform/runtime/transports/http.d.ts +3 -0
  1231. package/dist/_internal/platform/runtime/transports/http.d.ts.map +1 -0
  1232. package/dist/_internal/platform/runtime/transports/http.js +406 -0
  1233. package/dist/_internal/platform/runtime/transports/realtime.d.ts +17 -0
  1234. package/dist/_internal/platform/runtime/transports/realtime.d.ts.map +1 -0
  1235. package/dist/_internal/platform/runtime/transports/realtime.js +28 -0
  1236. package/dist/_internal/platform/runtime/transports/remote-events.d.ts +4 -0
  1237. package/dist/_internal/platform/runtime/transports/remote-events.d.ts.map +1 -0
  1238. package/dist/_internal/platform/runtime/transports/remote-events.js +2 -0
  1239. package/dist/_internal/platform/runtime/transports/shared.d.ts +17 -0
  1240. package/dist/_internal/platform/runtime/transports/shared.d.ts.map +1 -0
  1241. package/dist/_internal/platform/runtime/transports/shared.js +8 -0
  1242. package/dist/_internal/platform/runtime/transports/ui-runtime-events.d.ts +9 -0
  1243. package/dist/_internal/platform/runtime/transports/ui-runtime-events.d.ts.map +1 -0
  1244. package/dist/_internal/platform/runtime/transports/ui-runtime-events.js +16 -0
  1245. package/dist/_internal/platform/runtime/ui/index.d.ts +17 -0
  1246. package/dist/_internal/platform/runtime/ui/index.d.ts.map +1 -0
  1247. package/dist/_internal/platform/runtime/ui/index.js +11 -0
  1248. package/dist/_internal/platform/runtime/ui/model-picker/data-provider.d.ts +94 -0
  1249. package/dist/_internal/platform/runtime/ui/model-picker/data-provider.d.ts.map +1 -0
  1250. package/dist/_internal/platform/runtime/ui/model-picker/data-provider.js +129 -0
  1251. package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.d.ts +32 -0
  1252. package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.d.ts.map +1 -0
  1253. package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.js +208 -0
  1254. package/dist/_internal/platform/runtime/ui/model-picker/index.d.ts +30 -0
  1255. package/dist/_internal/platform/runtime/ui/model-picker/index.d.ts.map +1 -0
  1256. package/dist/_internal/platform/runtime/ui/model-picker/index.js +26 -0
  1257. package/dist/_internal/platform/runtime/ui/model-picker/types.d.ts +127 -0
  1258. package/dist/_internal/platform/runtime/ui/model-picker/types.d.ts.map +1 -0
  1259. package/dist/_internal/platform/runtime/ui/model-picker/types.js +1 -0
  1260. package/dist/_internal/platform/runtime/ui/provider-health/data-provider.d.ts +30 -0
  1261. package/dist/_internal/platform/runtime/ui/provider-health/data-provider.d.ts.map +1 -0
  1262. package/dist/_internal/platform/runtime/ui/provider-health/data-provider.js +137 -0
  1263. package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.d.ts +5 -0
  1264. package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.d.ts.map +1 -0
  1265. package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.js +35 -0
  1266. package/dist/_internal/platform/runtime/ui/provider-health/index.d.ts +14 -0
  1267. package/dist/_internal/platform/runtime/ui/provider-health/index.d.ts.map +1 -0
  1268. package/dist/_internal/platform/runtime/ui/provider-health/index.js +9 -0
  1269. package/dist/_internal/platform/runtime/ui/provider-health/types.d.ts +59 -0
  1270. package/dist/_internal/platform/runtime/ui/provider-health/types.d.ts.map +1 -0
  1271. package/dist/_internal/platform/runtime/ui/provider-health/types.js +1 -0
  1272. package/dist/_internal/platform/runtime/ui-events.d.ts +15 -0
  1273. package/dist/_internal/platform/runtime/ui-events.d.ts.map +1 -0
  1274. package/dist/_internal/platform/runtime/ui-events.js +16 -0
  1275. package/dist/_internal/platform/runtime/ui-read-model-helpers.d.ts +6 -0
  1276. package/dist/_internal/platform/runtime/ui-read-model-helpers.d.ts.map +1 -0
  1277. package/dist/_internal/platform/runtime/ui-read-model-helpers.js +22 -0
  1278. package/dist/_internal/platform/runtime/ui-read-models-core.d.ts +38 -0
  1279. package/dist/_internal/platform/runtime/ui-read-models-core.d.ts.map +1 -0
  1280. package/dist/_internal/platform/runtime/ui-read-models-core.js +52 -0
  1281. package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.d.ts +37 -0
  1282. package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.d.ts.map +1 -0
  1283. package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.js +36 -0
  1284. package/dist/_internal/platform/runtime/ui-read-models-observability-options.d.ts +5 -0
  1285. package/dist/_internal/platform/runtime/ui-read-models-observability-options.d.ts.map +1 -0
  1286. package/dist/_internal/platform/runtime/ui-read-models-observability-options.js +1 -0
  1287. package/dist/_internal/platform/runtime/ui-read-models-observability-remote.d.ts +32 -0
  1288. package/dist/_internal/platform/runtime/ui-read-models-observability-remote.d.ts.map +1 -0
  1289. package/dist/_internal/platform/runtime/ui-read-models-observability-remote.js +35 -0
  1290. package/dist/_internal/platform/runtime/ui-read-models-observability-security.d.ts +54 -0
  1291. package/dist/_internal/platform/runtime/ui-read-models-observability-security.d.ts.map +1 -0
  1292. package/dist/_internal/platform/runtime/ui-read-models-observability-security.js +111 -0
  1293. package/dist/_internal/platform/runtime/ui-read-models-observability-system.d.ts +69 -0
  1294. package/dist/_internal/platform/runtime/ui-read-models-observability-system.d.ts.map +1 -0
  1295. package/dist/_internal/platform/runtime/ui-read-models-observability-system.js +137 -0
  1296. package/dist/_internal/platform/runtime/ui-read-models-observability.d.ts +15 -0
  1297. package/dist/_internal/platform/runtime/ui-read-models-observability.d.ts.map +1 -0
  1298. package/dist/_internal/platform/runtime/ui-read-models-observability.js +12 -0
  1299. package/dist/_internal/platform/runtime/ui-read-models-operations.d.ts +78 -0
  1300. package/dist/_internal/platform/runtime/ui-read-models-operations.d.ts.map +1 -0
  1301. package/dist/_internal/platform/runtime/ui-read-models-operations.js +113 -0
  1302. package/dist/_internal/platform/runtime/ui-read-models.d.ts +13 -0
  1303. package/dist/_internal/platform/runtime/ui-read-models.d.ts.map +1 -0
  1304. package/dist/_internal/platform/runtime/ui-read-models.js +10 -0
  1305. package/dist/_internal/platform/runtime/ui-service-queries.d.ts +69 -0
  1306. package/dist/_internal/platform/runtime/ui-service-queries.d.ts.map +1 -0
  1307. package/dist/_internal/platform/runtime/ui-service-queries.js +22 -0
  1308. package/dist/_internal/platform/runtime/ui-services.d.ts +92 -0
  1309. package/dist/_internal/platform/runtime/ui-services.d.ts.map +1 -0
  1310. package/dist/_internal/platform/runtime/ui-services.js +60 -0
  1311. package/dist/_internal/platform/runtime/worktree/registry.d.ts +59 -0
  1312. package/dist/_internal/platform/runtime/worktree/registry.d.ts.map +1 -0
  1313. package/dist/_internal/platform/runtime/worktree/registry.js +179 -0
  1314. package/dist/_internal/platform/scheduler/scheduler.d.ts +1 -1
  1315. package/dist/_internal/platform/scheduler/scheduler.js +1 -1
  1316. package/dist/_internal/platform/sessions/manager.d.ts +95 -0
  1317. package/dist/_internal/platform/sessions/manager.d.ts.map +1 -0
  1318. package/dist/_internal/platform/sessions/manager.js +344 -0
  1319. package/dist/_internal/platform/sessions/orchestration/registry.d.ts +2 -2
  1320. package/dist/_internal/platform/sessions/orchestration/registry.js +3 -3
  1321. package/dist/_internal/platform/state/file-watcher.d.ts +60 -0
  1322. package/dist/_internal/platform/state/file-watcher.d.ts.map +1 -0
  1323. package/dist/_internal/platform/state/file-watcher.js +268 -0
  1324. package/dist/_internal/platform/state/index.d.ts +26 -0
  1325. package/dist/_internal/platform/state/index.d.ts.map +1 -0
  1326. package/dist/_internal/platform/state/index.js +15 -0
  1327. package/dist/_internal/platform/state/knowledge-injection.d.ts +24 -0
  1328. package/dist/_internal/platform/state/knowledge-injection.d.ts.map +1 -0
  1329. package/dist/_internal/platform/state/knowledge-injection.js +147 -0
  1330. package/dist/_internal/platform/state/memory-embedding-http.d.ts +10 -0
  1331. package/dist/_internal/platform/state/memory-embedding-http.d.ts.map +1 -0
  1332. package/dist/_internal/platform/state/memory-embedding-http.js +586 -0
  1333. package/dist/_internal/platform/state/memory-embeddings.d.ts +70 -0
  1334. package/dist/_internal/platform/state/memory-embeddings.d.ts.map +1 -0
  1335. package/dist/_internal/platform/state/memory-embeddings.js +247 -0
  1336. package/dist/_internal/platform/state/memory-ingest.d.ts +21 -0
  1337. package/dist/_internal/platform/state/memory-ingest.d.ts.map +1 -0
  1338. package/dist/_internal/platform/state/memory-ingest.js +108 -0
  1339. package/dist/_internal/platform/state/memory-registry.d.ts +38 -0
  1340. package/dist/_internal/platform/state/memory-registry.d.ts.map +1 -0
  1341. package/dist/_internal/platform/state/memory-registry.js +91 -0
  1342. package/dist/_internal/platform/state/memory-store-helpers.d.ts +28 -0
  1343. package/dist/_internal/platform/state/memory-store-helpers.d.ts.map +1 -0
  1344. package/dist/_internal/platform/state/memory-store-helpers.js +149 -0
  1345. package/dist/_internal/platform/state/memory-store.d.ts +176 -0
  1346. package/dist/_internal/platform/state/memory-store.d.ts.map +1 -0
  1347. package/dist/_internal/platform/state/memory-store.js +474 -0
  1348. package/dist/_internal/platform/state/memory-vector-store.d.ts +61 -0
  1349. package/dist/_internal/platform/state/memory-vector-store.d.ts.map +1 -0
  1350. package/dist/_internal/platform/state/memory-vector-store.js +324 -0
  1351. package/dist/_internal/platform/tools/agent/index.d.ts +16 -0
  1352. package/dist/_internal/platform/tools/agent/index.d.ts.map +1 -0
  1353. package/dist/_internal/platform/tools/agent/index.js +550 -0
  1354. package/dist/_internal/platform/tools/agent/manager.d.ts +102 -0
  1355. package/dist/_internal/platform/tools/agent/manager.d.ts.map +1 -0
  1356. package/dist/_internal/platform/tools/agent/manager.js +369 -0
  1357. package/dist/_internal/platform/tools/analyze/git-modes.d.ts +7 -0
  1358. package/dist/_internal/platform/tools/analyze/git-modes.d.ts.map +1 -0
  1359. package/dist/_internal/platform/tools/analyze/git-modes.js +316 -0
  1360. package/dist/_internal/platform/tools/analyze/index.d.ts +6 -0
  1361. package/dist/_internal/platform/tools/analyze/index.d.ts.map +1 -0
  1362. package/dist/_internal/platform/tools/analyze/index.js +92 -0
  1363. package/dist/_internal/platform/tools/channel/agent-tools.d.ts +4 -0
  1364. package/dist/_internal/platform/tools/channel/agent-tools.d.ts.map +1 -0
  1365. package/dist/_internal/platform/tools/channel/agent-tools.js +13 -0
  1366. package/dist/_internal/platform/tools/channel/index.d.ts +4 -0
  1367. package/dist/_internal/platform/tools/channel/index.d.ts.map +1 -0
  1368. package/dist/_internal/platform/tools/channel/index.js +254 -0
  1369. package/dist/_internal/platform/tools/control/index.d.ts +3 -0
  1370. package/dist/_internal/platform/tools/control/index.d.ts.map +1 -0
  1371. package/dist/_internal/platform/tools/control/index.js +83 -0
  1372. package/dist/_internal/platform/tools/edit/core.d.ts +15 -0
  1373. package/dist/_internal/platform/tools/edit/core.d.ts.map +1 -0
  1374. package/dist/_internal/platform/tools/edit/core.js +503 -0
  1375. package/dist/_internal/platform/tools/edit/index.d.ts +4 -0
  1376. package/dist/_internal/platform/tools/edit/index.d.ts.map +1 -0
  1377. package/dist/_internal/platform/tools/edit/index.js +2 -0
  1378. package/dist/_internal/platform/tools/edit/phased.d.ts +15 -0
  1379. package/dist/_internal/platform/tools/edit/phased.d.ts.map +1 -0
  1380. package/dist/_internal/platform/tools/edit/phased.js +26 -0
  1381. package/dist/_internal/platform/tools/fetch/index.d.ts +4 -0
  1382. package/dist/_internal/platform/tools/fetch/index.d.ts.map +1 -0
  1383. package/dist/_internal/platform/tools/fetch/index.js +1 -0
  1384. package/dist/_internal/platform/tools/fetch/phased.d.ts +13 -0
  1385. package/dist/_internal/platform/tools/fetch/phased.d.ts.map +1 -0
  1386. package/dist/_internal/platform/tools/fetch/phased.js +30 -0
  1387. package/dist/_internal/platform/tools/fetch/runtime.d.ts +25 -0
  1388. package/dist/_internal/platform/tools/fetch/runtime.d.ts.map +1 -0
  1389. package/dist/_internal/platform/tools/fetch/runtime.js +395 -0
  1390. package/dist/_internal/platform/tools/fetch/schema.d.ts +1 -1
  1391. package/dist/_internal/platform/tools/fetch/schema.js +1 -1
  1392. package/dist/_internal/platform/tools/index.d.ts +58 -0
  1393. package/dist/_internal/platform/tools/index.d.ts.map +1 -0
  1394. package/dist/_internal/platform/tools/index.js +143 -0
  1395. package/dist/_internal/platform/tools/mcp/index.d.ts +4 -0
  1396. package/dist/_internal/platform/tools/mcp/index.d.ts.map +1 -0
  1397. package/dist/_internal/platform/tools/mcp/index.js +177 -0
  1398. package/dist/_internal/platform/tools/packet/index.js +1 -1
  1399. package/dist/_internal/platform/tools/query/index.js +1 -1
  1400. package/dist/_internal/platform/tools/registry-tool/index.js +4 -4
  1401. package/dist/_internal/platform/tools/registry-tool/skill-loader.js +2 -2
  1402. package/dist/_internal/platform/tools/remote-trigger/index.d.ts +4 -0
  1403. package/dist/_internal/platform/tools/remote-trigger/index.d.ts.map +1 -0
  1404. package/dist/_internal/platform/tools/remote-trigger/index.js +123 -0
  1405. package/dist/_internal/platform/tools/repl/index.d.ts +5 -0
  1406. package/dist/_internal/platform/tools/repl/index.d.ts.map +1 -0
  1407. package/dist/_internal/platform/tools/repl/index.js +252 -0
  1408. package/dist/_internal/platform/tools/shared/auto-heal.d.ts +63 -0
  1409. package/dist/_internal/platform/tools/shared/auto-heal.d.ts.map +1 -0
  1410. package/dist/_internal/platform/tools/shared/auto-heal.js +252 -0
  1411. package/dist/_internal/platform/tools/state/index.d.ts +20 -0
  1412. package/dist/_internal/platform/tools/state/index.d.ts.map +1 -0
  1413. package/dist/_internal/platform/tools/state/index.js +618 -0
  1414. package/dist/_internal/platform/tools/team/index.js +1 -1
  1415. package/dist/_internal/platform/tools/web-search/index.d.ts +4 -0
  1416. package/dist/_internal/platform/tools/web-search/index.d.ts.map +1 -0
  1417. package/dist/_internal/platform/tools/web-search/index.js +34 -0
  1418. package/dist/_internal/platform/tools/worklist/index.js +1 -1
  1419. package/dist/_internal/platform/tools/write/index.d.ts +17 -0
  1420. package/dist/_internal/platform/tools/write/index.d.ts.map +1 -0
  1421. package/dist/_internal/platform/tools/write/index.js +513 -0
  1422. package/dist/_internal/platform/tools/write/phased.d.ts +21 -0
  1423. package/dist/_internal/platform/tools/write/phased.d.ts.map +1 -0
  1424. package/dist/_internal/platform/tools/write/phased.js +25 -0
  1425. package/dist/_internal/platform/utils/splash-lines.d.ts +8 -0
  1426. package/dist/_internal/platform/utils/splash-lines.d.ts.map +1 -0
  1427. package/dist/_internal/platform/utils/splash-lines.js +32 -0
  1428. package/dist/_internal/platform/version.d.ts +2 -0
  1429. package/dist/_internal/platform/version.d.ts.map +1 -0
  1430. package/dist/_internal/platform/version.js +11 -0
  1431. package/dist/_internal/platform/watchers/index.d.ts +5 -0
  1432. package/dist/_internal/platform/watchers/index.d.ts.map +1 -0
  1433. package/dist/_internal/platform/watchers/index.js +2 -0
  1434. package/dist/_internal/platform/watchers/registry.d.ts +51 -0
  1435. package/dist/_internal/platform/watchers/registry.d.ts.map +1 -0
  1436. package/dist/_internal/platform/watchers/registry.js +447 -0
  1437. package/dist/_internal/platform/watchers/store.js +1 -1
  1438. package/dist/_internal/platform/web-search/index.d.ts +12 -0
  1439. package/dist/_internal/platform/web-search/index.d.ts.map +1 -0
  1440. package/dist/_internal/platform/web-search/index.js +9 -0
  1441. package/dist/_internal/platform/web-search/provider-registry.d.ts +14 -0
  1442. package/dist/_internal/platform/web-search/provider-registry.d.ts.map +1 -0
  1443. package/dist/_internal/platform/web-search/provider-registry.js +55 -0
  1444. package/dist/_internal/platform/web-search/providers/brave.d.ts +4 -0
  1445. package/dist/_internal/platform/web-search/providers/brave.d.ts.map +1 -0
  1446. package/dist/_internal/platform/web-search/providers/brave.js +89 -0
  1447. package/dist/_internal/platform/web-search/providers/duckduckgo.d.ts +13 -0
  1448. package/dist/_internal/platform/web-search/providers/duckduckgo.d.ts.map +1 -0
  1449. package/dist/_internal/platform/web-search/providers/duckduckgo.js +243 -0
  1450. package/dist/_internal/platform/web-search/providers/exa.d.ts +4 -0
  1451. package/dist/_internal/platform/web-search/providers/exa.d.ts.map +1 -0
  1452. package/dist/_internal/platform/web-search/providers/exa.js +68 -0
  1453. package/dist/_internal/platform/web-search/providers/firecrawl.d.ts +4 -0
  1454. package/dist/_internal/platform/web-search/providers/firecrawl.d.ts.map +1 -0
  1455. package/dist/_internal/platform/web-search/providers/firecrawl.js +80 -0
  1456. package/dist/_internal/platform/web-search/providers/perplexity.d.ts +4 -0
  1457. package/dist/_internal/platform/web-search/providers/perplexity.d.ts.map +1 -0
  1458. package/dist/_internal/platform/web-search/providers/perplexity.js +77 -0
  1459. package/dist/_internal/platform/web-search/providers/searxng.d.ts +4 -0
  1460. package/dist/_internal/platform/web-search/providers/searxng.d.ts.map +1 -0
  1461. package/dist/_internal/platform/web-search/providers/searxng.js +79 -0
  1462. package/dist/_internal/platform/web-search/providers/shared.d.ts +56 -0
  1463. package/dist/_internal/platform/web-search/providers/shared.d.ts.map +1 -0
  1464. package/dist/_internal/platform/web-search/providers/shared.js +169 -0
  1465. package/dist/_internal/platform/web-search/providers/tavily.d.ts +4 -0
  1466. package/dist/_internal/platform/web-search/providers/tavily.d.ts.map +1 -0
  1467. package/dist/_internal/platform/web-search/providers/tavily.js +81 -0
  1468. package/dist/_internal/platform/web-search/service.d.ts +19 -0
  1469. package/dist/_internal/platform/web-search/service.d.ts.map +1 -0
  1470. package/dist/_internal/platform/web-search/service.js +120 -0
  1471. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export { WatcherRegistry } from './registry.js';
2
+ export { getWatcherStorePath, loadWatcherSnapshot, loadWatcherSnapshotFromPath, resolveWatcherStorePath, saveWatcherSnapshot, saveWatcherSnapshotToPath, } from '@pellux/goodvibes-sdk/platform/watchers/store';
@@ -0,0 +1,51 @@
1
+ import type { RuntimeStore } from '../runtime/store/index.js';
2
+ import type { RuntimeEventBus } from '../runtime/events/index.js';
3
+ import type { WatcherKind, WatcherRecord } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/watchers';
4
+ import type { AutomationSourceRecord } from '@pellux/goodvibes-sdk/platform/automation/sources';
5
+ export interface RegisterWatcherInput {
6
+ readonly id: string;
7
+ readonly label: string;
8
+ readonly kind?: WatcherKind;
9
+ readonly source: AutomationSourceRecord;
10
+ readonly intervalMs?: number;
11
+ readonly metadata?: Record<string, unknown>;
12
+ readonly run?: () => Promise<string | void> | string | void;
13
+ }
14
+ export interface RegisterPollingWatcherInput {
15
+ readonly id: string;
16
+ readonly label: string;
17
+ readonly source: AutomationSourceRecord;
18
+ readonly intervalMs: number;
19
+ readonly run: () => Promise<string | void> | string | void;
20
+ }
21
+ export interface WatcherRegistryOptions {
22
+ readonly storePath?: string;
23
+ }
24
+ export declare class WatcherRegistry {
25
+ private readonly watchers;
26
+ private readonly timers;
27
+ private readonly inFlight;
28
+ private readonly storePath;
29
+ private runtimeDispatch;
30
+ private runtimeBus;
31
+ private loaded;
32
+ constructor(options?: WatcherRegistryOptions);
33
+ attachRuntime(config: {
34
+ readonly runtimeStore?: RuntimeStore | null;
35
+ readonly runtimeBus?: RuntimeEventBus | null;
36
+ }): void;
37
+ registerWatcher(input: RegisterWatcherInput): WatcherRecord;
38
+ registerPollingWatcher(input: RegisterPollingWatcherInput): WatcherRecord;
39
+ list(): WatcherRecord[];
40
+ getWatcher(id: string): WatcherRecord | null;
41
+ startWatcher(id: string): WatcherRecord | null;
42
+ stopWatcher(id: string, reason?: string): WatcherRecord | null;
43
+ runWatcherNow(id: string): Promise<WatcherRecord | null>;
44
+ removeWatcher(id: string): boolean;
45
+ private ensureLoaded;
46
+ private normalizeRecord;
47
+ private runWatcher;
48
+ private buildRunStrategy;
49
+ private persist;
50
+ }
51
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/watchers/registry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAuB,MAAM,+DAA+D,CAAC;AACrI,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAehG,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC;CAC5D;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAwFD,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwC;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqD;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,eAAe,CAA+B;IACtD,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,MAAM,CAAS;gBAEX,OAAO,GAAE,sBAA2B;IAIhD,aAAa,CAAC,MAAM,EAAE;QACpB,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;QAC5C,QAAQ,CAAC,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;KAC9C,GAAG,IAAI;IAYR,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,aAAa;IAuC3D,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,GAAG,aAAa;IAezE,IAAI,IAAI,aAAa,EAAE;IAkBvB,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI;IAa5C,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI;IAuC9C,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,SAAY,GAAG,aAAa,GAAG,IAAI;IA8B3D,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAQ9D,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAoBlC,OAAO,CAAC,YAAY;IAkCpB,OAAO,CAAC,eAAe;YAYT,UAAU;IA4DxB,OAAO,CAAC,gBAAgB;IA+DxB,OAAO,CAAC,OAAO;CAShB"}
@@ -0,0 +1,447 @@
1
+ import { existsSync, statSync } from 'node:fs';
2
+ import { createDomainDispatch } from '../runtime/store/index.js';
3
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
4
+ import { emitWatcherFailed, emitWatcherHeartbeat, emitWatcherStarted, emitWatcherStopped, } from '../runtime/emitters/index.js';
5
+ import { loadWatcherSnapshotFromPath, resolveWatcherStorePath, saveWatcherSnapshotToPath, } from '@pellux/goodvibes-sdk/platform/watchers/store';
6
+ function now() {
7
+ return Date.now();
8
+ }
9
+ function sortWatchers(watchers) {
10
+ return [...watchers].sort((a, b) => a.label.localeCompare(b.label) || a.id.localeCompare(b.id));
11
+ }
12
+ function toWatcherSourceKind(kind) {
13
+ switch (kind) {
14
+ case 'webhook':
15
+ return 'webhook';
16
+ case 'filesystem':
17
+ return 'file';
18
+ case 'socket':
19
+ return 'stream';
20
+ case 'integration':
21
+ return 'api';
22
+ case 'manual':
23
+ return 'api';
24
+ case 'polling':
25
+ default:
26
+ return 'poll';
27
+ }
28
+ }
29
+ function sourceStatusFor(record, ts = now()) {
30
+ const lastSeenAt = record.lastHeartbeatAt ?? record.source.lastSeenAt ?? record.source.updatedAt ?? record.source.createdAt;
31
+ if (record.state === 'failed') {
32
+ return {
33
+ sourceLagMs: lastSeenAt ? Math.max(0, ts - lastSeenAt) : undefined,
34
+ sourceStatus: 'failed',
35
+ degradedReason: record.lastError ?? 'watcher failed',
36
+ nextState: 'failed',
37
+ };
38
+ }
39
+ if (record.state === 'stopped') {
40
+ return {
41
+ sourceLagMs: lastSeenAt ? Math.max(0, ts - lastSeenAt) : undefined,
42
+ sourceStatus: 'unknown',
43
+ };
44
+ }
45
+ if (!lastSeenAt) {
46
+ return {
47
+ sourceStatus: 'lagging',
48
+ degradedReason: 'watcher has not reported a heartbeat yet',
49
+ nextState: 'degraded',
50
+ };
51
+ }
52
+ const interval = Math.max(1_000, Number(record.intervalMs ?? 0) || 0);
53
+ const lag = Math.max(0, ts - lastSeenAt);
54
+ const staleThreshold = interval > 0 ? interval * 2 : 60_000;
55
+ if (lag >= staleThreshold) {
56
+ return {
57
+ sourceLagMs: lag,
58
+ sourceStatus: 'stale',
59
+ degradedReason: `heartbeat stale by ${lag}ms`,
60
+ nextState: 'degraded',
61
+ };
62
+ }
63
+ if (interval > 0 && lag >= interval) {
64
+ return {
65
+ sourceLagMs: lag,
66
+ sourceStatus: 'lagging',
67
+ degradedReason: `heartbeat lagging by ${lag}ms`,
68
+ nextState: 'degraded',
69
+ };
70
+ }
71
+ return {
72
+ sourceLagMs: lag,
73
+ sourceStatus: record.lastError ? 'degraded' : 'healthy',
74
+ ...(record.lastError ? { degradedReason: record.lastError } : {}),
75
+ nextState: record.state === 'degraded' && !record.lastError ? 'running' : undefined,
76
+ };
77
+ }
78
+ export class WatcherRegistry {
79
+ watchers = new Map();
80
+ timers = new Map();
81
+ inFlight = new Set();
82
+ storePath;
83
+ runtimeDispatch = null;
84
+ runtimeBus = null;
85
+ loaded = false;
86
+ constructor(options = {}) {
87
+ this.storePath = resolveWatcherStorePath(options.storePath);
88
+ }
89
+ attachRuntime(config) {
90
+ if (config.runtimeStore) {
91
+ this.runtimeDispatch = createDomainDispatch(config.runtimeStore);
92
+ for (const watcher of this.watchers.values()) {
93
+ this.runtimeDispatch.syncWatcher(this.normalizeRecord(watcher.record), 'watchers.attach');
94
+ }
95
+ }
96
+ if (config.runtimeBus) {
97
+ this.runtimeBus = config.runtimeBus;
98
+ }
99
+ }
100
+ registerWatcher(input) {
101
+ this.ensureLoaded();
102
+ const existing = this.watchers.get(input.id)?.record;
103
+ const wasRunning = existing?.state === 'running' || existing?.state === 'starting' || existing?.state === 'degraded';
104
+ const timer = this.timers.get(input.id);
105
+ if (timer) {
106
+ clearInterval(timer);
107
+ this.timers.delete(input.id);
108
+ }
109
+ const record = this.normalizeRecord({
110
+ id: input.id,
111
+ kind: input.kind ?? existing?.kind ?? 'polling',
112
+ label: input.label,
113
+ state: existing?.state ?? 'stopped',
114
+ source: input.source,
115
+ intervalMs: input.intervalMs ?? existing?.intervalMs,
116
+ lastHeartbeatAt: existing?.lastHeartbeatAt,
117
+ lastCheckpoint: existing?.lastCheckpoint,
118
+ lastError: existing?.lastError,
119
+ sourceLagMs: existing?.sourceLagMs,
120
+ sourceStatus: existing?.sourceStatus,
121
+ degradedReason: existing?.degradedReason,
122
+ metadata: {
123
+ ...(existing?.metadata ?? {}),
124
+ ...(input.metadata ?? {}),
125
+ },
126
+ });
127
+ this.watchers.set(record.id, {
128
+ record,
129
+ run: input.run ?? this.buildRunStrategy(record),
130
+ });
131
+ this.persist();
132
+ this.runtimeDispatch?.syncWatcher(record, 'watchers.register');
133
+ if (wasRunning) {
134
+ return this.startWatcher(record.id) ?? record;
135
+ }
136
+ return record;
137
+ }
138
+ registerPollingWatcher(input) {
139
+ return this.registerWatcher({
140
+ id: input.id,
141
+ label: input.label,
142
+ kind: 'polling',
143
+ source: input.source,
144
+ intervalMs: input.intervalMs,
145
+ metadata: {
146
+ ...input.source.metadata,
147
+ runMode: 'polling',
148
+ },
149
+ run: input.run,
150
+ });
151
+ }
152
+ list() {
153
+ this.ensureLoaded();
154
+ const refreshed = [];
155
+ let changed = false;
156
+ for (const watcher of this.watchers.values()) {
157
+ const normalized = this.normalizeRecord(watcher.record);
158
+ refreshed.push(normalized);
159
+ if (normalized !== watcher.record) {
160
+ this.watchers.set(normalized.id, { ...watcher, record: normalized });
161
+ changed = true;
162
+ }
163
+ }
164
+ if (changed) {
165
+ this.persist();
166
+ }
167
+ return sortWatchers(refreshed);
168
+ }
169
+ getWatcher(id) {
170
+ this.ensureLoaded();
171
+ const watcher = this.watchers.get(id);
172
+ if (!watcher)
173
+ return null;
174
+ const normalized = this.normalizeRecord(watcher.record);
175
+ if (normalized !== watcher.record) {
176
+ this.watchers.set(id, { ...watcher, record: normalized });
177
+ this.persist();
178
+ this.runtimeDispatch?.syncWatcher(normalized, 'watchers.refresh');
179
+ }
180
+ return normalized;
181
+ }
182
+ startWatcher(id) {
183
+ this.ensureLoaded();
184
+ const watcher = this.watchers.get(id);
185
+ if (!watcher)
186
+ return null;
187
+ if (this.timers.has(id))
188
+ return watcher.record;
189
+ const started = this.normalizeRecord({
190
+ ...watcher.record,
191
+ state: 'running',
192
+ lastHeartbeatAt: now(),
193
+ sourceStatus: 'healthy',
194
+ degradedReason: undefined,
195
+ sourceLagMs: 0,
196
+ });
197
+ this.watchers.set(id, { ...watcher, record: started });
198
+ this.persist();
199
+ this.runtimeDispatch?.syncWatcher(started, 'watchers.start');
200
+ if (this.runtimeBus) {
201
+ emitWatcherStarted(this.runtimeBus, {
202
+ sessionId: 'watchers',
203
+ source: 'watcher-registry',
204
+ traceId: id,
205
+ }, {
206
+ watcherId: id,
207
+ sourceKind: toWatcherSourceKind(started.kind),
208
+ name: started.label,
209
+ });
210
+ }
211
+ if (started.kind !== 'manual' && Number(started.intervalMs ?? 0) > 0) {
212
+ const timer = setInterval(() => {
213
+ void this.runWatcher(id);
214
+ }, started.intervalMs ?? 60_000);
215
+ this.timers.set(id, timer);
216
+ void this.runWatcher(id);
217
+ }
218
+ return started;
219
+ }
220
+ stopWatcher(id, reason = 'stopped') {
221
+ this.ensureLoaded();
222
+ const watcher = this.watchers.get(id);
223
+ if (!watcher)
224
+ return null;
225
+ const timer = this.timers.get(id);
226
+ if (timer)
227
+ clearInterval(timer);
228
+ this.timers.delete(id);
229
+ const stopped = this.normalizeRecord({
230
+ ...watcher.record,
231
+ state: 'stopped',
232
+ sourceStatus: 'unknown',
233
+ });
234
+ this.watchers.set(id, { ...watcher, record: stopped });
235
+ this.persist();
236
+ this.runtimeDispatch?.syncWatcher(stopped, 'watchers.stop');
237
+ if (this.runtimeBus) {
238
+ emitWatcherStopped(this.runtimeBus, {
239
+ sessionId: 'watchers',
240
+ source: 'watcher-registry',
241
+ traceId: id,
242
+ }, {
243
+ watcherId: id,
244
+ sourceKind: toWatcherSourceKind(stopped.kind),
245
+ reason,
246
+ });
247
+ }
248
+ return stopped;
249
+ }
250
+ async runWatcherNow(id) {
251
+ this.ensureLoaded();
252
+ const watcher = this.watchers.get(id);
253
+ if (!watcher)
254
+ return null;
255
+ await this.runWatcher(id);
256
+ return this.getWatcher(id);
257
+ }
258
+ removeWatcher(id) {
259
+ this.ensureLoaded();
260
+ const watcher = this.watchers.get(id);
261
+ if (!watcher)
262
+ return false;
263
+ this.stopWatcher(id, 'removed');
264
+ const removed = this.watchers.delete(id);
265
+ if (removed) {
266
+ this.persist();
267
+ this.runtimeDispatch?.syncWatcher({
268
+ ...watcher.record,
269
+ state: 'stopped',
270
+ metadata: {
271
+ ...watcher.record.metadata,
272
+ removed: true,
273
+ },
274
+ }, 'watchers.remove');
275
+ }
276
+ return removed;
277
+ }
278
+ ensureLoaded() {
279
+ if (this.loaded)
280
+ return;
281
+ const snapshot = loadWatcherSnapshotFromPath(this.storePath);
282
+ if (snapshot) {
283
+ this.watchers.clear();
284
+ for (const record of snapshot.watchers) {
285
+ const normalized = this.normalizeRecord(record);
286
+ this.watchers.set(normalized.id, {
287
+ record: normalized,
288
+ run: this.buildRunStrategy(normalized),
289
+ });
290
+ }
291
+ }
292
+ this.loaded = true;
293
+ for (const watcher of this.watchers.values()) {
294
+ const normalized = this.normalizeRecord(watcher.record);
295
+ this.watchers.set(normalized.id, {
296
+ ...watcher,
297
+ record: normalized,
298
+ run: watcher.run ?? this.buildRunStrategy(normalized),
299
+ });
300
+ if ((normalized.state === 'running' || normalized.state === 'degraded' || normalized.state === 'starting')
301
+ && normalized.kind !== 'manual'
302
+ && Number(normalized.intervalMs ?? 0) > 0) {
303
+ const timer = setInterval(() => {
304
+ void this.runWatcher(normalized.id);
305
+ }, normalized.intervalMs ?? 60_000);
306
+ this.timers.set(normalized.id, timer);
307
+ }
308
+ }
309
+ }
310
+ normalizeRecord(record) {
311
+ const freshness = sourceStatusFor(record);
312
+ const state = freshness.nextState ?? record.state;
313
+ return {
314
+ ...record,
315
+ state,
316
+ ...(freshness.sourceLagMs !== undefined ? { sourceLagMs: freshness.sourceLagMs } : {}),
317
+ sourceStatus: freshness.sourceStatus,
318
+ ...(freshness.degradedReason ? { degradedReason: freshness.degradedReason } : {}),
319
+ };
320
+ }
321
+ async runWatcher(id) {
322
+ if (this.inFlight.has(id))
323
+ return;
324
+ const watcher = this.watchers.get(id);
325
+ if (!watcher)
326
+ return;
327
+ this.inFlight.add(id);
328
+ try {
329
+ const checkpoint = await watcher.run();
330
+ const updated = this.normalizeRecord({
331
+ ...watcher.record,
332
+ state: 'running',
333
+ lastHeartbeatAt: now(),
334
+ lastCheckpoint: checkpoint ? String(checkpoint) : watcher.record.lastCheckpoint,
335
+ lastError: undefined,
336
+ sourceStatus: 'healthy',
337
+ sourceLagMs: 0,
338
+ degradedReason: undefined,
339
+ });
340
+ this.watchers.set(id, { ...watcher, record: updated });
341
+ this.persist();
342
+ this.runtimeDispatch?.syncWatcher(updated, 'watchers.heartbeat');
343
+ if (this.runtimeBus) {
344
+ emitWatcherHeartbeat(this.runtimeBus, {
345
+ sessionId: 'watchers',
346
+ source: 'watcher-registry',
347
+ traceId: id,
348
+ }, {
349
+ watcherId: id,
350
+ sourceKind: toWatcherSourceKind(updated.kind),
351
+ seenAt: updated.lastHeartbeatAt ?? now(),
352
+ checkpoint: updated.lastCheckpoint ?? '',
353
+ });
354
+ }
355
+ }
356
+ catch (error) {
357
+ const failed = this.normalizeRecord({
358
+ ...watcher.record,
359
+ state: 'failed',
360
+ lastError: summarizeError(error),
361
+ sourceStatus: 'failed',
362
+ degradedReason: summarizeError(error),
363
+ });
364
+ this.watchers.set(id, { ...watcher, record: failed });
365
+ this.persist();
366
+ this.runtimeDispatch?.syncWatcher(failed, 'watchers.failed');
367
+ if (this.runtimeBus) {
368
+ emitWatcherFailed(this.runtimeBus, {
369
+ sessionId: 'watchers',
370
+ source: 'watcher-registry',
371
+ traceId: id,
372
+ }, {
373
+ watcherId: id,
374
+ sourceKind: toWatcherSourceKind(failed.kind),
375
+ error: failed.lastError ?? 'watcher failed',
376
+ retryable: true,
377
+ });
378
+ }
379
+ }
380
+ finally {
381
+ this.inFlight.delete(id);
382
+ }
383
+ }
384
+ buildRunStrategy(record) {
385
+ const metadata = record.metadata ?? {};
386
+ const sourceMetadata = record.source.metadata ?? {};
387
+ const merged = { ...sourceMetadata, ...metadata };
388
+ if (typeof merged.run === 'string' && merged.run.trim().length > 0) {
389
+ return () => merged.run;
390
+ }
391
+ if (record.kind === 'filesystem') {
392
+ const path = typeof merged.path === 'string' ? merged.path : typeof merged.filePath === 'string' ? merged.filePath : '';
393
+ return () => {
394
+ if (!path)
395
+ return `${record.id}:filesystem-no-path`;
396
+ if (!existsSync(path))
397
+ return `${path}:missing`;
398
+ const stat = statSync(path);
399
+ return `${path}:${stat.size}:${Math.floor(stat.mtimeMs)}`;
400
+ };
401
+ }
402
+ if (record.kind === 'webhook') {
403
+ const url = typeof merged.url === 'string' ? merged.url : '';
404
+ return async () => {
405
+ if (!url)
406
+ return `${record.id}:webhook-no-url`;
407
+ const response = await fetch(url, {
408
+ method: typeof merged.method === 'string' ? merged.method.toUpperCase() : 'GET',
409
+ headers: typeof merged.headers === 'object' && merged.headers !== null
410
+ ? Object.fromEntries(Object.entries(merged.headers).filter(([, value]) => typeof value === 'string'))
411
+ : undefined,
412
+ });
413
+ const text = await response.text().catch(() => '');
414
+ return `${response.status}:${text.slice(0, 120)}`;
415
+ };
416
+ }
417
+ if (record.kind === 'integration') {
418
+ return () => `integration:${record.source.id}:${record.label}`;
419
+ }
420
+ if (record.kind === 'socket') {
421
+ return () => `socket:${typeof merged.address === 'string' ? merged.address : record.label}`;
422
+ }
423
+ if (record.kind === 'manual') {
424
+ return () => `${record.label}:${new Date().toISOString()}`;
425
+ }
426
+ const url = typeof merged.url === 'string' ? merged.url : typeof merged.endpoint === 'string' ? merged.endpoint : '';
427
+ if (url) {
428
+ return async () => {
429
+ const response = await fetch(url, {
430
+ method: typeof merged.method === 'string' ? merged.method.toUpperCase() : 'GET',
431
+ headers: typeof merged.headers === 'object' && merged.headers !== null
432
+ ? Object.fromEntries(Object.entries(merged.headers).filter(([, value]) => typeof value === 'string'))
433
+ : undefined,
434
+ });
435
+ const text = await response.text().catch(() => '');
436
+ return `${response.status}:${text.slice(0, 120)}`;
437
+ };
438
+ }
439
+ return () => `${record.id}:${record.kind}:${Date.now()}`;
440
+ }
441
+ persist() {
442
+ saveWatcherSnapshotToPath(sortWatchers([...this.watchers.values()].map((entry) => entry.record)), this.storePath);
443
+ for (const watcher of this.watchers.values()) {
444
+ this.runtimeDispatch?.syncWatcher(watcher.record, 'watchers.persist');
445
+ }
446
+ }
447
+ }
@@ -4,7 +4,7 @@ function sortWatchers(watchers) {
4
4
  return [...watchers].sort((a, b) => a.label.localeCompare(b.label) || a.id.localeCompare(b.id));
5
5
  }
6
6
  export function getWatcherStorePath(rootPath) {
7
- return join(rootPath, '.goodvibes', 'tui', 'watchers.json');
7
+ return join(rootPath, '.goodvibes', 'goodvibes', 'watchers.json');
8
8
  }
9
9
  export function resolveWatcherStorePath(storePath) {
10
10
  if (!storePath) {
@@ -0,0 +1,12 @@
1
+ export type { WebSearchEvidence, WebSearchInstantAnswer, WebSearchProvider, WebSearchProviderCapability, WebSearchProviderDescriptor, WebSearchProviderResponse, WebSearchRelatedTopic, WebSearchRequest, WebSearchResponse, WebSearchResult, WebSearchResultType, WebSearchSafeSearch, WebSearchTimeRange, WebSearchVerbosity, } from '@pellux/goodvibes-sdk/platform/web-search/types';
2
+ export { WebSearchProviderRegistry } from './provider-registry.js';
3
+ export { WebSearchService } from './service.js';
4
+ export type { WebSearchServiceStatus } from './service.js';
5
+ export { createBraveSearchProvider } from './providers/brave.js';
6
+ export { createDuckDuckGoProvider } from './providers/duckduckgo.js';
7
+ export { createExaSearchProvider } from './providers/exa.js';
8
+ export { createFirecrawlSearchProvider } from './providers/firecrawl.js';
9
+ export { createPerplexitySearchProvider } from './providers/perplexity.js';
10
+ export { createSearxngSearchProvider } from './providers/searxng.js';
11
+ export { createTavilySearchProvider } from './providers/tavily.js';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/web-search/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { WebSearchProviderRegistry } from './provider-registry.js';
2
+ export { WebSearchService } from './service.js';
3
+ export { createBraveSearchProvider } from './providers/brave.js';
4
+ export { createDuckDuckGoProvider } from './providers/duckduckgo.js';
5
+ export { createExaSearchProvider } from './providers/exa.js';
6
+ export { createFirecrawlSearchProvider } from './providers/firecrawl.js';
7
+ export { createPerplexitySearchProvider } from './providers/perplexity.js';
8
+ export { createSearxngSearchProvider } from './providers/searxng.js';
9
+ export { createTavilySearchProvider } from './providers/tavily.js';
@@ -0,0 +1,14 @@
1
+ import type { WebSearchProvider, WebSearchProviderDescriptor } from '@pellux/goodvibes-sdk/platform/web-search/types';
2
+ import type { SearchProviderContext } from './providers/shared.js';
3
+ export declare class WebSearchProviderRegistry {
4
+ private readonly providers;
5
+ constructor(context: SearchProviderContext);
6
+ register(provider: WebSearchProvider, options?: {
7
+ readonly replace?: boolean;
8
+ }): () => void;
9
+ unregister(id: string): boolean;
10
+ get(id: string): WebSearchProvider | null;
11
+ list(): WebSearchProviderDescriptor[];
12
+ find(providerId?: string): WebSearchProvider | null;
13
+ }
14
+ //# sourceMappingURL=provider-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-registry.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/web-search/provider-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAC5B,MAAM,iDAAiD,CAAC;AAQzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwC;gBAEtD,OAAO,EAAE,qBAAqB;IAU1C,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,GAAE;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO,GAAG,MAAM,IAAI;IAa/F,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAI/B,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI;IAIzC,IAAI,IAAI,2BAA2B,EAAE;IAYrC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI;CAIpD"}
@@ -0,0 +1,55 @@
1
+ import { createBraveSearchProvider } from './providers/brave.js';
2
+ import { createDuckDuckGoProvider } from './providers/duckduckgo.js';
3
+ import { createExaSearchProvider } from './providers/exa.js';
4
+ import { createFirecrawlSearchProvider } from './providers/firecrawl.js';
5
+ import { createPerplexitySearchProvider } from './providers/perplexity.js';
6
+ import { createSearxngSearchProvider } from './providers/searxng.js';
7
+ import { createTavilySearchProvider } from './providers/tavily.js';
8
+ export class WebSearchProviderRegistry {
9
+ providers = new Map();
10
+ constructor(context) {
11
+ this.register(createDuckDuckGoProvider(), { replace: true });
12
+ this.register(createSearxngSearchProvider(context), { replace: true });
13
+ this.register(createBraveSearchProvider(context), { replace: true });
14
+ this.register(createExaSearchProvider(context), { replace: true });
15
+ this.register(createFirecrawlSearchProvider(context), { replace: true });
16
+ this.register(createTavilySearchProvider(context), { replace: true });
17
+ this.register(createPerplexitySearchProvider(context), { replace: true });
18
+ }
19
+ register(provider, options = {}) {
20
+ const id = provider.id.trim();
21
+ if (!id)
22
+ throw new Error('Web search provider id is required');
23
+ if (this.providers.has(id) && !options.replace) {
24
+ throw new Error(`Web search provider already registered: ${id}`);
25
+ }
26
+ const registered = { ...provider, id };
27
+ this.providers.set(id, registered);
28
+ return () => {
29
+ if (this.providers.get(id) === registered)
30
+ this.unregister(id);
31
+ };
32
+ }
33
+ unregister(id) {
34
+ return this.providers.delete(id);
35
+ }
36
+ get(id) {
37
+ return this.providers.get(id) ?? null;
38
+ }
39
+ list() {
40
+ return [...this.providers.values()]
41
+ .map((provider) => provider.descriptor?.() ?? {
42
+ id: provider.id,
43
+ label: provider.label,
44
+ capabilities: [...provider.capabilities],
45
+ requiresAuth: false,
46
+ configured: true,
47
+ })
48
+ .sort((a, b) => a.label.localeCompare(b.label) || a.id.localeCompare(b.id));
49
+ }
50
+ find(providerId) {
51
+ if (providerId)
52
+ return this.get(providerId);
53
+ return [...this.providers.values()][0] ?? null;
54
+ }
55
+ }
@@ -0,0 +1,4 @@
1
+ import type { WebSearchProvider } from '@pellux/goodvibes-sdk/platform/web-search/types';
2
+ import { type SearchProviderContext } from './shared.js';
3
+ export declare function createBraveSearchProvider(context: SearchProviderContext): WebSearchProvider;
4
+ //# sourceMappingURL=brave.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brave.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/web-search/providers/brave.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAA+C,MAAM,iDAAiD,CAAC;AACtI,OAAO,EAML,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAmBrB,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,qBAAqB,GAAG,iBAAiB,CAwE3F"}