@boboddy/sdk 0.0.11-alpha → 0.0.13-alpha

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 (239) hide show
  1. package/dist/client.js +62 -0
  2. package/dist/define-step.js +1018 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +1016 -0
  5. package/dist/step-definitions-client.js +47 -0
  6. package/dist/treaty.js +34 -0
  7. package/package.json +1 -1
  8. package/dist/apps/api/src/app.d.ts +0 -19731
  9. package/dist/apps/api/src/contracts.d.ts +0 -20
  10. package/dist/apps/api/src/http/error-handler.d.ts +0 -23
  11. package/dist/apps/api/src/http/routes/auth.d.ts +0 -57
  12. package/dist/apps/api/src/http/routes/authenticated.d.ts +0 -79
  13. package/dist/apps/api/src/http/routes/feedback-requests.d.ts +0 -281
  14. package/dist/apps/api/src/http/routes/linear-pipeline-definitions.d.ts +0 -1563
  15. package/dist/apps/api/src/http/routes/linear-pipeline-executions.d.ts +0 -2540
  16. package/dist/apps/api/src/http/routes/project-context-entries.d.ts +0 -387
  17. package/dist/apps/api/src/http/routes/projects.d.ts +0 -1906
  18. package/dist/apps/api/src/http/routes/step-definition-templates.d.ts +0 -479
  19. package/dist/apps/api/src/http/routes/step-definitions.d.ts +0 -917
  20. package/dist/apps/api/src/http/routes/step-execution-route-helpers.d.ts +0 -64
  21. package/dist/apps/api/src/http/routes/step-executions.d.ts +0 -1485
  22. package/dist/apps/api/src/http/routes/work-items.d.ts +0 -966
  23. package/dist/apps/api/src/problem-details.d.ts +0 -9
  24. package/dist/packages/core/src/access/authorization/application/user-authorization-service.d.ts +0 -12
  25. package/dist/packages/core/src/access/authorization/infra/project-authorization-service.d.ts +0 -9
  26. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/ai-container-launcher.d.ts +0 -21
  27. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/create-project-runtime-session.d.ts +0 -15
  28. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/devcontainer-launcher.d.ts +0 -21
  29. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/get-project-runtime-session.d.ts +0 -13
  30. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/git-clone-service.d.ts +0 -11
  31. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/list-project-runtime-sessions.d.ts +0 -13
  32. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-contract-mapper.d.ts +0 -3
  33. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-execution-target.d.ts +0 -3
  34. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-network-metadata.d.ts +0 -15
  35. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-repo.d.ts +0 -10
  36. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/runtime-session-network-manager.d.ts +0 -14
  37. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/stop-project-runtime-session.d.ts +0 -31
  38. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/workspace-manager.d.ts +0 -10
  39. package/dist/packages/core/src/agent-sessions/project-runtime-session/contracts/project-runtime-session-contracts.d.ts +0 -62
  40. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity-helpers.d.ts +0 -12
  41. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity.d.ts +0 -99
  42. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-execution-target.d.ts +0 -16
  43. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/devcontainer-cli-launcher.d.ts +0 -6
  44. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/docker-ai-container-launcher.d.ts +0 -8
  45. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/drizzle-project-runtime-session-repo.d.ts +0 -11
  46. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/git-cli-clone-service.d.ts +0 -4
  47. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-jsonc.d.ts +0 -4
  48. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager-support.d.ts +0 -42
  49. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager.d.ts +0 -24
  50. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-working-directory.d.ts +0 -5
  51. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-docker-runtime-session-network-manager.d.ts +0 -17
  52. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-workspace-manager.d.ts +0 -11
  53. package/dist/packages/core/src/agent-sessions/runtime-command/application/complete-claimed-runtime-command.d.ts +0 -13
  54. package/dist/packages/core/src/agent-sessions/runtime-command/application/create-runtime-command.d.ts +0 -19
  55. package/dist/packages/core/src/agent-sessions/runtime-command/application/fail-claimed-runtime-command.d.ts +0 -13
  56. package/dist/packages/core/src/agent-sessions/runtime-command/application/interrupt-claimed-runtime-command.d.ts +0 -13
  57. package/dist/packages/core/src/agent-sessions/runtime-command/application/run-runtime-command-locally.d.ts +0 -27
  58. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-claim-helpers.d.ts +0 -1
  59. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-contract-mapper.d.ts +0 -3
  60. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-output-summary.d.ts +0 -4
  61. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-repo.d.ts +0 -20
  62. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-runner.d.ts +0 -25
  63. package/dist/packages/core/src/agent-sessions/runtime-command/contracts/runtime-command-contracts.d.ts +0 -194
  64. package/dist/packages/core/src/agent-sessions/runtime-command/domain/runtime-command-entity.d.ts +0 -111
  65. package/dist/packages/core/src/agent-sessions/runtime-command/infra/drizzle-runtime-command-repo.d.ts +0 -20
  66. package/dist/packages/core/src/agent-sessions/runtime-command/infra/local-runtime-command-runner.d.ts +0 -25
  67. package/dist/packages/core/src/agent-sessions/runtime-environment/domain/runtime-environment.d.ts +0 -12
  68. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-publisher.d.ts +0 -24
  69. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-repo.d.ts +0 -17
  70. package/dist/packages/core/src/agent-sessions/runtime-operation-event/domain/runtime-operation-event.d.ts +0 -35
  71. package/dist/packages/core/src/agent-sessions/runtime-operation-event/infra/file-runtime-operation-event-repo.d.ts +0 -25
  72. package/dist/packages/core/src/agent-sessions/runtime-service/application/create-runtime-service.d.ts +0 -19
  73. package/dist/packages/core/src/agent-sessions/runtime-service/application/get-runtime-service.d.ts +0 -13
  74. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-contract-mapper.d.ts +0 -3
  75. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-output-summary.d.ts +0 -10
  76. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-repo.d.ts +0 -9
  77. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-runner.d.ts +0 -23
  78. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-session-service-exposure-provider.d.ts +0 -19
  79. package/dist/packages/core/src/agent-sessions/runtime-service/application/start-runtime-service-locally.d.ts +0 -23
  80. package/dist/packages/core/src/agent-sessions/runtime-service/application/stop-runtime-service.d.ts +0 -34
  81. package/dist/packages/core/src/agent-sessions/runtime-service/contracts/runtime-service-contracts.d.ts +0 -140
  82. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-access-point.d.ts +0 -12
  83. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-entity.d.ts +0 -76
  84. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-healthcheck.d.ts +0 -20
  85. package/dist/packages/core/src/agent-sessions/runtime-service/infra/drizzle-runtime-service-repo.d.ts +0 -9
  86. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-readiness-probe.d.ts +0 -42
  87. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-runner.d.ts +0 -32
  88. package/dist/packages/core/src/common/contracts/json.d.ts +0 -9
  89. package/dist/packages/core/src/common/contracts/opencode-mcp.d.ts +0 -73
  90. package/dist/packages/core/src/common/contracts/uuid-v7.d.ts +0 -8
  91. package/dist/packages/core/src/lib/db/db-executor.d.ts +0 -4
  92. package/dist/packages/core/src/lib/db/index.d.ts +0 -7
  93. package/dist/packages/core/src/lib/db/schema.d.ts +0 -4950
  94. package/dist/packages/core/src/lib/di.d.ts +0 -113
  95. package/dist/packages/core/src/lib/domain-events/domain-event.d.ts +0 -12
  96. package/dist/packages/core/src/lib/domain-events/in-memory-domain-event-dispatcher.d.ts +0 -7
  97. package/dist/packages/core/src/lib/errors.d.ts +0 -37
  98. package/dist/packages/core/src/lib/logger.d.ts +0 -7
  99. package/dist/packages/core/src/lib/result.d.ts +0 -15
  100. package/dist/packages/core/src/lib/time-provider.d.ts +0 -5
  101. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/add-linear-pipeline-step-definition.d.ts +0 -13
  102. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/archive-linear-pipeline-definition.d.ts +0 -13
  103. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/create-linear-pipeline-definition.d.ts +0 -11
  104. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/get-linear-pipeline-definition.d.ts +0 -11
  105. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-contract-mapper.d.ts +0 -3
  106. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-repo.d.ts +0 -9
  107. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/list-linear-pipeline-definitions.d.ts +0 -9
  108. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/remove-linear-pipeline-step-definition.d.ts +0 -13
  109. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/set-linear-pipeline-step-advancement-policy-definition.d.ts +0 -13
  110. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-definition.d.ts +0 -13
  111. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-step-definition.d.ts +0 -13
  112. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/contracts/linear-pipeline-definition-contracts.d.ts +0 -357
  113. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/domain/linear-pipeline-definition-entity.d.ts +0 -36
  114. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-advancement-policy-definition-entity.d.ts +0 -42
  115. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-definition-entity.d.ts +0 -42
  116. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/infra/drizzle-linear-pipeline-definition-repo.d.ts +0 -11
  117. package/dist/packages/core/src/pipeline-definitions/step-definition/application/archive-step-definition.d.ts +0 -13
  118. package/dist/packages/core/src/pipeline-definitions/step-definition/application/create-step-definition.d.ts +0 -11
  119. package/dist/packages/core/src/pipeline-definitions/step-definition/application/get-step-definition.d.ts +0 -11
  120. package/dist/packages/core/src/pipeline-definitions/step-definition/application/list-step-definitions.d.ts +0 -9
  121. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-contract-mapper.d.ts +0 -3
  122. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-repo.d.ts +0 -9
  123. package/dist/packages/core/src/pipeline-definitions/step-definition/application/update-step-definition.d.ts +0 -13
  124. package/dist/packages/core/src/pipeline-definitions/step-definition/contracts/step-definition-contracts.d.ts +0 -281
  125. package/dist/packages/core/src/pipeline-definitions/step-definition/domain/step-definition-entity.d.ts +0 -53
  126. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/computed-signal-definition-entity.d.ts +0 -31
  127. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/signal-extractor-definition-entity.d.ts +0 -30
  128. package/dist/packages/core/src/pipeline-definitions/step-definition/infra/drizzle-step-definition-repo.d.ts +0 -11
  129. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/get-step-definition-template.d.ts +0 -8
  130. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/instantiate-step-definition-template.d.ts +0 -15
  131. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/list-step-definition-templates.d.ts +0 -5
  132. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/step-definition-template-repo.d.ts +0 -7
  133. package/dist/packages/core/src/pipeline-definitions/step-definition-template/contracts/step-definition-template-contracts.d.ts +0 -98
  134. package/dist/packages/core/src/pipeline-definitions/step-definition-template/domain/step-definition-template-entity.d.ts +0 -37
  135. package/dist/packages/core/src/pipeline-definitions/step-definition-template/infra/drizzle-step-definition-template-repo.d.ts +0 -9
  136. package/dist/packages/core/src/pipeline-executions/feedback-request/application/create-feedback-requests-on-step-signal-created.d.ts +0 -9
  137. package/dist/packages/core/src/pipeline-executions/feedback-request/application/decline-feedback-request.d.ts +0 -13
  138. package/dist/packages/core/src/pipeline-executions/feedback-request/application/feedback-request-repo.d.ts +0 -8
  139. package/dist/packages/core/src/pipeline-executions/feedback-request/application/list-feedback-requests-by-step-signal.d.ts +0 -14
  140. package/dist/packages/core/src/pipeline-executions/feedback-request/contracts/feedback-request-contracts.d.ts +0 -21
  141. package/dist/packages/core/src/pipeline-executions/feedback-request/domain/feedback-request-entity.d.ts +0 -29
  142. package/dist/packages/core/src/pipeline-executions/feedback-request/infra/drizzle-feedback-request-repo.d.ts +0 -10
  143. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/accept-linear-pipeline-step-run.d.ts +0 -19
  144. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/apply-linear-pipeline-step-result-and-advance.d.ts +0 -21
  145. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/cancel-linear-pipeline-execution.d.ts +0 -15
  146. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-execution.d.ts +0 -15
  147. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-step-run-attempt.d.ts +0 -17
  148. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/get-linear-pipeline-execution.d.ts +0 -15
  149. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-contract-mapper.d.ts +0 -3
  150. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-helpers.d.ts +0 -52
  151. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-repo.d.ts +0 -15
  152. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-step-input-resolution.d.ts +0 -5
  153. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions-by-definition.d.ts +0 -15
  154. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions.d.ts +0 -13
  155. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/mark-linear-pipeline-step-run-attempt-running.d.ts +0 -15
  156. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/project-linear-pipeline-executions.d.ts +0 -10
  157. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/queue-first-linear-pipeline-step-run.d.ts +0 -19
  158. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/retrigger-linear-pipeline-step-run.d.ts +0 -17
  159. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/start-linear-pipeline-execution.d.ts +0 -19
  160. package/dist/packages/core/src/pipeline-executions/pipeline-execution/contracts/linear-pipeline-execution-contracts.d.ts +0 -330
  161. package/dist/packages/core/src/pipeline-executions/pipeline-execution/domain/linear-pipeline-execution-entity.d.ts +0 -43
  162. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-execution-event-entity.d.ts +0 -25
  163. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-evaluation-entity.d.ts +0 -45
  164. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-attempt-entity.d.ts +0 -24
  165. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-entity.d.ts +0 -63
  166. package/dist/packages/core/src/pipeline-executions/pipeline-execution/infra/drizzle-linear-pipeline-execution-repo.d.ts +0 -19
  167. package/dist/packages/core/src/pipeline-executions/step-execution/application/add-step-execution-result.d.ts +0 -13
  168. package/dist/packages/core/src/pipeline-executions/step-execution/application/claim-step-executions.d.ts +0 -19
  169. package/dist/packages/core/src/pipeline-executions/step-execution/application/complete-claimed-step-execution.d.ts +0 -39
  170. package/dist/packages/core/src/pipeline-executions/step-execution/application/create-step-execution.d.ts +0 -11
  171. package/dist/packages/core/src/pipeline-executions/step-execution/application/extract-step-execution-signals.d.ts +0 -17
  172. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution-worker-context.d.ts +0 -17
  173. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution.d.ts +0 -13
  174. package/dist/packages/core/src/pipeline-executions/step-execution/application/heartbeat-step-execution-claim.d.ts +0 -21
  175. package/dist/packages/core/src/pipeline-executions/step-execution/application/list-step-executions-by-project.d.ts +0 -11
  176. package/dist/packages/core/src/pipeline-executions/step-execution/application/load-status-adjusted-step-executions.d.ts +0 -31
  177. package/dist/packages/core/src/pipeline-executions/step-execution/application/mark-step-execution-running.d.ts +0 -13
  178. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-claim-helpers.d.ts +0 -13
  179. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-contract-mapper.d.ts +0 -7
  180. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-repo.d.ts +0 -29
  181. package/dist/packages/core/src/pipeline-executions/step-execution/contracts/step-execution-contracts.d.ts +0 -325
  182. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-execution-entity.d.ts +0 -61
  183. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-signal-created.domain-event.d.ts +0 -18
  184. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-execution-result-entity.d.ts +0 -32
  185. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-signal-entity.d.ts +0 -36
  186. package/dist/packages/core/src/pipeline-executions/step-execution/infra/drizzle-step-execution-repo.d.ts +0 -31
  187. package/dist/packages/core/src/projects/project/application/create-project.d.ts +0 -13
  188. package/dist/packages/core/src/projects/project/application/default-pipelines/default-create-failing-test-step-definition.d.ts +0 -4
  189. package/dist/packages/core/src/projects/project/application/default-pipelines/default-description-quality-step-definition.d.ts +0 -4
  190. package/dist/packages/core/src/projects/project/application/default-pipelines/default-fix-failing-test-step-definition.d.ts +0 -4
  191. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-conventions.d.ts +0 -9
  192. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-definitions.d.ts +0 -7
  193. package/dist/packages/core/src/projects/project/application/default-pipelines/default-step-definitions.d.ts +0 -8
  194. package/dist/packages/core/src/projects/project/application/default-pipelines/default-web-repro-playwright-step-definition.d.ts +0 -4
  195. package/dist/packages/core/src/projects/project/application/get-project.d.ts +0 -11
  196. package/dist/packages/core/src/projects/project/application/list-projects.d.ts +0 -9
  197. package/dist/packages/core/src/projects/project/application/project-authorization.d.ts +0 -4
  198. package/dist/packages/core/src/projects/project/application/project-contract-mapper.d.ts +0 -3
  199. package/dist/packages/core/src/projects/project/application/project-repo.d.ts +0 -9
  200. package/dist/packages/core/src/projects/project/application/seed-default-pipelines-on-project-created.d.ts +0 -12
  201. package/dist/packages/core/src/projects/project/application/update-project-membership.d.ts +0 -13
  202. package/dist/packages/core/src/projects/project/contracts/project-contracts.d.ts +0 -37
  203. package/dist/packages/core/src/projects/project/domain/project-created.domain-event.d.ts +0 -13
  204. package/dist/packages/core/src/projects/project/domain/project-entity.d.ts +0 -31
  205. package/dist/packages/core/src/projects/project/domain/project-git-url.d.ts +0 -7
  206. package/dist/packages/core/src/projects/project/domain/project-membership.d.ts +0 -21
  207. package/dist/packages/core/src/projects/project/domain/project-permission.d.ts +0 -7
  208. package/dist/packages/core/src/projects/project/infra/drizzle-project-repo.d.ts +0 -11
  209. package/dist/packages/core/src/projects/project-context/application/create-project-context-entry.d.ts +0 -11
  210. package/dist/packages/core/src/projects/project-context/application/delete-project-context-entry.d.ts +0 -11
  211. package/dist/packages/core/src/projects/project-context/application/list-project-context-entries.d.ts +0 -12
  212. package/dist/packages/core/src/projects/project-context/application/project-context-entry-repo.d.ts +0 -8
  213. package/dist/packages/core/src/projects/project-context/contracts/project-context-entry-contracts.d.ts +0 -46
  214. package/dist/packages/core/src/projects/project-context/domain/project-context-entry-entity.d.ts +0 -27
  215. package/dist/packages/core/src/projects/project-context/infra/drizzle-project-context-entry-repo.d.ts +0 -10
  216. package/dist/packages/core/src/projects/project-opencode-config/application/project-opencode-runtime-metadata.d.ts +0 -17
  217. package/dist/packages/core/src/work-items/work-item/application/create-work-item.d.ts +0 -16
  218. package/dist/packages/core/src/work-items/work-item/application/delete-work-items.d.ts +0 -14
  219. package/dist/packages/core/src/work-items/work-item/application/get-work-items.d.ts +0 -14
  220. package/dist/packages/core/src/work-items/work-item/application/list-work-items-by-project.d.ts +0 -13
  221. package/dist/packages/core/src/work-items/work-item/application/upsert-work-item.d.ts +0 -14
  222. package/dist/packages/core/src/work-items/work-item/application/work-item-contract-mapper.d.ts +0 -4
  223. package/dist/packages/core/src/work-items/work-item/application/work-item-repo.d.ts +0 -27
  224. package/dist/packages/core/src/work-items/work-item/contracts/work-item-contracts.d.ts +0 -119
  225. package/dist/packages/core/src/work-items/work-item/domain/date-utils.d.ts +0 -1
  226. package/dist/packages/core/src/work-items/work-item/domain/work-item-entity.d.ts +0 -58
  227. package/dist/packages/core/src/work-items/work-item/domain/work-item-field-value.d.ts +0 -3
  228. package/dist/packages/core/src/work-items/work-item/domain/work-item-id.d.ts +0 -6
  229. package/dist/packages/core/src/work-items/work-item/domain/work-item-platform.d.ts +0 -2
  230. package/dist/packages/core/src/work-items/work-item/domain/work-item-projection-fingerprint-entity.d.ts +0 -18
  231. package/dist/packages/core/src/work-items/work-item/infra/drizzle-work-item-repo.d.ts +0 -25
  232. package/dist/packages/sdks/js/script/build.d.ts +0 -1
  233. package/dist/packages/sdks/js/src/index.d.ts +0 -1
  234. package/dist/packages/sdks/js/test/define-step.test.d.ts +0 -1
  235. /package/dist/{packages/sdks/js/src/client.d.ts → client.d.ts} +0 -0
  236. /package/dist/{packages/sdks/js/src/define-step.d.ts → define-step.d.ts} +0 -0
  237. /package/dist/{packages/sdks/js/src/step-definitions-client.d.ts → step-definitions-client.d.ts} +0 -0
  238. /package/dist/{packages/sdks/js/src/step-execution-plane-client.d.ts → step-execution-plane-client.d.ts} +0 -0
  239. /package/dist/{packages/sdks/js/src/treaty.d.ts → treaty.d.ts} +0 -0
