@boboddy/sdk 0.0.12-alpha → 0.0.16-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 (262) hide show
  1. package/dist/boboddy-config-parser.d.ts +34 -0
  2. package/dist/boboddy-config-parser.js +510 -0
  3. package/dist/client.d.ts +4 -0
  4. package/dist/client.js +1419 -0
  5. package/dist/{packages/sdks/js/src/define-step.d.ts → define-step.d.ts} +21 -1
  6. package/dist/define-step.js +12014 -0
  7. package/dist/generated/client/client.gen.d.ts +2 -0
  8. package/dist/generated/client/index.d.ts +8 -0
  9. package/dist/generated/client/types.gen.d.ts +117 -0
  10. package/dist/generated/client/utils.gen.d.ts +33 -0
  11. package/dist/generated/client.gen.d.ts +12 -0
  12. package/dist/generated/core/auth.gen.d.ts +18 -0
  13. package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
  14. package/dist/generated/core/params.gen.d.ts +43 -0
  15. package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
  16. package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
  17. package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
  18. package/dist/generated/core/types.gen.d.ts +78 -0
  19. package/dist/generated/core/utils.gen.d.ts +19 -0
  20. package/dist/generated/index.d.ts +2 -0
  21. package/dist/generated/sdk.gen.d.ts +162 -0
  22. package/dist/generated/types.gen.d.ts +9193 -0
  23. package/dist/index.d.ts +5 -0
  24. package/dist/index.js +16394 -47
  25. package/dist/jsonc.d.ts +3 -0
  26. package/dist/jsonc.js +133 -0
  27. package/dist/opencode-mcp.js +14326 -0
  28. package/dist/step-definitions-client.d.ts +197 -0
  29. package/dist/step-definitions-client.js +1372 -0
  30. package/dist/step-execution-plane-client.d.ts +190 -0
  31. package/package.json +30 -17
  32. package/dist/apps/api/src/app.d.ts +0 -19731
  33. package/dist/apps/api/src/contracts.d.ts +0 -20
  34. package/dist/apps/api/src/http/error-handler.d.ts +0 -23
  35. package/dist/apps/api/src/http/routes/auth.d.ts +0 -57
  36. package/dist/apps/api/src/http/routes/authenticated.d.ts +0 -79
  37. package/dist/apps/api/src/http/routes/feedback-requests.d.ts +0 -281
  38. package/dist/apps/api/src/http/routes/linear-pipeline-definitions.d.ts +0 -1563
  39. package/dist/apps/api/src/http/routes/linear-pipeline-executions.d.ts +0 -2540
  40. package/dist/apps/api/src/http/routes/project-context-entries.d.ts +0 -387
  41. package/dist/apps/api/src/http/routes/projects.d.ts +0 -1906
  42. package/dist/apps/api/src/http/routes/step-definition-templates.d.ts +0 -479
  43. package/dist/apps/api/src/http/routes/step-definitions.d.ts +0 -917
  44. package/dist/apps/api/src/http/routes/step-execution-route-helpers.d.ts +0 -64
  45. package/dist/apps/api/src/http/routes/step-executions.d.ts +0 -1485
  46. package/dist/apps/api/src/http/routes/work-items.d.ts +0 -966
  47. package/dist/apps/api/src/problem-details.d.ts +0 -9
  48. package/dist/packages/core/src/access/authorization/application/user-authorization-service.d.ts +0 -12
  49. package/dist/packages/core/src/access/authorization/infra/project-authorization-service.d.ts +0 -9
  50. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/ai-container-launcher.d.ts +0 -21
  51. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/create-project-runtime-session.d.ts +0 -15
  52. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/devcontainer-launcher.d.ts +0 -21
  53. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/get-project-runtime-session.d.ts +0 -13
  54. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/git-clone-service.d.ts +0 -11
  55. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/list-project-runtime-sessions.d.ts +0 -13
  56. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-contract-mapper.d.ts +0 -3
  57. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-execution-target.d.ts +0 -3
  58. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-network-metadata.d.ts +0 -15
  59. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-repo.d.ts +0 -10
  60. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/runtime-session-network-manager.d.ts +0 -14
  61. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/stop-project-runtime-session.d.ts +0 -31
  62. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/workspace-manager.d.ts +0 -10
  63. package/dist/packages/core/src/agent-sessions/project-runtime-session/contracts/project-runtime-session-contracts.d.ts +0 -62
  64. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity-helpers.d.ts +0 -12
  65. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity.d.ts +0 -99
  66. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-execution-target.d.ts +0 -16
  67. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/devcontainer-cli-launcher.d.ts +0 -6
  68. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/docker-ai-container-launcher.d.ts +0 -8
  69. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/drizzle-project-runtime-session-repo.d.ts +0 -11
  70. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/git-cli-clone-service.d.ts +0 -4
  71. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-jsonc.d.ts +0 -4
  72. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager-support.d.ts +0 -42
  73. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager.d.ts +0 -24
  74. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-working-directory.d.ts +0 -5
  75. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-docker-runtime-session-network-manager.d.ts +0 -17
  76. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-workspace-manager.d.ts +0 -11
  77. package/dist/packages/core/src/agent-sessions/runtime-command/application/complete-claimed-runtime-command.d.ts +0 -13
  78. package/dist/packages/core/src/agent-sessions/runtime-command/application/create-runtime-command.d.ts +0 -19
  79. package/dist/packages/core/src/agent-sessions/runtime-command/application/fail-claimed-runtime-command.d.ts +0 -13
  80. package/dist/packages/core/src/agent-sessions/runtime-command/application/interrupt-claimed-runtime-command.d.ts +0 -13
  81. package/dist/packages/core/src/agent-sessions/runtime-command/application/run-runtime-command-locally.d.ts +0 -27
  82. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-claim-helpers.d.ts +0 -1
  83. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-contract-mapper.d.ts +0 -3
  84. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-output-summary.d.ts +0 -4
  85. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-repo.d.ts +0 -20
  86. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-runner.d.ts +0 -25
  87. package/dist/packages/core/src/agent-sessions/runtime-command/contracts/runtime-command-contracts.d.ts +0 -194
  88. package/dist/packages/core/src/agent-sessions/runtime-command/domain/runtime-command-entity.d.ts +0 -111
  89. package/dist/packages/core/src/agent-sessions/runtime-command/infra/drizzle-runtime-command-repo.d.ts +0 -20
  90. package/dist/packages/core/src/agent-sessions/runtime-command/infra/local-runtime-command-runner.d.ts +0 -25
  91. package/dist/packages/core/src/agent-sessions/runtime-environment/domain/runtime-environment.d.ts +0 -12
  92. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-publisher.d.ts +0 -24
  93. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-repo.d.ts +0 -17
  94. package/dist/packages/core/src/agent-sessions/runtime-operation-event/domain/runtime-operation-event.d.ts +0 -35
  95. package/dist/packages/core/src/agent-sessions/runtime-operation-event/infra/file-runtime-operation-event-repo.d.ts +0 -25
  96. package/dist/packages/core/src/agent-sessions/runtime-service/application/create-runtime-service.d.ts +0 -19
  97. package/dist/packages/core/src/agent-sessions/runtime-service/application/get-runtime-service.d.ts +0 -13
  98. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-contract-mapper.d.ts +0 -3
  99. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-output-summary.d.ts +0 -10
  100. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-repo.d.ts +0 -9
  101. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-runner.d.ts +0 -23
  102. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-session-service-exposure-provider.d.ts +0 -19
  103. package/dist/packages/core/src/agent-sessions/runtime-service/application/start-runtime-service-locally.d.ts +0 -23
  104. package/dist/packages/core/src/agent-sessions/runtime-service/application/stop-runtime-service.d.ts +0 -34
  105. package/dist/packages/core/src/agent-sessions/runtime-service/contracts/runtime-service-contracts.d.ts +0 -140
  106. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-access-point.d.ts +0 -12
  107. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-entity.d.ts +0 -76
  108. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-healthcheck.d.ts +0 -20
  109. package/dist/packages/core/src/agent-sessions/runtime-service/infra/drizzle-runtime-service-repo.d.ts +0 -9
  110. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-readiness-probe.d.ts +0 -42
  111. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-runner.d.ts +0 -32
  112. package/dist/packages/core/src/common/contracts/json.d.ts +0 -9
  113. package/dist/packages/core/src/common/contracts/uuid-v7.d.ts +0 -8
  114. package/dist/packages/core/src/lib/db/db-executor.d.ts +0 -4
  115. package/dist/packages/core/src/lib/db/index.d.ts +0 -7
  116. package/dist/packages/core/src/lib/db/schema.d.ts +0 -4950
  117. package/dist/packages/core/src/lib/di.d.ts +0 -113
  118. package/dist/packages/core/src/lib/domain-events/domain-event.d.ts +0 -12
  119. package/dist/packages/core/src/lib/domain-events/in-memory-domain-event-dispatcher.d.ts +0 -7
  120. package/dist/packages/core/src/lib/errors.d.ts +0 -37
  121. package/dist/packages/core/src/lib/logger.d.ts +0 -7
  122. package/dist/packages/core/src/lib/result.d.ts +0 -15
  123. package/dist/packages/core/src/lib/time-provider.d.ts +0 -5
  124. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/add-linear-pipeline-step-definition.d.ts +0 -13
  125. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/archive-linear-pipeline-definition.d.ts +0 -13
  126. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/create-linear-pipeline-definition.d.ts +0 -11
  127. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/get-linear-pipeline-definition.d.ts +0 -11
  128. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-contract-mapper.d.ts +0 -3
  129. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-repo.d.ts +0 -9
  130. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/list-linear-pipeline-definitions.d.ts +0 -9
  131. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/remove-linear-pipeline-step-definition.d.ts +0 -13
  132. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/set-linear-pipeline-step-advancement-policy-definition.d.ts +0 -13
  133. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-definition.d.ts +0 -13
  134. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-step-definition.d.ts +0 -13
  135. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/contracts/linear-pipeline-definition-contracts.d.ts +0 -357
  136. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/domain/linear-pipeline-definition-entity.d.ts +0 -36
  137. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-advancement-policy-definition-entity.d.ts +0 -42
  138. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-definition-entity.d.ts +0 -42
  139. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/infra/drizzle-linear-pipeline-definition-repo.d.ts +0 -11
  140. package/dist/packages/core/src/pipeline-definitions/step-definition/application/archive-step-definition.d.ts +0 -13
  141. package/dist/packages/core/src/pipeline-definitions/step-definition/application/create-step-definition.d.ts +0 -11
  142. package/dist/packages/core/src/pipeline-definitions/step-definition/application/get-step-definition.d.ts +0 -11
  143. package/dist/packages/core/src/pipeline-definitions/step-definition/application/list-step-definitions.d.ts +0 -9
  144. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-contract-mapper.d.ts +0 -3
  145. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-repo.d.ts +0 -9
  146. package/dist/packages/core/src/pipeline-definitions/step-definition/application/update-step-definition.d.ts +0 -13
  147. package/dist/packages/core/src/pipeline-definitions/step-definition/contracts/step-definition-contracts.d.ts +0 -281
  148. package/dist/packages/core/src/pipeline-definitions/step-definition/domain/step-definition-entity.d.ts +0 -53
  149. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/computed-signal-definition-entity.d.ts +0 -31
  150. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/signal-extractor-definition-entity.d.ts +0 -30
  151. package/dist/packages/core/src/pipeline-definitions/step-definition/infra/drizzle-step-definition-repo.d.ts +0 -11
  152. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/get-step-definition-template.d.ts +0 -8
  153. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/instantiate-step-definition-template.d.ts +0 -15
  154. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/list-step-definition-templates.d.ts +0 -5
  155. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/step-definition-template-repo.d.ts +0 -7
  156. package/dist/packages/core/src/pipeline-definitions/step-definition-template/contracts/step-definition-template-contracts.d.ts +0 -98
  157. package/dist/packages/core/src/pipeline-definitions/step-definition-template/domain/step-definition-template-entity.d.ts +0 -37
  158. package/dist/packages/core/src/pipeline-definitions/step-definition-template/infra/drizzle-step-definition-template-repo.d.ts +0 -9
  159. package/dist/packages/core/src/pipeline-executions/feedback-request/application/create-feedback-requests-on-step-signal-created.d.ts +0 -9
  160. package/dist/packages/core/src/pipeline-executions/feedback-request/application/decline-feedback-request.d.ts +0 -13
  161. package/dist/packages/core/src/pipeline-executions/feedback-request/application/feedback-request-repo.d.ts +0 -8
  162. package/dist/packages/core/src/pipeline-executions/feedback-request/application/list-feedback-requests-by-step-signal.d.ts +0 -14
  163. package/dist/packages/core/src/pipeline-executions/feedback-request/contracts/feedback-request-contracts.d.ts +0 -21
  164. package/dist/packages/core/src/pipeline-executions/feedback-request/domain/feedback-request-entity.d.ts +0 -29
  165. package/dist/packages/core/src/pipeline-executions/feedback-request/infra/drizzle-feedback-request-repo.d.ts +0 -10
  166. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/accept-linear-pipeline-step-run.d.ts +0 -19
  167. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/apply-linear-pipeline-step-result-and-advance.d.ts +0 -21
  168. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/cancel-linear-pipeline-execution.d.ts +0 -15
  169. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-execution.d.ts +0 -15
  170. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-step-run-attempt.d.ts +0 -17
  171. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/get-linear-pipeline-execution.d.ts +0 -15
  172. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-contract-mapper.d.ts +0 -3
  173. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-helpers.d.ts +0 -52
  174. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-repo.d.ts +0 -15
  175. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-step-input-resolution.d.ts +0 -5
  176. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions-by-definition.d.ts +0 -15
  177. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions.d.ts +0 -13
  178. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/mark-linear-pipeline-step-run-attempt-running.d.ts +0 -15
  179. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/project-linear-pipeline-executions.d.ts +0 -10
  180. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/queue-first-linear-pipeline-step-run.d.ts +0 -19
  181. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/retrigger-linear-pipeline-step-run.d.ts +0 -17
  182. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/start-linear-pipeline-execution.d.ts +0 -19
  183. package/dist/packages/core/src/pipeline-executions/pipeline-execution/contracts/linear-pipeline-execution-contracts.d.ts +0 -330
  184. package/dist/packages/core/src/pipeline-executions/pipeline-execution/domain/linear-pipeline-execution-entity.d.ts +0 -43
  185. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-execution-event-entity.d.ts +0 -25
  186. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-evaluation-entity.d.ts +0 -45
  187. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-attempt-entity.d.ts +0 -24
  188. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-entity.d.ts +0 -63
  189. package/dist/packages/core/src/pipeline-executions/pipeline-execution/infra/drizzle-linear-pipeline-execution-repo.d.ts +0 -19
  190. package/dist/packages/core/src/pipeline-executions/step-execution/application/add-step-execution-result.d.ts +0 -13
  191. package/dist/packages/core/src/pipeline-executions/step-execution/application/claim-step-executions.d.ts +0 -19
  192. package/dist/packages/core/src/pipeline-executions/step-execution/application/complete-claimed-step-execution.d.ts +0 -39
  193. package/dist/packages/core/src/pipeline-executions/step-execution/application/create-step-execution.d.ts +0 -11
  194. package/dist/packages/core/src/pipeline-executions/step-execution/application/extract-step-execution-signals.d.ts +0 -17
  195. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution-worker-context.d.ts +0 -17
  196. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution.d.ts +0 -13
  197. package/dist/packages/core/src/pipeline-executions/step-execution/application/heartbeat-step-execution-claim.d.ts +0 -21
  198. package/dist/packages/core/src/pipeline-executions/step-execution/application/list-step-executions-by-project.d.ts +0 -11
  199. package/dist/packages/core/src/pipeline-executions/step-execution/application/load-status-adjusted-step-executions.d.ts +0 -31
  200. package/dist/packages/core/src/pipeline-executions/step-execution/application/mark-step-execution-running.d.ts +0 -13
  201. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-claim-helpers.d.ts +0 -13
  202. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-contract-mapper.d.ts +0 -7
  203. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-repo.d.ts +0 -29
  204. package/dist/packages/core/src/pipeline-executions/step-execution/contracts/step-execution-contracts.d.ts +0 -325
  205. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-execution-entity.d.ts +0 -61
  206. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-signal-created.domain-event.d.ts +0 -18
  207. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-execution-result-entity.d.ts +0 -32
  208. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-signal-entity.d.ts +0 -36
  209. package/dist/packages/core/src/pipeline-executions/step-execution/infra/drizzle-step-execution-repo.d.ts +0 -31
  210. package/dist/packages/core/src/projects/project/application/create-project.d.ts +0 -13
  211. package/dist/packages/core/src/projects/project/application/default-pipelines/default-create-failing-test-step-definition.d.ts +0 -4
  212. package/dist/packages/core/src/projects/project/application/default-pipelines/default-description-quality-step-definition.d.ts +0 -4
  213. package/dist/packages/core/src/projects/project/application/default-pipelines/default-fix-failing-test-step-definition.d.ts +0 -4
  214. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-conventions.d.ts +0 -9
  215. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-definitions.d.ts +0 -7
  216. package/dist/packages/core/src/projects/project/application/default-pipelines/default-step-definitions.d.ts +0 -8
  217. package/dist/packages/core/src/projects/project/application/default-pipelines/default-web-repro-playwright-step-definition.d.ts +0 -4
  218. package/dist/packages/core/src/projects/project/application/get-project.d.ts +0 -11
  219. package/dist/packages/core/src/projects/project/application/list-projects.d.ts +0 -9
  220. package/dist/packages/core/src/projects/project/application/project-authorization.d.ts +0 -4
  221. package/dist/packages/core/src/projects/project/application/project-contract-mapper.d.ts +0 -3
  222. package/dist/packages/core/src/projects/project/application/project-repo.d.ts +0 -9
  223. package/dist/packages/core/src/projects/project/application/seed-default-pipelines-on-project-created.d.ts +0 -12
  224. package/dist/packages/core/src/projects/project/application/update-project-membership.d.ts +0 -13
  225. package/dist/packages/core/src/projects/project/contracts/project-contracts.d.ts +0 -37
  226. package/dist/packages/core/src/projects/project/domain/project-created.domain-event.d.ts +0 -13
  227. package/dist/packages/core/src/projects/project/domain/project-entity.d.ts +0 -31
  228. package/dist/packages/core/src/projects/project/domain/project-git-url.d.ts +0 -7
  229. package/dist/packages/core/src/projects/project/domain/project-membership.d.ts +0 -21
  230. package/dist/packages/core/src/projects/project/domain/project-permission.d.ts +0 -7
  231. package/dist/packages/core/src/projects/project/infra/drizzle-project-repo.d.ts +0 -11
  232. package/dist/packages/core/src/projects/project-context/application/create-project-context-entry.d.ts +0 -11
  233. package/dist/packages/core/src/projects/project-context/application/delete-project-context-entry.d.ts +0 -11
  234. package/dist/packages/core/src/projects/project-context/application/list-project-context-entries.d.ts +0 -12
  235. package/dist/packages/core/src/projects/project-context/application/project-context-entry-repo.d.ts +0 -8
  236. package/dist/packages/core/src/projects/project-context/contracts/project-context-entry-contracts.d.ts +0 -46
  237. package/dist/packages/core/src/projects/project-context/domain/project-context-entry-entity.d.ts +0 -27
  238. package/dist/packages/core/src/projects/project-context/infra/drizzle-project-context-entry-repo.d.ts +0 -10
  239. package/dist/packages/core/src/projects/project-opencode-config/application/project-opencode-runtime-metadata.d.ts +0 -17
  240. package/dist/packages/core/src/work-items/work-item/application/create-work-item.d.ts +0 -16
  241. package/dist/packages/core/src/work-items/work-item/application/delete-work-items.d.ts +0 -14
  242. package/dist/packages/core/src/work-items/work-item/application/get-work-items.d.ts +0 -14
  243. package/dist/packages/core/src/work-items/work-item/application/list-work-items-by-project.d.ts +0 -13
  244. package/dist/packages/core/src/work-items/work-item/application/upsert-work-item.d.ts +0 -14
  245. package/dist/packages/core/src/work-items/work-item/application/work-item-contract-mapper.d.ts +0 -4
  246. package/dist/packages/core/src/work-items/work-item/application/work-item-repo.d.ts +0 -27
  247. package/dist/packages/core/src/work-items/work-item/contracts/work-item-contracts.d.ts +0 -119
  248. package/dist/packages/core/src/work-items/work-item/domain/date-utils.d.ts +0 -1
  249. package/dist/packages/core/src/work-items/work-item/domain/work-item-entity.d.ts +0 -58
  250. package/dist/packages/core/src/work-items/work-item/domain/work-item-field-value.d.ts +0 -3
  251. package/dist/packages/core/src/work-items/work-item/domain/work-item-id.d.ts +0 -6
  252. package/dist/packages/core/src/work-items/work-item/domain/work-item-platform.d.ts +0 -2
  253. package/dist/packages/core/src/work-items/work-item/domain/work-item-projection-fingerprint-entity.d.ts +0 -18
  254. package/dist/packages/core/src/work-items/work-item/infra/drizzle-work-item-repo.d.ts +0 -25
  255. package/dist/packages/sdks/js/script/build.d.ts +0 -1
  256. package/dist/packages/sdks/js/src/client.d.ts +0 -2
  257. package/dist/packages/sdks/js/src/index.d.ts +0 -1
  258. package/dist/packages/sdks/js/src/step-definitions-client.d.ts +0 -202
  259. package/dist/packages/sdks/js/src/step-execution-plane-client.d.ts +0 -370
  260. package/dist/packages/sdks/js/src/treaty.d.ts +0 -13
  261. package/dist/packages/sdks/js/test/define-step.test.d.ts +0 -1
  262. /package/dist/{packages/core/src/common/contracts/opencode-mcp.d.ts → opencode-mcp.d.ts} +0 -0
