@growthub/cli 0.3.11 → 0.3.13

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 (1774) hide show
  1. package/dist/index.js +186 -183
  2. package/dist/index.js.map +3 -3
  3. package/package.json +1 -7
  4. package/dist/runtime/server/dist/adapters/codex-models.d.ts +0 -4
  5. package/dist/runtime/server/dist/adapters/codex-models.d.ts.map +0 -1
  6. package/dist/runtime/server/dist/adapters/codex-models.js +0 -98
  7. package/dist/runtime/server/dist/adapters/codex-models.js.map +0 -1
  8. package/dist/runtime/server/dist/adapters/cursor-models.d.ts +0 -13
  9. package/dist/runtime/server/dist/adapters/cursor-models.d.ts.map +0 -1
  10. package/dist/runtime/server/dist/adapters/cursor-models.js +0 -148
  11. package/dist/runtime/server/dist/adapters/cursor-models.js.map +0 -1
  12. package/dist/runtime/server/dist/adapters/http/execute.d.ts +0 -3
  13. package/dist/runtime/server/dist/adapters/http/execute.d.ts.map +0 -1
  14. package/dist/runtime/server/dist/adapters/http/execute.js +0 -39
  15. package/dist/runtime/server/dist/adapters/http/execute.js.map +0 -1
  16. package/dist/runtime/server/dist/adapters/http/index.d.ts +0 -3
  17. package/dist/runtime/server/dist/adapters/http/index.d.ts.map +0 -1
  18. package/dist/runtime/server/dist/adapters/http/index.js +0 -20
  19. package/dist/runtime/server/dist/adapters/http/index.js.map +0 -1
  20. package/dist/runtime/server/dist/adapters/http/test.d.ts +0 -3
  21. package/dist/runtime/server/dist/adapters/http/test.d.ts.map +0 -1
  22. package/dist/runtime/server/dist/adapters/http/test.js +0 -106
  23. package/dist/runtime/server/dist/adapters/http/test.js.map +0 -1
  24. package/dist/runtime/server/dist/adapters/index.d.ts +0 -4
  25. package/dist/runtime/server/dist/adapters/index.d.ts.map +0 -1
  26. package/dist/runtime/server/dist/adapters/index.js +0 -3
  27. package/dist/runtime/server/dist/adapters/index.js.map +0 -1
  28. package/dist/runtime/server/dist/adapters/process/execute.d.ts +0 -3
  29. package/dist/runtime/server/dist/adapters/process/execute.d.ts.map +0 -1
  30. package/dist/runtime/server/dist/adapters/process/execute.js +0 -63
  31. package/dist/runtime/server/dist/adapters/process/execute.js.map +0 -1
  32. package/dist/runtime/server/dist/adapters/process/index.d.ts +0 -3
  33. package/dist/runtime/server/dist/adapters/process/index.d.ts.map +0 -1
  34. package/dist/runtime/server/dist/adapters/process/index.js +0 -23
  35. package/dist/runtime/server/dist/adapters/process/index.js.map +0 -1
  36. package/dist/runtime/server/dist/adapters/process/test.d.ts +0 -3
  37. package/dist/runtime/server/dist/adapters/process/test.d.ts.map +0 -1
  38. package/dist/runtime/server/dist/adapters/process/test.js +0 -77
  39. package/dist/runtime/server/dist/adapters/process/test.js.map +0 -1
  40. package/dist/runtime/server/dist/adapters/registry.d.ts +0 -9
  41. package/dist/runtime/server/dist/adapters/registry.d.ts.map +0 -1
  42. package/dist/runtime/server/dist/adapters/registry.js +0 -142
  43. package/dist/runtime/server/dist/adapters/registry.js.map +0 -1
  44. package/dist/runtime/server/dist/adapters/types.d.ts +0 -2
  45. package/dist/runtime/server/dist/adapters/types.d.ts.map +0 -1
  46. package/dist/runtime/server/dist/adapters/types.js +0 -2
  47. package/dist/runtime/server/dist/adapters/types.js.map +0 -1
  48. package/dist/runtime/server/dist/adapters/utils.d.ts +0 -10
  49. package/dist/runtime/server/dist/adapters/utils.d.ts.map +0 -1
  50. package/dist/runtime/server/dist/adapters/utils.js +0 -14
  51. package/dist/runtime/server/dist/adapters/utils.js.map +0 -1
  52. package/dist/runtime/server/dist/agent-auth-jwt.d.ts +0 -14
  53. package/dist/runtime/server/dist/agent-auth-jwt.d.ts.map +0 -1
  54. package/dist/runtime/server/dist/agent-auth-jwt.js +0 -117
  55. package/dist/runtime/server/dist/agent-auth-jwt.js.map +0 -1
  56. package/dist/runtime/server/dist/app.d.ts +0 -26
  57. package/dist/runtime/server/dist/app.d.ts.map +0 -1
  58. package/dist/runtime/server/dist/app.js +0 -310
  59. package/dist/runtime/server/dist/app.js.map +0 -1
  60. package/dist/runtime/server/dist/attachment-types.d.ts +0 -33
  61. package/dist/runtime/server/dist/attachment-types.d.ts.map +0 -1
  62. package/dist/runtime/server/dist/attachment-types.js +0 -67
  63. package/dist/runtime/server/dist/attachment-types.js.map +0 -1
  64. package/dist/runtime/server/dist/auth/better-auth.d.ts +0 -24
  65. package/dist/runtime/server/dist/auth/better-auth.d.ts.map +0 -1
  66. package/dist/runtime/server/dist/auth/better-auth.js +0 -108
  67. package/dist/runtime/server/dist/auth/better-auth.js.map +0 -1
  68. package/dist/runtime/server/dist/board-claim.d.ts +0 -23
  69. package/dist/runtime/server/dist/board-claim.d.ts.map +0 -1
  70. package/dist/runtime/server/dist/board-claim.js +0 -115
  71. package/dist/runtime/server/dist/board-claim.js.map +0 -1
  72. package/dist/runtime/server/dist/config-file.d.ts +0 -4
  73. package/dist/runtime/server/dist/config-file.d.ts.map +0 -1
  74. package/dist/runtime/server/dist/config-file.js +0 -25
  75. package/dist/runtime/server/dist/config-file.js.map +0 -1
  76. package/dist/runtime/server/dist/config.d.ts +0 -39
  77. package/dist/runtime/server/dist/config.d.ts.map +0 -1
  78. package/dist/runtime/server/dist/config.js +0 -164
  79. package/dist/runtime/server/dist/config.js.map +0 -1
  80. package/dist/runtime/server/dist/errors.d.ts +0 -12
  81. package/dist/runtime/server/dist/errors.d.ts.map +0 -1
  82. package/dist/runtime/server/dist/errors.js +0 -28
  83. package/dist/runtime/server/dist/errors.js.map +0 -1
  84. package/dist/runtime/server/dist/home-paths.d.ts +0 -17
  85. package/dist/runtime/server/dist/home-paths.d.ts.map +0 -1
  86. package/dist/runtime/server/dist/home-paths.js +0 -75
  87. package/dist/runtime/server/dist/home-paths.js.map +0 -1
  88. package/dist/runtime/server/dist/index.d.ts +0 -10
  89. package/dist/runtime/server/dist/index.d.ts.map +0 -1
  90. package/dist/runtime/server/dist/index.js +0 -567
  91. package/dist/runtime/server/dist/index.js.map +0 -1
  92. package/dist/runtime/server/dist/log-redaction.d.ts +0 -10
  93. package/dist/runtime/server/dist/log-redaction.d.ts.map +0 -1
  94. package/dist/runtime/server/dist/log-redaction.js +0 -110
  95. package/dist/runtime/server/dist/log-redaction.js.map +0 -1
  96. package/dist/runtime/server/dist/middleware/auth.d.ts +0 -12
  97. package/dist/runtime/server/dist/middleware/auth.d.ts.map +0 -1
  98. package/dist/runtime/server/dist/middleware/auth.js +0 -124
  99. package/dist/runtime/server/dist/middleware/auth.js.map +0 -1
  100. package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts +0 -3
  101. package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts.map +0 -1
  102. package/dist/runtime/server/dist/middleware/board-mutation-guard.js +0 -60
  103. package/dist/runtime/server/dist/middleware/board-mutation-guard.js.map +0 -1
  104. package/dist/runtime/server/dist/middleware/error-handler.d.ts +0 -17
  105. package/dist/runtime/server/dist/middleware/error-handler.d.ts.map +0 -1
  106. package/dist/runtime/server/dist/middleware/error-handler.js +0 -37
  107. package/dist/runtime/server/dist/middleware/error-handler.js.map +0 -1
  108. package/dist/runtime/server/dist/middleware/index.d.ts +0 -4
  109. package/dist/runtime/server/dist/middleware/index.d.ts.map +0 -1
  110. package/dist/runtime/server/dist/middleware/index.js +0 -4
  111. package/dist/runtime/server/dist/middleware/index.js.map +0 -1
  112. package/dist/runtime/server/dist/middleware/logger.d.ts +0 -4
  113. package/dist/runtime/server/dist/middleware/logger.d.ts.map +0 -1
  114. package/dist/runtime/server/dist/middleware/logger.js +0 -87
  115. package/dist/runtime/server/dist/middleware/logger.js.map +0 -1
  116. package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts +0 -11
  117. package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts.map +0 -1
  118. package/dist/runtime/server/dist/middleware/private-hostname-guard.js +0 -78
  119. package/dist/runtime/server/dist/middleware/private-hostname-guard.js.map +0 -1
  120. package/dist/runtime/server/dist/middleware/validate.d.ts +0 -4
  121. package/dist/runtime/server/dist/middleware/validate.d.ts.map +0 -1
  122. package/dist/runtime/server/dist/middleware/validate.js +0 -7
  123. package/dist/runtime/server/dist/middleware/validate.js.map +0 -1
  124. package/dist/runtime/server/dist/paths.d.ts +0 -3
  125. package/dist/runtime/server/dist/paths.d.ts.map +0 -1
  126. package/dist/runtime/server/dist/paths.js +0 -31
  127. package/dist/runtime/server/dist/paths.js.map +0 -1
  128. package/dist/runtime/server/dist/realtime/live-events-ws.d.ts +0 -28
  129. package/dist/runtime/server/dist/realtime/live-events-ws.d.ts.map +0 -1
  130. package/dist/runtime/server/dist/realtime/live-events-ws.js +0 -187
  131. package/dist/runtime/server/dist/realtime/live-events-ws.js.map +0 -1
  132. package/dist/runtime/server/dist/redaction.d.ts +0 -4
  133. package/dist/runtime/server/dist/redaction.d.ts.map +0 -1
  134. package/dist/runtime/server/dist/redaction.js +0 -63
  135. package/dist/runtime/server/dist/redaction.js.map +0 -1
  136. package/dist/runtime/server/dist/routes/access.d.ts +0 -56
  137. package/dist/runtime/server/dist/routes/access.d.ts.map +0 -1
  138. package/dist/runtime/server/dist/routes/access.js +0 -2125
  139. package/dist/runtime/server/dist/routes/access.js.map +0 -1
  140. package/dist/runtime/server/dist/routes/activity.d.ts +0 -3
  141. package/dist/runtime/server/dist/routes/activity.d.ts.map +0 -1
  142. package/dist/runtime/server/dist/routes/activity.js +0 -78
  143. package/dist/runtime/server/dist/routes/activity.js.map +0 -1
  144. package/dist/runtime/server/dist/routes/agents.d.ts +0 -3
  145. package/dist/runtime/server/dist/routes/agents.d.ts.map +0 -1
  146. package/dist/runtime/server/dist/routes/agents.js +0 -1485
  147. package/dist/runtime/server/dist/routes/agents.js.map +0 -1
  148. package/dist/runtime/server/dist/routes/approvals.d.ts +0 -3
  149. package/dist/runtime/server/dist/routes/approvals.d.ts.map +0 -1
  150. package/dist/runtime/server/dist/routes/approvals.js +0 -275
  151. package/dist/runtime/server/dist/routes/approvals.js.map +0 -1
  152. package/dist/runtime/server/dist/routes/assets.d.ts +0 -4
  153. package/dist/runtime/server/dist/routes/assets.d.ts.map +0 -1
  154. package/dist/runtime/server/dist/routes/assets.js +0 -309
  155. package/dist/runtime/server/dist/routes/assets.js.map +0 -1
  156. package/dist/runtime/server/dist/routes/authz.d.ts +0 -15
  157. package/dist/runtime/server/dist/routes/authz.d.ts.map +0 -1
  158. package/dist/runtime/server/dist/routes/authz.js +0 -40
  159. package/dist/runtime/server/dist/routes/authz.js.map +0 -1
  160. package/dist/runtime/server/dist/routes/companies.d.ts +0 -3
  161. package/dist/runtime/server/dist/routes/companies.d.ts.map +0 -1
  162. package/dist/runtime/server/dist/routes/companies.js +0 -196
  163. package/dist/runtime/server/dist/routes/companies.js.map +0 -1
  164. package/dist/runtime/server/dist/routes/costs.d.ts +0 -3
  165. package/dist/runtime/server/dist/routes/costs.d.ts.map +0 -1
  166. package/dist/runtime/server/dist/routes/costs.js +0 -268
  167. package/dist/runtime/server/dist/routes/costs.js.map +0 -1
  168. package/dist/runtime/server/dist/routes/dashboard.d.ts +0 -3
  169. package/dist/runtime/server/dist/routes/dashboard.d.ts.map +0 -1
  170. package/dist/runtime/server/dist/routes/dashboard.js +0 -15
  171. package/dist/runtime/server/dist/routes/dashboard.js.map +0 -1
  172. package/dist/runtime/server/dist/routes/execution-workspaces.d.ts +0 -3
  173. package/dist/runtime/server/dist/routes/execution-workspaces.d.ts.map +0 -1
  174. package/dist/runtime/server/dist/routes/execution-workspaces.js +0 -165
  175. package/dist/runtime/server/dist/routes/execution-workspaces.js.map +0 -1
  176. package/dist/runtime/server/dist/routes/goals.d.ts +0 -3
  177. package/dist/runtime/server/dist/routes/goals.d.ts.map +0 -1
  178. package/dist/runtime/server/dist/routes/goals.js +0 -95
  179. package/dist/runtime/server/dist/routes/goals.js.map +0 -1
  180. package/dist/runtime/server/dist/routes/gtm.d.ts +0 -3
  181. package/dist/runtime/server/dist/routes/gtm.d.ts.map +0 -1
  182. package/dist/runtime/server/dist/routes/gtm.js +0 -478
  183. package/dist/runtime/server/dist/routes/gtm.js.map +0 -1
  184. package/dist/runtime/server/dist/routes/health.d.ts +0 -10
  185. package/dist/runtime/server/dist/routes/health.d.ts.map +0 -1
  186. package/dist/runtime/server/dist/routes/health.js +0 -53
  187. package/dist/runtime/server/dist/routes/health.js.map +0 -1
  188. package/dist/runtime/server/dist/routes/index.d.ts +0 -16
  189. package/dist/runtime/server/dist/routes/index.d.ts.map +0 -1
  190. package/dist/runtime/server/dist/routes/index.js +0 -16
  191. package/dist/runtime/server/dist/routes/index.js.map +0 -1
  192. package/dist/runtime/server/dist/routes/instance-settings.d.ts +0 -3
  193. package/dist/runtime/server/dist/routes/instance-settings.d.ts.map +0 -1
  194. package/dist/runtime/server/dist/routes/instance-settings.js +0 -46
  195. package/dist/runtime/server/dist/routes/instance-settings.js.map +0 -1
  196. package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts +0 -9
  197. package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts.map +0 -1
  198. package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js +0 -12
  199. package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js.map +0 -1
  200. package/dist/runtime/server/dist/routes/issues.d.ts +0 -4
  201. package/dist/runtime/server/dist/routes/issues.d.ts.map +0 -1
  202. package/dist/runtime/server/dist/routes/issues.js +0 -1454
  203. package/dist/runtime/server/dist/routes/issues.js.map +0 -1
  204. package/dist/runtime/server/dist/routes/llms.d.ts +0 -3
  205. package/dist/runtime/server/dist/routes/llms.d.ts.map +0 -1
  206. package/dist/runtime/server/dist/routes/llms.js +0 -78
  207. package/dist/runtime/server/dist/routes/llms.js.map +0 -1
  208. package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts +0 -69
  209. package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts.map +0 -1
  210. package/dist/runtime/server/dist/routes/plugin-ui-static.js +0 -411
  211. package/dist/runtime/server/dist/routes/plugin-ui-static.js.map +0 -1
  212. package/dist/runtime/server/dist/routes/plugins.d.ts +0 -120
  213. package/dist/runtime/server/dist/routes/plugins.d.ts.map +0 -1
  214. package/dist/runtime/server/dist/routes/plugins.js +0 -1784
  215. package/dist/runtime/server/dist/routes/plugins.js.map +0 -1
  216. package/dist/runtime/server/dist/routes/projects.d.ts +0 -3
  217. package/dist/runtime/server/dist/routes/projects.d.ts.map +0 -1
  218. package/dist/runtime/server/dist/routes/projects.js +0 -257
  219. package/dist/runtime/server/dist/routes/projects.js.map +0 -1
  220. package/dist/runtime/server/dist/routes/secrets.d.ts +0 -3
  221. package/dist/runtime/server/dist/routes/secrets.d.ts.map +0 -1
  222. package/dist/runtime/server/dist/routes/secrets.js +0 -128
  223. package/dist/runtime/server/dist/routes/secrets.js.map +0 -1
  224. package/dist/runtime/server/dist/routes/sidebar-badges.d.ts +0 -3
  225. package/dist/runtime/server/dist/routes/sidebar-badges.d.ts.map +0 -1
  226. package/dist/runtime/server/dist/routes/sidebar-badges.js +0 -45
  227. package/dist/runtime/server/dist/routes/sidebar-badges.js.map +0 -1
  228. package/dist/runtime/server/dist/routes/tickets.d.ts +0 -3
  229. package/dist/runtime/server/dist/routes/tickets.d.ts.map +0 -1
  230. package/dist/runtime/server/dist/routes/tickets.js +0 -112
  231. package/dist/runtime/server/dist/routes/tickets.js.map +0 -1
  232. package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts +0 -5
  233. package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts.map +0 -1
  234. package/dist/runtime/server/dist/secrets/external-stub-providers.js +0 -21
  235. package/dist/runtime/server/dist/secrets/external-stub-providers.js.map +0 -1
  236. package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts +0 -3
  237. package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts.map +0 -1
  238. package/dist/runtime/server/dist/secrets/local-encrypted-provider.js +0 -116
  239. package/dist/runtime/server/dist/secrets/local-encrypted-provider.js.map +0 -1
  240. package/dist/runtime/server/dist/secrets/provider-registry.d.ts +0 -5
  241. package/dist/runtime/server/dist/secrets/provider-registry.d.ts.map +0 -1
  242. package/dist/runtime/server/dist/secrets/provider-registry.js +0 -20
  243. package/dist/runtime/server/dist/secrets/provider-registry.js.map +0 -1
  244. package/dist/runtime/server/dist/secrets/types.d.ts +0 -21
  245. package/dist/runtime/server/dist/secrets/types.d.ts.map +0 -1
  246. package/dist/runtime/server/dist/secrets/types.js +0 -2
  247. package/dist/runtime/server/dist/secrets/types.js.map +0 -1
  248. package/dist/runtime/server/dist/services/access.d.ts +0 -93
  249. package/dist/runtime/server/dist/services/access.d.ts.map +0 -1
  250. package/dist/runtime/server/dist/services/access.js +0 -231
  251. package/dist/runtime/server/dist/services/access.js.map +0 -1
  252. package/dist/runtime/server/dist/services/activity-log.d.ts +0 -17
  253. package/dist/runtime/server/dist/services/activity-log.d.ts.map +0 -1
  254. package/dist/runtime/server/dist/services/activity-log.js +0 -68
  255. package/dist/runtime/server/dist/services/activity-log.js.map +0 -1
  256. package/dist/runtime/server/dist/services/activity.d.ts +0 -764
  257. package/dist/runtime/server/dist/services/activity.d.ts.map +0 -1
  258. package/dist/runtime/server/dist/services/activity.js +0 -105
  259. package/dist/runtime/server/dist/services/activity.js.map +0 -1
  260. package/dist/runtime/server/dist/services/agent-permissions.d.ts +0 -6
  261. package/dist/runtime/server/dist/services/agent-permissions.d.ts.map +0 -1
  262. package/dist/runtime/server/dist/services/agent-permissions.js +0 -18
  263. package/dist/runtime/server/dist/services/agent-permissions.js.map +0 -1
  264. package/dist/runtime/server/dist/services/agents.d.ts +0 -1670
  265. package/dist/runtime/server/dist/services/agents.d.ts.map +0 -1
  266. package/dist/runtime/server/dist/services/agents.js +0 -572
  267. package/dist/runtime/server/dist/services/agents.js.map +0 -1
  268. package/dist/runtime/server/dist/services/approvals.d.ts +0 -546
  269. package/dist/runtime/server/dist/services/approvals.d.ts.map +0 -1
  270. package/dist/runtime/server/dist/services/approvals.js +0 -206
  271. package/dist/runtime/server/dist/services/approvals.js.map +0 -1
  272. package/dist/runtime/server/dist/services/assets.d.ts +0 -33
  273. package/dist/runtime/server/dist/services/assets.d.ts.map +0 -1
  274. package/dist/runtime/server/dist/services/assets.js +0 -17
  275. package/dist/runtime/server/dist/services/assets.js.map +0 -1
  276. package/dist/runtime/server/dist/services/budgets.d.ts +0 -38
  277. package/dist/runtime/server/dist/services/budgets.d.ts.map +0 -1
  278. package/dist/runtime/server/dist/services/budgets.js +0 -784
  279. package/dist/runtime/server/dist/services/budgets.js.map +0 -1
  280. package/dist/runtime/server/dist/services/companies.d.ts +0 -124
  281. package/dist/runtime/server/dist/services/companies.d.ts.map +0 -1
  282. package/dist/runtime/server/dist/services/companies.js +0 -256
  283. package/dist/runtime/server/dist/services/companies.js.map +0 -1
  284. package/dist/runtime/server/dist/services/company-portability.d.ts +0 -8
  285. package/dist/runtime/server/dist/services/company-portability.d.ts.map +0 -1
  286. package/dist/runtime/server/dist/services/company-portability.js +0 -869
  287. package/dist/runtime/server/dist/services/company-portability.js.map +0 -1
  288. package/dist/runtime/server/dist/services/costs.d.ts +0 -114
  289. package/dist/runtime/server/dist/services/costs.d.ts.map +0 -1
  290. package/dist/runtime/server/dist/services/costs.js +0 -294
  291. package/dist/runtime/server/dist/services/costs.js.map +0 -1
  292. package/dist/runtime/server/dist/services/cron.d.ts +0 -80
  293. package/dist/runtime/server/dist/services/cron.d.ts.map +0 -1
  294. package/dist/runtime/server/dist/services/cron.js +0 -300
  295. package/dist/runtime/server/dist/services/cron.js.map +0 -1
  296. package/dist/runtime/server/dist/services/dashboard.d.ts +0 -26
  297. package/dist/runtime/server/dist/services/dashboard.d.ts.map +0 -1
  298. package/dist/runtime/server/dist/services/dashboard.js +0 -98
  299. package/dist/runtime/server/dist/services/dashboard.js.map +0 -1
  300. package/dist/runtime/server/dist/services/documents.d.ts +0 -164
  301. package/dist/runtime/server/dist/services/documents.d.ts.map +0 -1
  302. package/dist/runtime/server/dist/services/documents.js +0 -382
  303. package/dist/runtime/server/dist/services/documents.js.map +0 -1
  304. package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts +0 -20
  305. package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts.map +0 -1
  306. package/dist/runtime/server/dist/services/execution-workspace-policy.js +0 -165
  307. package/dist/runtime/server/dist/services/execution-workspace-policy.js.map +0 -1
  308. package/dist/runtime/server/dist/services/execution-workspaces.d.ts +0 -19
  309. package/dist/runtime/server/dist/services/execution-workspaces.d.ts.map +0 -1
  310. package/dist/runtime/server/dist/services/execution-workspaces.js +0 -87
  311. package/dist/runtime/server/dist/services/execution-workspaces.js.map +0 -1
  312. package/dist/runtime/server/dist/services/finance.d.ts +0 -93
  313. package/dist/runtime/server/dist/services/finance.d.ts.map +0 -1
  314. package/dist/runtime/server/dist/services/finance.js +0 -120
  315. package/dist/runtime/server/dist/services/finance.js.map +0 -1
  316. package/dist/runtime/server/dist/services/goals.d.ts +0 -433
  317. package/dist/runtime/server/dist/services/goals.d.ts.map +0 -1
  318. package/dist/runtime/server/dist/services/goals.js +0 -54
  319. package/dist/runtime/server/dist/services/goals.js.map +0 -1
  320. package/dist/runtime/server/dist/services/gtm-state.d.ts +0 -6
  321. package/dist/runtime/server/dist/services/gtm-state.d.ts.map +0 -1
  322. package/dist/runtime/server/dist/services/gtm-state.js +0 -88
  323. package/dist/runtime/server/dist/services/gtm-state.js.map +0 -1
  324. package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts +0 -2
  325. package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts.map +0 -1
  326. package/dist/runtime/server/dist/services/heartbeat-run-summary.js +0 -30
  327. package/dist/runtime/server/dist/services/heartbeat-run-summary.js.map +0 -1
  328. package/dist/runtime/server/dist/services/heartbeat.d.ts +0 -796
  329. package/dist/runtime/server/dist/services/heartbeat.d.ts.map +0 -1
  330. package/dist/runtime/server/dist/services/heartbeat.js +0 -3046
  331. package/dist/runtime/server/dist/services/heartbeat.js.map +0 -1
  332. package/dist/runtime/server/dist/services/hire-hook.d.ts +0 -14
  333. package/dist/runtime/server/dist/services/hire-hook.d.ts.map +0 -1
  334. package/dist/runtime/server/dist/services/hire-hook.js +0 -85
  335. package/dist/runtime/server/dist/services/hire-hook.js.map +0 -1
  336. package/dist/runtime/server/dist/services/index.d.ts +0 -30
  337. package/dist/runtime/server/dist/services/index.d.ts.map +0 -1
  338. package/dist/runtime/server/dist/services/index.js +0 -30
  339. package/dist/runtime/server/dist/services/index.js.map +0 -1
  340. package/dist/runtime/server/dist/services/instance-settings.d.ts +0 -9
  341. package/dist/runtime/server/dist/services/instance-settings.d.ts.map +0 -1
  342. package/dist/runtime/server/dist/services/instance-settings.js +0 -80
  343. package/dist/runtime/server/dist/services/instance-settings.js.map +0 -1
  344. package/dist/runtime/server/dist/services/issue-approvals.d.ts +0 -56
  345. package/dist/runtime/server/dist/services/issue-approvals.d.ts.map +0 -1
  346. package/dist/runtime/server/dist/services/issue-approvals.js +0 -153
  347. package/dist/runtime/server/dist/services/issue-approvals.js.map +0 -1
  348. package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts +0 -15
  349. package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts.map +0 -1
  350. package/dist/runtime/server/dist/services/issue-goal-fallback.js +0 -15
  351. package/dist/runtime/server/dist/services/issue-goal-fallback.js.map +0 -1
  352. package/dist/runtime/server/dist/services/issues.d.ts +0 -536
  353. package/dist/runtime/server/dist/services/issues.d.ts.map +0 -1
  354. package/dist/runtime/server/dist/services/issues.js +0 -1321
  355. package/dist/runtime/server/dist/services/issues.js.map +0 -1
  356. package/dist/runtime/server/dist/services/live-events.d.ts +0 -17
  357. package/dist/runtime/server/dist/services/live-events.d.ts.map +0 -1
  358. package/dist/runtime/server/dist/services/live-events.js +0 -33
  359. package/dist/runtime/server/dist/services/live-events.js.map +0 -1
  360. package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts +0 -108
  361. package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts.map +0 -1
  362. package/dist/runtime/server/dist/services/plugin-capability-validator.js +0 -268
  363. package/dist/runtime/server/dist/services/plugin-capability-validator.js.map +0 -1
  364. package/dist/runtime/server/dist/services/plugin-config-validator.d.ts +0 -26
  365. package/dist/runtime/server/dist/services/plugin-config-validator.d.ts.map +0 -1
  366. package/dist/runtime/server/dist/services/plugin-config-validator.js +0 -41
  367. package/dist/runtime/server/dist/services/plugin-config-validator.js.map +0 -1
  368. package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts +0 -30
  369. package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts.map +0 -1
  370. package/dist/runtime/server/dist/services/plugin-dev-watcher.js +0 -241
  371. package/dist/runtime/server/dist/services/plugin-dev-watcher.js.map +0 -1
  372. package/dist/runtime/server/dist/services/plugin-event-bus.d.ts +0 -149
  373. package/dist/runtime/server/dist/services/plugin-event-bus.d.ts.map +0 -1
  374. package/dist/runtime/server/dist/services/plugin-event-bus.js +0 -258
  375. package/dist/runtime/server/dist/services/plugin-event-bus.js.map +0 -1
  376. package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts +0 -14
  377. package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts.map +0 -1
  378. package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js +0 -37
  379. package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js.map +0 -1
  380. package/dist/runtime/server/dist/services/plugin-host-services.d.ts +0 -13
  381. package/dist/runtime/server/dist/services/plugin-host-services.d.ts.map +0 -1
  382. package/dist/runtime/server/dist/services/plugin-host-services.js +0 -969
  383. package/dist/runtime/server/dist/services/plugin-host-services.js.map +0 -1
  384. package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts +0 -81
  385. package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts.map +0 -1
  386. package/dist/runtime/server/dist/services/plugin-job-coordinator.js +0 -172
  387. package/dist/runtime/server/dist/services/plugin-job-coordinator.js.map +0 -1
  388. package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts +0 -163
  389. package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts.map +0 -1
  390. package/dist/runtime/server/dist/services/plugin-job-scheduler.js +0 -454
  391. package/dist/runtime/server/dist/services/plugin-job-scheduler.js.map +0 -1
  392. package/dist/runtime/server/dist/services/plugin-job-store.d.ts +0 -208
  393. package/dist/runtime/server/dist/services/plugin-job-store.d.ts.map +0 -1
  394. package/dist/runtime/server/dist/services/plugin-job-store.js +0 -350
  395. package/dist/runtime/server/dist/services/plugin-job-store.js.map +0 -1
  396. package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts +0 -203
  397. package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts.map +0 -1
  398. package/dist/runtime/server/dist/services/plugin-lifecycle.js +0 -476
  399. package/dist/runtime/server/dist/services/plugin-lifecycle.js.map +0 -1
  400. package/dist/runtime/server/dist/services/plugin-loader.d.ts +0 -441
  401. package/dist/runtime/server/dist/services/plugin-loader.d.ts.map +0 -1
  402. package/dist/runtime/server/dist/services/plugin-loader.js +0 -1192
  403. package/dist/runtime/server/dist/services/plugin-loader.js.map +0 -1
  404. package/dist/runtime/server/dist/services/plugin-log-retention.d.ts +0 -20
  405. package/dist/runtime/server/dist/services/plugin-log-retention.d.ts.map +0 -1
  406. package/dist/runtime/server/dist/services/plugin-log-retention.js +0 -63
  407. package/dist/runtime/server/dist/services/plugin-log-retention.js.map +0 -1
  408. package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts +0 -79
  409. package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts.map +0 -1
  410. package/dist/runtime/server/dist/services/plugin-manifest-validator.js +0 -84
  411. package/dist/runtime/server/dist/services/plugin-manifest-validator.js.map +0 -1
  412. package/dist/runtime/server/dist/services/plugin-registry.d.ts +0 -2542
  413. package/dist/runtime/server/dist/services/plugin-registry.d.ts.map +0 -1
  414. package/dist/runtime/server/dist/services/plugin-registry.js +0 -539
  415. package/dist/runtime/server/dist/services/plugin-registry.js.map +0 -1
  416. package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts +0 -40
  417. package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts.map +0 -1
  418. package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js +0 -154
  419. package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js.map +0 -1
  420. package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts +0 -81
  421. package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts.map +0 -1
  422. package/dist/runtime/server/dist/services/plugin-secrets-handler.js +0 -275
  423. package/dist/runtime/server/dist/services/plugin-secrets-handler.js.map +0 -1
  424. package/dist/runtime/server/dist/services/plugin-state-store.d.ts +0 -92
  425. package/dist/runtime/server/dist/services/plugin-state-store.d.ts.map +0 -1
  426. package/dist/runtime/server/dist/services/plugin-state-store.js +0 -190
  427. package/dist/runtime/server/dist/services/plugin-state-store.js.map +0 -1
  428. package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts +0 -29
  429. package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts.map +0 -1
  430. package/dist/runtime/server/dist/services/plugin-stream-bus.js +0 -48
  431. package/dist/runtime/server/dist/services/plugin-stream-bus.js.map +0 -1
  432. package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts +0 -180
  433. package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts.map +0 -1
  434. package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js +0 -224
  435. package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js.map +0 -1
  436. package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts +0 -192
  437. package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts.map +0 -1
  438. package/dist/runtime/server/dist/services/plugin-tool-registry.js +0 -224
  439. package/dist/runtime/server/dist/services/plugin-tool-registry.js.map +0 -1
  440. package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts +0 -260
  441. package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts.map +0 -1
  442. package/dist/runtime/server/dist/services/plugin-worker-manager.js +0 -835
  443. package/dist/runtime/server/dist/services/plugin-worker-manager.js.map +0 -1
  444. package/dist/runtime/server/dist/services/projects.d.ts +0 -87
  445. package/dist/runtime/server/dist/services/projects.d.ts.map +0 -1
  446. package/dist/runtime/server/dist/services/projects.js +0 -656
  447. package/dist/runtime/server/dist/services/projects.js.map +0 -1
  448. package/dist/runtime/server/dist/services/quota-windows.d.ts +0 -9
  449. package/dist/runtime/server/dist/services/quota-windows.d.ts.map +0 -1
  450. package/dist/runtime/server/dist/services/quota-windows.js +0 -56
  451. package/dist/runtime/server/dist/services/quota-windows.js.map +0 -1
  452. package/dist/runtime/server/dist/services/run-log-store.d.ts +0 -34
  453. package/dist/runtime/server/dist/services/run-log-store.d.ts.map +0 -1
  454. package/dist/runtime/server/dist/services/run-log-store.js +0 -109
  455. package/dist/runtime/server/dist/services/run-log-store.js.map +0 -1
  456. package/dist/runtime/server/dist/services/secrets.d.ts +0 -510
  457. package/dist/runtime/server/dist/services/secrets.d.ts.map +0 -1
  458. package/dist/runtime/server/dist/services/secrets.js +0 -288
  459. package/dist/runtime/server/dist/services/secrets.js.map +0 -1
  460. package/dist/runtime/server/dist/services/sidebar-badges.d.ts +0 -9
  461. package/dist/runtime/server/dist/services/sidebar-badges.d.ts.map +0 -1
  462. package/dist/runtime/server/dist/services/sidebar-badges.js +0 -33
  463. package/dist/runtime/server/dist/services/sidebar-badges.js.map +0 -1
  464. package/dist/runtime/server/dist/services/tickets.d.ts +0 -1869
  465. package/dist/runtime/server/dist/services/tickets.d.ts.map +0 -1
  466. package/dist/runtime/server/dist/services/tickets.js +0 -78
  467. package/dist/runtime/server/dist/services/tickets.js.map +0 -1
  468. package/dist/runtime/server/dist/services/work-products.d.ts +0 -14
  469. package/dist/runtime/server/dist/services/work-products.d.ts.map +0 -1
  470. package/dist/runtime/server/dist/services/work-products.js +0 -100
  471. package/dist/runtime/server/dist/services/work-products.js.map +0 -1
  472. package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts +0 -33
  473. package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts.map +0 -1
  474. package/dist/runtime/server/dist/services/workspace-operation-log-store.js +0 -110
  475. package/dist/runtime/server/dist/services/workspace-operation-log-store.js.map +0 -1
  476. package/dist/runtime/server/dist/services/workspace-operations.d.ts +0 -44
  477. package/dist/runtime/server/dist/services/workspace-operations.d.ts.map +0 -1
  478. package/dist/runtime/server/dist/services/workspace-operations.js +0 -204
  479. package/dist/runtime/server/dist/services/workspace-operations.js.map +0 -1
  480. package/dist/runtime/server/dist/services/workspace-runtime.d.ts +0 -164
  481. package/dist/runtime/server/dist/services/workspace-runtime.d.ts.map +0 -1
  482. package/dist/runtime/server/dist/services/workspace-runtime.js +0 -1235
  483. package/dist/runtime/server/dist/services/workspace-runtime.js.map +0 -1
  484. package/dist/runtime/server/dist/startup-banner.d.ts +0 -31
  485. package/dist/runtime/server/dist/startup-banner.d.ts.map +0 -1
  486. package/dist/runtime/server/dist/startup-banner.js +0 -117
  487. package/dist/runtime/server/dist/startup-banner.js.map +0 -1
  488. package/dist/runtime/server/dist/storage/index.d.ts +0 -6
  489. package/dist/runtime/server/dist/storage/index.d.ts.map +0 -1
  490. package/dist/runtime/server/dist/storage/index.js +0 -29
  491. package/dist/runtime/server/dist/storage/index.js.map +0 -1
  492. package/dist/runtime/server/dist/storage/local-disk-provider.d.ts +0 -3
  493. package/dist/runtime/server/dist/storage/local-disk-provider.d.ts.map +0 -1
  494. package/dist/runtime/server/dist/storage/local-disk-provider.js +0 -79
  495. package/dist/runtime/server/dist/storage/local-disk-provider.js.map +0 -1
  496. package/dist/runtime/server/dist/storage/provider-registry.d.ts +0 -4
  497. package/dist/runtime/server/dist/storage/provider-registry.d.ts.map +0 -1
  498. package/dist/runtime/server/dist/storage/provider-registry.js +0 -15
  499. package/dist/runtime/server/dist/storage/provider-registry.js.map +0 -1
  500. package/dist/runtime/server/dist/storage/s3-provider.d.ts +0 -11
  501. package/dist/runtime/server/dist/storage/s3-provider.d.ts.map +0 -1
  502. package/dist/runtime/server/dist/storage/s3-provider.js +0 -123
  503. package/dist/runtime/server/dist/storage/s3-provider.js.map +0 -1
  504. package/dist/runtime/server/dist/storage/service.d.ts +0 -3
  505. package/dist/runtime/server/dist/storage/service.d.ts.map +0 -1
  506. package/dist/runtime/server/dist/storage/service.js +0 -120
  507. package/dist/runtime/server/dist/storage/service.js.map +0 -1
  508. package/dist/runtime/server/dist/storage/types.d.ts +0 -55
  509. package/dist/runtime/server/dist/storage/types.d.ts.map +0 -1
  510. package/dist/runtime/server/dist/storage/types.js +0 -2
  511. package/dist/runtime/server/dist/storage/types.js.map +0 -1
  512. package/dist/runtime/server/dist/ui-branding.d.ts +0 -14
  513. package/dist/runtime/server/dist/ui-branding.d.ts.map +0 -1
  514. package/dist/runtime/server/dist/ui-branding.js +0 -189
  515. package/dist/runtime/server/dist/ui-branding.js.map +0 -1
  516. package/dist/runtime/server/dist/version.d.ts +0 -2
  517. package/dist/runtime/server/dist/version.d.ts.map +0 -1
  518. package/dist/runtime/server/dist/version.js +0 -5
  519. package/dist/runtime/server/dist/version.js.map +0 -1
  520. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts +0 -2
  521. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts.map +0 -1
  522. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js +0 -94
  523. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js.map +0 -1
  524. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts +0 -2
  525. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts.map +0 -1
  526. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js +0 -2
  527. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js.map +0 -1
  528. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts +0 -3
  529. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts.map +0 -1
  530. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js +0 -106
  531. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js.map +0 -1
  532. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts +0 -8
  533. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts.map +0 -1
  534. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js +0 -36
  535. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js.map +0 -1
  536. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts +0 -18
  537. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts.map +0 -1
  538. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js +0 -453
  539. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js.map +0 -1
  540. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts +0 -7
  541. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts.map +0 -1
  542. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js +0 -56
  543. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js.map +0 -1
  544. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts +0 -22
  545. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts.map +0 -1
  546. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js +0 -158
  547. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map +0 -1
  548. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts +0 -20
  549. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts.map +0 -1
  550. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js +0 -477
  551. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js.map +0 -1
  552. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts +0 -3
  553. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts.map +0 -1
  554. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js +0 -201
  555. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js.map +0 -1
  556. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts +0 -3
  557. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts.map +0 -1
  558. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js +0 -115
  559. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js.map +0 -1
  560. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts +0 -3
  561. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts.map +0 -1
  562. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js +0 -3
  563. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js.map +0 -1
  564. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts +0 -3
  565. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts.map +0 -1
  566. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js +0 -149
  567. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js.map +0 -1
  568. package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/package.json +0 -42
  569. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts +0 -2
  570. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts.map +0 -1
  571. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js +0 -213
  572. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js.map +0 -1
  573. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts +0 -2
  574. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts.map +0 -1
  575. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js +0 -2
  576. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js.map +0 -1
  577. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts +0 -3
  578. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts.map +0 -1
  579. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js +0 -97
  580. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js.map +0 -1
  581. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts +0 -10
  582. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts.map +0 -1
  583. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js +0 -45
  584. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js.map +0 -1
  585. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts +0 -5
  586. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts.map +0 -1
  587. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js +0 -86
  588. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js.map +0 -1
  589. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts +0 -11
  590. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts.map +0 -1
  591. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js +0 -451
  592. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js.map +0 -1
  593. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts +0 -7
  594. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts.map +0 -1
  595. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js +0 -56
  596. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js.map +0 -1
  597. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts +0 -12
  598. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts.map +0 -1
  599. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js +0 -67
  600. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js.map +0 -1
  601. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts +0 -64
  602. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts.map +0 -1
  603. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js +0 -425
  604. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js.map +0 -1
  605. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts +0 -3
  606. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts.map +0 -1
  607. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js +0 -194
  608. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js.map +0 -1
  609. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts +0 -3
  610. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts.map +0 -1
  611. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js +0 -116
  612. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js.map +0 -1
  613. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts +0 -3
  614. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts.map +0 -1
  615. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js +0 -3
  616. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js.map +0 -1
  617. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts +0 -3
  618. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts.map +0 -1
  619. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js +0 -233
  620. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js.map +0 -1
  621. package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/package.json +0 -42
  622. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts +0 -2
  623. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts.map +0 -1
  624. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js +0 -296
  625. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js.map +0 -1
  626. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts +0 -2
  627. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts.map +0 -1
  628. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js +0 -2
  629. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js.map +0 -1
  630. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts +0 -9
  631. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts.map +0 -1
  632. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js +0 -81
  633. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js.map +0 -1
  634. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts +0 -14
  635. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts.map +0 -1
  636. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js +0 -416
  637. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js.map +0 -1
  638. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts +0 -6
  639. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts.map +0 -1
  640. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js +0 -61
  641. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js.map +0 -1
  642. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts +0 -13
  643. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts.map +0 -1
  644. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js +0 -139
  645. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js.map +0 -1
  646. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts +0 -3
  647. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts.map +0 -1
  648. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js +0 -188
  649. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js.map +0 -1
  650. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts +0 -5
  651. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts.map +0 -1
  652. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js +0 -13
  653. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js.map +0 -1
  654. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts +0 -2
  655. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts.map +0 -1
  656. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js +0 -7
  657. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js.map +0 -1
  658. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts +0 -3
  659. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts.map +0 -1
  660. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js +0 -92
  661. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js.map +0 -1
  662. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts +0 -3
  663. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts.map +0 -1
  664. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js +0 -3
  665. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js.map +0 -1
  666. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts +0 -3
  667. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts.map +0 -1
  668. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js +0 -373
  669. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js.map +0 -1
  670. package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/package.json +0 -42
  671. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts +0 -2
  672. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts.map +0 -1
  673. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js +0 -198
  674. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js.map +0 -1
  675. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts +0 -2
  676. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts.map +0 -1
  677. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js +0 -2
  678. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js.map +0 -1
  679. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts +0 -9
  680. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts.map +0 -1
  681. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js +0 -46
  682. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js.map +0 -1
  683. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts +0 -3
  684. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts.map +0 -1
  685. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js +0 -364
  686. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js.map +0 -1
  687. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts +0 -6
  688. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts.map +0 -1
  689. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js +0 -61
  690. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js.map +0 -1
  691. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts +0 -31
  692. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts.map +0 -1
  693. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js +0 -227
  694. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js.map +0 -1
  695. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts +0 -3
  696. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts.map +0 -1
  697. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js +0 -203
  698. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js.map +0 -1
  699. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts +0 -2
  700. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts.map +0 -1
  701. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js +0 -7
  702. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js.map +0 -1
  703. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts +0 -3
  704. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts.map +0 -1
  705. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js +0 -84
  706. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js.map +0 -1
  707. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts +0 -3
  708. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts.map +0 -1
  709. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js +0 -3
  710. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js.map +0 -1
  711. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts +0 -3
  712. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts.map +0 -1
  713. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js +0 -247
  714. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js.map +0 -1
  715. package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/package.json +0 -42
  716. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts +0 -2
  717. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts.map +0 -1
  718. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js +0 -20
  719. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js.map +0 -1
  720. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts +0 -2
  721. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts.map +0 -1
  722. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js +0 -2
  723. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js.map +0 -1
  724. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts +0 -8
  725. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts.map +0 -1
  726. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js +0 -53
  727. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js.map +0 -1
  728. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts +0 -3
  729. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts.map +0 -1
  730. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js +0 -1146
  731. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js.map +0 -1
  732. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts +0 -3
  733. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts.map +0 -1
  734. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js +0 -3
  735. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js.map +0 -1
  736. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts +0 -3
  737. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts.map +0 -1
  738. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js +0 -290
  739. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js.map +0 -1
  740. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts +0 -5
  741. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts.map +0 -1
  742. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js +0 -13
  743. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js.map +0 -1
  744. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts +0 -3
  745. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts.map +0 -1
  746. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js +0 -33
  747. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js.map +0 -1
  748. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts +0 -3
  749. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts.map +0 -1
  750. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js +0 -3
  751. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js.map +0 -1
  752. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts +0 -3
  753. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts.map +0 -1
  754. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js +0 -64
  755. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js.map +0 -1
  756. package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/package.json +0 -43
  757. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts +0 -2
  758. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts.map +0 -1
  759. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js +0 -115
  760. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js.map +0 -1
  761. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts +0 -2
  762. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts.map +0 -1
  763. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js +0 -2
  764. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js.map +0 -1
  765. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts +0 -8
  766. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts.map +0 -1
  767. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js +0 -39
  768. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js.map +0 -1
  769. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts +0 -3
  770. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts.map +0 -1
  771. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js +0 -337
  772. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js.map +0 -1
  773. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts +0 -7
  774. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts.map +0 -1
  775. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js +0 -62
  776. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js.map +0 -1
  777. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts +0 -20
  778. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts.map +0 -1
  779. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js +0 -165
  780. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js.map +0 -1
  781. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts +0 -2
  782. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts.map +0 -1
  783. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js +0 -22
  784. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js.map +0 -1
  785. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts +0 -13
  786. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts.map +0 -1
  787. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js +0 -97
  788. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js.map +0 -1
  789. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts +0 -2
  790. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts.map +0 -1
  791. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js +0 -48
  792. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js.map +0 -1
  793. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts +0 -3
  794. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts.map +0 -1
  795. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js +0 -300
  796. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js.map +0 -1
  797. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts +0 -3
  798. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts.map +0 -1
  799. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js +0 -87
  800. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js.map +0 -1
  801. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts +0 -3
  802. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts.map +0 -1
  803. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js +0 -3
  804. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js.map +0 -1
  805. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts +0 -3
  806. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts.map +0 -1
  807. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js +0 -141
  808. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js.map +0 -1
  809. package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/package.json +0 -42
  810. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts +0 -2
  811. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts.map +0 -1
  812. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js +0 -99
  813. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js.map +0 -1
  814. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts +0 -2
  815. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts.map +0 -1
  816. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js +0 -2
  817. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js.map +0 -1
  818. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts +0 -8
  819. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts.map +0 -1
  820. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js +0 -39
  821. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js.map +0 -1
  822. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts +0 -3
  823. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts.map +0 -1
  824. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js +0 -405
  825. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js.map +0 -1
  826. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts +0 -7
  827. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts.map +0 -1
  828. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js +0 -50
  829. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js.map +0 -1
  830. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts +0 -20
  831. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts.map +0 -1
  832. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js +0 -161
  833. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js.map +0 -1
  834. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts +0 -2
  835. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts.map +0 -1
  836. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js +0 -22
  837. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js.map +0 -1
  838. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts +0 -23
  839. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts.map +0 -1
  840. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js +0 -180
  841. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js.map +0 -1
  842. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts +0 -2
  843. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts.map +0 -1
  844. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js +0 -206
  845. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js.map +0 -1
  846. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts +0 -3
  847. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts.map +0 -1
  848. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js +0 -257
  849. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js.map +0 -1
  850. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts +0 -3
  851. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts.map +0 -1
  852. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js +0 -82
  853. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js.map +0 -1
  854. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts +0 -3
  855. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts.map +0 -1
  856. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js +0 -3
  857. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js.map +0 -1
  858. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts +0 -3
  859. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts.map +0 -1
  860. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js +0 -163
  861. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js.map +0 -1
  862. package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/package.json +0 -42
  863. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts +0 -2
  864. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts.map +0 -1
  865. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js +0 -16
  866. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js.map +0 -1
  867. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts +0 -2
  868. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts.map +0 -1
  869. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js +0 -14
  870. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js.map +0 -1
  871. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts +0 -6
  872. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts.map +0 -1
  873. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js +0 -4
  874. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js.map +0 -1
  875. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts +0 -6
  876. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts.map +0 -1
  877. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js +0 -75
  878. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js.map +0 -1
  879. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts +0 -62
  880. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts.map +0 -1
  881. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js +0 -419
  882. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js.map +0 -1
  883. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts +0 -25
  884. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts.map +0 -1
  885. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js +0 -142
  886. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js.map +0 -1
  887. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts +0 -290
  888. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts.map +0 -1
  889. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js +0 -5
  890. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js.map +0 -1
  891. package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/package.json +0 -30
  892. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts +0 -24
  893. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts.map +0 -1
  894. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js +0 -448
  895. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js.map +0 -1
  896. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts +0 -2
  897. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts.map +0 -1
  898. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js +0 -103
  899. package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js.map +0 -1
  900. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts +0 -43
  901. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts.map +0 -1
  902. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js +0 -574
  903. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js.map +0 -1
  904. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts +0 -2
  905. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts.map +0 -1
  906. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js +0 -117
  907. package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js.map +0 -1
  908. package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts +0 -4
  909. package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts.map +0 -1
  910. package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js +0 -4
  911. package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js.map +0 -1
  912. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts +0 -2
  913. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts.map +0 -1
  914. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js +0 -25
  915. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js.map +0 -1
  916. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts +0 -7
  917. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts.map +0 -1
  918. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js +0 -163
  919. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js.map +0 -1
  920. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts +0 -2
  921. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts.map +0 -1
  922. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js +0 -55
  923. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js.map +0 -1
  924. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0000_mature_masked_marvel.sql +0 -208
  925. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0001_fast_northstar.sql +0 -87
  926. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0002_big_zaladane.sql +0 -1
  927. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0003_shallow_quentin_quire.sql +0 -5
  928. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0004_issue_identifiers.sql +0 -28
  929. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0005_chief_luke_cage.sql +0 -19
  930. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0006_overjoyed_mister_sinister.sql +0 -36
  931. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0007_new_quentin_quire.sql +0 -20
  932. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0008_amused_zzzax.sql +0 -1
  933. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0009_fast_jackal.sql +0 -36
  934. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0010_stale_justin_hammer.sql +0 -37
  935. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0011_windy_corsair.sql +0 -18
  936. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0012_perpetual_ser_duncan.sql +0 -2
  937. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0013_dashing_wasp.sql +0 -4
  938. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0014_many_mikhail_rasputin.sql +0 -135
  939. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0015_project_color_archived.sql +0 -2
  940. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0016_agent_icon.sql +0 -1
  941. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0017_tiresome_gabe_jones.sql +0 -51
  942. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0018_flat_sleepwalker.sql +0 -26
  943. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0019_public_victor_mancha.sql +0 -18
  944. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0020_white_anita_blake.sql +0 -1
  945. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0021_chief_vindicator.sql +0 -1
  946. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0022_company_brand_color.sql +0 -1
  947. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0023_fair_lethal_legion.sql +0 -3
  948. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0024_far_beast.sql +0 -2
  949. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0025_nasty_salo.sql +0 -15
  950. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0026_lying_pete_wisdom.sql +0 -39
  951. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0027_tranquil_tenebrous.sql +0 -2
  952. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0028_harsh_goliath.sql +0 -54
  953. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0029_plugin_tables.sql +0 -177
  954. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0030_rich_magneto.sql +0 -12
  955. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0031_zippy_magma.sql +0 -51
  956. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0032_pretty_doctor_octopus.sql +0 -102
  957. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0033_shiny_black_tarantula.sql +0 -2
  958. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0034_fat_dormammu.sql +0 -2
  959. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0035_marvelous_satana.sql +0 -91
  960. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0036_cheerful_nitro.sql +0 -9
  961. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0037_friendly_eddie_brock.sql +0 -29
  962. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0038_careless_iron_monger.sql +0 -5
  963. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0039_tickets.sql +0 -25
  964. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0000_snapshot.json +0 -1743
  965. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0001_snapshot.json +0 -2441
  966. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0002_snapshot.json +0 -2454
  967. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0003_snapshot.json +0 -2502
  968. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0005_snapshot.json +0 -2719
  969. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0006_snapshot.json +0 -3048
  970. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0007_snapshot.json +0 -3258
  971. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0008_snapshot.json +0 -3264
  972. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0009_snapshot.json +0 -3587
  973. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0010_snapshot.json +0 -3929
  974. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0011_snapshot.json +0 -4068
  975. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0012_snapshot.json +0 -4087
  976. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0013_snapshot.json +0 -4118
  977. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0014_snapshot.json +0 -5187
  978. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0017_snapshot.json +0 -5215
  979. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0018_snapshot.json +0 -5450
  980. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0019_snapshot.json +0 -5603
  981. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0020_snapshot.json +0 -5603
  982. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0021_snapshot.json +0 -5609
  983. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0023_snapshot.json +0 -5633
  984. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0024_snapshot.json +0 -5693
  985. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0025_snapshot.json +0 -5849
  986. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0027_snapshot.json +0 -6205
  987. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0028_snapshot.json +0 -6710
  988. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0029_snapshot.json +0 -7899
  989. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0030_snapshot.json +0 -8003
  990. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0031_snapshot.json +0 -7242
  991. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0032_snapshot.json +0 -7733
  992. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0033_snapshot.json +0 -9038
  993. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0034_snapshot.json +0 -9039
  994. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0035_snapshot.json +0 -9959
  995. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0036_snapshot.json +0 -10023
  996. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0037_snapshot.json +0 -10263
  997. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0038_snapshot.json +0 -10301
  998. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/_journal.json +0 -286
  999. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0000_mature_masked_marvel.sql +0 -208
  1000. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0001_fast_northstar.sql +0 -87
  1001. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0002_big_zaladane.sql +0 -1
  1002. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0003_shallow_quentin_quire.sql +0 -5
  1003. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0004_issue_identifiers.sql +0 -28
  1004. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0005_chief_luke_cage.sql +0 -19
  1005. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0006_overjoyed_mister_sinister.sql +0 -36
  1006. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0007_new_quentin_quire.sql +0 -20
  1007. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0008_amused_zzzax.sql +0 -1
  1008. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0009_fast_jackal.sql +0 -36
  1009. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0010_stale_justin_hammer.sql +0 -37
  1010. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0011_windy_corsair.sql +0 -18
  1011. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0012_perpetual_ser_duncan.sql +0 -2
  1012. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0013_dashing_wasp.sql +0 -4
  1013. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0014_many_mikhail_rasputin.sql +0 -135
  1014. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0015_project_color_archived.sql +0 -2
  1015. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0016_agent_icon.sql +0 -1
  1016. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0017_tiresome_gabe_jones.sql +0 -51
  1017. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0018_flat_sleepwalker.sql +0 -26
  1018. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0019_public_victor_mancha.sql +0 -18
  1019. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0020_white_anita_blake.sql +0 -1
  1020. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0021_chief_vindicator.sql +0 -1
  1021. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0022_company_brand_color.sql +0 -1
  1022. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0023_fair_lethal_legion.sql +0 -3
  1023. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0024_far_beast.sql +0 -2
  1024. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0025_nasty_salo.sql +0 -15
  1025. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0026_lying_pete_wisdom.sql +0 -39
  1026. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0027_tranquil_tenebrous.sql +0 -2
  1027. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0028_harsh_goliath.sql +0 -54
  1028. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0029_plugin_tables.sql +0 -177
  1029. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0030_rich_magneto.sql +0 -12
  1030. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0031_zippy_magma.sql +0 -51
  1031. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0032_pretty_doctor_octopus.sql +0 -102
  1032. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0033_shiny_black_tarantula.sql +0 -2
  1033. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0034_fat_dormammu.sql +0 -2
  1034. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0035_marvelous_satana.sql +0 -91
  1035. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0036_cheerful_nitro.sql +0 -9
  1036. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0037_friendly_eddie_brock.sql +0 -29
  1037. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0038_careless_iron_monger.sql +0 -5
  1038. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0039_tickets.sql +0 -25
  1039. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0040_ticket_meta.sql +0 -3
  1040. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0000_snapshot.json +0 -1743
  1041. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0001_snapshot.json +0 -2441
  1042. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0002_snapshot.json +0 -2454
  1043. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0003_snapshot.json +0 -2502
  1044. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0005_snapshot.json +0 -2719
  1045. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0006_snapshot.json +0 -3048
  1046. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0007_snapshot.json +0 -3258
  1047. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0008_snapshot.json +0 -3264
  1048. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0009_snapshot.json +0 -3587
  1049. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0010_snapshot.json +0 -3929
  1050. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0011_snapshot.json +0 -4068
  1051. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0012_snapshot.json +0 -4087
  1052. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0013_snapshot.json +0 -4118
  1053. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0014_snapshot.json +0 -5187
  1054. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0017_snapshot.json +0 -5215
  1055. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0018_snapshot.json +0 -5450
  1056. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0019_snapshot.json +0 -5603
  1057. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0020_snapshot.json +0 -5603
  1058. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0021_snapshot.json +0 -5609
  1059. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0023_snapshot.json +0 -5633
  1060. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0024_snapshot.json +0 -5693
  1061. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0025_snapshot.json +0 -5849
  1062. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0027_snapshot.json +0 -6205
  1063. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0028_snapshot.json +0 -6710
  1064. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0029_snapshot.json +0 -7899
  1065. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0030_snapshot.json +0 -8003
  1066. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0031_snapshot.json +0 -7242
  1067. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0032_snapshot.json +0 -7733
  1068. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0033_snapshot.json +0 -9038
  1069. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0034_snapshot.json +0 -9039
  1070. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0035_snapshot.json +0 -9959
  1071. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0036_snapshot.json +0 -10023
  1072. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0037_snapshot.json +0 -10263
  1073. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0038_snapshot.json +0 -10301
  1074. package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/_journal.json +0 -293
  1075. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts +0 -16
  1076. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts.map +0 -1
  1077. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js +0 -197
  1078. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js.map +0 -1
  1079. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts +0 -2
  1080. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts.map +0 -1
  1081. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js +0 -93
  1082. package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js.map +0 -1
  1083. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts +0 -197
  1084. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts.map +0 -1
  1085. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js +0 -22
  1086. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js.map +0 -1
  1087. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts +0 -144
  1088. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts.map +0 -1
  1089. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js +0 -17
  1090. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js.map +0 -1
  1091. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts +0 -201
  1092. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts.map +0 -1
  1093. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js +0 -20
  1094. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js.map +0 -1
  1095. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts +0 -248
  1096. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts.map +0 -1
  1097. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js +0 -23
  1098. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js.map +0 -1
  1099. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts +0 -197
  1100. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts.map +0 -1
  1101. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js +0 -22
  1102. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js.map +0 -1
  1103. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts +0 -333
  1104. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts.map +0 -1
  1105. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js +0 -29
  1106. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js.map +0 -1
  1107. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts +0 -373
  1108. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts.map +0 -1
  1109. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js +0 -29
  1110. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js.map +0 -1
  1111. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts +0 -144
  1112. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts.map +0 -1
  1113. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js +0 -19
  1114. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js.map +0 -1
  1115. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts +0 -214
  1116. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts.map +0 -1
  1117. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js +0 -20
  1118. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js.map +0 -1
  1119. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts +0 -212
  1120. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts.map +0 -1
  1121. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js +0 -22
  1122. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js.map +0 -1
  1123. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts +0 -607
  1124. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts.map +0 -1
  1125. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js +0 -44
  1126. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js.map +0 -1
  1127. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts +0 -297
  1128. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts.map +0 -1
  1129. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js +0 -29
  1130. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js.map +0 -1
  1131. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts +0 -263
  1132. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts.map +0 -1
  1133. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js +0 -24
  1134. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js.map +0 -1
  1135. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts +0 -246
  1136. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts.map +0 -1
  1137. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js +0 -22
  1138. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js.map +0 -1
  1139. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts +0 -93
  1140. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts.map +0 -1
  1141. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js +0 -14
  1142. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js.map +0 -1
  1143. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts +0 -144
  1144. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts.map +0 -1
  1145. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js +0 -17
  1146. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js.map +0 -1
  1147. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts +0 -163
  1148. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts.map +0 -1
  1149. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js +0 -19
  1150. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js.map +0 -1
  1151. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts +0 -195
  1152. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts.map +0 -1
  1153. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js +0 -21
  1154. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js.map +0 -1
  1155. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts +0 -314
  1156. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts.map +0 -1
  1157. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js +0 -34
  1158. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js.map +0 -1
  1159. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts +0 -161
  1160. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts.map +0 -1
  1161. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js +0 -19
  1162. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js.map +0 -1
  1163. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts +0 -229
  1164. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts.map +0 -1
  1165. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js +0 -22
  1166. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js.map +0 -1
  1167. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts +0 -418
  1168. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts.map +0 -1
  1169. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js +0 -39
  1170. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js.map +0 -1
  1171. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts +0 -469
  1172. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts.map +0 -1
  1173. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js +0 -45
  1174. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js.map +0 -1
  1175. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts +0 -178
  1176. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts.map +0 -1
  1177. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js +0 -18
  1178. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js.map +0 -1
  1179. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts +0 -214
  1180. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts.map +0 -1
  1181. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js +0 -23
  1182. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js.map +0 -1
  1183. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts +0 -558
  1184. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts.map +0 -1
  1185. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js +0 -43
  1186. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js.map +0 -1
  1187. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts +0 -55
  1188. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts.map +0 -1
  1189. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js +0 -55
  1190. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js.map +0 -1
  1191. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts +0 -95
  1192. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts.map +0 -1
  1193. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js +0 -11
  1194. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js.map +0 -1
  1195. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts +0 -93
  1196. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts.map +0 -1
  1197. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js +0 -12
  1198. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js.map +0 -1
  1199. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts +0 -214
  1200. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts.map +0 -1
  1201. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js +0 -20
  1202. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js.map +0 -1
  1203. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts +0 -110
  1204. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts.map +0 -1
  1205. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js +0 -19
  1206. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js.map +0 -1
  1207. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts +0 -127
  1208. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts.map +0 -1
  1209. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js +0 -19
  1210. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js.map +0 -1
  1211. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts +0 -144
  1212. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts.map +0 -1
  1213. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js +0 -20
  1214. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js.map +0 -1
  1215. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts +0 -127
  1216. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts.map +0 -1
  1217. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js +0 -18
  1218. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js.map +0 -1
  1219. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts +0 -76
  1220. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts.map +0 -1
  1221. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js +0 -16
  1222. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js.map +0 -1
  1223. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts +0 -127
  1224. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts.map +0 -1
  1225. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js +0 -17
  1226. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js.map +0 -1
  1227. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts +0 -350
  1228. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts.map +0 -1
  1229. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js +0 -37
  1230. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js.map +0 -1
  1231. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts +0 -590
  1232. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts.map +0 -1
  1233. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js +0 -58
  1234. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js.map +0 -1
  1235. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts +0 -384
  1236. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts.map +0 -1
  1237. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js +0 -32
  1238. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js.map +0 -1
  1239. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts +0 -110
  1240. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts.map +0 -1
  1241. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js +0 -14
  1242. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js.map +0 -1
  1243. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts +0 -158
  1244. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts.map +0 -1
  1245. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js +0 -34
  1246. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js.map +0 -1
  1247. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts +0 -123
  1248. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts.map +0 -1
  1249. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js +0 -26
  1250. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js.map +0 -1
  1251. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts +0 -213
  1252. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts.map +0 -1
  1253. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js +0 -37
  1254. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js.map +0 -1
  1255. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts +0 -392
  1256. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts.map +0 -1
  1257. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js +0 -83
  1258. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js.map +0 -1
  1259. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts +0 -125
  1260. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts.map +0 -1
  1261. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js +0 -29
  1262. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js.map +0 -1
  1263. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts +0 -169
  1264. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts.map +0 -1
  1265. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js +0 -68
  1266. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js.map +0 -1
  1267. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts +0 -239
  1268. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts.map +0 -1
  1269. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js +0 -52
  1270. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js.map +0 -1
  1271. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts +0 -246
  1272. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts.map +0 -1
  1273. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js +0 -31
  1274. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js.map +0 -1
  1275. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts +0 -163
  1276. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts.map +0 -1
  1277. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js +0 -17
  1278. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js.map +0 -1
  1279. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts +0 -93
  1280. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts.map +0 -1
  1281. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js +0 -17
  1282. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js.map +0 -1
  1283. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts +0 -333
  1284. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts.map +0 -1
  1285. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js +0 -32
  1286. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js.map +0 -1
  1287. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts +0 -265
  1288. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts.map +0 -1
  1289. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js +0 -24
  1290. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js.map +0 -1
  1291. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts +0 -284
  1292. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts.map +0 -1
  1293. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js +0 -24
  1294. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js.map +0 -1
  1295. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts +0 -367
  1296. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts.map +0 -1
  1297. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js +0 -35
  1298. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js.map +0 -1
  1299. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts +0 -469
  1300. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts.map +0 -1
  1301. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js +0 -44
  1302. package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js.map +0 -1
  1303. package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts +0 -2
  1304. package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts.map +0 -1
  1305. package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js +0 -91
  1306. package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js.map +0 -1
  1307. package/dist/runtime/server/node_modules/@paperclipai/db/package.json +0 -36
  1308. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts +0 -57
  1309. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts.map +0 -1
  1310. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js +0 -105
  1311. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js.map +0 -1
  1312. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts +0 -218
  1313. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts.map +0 -1
  1314. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js +0 -85
  1315. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js.map +0 -1
  1316. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts +0 -3
  1317. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts.map +0 -1
  1318. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js +0 -49
  1319. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js.map +0 -1
  1320. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts +0 -34
  1321. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts.map +0 -1
  1322. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js +0 -194
  1323. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js.map +0 -1
  1324. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts +0 -229
  1325. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts.map +0 -1
  1326. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js +0 -353
  1327. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js.map +0 -1
  1328. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts +0 -84
  1329. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts.map +0 -1
  1330. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js +0 -84
  1331. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js.map +0 -1
  1332. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts +0 -881
  1333. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts.map +0 -1
  1334. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js +0 -297
  1335. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js.map +0 -1
  1336. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts +0 -63
  1337. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts.map +0 -1
  1338. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js +0 -702
  1339. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js.map +0 -1
  1340. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts +0 -982
  1341. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts.map +0 -1
  1342. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js +0 -12
  1343. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js.map +0 -1
  1344. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts +0 -257
  1345. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts.map +0 -1
  1346. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js +0 -97
  1347. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js.map +0 -1
  1348. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts +0 -120
  1349. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts.map +0 -1
  1350. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js +0 -148
  1351. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js.map +0 -1
  1352. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts +0 -50
  1353. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts.map +0 -1
  1354. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js +0 -48
  1355. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js.map +0 -1
  1356. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts +0 -3
  1357. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts.map +0 -1
  1358. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js +0 -30
  1359. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js.map +0 -1
  1360. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts +0 -308
  1361. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts.map +0 -1
  1362. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js +0 -17
  1363. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js.map +0 -1
  1364. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts +0 -127
  1365. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts.map +0 -1
  1366. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js +0 -941
  1367. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js.map +0 -1
  1368. package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/package.json +0 -74
  1369. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts +0 -4
  1370. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts.map +0 -1
  1371. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js +0 -22
  1372. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js.map +0 -1
  1373. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts +0 -20
  1374. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts.map +0 -1
  1375. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js +0 -20
  1376. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js.map +0 -1
  1377. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts +0 -725
  1378. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts.map +0 -1
  1379. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js +0 -151
  1380. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js.map +0 -1
  1381. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts +0 -214
  1382. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts.map +0 -1
  1383. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js +0 -553
  1384. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js.map +0 -1
  1385. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts +0 -116
  1386. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts.map +0 -1
  1387. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js +0 -181
  1388. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js.map +0 -1
  1389. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts +0 -12
  1390. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts.map +0 -1
  1391. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js +0 -11
  1392. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js.map +0 -1
  1393. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts +0 -9
  1394. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts.map +0 -1
  1395. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js +0 -71
  1396. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js.map +0 -1
  1397. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts +0 -3
  1398. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts.map +0 -1
  1399. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js +0 -16
  1400. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js.map +0 -1
  1401. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts +0 -15
  1402. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts.map +0 -1
  1403. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js +0 -40
  1404. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js.map +0 -1
  1405. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts +0 -67
  1406. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts.map +0 -1
  1407. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js +0 -2
  1408. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js.map +0 -1
  1409. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts +0 -14
  1410. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts.map +0 -1
  1411. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js +0 -2
  1412. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js.map +0 -1
  1413. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts +0 -80
  1414. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts.map +0 -1
  1415. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js +0 -2
  1416. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js.map +0 -1
  1417. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts +0 -26
  1418. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts.map +0 -1
  1419. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js +0 -2
  1420. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js.map +0 -1
  1421. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts +0 -16
  1422. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts.map +0 -1
  1423. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js +0 -2
  1424. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js.map +0 -1
  1425. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts +0 -86
  1426. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts.map +0 -1
  1427. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js +0 -2
  1428. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js.map +0 -1
  1429. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts +0 -120
  1430. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts.map +0 -1
  1431. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js +0 -2
  1432. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js.map +0 -1
  1433. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts +0 -20
  1434. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts.map +0 -1
  1435. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js +0 -2
  1436. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js.map +0 -1
  1437. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts +0 -106
  1438. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts.map +0 -1
  1439. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js +0 -2
  1440. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js.map +0 -1
  1441. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts +0 -28
  1442. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts.map +0 -1
  1443. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js +0 -2
  1444. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js.map +0 -1
  1445. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts +0 -57
  1446. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts.map +0 -1
  1447. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js +0 -2
  1448. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js.map +0 -1
  1449. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts +0 -14
  1450. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts.map +0 -1
  1451. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js +0 -2
  1452. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js.map +0 -1
  1453. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts +0 -118
  1454. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts.map +0 -1
  1455. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js +0 -2
  1456. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js.map +0 -1
  1457. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts +0 -26
  1458. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts.map +0 -1
  1459. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js +0 -2
  1460. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js.map +0 -1
  1461. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts +0 -10
  1462. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts.map +0 -1
  1463. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js +0 -2
  1464. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js.map +0 -1
  1465. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts +0 -164
  1466. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts.map +0 -1
  1467. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js +0 -2
  1468. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js.map +0 -1
  1469. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts +0 -9
  1470. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts.map +0 -1
  1471. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js +0 -2
  1472. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js.map +0 -1
  1473. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts +0 -419
  1474. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts.map +0 -1
  1475. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js +0 -2
  1476. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js.map +0 -1
  1477. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts +0 -67
  1478. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts.map +0 -1
  1479. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js +0 -2
  1480. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js.map +0 -1
  1481. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts +0 -26
  1482. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts.map +0 -1
  1483. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js +0 -2
  1484. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js.map +0 -1
  1485. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts +0 -32
  1486. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts.map +0 -1
  1487. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js +0 -2
  1488. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js.map +0 -1
  1489. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts +0 -7
  1490. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts.map +0 -1
  1491. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js +0 -2
  1492. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js.map +0 -1
  1493. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts +0 -26
  1494. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts.map +0 -1
  1495. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js +0 -2
  1496. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js.map +0 -1
  1497. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts +0 -27
  1498. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts.map +0 -1
  1499. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js +0 -2
  1500. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js.map +0 -1
  1501. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts +0 -26
  1502. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts.map +0 -1
  1503. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js +0 -2
  1504. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js.map +0 -1
  1505. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts +0 -86
  1506. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts.map +0 -1
  1507. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js +0 -2
  1508. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js.map +0 -1
  1509. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts +0 -109
  1510. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts.map +0 -1
  1511. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js +0 -40
  1512. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js.map +0 -1
  1513. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts +0 -235
  1514. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts.map +0 -1
  1515. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js +0 -71
  1516. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js.map +0 -1
  1517. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts +0 -57
  1518. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts.map +0 -1
  1519. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js +0 -23
  1520. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js.map +0 -1
  1521. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts +0 -10
  1522. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts.map +0 -1
  1523. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js +0 -11
  1524. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js.map +0 -1
  1525. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts +0 -56
  1526. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts.map +0 -1
  1527. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js +0 -27
  1528. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js.map +0 -1
  1529. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts +0 -1535
  1530. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts.map +0 -1
  1531. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js +0 -95
  1532. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js.map +0 -1
  1533. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts +0 -64
  1534. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts.map +0 -1
  1535. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js +0 -25
  1536. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js.map +0 -1
  1537. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts +0 -92
  1538. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts.map +0 -1
  1539. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js +0 -26
  1540. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js.map +0 -1
  1541. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts +0 -20
  1542. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts.map +0 -1
  1543. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js +0 -15
  1544. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js.map +0 -1
  1545. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts +0 -129
  1546. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts.map +0 -1
  1547. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js +0 -32
  1548. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js.map +0 -1
  1549. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts +0 -48
  1550. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts.map +0 -1
  1551. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js +0 -12
  1552. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js.map +0 -1
  1553. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts +0 -19
  1554. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts.map +0 -1
  1555. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js +0 -19
  1556. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js.map +0 -1
  1557. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts +0 -18
  1558. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts.map +0 -1
  1559. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js +0 -6
  1560. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js.map +0 -1
  1561. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts +0 -656
  1562. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts.map +0 -1
  1563. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js +0 -95
  1564. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js.map +0 -1
  1565. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts +0 -1173
  1566. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts.map +0 -1
  1567. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js +0 -547
  1568. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js.map +0 -1
  1569. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts +0 -583
  1570. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts.map +0 -1
  1571. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js +0 -93
  1572. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js.map +0 -1
  1573. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts +0 -114
  1574. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts.map +0 -1
  1575. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js +0 -35
  1576. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js.map +0 -1
  1577. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts +0 -56
  1578. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts.map +0 -1
  1579. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js +0 -22
  1580. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js.map +0 -1
  1581. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts +0 -105
  1582. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts.map +0 -1
  1583. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js +0 -46
  1584. package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js.map +0 -1
  1585. package/dist/runtime/server/node_modules/@paperclipai/shared/package.json +0 -33
  1586. package/dist/runtime/server/package.json +0 -5
  1587. package/dist/runtime/server/ui-dist/android-chrome-192x192.png +0 -0
  1588. package/dist/runtime/server/ui-dist/android-chrome-512x512.png +0 -0
  1589. package/dist/runtime/server/ui-dist/apple-touch-icon.png +0 -0
  1590. package/dist/runtime/server/ui-dist/assets/OnboardingWizard-BiZHH3vY.js +0 -834
  1591. package/dist/runtime/server/ui-dist/assets/_basePickBy-DOJDGGWo.js +0 -1
  1592. package/dist/runtime/server/ui-dist/assets/_baseUniq-DjoWC9VG.js +0 -1
  1593. package/dist/runtime/server/ui-dist/assets/apl-B4CMkyY2.js +0 -1
  1594. package/dist/runtime/server/ui-dist/assets/arc-DzAhgPuQ.js +0 -1
  1595. package/dist/runtime/server/ui-dist/assets/architectureDiagram-VXUJARFQ-CFxoZ9U1.js +0 -36
  1596. package/dist/runtime/server/ui-dist/assets/asciiarmor-Df11BRmG.js +0 -1
  1597. package/dist/runtime/server/ui-dist/assets/asn1-EdZsLKOL.js +0 -1
  1598. package/dist/runtime/server/ui-dist/assets/asterisk-B-8jnY81.js +0 -1
  1599. package/dist/runtime/server/ui-dist/assets/blockDiagram-VD42YOAC-CmcNReYb.js +0 -122
  1600. package/dist/runtime/server/ui-dist/assets/brainfuck-C4LP7Hcl.js +0 -1
  1601. package/dist/runtime/server/ui-dist/assets/c4Diagram-YG6GDRKO-62g03z24.js +0 -10
  1602. package/dist/runtime/server/ui-dist/assets/channel-CyMiLt_6.js +0 -1
  1603. package/dist/runtime/server/ui-dist/assets/chunk-4BX2VUAB-DdKgkZWf.js +0 -1
  1604. package/dist/runtime/server/ui-dist/assets/chunk-55IACEB6-BG61sDBH.js +0 -1
  1605. package/dist/runtime/server/ui-dist/assets/chunk-B4BG7PRW-jHjDOzs3.js +0 -165
  1606. package/dist/runtime/server/ui-dist/assets/chunk-DI55MBZ5-QWOEgAft.js +0 -220
  1607. package/dist/runtime/server/ui-dist/assets/chunk-FMBD7UC4-BTtsDCBm.js +0 -15
  1608. package/dist/runtime/server/ui-dist/assets/chunk-QN33PNHL-DQ0G5mTp.js +0 -1
  1609. package/dist/runtime/server/ui-dist/assets/chunk-QZHKN3VN-CwD654Gq.js +0 -1
  1610. package/dist/runtime/server/ui-dist/assets/chunk-TZMSLE5B-BW4AfItk.js +0 -1
  1611. package/dist/runtime/server/ui-dist/assets/classDiagram-2ON5EDUG-Bpt4jbt_.js +0 -1
  1612. package/dist/runtime/server/ui-dist/assets/classDiagram-v2-WZHVMYZB-Bpt4jbt_.js +0 -1
  1613. package/dist/runtime/server/ui-dist/assets/clike-B9uivgTg.js +0 -1
  1614. package/dist/runtime/server/ui-dist/assets/clojure-BMjYHr_A.js +0 -1
  1615. package/dist/runtime/server/ui-dist/assets/clone-C1pAl4cM.js +0 -1
  1616. package/dist/runtime/server/ui-dist/assets/cmake-BQqOBYOt.js +0 -1
  1617. package/dist/runtime/server/ui-dist/assets/cobol-CWcv1MsR.js +0 -1
  1618. package/dist/runtime/server/ui-dist/assets/coffeescript-S37ZYGWr.js +0 -1
  1619. package/dist/runtime/server/ui-dist/assets/commonlisp-DBKNyK5s.js +0 -1
  1620. package/dist/runtime/server/ui-dist/assets/cose-bilkent-S5V4N54A-Cl5X2jL8.js +0 -1
  1621. package/dist/runtime/server/ui-dist/assets/crystal-SjHAIU92.js +0 -1
  1622. package/dist/runtime/server/ui-dist/assets/css-BnMrqG3P.js +0 -1
  1623. package/dist/runtime/server/ui-dist/assets/cypher-C_CwsFkJ.js +0 -1
  1624. package/dist/runtime/server/ui-dist/assets/cytoscape.esm-BQaXIfA_.js +0 -331
  1625. package/dist/runtime/server/ui-dist/assets/d-pRatUO7H.js +0 -1
  1626. package/dist/runtime/server/ui-dist/assets/dagre-6UL2VRFP-B2u9a5zG.js +0 -4
  1627. package/dist/runtime/server/ui-dist/assets/defaultLocale-DX6XiGOO.js +0 -1
  1628. package/dist/runtime/server/ui-dist/assets/diagram-PSM6KHXK-DsSVNioI.js +0 -24
  1629. package/dist/runtime/server/ui-dist/assets/diagram-QEK2KX5R-C2oaCik_.js +0 -43
  1630. package/dist/runtime/server/ui-dist/assets/diagram-S2PKOQOG-CuEvUbkw.js +0 -24
  1631. package/dist/runtime/server/ui-dist/assets/diff-DbItnlRl.js +0 -1
  1632. package/dist/runtime/server/ui-dist/assets/dockerfile-BKs6k2Af.js +0 -1
  1633. package/dist/runtime/server/ui-dist/assets/dtd-DF_7sFjM.js +0 -1
  1634. package/dist/runtime/server/ui-dist/assets/dx-root-B5r5o3mh.js +0 -280
  1635. package/dist/runtime/server/ui-dist/assets/dylan-DwRh75JA.js +0 -1
  1636. package/dist/runtime/server/ui-dist/assets/ebnf-CDyGwa7X.js +0 -1
  1637. package/dist/runtime/server/ui-dist/assets/ecl-Cabwm37j.js +0 -1
  1638. package/dist/runtime/server/ui-dist/assets/eiffel-CnydiIhH.js +0 -1
  1639. package/dist/runtime/server/ui-dist/assets/elm-vLlmbW-K.js +0 -1
  1640. package/dist/runtime/server/ui-dist/assets/erDiagram-Q2GNP2WA-_1lFdkqV.js +0 -60
  1641. package/dist/runtime/server/ui-dist/assets/erlang-BNw1qcRV.js +0 -1
  1642. package/dist/runtime/server/ui-dist/assets/factor-kuTfRLto.js +0 -1
  1643. package/dist/runtime/server/ui-dist/assets/fcl-Kvtd6kyn.js +0 -1
  1644. package/dist/runtime/server/ui-dist/assets/flowDiagram-NV44I4VS-DUoF0DLT.js +0 -162
  1645. package/dist/runtime/server/ui-dist/assets/forth-Ffai-XNe.js +0 -1
  1646. package/dist/runtime/server/ui-dist/assets/fortran-DYz_wnZ1.js +0 -1
  1647. package/dist/runtime/server/ui-dist/assets/ganttDiagram-JELNMOA3-CruQ7D3m.js +0 -267
  1648. package/dist/runtime/server/ui-dist/assets/gas-Bneqetm1.js +0 -1
  1649. package/dist/runtime/server/ui-dist/assets/gherkin-heZmZLOM.js +0 -1
  1650. package/dist/runtime/server/ui-dist/assets/gitGraphDiagram-V2S2FVAM-BDuS9ljz.js +0 -65
  1651. package/dist/runtime/server/ui-dist/assets/graph-BFy59M3M.js +0 -1
  1652. package/dist/runtime/server/ui-dist/assets/groovy-D9Dt4D0W.js +0 -1
  1653. package/dist/runtime/server/ui-dist/assets/gtm-root-bgiNL285.js +0 -11
  1654. package/dist/runtime/server/ui-dist/assets/haskell-Cw1EW3IL.js +0 -1
  1655. package/dist/runtime/server/ui-dist/assets/haxe-H-WmDvRZ.js +0 -1
  1656. package/dist/runtime/server/ui-dist/assets/http-DBlCnlav.js +0 -1
  1657. package/dist/runtime/server/ui-dist/assets/idl-BEugSyMb.js +0 -1
  1658. package/dist/runtime/server/ui-dist/assets/index--dv-yDMD.js +0 -1
  1659. package/dist/runtime/server/ui-dist/assets/index-A_Utfb1G.js +0 -1
  1660. package/dist/runtime/server/ui-dist/assets/index-AaLnuKvn.js +0 -1
  1661. package/dist/runtime/server/ui-dist/assets/index-B9Xd_vMV.js +0 -3
  1662. package/dist/runtime/server/ui-dist/assets/index-BCphYMJ8.js +0 -1
  1663. package/dist/runtime/server/ui-dist/assets/index-BKO_Nk8c.js +0 -7
  1664. package/dist/runtime/server/ui-dist/assets/index-BMwN19Gi.js +0 -2
  1665. package/dist/runtime/server/ui-dist/assets/index-Bz0rSFov.js +0 -1
  1666. package/dist/runtime/server/ui-dist/assets/index-BzNjBEzf.js +0 -1
  1667. package/dist/runtime/server/ui-dist/assets/index-CLWYCHoS.js +0 -1
  1668. package/dist/runtime/server/ui-dist/assets/index-CZVyxyFA.js +0 -1
  1669. package/dist/runtime/server/ui-dist/assets/index-ClbnJMz6.css +0 -1
  1670. package/dist/runtime/server/ui-dist/assets/index-Cpqm25YS.js +0 -1
  1671. package/dist/runtime/server/ui-dist/assets/index-Cv5ClxEP.js +0 -1
  1672. package/dist/runtime/server/ui-dist/assets/index-D2MHxpCH.js +0 -50
  1673. package/dist/runtime/server/ui-dist/assets/index-D3MPbMGr.js +0 -1
  1674. package/dist/runtime/server/ui-dist/assets/index-DFUgoz9_.js +0 -1
  1675. package/dist/runtime/server/ui-dist/assets/index-DL95rih-.js +0 -1
  1676. package/dist/runtime/server/ui-dist/assets/index-DY60bSWi.js +0 -1
  1677. package/dist/runtime/server/ui-dist/assets/index-DcoQC6ia.js +0 -13
  1678. package/dist/runtime/server/ui-dist/assets/index-DfnTp5y6.js +0 -6
  1679. package/dist/runtime/server/ui-dist/assets/index-Fb7iEaRG.js +0 -1
  1680. package/dist/runtime/server/ui-dist/assets/index-TPJ_0VD8.js +0 -1
  1681. package/dist/runtime/server/ui-dist/assets/index-WuexBBBr.js +0 -1
  1682. package/dist/runtime/server/ui-dist/assets/infoDiagram-HS3SLOUP-CiI6r25R.js +0 -2
  1683. package/dist/runtime/server/ui-dist/assets/init-Gi6I4Gst.js +0 -1
  1684. package/dist/runtime/server/ui-dist/assets/javascript-iXu5QeM3.js +0 -1
  1685. package/dist/runtime/server/ui-dist/assets/journeyDiagram-XKPGCS4Q-BMmOHrov.js +0 -139
  1686. package/dist/runtime/server/ui-dist/assets/julia-DuME0IfC.js +0 -1
  1687. package/dist/runtime/server/ui-dist/assets/kanban-definition-3W4ZIXB7-BxeYeVi1.js +0 -89
  1688. package/dist/runtime/server/ui-dist/assets/katex-O9d3_IXG.js +0 -261
  1689. package/dist/runtime/server/ui-dist/assets/layout-anG6DZ8y.js +0 -1
  1690. package/dist/runtime/server/ui-dist/assets/linear-CDTAlHE-.js +0 -1
  1691. package/dist/runtime/server/ui-dist/assets/livescript-BwQOo05w.js +0 -1
  1692. package/dist/runtime/server/ui-dist/assets/lua-BgMRiT3U.js +0 -1
  1693. package/dist/runtime/server/ui-dist/assets/mathematica-DTrFuWx2.js +0 -1
  1694. package/dist/runtime/server/ui-dist/assets/mbox-CNhZ1qSd.js +0 -1
  1695. package/dist/runtime/server/ui-dist/assets/mermaid.core-DNt7uRm5.js +0 -256
  1696. package/dist/runtime/server/ui-dist/assets/mindmap-definition-VGOIOE7T-DTO5b9so.js +0 -68
  1697. package/dist/runtime/server/ui-dist/assets/mirc-CjQqDB4T.js +0 -1
  1698. package/dist/runtime/server/ui-dist/assets/mllike-CXdrOF99.js +0 -1
  1699. package/dist/runtime/server/ui-dist/assets/modelica-Dc1JOy9r.js +0 -1
  1700. package/dist/runtime/server/ui-dist/assets/mscgen-BA5vi2Kp.js +0 -1
  1701. package/dist/runtime/server/ui-dist/assets/mumps-BT43cFF4.js +0 -1
  1702. package/dist/runtime/server/ui-dist/assets/nginx-DdIZxoE0.js +0 -1
  1703. package/dist/runtime/server/ui-dist/assets/nsis-LdVXkNf5.js +0 -1
  1704. package/dist/runtime/server/ui-dist/assets/ntriples-BfvgReVJ.js +0 -1
  1705. package/dist/runtime/server/ui-dist/assets/octave-Ck1zUtKM.js +0 -1
  1706. package/dist/runtime/server/ui-dist/assets/ordinal-Cboi1Yqb.js +0 -1
  1707. package/dist/runtime/server/ui-dist/assets/oz-BzwKVEFT.js +0 -1
  1708. package/dist/runtime/server/ui-dist/assets/pascal--L3eBynH.js +0 -1
  1709. package/dist/runtime/server/ui-dist/assets/perl-CdXCOZ3F.js +0 -1
  1710. package/dist/runtime/server/ui-dist/assets/pieDiagram-ADFJNKIX-BteTAzPn.js +0 -30
  1711. package/dist/runtime/server/ui-dist/assets/pig-CevX1Tat.js +0 -1
  1712. package/dist/runtime/server/ui-dist/assets/powershell-CFHJl5sT.js +0 -1
  1713. package/dist/runtime/server/ui-dist/assets/properties-C78fOPTZ.js +0 -1
  1714. package/dist/runtime/server/ui-dist/assets/protobuf-ChK-085T.js +0 -1
  1715. package/dist/runtime/server/ui-dist/assets/pug-DeIclll2.js +0 -1
  1716. package/dist/runtime/server/ui-dist/assets/puppet-DMA9R1ak.js +0 -1
  1717. package/dist/runtime/server/ui-dist/assets/python-BuPzkPfP.js +0 -1
  1718. package/dist/runtime/server/ui-dist/assets/q-pXgVlZs6.js +0 -1
  1719. package/dist/runtime/server/ui-dist/assets/quadrantDiagram-AYHSOK5B-_gG2aKm4.js +0 -7
  1720. package/dist/runtime/server/ui-dist/assets/r-B6wPVr8A.js +0 -1
  1721. package/dist/runtime/server/ui-dist/assets/requirementDiagram-UZGBJVZJ-CcOvI4e8.js +0 -64
  1722. package/dist/runtime/server/ui-dist/assets/rpm-CTu-6PCP.js +0 -1
  1723. package/dist/runtime/server/ui-dist/assets/ruby-B2Rjki9n.js +0 -1
  1724. package/dist/runtime/server/ui-dist/assets/sankeyDiagram-TZEHDZUN-C1Rbdzvp.js +0 -10
  1725. package/dist/runtime/server/ui-dist/assets/sas-B4kiWyti.js +0 -1
  1726. package/dist/runtime/server/ui-dist/assets/scheme-C41bIUwD.js +0 -1
  1727. package/dist/runtime/server/ui-dist/assets/sequenceDiagram-WL72ISMW-DPx4fWtG.js +0 -145
  1728. package/dist/runtime/server/ui-dist/assets/shell-CjFT_Tl9.js +0 -1
  1729. package/dist/runtime/server/ui-dist/assets/sieve-C3Gn_uJK.js +0 -1
  1730. package/dist/runtime/server/ui-dist/assets/simple-mode-GW_nhZxv.js +0 -1
  1731. package/dist/runtime/server/ui-dist/assets/smalltalk-CnHTOXQT.js +0 -1
  1732. package/dist/runtime/server/ui-dist/assets/solr-DehyRSwq.js +0 -1
  1733. package/dist/runtime/server/ui-dist/assets/sparql-DkYu6x3z.js +0 -1
  1734. package/dist/runtime/server/ui-dist/assets/spreadsheet-BCZA_wO0.js +0 -1
  1735. package/dist/runtime/server/ui-dist/assets/sql-D0XecflT.js +0 -1
  1736. package/dist/runtime/server/ui-dist/assets/stateDiagram-FKZM4ZOC-CID-77J9.js +0 -1
  1737. package/dist/runtime/server/ui-dist/assets/stateDiagram-v2-4FDKWEC3-DF70krIP.js +0 -1
  1738. package/dist/runtime/server/ui-dist/assets/stex-C3f8Ysf7.js +0 -1
  1739. package/dist/runtime/server/ui-dist/assets/stylus-B533Al4x.js +0 -1
  1740. package/dist/runtime/server/ui-dist/assets/swift-BzpIVaGY.js +0 -1
  1741. package/dist/runtime/server/ui-dist/assets/tcl-DVfN8rqt.js +0 -1
  1742. package/dist/runtime/server/ui-dist/assets/textile-CnDTJFAw.js +0 -1
  1743. package/dist/runtime/server/ui-dist/assets/tiddlywiki-DO-Gjzrf.js +0 -1
  1744. package/dist/runtime/server/ui-dist/assets/tiki-DGYXhP31.js +0 -1
  1745. package/dist/runtime/server/ui-dist/assets/timeline-definition-IT6M3QCI-CyA1h3jY.js +0 -61
  1746. package/dist/runtime/server/ui-dist/assets/toml-Bm5Em-hy.js +0 -1
  1747. package/dist/runtime/server/ui-dist/assets/treemap-GDKQZRPO-nqrXf2kh.js +0 -162
  1748. package/dist/runtime/server/ui-dist/assets/troff-wAsdV37c.js +0 -1
  1749. package/dist/runtime/server/ui-dist/assets/ttcn-CfJYG6tj.js +0 -1
  1750. package/dist/runtime/server/ui-dist/assets/ttcn-cfg-B9xdYoR4.js +0 -1
  1751. package/dist/runtime/server/ui-dist/assets/turtle-B1tBg_DP.js +0 -1
  1752. package/dist/runtime/server/ui-dist/assets/vb-CmGdzxic.js +0 -1
  1753. package/dist/runtime/server/ui-dist/assets/vbscript-BuJXcnF6.js +0 -1
  1754. package/dist/runtime/server/ui-dist/assets/velocity-D8B20fx6.js +0 -1
  1755. package/dist/runtime/server/ui-dist/assets/verilog-C6RDOZhf.js +0 -1
  1756. package/dist/runtime/server/ui-dist/assets/vhdl-lSbBsy5d.js +0 -1
  1757. package/dist/runtime/server/ui-dist/assets/webidl-ZXfAyPTL.js +0 -1
  1758. package/dist/runtime/server/ui-dist/assets/xquery-DzFWVndE.js +0 -1
  1759. package/dist/runtime/server/ui-dist/assets/xychartDiagram-PRI3JC2R-CS0bUj41.js +0 -7
  1760. package/dist/runtime/server/ui-dist/assets/yacas-BJ4BC0dw.js +0 -1
  1761. package/dist/runtime/server/ui-dist/assets/z80-Hz9HOZM7.js +0 -1
  1762. package/dist/runtime/server/ui-dist/brands/opencode-logo-dark-square.svg +0 -18
  1763. package/dist/runtime/server/ui-dist/brands/opencode-logo-light-square.svg +0 -18
  1764. package/dist/runtime/server/ui-dist/favicon-16x16.png +0 -0
  1765. package/dist/runtime/server/ui-dist/favicon-32x32.png +0 -0
  1766. package/dist/runtime/server/ui-dist/favicon.ico +0 -0
  1767. package/dist/runtime/server/ui-dist/favicon.svg +0 -9
  1768. package/dist/runtime/server/ui-dist/index.html +0 -48
  1769. package/dist/runtime/server/ui-dist/site.webmanifest +0 -30
  1770. package/dist/runtime/server/ui-dist/sw.js +0 -42
  1771. package/dist/runtime/server/ui-dist/worktree-favicon-16x16.png +0 -0
  1772. package/dist/runtime/server/ui-dist/worktree-favicon-32x32.png +0 -0
  1773. package/dist/runtime/server/ui-dist/worktree-favicon.ico +0 -0
  1774. package/dist/runtime/server/ui-dist/worktree-favicon.svg +0 -9
