@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,17 +0,0 @@
1
- import type { AnyJsonObject } from "@boboddy/core/common/contracts/json";
2
- export declare const PROJECT_OPENCODE_RUNTIME_METADATA_KEY = "projectOpencode";
3
- export type ProjectOpencodeRuntimeDefinitionKind = "command" | "service";
4
- export type ProjectOpencodeRuntimeMetadata = {
5
- definitionKind: ProjectOpencodeRuntimeDefinitionKind;
6
- definitionName: string;
7
- definitionDescription: string;
8
- cwd: string | null;
9
- };
10
- export declare const getProjectOpencodeRuntimeMetadata: (metadata: AnyJsonObject) => ProjectOpencodeRuntimeMetadata | null;
11
- export declare const setProjectOpencodeRuntimeMetadata: (input: {
12
- metadata: AnyJsonObject;
13
- definitionKind: ProjectOpencodeRuntimeDefinitionKind;
14
- definitionName: string;
15
- definitionDescription: string;
16
- cwd: string | null;
17
- }) => AnyJsonObject;
@@ -1,16 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import { ResourceConflictError } from "@boboddy/core/lib/errors";
3
- import { Result } from "@boboddy/core/lib/result";
4
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
5
- import { type WorkItemContract, type UpsertWorkItemInput, type UpsertWorkItemsInput } from "../contracts/work-item-contracts";
6
- import type { WorkItemRepo } from "./work-item-repo";
7
- import type { TimeProvider } from "@boboddy/core/lib/time-provider";
8
- type CreateWorkItemsDeps = {
9
- userAuthz: UserAuthorizationService;
10
- workItemRepo: WorkItemRepo;
11
- timeProvider: TimeProvider;
12
- dbExecutor?: DbExecutor | undefined;
13
- };
14
- export declare const createWorkItems: (input: UpsertWorkItemsInput, deps: CreateWorkItemsDeps) => Promise<Result<WorkItemContract[], ResourceConflictError>>;
15
- export declare const createWorkItem: (input: UpsertWorkItemInput, deps: CreateWorkItemsDeps) => Promise<Result<WorkItemContract, ResourceConflictError>>;
16
- export {};
@@ -1,14 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import { ResourceNotFoundError } from "@boboddy/core/lib/errors";
3
- import { Result } from "@boboddy/core/lib/result";
4
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
5
- import type { WorkItemRepo } from "./work-item-repo";
6
- import { type DeleteWorkItemInput, type DeleteWorkItemsInput } from "../contracts/work-item-contracts";
7
- type DeleteWorkItemsDeps = {
8
- userAuthz: UserAuthorizationService;
9
- workItemRepo: WorkItemRepo;
10
- dbExecutor?: DbExecutor;
11
- };
12
- export declare const deleteWorkItems: (input: DeleteWorkItemsInput, deps: DeleteWorkItemsDeps) => Promise<Result<number, ResourceNotFoundError>>;
13
- export declare const deleteWorkItem: (input: DeleteWorkItemInput, deps: DeleteWorkItemsDeps) => Promise<Result<number, ResourceNotFoundError>>;
14
- export {};
@@ -1,14 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import { ResourceNotFoundError } from "@boboddy/core/lib/errors";
3
- import { Result } from "@boboddy/core/lib/result";
4
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
5
- import type { WorkItemRepo } from "./work-item-repo";
6
- import { type GetWorkItemInput, type GetWorkItemsInput, type WorkItemContract } from "../contracts/work-item-contracts";
7
- type GetWorkItemsDeps = {
8
- userAuthz: UserAuthorizationService;
9
- workItemRepo: WorkItemRepo;
10
- dbExecutor?: DbExecutor;
11
- };
12
- export declare const getWorkItems: (input: GetWorkItemsInput, deps: GetWorkItemsDeps) => Promise<Result<WorkItemContract[], ResourceNotFoundError>>;
13
- export declare const getWorkItem: (input: GetWorkItemInput, deps: GetWorkItemsDeps) => Promise<Result<WorkItemContract, ResourceNotFoundError>>;
14
- export {};
@@ -1,13 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
3
- import { Result } from "@boboddy/core/lib/result";
4
- import type { WorkItemRepo } from "./work-item-repo";
5
- import type { ProjectRepo } from "@boboddy/core/projects/project/application/project-repo";
6
- import type { WorkItemContract } from "../contracts/work-item-contracts";
7
- import type { ResourceNotFoundError } from "@boboddy/core/lib/errors";
8
- export declare const listWorkItemsByProject: (input: string, { userAuthz, projectRepo, workItemRepo, dbExecutor, }: {
9
- userAuthz: UserAuthorizationService;
10
- projectRepo: ProjectRepo;
11
- workItemRepo: WorkItemRepo;
12
- dbExecutor?: DbExecutor;
13
- }) => Promise<Result<WorkItemContract[], ResourceNotFoundError>>;
@@ -1,14 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
3
- import { type WorkItemContract, type UpsertWorkItemInput, type UpsertWorkItemsInput } from "../contracts/work-item-contracts";
4
- import type { WorkItemRepo } from "./work-item-repo";
5
- import type { TimeProvider } from "@boboddy/core/lib/time-provider";
6
- type UpsertWorkItemsDeps = {
7
- userAuthz: UserAuthorizationService;
8
- workItemRepo: WorkItemRepo;
9
- timeProvider: TimeProvider;
10
- dbExecutor?: DbExecutor | undefined;
11
- };
12
- export declare const upsertWorkItems: (input: UpsertWorkItemsInput, deps: UpsertWorkItemsDeps) => Promise<WorkItemContract[]>;
13
- export declare const upsertWorkItem: (input: UpsertWorkItemInput, deps: UpsertWorkItemsDeps) => Promise<WorkItemContract>;
14
- export {};
@@ -1,4 +0,0 @@
1
- import type { CreateWorkItemProps, WorkItemEntity } from "../domain/work-item-entity";
2
- import { type WorkItemContract, type UpsertWorkItemInput } from "../contracts/work-item-contracts";
3
- export declare const upsertWorkItemInputToCreateWorkItemProps: (input: UpsertWorkItemInput) => CreateWorkItemProps;
4
- export declare const workItemEntityToContract: (workItem: WorkItemEntity) => WorkItemContract;
@@ -1,27 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
3
- import type { WorkItemEntity } from "../domain/work-item-entity";
4
- import type { WorkItemId } from "../domain/work-item-id";
5
- import type { WorkItemPlatform } from "../domain/work-item-platform";
6
- import type { WorkItemProjectionFingerprintEntity } from "../domain/work-item-projection-fingerprint-entity";
7
- export type WorkItemRepo = {
8
- load(id: WorkItemId, dbExecutor?: DbExecutor): Promise<WorkItemEntity | null>;
9
- loadMany(ids: WorkItemId[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
10
- loadByProjectId(projectId: UuidV7, dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
11
- loadByPlatformIdentity(projectId: UuidV7, platform: WorkItemPlatform, sourceIdentity: string, dbExecutor?: DbExecutor): Promise<WorkItemEntity | null>;
12
- loadManyByPlatformIdentities(identities: {
13
- projectId: UuidV7;
14
- platform: WorkItemPlatform;
15
- sourceIdentity: string;
16
- }[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
17
- create(workItem: WorkItemEntity, dbExecutor?: DbExecutor): Promise<WorkItemEntity>;
18
- createMany(workItems: WorkItemEntity[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
19
- save(workItem: WorkItemEntity, dbExecutor?: DbExecutor): Promise<WorkItemEntity>;
20
- saveMany(workItems: WorkItemEntity[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
21
- delete(id: WorkItemId, dbExecutor?: DbExecutor): Promise<number>;
22
- deleteMany(ids: WorkItemId[], dbExecutor?: DbExecutor): Promise<number>;
23
- };
24
- export type WorkItemProjectionFingerprintRepo = {
25
- load(workItemId: WorkItemId, specId: string, dbExecutor?: DbExecutor): Promise<WorkItemProjectionFingerprintEntity | null>;
26
- save(fingerprint: WorkItemProjectionFingerprintEntity, dbExecutor?: DbExecutor): Promise<WorkItemProjectionFingerprintEntity>;
27
- };
@@ -1,119 +0,0 @@
1
- import { z } from "zod";
2
- export declare const workItemIdSchema: z.ZodString & z.ZodType<import("../domain/work-item-id").WorkItemId, string, z.core.$ZodTypeInternals<import("../domain/work-item-id").WorkItemId, string>>;
3
- export declare const workItemPlatformSchema: z.ZodEnum<{
4
- jira: "jira";
5
- github: "github";
6
- linear: "linear";
7
- boboddy: "boboddy";
8
- custom: "custom";
9
- }>;
10
- export declare const workItemSchema: z.ZodObject<{
11
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
12
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
13
- platform: z.ZodEnum<{
14
- jira: "jira";
15
- github: "github";
16
- linear: "linear";
17
- boboddy: "boboddy";
18
- custom: "custom";
19
- }>;
20
- platformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- platformKey: z.ZodString;
22
- url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
23
- title: z.ZodString;
24
- description: z.ZodString;
25
- sourceCreatedAt: z.ZodNullable<z.ZodISODateTime>;
26
- sourceUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
27
- fields: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
28
- createdAt: z.ZodISODateTime;
29
- updatedAt: z.ZodISODateTime;
30
- }, z.core.$strip>;
31
- export declare const createWorkItemSchema: z.ZodObject<{
32
- description: z.ZodString;
33
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
34
- platform: z.ZodEnum<{
35
- jira: "jira";
36
- github: "github";
37
- linear: "linear";
38
- boboddy: "boboddy";
39
- custom: "custom";
40
- }>;
41
- platformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- platformKey: z.ZodString;
43
- url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
44
- title: z.ZodString;
45
- sourceCreatedAt: z.ZodNullable<z.ZodISODateTime>;
46
- sourceUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
47
- fields: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
48
- }, z.core.$strip>;
49
- export declare const workItemIngestionInputSchema: z.ZodObject<{
50
- description: z.ZodString;
51
- platform: z.ZodEnum<{
52
- jira: "jira";
53
- github: "github";
54
- linear: "linear";
55
- boboddy: "boboddy";
56
- custom: "custom";
57
- }>;
58
- platformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- platformKey: z.ZodString;
60
- url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
61
- title: z.ZodString;
62
- sourceCreatedAt: z.ZodNullable<z.ZodISODateTime>;
63
- sourceUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
64
- fields: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
65
- }, z.core.$strip>;
66
- export declare const upsertWorkItemInputSchema: z.ZodObject<{
67
- description: z.ZodString;
68
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
69
- platform: z.ZodEnum<{
70
- jira: "jira";
71
- github: "github";
72
- linear: "linear";
73
- boboddy: "boboddy";
74
- custom: "custom";
75
- }>;
76
- platformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
- platformKey: z.ZodString;
78
- url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
79
- title: z.ZodString;
80
- sourceCreatedAt: z.ZodNullable<z.ZodISODateTime>;
81
- sourceUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
82
- fields: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
83
- }, z.core.$strip>;
84
- export declare const upsertWorkItemsInputSchema: z.ZodArray<z.ZodObject<{
85
- description: z.ZodString;
86
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
87
- platform: z.ZodEnum<{
88
- jira: "jira";
89
- github: "github";
90
- linear: "linear";
91
- boboddy: "boboddy";
92
- custom: "custom";
93
- }>;
94
- platformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- platformKey: z.ZodString;
96
- url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
97
- title: z.ZodString;
98
- sourceCreatedAt: z.ZodNullable<z.ZodISODateTime>;
99
- sourceUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
100
- fields: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
101
- }, z.core.$strip>>;
102
- export declare const getWorkItemInputSchema: z.ZodString & z.ZodType<import("../domain/work-item-id").WorkItemId, string, z.core.$ZodTypeInternals<import("../domain/work-item-id").WorkItemId, string>>;
103
- export declare const getWorkItemsInputSchema: z.ZodArray<z.ZodString & z.ZodType<import("../domain/work-item-id").WorkItemId, string, z.core.$ZodTypeInternals<import("../domain/work-item-id").WorkItemId, string>>>;
104
- export declare const deleteWorkItemInputSchema: z.ZodString & z.ZodType<import("../domain/work-item-id").WorkItemId, string, z.core.$ZodTypeInternals<import("../domain/work-item-id").WorkItemId, string>>;
105
- export declare const deleteWorkItemsInputSchema: z.ZodArray<z.ZodString & z.ZodType<import("../domain/work-item-id").WorkItemId, string, z.core.$ZodTypeInternals<import("../domain/work-item-id").WorkItemId, string>>>;
106
- export declare const workItemProjectionSpecSchema: z.ZodObject<{
107
- id: z.ZodString;
108
- fields: z.ZodArray<z.ZodString>;
109
- }, z.core.$strip>;
110
- export type WorkItemContract = z.infer<typeof workItemSchema>;
111
- export type CreateWorkItemInput = z.input<typeof createWorkItemSchema>;
112
- export type WorkItemIngestionInput = z.input<typeof workItemIngestionInputSchema>;
113
- export type UpsertWorkItemInput = z.input<typeof upsertWorkItemInputSchema>;
114
- export type UpsertWorkItemsInput = z.input<typeof upsertWorkItemsInputSchema>;
115
- export type GetWorkItemInput = z.input<typeof getWorkItemInputSchema>;
116
- export type GetWorkItemsInput = z.input<typeof getWorkItemsInputSchema>;
117
- export type DeleteWorkItemInput = z.input<typeof deleteWorkItemInputSchema>;
118
- export type DeleteWorkItemsInput = z.input<typeof deleteWorkItemsInputSchema>;
119
- export type WorkItemProjectionSpecContract = z.infer<typeof workItemProjectionSpecSchema>;
@@ -1 +0,0 @@
1
- export declare const normalizeDate: (value?: Date | string | null) => Date | null | undefined;
@@ -1,58 +0,0 @@
1
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
2
- import { type WorkItemFields } from "./work-item-field-value";
3
- import { type WorkItemId } from "./work-item-id";
4
- import type { WorkItemPlatform } from "./work-item-platform";
5
- export type WorkItemEntityProps = {
6
- id: WorkItemId;
7
- projectId: UuidV7;
8
- platform: WorkItemPlatform;
9
- platformId?: string | null | undefined;
10
- platformKey: string;
11
- url?: string | null | undefined;
12
- title: string;
13
- description?: string | null | undefined;
14
- sourceCreatedAt?: Date | string | null | undefined;
15
- sourceUpdatedAt?: Date | string | null | undefined;
16
- fields?: WorkItemFields | undefined;
17
- createdAt?: Date | string | null | undefined;
18
- updatedAt?: Date | string | null | undefined;
19
- };
20
- export type CreateWorkItemProps = Omit<WorkItemEntityProps, "id" | "createdAt" | "updatedAt"> & {
21
- id?: WorkItemId | undefined;
22
- };
23
- export declare class WorkItemEntity {
24
- readonly id: WorkItemId;
25
- readonly projectId: UuidV7;
26
- readonly platform: WorkItemPlatform;
27
- readonly platformId: string | null;
28
- readonly platformKey: string;
29
- readonly url: string | null;
30
- readonly title: string;
31
- readonly description: string | null;
32
- readonly sourceCreatedAt: Date | null;
33
- readonly sourceUpdatedAt: Date | null;
34
- readonly fields: WorkItemFields;
35
- readonly createdAt: Date | null | undefined;
36
- readonly updatedAt: Date | null | undefined;
37
- private constructor();
38
- static create(props: CreateWorkItemProps): WorkItemEntity;
39
- static rehydrate(props: WorkItemEntityProps): WorkItemEntity;
40
- reingest(props: Omit<CreateWorkItemProps, "id">, now?: Date): WorkItemEntity;
41
- toJSON(): {
42
- id: WorkItemId;
43
- projectId: UuidV7;
44
- platform: "jira" | "github" | "linear" | "boboddy" | "custom";
45
- platformId: string | null;
46
- platformKey: string;
47
- url: string | null;
48
- title: string;
49
- description: string | null;
50
- sourceCreatedAt: Date | null;
51
- sourceUpdatedAt: Date | null;
52
- fields: {
53
- [x: string]: import("../../../common/contracts/json").AnyJsonValue;
54
- };
55
- createdAt: Date | null | undefined;
56
- updatedAt: Date | null | undefined;
57
- };
58
- }
@@ -1,3 +0,0 @@
1
- import type { AnyJsonValue } from "@boboddy/core/common/contracts/json";
2
- export type WorkItemFieldValue = AnyJsonValue;
3
- export type WorkItemFields = Record<string, WorkItemFieldValue>;
@@ -1,6 +0,0 @@
1
- export type WorkItemId = string & {
2
- readonly __brand: "WorkItemId";
3
- };
4
- export declare const isWorkItemId: (value: string) => value is WorkItemId;
5
- export declare const parseWorkItemId: (value: string) => WorkItemId;
6
- export declare const createWorkItemId: () => WorkItemId;
@@ -1,2 +0,0 @@
1
- export declare const WORK_ITEM_PLATFORMS: readonly ["jira", "github", "linear", "boboddy", "custom"];
2
- export type WorkItemPlatform = (typeof WORK_ITEM_PLATFORMS)[number];
@@ -1,18 +0,0 @@
1
- import { type WorkItemId } from "./work-item-id";
2
- export type WorkItemProjectionFingerprintProps = {
3
- workItemId: WorkItemId;
4
- specId: string;
5
- fingerprint: string;
6
- canonicalContent: string;
7
- createdAt?: Date | string | null | undefined;
8
- updatedAt?: Date | string | null | undefined;
9
- };
10
- export declare class WorkItemProjectionFingerprintEntity {
11
- readonly workItemId: WorkItemId;
12
- readonly specId: string;
13
- readonly fingerprint: string;
14
- readonly canonicalContent: string;
15
- readonly createdAt: Date | null | undefined;
16
- readonly updatedAt: Date | null | undefined;
17
- constructor(props: WorkItemProjectionFingerprintProps);
18
- }
@@ -1,25 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
3
- import { workItems } from "@boboddy/core/lib/db/schema";
4
- import type { WorkItemRepo } from "../application/work-item-repo";
5
- import { WorkItemEntity } from "../domain/work-item-entity";
6
- import { type WorkItemId } from "../domain/work-item-id";
7
- import type { WorkItemPlatform } from "../domain/work-item-platform";
8
- export declare class DrizzleWorkItemRepo implements WorkItemRepo {
9
- private toEntity;
10
- load(id: WorkItemId, dbExecutor?: DbExecutor): Promise<WorkItemEntity | null>;
11
- loadMany(ids: WorkItemId[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
12
- loadByProjectId(projectId: UuidV7, dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
13
- loadByPlatformIdentity(projectId: UuidV7, platform: typeof workItems.$inferSelect.platform, sourceIdentity: string, dbExecutor?: DbExecutor): Promise<WorkItemEntity | null>;
14
- loadManyByPlatformIdentities(identities: {
15
- projectId: UuidV7;
16
- platform: WorkItemPlatform;
17
- sourceIdentity: string;
18
- }[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
19
- save(workItem: WorkItemEntity, dbExecutor?: DbExecutor): Promise<WorkItemEntity>;
20
- create(workItem: WorkItemEntity, dbExecutor?: DbExecutor): Promise<WorkItemEntity>;
21
- createMany(workItemEntities: WorkItemEntity[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
22
- saveMany(workItemEntities: WorkItemEntity[], dbExecutor?: DbExecutor): Promise<WorkItemEntity[]>;
23
- delete(id: WorkItemId, dbExecutor?: DbExecutor): Promise<number>;
24
- deleteMany(ids: WorkItemId[], dbExecutor?: DbExecutor): Promise<number>;
25
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from "./treaty";
2
- export * from "./step-execution-plane-client";
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,202 +0,0 @@
1
- import type { App } from "@boboddy/api/app";
2
- import type { CreateStepDefinitionInput, UpdateStepDefinitionInput } from "@boboddy/core/pipeline-definitions/step-definition/contracts/step-definition-contracts";
3
- import { createBoboddyTreaty } from "./treaty";
4
- type RequestOptions = {
5
- headers?: Record<string, unknown> | undefined;
6
- };
7
- export declare function createStepDefinitionsClient(baseUrlOrApp: string | App): ReturnType<typeof buildStepDefinitionsClient>;
8
- declare const buildStepDefinitionsClient: (apiClient: ReturnType<typeof createBoboddyTreaty>) => {
9
- listByProjectId: (projectId: string, options?: RequestOptions) => Promise<{
10
- id: string & {
11
- readonly __brand: "uuidv7";
12
- };
13
- projectId: string & {
14
- readonly __brand: "uuidv7";
15
- };
16
- key: string;
17
- name: string;
18
- description: string | null;
19
- prompt: string | null;
20
- version: number;
21
- kind: "built_in" | "user_defined";
22
- inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
23
- resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
24
- opencodeMcpJson: Record<string, {
25
- type: "local";
26
- command: string[];
27
- environment?: Record<string, string> | undefined;
28
- enabled?: boolean | undefined;
29
- timeout?: number | undefined;
30
- } | {
31
- type: "remote";
32
- url: string;
33
- enabled?: boolean | undefined;
34
- headers?: Record<string, string> | undefined;
35
- oauth?: false | {
36
- clientId?: string | undefined;
37
- clientSecret?: string | undefined;
38
- scope?: string | undefined;
39
- redirectUri?: string | undefined;
40
- } | undefined;
41
- timeout?: number | undefined;
42
- } | {
43
- enabled: boolean;
44
- }> | null;
45
- status: "draft" | "active" | "archived";
46
- signalExtractorDefinitions: {
47
- id: string & {
48
- readonly __brand: "uuidv7";
49
- };
50
- key: string;
51
- sourcePath: string;
52
- type: "string" | "number" | "boolean" | "object" | "array";
53
- required: boolean;
54
- availableWhenResultStatusIn: string[] | null;
55
- createdAt: string;
56
- updatedAt: string;
57
- }[];
58
- computedSignalDefinitions: {
59
- id: string & {
60
- readonly __brand: "uuidv7";
61
- };
62
- key: string;
63
- type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
64
- inputSignalKeys: string[];
65
- configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
66
- availableWhenResultStatusIn: string[] | null;
67
- createdAt: string;
68
- updatedAt: string;
69
- }[];
70
- createdAt: string;
71
- updatedAt: string;
72
- }[]>;
73
- create: (body: CreateStepDefinitionInput, options?: RequestOptions) => Promise<{
74
- id: string & {
75
- readonly __brand: "uuidv7";
76
- };
77
- projectId: string & {
78
- readonly __brand: "uuidv7";
79
- };
80
- key: string;
81
- name: string;
82
- description: string | null;
83
- prompt: string | null;
84
- version: number;
85
- kind: "built_in" | "user_defined";
86
- inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
87
- resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
88
- opencodeMcpJson: Record<string, {
89
- type: "local";
90
- command: string[];
91
- environment?: Record<string, string> | undefined;
92
- enabled?: boolean | undefined;
93
- timeout?: number | undefined;
94
- } | {
95
- type: "remote";
96
- url: string;
97
- enabled?: boolean | undefined;
98
- headers?: Record<string, string> | undefined;
99
- oauth?: false | {
100
- clientId?: string | undefined;
101
- clientSecret?: string | undefined;
102
- scope?: string | undefined;
103
- redirectUri?: string | undefined;
104
- } | undefined;
105
- timeout?: number | undefined;
106
- } | {
107
- enabled: boolean;
108
- }> | null;
109
- status: "draft" | "active" | "archived";
110
- signalExtractorDefinitions: {
111
- id: string & {
112
- readonly __brand: "uuidv7";
113
- };
114
- key: string;
115
- sourcePath: string;
116
- type: "string" | "number" | "boolean" | "object" | "array";
117
- required: boolean;
118
- availableWhenResultStatusIn: string[] | null;
119
- createdAt: string;
120
- updatedAt: string;
121
- }[];
122
- computedSignalDefinitions: {
123
- id: string & {
124
- readonly __brand: "uuidv7";
125
- };
126
- key: string;
127
- type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
128
- inputSignalKeys: string[];
129
- configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
130
- availableWhenResultStatusIn: string[] | null;
131
- createdAt: string;
132
- updatedAt: string;
133
- }[];
134
- createdAt: string;
135
- updatedAt: string;
136
- }>;
137
- update: (stepDefinitionId: string, body: UpdateStepDefinitionInput, options?: RequestOptions) => Promise<{
138
- id: string & {
139
- readonly __brand: "uuidv7";
140
- };
141
- projectId: string & {
142
- readonly __brand: "uuidv7";
143
- };
144
- key: string;
145
- name: string;
146
- description: string | null;
147
- prompt: string | null;
148
- version: number;
149
- kind: "built_in" | "user_defined";
150
- inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
151
- resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
152
- opencodeMcpJson: Record<string, {
153
- type: "local";
154
- command: string[];
155
- environment?: Record<string, string> | undefined;
156
- enabled?: boolean | undefined;
157
- timeout?: number | undefined;
158
- } | {
159
- type: "remote";
160
- url: string;
161
- enabled?: boolean | undefined;
162
- headers?: Record<string, string> | undefined;
163
- oauth?: false | {
164
- clientId?: string | undefined;
165
- clientSecret?: string | undefined;
166
- scope?: string | undefined;
167
- redirectUri?: string | undefined;
168
- } | undefined;
169
- timeout?: number | undefined;
170
- } | {
171
- enabled: boolean;
172
- }> | null;
173
- status: "draft" | "active" | "archived";
174
- signalExtractorDefinitions: {
175
- id: string & {
176
- readonly __brand: "uuidv7";
177
- };
178
- key: string;
179
- sourcePath: string;
180
- type: "string" | "number" | "boolean" | "object" | "array";
181
- required: boolean;
182
- availableWhenResultStatusIn: string[] | null;
183
- createdAt: string;
184
- updatedAt: string;
185
- }[];
186
- computedSignalDefinitions: {
187
- id: string & {
188
- readonly __brand: "uuidv7";
189
- };
190
- key: string;
191
- type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
192
- inputSignalKeys: string[];
193
- configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
194
- availableWhenResultStatusIn: string[] | null;
195
- createdAt: string;
196
- updatedAt: string;
197
- }[];
198
- createdAt: string;
199
- updatedAt: string;
200
- }>;
201
- };
202
- export {};