@@ -1,370 +0,0 @@
1
- import type { App } from "@boboddy/api/app";
2
- import { createBoboddyTreaty } from "./treaty";
3
- type JsonValue = string | number | boolean | null | {
4
- [key: string]: JsonValue;
5
- } | JsonValue[];
6
- type RequestOptions = {
7
- headers?: Record<string, unknown> | undefined;
8
- };
9
- export declare function createStepExecutionPlaneClient(baseUrlOrApp: string | App): ReturnType<typeof buildStepExecutionPlaneClient>;
10
- declare const buildStepExecutionPlaneClient: (apiClient: ReturnType<typeof createBoboddyTreaty>) => {
11
- claimStepExecutions: (body: {
12
- projectId: string;
13
- workerId: string;
14
- batchSize: number;
15
- leaseDurationSeconds: number;
16
- workItemId?: string | undefined;
17
- }, options?: RequestOptions) => Promise<{
18
- stepExecution: {
19
- id: string & {
20
- readonly __brand: "uuidv7";
21
- };
22
- projectId: string & {
23
- readonly __brand: "uuidv7";
24
- };
25
- stepDefinitionId: string & {
26
- readonly __brand: "uuidv7";
27
- };
28
- stepDefinitionVersion: number;
29
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
30
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
31
- claimedBy: string | null;
32
- claimedAt: string | null;
33
- lastHeartbeatAt: string | null;
34
- leaseExpiresAt: string | null;
35
- executionTimeoutSeconds: number | null;
36
- executionDeadlineAt: string | null;
37
- startedAt: string | null;
38
- completedAt: string | null;
39
- results: {
40
- id: string & {
41
- readonly __brand: "uuidv7";
42
- };
43
- stepExecutionId: string & {
44
- readonly __brand: "uuidv7";
45
- };
46
- attempt: number;
47
- status: "succeeded" | "failed";
48
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
49
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
50
- signals: {
51
- id: string & {
52
- readonly __brand: "uuidv7";
53
- };
54
- stepExecutionResultId: string & {
55
- readonly __brand: "uuidv7";
56
- };
57
- key: string;
58
- type: "string" | "number" | "boolean" | "object" | "array";
59
- source: "extracted" | "computed";
60
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
61
- sourcePath: string | null;
62
- computedFromSignalKeys: string[] | null;
63
- createdAt: string;
64
- }[];
65
- createdAt: string;
66
- }[];
67
- createdAt: string;
68
- updatedAt: string;
69
- };
70
- claimToken: string;
71
- }[]>;
72
- heartbeatStepExecution: (stepExecutionId: string, body: {
73
- claimToken: string;
74
- leaseDurationSeconds: number;
75
- }, options?: RequestOptions) => Promise<{
76
- id: string & {
77
- readonly __brand: "uuidv7";
78
- };
79
- projectId: string & {
80
- readonly __brand: "uuidv7";
81
- };
82
- stepDefinitionId: string & {
83
- readonly __brand: "uuidv7";
84
- };
85
- stepDefinitionVersion: number;
86
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
87
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
88
- claimedBy: string | null;
89
- claimedAt: string | null;
90
- lastHeartbeatAt: string | null;
91
- leaseExpiresAt: string | null;
92
- executionTimeoutSeconds: number | null;
93
- executionDeadlineAt: string | null;
94
- startedAt: string | null;
95
- completedAt: string | null;
96
- results: {
97
- id: string & {
98
- readonly __brand: "uuidv7";
99
- };
100
- stepExecutionId: string & {
101
- readonly __brand: "uuidv7";
102
- };
103
- attempt: number;
104
- status: "succeeded" | "failed";
105
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
106
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
107
- signals: {
108
- id: string & {
109
- readonly __brand: "uuidv7";
110
- };
111
- stepExecutionResultId: string & {
112
- readonly __brand: "uuidv7";
113
- };
114
- key: string;
115
- type: "string" | "number" | "boolean" | "object" | "array";
116
- source: "extracted" | "computed";
117
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
118
- sourcePath: string | null;
119
- computedFromSignalKeys: string[] | null;
120
- createdAt: string;
121
- }[];
122
- createdAt: string;
123
- }[];
124
- createdAt: string;
125
- updatedAt: string;
126
- }>;
127
- getStepExecution: (stepExecutionId: string, options?: RequestOptions) => Promise<{
128
- id: string & {
129
- readonly __brand: "uuidv7";
130
- };
131
- projectId: string & {
132
- readonly __brand: "uuidv7";
133
- };
134
- stepDefinitionId: string & {
135
- readonly __brand: "uuidv7";
136
- };
137
- stepDefinitionVersion: number;
138
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
139
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
140
- claimedBy: string | null;
141
- claimedAt: string | null;
142
- lastHeartbeatAt: string | null;
143
- leaseExpiresAt: string | null;
144
- executionTimeoutSeconds: number | null;
145
- executionDeadlineAt: string | null;
146
- startedAt: string | null;
147
- completedAt: string | null;
148
- results: {
149
- id: string & {
150
- readonly __brand: "uuidv7";
151
- };
152
- stepExecutionId: string & {
153
- readonly __brand: "uuidv7";
154
- };
155
- attempt: number;
156
- status: "succeeded" | "failed";
157
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
158
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
159
- signals: {
160
- id: string & {
161
- readonly __brand: "uuidv7";
162
- };
163
- stepExecutionResultId: string & {
164
- readonly __brand: "uuidv7";
165
- };
166
- key: string;
167
- type: "string" | "number" | "boolean" | "object" | "array";
168
- source: "extracted" | "computed";
169
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
170
- sourcePath: string | null;
171
- computedFromSignalKeys: string[] | null;
172
- createdAt: string;
173
- }[];
174
- createdAt: string;
175
- }[];
176
- createdAt: string;
177
- updatedAt: string;
178
- }>;
179
- getStepExecutionWorkerContext: (stepExecutionId: string, body: {
180
- claimToken: string;
181
- }, options?: RequestOptions) => Promise<{
182
- projectId: string & {
183
- readonly __brand: "uuidv7";
184
- };
185
- gitUrl: string;
186
- requestedBranch: string | null;
187
- projectOpencodeConfig: {
188
- relativePath: string;
189
- present: boolean;
190
- commands: {
191
- name: string;
192
- description: string;
193
- run: string;
194
- cwd: string | null;
195
- }[];
196
- services: {
197
- name: string;
198
- description: string;
199
- run: string;
200
- cwd: string | null;
201
- dependsOn: string[];
202
- expose: {
203
- targetPort: number;
204
- protocol: "tcp" | "http";
205
- };
206
- healthcheck: {
207
- protocol: "tcp" | "http";
208
- path: string | null;
209
- expectedStatus: number | null;
210
- };
211
- }[];
212
- };
213
- stepExecution: {
214
- id: string & {
215
- readonly __brand: "uuidv7";
216
- };
217
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
218
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
219
- executionTimeoutSeconds: number | null;
220
- };
221
- stepDefinition: {
222
- id: string & {
223
- readonly __brand: "uuidv7";
224
- };
225
- key: string;
226
- name: string;
227
- prompt: string;
228
- resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
229
- opencodeMcpJson: Record<string, {
230
- type: "local";
231
- command: string[];
232
- environment?: Record<string, string> | undefined;
233
- enabled?: boolean | undefined;
234
- timeout?: number | undefined;
235
- } | {
236
- type: "remote";
237
- url: string;
238
- enabled?: boolean | undefined;
239
- headers?: Record<string, string> | undefined;
240
- oauth?: false | {
241
- clientId?: string | undefined;
242
- clientSecret?: string | undefined;
243
- scope?: string | undefined;
244
- redirectUri?: string | undefined;
245
- } | undefined;
246
- timeout?: number | undefined;
247
- } | {
248
- enabled: boolean;
249
- }> | null;
250
- };
251
- agentPrompt: {
252
- sessionTitle: string;
253
- promptText: string;
254
- };
255
- }>;
256
- completeStepExecution: (stepExecutionId: string, body: {
257
- claimToken: string;
258
- status: "succeeded" | "failed";
259
- resultJson: JsonValue;
260
- errorJson: JsonValue;
261
- }, options?: RequestOptions) => Promise<{
262
- id: string & {
263
- readonly __brand: "uuidv7";
264
- };
265
- projectId: string & {
266
- readonly __brand: "uuidv7";
267
- };
268
- stepDefinitionId: string & {
269
- readonly __brand: "uuidv7";
270
- };
271
- stepDefinitionVersion: number;
272
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
273
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
274
- claimedBy: string | null;
275
- claimedAt: string | null;
276
- lastHeartbeatAt: string | null;
277
- leaseExpiresAt: string | null;
278
- executionTimeoutSeconds: number | null;
279
- executionDeadlineAt: string | null;
280
- startedAt: string | null;
281
- completedAt: string | null;
282
- results: {
283
- id: string & {
284
- readonly __brand: "uuidv7";
285
- };
286
- stepExecutionId: string & {
287
- readonly __brand: "uuidv7";
288
- };
289
- attempt: number;
290
- status: "succeeded" | "failed";
291
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
292
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
293
- signals: {
294
- id: string & {
295
- readonly __brand: "uuidv7";
296
- };
297
- stepExecutionResultId: string & {
298
- readonly __brand: "uuidv7";
299
- };
300
- key: string;
301
- type: "string" | "number" | "boolean" | "object" | "array";
302
- source: "extracted" | "computed";
303
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
304
- sourcePath: string | null;
305
- computedFromSignalKeys: string[] | null;
306
- createdAt: string;
307
- }[];
308
- createdAt: string;
309
- }[];
310
- createdAt: string;
311
- updatedAt: string;
312
- }>;
313
- failStepExecution: (stepExecutionId: string, body: {
314
- claimToken: string;
315
- resultJson: JsonValue;
316
- errorJson: JsonValue;
317
- }, options?: RequestOptions) => Promise<{
318
- id: string & {
319
- readonly __brand: "uuidv7";
320
- };
321
- projectId: string & {
322
- readonly __brand: "uuidv7";
323
- };
324
- stepDefinitionId: string & {
325
- readonly __brand: "uuidv7";
326
- };
327
- stepDefinitionVersion: number;
328
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "skipped" | "timeout" | "abandoned";
329
- inputJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
330
- claimedBy: string | null;
331
- claimedAt: string | null;
332
- lastHeartbeatAt: string | null;
333
- leaseExpiresAt: string | null;
334
- executionTimeoutSeconds: number | null;
335
- executionDeadlineAt: string | null;
336
- startedAt: string | null;
337
- completedAt: string | null;
338
- results: {
339
- id: string & {
340
- readonly __brand: "uuidv7";
341
- };
342
- stepExecutionId: string & {
343
- readonly __brand: "uuidv7";
344
- };
345
- attempt: number;
346
- status: "succeeded" | "failed";
347
- resultJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
348
- errorJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
349
- signals: {
350
- id: string & {
351
- readonly __brand: "uuidv7";
352
- };
353
- stepExecutionResultId: string & {
354
- readonly __brand: "uuidv7";
355
- };
356
- key: string;
357
- type: "string" | "number" | "boolean" | "object" | "array";
358
- source: "extracted" | "computed";
359
- valueJson: import("@boboddy/core/common/contracts/json").AnyJsonValue;
360
- sourcePath: string | null;
361
- computedFromSignalKeys: string[] | null;
362
- createdAt: string;
363
- }[];
364
- createdAt: string;
365
- }[];
366
- createdAt: string;
367
- updatedAt: string;
368
- }>;
369
- };
370
- export {};
@@ -1,13 +0,0 @@
1
- import { treaty } from "@elysiajs/eden";
2
- import type { App } from "@boboddy/api/app";
3
- export declare function createBoboddyTreaty(baseUrlOrApp: string | App): ReturnType<typeof treaty<App>>;
4
- export type BoboddyTreaty = ReturnType<typeof createBoboddyTreaty>;
5
- type EdenResult<T> = {
6
- data: T | null | undefined;
7
- error: {
8
- value: unknown;
9
- } | null | undefined;
10
- };
11
- export declare const unwrapTreatyResponse: <T>(promise: Promise<EdenResult<T>>) => Promise<T>;
12
- export declare const createBoboddyApiClient: typeof createBoboddyTreaty;
13
- export {};
@@ -1 +0,0 @@
1
- export {};