@@ -1,1784 +0,0 @@
1
- /**
2
- * @fileoverview Plugin management REST API routes
3
- *
4
- * This module provides Express routes for managing the complete plugin lifecycle:
5
- * - Listing and filtering plugins by status
6
- * - Installing plugins from npm or local paths
7
- * - Uninstalling plugins (soft delete or hard purge)
8
- * - Enabling/disabling plugins
9
- * - Running health diagnostics
10
- * - Upgrading plugins
11
- * - Retrieving UI slot contributions for frontend rendering
12
- * - Discovering and executing plugin-contributed agent tools
13
- *
14
- * All routes require board-level authentication (assertBoard middleware).
15
- *
16
- * @module server/routes/plugins
17
- * @see doc/plugins/PLUGIN_SPEC.md for the full plugin specification
18
- */
19
- import { existsSync } from "node:fs";
20
- import path from "node:path";
21
- import { randomUUID } from "node:crypto";
22
- import { fileURLToPath } from "node:url";
23
- import { Router } from "express";
24
- import { and, desc, eq, gte } from "drizzle-orm";
25
- import { companies, pluginLogs, pluginWebhookDeliveries } from "@paperclipai/db";
26
- import { PLUGIN_STATUSES, } from "@paperclipai/shared";
27
- import { pluginRegistryService } from "../services/plugin-registry.js";
28
- import { pluginLifecycleManager } from "../services/plugin-lifecycle.js";
29
- import { getPluginUiContributionMetadata } from "../services/plugin-loader.js";
30
- import { logActivity } from "../services/activity-log.js";
31
- import { publishGlobalLiveEvent } from "../services/live-events.js";
32
- import { JsonRpcCallError, PLUGIN_RPC_ERROR_CODES } from "@paperclipai/plugin-sdk";
33
- import { assertBoard, assertCompanyAccess, getActorInfo } from "./authz.js";
34
- import { validateInstanceConfig } from "../services/plugin-config-validator.js";
35
- /** UUID v4 regex used for plugin ID route resolution. */
36
- const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
37
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
38
- const REPO_ROOT = path.resolve(__dirname, "../../..");
39
- const BUNDLED_PLUGIN_EXAMPLES = [
40
- {
41
- packageName: "@paperclipai/plugin-hello-world-example",
42
- pluginKey: "paperclip.hello-world-example",
43
- displayName: "Hello World Widget (Example)",
44
- description: "Reference UI plugin that adds a simple Hello World widget to the Paperclip dashboard.",
45
- localPath: "packages/plugins/examples/plugin-hello-world-example",
46
- tag: "example",
47
- },
48
- {
49
- packageName: "@paperclipai/plugin-file-browser-example",
50
- pluginKey: "paperclip-file-browser-example",
51
- displayName: "File Browser (Example)",
52
- description: "Example plugin that adds a Files link in project navigation plus a project detail file browser.",
53
- localPath: "packages/plugins/examples/plugin-file-browser-example",
54
- tag: "example",
55
- },
56
- {
57
- packageName: "@paperclipai/plugin-kitchen-sink-example",
58
- pluginKey: "paperclip-kitchen-sink-example",
59
- displayName: "Kitchen Sink (Example)",
60
- description: "Reference plugin that demonstrates the current Paperclip plugin API surface, bridge flows, UI extension surfaces, jobs, webhooks, tools, streams, and trusted local workspace/process demos.",
61
- localPath: "packages/plugins/examples/plugin-kitchen-sink-example",
62
- tag: "example",
63
- },
64
- ];
65
- function listBundledPluginExamples() {
66
- return BUNDLED_PLUGIN_EXAMPLES.flatMap((plugin) => {
67
- const absoluteLocalPath = path.resolve(REPO_ROOT, plugin.localPath);
68
- if (!existsSync(absoluteLocalPath))
69
- return [];
70
- return [{ ...plugin, localPath: absoluteLocalPath }];
71
- });
72
- }
73
- /**
74
- * Resolve a plugin by either database ID or plugin key.
75
- *
76
- * Lookup order:
77
- * - UUID-like IDs: getById first, then getByKey.
78
- * - Scoped package keys (e.g. "@scope/name"): getByKey only, never getById.
79
- * - Other non-UUID IDs: try getById first (test/memory registries may allow this),
80
- * then fallback to getByKey. Any UUID parse error from getById is ignored.
81
- *
82
- * @param registry - The plugin registry service instance
83
- * @param pluginId - Either a database UUID or plugin key (manifest id)
84
- * @returns Plugin record or null if not found
85
- */
86
- async function resolvePlugin(registry, pluginId) {
87
- const isUuid = UUID_REGEX.test(pluginId);
88
- const isScopedPackageKey = pluginId.startsWith("@") || pluginId.includes("/");
89
- // Scoped package IDs are valid plugin keys but invalid UUIDs.
90
- // Skip getById() entirely to avoid Postgres uuid parse errors.
91
- if (isScopedPackageKey && !isUuid) {
92
- return registry.getByKey(pluginId);
93
- }
94
- try {
95
- const byId = await registry.getById(pluginId);
96
- if (byId)
97
- return byId;
98
- }
99
- catch (error) {
100
- const maybeCode = typeof error === "object" && error !== null && "code" in error
101
- ? error.code
102
- : undefined;
103
- // Ignore invalid UUID cast errors and continue with key lookup.
104
- if (maybeCode !== "22P02") {
105
- throw error;
106
- }
107
- }
108
- return registry.getByKey(pluginId);
109
- }
110
- /**
111
- * Create Express router for plugin management API.
112
- *
113
- * Routes provided:
114
- *
115
- * | Method | Path | Description |
116
- * |--------|------|-------------|
117
- * | GET | /plugins | List all plugins (optional ?status= filter) |
118
- * | GET | /plugins/ui-contributions | Get UI slots from ready plugins |
119
- * | GET | /plugins/:pluginId | Get single plugin by ID or key |
120
- * | POST | /plugins/install | Install from npm or local path |
121
- * | DELETE | /plugins/:pluginId | Uninstall (optional ?purge=true) |
122
- * | POST | /plugins/:pluginId/enable | Enable a plugin |
123
- * | POST | /plugins/:pluginId/disable | Disable a plugin |
124
- * | GET | /plugins/:pluginId/health | Run health diagnostics |
125
- * | POST | /plugins/:pluginId/upgrade | Upgrade to newer version |
126
- * | GET | /plugins/:pluginId/jobs | List jobs for a plugin |
127
- * | GET | /plugins/:pluginId/jobs/:jobId/runs | List runs for a job |
128
- * | POST | /plugins/:pluginId/jobs/:jobId/trigger | Manually trigger a job |
129
- * | POST | /plugins/:pluginId/webhooks/:endpointKey | Receive inbound webhook |
130
- * | GET | /plugins/tools | List all available plugin tools |
131
- * | GET | /plugins/tools?pluginId=... | List tools for a specific plugin |
132
- * | POST | /plugins/tools/execute | Execute a plugin tool |
133
- * | GET | /plugins/:pluginId/config | Get current plugin config |
134
- * | POST | /plugins/:pluginId/config | Save (upsert) plugin config |
135
- * | POST | /plugins/:pluginId/config/test | Test config via validateConfig RPC |
136
- * | POST | /plugins/:pluginId/bridge/data | Proxy getData to plugin worker |
137
- * | POST | /plugins/:pluginId/bridge/action | Proxy performAction to plugin worker |
138
- * | POST | /plugins/:pluginId/data/:key | Proxy getData to plugin worker (key in URL) |
139
- * | POST | /plugins/:pluginId/actions/:key | Proxy performAction to plugin worker (key in URL) |
140
- * | GET | /plugins/:pluginId/bridge/stream/:channel | SSE stream from worker to UI |
141
- * | GET | /plugins/:pluginId/dashboard | Aggregated health dashboard data |
142
- *
143
- * **Route Ordering Note:** Static routes (like /ui-contributions, /tools) must be
144
- * registered before parameterized routes (like /:pluginId) to prevent Express from
145
- * matching them as a plugin ID.
146
- *
147
- * @param db - Database connection instance
148
- * @param jobDeps - Optional job scheduling dependencies
149
- * @param webhookDeps - Optional webhook ingestion dependencies
150
- * @param toolDeps - Optional tool dispatcher dependencies
151
- * @param bridgeDeps - Optional bridge proxy dependencies for getData/performAction
152
- * @returns Express router with plugin routes mounted
153
- */
154
- export function pluginRoutes(db, loader, jobDeps, webhookDeps, toolDeps, bridgeDeps) {
155
- const router = Router();
156
- const registry = pluginRegistryService(db);
157
- const lifecycle = pluginLifecycleManager(db, {
158
- loader,
159
- workerManager: bridgeDeps?.workerManager ?? webhookDeps?.workerManager,
160
- });
161
- async function resolvePluginAuditCompanyIds(req) {
162
- if (typeof db.select === "function") {
163
- const rows = await db
164
- .select({ id: companies.id })
165
- .from(companies);
166
- return rows.map((row) => row.id);
167
- }
168
- if (req.actor.type === "agent" && req.actor.companyId) {
169
- return [req.actor.companyId];
170
- }
171
- if (req.actor.type === "board") {
172
- return req.actor.companyIds ?? [];
173
- }
174
- return [];
175
- }
176
- async function logPluginMutationActivity(req, action, entityId, details) {
177
- const companyIds = await resolvePluginAuditCompanyIds(req);
178
- if (companyIds.length === 0)
179
- return;
180
- const actor = getActorInfo(req);
181
- await Promise.all(companyIds.map((companyId) => logActivity(db, {
182
- companyId,
183
- actorType: actor.actorType,
184
- actorId: actor.actorId,
185
- agentId: actor.agentId,
186
- runId: actor.runId,
187
- action,
188
- entityType: "plugin",
189
- entityId,
190
- details,
191
- })));
192
- }
193
- /**
194
- * GET /api/plugins
195
- *
196
- * List all installed plugins, optionally filtered by lifecycle status.
197
- *
198
- * Query params:
199
- * - `status` (optional): Filter by lifecycle status. Must be one of the
200
- * values in `PLUGIN_STATUSES` (`installed`, `ready`, `error`,
201
- * `upgrade_pending`, `uninstalled`). Returns HTTP 400 if the value is
202
- * not a recognised status string.
203
- *
204
- * Response: `PluginRecord[]`
205
- */
206
- router.get("/plugins", async (req, res) => {
207
- assertBoard(req);
208
- const rawStatus = req.query.status;
209
- if (rawStatus !== undefined) {
210
- if (typeof rawStatus !== "string" || !PLUGIN_STATUSES.includes(rawStatus)) {
211
- res.status(400).json({
212
- error: `Invalid status '${String(rawStatus)}'. Must be one of: ${PLUGIN_STATUSES.join(", ")}`,
213
- });
214
- return;
215
- }
216
- }
217
- const status = rawStatus;
218
- const plugins = status
219
- ? await registry.listByStatus(status)
220
- : await registry.listInstalled();
221
- res.json(plugins);
222
- });
223
- /**
224
- * GET /api/plugins/examples
225
- *
226
- * Return first-party example plugins bundled in this repo, if present.
227
- * These can be installed through the normal local-path install flow.
228
- */
229
- router.get("/plugins/examples", async (req, res) => {
230
- assertBoard(req);
231
- res.json(listBundledPluginExamples());
232
- });
233
- // IMPORTANT: Static routes must come before parameterized routes
234
- // to avoid Express matching "ui-contributions" as a :pluginId
235
- /**
236
- * GET /api/plugins/ui-contributions
237
- *
238
- * Return UI contributions from all plugins in 'ready' state.
239
- * Used by the frontend to discover plugin UI slots and launcher metadata.
240
- *
241
- * The response is normalized for the frontend slot host:
242
- * - Only includes plugins with at least one declared UI slot or launcher
243
- * - Excludes plugins with null/missing manifestJson (defensive)
244
- * - Slots are extracted from manifest.ui.slots
245
- * - Launchers are aggregated from legacy manifest.launchers and manifest.ui.launchers
246
- *
247
- * Example response:
248
- * ```json
249
- * [
250
- * {
251
- * "pluginId": "plg_123",
252
- * "pluginKey": "paperclip.claude-usage",
253
- * "displayName": "Claude Usage",
254
- * "version": "1.0.0",
255
- * "uiEntryFile": "index.js",
256
- * "slots": [],
257
- * "launchers": [
258
- * {
259
- * "id": "claude-usage-toolbar",
260
- * "displayName": "Claude Usage",
261
- * "placementZone": "toolbarButton",
262
- * "action": { "type": "openModal", "target": "ClaudeUsageView" },
263
- * "render": { "environment": "hostOverlay", "bounds": "wide" }
264
- * }
265
- * ]
266
- * }
267
- * ]
268
- * ```
269
- *
270
- * Response: PluginUiContribution[]
271
- */
272
- router.get("/plugins/ui-contributions", async (req, res) => {
273
- assertBoard(req);
274
- const plugins = await registry.listByStatus("ready");
275
- const contributions = plugins
276
- .map((plugin) => {
277
- // Safety check: manifestJson should always exist for ready plugins, but guard against null
278
- const manifest = plugin.manifestJson;
279
- if (!manifest)
280
- return null;
281
- const uiMetadata = getPluginUiContributionMetadata(manifest);
282
- if (!uiMetadata)
283
- return null;
284
- return {
285
- pluginId: plugin.id,
286
- pluginKey: plugin.pluginKey,
287
- displayName: manifest.displayName,
288
- version: plugin.version,
289
- updatedAt: plugin.updatedAt.toISOString(),
290
- uiEntryFile: uiMetadata.uiEntryFile,
291
- slots: uiMetadata.slots,
292
- launchers: uiMetadata.launchers,
293
- };
294
- })
295
- .filter((item) => item !== null);
296
- res.json(contributions);
297
- });
298
- // ===========================================================================
299
- // Tool discovery and execution routes
300
- // ===========================================================================
301
- /**
302
- * GET /api/plugins/tools
303
- *
304
- * List all available plugin-contributed tools in an agent-friendly format.
305
- *
306
- * Query params:
307
- * - `pluginId` (optional): Filter to tools from a specific plugin
308
- *
309
- * Response: `AgentToolDescriptor[]`
310
- * Errors: 501 if tool dispatcher is not configured
311
- */
312
- router.get("/plugins/tools", async (req, res) => {
313
- assertBoard(req);
314
- if (!toolDeps) {
315
- res.status(501).json({ error: "Plugin tool dispatch is not enabled" });
316
- return;
317
- }
318
- const pluginId = req.query.pluginId;
319
- const filter = pluginId ? { pluginId } : undefined;
320
- const tools = toolDeps.toolDispatcher.listToolsForAgent(filter);
321
- res.json(tools);
322
- });
323
- /**
324
- * POST /api/plugins/tools/execute
325
- *
326
- * Execute a plugin-contributed tool by its namespaced name.
327
- *
328
- * This is the primary endpoint used by the agent service to invoke
329
- * plugin tools during an agent run.
330
- *
331
- * Request body:
332
- * - `tool`: Fully namespaced tool name (e.g., "acme.linear:search-issues")
333
- * - `parameters`: Parameters matching the tool's declared JSON Schema
334
- * - `runContext`: Agent run context with agentId, runId, companyId, projectId
335
- *
336
- * Response: `ToolExecutionResult`
337
- * Errors:
338
- * - 400 if request validation fails
339
- * - 404 if tool is not found
340
- * - 501 if tool dispatcher is not configured
341
- * - 502 if the plugin worker is unavailable or the RPC call fails
342
- */
343
- router.post("/plugins/tools/execute", async (req, res) => {
344
- assertBoard(req);
345
- if (!toolDeps) {
346
- res.status(501).json({ error: "Plugin tool dispatch is not enabled" });
347
- return;
348
- }
349
- const body = req.body;
350
- if (!body) {
351
- res.status(400).json({ error: "Request body is required" });
352
- return;
353
- }
354
- const { tool, parameters, runContext } = body;
355
- // Validate required fields
356
- if (!tool || typeof tool !== "string") {
357
- res.status(400).json({ error: '"tool" is required and must be a string' });
358
- return;
359
- }
360
- if (!runContext || typeof runContext !== "object") {
361
- res.status(400).json({ error: '"runContext" is required and must be an object' });
362
- return;
363
- }
364
- if (!runContext.agentId || !runContext.runId || !runContext.companyId || !runContext.projectId) {
365
- res.status(400).json({
366
- error: '"runContext" must include agentId, runId, companyId, and projectId',
367
- });
368
- return;
369
- }
370
- assertCompanyAccess(req, runContext.companyId);
371
- // Verify the tool exists
372
- const registeredTool = toolDeps.toolDispatcher.getTool(tool);
373
- if (!registeredTool) {
374
- res.status(404).json({ error: `Tool "${tool}" not found` });
375
- return;
376
- }
377
- try {
378
- const result = await toolDeps.toolDispatcher.executeTool(tool, parameters ?? {}, runContext);
379
- res.json(result);
380
- }
381
- catch (err) {
382
- const message = err instanceof Error ? err.message : String(err);
383
- // Distinguish between "worker not running" (502) and other errors (500)
384
- if (message.includes("not running") || message.includes("worker")) {
385
- res.status(502).json({ error: message });
386
- }
387
- else {
388
- res.status(500).json({ error: message });
389
- }
390
- }
391
- });
392
- /**
393
- * POST /api/plugins/install
394
- *
395
- * Install a plugin from npm or a local filesystem path.
396
- *
397
- * Request body:
398
- * - packageName: npm package name or local path (required)
399
- * - version: Target version for npm packages (optional)
400
- * - isLocalPath: Set true if packageName is a local path
401
- *
402
- * The installer:
403
- * 1. Downloads from npm or loads from local path
404
- * 2. Validates the manifest (schema + capability consistency)
405
- * 3. Registers in the database
406
- * 4. Transitions to `ready` state if no new capability approval is needed
407
- *
408
- * Response: `PluginRecord`
409
- *
410
- * Errors:
411
- * - `400` — validation failure or install error (package not found, bad manifest, etc.)
412
- * - `500` — installation succeeded but manifest is missing (indicates a loader bug)
413
- */
414
- router.post("/plugins/install", async (req, res) => {
415
- assertBoard(req);
416
- const { packageName, version, isLocalPath } = req.body;
417
- // Input validation
418
- if (!packageName || typeof packageName !== "string") {
419
- res.status(400).json({ error: "packageName is required and must be a string" });
420
- return;
421
- }
422
- if (version !== undefined && typeof version !== "string") {
423
- res.status(400).json({ error: "version must be a string if provided" });
424
- return;
425
- }
426
- if (isLocalPath !== undefined && typeof isLocalPath !== "boolean") {
427
- res.status(400).json({ error: "isLocalPath must be a boolean if provided" });
428
- return;
429
- }
430
- // Validate package name format
431
- const trimmedPackage = packageName.trim();
432
- if (trimmedPackage.length === 0) {
433
- res.status(400).json({ error: "packageName cannot be empty" });
434
- return;
435
- }
436
- // Basic security check for package name (prevent injection)
437
- if (!isLocalPath && /[<>:"|?*]/.test(trimmedPackage)) {
438
- res.status(400).json({ error: "packageName contains invalid characters" });
439
- return;
440
- }
441
- try {
442
- const installOptions = isLocalPath
443
- ? { localPath: trimmedPackage }
444
- : { packageName: trimmedPackage, version: version?.trim() };
445
- const discovered = await loader.installPlugin(installOptions);
446
- if (!discovered.manifest) {
447
- res.status(500).json({ error: "Plugin installed but manifest is missing" });
448
- return;
449
- }
450
- // Transition to ready state
451
- const existingPlugin = await registry.getByKey(discovered.manifest.id);
452
- if (existingPlugin) {
453
- await lifecycle.load(existingPlugin.id);
454
- const updated = await registry.getById(existingPlugin.id);
455
- await logPluginMutationActivity(req, "plugin.installed", existingPlugin.id, {
456
- pluginId: existingPlugin.id,
457
- pluginKey: existingPlugin.pluginKey,
458
- packageName: updated?.packageName ?? existingPlugin.packageName,
459
- version: updated?.version ?? existingPlugin.version,
460
- source: isLocalPath ? "local_path" : "npm",
461
- });
462
- publishGlobalLiveEvent({ type: "plugin.ui.updated", payload: { pluginId: existingPlugin.id, action: "installed" } });
463
- res.json(updated);
464
- }
465
- else {
466
- // This shouldn't happen since installPlugin already registers in the DB
467
- res.status(500).json({ error: "Plugin installed but not found in registry" });
468
- }
469
- }
470
- catch (err) {
471
- const message = err instanceof Error ? err.message : String(err);
472
- res.status(400).json({ error: message });
473
- }
474
- });
475
- /**
476
- * Map a worker RPC error to a bridge-level error code.
477
- *
478
- * JsonRpcCallError carries numeric codes from the plugin RPC error code space.
479
- * This helper maps them to the string error codes defined in PluginBridgeErrorCode.
480
- *
481
- * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
482
- */
483
- function mapRpcErrorToBridgeError(err) {
484
- if (err instanceof JsonRpcCallError) {
485
- switch (err.code) {
486
- case PLUGIN_RPC_ERROR_CODES.WORKER_UNAVAILABLE:
487
- return {
488
- code: "WORKER_UNAVAILABLE",
489
- message: err.message,
490
- details: err.data,
491
- };
492
- case PLUGIN_RPC_ERROR_CODES.CAPABILITY_DENIED:
493
- return {
494
- code: "CAPABILITY_DENIED",
495
- message: err.message,
496
- details: err.data,
497
- };
498
- case PLUGIN_RPC_ERROR_CODES.TIMEOUT:
499
- return {
500
- code: "TIMEOUT",
501
- message: err.message,
502
- details: err.data,
503
- };
504
- case PLUGIN_RPC_ERROR_CODES.WORKER_ERROR:
505
- return {
506
- code: "WORKER_ERROR",
507
- message: err.message,
508
- details: err.data,
509
- };
510
- default:
511
- return {
512
- code: "UNKNOWN",
513
- message: err.message,
514
- details: err.data,
515
- };
516
- }
517
- }
518
- const message = err instanceof Error ? err.message : String(err);
519
- // Worker not running — surface as WORKER_UNAVAILABLE
520
- if (message.includes("not running") || message.includes("not registered")) {
521
- return {
522
- code: "WORKER_UNAVAILABLE",
523
- message,
524
- };
525
- }
526
- return {
527
- code: "UNKNOWN",
528
- message,
529
- };
530
- }
531
- /**
532
- * POST /api/plugins/:pluginId/bridge/data
533
- *
534
- * Proxy a `getData` call from the plugin UI to the plugin worker.
535
- *
536
- * This is the server-side half of the `usePluginData(key, params)` bridge hook.
537
- * The frontend sends a POST with the data key and optional params; the host
538
- * forwards the call to the worker via the `getData` RPC method and returns
539
- * the result.
540
- *
541
- * Request body:
542
- * - `key`: Plugin-defined data key (e.g. `"sync-health"`)
543
- * - `params`: Optional query parameters forwarded to the worker handler
544
- *
545
- * Response: The raw result from the worker's `getData` handler
546
- *
547
- * Error response body follows the `PluginBridgeError` shape:
548
- * `{ code: PluginBridgeErrorCode, message: string, details?: unknown }`
549
- *
550
- * Errors:
551
- * - 400 if request validation fails
552
- * - 404 if plugin not found
553
- * - 501 if bridge deps are not configured
554
- * - 502 if the worker is unavailable or returns an error
555
- *
556
- * @see PLUGIN_SPEC.md §13.8 — `getData`
557
- * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
558
- */
559
- router.post("/plugins/:pluginId/bridge/data", async (req, res) => {
560
- assertBoard(req);
561
- if (!bridgeDeps) {
562
- res.status(501).json({ error: "Plugin bridge is not enabled" });
563
- return;
564
- }
565
- const { pluginId } = req.params;
566
- // Resolve plugin
567
- const plugin = await resolvePlugin(registry, pluginId);
568
- if (!plugin) {
569
- res.status(404).json({ error: "Plugin not found" });
570
- return;
571
- }
572
- // Validate plugin is in ready state
573
- if (plugin.status !== "ready") {
574
- const bridgeError = {
575
- code: "WORKER_UNAVAILABLE",
576
- message: `Plugin is not ready (current status: ${plugin.status})`,
577
- };
578
- res.status(502).json(bridgeError);
579
- return;
580
- }
581
- // Validate request body
582
- const body = req.body;
583
- if (!body || !body.key || typeof body.key !== "string") {
584
- res.status(400).json({ error: '"key" is required and must be a string' });
585
- return;
586
- }
587
- if (body.companyId) {
588
- assertCompanyAccess(req, body.companyId);
589
- }
590
- try {
591
- const result = await bridgeDeps.workerManager.call(plugin.id, "getData", {
592
- key: body.key,
593
- params: body.params ?? {},
594
- renderEnvironment: body.renderEnvironment ?? null,
595
- });
596
- res.json({ data: result });
597
- }
598
- catch (err) {
599
- const bridgeError = mapRpcErrorToBridgeError(err);
600
- res.status(502).json(bridgeError);
601
- }
602
- });
603
- /**
604
- * POST /api/plugins/:pluginId/bridge/action
605
- *
606
- * Proxy a `performAction` call from the plugin UI to the plugin worker.
607
- *
608
- * This is the server-side half of the `usePluginAction(key)` bridge hook.
609
- * The frontend sends a POST with the action key and optional params; the host
610
- * forwards the call to the worker via the `performAction` RPC method and
611
- * returns the result.
612
- *
613
- * Request body:
614
- * - `key`: Plugin-defined action key (e.g. `"resync"`)
615
- * - `params`: Optional parameters forwarded to the worker handler
616
- *
617
- * Response: The raw result from the worker's `performAction` handler
618
- *
619
- * Error response body follows the `PluginBridgeError` shape:
620
- * `{ code: PluginBridgeErrorCode, message: string, details?: unknown }`
621
- *
622
- * Errors:
623
- * - 400 if request validation fails
624
- * - 404 if plugin not found
625
- * - 501 if bridge deps are not configured
626
- * - 502 if the worker is unavailable or returns an error
627
- *
628
- * @see PLUGIN_SPEC.md §13.9 — `performAction`
629
- * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
630
- */
631
- router.post("/plugins/:pluginId/bridge/action", async (req, res) => {
632
- assertBoard(req);
633
- if (!bridgeDeps) {
634
- res.status(501).json({ error: "Plugin bridge is not enabled" });
635
- return;
636
- }
637
- const { pluginId } = req.params;
638
- // Resolve plugin
639
- const plugin = await resolvePlugin(registry, pluginId);
640
- if (!plugin) {
641
- res.status(404).json({ error: "Plugin not found" });
642
- return;
643
- }
644
- // Validate plugin is in ready state
645
- if (plugin.status !== "ready") {
646
- const bridgeError = {
647
- code: "WORKER_UNAVAILABLE",
648
- message: `Plugin is not ready (current status: ${plugin.status})`,
649
- };
650
- res.status(502).json(bridgeError);
651
- return;
652
- }
653
- // Validate request body
654
- const body = req.body;
655
- if (!body || !body.key || typeof body.key !== "string") {
656
- res.status(400).json({ error: '"key" is required and must be a string' });
657
- return;
658
- }
659
- if (body.companyId) {
660
- assertCompanyAccess(req, body.companyId);
661
- }
662
- try {
663
- const result = await bridgeDeps.workerManager.call(plugin.id, "performAction", {
664
- key: body.key,
665
- params: body.params ?? {},
666
- renderEnvironment: body.renderEnvironment ?? null,
667
- });
668
- res.json({ data: result });
669
- }
670
- catch (err) {
671
- const bridgeError = mapRpcErrorToBridgeError(err);
672
- res.status(502).json(bridgeError);
673
- }
674
- });
675
- // ===========================================================================
676
- // URL-keyed bridge routes (key as path parameter)
677
- // ===========================================================================
678
- /**
679
- * POST /api/plugins/:pluginId/data/:key
680
- *
681
- * Proxy a `getData` call from the plugin UI to the plugin worker, with the
682
- * data key specified as a URL path parameter instead of in the request body.
683
- *
684
- * This is a REST-friendly alternative to `POST /plugins/:pluginId/bridge/data`.
685
- * The frontend bridge hooks use this endpoint for cleaner URLs.
686
- *
687
- * Request body (optional):
688
- * - `params`: Optional query parameters forwarded to the worker handler
689
- *
690
- * Response: The raw result from the worker's `getData` handler wrapped as `{ data: T }`
691
- *
692
- * Error response body follows the `PluginBridgeError` shape:
693
- * `{ code: PluginBridgeErrorCode, message: string, details?: unknown }`
694
- *
695
- * Errors:
696
- * - 404 if plugin not found
697
- * - 501 if bridge deps are not configured
698
- * - 502 if the worker is unavailable or returns an error
699
- *
700
- * @see PLUGIN_SPEC.md §13.8 — `getData`
701
- * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
702
- */
703
- router.post("/plugins/:pluginId/data/:key", async (req, res) => {
704
- assertBoard(req);
705
- if (!bridgeDeps) {
706
- res.status(501).json({ error: "Plugin bridge is not enabled" });
707
- return;
708
- }
709
- const { pluginId, key } = req.params;
710
- // Resolve plugin
711
- const plugin = await resolvePlugin(registry, pluginId);
712
- if (!plugin) {
713
- res.status(404).json({ error: "Plugin not found" });
714
- return;
715
- }
716
- // Validate plugin is in ready state
717
- if (plugin.status !== "ready") {
718
- const bridgeError = {
719
- code: "WORKER_UNAVAILABLE",
720
- message: `Plugin is not ready (current status: ${plugin.status})`,
721
- };
722
- res.status(502).json(bridgeError);
723
- return;
724
- }
725
- const body = req.body;
726
- if (body?.companyId) {
727
- assertCompanyAccess(req, body.companyId);
728
- }
729
- try {
730
- const result = await bridgeDeps.workerManager.call(plugin.id, "getData", {
731
- key,
732
- params: body?.params ?? {},
733
- renderEnvironment: body?.renderEnvironment ?? null,
734
- });
735
- res.json({ data: result });
736
- }
737
- catch (err) {
738
- const bridgeError = mapRpcErrorToBridgeError(err);
739
- res.status(502).json(bridgeError);
740
- }
741
- });
742
- /**
743
- * POST /api/plugins/:pluginId/actions/:key
744
- *
745
- * Proxy a `performAction` call from the plugin UI to the plugin worker, with
746
- * the action key specified as a URL path parameter instead of in the request body.
747
- *
748
- * This is a REST-friendly alternative to `POST /plugins/:pluginId/bridge/action`.
749
- * The frontend bridge hooks use this endpoint for cleaner URLs.
750
- *
751
- * Request body (optional):
752
- * - `params`: Optional parameters forwarded to the worker handler
753
- *
754
- * Response: The raw result from the worker's `performAction` handler wrapped as `{ data: T }`
755
- *
756
- * Error response body follows the `PluginBridgeError` shape:
757
- * `{ code: PluginBridgeErrorCode, message: string, details?: unknown }`
758
- *
759
- * Errors:
760
- * - 404 if plugin not found
761
- * - 501 if bridge deps are not configured
762
- * - 502 if the worker is unavailable or returns an error
763
- *
764
- * @see PLUGIN_SPEC.md §13.9 — `performAction`
765
- * @see PLUGIN_SPEC.md §19.7 — Error Propagation Through The Bridge
766
- */
767
- router.post("/plugins/:pluginId/actions/:key", async (req, res) => {
768
- assertBoard(req);
769
- if (!bridgeDeps) {
770
- res.status(501).json({ error: "Plugin bridge is not enabled" });
771
- return;
772
- }
773
- const { pluginId, key } = req.params;
774
- // Resolve plugin
775
- const plugin = await resolvePlugin(registry, pluginId);
776
- if (!plugin) {
777
- res.status(404).json({ error: "Plugin not found" });
778
- return;
779
- }
780
- // Validate plugin is in ready state
781
- if (plugin.status !== "ready") {
782
- const bridgeError = {
783
- code: "WORKER_UNAVAILABLE",
784
- message: `Plugin is not ready (current status: ${plugin.status})`,
785
- };
786
- res.status(502).json(bridgeError);
787
- return;
788
- }
789
- const body = req.body;
790
- if (body?.companyId) {
791
- assertCompanyAccess(req, body.companyId);
792
- }
793
- try {
794
- const result = await bridgeDeps.workerManager.call(plugin.id, "performAction", {
795
- key,
796
- params: body?.params ?? {},
797
- renderEnvironment: body?.renderEnvironment ?? null,
798
- });
799
- res.json({ data: result });
800
- }
801
- catch (err) {
802
- const bridgeError = mapRpcErrorToBridgeError(err);
803
- res.status(502).json(bridgeError);
804
- }
805
- });
806
- // ===========================================================================
807
- // SSE stream bridge route
808
- // ===========================================================================
809
- /**
810
- * GET /api/plugins/:pluginId/bridge/stream/:channel
811
- *
812
- * Server-Sent Events endpoint for real-time streaming from plugin worker to UI.
813
- *
814
- * The worker pushes events via `ctx.streams.emit(channel, event)` which arrive
815
- * as JSON-RPC notifications to the host, get published on the PluginStreamBus,
816
- * and are fanned out to all connected SSE clients matching (pluginId, channel,
817
- * companyId).
818
- *
819
- * Query parameters:
820
- * - `companyId` (required): Scope events to a specific company
821
- *
822
- * SSE event types:
823
- * - `message`: A data event from the worker (default)
824
- * - `open`: The worker opened the stream channel
825
- * - `close`: The worker closed the stream channel — client should disconnect
826
- *
827
- * Errors:
828
- * - 400 if companyId is missing
829
- * - 404 if plugin not found
830
- * - 501 if bridge deps or stream bus are not configured
831
- */
832
- router.get("/plugins/:pluginId/bridge/stream/:channel", async (req, res) => {
833
- assertBoard(req);
834
- if (!bridgeDeps?.streamBus) {
835
- res.status(501).json({ error: "Plugin stream bridge is not enabled" });
836
- return;
837
- }
838
- const { pluginId, channel } = req.params;
839
- const companyId = req.query.companyId;
840
- if (!companyId) {
841
- res.status(400).json({ error: '"companyId" query parameter is required' });
842
- return;
843
- }
844
- const plugin = await resolvePlugin(registry, pluginId);
845
- if (!plugin) {
846
- res.status(404).json({ error: "Plugin not found" });
847
- return;
848
- }
849
- assertCompanyAccess(req, companyId);
850
- // Set SSE headers
851
- res.writeHead(200, {
852
- "Content-Type": "text/event-stream",
853
- "Cache-Control": "no-cache",
854
- "Connection": "keep-alive",
855
- "X-Accel-Buffering": "no",
856
- });
857
- res.flushHeaders();
858
- // Send initial comment to establish the connection
859
- res.write(":ok\n\n");
860
- let unsubscribed = false;
861
- const safeUnsubscribe = () => {
862
- if (!unsubscribed) {
863
- unsubscribed = true;
864
- unsubscribe();
865
- }
866
- };
867
- const unsubscribe = bridgeDeps.streamBus.subscribe(plugin.id, channel, companyId, (event, eventType) => {
868
- if (unsubscribed || !res.writable)
869
- return;
870
- try {
871
- if (eventType !== "message") {
872
- res.write(`event: ${eventType}\n`);
873
- }
874
- res.write(`data: ${JSON.stringify(event)}\n\n`);
875
- }
876
- catch {
877
- // Connection closed or write error — stop delivering
878
- safeUnsubscribe();
879
- }
880
- });
881
- req.on("close", safeUnsubscribe);
882
- res.on("error", safeUnsubscribe);
883
- });
884
- /**
885
- * GET /api/plugins/:pluginId
886
- *
887
- * Get detailed information about a single plugin.
888
- *
889
- * The :pluginId parameter accepts either:
890
- * - Database UUID (e.g., "abc123-def456")
891
- * - Plugin key (e.g., "acme.linear")
892
- *
893
- * Response: PluginRecord
894
- * Errors: 404 if plugin not found
895
- */
896
- router.get("/plugins/:pluginId", async (req, res) => {
897
- assertBoard(req);
898
- const { pluginId } = req.params;
899
- const plugin = await resolvePlugin(registry, pluginId);
900
- if (!plugin) {
901
- res.status(404).json({ error: "Plugin not found" });
902
- return;
903
- }
904
- // Enrich with worker capabilities when available
905
- const worker = bridgeDeps?.workerManager.getWorker(plugin.id);
906
- const supportsConfigTest = worker
907
- ? worker.supportedMethods.includes("validateConfig")
908
- : false;
909
- res.json({ ...plugin, supportsConfigTest });
910
- });
911
- /**
912
- * DELETE /api/plugins/:pluginId
913
- *
914
- * Uninstall a plugin.
915
- *
916
- * Query params:
917
- * - purge: If "true", permanently delete all plugin data (hard delete)
918
- * Otherwise, soft-delete with 30-day data retention
919
- *
920
- * Response: PluginRecord (the deleted record)
921
- * Errors: 404 if plugin not found, 400 for lifecycle errors
922
- */
923
- router.delete("/plugins/:pluginId", async (req, res) => {
924
- assertBoard(req);
925
- const { pluginId } = req.params;
926
- const purge = req.query.purge === "true";
927
- const plugin = await resolvePlugin(registry, pluginId);
928
- if (!plugin) {
929
- res.status(404).json({ error: "Plugin not found" });
930
- return;
931
- }
932
- try {
933
- const result = await lifecycle.unload(plugin.id, purge);
934
- await logPluginMutationActivity(req, "plugin.uninstalled", plugin.id, {
935
- pluginId: plugin.id,
936
- pluginKey: plugin.pluginKey,
937
- purge,
938
- });
939
- publishGlobalLiveEvent({ type: "plugin.ui.updated", payload: { pluginId: plugin.id, action: "uninstalled" } });
940
- res.json(result);
941
- }
942
- catch (err) {
943
- const message = err instanceof Error ? err.message : String(err);
944
- res.status(400).json({ error: message });
945
- }
946
- });
947
- /**
948
- * POST /api/plugins/:pluginId/enable
949
- *
950
- * Enable a plugin that is currently disabled or in error state.
951
- *
952
- * Transitions the plugin to 'ready' state after loading and validation.
953
- *
954
- * Response: PluginRecord
955
- * Errors: 404 if plugin not found, 400 for lifecycle errors
956
- */
957
- router.post("/plugins/:pluginId/enable", async (req, res) => {
958
- assertBoard(req);
959
- const { pluginId } = req.params;
960
- const plugin = await resolvePlugin(registry, pluginId);
961
- if (!plugin) {
962
- res.status(404).json({ error: "Plugin not found" });
963
- return;
964
- }
965
- try {
966
- const result = await lifecycle.enable(plugin.id);
967
- await logPluginMutationActivity(req, "plugin.enabled", plugin.id, {
968
- pluginId: plugin.id,
969
- pluginKey: plugin.pluginKey,
970
- version: result?.version ?? plugin.version,
971
- });
972
- publishGlobalLiveEvent({ type: "plugin.ui.updated", payload: { pluginId: plugin.id, action: "enabled" } });
973
- res.json(result);
974
- }
975
- catch (err) {
976
- const message = err instanceof Error ? err.message : String(err);
977
- res.status(400).json({ error: message });
978
- }
979
- });
980
- /**
981
- * POST /api/plugins/:pluginId/disable
982
- *
983
- * Disable a running plugin.
984
- *
985
- * Request body (optional):
986
- * - reason: Human-readable reason for disabling
987
- *
988
- * The plugin transitions to 'installed' state and stops processing events.
989
- *
990
- * Response: PluginRecord
991
- * Errors: 404 if plugin not found, 400 for lifecycle errors
992
- */
993
- router.post("/plugins/:pluginId/disable", async (req, res) => {
994
- assertBoard(req);
995
- const { pluginId } = req.params;
996
- const body = req.body;
997
- const reason = body?.reason;
998
- const plugin = await resolvePlugin(registry, pluginId);
999
- if (!plugin) {
1000
- res.status(404).json({ error: "Plugin not found" });
1001
- return;
1002
- }
1003
- try {
1004
- const result = await lifecycle.disable(plugin.id, reason);
1005
- await logPluginMutationActivity(req, "plugin.disabled", plugin.id, {
1006
- pluginId: plugin.id,
1007
- pluginKey: plugin.pluginKey,
1008
- reason: reason ?? null,
1009
- });
1010
- publishGlobalLiveEvent({ type: "plugin.ui.updated", payload: { pluginId: plugin.id, action: "disabled" } });
1011
- res.json(result);
1012
- }
1013
- catch (err) {
1014
- const message = err instanceof Error ? err.message : String(err);
1015
- res.status(400).json({ error: message });
1016
- }
1017
- });
1018
- /**
1019
- * GET /api/plugins/:pluginId/health
1020
- *
1021
- * Run health diagnostics on a plugin.
1022
- *
1023
- * Performs the following checks:
1024
- * 1. Registry: Plugin is registered in the database
1025
- * 2. Manifest: Manifest is valid and parseable
1026
- * 3. Status: Plugin is in 'ready' state
1027
- * 4. Error state: Plugin has no unhandled errors
1028
- *
1029
- * Response: PluginHealthCheckResult
1030
- * Errors: 404 if plugin not found
1031
- */
1032
- router.get("/plugins/:pluginId/health", async (req, res) => {
1033
- assertBoard(req);
1034
- const { pluginId } = req.params;
1035
- const plugin = await resolvePlugin(registry, pluginId);
1036
- if (!plugin) {
1037
- res.status(404).json({ error: "Plugin not found" });
1038
- return;
1039
- }
1040
- const checks = [];
1041
- // Check 1: Plugin is registered
1042
- checks.push({
1043
- name: "registry",
1044
- passed: true,
1045
- message: "Plugin found in registry",
1046
- });
1047
- // Check 2: Manifest is valid
1048
- const hasValidManifest = Boolean(plugin.manifestJson?.id);
1049
- checks.push({
1050
- name: "manifest",
1051
- passed: hasValidManifest,
1052
- message: hasValidManifest ? "Manifest is valid" : "Manifest is invalid or missing",
1053
- });
1054
- // Check 3: Plugin status
1055
- const isHealthy = plugin.status === "ready";
1056
- checks.push({
1057
- name: "status",
1058
- passed: isHealthy,
1059
- message: `Current status: ${plugin.status}`,
1060
- });
1061
- // Check 4: No last error
1062
- const hasNoError = !plugin.lastError;
1063
- if (!hasNoError) {
1064
- checks.push({
1065
- name: "error_state",
1066
- passed: false,
1067
- message: plugin.lastError ?? undefined,
1068
- });
1069
- }
1070
- const result = {
1071
- pluginId: plugin.id,
1072
- status: plugin.status,
1073
- healthy: isHealthy && hasValidManifest && hasNoError,
1074
- checks,
1075
- lastError: plugin.lastError ?? undefined,
1076
- };
1077
- res.json(result);
1078
- });
1079
- /**
1080
- * GET /api/plugins/:pluginId/logs
1081
- *
1082
- * Query recent log entries for a plugin.
1083
- *
1084
- * Query params:
1085
- * - limit: Maximum number of entries (default 25, max 500)
1086
- * - level: Filter by log level (info, warn, error, debug)
1087
- * - since: ISO timestamp to filter logs newer than this time
1088
- *
1089
- * Response: Array of log entries, newest first.
1090
- */
1091
- router.get("/plugins/:pluginId/logs", async (req, res) => {
1092
- assertBoard(req);
1093
- const { pluginId } = req.params;
1094
- const plugin = await resolvePlugin(registry, pluginId);
1095
- if (!plugin) {
1096
- res.status(404).json({ error: "Plugin not found" });
1097
- return;
1098
- }
1099
- const limit = Math.min(Math.max(parseInt(req.query.limit, 10) || 25, 1), 500);
1100
- const level = req.query.level;
1101
- const since = req.query.since;
1102
- const conditions = [eq(pluginLogs.pluginId, plugin.id)];
1103
- if (level) {
1104
- conditions.push(eq(pluginLogs.level, level));
1105
- }
1106
- if (since) {
1107
- const sinceDate = new Date(since);
1108
- if (!isNaN(sinceDate.getTime())) {
1109
- conditions.push(gte(pluginLogs.createdAt, sinceDate));
1110
- }
1111
- }
1112
- const rows = await db
1113
- .select()
1114
- .from(pluginLogs)
1115
- .where(and(...conditions))
1116
- .orderBy(desc(pluginLogs.createdAt))
1117
- .limit(limit);
1118
- res.json(rows);
1119
- });
1120
- /**
1121
- * POST /api/plugins/:pluginId/upgrade
1122
- *
1123
- * Upgrade a plugin to a newer version.
1124
- *
1125
- * Request body (optional):
1126
- * - version: Target version (defaults to latest)
1127
- *
1128
- * If the upgrade adds new capabilities, the plugin transitions to
1129
- * 'upgrade_pending' state for board approval. Otherwise, it goes
1130
- * directly to 'ready'.
1131
- *
1132
- * Response: PluginRecord
1133
- * Errors: 404 if plugin not found, 400 for lifecycle errors
1134
- */
1135
- router.post("/plugins/:pluginId/upgrade", async (req, res) => {
1136
- assertBoard(req);
1137
- const { pluginId } = req.params;
1138
- const body = req.body;
1139
- const version = body?.version;
1140
- const plugin = await resolvePlugin(registry, pluginId);
1141
- if (!plugin) {
1142
- res.status(404).json({ error: "Plugin not found" });
1143
- return;
1144
- }
1145
- try {
1146
- // Upgrade the plugin - this would typically:
1147
- // 1. Download the new version
1148
- // 2. Compare capabilities
1149
- // 3. If new capabilities, mark as upgrade_pending
1150
- // 4. Otherwise, transition to ready
1151
- const result = await lifecycle.upgrade(plugin.id, version);
1152
- await logPluginMutationActivity(req, "plugin.upgraded", plugin.id, {
1153
- pluginId: plugin.id,
1154
- pluginKey: plugin.pluginKey,
1155
- previousVersion: plugin.version,
1156
- version: result?.version ?? plugin.version,
1157
- targetVersion: version ?? null,
1158
- });
1159
- publishGlobalLiveEvent({ type: "plugin.ui.updated", payload: { pluginId: plugin.id, action: "upgraded" } });
1160
- res.json(result);
1161
- }
1162
- catch (err) {
1163
- const message = err instanceof Error ? err.message : String(err);
1164
- res.status(400).json({ error: message });
1165
- }
1166
- });
1167
- // ===========================================================================
1168
- // Plugin configuration routes
1169
- // ===========================================================================
1170
- /**
1171
- * GET /api/plugins/:pluginId/config
1172
- *
1173
- * Retrieve the current instance configuration for a plugin.
1174
- *
1175
- * Returns the `PluginConfig` record if one exists, or `null` if the plugin
1176
- * has not yet been configured.
1177
- *
1178
- * Response: `PluginConfig | null`
1179
- * Errors: 404 if plugin not found
1180
- */
1181
- router.get("/plugins/:pluginId/config", async (req, res) => {
1182
- assertBoard(req);
1183
- const { pluginId } = req.params;
1184
- const plugin = await resolvePlugin(registry, pluginId);
1185
- if (!plugin) {
1186
- res.status(404).json({ error: "Plugin not found" });
1187
- return;
1188
- }
1189
- const config = await registry.getConfig(plugin.id);
1190
- res.json(config);
1191
- });
1192
- /**
1193
- * POST /api/plugins/:pluginId/config
1194
- *
1195
- * Save (create or replace) the instance configuration for a plugin.
1196
- *
1197
- * The caller provides the full `configJson` object. The server persists it
1198
- * via `registry.upsertConfig()`.
1199
- *
1200
- * Request body:
1201
- * - `configJson`: Configuration values matching the plugin's `instanceConfigSchema`
1202
- *
1203
- * Response: `PluginConfig`
1204
- * Errors:
1205
- * - 400 if request validation fails
1206
- * - 404 if plugin not found
1207
- */
1208
- router.post("/plugins/:pluginId/config", async (req, res) => {
1209
- assertBoard(req);
1210
- const { pluginId } = req.params;
1211
- const plugin = await resolvePlugin(registry, pluginId);
1212
- if (!plugin) {
1213
- res.status(404).json({ error: "Plugin not found" });
1214
- return;
1215
- }
1216
- const body = req.body;
1217
- if (!body?.configJson || typeof body.configJson !== "object") {
1218
- res.status(400).json({ error: '"configJson" is required and must be an object' });
1219
- return;
1220
- }
1221
- // Strip devUiUrl unless the caller is an instance admin. devUiUrl activates
1222
- // a dev-proxy in the static file route that could be abused for SSRF if any
1223
- // board-level user were allowed to set it.
1224
- if ("devUiUrl" in body.configJson &&
1225
- !(req.actor.type === "board" && req.actor.isInstanceAdmin)) {
1226
- delete body.configJson.devUiUrl;
1227
- }
1228
- // Validate configJson against the plugin's instanceConfigSchema (if declared).
1229
- // This ensures CLI/API callers get the same validation the UI performs client-side.
1230
- const schema = plugin.manifestJson?.instanceConfigSchema;
1231
- if (schema && Object.keys(schema).length > 0) {
1232
- const validation = validateInstanceConfig(body.configJson, schema);
1233
- if (!validation.valid) {
1234
- res.status(400).json({
1235
- error: "Configuration does not match the plugin's instanceConfigSchema",
1236
- fieldErrors: validation.errors,
1237
- });
1238
- return;
1239
- }
1240
- }
1241
- try {
1242
- const result = await registry.upsertConfig(plugin.id, {
1243
- configJson: body.configJson,
1244
- });
1245
- await logPluginMutationActivity(req, "plugin.config.updated", plugin.id, {
1246
- pluginId: plugin.id,
1247
- pluginKey: plugin.pluginKey,
1248
- configKeyCount: Object.keys(body.configJson).length,
1249
- });
1250
- // Notify the running worker about the config change (PLUGIN_SPEC §25.4.4).
1251
- // If the worker implements onConfigChanged, send the new config via RPC.
1252
- // If it doesn't (METHOD_NOT_IMPLEMENTED), restart the worker so it picks
1253
- // up the new config on re-initialize. If no worker is running, skip.
1254
- if (bridgeDeps?.workerManager.isRunning(plugin.id)) {
1255
- try {
1256
- await bridgeDeps.workerManager.call(plugin.id, "configChanged", { config: body.configJson });
1257
- }
1258
- catch (rpcErr) {
1259
- if (rpcErr instanceof JsonRpcCallError &&
1260
- rpcErr.code === PLUGIN_RPC_ERROR_CODES.METHOD_NOT_IMPLEMENTED) {
1261
- // Worker doesn't handle live config — restart it.
1262
- try {
1263
- await lifecycle.restartWorker(plugin.id);
1264
- }
1265
- catch {
1266
- // Restart failure is non-fatal for the config save response.
1267
- }
1268
- }
1269
- // Other RPC errors (timeout, unavailable) are non-fatal — config is
1270
- // already persisted and will take effect on next worker restart.
1271
- }
1272
- }
1273
- res.json(result);
1274
- }
1275
- catch (err) {
1276
- const message = err instanceof Error ? err.message : String(err);
1277
- res.status(400).json({ error: message });
1278
- }
1279
- });
1280
- /**
1281
- * POST /api/plugins/:pluginId/config/test
1282
- *
1283
- * Test a plugin configuration without persisting it by calling the plugin
1284
- * worker's `validateConfig` RPC method.
1285
- *
1286
- * Only works when the plugin's worker implements `onValidateConfig`.
1287
- * If the worker does not implement the method, returns
1288
- * `{ valid: false, supported: false, message: "..." }` with HTTP 200.
1289
- *
1290
- * Request body:
1291
- * - `configJson`: Configuration values to validate
1292
- *
1293
- * Response: `{ valid: boolean; message?: string; supported?: boolean }`
1294
- * Errors:
1295
- * - 400 if request validation fails
1296
- * - 404 if plugin not found
1297
- * - 501 if bridge deps (worker manager) are not configured
1298
- * - 502 if the worker is unavailable
1299
- */
1300
- router.post("/plugins/:pluginId/config/test", async (req, res) => {
1301
- assertBoard(req);
1302
- if (!bridgeDeps) {
1303
- res.status(501).json({ error: "Plugin bridge is not enabled" });
1304
- return;
1305
- }
1306
- const { pluginId } = req.params;
1307
- const plugin = await resolvePlugin(registry, pluginId);
1308
- if (!plugin) {
1309
- res.status(404).json({ error: "Plugin not found" });
1310
- return;
1311
- }
1312
- if (plugin.status !== "ready") {
1313
- res.status(400).json({
1314
- error: `Plugin is not ready (current status: ${plugin.status})`,
1315
- });
1316
- return;
1317
- }
1318
- const body = req.body;
1319
- if (!body?.configJson || typeof body.configJson !== "object") {
1320
- res.status(400).json({ error: '"configJson" is required and must be an object' });
1321
- return;
1322
- }
1323
- // Fast schema-level rejection before hitting the worker RPC.
1324
- const schema = plugin.manifestJson?.instanceConfigSchema;
1325
- if (schema && Object.keys(schema).length > 0) {
1326
- const validation = validateInstanceConfig(body.configJson, schema);
1327
- if (!validation.valid) {
1328
- res.status(400).json({
1329
- error: "Configuration does not match the plugin's instanceConfigSchema",
1330
- fieldErrors: validation.errors,
1331
- });
1332
- return;
1333
- }
1334
- }
1335
- try {
1336
- const result = await bridgeDeps.workerManager.call(plugin.id, "validateConfig", { config: body.configJson });
1337
- // The worker returns PluginConfigValidationResult { ok, warnings?, errors? }
1338
- // Map to the frontend-expected shape { valid, message? }
1339
- if (result.ok) {
1340
- const warningText = result.warnings?.length
1341
- ? `Warnings: ${result.warnings.join("; ")}`
1342
- : undefined;
1343
- res.json({ valid: true, message: warningText });
1344
- }
1345
- else {
1346
- const errorText = result.errors?.length
1347
- ? result.errors.join("; ")
1348
- : "Configuration validation failed.";
1349
- res.json({ valid: false, message: errorText });
1350
- }
1351
- }
1352
- catch (err) {
1353
- // If the worker does not implement validateConfig, return a structured response
1354
- if (err instanceof JsonRpcCallError &&
1355
- err.code === PLUGIN_RPC_ERROR_CODES.METHOD_NOT_IMPLEMENTED) {
1356
- res.json({
1357
- valid: false,
1358
- supported: false,
1359
- message: "This plugin does not support configuration testing.",
1360
- });
1361
- return;
1362
- }
1363
- // Worker unavailable or other RPC errors
1364
- const bridgeError = mapRpcErrorToBridgeError(err);
1365
- res.status(502).json(bridgeError);
1366
- }
1367
- });
1368
- // ===========================================================================
1369
- // Job scheduling routes
1370
- // ===========================================================================
1371
- /**
1372
- * GET /api/plugins/:pluginId/jobs
1373
- *
1374
- * List all scheduled jobs for a plugin.
1375
- *
1376
- * Query params:
1377
- * - `status` (optional): Filter by job status (`active`, `paused`, `failed`)
1378
- *
1379
- * Response: PluginJobRecord[]
1380
- * Errors: 404 if plugin not found
1381
- */
1382
- router.get("/plugins/:pluginId/jobs", async (req, res) => {
1383
- assertBoard(req);
1384
- if (!jobDeps) {
1385
- res.status(501).json({ error: "Job scheduling is not enabled" });
1386
- return;
1387
- }
1388
- const { pluginId } = req.params;
1389
- const plugin = await resolvePlugin(registry, pluginId);
1390
- if (!plugin) {
1391
- res.status(404).json({ error: "Plugin not found" });
1392
- return;
1393
- }
1394
- const rawStatus = req.query.status;
1395
- const validStatuses = ["active", "paused", "failed"];
1396
- if (rawStatus !== undefined && !validStatuses.includes(rawStatus)) {
1397
- res.status(400).json({
1398
- error: `Invalid status '${rawStatus}'. Must be one of: ${validStatuses.join(", ")}`,
1399
- });
1400
- return;
1401
- }
1402
- try {
1403
- const jobs = await jobDeps.jobStore.listJobs(plugin.id, rawStatus);
1404
- res.json(jobs);
1405
- }
1406
- catch (err) {
1407
- const message = err instanceof Error ? err.message : String(err);
1408
- res.status(500).json({ error: message });
1409
- }
1410
- });
1411
- /**
1412
- * GET /api/plugins/:pluginId/jobs/:jobId/runs
1413
- *
1414
- * List execution history for a specific job.
1415
- *
1416
- * Query params:
1417
- * - `limit` (optional): Maximum number of runs to return (default: 50)
1418
- *
1419
- * Response: PluginJobRunRecord[]
1420
- * Errors: 404 if plugin not found
1421
- */
1422
- router.get("/plugins/:pluginId/jobs/:jobId/runs", async (req, res) => {
1423
- assertBoard(req);
1424
- if (!jobDeps) {
1425
- res.status(501).json({ error: "Job scheduling is not enabled" });
1426
- return;
1427
- }
1428
- const { pluginId, jobId } = req.params;
1429
- const plugin = await resolvePlugin(registry, pluginId);
1430
- if (!plugin) {
1431
- res.status(404).json({ error: "Plugin not found" });
1432
- return;
1433
- }
1434
- const job = await jobDeps.jobStore.getJobByIdForPlugin(plugin.id, jobId);
1435
- if (!job) {
1436
- res.status(404).json({ error: "Job not found" });
1437
- return;
1438
- }
1439
- const limit = req.query.limit ? parseInt(req.query.limit, 10) : 25;
1440
- if (isNaN(limit) || limit < 1 || limit > 500) {
1441
- res.status(400).json({ error: "limit must be a number between 1 and 500" });
1442
- return;
1443
- }
1444
- try {
1445
- const runs = await jobDeps.jobStore.listRunsByJob(jobId, limit);
1446
- res.json(runs);
1447
- }
1448
- catch (err) {
1449
- const message = err instanceof Error ? err.message : String(err);
1450
- res.status(500).json({ error: message });
1451
- }
1452
- });
1453
- /**
1454
- * POST /api/plugins/:pluginId/jobs/:jobId/trigger
1455
- *
1456
- * Manually trigger a job execution outside its cron schedule.
1457
- *
1458
- * Creates a run with `trigger: "manual"` and dispatches immediately.
1459
- * The response returns before the job completes (non-blocking).
1460
- *
1461
- * Response: `{ runId: string, jobId: string }`
1462
- * Errors:
1463
- * - 404 if plugin not found
1464
- * - 400 if job not found, not active, already running, or worker unavailable
1465
- */
1466
- router.post("/plugins/:pluginId/jobs/:jobId/trigger", async (req, res) => {
1467
- assertBoard(req);
1468
- if (!jobDeps) {
1469
- res.status(501).json({ error: "Job scheduling is not enabled" });
1470
- return;
1471
- }
1472
- const { pluginId, jobId } = req.params;
1473
- const plugin = await resolvePlugin(registry, pluginId);
1474
- if (!plugin) {
1475
- res.status(404).json({ error: "Plugin not found" });
1476
- return;
1477
- }
1478
- const job = await jobDeps.jobStore.getJobByIdForPlugin(plugin.id, jobId);
1479
- if (!job) {
1480
- res.status(404).json({ error: "Job not found" });
1481
- return;
1482
- }
1483
- try {
1484
- const result = await jobDeps.scheduler.triggerJob(jobId, "manual");
1485
- res.json(result);
1486
- }
1487
- catch (err) {
1488
- const message = err instanceof Error ? err.message : String(err);
1489
- res.status(400).json({ error: message });
1490
- }
1491
- });
1492
- // ===========================================================================
1493
- // Webhook ingestion route
1494
- // ===========================================================================
1495
- /**
1496
- * POST /api/plugins/:pluginId/webhooks/:endpointKey
1497
- *
1498
- * Receive an inbound webhook delivery for a plugin.
1499
- *
1500
- * This route is called by external systems (e.g. GitHub, Linear, Stripe) to
1501
- * deliver webhook payloads to a plugin. The host validates that:
1502
- * 1. The plugin exists and is in 'ready' state
1503
- * 2. The plugin declares the `webhooks.receive` capability
1504
- * 3. The `endpointKey` matches a declared webhook in the manifest
1505
- *
1506
- * The delivery is recorded in the `plugin_webhook_deliveries` table and
1507
- * dispatched to the worker via the `handleWebhook` RPC method.
1508
- *
1509
- * **Note:** This route does NOT require board authentication — webhook
1510
- * endpoints must be publicly accessible for external callers. Signature
1511
- * verification is the plugin's responsibility.
1512
- *
1513
- * Response: `{ deliveryId: string, status: string }`
1514
- * Errors:
1515
- * - 404 if plugin not found or endpointKey not declared
1516
- * - 400 if plugin is not in ready state or lacks webhooks.receive capability
1517
- * - 502 if the worker is unavailable or the RPC call fails
1518
- */
1519
- router.post("/plugins/:pluginId/webhooks/:endpointKey", async (req, res) => {
1520
- if (!webhookDeps) {
1521
- res.status(501).json({ error: "Webhook ingestion is not enabled" });
1522
- return;
1523
- }
1524
- const { pluginId, endpointKey } = req.params;
1525
- // Step 1: Resolve the plugin
1526
- const plugin = await resolvePlugin(registry, pluginId);
1527
- if (!plugin) {
1528
- res.status(404).json({ error: "Plugin not found" });
1529
- return;
1530
- }
1531
- // Step 2: Validate the plugin is in 'ready' state
1532
- if (plugin.status !== "ready") {
1533
- res.status(400).json({
1534
- error: `Plugin is not ready (current status: ${plugin.status})`,
1535
- });
1536
- return;
1537
- }
1538
- // Step 3: Validate the plugin has webhooks.receive capability
1539
- const manifest = plugin.manifestJson;
1540
- if (!manifest) {
1541
- res.status(400).json({ error: "Plugin manifest is missing" });
1542
- return;
1543
- }
1544
- const capabilities = manifest.capabilities ?? [];
1545
- if (!capabilities.includes("webhooks.receive")) {
1546
- res.status(400).json({
1547
- error: "Plugin does not have the webhooks.receive capability",
1548
- });
1549
- return;
1550
- }
1551
- // Step 4: Validate the endpointKey exists in the manifest's webhook declarations
1552
- const declaredWebhooks = manifest.webhooks ?? [];
1553
- const webhookDecl = declaredWebhooks.find((w) => w.endpointKey === endpointKey);
1554
- if (!webhookDecl) {
1555
- res.status(404).json({
1556
- error: `Webhook endpoint '${endpointKey}' is not declared by this plugin`,
1557
- });
1558
- return;
1559
- }
1560
- // Step 5: Extract request data
1561
- const requestId = randomUUID();
1562
- const rawHeaders = {};
1563
- for (const [key, value] of Object.entries(req.headers)) {
1564
- if (typeof value === "string") {
1565
- rawHeaders[key] = value;
1566
- }
1567
- else if (Array.isArray(value)) {
1568
- rawHeaders[key] = value.join(", ");
1569
- }
1570
- }
1571
- // Use the raw buffer stashed by the express.json() `verify` callback.
1572
- // This preserves the exact bytes the provider signed, whereas
1573
- // JSON.stringify(req.body) would re-serialize and break HMAC verification.
1574
- const stashedRaw = req.rawBody;
1575
- const rawBody = stashedRaw ? stashedRaw.toString("utf-8") : "";
1576
- const parsedBody = req.body;
1577
- const payload = req.body ?? {};
1578
- // Step 6: Record the delivery in the database
1579
- const startedAt = new Date();
1580
- const [delivery] = await db
1581
- .insert(pluginWebhookDeliveries)
1582
- .values({
1583
- pluginId: plugin.id,
1584
- webhookKey: endpointKey,
1585
- status: "pending",
1586
- payload,
1587
- headers: rawHeaders,
1588
- startedAt,
1589
- })
1590
- .returning({ id: pluginWebhookDeliveries.id });
1591
- // Step 7: Dispatch to the worker via handleWebhook RPC
1592
- try {
1593
- await webhookDeps.workerManager.call(plugin.id, "handleWebhook", {
1594
- endpointKey,
1595
- headers: req.headers,
1596
- rawBody,
1597
- parsedBody,
1598
- requestId,
1599
- });
1600
- // Step 8: Update delivery record to success
1601
- const finishedAt = new Date();
1602
- const durationMs = finishedAt.getTime() - startedAt.getTime();
1603
- await db
1604
- .update(pluginWebhookDeliveries)
1605
- .set({
1606
- status: "success",
1607
- durationMs,
1608
- finishedAt,
1609
- })
1610
- .where(eq(pluginWebhookDeliveries.id, delivery.id));
1611
- res.status(200).json({
1612
- deliveryId: delivery.id,
1613
- status: "success",
1614
- });
1615
- }
1616
- catch (err) {
1617
- // Step 8 (error): Update delivery record to failed
1618
- const finishedAt = new Date();
1619
- const durationMs = finishedAt.getTime() - startedAt.getTime();
1620
- const errorMessage = err instanceof Error ? err.message : String(err);
1621
- await db
1622
- .update(pluginWebhookDeliveries)
1623
- .set({
1624
- status: "failed",
1625
- durationMs,
1626
- error: errorMessage,
1627
- finishedAt,
1628
- })
1629
- .where(eq(pluginWebhookDeliveries.id, delivery.id));
1630
- res.status(502).json({
1631
- deliveryId: delivery.id,
1632
- status: "failed",
1633
- error: errorMessage,
1634
- });
1635
- }
1636
- });
1637
- // ===========================================================================
1638
- // Plugin health dashboard — aggregated diagnostics for the settings page
1639
- // ===========================================================================
1640
- /**
1641
- * GET /api/plugins/:pluginId/dashboard
1642
- *
1643
- * Aggregated health dashboard data for a plugin's settings page.
1644
- *
1645
- * Returns worker diagnostics (status, uptime, crash history), recent job
1646
- * runs, recent webhook deliveries, and the current health check result —
1647
- * all in a single response to avoid multiple round-trips.
1648
- *
1649
- * Response: PluginDashboardData
1650
- * Errors: 404 if plugin not found
1651
- */
1652
- router.get("/plugins/:pluginId/dashboard", async (req, res) => {
1653
- assertBoard(req);
1654
- const { pluginId } = req.params;
1655
- const plugin = await resolvePlugin(registry, pluginId);
1656
- if (!plugin) {
1657
- res.status(404).json({ error: "Plugin not found" });
1658
- return;
1659
- }
1660
- // --- Worker diagnostics ---
1661
- let worker = null;
1662
- // Try bridgeDeps first (primary source for worker manager), fallback to webhookDeps
1663
- const wm = bridgeDeps?.workerManager ?? webhookDeps?.workerManager ?? null;
1664
- if (wm) {
1665
- const handle = wm.getWorker(plugin.id);
1666
- if (handle) {
1667
- const diag = handle.diagnostics();
1668
- worker = {
1669
- status: diag.status,
1670
- pid: diag.pid,
1671
- uptime: diag.uptime,
1672
- consecutiveCrashes: diag.consecutiveCrashes,
1673
- totalCrashes: diag.totalCrashes,
1674
- pendingRequests: diag.pendingRequests,
1675
- lastCrashAt: diag.lastCrashAt,
1676
- nextRestartAt: diag.nextRestartAt,
1677
- };
1678
- }
1679
- }
1680
- // --- Recent job runs (last 10, newest first) ---
1681
- let recentJobRuns = [];
1682
- if (jobDeps) {
1683
- try {
1684
- const runs = await jobDeps.jobStore.listRunsByPlugin(plugin.id, undefined, 10);
1685
- // Also fetch job definitions so we can include jobKey
1686
- const jobs = await jobDeps.jobStore.listJobs(plugin.id);
1687
- const jobKeyMap = new Map(jobs.map((j) => [j.id, j.jobKey]));
1688
- recentJobRuns = runs
1689
- .sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime())
1690
- .map((r) => ({
1691
- id: r.id,
1692
- jobId: r.jobId,
1693
- jobKey: jobKeyMap.get(r.jobId) ?? undefined,
1694
- trigger: r.trigger,
1695
- status: r.status,
1696
- durationMs: r.durationMs,
1697
- error: r.error,
1698
- startedAt: r.startedAt ? new Date(r.startedAt).toISOString() : null,
1699
- finishedAt: r.finishedAt ? new Date(r.finishedAt).toISOString() : null,
1700
- createdAt: new Date(r.createdAt).toISOString(),
1701
- }));
1702
- }
1703
- catch {
1704
- // Job data unavailable — leave empty
1705
- }
1706
- }
1707
- // --- Recent webhook deliveries (last 10, newest first) ---
1708
- let recentWebhookDeliveries = [];
1709
- try {
1710
- const deliveries = await db
1711
- .select({
1712
- id: pluginWebhookDeliveries.id,
1713
- webhookKey: pluginWebhookDeliveries.webhookKey,
1714
- status: pluginWebhookDeliveries.status,
1715
- durationMs: pluginWebhookDeliveries.durationMs,
1716
- error: pluginWebhookDeliveries.error,
1717
- startedAt: pluginWebhookDeliveries.startedAt,
1718
- finishedAt: pluginWebhookDeliveries.finishedAt,
1719
- createdAt: pluginWebhookDeliveries.createdAt,
1720
- })
1721
- .from(pluginWebhookDeliveries)
1722
- .where(eq(pluginWebhookDeliveries.pluginId, plugin.id))
1723
- .orderBy(desc(pluginWebhookDeliveries.createdAt))
1724
- .limit(10);
1725
- recentWebhookDeliveries = deliveries.map((d) => ({
1726
- id: d.id,
1727
- webhookKey: d.webhookKey,
1728
- status: d.status,
1729
- durationMs: d.durationMs,
1730
- error: d.error,
1731
- startedAt: d.startedAt ? d.startedAt.toISOString() : null,
1732
- finishedAt: d.finishedAt ? d.finishedAt.toISOString() : null,
1733
- createdAt: d.createdAt.toISOString(),
1734
- }));
1735
- }
1736
- catch {
1737
- // Webhook data unavailable — leave empty
1738
- }
1739
- // --- Health check (same logic as GET /health) ---
1740
- const checks = [];
1741
- checks.push({
1742
- name: "registry",
1743
- passed: true,
1744
- message: "Plugin found in registry",
1745
- });
1746
- const hasValidManifest = Boolean(plugin.manifestJson?.id);
1747
- checks.push({
1748
- name: "manifest",
1749
- passed: hasValidManifest,
1750
- message: hasValidManifest ? "Manifest is valid" : "Manifest is invalid or missing",
1751
- });
1752
- const isHealthy = plugin.status === "ready";
1753
- checks.push({
1754
- name: "status",
1755
- passed: isHealthy,
1756
- message: `Current status: ${plugin.status}`,
1757
- });
1758
- const hasNoError = !plugin.lastError;
1759
- if (!hasNoError) {
1760
- checks.push({
1761
- name: "error_state",
1762
- passed: false,
1763
- message: plugin.lastError ?? undefined,
1764
- });
1765
- }
1766
- const health = {
1767
- pluginId: plugin.id,
1768
- status: plugin.status,
1769
- healthy: isHealthy && hasValidManifest && hasNoError,
1770
- checks,
1771
- lastError: plugin.lastError ?? undefined,
1772
- };
1773
- res.json({
1774
- pluginId: plugin.id,
1775
- worker,
1776
- recentJobRuns,
1777
- recentWebhookDeliveries,
1778
- health,
1779
- checkedAt: new Date().toISOString(),
1780
- });
1781
- });
1782
- return router;
1783
- }
1784
- //# sourceMappingURL=plugins.js.map