@@ -1,1485 +0,0 @@
1
- import { Elysia } from "elysia";
2
- import type { AppContext } from "@boboddy/core/lib/di";
3
- export declare const createStepExecutionsRoutes: (appContext: AppContext) => Elysia<"", {
4
- decorator: {};
5
- store: {};
6
- derive: {};
7
- resolve: {};
8
- }, {
9
- typebox: {};
10
- error: {};
11
- }, {
12
- schema: {};
13
- standaloneSchema: {};
14
- macro: {};
15
- macroFn: {};
16
- parser: {};
17
- response: {};
18
- }, {
19
- "step-executions": {
20
- claims: {
21
- post: {
22
- body: {
23
- projectId: string & {
24
- readonly __brand: "uuidv7";
25
- };
26
- workerId: string;
27
- batchSize: number;
28
- leaseDurationSeconds: number;
29
- workItemId?: string | undefined;
30
- };
31
- params: {};
32
- query: unknown;
33
- headers: unknown;
34
- response: {
35
- 422: {
36
- type: string;
37
- title: string;
38
- status: number;
39
- detail?: string | undefined;
40
- instance?: string | undefined;
41
- code?: string | undefined;
42
- errors?: {
43
- path: string;
44
- message: string;
45
- summary?: string | undefined;
46
- }[] | undefined;
47
- };
48
- 500: {
49
- type: string;
50
- title: string;
51
- status: number;
52
- detail?: string | undefined;
53
- instance?: string | undefined;
54
- code?: string | undefined;
55
- errors?: {
56
- path: string;
57
- message: string;
58
- summary?: string | undefined;
59
- }[] | undefined;
60
- };
61
- 200: {
62
- stepExecution: {
63
- id: string & {
64
- readonly __brand: "uuidv7";
65
- };
66
- projectId: string & {
67
- readonly __brand: "uuidv7";
68
- };
69
- stepDefinitionId: string & {
70
- readonly __brand: "uuidv7";
71
- };
72
- stepDefinitionVersion: number;
73
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
74
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
75
- claimedBy: string | null;
76
- claimedAt: string | null;
77
- lastHeartbeatAt: string | null;
78
- leaseExpiresAt: string | null;
79
- executionTimeoutSeconds: number | null;
80
- executionDeadlineAt: string | null;
81
- startedAt: string | null;
82
- completedAt: string | null;
83
- results: {
84
- id: string & {
85
- readonly __brand: "uuidv7";
86
- };
87
- stepExecutionId: string & {
88
- readonly __brand: "uuidv7";
89
- };
90
- attempt: number;
91
- status: "succeeded" | "failed";
92
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
93
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
94
- signals: {
95
- id: string & {
96
- readonly __brand: "uuidv7";
97
- };
98
- stepExecutionResultId: string & {
99
- readonly __brand: "uuidv7";
100
- };
101
- key: string;
102
- type: "string" | "number" | "boolean" | "object" | "array";
103
- source: "extracted" | "computed";
104
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
105
- sourcePath: string | null;
106
- computedFromSignalKeys: string[] | null;
107
- createdAt: string;
108
- }[];
109
- createdAt: string;
110
- }[];
111
- createdAt: string;
112
- updatedAt: string;
113
- };
114
- claimToken: string;
115
- }[];
116
- 403: {
117
- type: string;
118
- title: string;
119
- status: number;
120
- detail?: string | undefined;
121
- instance?: string | undefined;
122
- code?: string | undefined;
123
- errors?: {
124
- path: string;
125
- message: string;
126
- summary?: string | undefined;
127
- }[] | undefined;
128
- };
129
- 400: {
130
- type: string;
131
- title: string;
132
- status: number;
133
- detail?: string | undefined;
134
- instance?: string | undefined;
135
- code?: string | undefined;
136
- errors?: {
137
- path: string;
138
- message: string;
139
- summary?: string | undefined;
140
- }[] | undefined;
141
- };
142
- 401: {
143
- type: string;
144
- title: string;
145
- status: number;
146
- detail?: string | undefined;
147
- instance?: string | undefined;
148
- code?: string | undefined;
149
- errors?: {
150
- path: string;
151
- message: string;
152
- summary?: string | undefined;
153
- }[] | undefined;
154
- };
155
- };
156
- };
157
- };
158
- };
159
- } & {
160
- "step-executions": {
161
- post: {
162
- body: {
163
- projectId: string & {
164
- readonly __brand: "uuidv7";
165
- };
166
- stepDefinitionId: string & {
167
- readonly __brand: "uuidv7";
168
- };
169
- stepDefinitionVersion: number;
170
- inputJson?: import("@boboddy/core/common/contracts/json").AnyJsonValue | undefined;
171
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned" | undefined;
172
- executionTimeoutSeconds?: number | null | undefined;
173
- };
174
- params: {};
175
- query: unknown;
176
- headers: unknown;
177
- response: {
178
- 422: {
179
- type: string;
180
- title: string;
181
- status: number;
182
- detail?: string | undefined;
183
- instance?: string | undefined;
184
- code?: string | undefined;
185
- errors?: {
186
- path: string;
187
- message: string;
188
- summary?: string | undefined;
189
- }[] | undefined;
190
- };
191
- 404: {
192
- type: string;
193
- title: string;
194
- status: number;
195
- detail?: string | undefined;
196
- instance?: string | undefined;
197
- code?: string | undefined;
198
- errors?: {
199
- path: string;
200
- message: string;
201
- summary?: string | undefined;
202
- }[] | undefined;
203
- };
204
- 409: {
205
- type: string;
206
- title: string;
207
- status: number;
208
- detail?: string | undefined;
209
- instance?: string | undefined;
210
- code?: string | undefined;
211
- errors?: {
212
- path: string;
213
- message: string;
214
- summary?: string | undefined;
215
- }[] | undefined;
216
- };
217
- 500: {
218
- type: string;
219
- title: string;
220
- status: number;
221
- detail?: string | undefined;
222
- instance?: string | undefined;
223
- code?: string | undefined;
224
- errors?: {
225
- path: string;
226
- message: string;
227
- summary?: string | undefined;
228
- }[] | undefined;
229
- };
230
- 200: {
231
- id: string & {
232
- readonly __brand: "uuidv7";
233
- };
234
- projectId: string & {
235
- readonly __brand: "uuidv7";
236
- };
237
- stepDefinitionId: string & {
238
- readonly __brand: "uuidv7";
239
- };
240
- stepDefinitionVersion: number;
241
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
242
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
243
- claimedBy: string | null;
244
- claimedAt: string | null;
245
- lastHeartbeatAt: string | null;
246
- leaseExpiresAt: string | null;
247
- executionTimeoutSeconds: number | null;
248
- executionDeadlineAt: string | null;
249
- startedAt: string | null;
250
- completedAt: string | null;
251
- results: {
252
- id: string & {
253
- readonly __brand: "uuidv7";
254
- };
255
- stepExecutionId: string & {
256
- readonly __brand: "uuidv7";
257
- };
258
- attempt: number;
259
- status: "succeeded" | "failed";
260
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
261
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
262
- signals: {
263
- id: string & {
264
- readonly __brand: "uuidv7";
265
- };
266
- stepExecutionResultId: string & {
267
- readonly __brand: "uuidv7";
268
- };
269
- key: string;
270
- type: "string" | "number" | "boolean" | "object" | "array";
271
- source: "extracted" | "computed";
272
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
273
- sourcePath: string | null;
274
- computedFromSignalKeys: string[] | null;
275
- createdAt: string;
276
- }[];
277
- createdAt: string;
278
- }[];
279
- createdAt: string;
280
- updatedAt: string;
281
- };
282
- 403: {
283
- type: string;
284
- title: string;
285
- status: number;
286
- detail?: string | undefined;
287
- instance?: string | undefined;
288
- code?: string | undefined;
289
- errors?: {
290
- path: string;
291
- message: string;
292
- summary?: string | undefined;
293
- }[] | undefined;
294
- };
295
- 400: {
296
- type: string;
297
- title: string;
298
- status: number;
299
- detail?: string | undefined;
300
- instance?: string | undefined;
301
- code?: string | undefined;
302
- errors?: {
303
- path: string;
304
- message: string;
305
- summary?: string | undefined;
306
- }[] | undefined;
307
- };
308
- 401: {
309
- type: string;
310
- title: string;
311
- status: number;
312
- detail?: string | undefined;
313
- instance?: string | undefined;
314
- code?: string | undefined;
315
- errors?: {
316
- path: string;
317
- message: string;
318
- summary?: string | undefined;
319
- }[] | undefined;
320
- };
321
- };
322
- };
323
- };
324
- } & {
325
- "step-executions": {
326
- ":stepExecutionId": {
327
- heartbeat: {
328
- put: {
329
- body: {
330
- claimToken: string;
331
- leaseDurationSeconds: number;
332
- };
333
- params: {
334
- stepExecutionId: string & {
335
- readonly __brand: "uuidv7";
336
- };
337
- };
338
- query: unknown;
339
- headers: unknown;
340
- response: {
341
- 422: {
342
- type: string;
343
- title: string;
344
- status: number;
345
- detail?: string | undefined;
346
- instance?: string | undefined;
347
- code?: string | undefined;
348
- errors?: {
349
- path: string;
350
- message: string;
351
- summary?: string | undefined;
352
- }[] | undefined;
353
- };
354
- 404: {
355
- type: string;
356
- title: string;
357
- status: number;
358
- detail?: string | undefined;
359
- instance?: string | undefined;
360
- code?: string | undefined;
361
- errors?: {
362
- path: string;
363
- message: string;
364
- summary?: string | undefined;
365
- }[] | undefined;
366
- };
367
- 409: {
368
- type: string;
369
- title: string;
370
- status: number;
371
- detail?: string | undefined;
372
- instance?: string | undefined;
373
- code?: string | undefined;
374
- errors?: {
375
- path: string;
376
- message: string;
377
- summary?: string | undefined;
378
- }[] | undefined;
379
- };
380
- 500: {
381
- type: string;
382
- title: string;
383
- status: number;
384
- detail?: string | undefined;
385
- instance?: string | undefined;
386
- code?: string | undefined;
387
- errors?: {
388
- path: string;
389
- message: string;
390
- summary?: string | undefined;
391
- }[] | undefined;
392
- };
393
- 200: {
394
- id: string & {
395
- readonly __brand: "uuidv7";
396
- };
397
- projectId: string & {
398
- readonly __brand: "uuidv7";
399
- };
400
- stepDefinitionId: string & {
401
- readonly __brand: "uuidv7";
402
- };
403
- stepDefinitionVersion: number;
404
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
405
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
406
- claimedBy: string | null;
407
- claimedAt: string | null;
408
- lastHeartbeatAt: string | null;
409
- leaseExpiresAt: string | null;
410
- executionTimeoutSeconds: number | null;
411
- executionDeadlineAt: string | null;
412
- startedAt: string | null;
413
- completedAt: string | null;
414
- results: {
415
- id: string & {
416
- readonly __brand: "uuidv7";
417
- };
418
- stepExecutionId: string & {
419
- readonly __brand: "uuidv7";
420
- };
421
- attempt: number;
422
- status: "succeeded" | "failed";
423
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
424
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
425
- signals: {
426
- id: string & {
427
- readonly __brand: "uuidv7";
428
- };
429
- stepExecutionResultId: string & {
430
- readonly __brand: "uuidv7";
431
- };
432
- key: string;
433
- type: "string" | "number" | "boolean" | "object" | "array";
434
- source: "extracted" | "computed";
435
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
436
- sourcePath: string | null;
437
- computedFromSignalKeys: string[] | null;
438
- createdAt: string;
439
- }[];
440
- createdAt: string;
441
- }[];
442
- createdAt: string;
443
- updatedAt: string;
444
- };
445
- 403: {
446
- type: string;
447
- title: string;
448
- status: number;
449
- detail?: string | undefined;
450
- instance?: string | undefined;
451
- code?: string | undefined;
452
- errors?: {
453
- path: string;
454
- message: string;
455
- summary?: string | undefined;
456
- }[] | undefined;
457
- };
458
- 401: {
459
- type: string;
460
- title: string;
461
- status: number;
462
- detail?: string | undefined;
463
- instance?: string | undefined;
464
- code?: string | undefined;
465
- errors?: {
466
- path: string;
467
- message: string;
468
- summary?: string | undefined;
469
- }[] | undefined;
470
- };
471
- };
472
- };
473
- };
474
- };
475
- };
476
- } & {
477
- "step-executions": {
478
- ":stepExecutionId": {
479
- "worker-context": {
480
- post: {
481
- body: {
482
- claimToken: string;
483
- };
484
- params: {
485
- stepExecutionId: string & {
486
- readonly __brand: "uuidv7";
487
- };
488
- };
489
- query: unknown;
490
- headers: unknown;
491
- response: {
492
- 422: {
493
- type: string;
494
- title: string;
495
- status: number;
496
- detail?: string | undefined;
497
- instance?: string | undefined;
498
- code?: string | undefined;
499
- errors?: {
500
- path: string;
501
- message: string;
502
- summary?: string | undefined;
503
- }[] | undefined;
504
- };
505
- 404: {
506
- type: string;
507
- title: string;
508
- status: number;
509
- detail?: string | undefined;
510
- instance?: string | undefined;
511
- code?: string | undefined;
512
- errors?: {
513
- path: string;
514
- message: string;
515
- summary?: string | undefined;
516
- }[] | undefined;
517
- };
518
- 409: {
519
- type: string;
520
- title: string;
521
- status: number;
522
- detail?: string | undefined;
523
- instance?: string | undefined;
524
- code?: string | undefined;
525
- errors?: {
526
- path: string;
527
- message: string;
528
- summary?: string | undefined;
529
- }[] | undefined;
530
- };
531
- 500: {
532
- type: string;
533
- title: string;
534
- status: number;
535
- detail?: string | undefined;
536
- instance?: string | undefined;
537
- code?: string | undefined;
538
- errors?: {
539
- path: string;
540
- message: string;
541
- summary?: string | undefined;
542
- }[] | undefined;
543
- };
544
- 200: {
545
- projectId: string & {
546
- readonly __brand: "uuidv7";
547
- };
548
- gitUrl: string;
549
- requestedBranch: string | null;
550
- projectOpencodeConfig: {
551
- relativePath: string;
552
- present: boolean;
553
- commands: {
554
- name: string;
555
- description: string;
556
- run: string;
557
- cwd: string | null;
558
- }[];
559
- services: {
560
- name: string;
561
- description: string;
562
- run: string;
563
- cwd: string | null;
564
- dependsOn: string[];
565
- expose: {
566
- targetPort: number;
567
- protocol: "tcp" | "http";
568
- };
569
- healthcheck: {
570
- protocol: "tcp" | "http";
571
- path: string | null;
572
- expectedStatus: number | null;
573
- };
574
- }[];
575
- };
576
- stepExecution: {
577
- id: string & {
578
- readonly __brand: "uuidv7";
579
- };
580
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
581
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
582
- executionTimeoutSeconds: number | null;
583
- };
584
- stepDefinition: {
585
- id: string & {
586
- readonly __brand: "uuidv7";
587
- };
588
- key: string;
589
- name: string;
590
- prompt: string;
591
- resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
592
- opencodeMcpJson: Record<string, {
593
- type: "local";
594
- command: string[];
595
- environment?: Record<string, string> | undefined;
596
- enabled?: boolean | undefined;
597
- timeout?: number | undefined;
598
- } | {
599
- type: "remote";
600
- url: string;
601
- enabled?: boolean | undefined;
602
- headers?: Record<string, string> | undefined;
603
- oauth?: false | {
604
- clientId?: string | undefined;
605
- clientSecret?: string | undefined;
606
- scope?: string | undefined;
607
- redirectUri?: string | undefined;
608
- } | undefined;
609
- timeout?: number | undefined;
610
- } | {
611
- enabled: boolean;
612
- }> | null;
613
- };
614
- agentPrompt: {
615
- sessionTitle: string;
616
- promptText: string;
617
- };
618
- };
619
- 403: {
620
- type: string;
621
- title: string;
622
- status: number;
623
- detail?: string | undefined;
624
- instance?: string | undefined;
625
- code?: string | undefined;
626
- errors?: {
627
- path: string;
628
- message: string;
629
- summary?: string | undefined;
630
- }[] | undefined;
631
- };
632
- 401: {
633
- type: string;
634
- title: string;
635
- status: number;
636
- detail?: string | undefined;
637
- instance?: string | undefined;
638
- code?: string | undefined;
639
- errors?: {
640
- path: string;
641
- message: string;
642
- summary?: string | undefined;
643
- }[] | undefined;
644
- };
645
- };
646
- };
647
- };
648
- };
649
- };
650
- } & {
651
- "step-executions": {
652
- ":stepExecutionId": {
653
- completions: {
654
- post: {
655
- body: {
656
- claimToken: string;
657
- status: "succeeded" | "failed";
658
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
659
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
660
- };
661
- params: {
662
- stepExecutionId: string & {
663
- readonly __brand: "uuidv7";
664
- };
665
- };
666
- query: unknown;
667
- headers: unknown;
668
- response: {
669
- 422: {
670
- type: string;
671
- title: string;
672
- status: number;
673
- detail?: string | undefined;
674
- instance?: string | undefined;
675
- code?: string | undefined;
676
- errors?: {
677
- path: string;
678
- message: string;
679
- summary?: string | undefined;
680
- }[] | undefined;
681
- };
682
- 404: {
683
- type: string;
684
- title: string;
685
- status: number;
686
- detail?: string | undefined;
687
- instance?: string | undefined;
688
- code?: string | undefined;
689
- errors?: {
690
- path: string;
691
- message: string;
692
- summary?: string | undefined;
693
- }[] | undefined;
694
- };
695
- 409: {
696
- type: string;
697
- title: string;
698
- status: number;
699
- detail?: string | undefined;
700
- instance?: string | undefined;
701
- code?: string | undefined;
702
- errors?: {
703
- path: string;
704
- message: string;
705
- summary?: string | undefined;
706
- }[] | undefined;
707
- };
708
- 500: {
709
- type: string;
710
- title: string;
711
- status: number;
712
- detail?: string | undefined;
713
- instance?: string | undefined;
714
- code?: string | undefined;
715
- errors?: {
716
- path: string;
717
- message: string;
718
- summary?: string | undefined;
719
- }[] | undefined;
720
- };
721
- 200: {
722
- id: string & {
723
- readonly __brand: "uuidv7";
724
- };
725
- projectId: string & {
726
- readonly __brand: "uuidv7";
727
- };
728
- stepDefinitionId: string & {
729
- readonly __brand: "uuidv7";
730
- };
731
- stepDefinitionVersion: number;
732
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
733
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
734
- claimedBy: string | null;
735
- claimedAt: string | null;
736
- lastHeartbeatAt: string | null;
737
- leaseExpiresAt: string | null;
738
- executionTimeoutSeconds: number | null;
739
- executionDeadlineAt: string | null;
740
- startedAt: string | null;
741
- completedAt: string | null;
742
- results: {
743
- id: string & {
744
- readonly __brand: "uuidv7";
745
- };
746
- stepExecutionId: string & {
747
- readonly __brand: "uuidv7";
748
- };
749
- attempt: number;
750
- status: "succeeded" | "failed";
751
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
752
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
753
- signals: {
754
- id: string & {
755
- readonly __brand: "uuidv7";
756
- };
757
- stepExecutionResultId: string & {
758
- readonly __brand: "uuidv7";
759
- };
760
- key: string;
761
- type: "string" | "number" | "boolean" | "object" | "array";
762
- source: "extracted" | "computed";
763
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
764
- sourcePath: string | null;
765
- computedFromSignalKeys: string[] | null;
766
- createdAt: string;
767
- }[];
768
- createdAt: string;
769
- }[];
770
- createdAt: string;
771
- updatedAt: string;
772
- };
773
- 403: {
774
- type: string;
775
- title: string;
776
- status: number;
777
- detail?: string | undefined;
778
- instance?: string | undefined;
779
- code?: string | undefined;
780
- errors?: {
781
- path: string;
782
- message: string;
783
- summary?: string | undefined;
784
- }[] | undefined;
785
- };
786
- 401: {
787
- type: string;
788
- title: string;
789
- status: number;
790
- detail?: string | undefined;
791
- instance?: string | undefined;
792
- code?: string | undefined;
793
- errors?: {
794
- path: string;
795
- message: string;
796
- summary?: string | undefined;
797
- }[] | undefined;
798
- };
799
- };
800
- };
801
- };
802
- };
803
- };
804
- } & {
805
- "step-executions": {
806
- ":stepExecutionId": {
807
- running: {
808
- put: {
809
- body: unknown;
810
- params: {
811
- stepExecutionId: string & {
812
- readonly __brand: "uuidv7";
813
- };
814
- };
815
- query: unknown;
816
- headers: unknown;
817
- response: {
818
- 422: {
819
- type: string;
820
- title: string;
821
- status: number;
822
- detail?: string | undefined;
823
- instance?: string | undefined;
824
- code?: string | undefined;
825
- errors?: {
826
- path: string;
827
- message: string;
828
- summary?: string | undefined;
829
- }[] | undefined;
830
- };
831
- 404: {
832
- type: string;
833
- title: string;
834
- status: number;
835
- detail?: string | undefined;
836
- instance?: string | undefined;
837
- code?: string | undefined;
838
- errors?: {
839
- path: string;
840
- message: string;
841
- summary?: string | undefined;
842
- }[] | undefined;
843
- };
844
- 500: {
845
- type: string;
846
- title: string;
847
- status: number;
848
- detail?: string | undefined;
849
- instance?: string | undefined;
850
- code?: string | undefined;
851
- errors?: {
852
- path: string;
853
- message: string;
854
- summary?: string | undefined;
855
- }[] | undefined;
856
- };
857
- 200: {
858
- id: string & {
859
- readonly __brand: "uuidv7";
860
- };
861
- projectId: string & {
862
- readonly __brand: "uuidv7";
863
- };
864
- stepDefinitionId: string & {
865
- readonly __brand: "uuidv7";
866
- };
867
- stepDefinitionVersion: number;
868
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
869
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
870
- claimedBy: string | null;
871
- claimedAt: string | null;
872
- lastHeartbeatAt: string | null;
873
- leaseExpiresAt: string | null;
874
- executionTimeoutSeconds: number | null;
875
- executionDeadlineAt: string | null;
876
- startedAt: string | null;
877
- completedAt: string | null;
878
- results: {
879
- id: string & {
880
- readonly __brand: "uuidv7";
881
- };
882
- stepExecutionId: string & {
883
- readonly __brand: "uuidv7";
884
- };
885
- attempt: number;
886
- status: "succeeded" | "failed";
887
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
888
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
889
- signals: {
890
- id: string & {
891
- readonly __brand: "uuidv7";
892
- };
893
- stepExecutionResultId: string & {
894
- readonly __brand: "uuidv7";
895
- };
896
- key: string;
897
- type: "string" | "number" | "boolean" | "object" | "array";
898
- source: "extracted" | "computed";
899
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
900
- sourcePath: string | null;
901
- computedFromSignalKeys: string[] | null;
902
- createdAt: string;
903
- }[];
904
- createdAt: string;
905
- }[];
906
- createdAt: string;
907
- updatedAt: string;
908
- };
909
- 403: {
910
- type: string;
911
- title: string;
912
- status: number;
913
- detail?: string | undefined;
914
- instance?: string | undefined;
915
- code?: string | undefined;
916
- errors?: {
917
- path: string;
918
- message: string;
919
- summary?: string | undefined;
920
- }[] | undefined;
921
- };
922
- 401: {
923
- type: string;
924
- title: string;
925
- status: number;
926
- detail?: string | undefined;
927
- instance?: string | undefined;
928
- code?: string | undefined;
929
- errors?: {
930
- path: string;
931
- message: string;
932
- summary?: string | undefined;
933
- }[] | undefined;
934
- };
935
- };
936
- };
937
- };
938
- };
939
- };
940
- } & {
941
- "step-execution-results": {
942
- post: {
943
- body: {
944
- status: "succeeded" | "failed";
945
- stepExecutionId: string & {
946
- readonly __brand: "uuidv7";
947
- };
948
- attempt: number;
949
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
950
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
951
- };
952
- params: {};
953
- query: unknown;
954
- headers: unknown;
955
- response: {
956
- 422: {
957
- type: string;
958
- title: string;
959
- status: number;
960
- detail?: string | undefined;
961
- instance?: string | undefined;
962
- code?: string | undefined;
963
- errors?: {
964
- path: string;
965
- message: string;
966
- summary?: string | undefined;
967
- }[] | undefined;
968
- };
969
- 404: {
970
- type: string;
971
- title: string;
972
- status: number;
973
- detail?: string | undefined;
974
- instance?: string | undefined;
975
- code?: string | undefined;
976
- errors?: {
977
- path: string;
978
- message: string;
979
- summary?: string | undefined;
980
- }[] | undefined;
981
- };
982
- 409: {
983
- type: string;
984
- title: string;
985
- status: number;
986
- detail?: string | undefined;
987
- instance?: string | undefined;
988
- code?: string | undefined;
989
- errors?: {
990
- path: string;
991
- message: string;
992
- summary?: string | undefined;
993
- }[] | undefined;
994
- };
995
- 500: {
996
- type: string;
997
- title: string;
998
- status: number;
999
- detail?: string | undefined;
1000
- instance?: string | undefined;
1001
- code?: string | undefined;
1002
- errors?: {
1003
- path: string;
1004
- message: string;
1005
- summary?: string | undefined;
1006
- }[] | undefined;
1007
- };
1008
- 200: {
1009
- id: string & {
1010
- readonly __brand: "uuidv7";
1011
- };
1012
- stepExecutionId: string & {
1013
- readonly __brand: "uuidv7";
1014
- };
1015
- attempt: number;
1016
- status: "succeeded" | "failed";
1017
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1018
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1019
- signals: {
1020
- id: string & {
1021
- readonly __brand: "uuidv7";
1022
- };
1023
- stepExecutionResultId: string & {
1024
- readonly __brand: "uuidv7";
1025
- };
1026
- key: string;
1027
- type: "string" | "number" | "boolean" | "object" | "array";
1028
- source: "extracted" | "computed";
1029
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1030
- sourcePath: string | null;
1031
- computedFromSignalKeys: string[] | null;
1032
- createdAt: string;
1033
- }[];
1034
- createdAt: string;
1035
- };
1036
- 403: {
1037
- type: string;
1038
- title: string;
1039
- status: number;
1040
- detail?: string | undefined;
1041
- instance?: string | undefined;
1042
- code?: string | undefined;
1043
- errors?: {
1044
- path: string;
1045
- message: string;
1046
- summary?: string | undefined;
1047
- }[] | undefined;
1048
- };
1049
- 401: {
1050
- type: string;
1051
- title: string;
1052
- status: number;
1053
- detail?: string | undefined;
1054
- instance?: string | undefined;
1055
- code?: string | undefined;
1056
- errors?: {
1057
- path: string;
1058
- message: string;
1059
- summary?: string | undefined;
1060
- }[] | undefined;
1061
- };
1062
- };
1063
- };
1064
- };
1065
- } & {
1066
- "step-execution-results": {
1067
- ":stepExecutionResultId": {
1068
- signals: {
1069
- extract: {
1070
- post: {
1071
- body: unknown;
1072
- params: {
1073
- stepExecutionResultId: string & {
1074
- readonly __brand: "uuidv7";
1075
- };
1076
- };
1077
- query: unknown;
1078
- headers: unknown;
1079
- response: {
1080
- 422: {
1081
- type: string;
1082
- title: string;
1083
- status: number;
1084
- detail?: string | undefined;
1085
- instance?: string | undefined;
1086
- code?: string | undefined;
1087
- errors?: {
1088
- path: string;
1089
- message: string;
1090
- summary?: string | undefined;
1091
- }[] | undefined;
1092
- };
1093
- 404: {
1094
- type: string;
1095
- title: string;
1096
- status: number;
1097
- detail?: string | undefined;
1098
- instance?: string | undefined;
1099
- code?: string | undefined;
1100
- errors?: {
1101
- path: string;
1102
- message: string;
1103
- summary?: string | undefined;
1104
- }[] | undefined;
1105
- };
1106
- 500: {
1107
- type: string;
1108
- title: string;
1109
- status: number;
1110
- detail?: string | undefined;
1111
- instance?: string | undefined;
1112
- code?: string | undefined;
1113
- errors?: {
1114
- path: string;
1115
- message: string;
1116
- summary?: string | undefined;
1117
- }[] | undefined;
1118
- };
1119
- 200: {
1120
- id: string & {
1121
- readonly __brand: "uuidv7";
1122
- };
1123
- stepExecutionResultId: string & {
1124
- readonly __brand: "uuidv7";
1125
- };
1126
- key: string;
1127
- type: "string" | "number" | "boolean" | "object" | "array";
1128
- source: "extracted" | "computed";
1129
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1130
- sourcePath: string | null;
1131
- computedFromSignalKeys: string[] | null;
1132
- createdAt: string;
1133
- }[];
1134
- 403: {
1135
- type: string;
1136
- title: string;
1137
- status: number;
1138
- detail?: string | undefined;
1139
- instance?: string | undefined;
1140
- code?: string | undefined;
1141
- errors?: {
1142
- path: string;
1143
- message: string;
1144
- summary?: string | undefined;
1145
- }[] | undefined;
1146
- };
1147
- 401: {
1148
- type: string;
1149
- title: string;
1150
- status: number;
1151
- detail?: string | undefined;
1152
- instance?: string | undefined;
1153
- code?: string | undefined;
1154
- errors?: {
1155
- path: string;
1156
- message: string;
1157
- summary?: string | undefined;
1158
- }[] | undefined;
1159
- };
1160
- };
1161
- };
1162
- };
1163
- };
1164
- };
1165
- };
1166
- } & {
1167
- "step-executions": {
1168
- ":stepExecutionId": {
1169
- get: {
1170
- body: unknown;
1171
- params: {
1172
- stepExecutionId: string & {
1173
- readonly __brand: "uuidv7";
1174
- };
1175
- };
1176
- query: unknown;
1177
- headers: unknown;
1178
- response: {
1179
- 422: {
1180
- type: string;
1181
- title: string;
1182
- status: number;
1183
- detail?: string | undefined;
1184
- instance?: string | undefined;
1185
- code?: string | undefined;
1186
- errors?: {
1187
- path: string;
1188
- message: string;
1189
- summary?: string | undefined;
1190
- }[] | undefined;
1191
- };
1192
- 404: {
1193
- type: string;
1194
- title: string;
1195
- status: number;
1196
- detail?: string | undefined;
1197
- instance?: string | undefined;
1198
- code?: string | undefined;
1199
- errors?: {
1200
- path: string;
1201
- message: string;
1202
- summary?: string | undefined;
1203
- }[] | undefined;
1204
- };
1205
- 500: {
1206
- type: string;
1207
- title: string;
1208
- status: number;
1209
- detail?: string | undefined;
1210
- instance?: string | undefined;
1211
- code?: string | undefined;
1212
- errors?: {
1213
- path: string;
1214
- message: string;
1215
- summary?: string | undefined;
1216
- }[] | undefined;
1217
- };
1218
- 200: {
1219
- id: string & {
1220
- readonly __brand: "uuidv7";
1221
- };
1222
- projectId: string & {
1223
- readonly __brand: "uuidv7";
1224
- };
1225
- stepDefinitionId: string & {
1226
- readonly __brand: "uuidv7";
1227
- };
1228
- stepDefinitionVersion: number;
1229
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
1230
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1231
- claimedBy: string | null;
1232
- claimedAt: string | null;
1233
- lastHeartbeatAt: string | null;
1234
- leaseExpiresAt: string | null;
1235
- executionTimeoutSeconds: number | null;
1236
- executionDeadlineAt: string | null;
1237
- startedAt: string | null;
1238
- completedAt: string | null;
1239
- results: {
1240
- id: string & {
1241
- readonly __brand: "uuidv7";
1242
- };
1243
- stepExecutionId: string & {
1244
- readonly __brand: "uuidv7";
1245
- };
1246
- attempt: number;
1247
- status: "succeeded" | "failed";
1248
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1249
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1250
- signals: {
1251
- id: string & {
1252
- readonly __brand: "uuidv7";
1253
- };
1254
- stepExecutionResultId: string & {
1255
- readonly __brand: "uuidv7";
1256
- };
1257
- key: string;
1258
- type: "string" | "number" | "boolean" | "object" | "array";
1259
- source: "extracted" | "computed";
1260
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1261
- sourcePath: string | null;
1262
- computedFromSignalKeys: string[] | null;
1263
- createdAt: string;
1264
- }[];
1265
- createdAt: string;
1266
- }[];
1267
- createdAt: string;
1268
- updatedAt: string;
1269
- };
1270
- 403: {
1271
- type: string;
1272
- title: string;
1273
- status: number;
1274
- detail?: string | undefined;
1275
- instance?: string | undefined;
1276
- code?: string | undefined;
1277
- errors?: {
1278
- path: string;
1279
- message: string;
1280
- summary?: string | undefined;
1281
- }[] | undefined;
1282
- };
1283
- 401: {
1284
- type: string;
1285
- title: string;
1286
- status: number;
1287
- detail?: string | undefined;
1288
- instance?: string | undefined;
1289
- code?: string | undefined;
1290
- errors?: {
1291
- path: string;
1292
- message: string;
1293
- summary?: string | undefined;
1294
- }[] | undefined;
1295
- };
1296
- };
1297
- };
1298
- };
1299
- };
1300
- } & {
1301
- "step-executions": {
1302
- get: {
1303
- body: unknown;
1304
- params: {};
1305
- query: {
1306
- projectId: string & {
1307
- readonly __brand: "uuidv7";
1308
- };
1309
- };
1310
- headers: unknown;
1311
- response: {
1312
- 422: {
1313
- type: string;
1314
- title: string;
1315
- status: number;
1316
- detail?: string | undefined;
1317
- instance?: string | undefined;
1318
- code?: string | undefined;
1319
- errors?: {
1320
- path: string;
1321
- message: string;
1322
- summary?: string | undefined;
1323
- }[] | undefined;
1324
- };
1325
- 500: {
1326
- type: string;
1327
- title: string;
1328
- status: number;
1329
- detail?: string | undefined;
1330
- instance?: string | undefined;
1331
- code?: string | undefined;
1332
- errors?: {
1333
- path: string;
1334
- message: string;
1335
- summary?: string | undefined;
1336
- }[] | undefined;
1337
- };
1338
- 200: {
1339
- id: string & {
1340
- readonly __brand: "uuidv7";
1341
- };
1342
- projectId: string & {
1343
- readonly __brand: "uuidv7";
1344
- };
1345
- stepDefinitionId: string & {
1346
- readonly __brand: "uuidv7";
1347
- };
1348
- stepDefinitionVersion: number;
1349
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
1350
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1351
- claimedBy: string | null;
1352
- claimedAt: string | null;
1353
- lastHeartbeatAt: string | null;
1354
- leaseExpiresAt: string | null;
1355
- executionTimeoutSeconds: number | null;
1356
- executionDeadlineAt: string | null;
1357
- startedAt: string | null;
1358
- completedAt: string | null;
1359
- results: {
1360
- id: string & {
1361
- readonly __brand: "uuidv7";
1362
- };
1363
- stepExecutionId: string & {
1364
- readonly __brand: "uuidv7";
1365
- };
1366
- attempt: number;
1367
- status: "succeeded" | "failed";
1368
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1369
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1370
- signals: {
1371
- id: string & {
1372
- readonly __brand: "uuidv7";
1373
- };
1374
- stepExecutionResultId: string & {
1375
- readonly __brand: "uuidv7";
1376
- };
1377
- key: string;
1378
- type: "string" | "number" | "boolean" | "object" | "array";
1379
- source: "extracted" | "computed";
1380
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
1381
- sourcePath: string | null;
1382
- computedFromSignalKeys: string[] | null;
1383
- createdAt: string;
1384
- }[];
1385
- createdAt: string;
1386
- }[];
1387
- createdAt: string;
1388
- updatedAt: string;
1389
- }[];
1390
- 403: {
1391
- type: string;
1392
- title: string;
1393
- status: number;
1394
- detail?: string | undefined;
1395
- instance?: string | undefined;
1396
- code?: string | undefined;
1397
- errors?: {
1398
- path: string;
1399
- message: string;
1400
- summary?: string | undefined;
1401
- }[] | undefined;
1402
- };
1403
- 401: {
1404
- type: string;
1405
- title: string;
1406
- status: number;
1407
- detail?: string | undefined;
1408
- instance?: string | undefined;
1409
- code?: string | undefined;
1410
- errors?: {
1411
- path: string;
1412
- message: string;
1413
- summary?: string | undefined;
1414
- }[] | undefined;
1415
- };
1416
- };
1417
- };
1418
- };
1419
- }, {
1420
- derive: {};
1421
- resolve: {};
1422
- schema: {};
1423
- standaloneSchema: {};
1424
- response: {};
1425
- }, {
1426
- derive: {};
1427
- resolve: {};
1428
- schema: {};
1429
- standaloneSchema: {};
1430
- response: {};
1431
- } & {
1432
- derive: {
1433
- readonly auth: {
1434
- readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
1435
- readonly user: {
1436
- id: string;
1437
- createdAt: Date;
1438
- updatedAt: Date;
1439
- email: string;
1440
- emailVerified: boolean;
1441
- name: string;
1442
- image?: string | null | undefined | undefined;
1443
- };
1444
- readonly session: {
1445
- id: string;
1446
- createdAt: Date;
1447
- updatedAt: Date;
1448
- userId: string;
1449
- expiresAt: Date;
1450
- token: string;
1451
- ipAddress?: string | null | undefined | undefined;
1452
- userAgent?: string | null | undefined | undefined;
1453
- };
1454
- readonly userAuthz: import("@boboddy/core/access/authorization/application/user-authorization-service").UserAuthorizationService;
1455
- };
1456
- };
1457
- resolve: {};
1458
- schema: {};
1459
- standaloneSchema: {};
1460
- response: import("elysia").ExtractErrorFromHandle<{
1461
- readonly auth: {
1462
- readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
1463
- readonly user: {
1464
- id: string;
1465
- createdAt: Date;
1466
- updatedAt: Date;
1467
- email: string;
1468
- emailVerified: boolean;
1469
- name: string;
1470
- image?: string | null | undefined | undefined;
1471
- };
1472
- readonly session: {
1473
- id: string;
1474
- createdAt: Date;
1475
- updatedAt: Date;
1476
- userId: string;
1477
- expiresAt: Date;
1478
- token: string;
1479
- ipAddress?: string | null | undefined | undefined;
1480
- userAgent?: string | null | undefined | undefined;
1481
- };
1482
- readonly userAuthz: import("@boboddy/core/access/authorization/application/user-authorization-service").UserAuthorizationService;
1483
- };
1484
- }>;
1485
- }>;