@treeseed/sdk 0.13.0-rc.6 → 0.13.0-rc.8

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 (826) hide show
  1. package/dist/accounts/account-contracts.d.ts +1 -1
  2. package/dist/agent-capacity/authority/assignment-authority-probe.d.ts +2 -2
  3. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +108 -108
  4. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  5. package/dist/ai-appliance/contracts.d.ts +2 -2
  6. package/dist/ai-appliance/contracts.js +2 -2
  7. package/dist/ai-appliance/validation.js +1 -1
  8. package/dist/capacity-provider/client.d.ts +2 -2
  9. package/dist/capacity-provider/client.js +4 -4
  10. package/dist/capacity-provider/contracts/governance.d.ts +6 -6
  11. package/dist/capacity-provider/validation.js +2 -2
  12. package/dist/content/validation/agent-operational-content-schemas.d.ts +64 -64
  13. package/dist/content/validation/auxiliary-content-schemas.d.ts +46 -46
  14. package/dist/content/validation/auxiliary-content-schemas.js +2 -2
  15. package/dist/content/validation/content-model-schemas.d.ts +426 -426
  16. package/dist/content/validation/portable-content-data.d.ts +60 -60
  17. package/dist/db/index.d.ts +0 -1
  18. package/dist/db/index.js +0 -1
  19. package/dist/entrypoints/clients/control-plane-client.d.ts +60 -0
  20. package/dist/entrypoints/clients/control-plane-client.js +134 -4
  21. package/dist/entrypoints/models/sdk-types.d.ts +1 -7
  22. package/dist/entrypoints/models/sdk-types.js +1 -7
  23. package/dist/guarantees/contracts/parse-agent-guarantee-proof.js +1 -1
  24. package/dist/guarantees/index/run-verifier-command.d.ts +1 -1
  25. package/dist/index/operations-and-workflows.d.ts +0 -1
  26. package/dist/index/operations-and-workflows.js +0 -36
  27. package/dist/index/platform-and-hosting.d.ts +1 -2
  28. package/dist/index/platform-and-hosting.js +23 -45
  29. package/dist/index/public-contracts.d.ts +0 -3
  30. package/dist/index/public-contracts.js +0 -3
  31. package/dist/index/templates-and-catalog.d.ts +1 -1
  32. package/dist/index/templates-and-catalog.js +1 -1
  33. package/dist/local-dev/managed-dev-process-spec.js +0 -1
  34. package/dist/operations/providers/default/preflight-operation.d.ts +6 -6
  35. package/dist/operations/services/config-runtime/configuration/create-default-machine-config.d.ts +2 -0
  36. package/dist/operations/services/config-runtime/configuration/create-default-machine-config.js +2 -0
  37. package/dist/operations/services/config-runtime/configuration/list-relevant-config-entries.js +1 -1
  38. package/dist/operations/services/config-runtime/support/resolve-entry-value-from-buckets.js +1 -1
  39. package/dist/operations/services/config-runtime/support/rotate-machine-key-passphrase.d.ts +4 -0
  40. package/dist/operations/services/config-runtime/{commerce/catalog/resolve-template-catalog-endpoint.d.ts → templates/catalog/template-catalog-settings.d.ts} +1 -0
  41. package/dist/operations/services/configuration/config-runtime.d.ts +1 -1
  42. package/dist/operations/services/configuration/config-runtime.js +1 -1
  43. package/dist/operations/services/deploy/accounts/local-runtime-auth-env-keys.d.ts +2 -2
  44. package/dist/operations/services/deploy/accounts/local-runtime-auth-env-keys.js +3 -3
  45. package/dist/operations/services/deploy/hosting/assert-cloudflare-cache-purge-succeeded.d.ts +0 -1
  46. package/dist/operations/services/deploy/hosting/assert-cloudflare-cache-purge-succeeded.js +1 -6
  47. package/dist/operations/services/deploy/hosting/configured-surface-hosts.d.ts +0 -2
  48. package/dist/operations/services/deploy/hosting/configured-surface-hosts.js +1 -3
  49. package/dist/operations/services/deploy/hosting/load-deploy-state.js +2 -2
  50. package/dist/operations/services/deploy/support/default-compatibility-date.d.ts +0 -1
  51. package/dist/operations/services/deploy/support/default-compatibility-date.js +0 -2
  52. package/dist/operations/services/github-actions-verification/git-hub-actions-workflow-state.d.ts +1 -1
  53. package/dist/operations/services/hosting/audit/managed-host-security.js +0 -1
  54. package/dist/operations/services/hosting-audit/hosting-audit-environment.d.ts +2 -2
  55. package/dist/operations/services/key-agent/read-legacy-project-machine-key.d.ts +1 -1
  56. package/dist/operations/services/template-registry/sync-managed-package-json.d.ts +3 -3
  57. package/dist/operations/services/template-registry/template-categories.d.ts +1 -1
  58. package/dist/operations/services/template-registry/validate-template-placeholders.js +1 -1
  59. package/dist/platform/deploy-config/deploy-config-field-aliases.d.ts +2 -2
  60. package/dist/platform/deploy-config/deploy-config-field-aliases.js +3 -3
  61. package/dist/platform/deploy-config/normalize-planes-from-legacy-hosting.d.ts +2 -2
  62. package/dist/platform/deploy-config/normalize-planes-from-legacy-hosting.js +5 -5
  63. package/dist/platform/deploy-config/parse-deploy-config.js +2 -4
  64. package/dist/platform/deploy-config/parse-platform-connections.d.ts +2 -4
  65. package/dist/platform/deploy-config/parse-platform-connections.js +4 -25
  66. package/dist/platform/desired-state/desired-environment.d.ts +1 -1
  67. package/dist/platform/env.yaml +2 -199
  68. package/dist/platform/environment/environment-scopes.d.ts +1 -2
  69. package/dist/platform/environment/environment-scopes.js +0 -2
  70. package/dist/platform/environment/resolve-content-bucket-binding.d.ts +1 -4
  71. package/dist/platform/environment/resolve-content-bucket-binding.js +1 -16
  72. package/dist/platform/packages/published-content-pipeline.d.ts +1 -1
  73. package/dist/platform/packages/published-content-pipeline.js +1 -1
  74. package/dist/platform/published-content/published-content-manifest-schema-version.d.ts +2 -2
  75. package/dist/platform/published-content/runtime/build-runtime-publication.js +1 -1
  76. package/dist/platform/published-content-pipeline/default-artifact-builder.d.ts +1 -1
  77. package/dist/platform/published-content-pipeline/default-artifact-builder.js +2 -2
  78. package/dist/platform/published-content-pipeline/list-markdown-files.d.ts +1 -1
  79. package/dist/platform/published-content-pipeline/list-markdown-files.js +1 -1
  80. package/dist/platform/published-content-pipeline/{resolve-commerce-offer-mode.d.ts → resolve-publication-access-mode.d.ts} +3 -2
  81. package/dist/platform/published-content-pipeline/{resolve-commerce-offer-mode.js → resolve-publication-access-mode.js} +4 -4
  82. package/dist/platform/support/contracts.d.ts +4 -11
  83. package/dist/reconcile/builtin-adapters/capacity/providers/capacity-provider-variables-for-service.d.ts +1 -2
  84. package/dist/reconcile/builtin-adapters/capacity/providers/capacity-provider-variables-for-service.js +3 -18
  85. package/dist/reconcile/builtin-adapters/hosting/observe-railway-unit.js +1 -10
  86. package/dist/reconcile/index.d.ts +0 -2
  87. package/dist/reconcile/index.js +0 -2
  88. package/dist/reconcile/seeds/local-seed-bootstrap-adapter.js +2 -18
  89. package/dist/scenes/accounts/auth.js +5 -5
  90. package/dist/scenes/index.d.ts +0 -8
  91. package/dist/scenes/index.js +0 -50
  92. package/dist/scenes/runner/run-scene.js +1 -26
  93. package/dist/scenes/seeds/seed.js +7 -8
  94. package/dist/scenes/support/execution/base-url.js +1 -1
  95. package/dist/scenes/visual-audit/run-scene-visual-audit.js +3 -21
  96. package/dist/scenes/visual-audit/split-diagnostics.js +1 -1
  97. package/dist/scripts/verification/check-file-architecture.js +0 -3
  98. package/dist/sdk/support/messages/dispatch.js +3 -3
  99. package/dist/sdk-types/configuration/sdk-dispatch-credential-source.d.ts +1 -1
  100. package/dist/sdk-types/{commerce/catalog/upsert-catalog-item-request.d.ts → control-plane/resource-requests.d.ts} +4 -4
  101. package/dist/sdk-types/support/platform-contracts.d.ts +3 -7
  102. package/dist/sdk-types/support/platform-contracts.js +2 -22
  103. package/dist/seeds/index.d.ts +0 -5
  104. package/dist/seeds/index.js +0 -8
  105. package/dist/seeds/schema/resource-buckets.d.ts +1 -1
  106. package/dist/{commerce/catalog → templates}/template-catalog.d.ts +1 -1
  107. package/dist/treeseed/template-catalog/catalog.fixture.json +1 -1
  108. package/dist/workflow/operations/configuration/workflow-config.d.ts +2 -2
  109. package/dist/workflow/operations/configuration/workflow-config.js +1 -1
  110. package/dist/workflow/operations/coordination/workflow-ci.js +1 -1
  111. package/dist/workflow/operations/coordination/workflow-destroy.js +1 -1
  112. package/dist/workflow/operations/guarantees/workflow-proof.d.ts +1 -1
  113. package/dist/workflow/operations/guarantees/workflow-proof.js +2 -2
  114. package/dist/workflow/operations/packages/collect-published-release-artifact-checks.js +1 -1
  115. package/dist/workflow/operations/packages/collect-release-plan-blockers.js +1 -1
  116. package/dist/workflow/operations/packages/normalize-release-candidate-mode.js +1 -1
  117. package/dist/workflow/operations/packages/prepare-fresh-release-run.d.ts +1 -1
  118. package/dist/workflow/operations/packages/prepare-fresh-release-run.js +1 -1
  119. package/dist/workflow/operations/packages/release-admin-message.d.ts +1 -1
  120. package/dist/workflow/operations/packages/release-admin-message.js +1 -1
  121. package/dist/workflow/operations/reconciliation/reconcile-save-hosted-environment.js +1 -1
  122. package/dist/workflow/operations/reconciliation/run-release-gate-reconcile-facade.js +1 -1
  123. package/dist/workflow/operations/recovery/fail-workflow-run.js +1 -1
  124. package/dist/workflow/operations/recovery/workflow-resume.js +1 -1
  125. package/dist/workflow/operations/release/workflow-release.js +2 -2
  126. package/dist/workflow/operations/{commerce/catalog → release-support/helpers}/back-merge-production-into-staging.d.ts +1 -0
  127. package/dist/workflow/operations/{commerce/catalog → release-support/helpers}/run-release-production-guarantees.d.ts +1 -0
  128. package/dist/workflow/operations/repositories/gates-for-saved-repository-reports.d.ts +1 -1
  129. package/dist/workflow/operations/repositories/gates-for-saved-repository-reports.js +1 -1
  130. package/dist/workflow/operations/support/create-repo-report.d.ts +1 -1
  131. package/dist/workflow/operations/support/create-repo-report.js +1 -1
  132. package/dist/workflow/operations/support/sync-current-branch-to-origin.d.ts +1 -1
  133. package/dist/workflow/operations/support/sync-current-branch-to-origin.js +1 -1
  134. package/dist/workflow/operations/support/update-ahead-behind.js +1 -1
  135. package/dist/workflow/operations/support/workflow-helpers.js +1 -1
  136. package/dist/workflow/operations/workspace-lifecycle/workflow-close.js +1 -1
  137. package/dist/workflow/operations/workspace-lifecycle/workflow-save.js +2 -2
  138. package/dist/workflow/operations/workspace-lifecycle/workflow-stage.js +1 -1
  139. package/dist/workflow/operations/workspace-lifecycle/workflow-switch.js +1 -1
  140. package/dist/workflow/operations/workspace-lifecycle/workflow-update.js +1 -1
  141. package/dist/workflow/operations.d.ts +2 -2
  142. package/dist/workflow/operations.js +2 -2
  143. package/dist/workflow-state/readiness-for-environment.d.ts +1 -0
  144. package/dist/workflow-state/resolve-workflow-state.js +1 -1
  145. package/package.json +3 -40
  146. package/dist/api/auth/d1-database.d.ts +0 -3
  147. package/dist/api/auth/d1-database.js +0 -20
  148. package/dist/api/auth/d1-provider.d.ts +0 -54
  149. package/dist/api/auth/d1-provider.js +0 -95
  150. package/dist/api/auth/d1-store/accounts/identity/can-adopt-username-match.d.ts +0 -3
  151. package/dist/api/auth/d1-store/accounts/identity/can-adopt-username-match.js +0 -13
  152. package/dist/api/auth/d1-store/accounts/identity/ensure-auth-schema.d.ts +0 -2
  153. package/dist/api/auth/d1-store/accounts/identity/ensure-auth-schema.js +0 -14
  154. package/dist/api/auth/d1-store/accounts/identity/load-user-by-username.d.ts +0 -2
  155. package/dist/api/auth/d1-store/accounts/identity/load-user-by-username.js +0 -6
  156. package/dist/api/auth/d1-store/accounts/identity/load-user-by-verified-email.d.ts +0 -2
  157. package/dist/api/auth/d1-store/accounts/identity/load-user-by-verified-email.js +0 -6
  158. package/dist/api/auth/d1-store/accounts/sessions/authenticate-service.d.ts +0 -6
  159. package/dist/api/auth/d1-store/accounts/sessions/authenticate-service.js +0 -34
  160. package/dist/api/auth/d1-store/accounts/sessions/issue-user-session.d.ts +0 -7
  161. package/dist/api/auth/d1-store/accounts/sessions/issue-user-session.js +0 -69
  162. package/dist/api/auth/d1-store/accounts/tokens/authenticate-bearer-token.d.ts +0 -6
  163. package/dist/api/auth/d1-store/accounts/tokens/authenticate-bearer-token.js +0 -42
  164. package/dist/api/auth/d1-store/accounts/tokens/create-personal-access-token.d.ts +0 -12
  165. package/dist/api/auth/d1-store/accounts/tokens/create-personal-access-token.js +0 -36
  166. package/dist/api/auth/d1-store/accounts/tokens/list-personal-access-tokens.d.ts +0 -2
  167. package/dist/api/auth/d1-store/accounts/tokens/list-personal-access-tokens.js +0 -10
  168. package/dist/api/auth/d1-store/accounts/tokens/refresh-access-token.d.ts +0 -3
  169. package/dist/api/auth/d1-store/accounts/tokens/refresh-access-token.js +0 -46
  170. package/dist/api/auth/d1-store/accounts/tokens/revoke-personal-access-token.d.ts +0 -2
  171. package/dist/api/auth/d1-store/accounts/tokens/revoke-personal-access-token.js +0 -15
  172. package/dist/api/auth/d1-store/capacity/providers/load-identity-by-provider.d.ts +0 -2
  173. package/dist/api/auth/d1-store/capacity/providers/load-identity-by-provider.js +0 -6
  174. package/dist/api/auth/d1-store/commerce/catalog/seed-catalog.d.ts +0 -2
  175. package/dist/api/auth/d1-store/commerce/catalog/seed-catalog.js +0 -27
  176. package/dist/api/auth/d1-store/configuration/create-service-credential.d.ts +0 -7
  177. package/dist/api/auth/d1-store/configuration/create-service-credential.js +0 -10
  178. package/dist/api/auth/d1-store/configuration/rotate-service-credential.d.ts +0 -2
  179. package/dist/api/auth/d1-store/configuration/rotate-service-credential.js +0 -17
  180. package/dist/api/auth/d1-store/configuration/upsert-service-credential.d.ts +0 -8
  181. package/dist/api/auth/d1-store/configuration/upsert-service-credential.js +0 -20
  182. package/dist/api/auth/d1-store/methods.d.ts +0 -40
  183. package/dist/api/auth/d1-store/methods.js +0 -82
  184. package/dist/api/auth/d1-store/runtime/approve-device-flow.d.ts +0 -5
  185. package/dist/api/auth/d1-store/runtime/approve-device-flow.js +0 -27
  186. package/dist/api/auth/d1-store/runtime/poll-device-flow.d.ts +0 -3
  187. package/dist/api/auth/d1-store/runtime/poll-device-flow.js +0 -71
  188. package/dist/api/auth/d1-store/runtime/start-device-flow.d.ts +0 -3
  189. package/dist/api/auth/d1-store/runtime/start-device-flow.js +0 -34
  190. package/dist/api/auth/d1-store/seeds/seed-configured-services.d.ts +0 -2
  191. package/dist/api/auth/d1-store/seeds/seed-configured-services.js +0 -14
  192. package/dist/api/auth/d1-store/support/audit/write-audit-event.d.ts +0 -9
  193. package/dist/api/auth/d1-store/support/audit/write-audit-event.js +0 -18
  194. package/dist/api/auth/d1-store/support/lifecycle/ensure-initialized.d.ts +0 -2
  195. package/dist/api/auth/d1-store/support/lifecycle/ensure-initialized.js +0 -9
  196. package/dist/api/auth/d1-store/support/principals/create-user.d.ts +0 -7
  197. package/dist/api/auth/d1-store/support/principals/create-user.js +0 -30
  198. package/dist/api/auth/d1-store/support/principals/exchange-trusted-user-assertion.d.ts +0 -10
  199. package/dist/api/auth/d1-store/support/principals/exchange-trusted-user-assertion.js +0 -50
  200. package/dist/api/auth/d1-store/support/principals/load-user.d.ts +0 -2
  201. package/dist/api/auth/d1-store/support/principals/load-user.js +0 -6
  202. package/dist/api/auth/d1-store/support/principals/permissions-for-user.d.ts +0 -2
  203. package/dist/api/auth/d1-store/support/principals/permissions-for-user.js +0 -11
  204. package/dist/api/auth/d1-store/support/principals/principal-for-user.d.ts +0 -2
  205. package/dist/api/auth/d1-store/support/principals/principal-for-user.js +0 -27
  206. package/dist/api/auth/d1-store/support/principals/scopes-for-principal.d.ts +0 -2
  207. package/dist/api/auth/d1-store/support/principals/scopes-for-principal.js +0 -13
  208. package/dist/api/auth/d1-store/support/principals/sync-user.d.ts +0 -7
  209. package/dist/api/auth/d1-store/support/principals/sync-user.js +0 -96
  210. package/dist/api/auth/d1-store/support/principals/user-metadata.d.ts +0 -9
  211. package/dist/api/auth/d1-store/support/principals/user-metadata.js +0 -13
  212. package/dist/api/auth/d1-store/support/queries/execute-statement.d.ts +0 -2
  213. package/dist/api/auth/d1-store/support/queries/execute-statement.js +0 -6
  214. package/dist/api/auth/d1-store/support/queries/query-all.d.ts +0 -2
  215. package/dist/api/auth/d1-store/support/queries/query-all.js +0 -7
  216. package/dist/api/auth/d1-store/support/queries/query-first.d.ts +0 -2
  217. package/dist/api/auth/d1-store/support/queries/query-first.js +0 -6
  218. package/dist/api/auth/d1-store/teams/assign-role.d.ts +0 -2
  219. package/dist/api/auth/d1-store/teams/assign-role.js +0 -12
  220. package/dist/api/auth/d1-store/teams/bootstrap-roles-for-user.d.ts +0 -3
  221. package/dist/api/auth/d1-store/teams/bootstrap-roles-for-user.js +0 -22
  222. package/dist/api/auth/d1-store/teams/permissions-for-roles.d.ts +0 -2
  223. package/dist/api/auth/d1-store/teams/permissions-for-roles.js +0 -15
  224. package/dist/api/auth/d1-store/teams/reconcile-bootstrap-admins.d.ts +0 -2
  225. package/dist/api/auth/d1-store/teams/reconcile-bootstrap-admins.js +0 -34
  226. package/dist/api/auth/d1-store/teams/replace-roles.d.ts +0 -2
  227. package/dist/api/auth/d1-store/teams/replace-roles.js +0 -9
  228. package/dist/api/auth/d1-store/teams/roles-for-user.d.ts +0 -2
  229. package/dist/api/auth/d1-store/teams/roles-for-user.js +0 -10
  230. package/dist/api/auth/d1-store/teams/set-user-roles.d.ts +0 -2
  231. package/dist/api/auth/d1-store/teams/set-user-roles.js +0 -25
  232. package/dist/api/auth/d1-store.d.ts +0 -133
  233. package/dist/api/auth/d1-store.js +0 -225
  234. package/dist/api/auth/memory-provider.d.ts +0 -82
  235. package/dist/api/auth/memory-provider.js +0 -297
  236. package/dist/api/auth/rbac.d.ts +0 -27
  237. package/dist/api/auth/rbac.js +0 -171
  238. package/dist/api/auth/tokens.d.ts +0 -18
  239. package/dist/api/auth/tokens.js +0 -56
  240. package/dist/api/auth/trusted-assertion.d.ts +0 -10
  241. package/dist/api/auth/trusted-assertion.js +0 -19
  242. package/dist/api/capacity/providers/providers.d.ts +0 -2
  243. package/dist/api/capacity/providers/providers.js +0 -69
  244. package/dist/api/configuration/config.d.ts +0 -4
  245. package/dist/api/configuration/config.js +0 -149
  246. package/dist/api/hosting/railway.d.ts +0 -53
  247. package/dist/api/hosting/railway.js +0 -71
  248. package/dist/api/index.d.ts +0 -13
  249. package/dist/api/index.js +0 -33
  250. package/dist/api/operations/operations-routes.d.ts +0 -11
  251. package/dist/api/operations/operations-routes.js +0 -39
  252. package/dist/api/operations/operations.d.ts +0 -3
  253. package/dist/api/operations/operations.js +0 -26
  254. package/dist/api/support/app.d.ts +0 -8
  255. package/dist/api/support/app.js +0 -410
  256. package/dist/api/support/http.d.ts +0 -28
  257. package/dist/api/support/http.js +0 -51
  258. package/dist/api/support/sdk-dispatch.d.ts +0 -6
  259. package/dist/api/support/sdk-dispatch.js +0 -14
  260. package/dist/api/support/sdk-routes.d.ts +0 -11
  261. package/dist/api/support/sdk-routes.js +0 -29
  262. package/dist/api/support/templates.d.ts +0 -3
  263. package/dist/api/support/templates.js +0 -31
  264. package/dist/api/types.d.ts +0 -242
  265. package/dist/db/market-schema/accounts/agent-lab-view-state.d.ts +0 -228
  266. package/dist/db/market-schema/accounts/agent-lab-view-state.js +0 -22
  267. package/dist/db/market-schema/accounts/better-auth-account.d.ts +0 -2491
  268. package/dist/db/market-schema/accounts/better-auth-account.js +0 -248
  269. package/dist/db/market-schema/accounts/notification-events.d.ts +0 -2911
  270. package/dist/db/market-schema/accounts/notification-events.js +0 -252
  271. package/dist/db/market-schema/accounts/team-services.d.ts +0 -1780
  272. package/dist/db/market-schema/accounts/team-services.js +0 -150
  273. package/dist/db/market-schema/agents/agent-context-query-checks.d.ts +0 -296
  274. package/dist/db/market-schema/agents/agent-context-query-checks.js +0 -33
  275. package/dist/db/market-schema/agents/agent-mode-runs.d.ts +0 -3137
  276. package/dist/db/market-schema/agents/agent-mode-runs.js +0 -311
  277. package/dist/db/market-schema/agents/communication-control.d.ts +0 -820
  278. package/dist/db/market-schema/agents/communication-control.js +0 -86
  279. package/dist/db/market-schema/capacity/accounting/capacity-ledger-entries.d.ts +0 -3187
  280. package/dist/db/market-schema/capacity/accounting/capacity-ledger-entries.js +0 -300
  281. package/dist/db/market-schema/capacity/providers/capacity-provider-team-credentials.d.ts +0 -2637
  282. package/dist/db/market-schema/capacity/providers/capacity-provider-team-credentials.js +0 -271
  283. package/dist/db/market-schema/capacity/workdays/capacity-workday-events.d.ts +0 -3882
  284. package/dist/db/market-schema/capacity/workdays/capacity-workday-events.js +0 -373
  285. package/dist/db/market-schema/commerce/capacity/commerce-capacity-listings.d.ts +0 -1681
  286. package/dist/db/market-schema/commerce/capacity/commerce-capacity-listings.js +0 -150
  287. package/dist/db/market-schema/commerce/catalog/catalog-items.d.ts +0 -3076
  288. package/dist/db/market-schema/commerce/catalog/catalog-items.js +0 -263
  289. package/dist/db/market-schema/commerce/catalog/commerce-product-versions.d.ts +0 -2943
  290. package/dist/db/market-schema/commerce/catalog/commerce-product-versions.js +0 -253
  291. package/dist/db/market-schema/commerce/payments/commerce-subscriptions.d.ts +0 -3072
  292. package/dist/db/market-schema/commerce/payments/commerce-subscriptions.js +0 -263
  293. package/dist/db/market-schema/governance/commons/commons-participants.d.ts +0 -3117
  294. package/dist/db/market-schema/governance/commons/commons-participants.js +0 -260
  295. package/dist/db/market-schema/governance/policy/governance-electorate-snapshots.d.ts +0 -2498
  296. package/dist/db/market-schema/governance/policy/governance-electorate-snapshots.js +0 -212
  297. package/dist/db/market-schema/projects/integrations/provider-operations.d.ts +0 -2586
  298. package/dist/db/market-schema/projects/integrations/provider-operations.js +0 -196
  299. package/dist/db/market-schema/projects/knowledge/knowledge-collaboration.d.ts +0 -1426
  300. package/dist/db/market-schema/projects/knowledge/knowledge-collaboration.js +0 -111
  301. package/dist/db/market-schema/projects/knowledge/project-knowledge-governance.d.ts +0 -1269
  302. package/dist/db/market-schema/projects/knowledge/project-knowledge-governance.js +0 -95
  303. package/dist/db/market-schema/projects/knowledge/tree-dx-project-libraries.d.ts +0 -1937
  304. package/dist/db/market-schema/projects/knowledge/tree-dx-project-libraries.js +0 -160
  305. package/dist/db/market-schema/support/feedback.d.ts +0 -1055
  306. package/dist/db/market-schema/support/feedback.js +0 -86
  307. package/dist/db/market-schema/support/market-schema.d.ts +0 -45339
  308. package/dist/db/market-schema/support/market-schema.js +0 -216
  309. package/dist/db/market-schema/support/subscribers.d.ts +0 -3027
  310. package/dist/db/market-schema/support/subscribers.js +0 -267
  311. package/dist/db/market-schema.d.ts +0 -22
  312. package/dist/db/market-schema.js +0 -22
  313. package/dist/entrypoints/clients/market-client.d.ts +0 -184
  314. package/dist/entrypoints/clients/market-client.js +0 -369
  315. package/dist/gateway/admin-passthrough.d.ts +0 -17
  316. package/dist/gateway/admin-passthrough.js +0 -131
  317. package/dist/gateway/admin-route-inventory.d.ts +0 -5
  318. package/dist/gateway/admin-route-inventory.js +0 -27
  319. package/dist/gateway/header-policy.d.ts +0 -3
  320. package/dist/gateway/header-policy.js +0 -38
  321. package/dist/gateway/health.d.ts +0 -9
  322. package/dist/gateway/health.js +0 -26
  323. package/dist/gateway/index.d.ts +0 -7
  324. package/dist/gateway/index.js +0 -8
  325. package/dist/gateway/node-websocket-proxy.d.ts +0 -13
  326. package/dist/gateway/node-websocket-proxy.js +0 -109
  327. package/dist/market-client/accounts/contracts/account-deletion-blockers.d.ts +0 -2
  328. package/dist/market-client/accounts/contracts/account-deletion-blockers.js +0 -6
  329. package/dist/market-client/accounts/contracts/account-identity.d.ts +0 -2
  330. package/dist/market-client/accounts/contracts/account-identity.js +0 -6
  331. package/dist/market-client/accounts/contracts/local-auth-paths.d.ts +0 -2
  332. package/dist/market-client/accounts/contracts/local-auth-paths.js +0 -6
  333. package/dist/market-client/accounts/contracts/logout.d.ts +0 -2
  334. package/dist/market-client/accounts/contracts/logout.js +0 -9
  335. package/dist/market-client/accounts/contracts/poll-device-login.d.ts +0 -3
  336. package/dist/market-client/accounts/contracts/poll-device-login.js +0 -9
  337. package/dist/market-client/accounts/contracts/web-appearance.d.ts +0 -2
  338. package/dist/market-client/accounts/contracts/web-appearance.js +0 -6
  339. package/dist/market-client/accounts/contracts/web-emails.d.ts +0 -2
  340. package/dist/market-client/accounts/contracts/web-emails.js +0 -6
  341. package/dist/market-client/accounts/contracts/web-notification-preferences.d.ts +0 -2
  342. package/dist/market-client/accounts/contracts/web-notification-preferences.js +0 -6
  343. package/dist/market-client/accounts/contracts/web-notifications.d.ts +0 -2
  344. package/dist/market-client/accounts/contracts/web-notifications.js +0 -6
  345. package/dist/market-client/accounts/contracts/web-sessions.d.ts +0 -2
  346. package/dist/market-client/accounts/contracts/web-sessions.js +0 -6
  347. package/dist/market-client/accounts/creation/add-web-email.d.ts +0 -4
  348. package/dist/market-client/accounts/creation/add-web-email.js +0 -10
  349. package/dist/market-client/accounts/creation/request-web-password-reset.d.ts +0 -4
  350. package/dist/market-client/accounts/creation/request-web-password-reset.js +0 -9
  351. package/dist/market-client/accounts/creation/start-device-login.d.ts +0 -3
  352. package/dist/market-client/accounts/creation/start-device-login.js +0 -9
  353. package/dist/market-client/accounts/lifecycle/complete-web-password-reset.d.ts +0 -5
  354. package/dist/market-client/accounts/lifecycle/complete-web-password-reset.js +0 -9
  355. package/dist/market-client/accounts/lifecycle/confirm-web-email.d.ts +0 -4
  356. package/dist/market-client/accounts/lifecycle/confirm-web-email.js +0 -9
  357. package/dist/market-client/accounts/lifecycle/verify-web-email.d.ts +0 -2
  358. package/dist/market-client/accounts/lifecycle/verify-web-email.js +0 -6
  359. package/dist/market-client/accounts/preferences/account-preferences.d.ts +0 -4
  360. package/dist/market-client/accounts/preferences/account-preferences.js +0 -14
  361. package/dist/market-client/accounts/queries/check-web-email.d.ts +0 -2
  362. package/dist/market-client/accounts/queries/check-web-email.js +0 -6
  363. package/dist/market-client/accounts/queries/check-web-username.d.ts +0 -2
  364. package/dist/market-client/accounts/queries/check-web-username.js +0 -6
  365. package/dist/market-client/accounts/retirement/delete-account.d.ts +0 -6
  366. package/dist/market-client/accounts/retirement/delete-account.js +0 -10
  367. package/dist/market-client/accounts/retirement/delete-web-email.d.ts +0 -2
  368. package/dist/market-client/accounts/retirement/delete-web-email.js +0 -6
  369. package/dist/market-client/accounts/retirement/revoke-web-session.d.ts +0 -2
  370. package/dist/market-client/accounts/retirement/revoke-web-session.js +0 -6
  371. package/dist/market-client/accounts/updates/mark-web-notification-read.d.ts +0 -2
  372. package/dist/market-client/accounts/updates/mark-web-notification-read.js +0 -6
  373. package/dist/market-client/accounts/updates/refresh-token.d.ts +0 -3
  374. package/dist/market-client/accounts/updates/refresh-token.js +0 -9
  375. package/dist/market-client/accounts/updates/set-primary-web-email.d.ts +0 -2
  376. package/dist/market-client/accounts/updates/set-primary-web-email.js +0 -6
  377. package/dist/market-client/accounts/updates/update-web-appearance.d.ts +0 -10
  378. package/dist/market-client/accounts/updates/update-web-appearance.js +0 -10
  379. package/dist/market-client/accounts/updates/update-web-notification-preferences.d.ts +0 -3
  380. package/dist/market-client/accounts/updates/update-web-notification-preferences.js +0 -6
  381. package/dist/market-client/accounts/updates/update-web-password.d.ts +0 -6
  382. package/dist/market-client/accounts/updates/update-web-password.js +0 -10
  383. package/dist/market-client/agent-lab-interface.d.ts +0 -12
  384. package/dist/market-client/agent-lab-interface.js +0 -0
  385. package/dist/market-client/agents/creation/create-structured-agent-estimate.d.ts +0 -2
  386. package/dist/market-client/agents/creation/create-structured-agent-estimate.js +0 -6
  387. package/dist/market-client/agents/lifecycle/accept-structured-agent-estimate.d.ts +0 -2
  388. package/dist/market-client/agents/lifecycle/accept-structured-agent-estimate.js +0 -6
  389. package/dist/market-client/capacity/accounting/contracts/capacity-ledger.d.ts +0 -7
  390. package/dist/market-client/capacity/accounting/contracts/capacity-ledger.js +0 -6
  391. package/dist/market-client/capacity/accounting/contracts/capacity-reservation-explanation.d.ts +0 -2
  392. package/dist/market-client/capacity/accounting/contracts/capacity-reservation-explanation.js +0 -6
  393. package/dist/market-client/capacity/accounting/contracts/capacity-reservations.d.ts +0 -7
  394. package/dist/market-client/capacity/accounting/contracts/capacity-reservations.js +0 -6
  395. package/dist/market-client/capacity/accounting/contracts/capacity-usage.d.ts +0 -7
  396. package/dist/market-client/capacity/accounting/contracts/capacity-usage.js +0 -6
  397. package/dist/market-client/capacity/accounting/lifecycle/decide-capacity-overrun.d.ts +0 -4
  398. package/dist/market-client/capacity/accounting/lifecycle/decide-capacity-overrun.js +0 -6
  399. package/dist/market-client/capacity/admission/contracts/team-capacity-registration-key.d.ts +0 -2
  400. package/dist/market-client/capacity/admission/contracts/team-capacity-registration-key.js +0 -6
  401. package/dist/market-client/capacity/admission/lifecycle/enable-team-capacity-registration-key.d.ts +0 -2
  402. package/dist/market-client/capacity/admission/lifecycle/enable-team-capacity-registration-key.js +0 -6
  403. package/dist/market-client/capacity/admission/lifecycle/reveal-team-capacity-registration-key.d.ts +0 -2
  404. package/dist/market-client/capacity/admission/lifecycle/reveal-team-capacity-registration-key.js +0 -6
  405. package/dist/market-client/capacity/admission/retirement/disable-team-capacity-registration-key.d.ts +0 -2
  406. package/dist/market-client/capacity/admission/retirement/disable-team-capacity-registration-key.js +0 -6
  407. package/dist/market-client/capacity/admission/updates/rotate-team-capacity-registration-key.d.ts +0 -2
  408. package/dist/market-client/capacity/admission/updates/rotate-team-capacity-registration-key.js +0 -6
  409. package/dist/market-client/capacity/admission/updates/update-team-capacity-registration-key-status.d.ts +0 -2
  410. package/dist/market-client/capacity/admission/updates/update-team-capacity-registration-key-status.js +0 -6
  411. package/dist/market-client/capacity/allocations/contracts/capacity-allocation-set.d.ts +0 -2
  412. package/dist/market-client/capacity/allocations/contracts/capacity-allocation-set.js +0 -6
  413. package/dist/market-client/capacity/allocations/contracts/capacity-allocation-sets.d.ts +0 -5
  414. package/dist/market-client/capacity/allocations/contracts/capacity-allocation-sets.js +0 -11
  415. package/dist/market-client/capacity/allocations/contracts/capacity-grant.d.ts +0 -2
  416. package/dist/market-client/capacity/allocations/contracts/capacity-grant.js +0 -6
  417. package/dist/market-client/capacity/allocations/contracts/capacity-grants.d.ts +0 -5
  418. package/dist/market-client/capacity/allocations/contracts/capacity-grants.js +0 -11
  419. package/dist/market-client/capacity/allocations/creation/create-capacity-allocation-set.d.ts +0 -2
  420. package/dist/market-client/capacity/allocations/creation/create-capacity-allocation-set.js +0 -6
  421. package/dist/market-client/capacity/allocations/creation/create-capacity-grant.d.ts +0 -2
  422. package/dist/market-client/capacity/allocations/creation/create-capacity-grant.js +0 -6
  423. package/dist/market-client/capacity/allocations/creation/plan-capacity-allocation-set.d.ts +0 -2
  424. package/dist/market-client/capacity/allocations/creation/plan-capacity-allocation-set.js +0 -6
  425. package/dist/market-client/capacity/allocations/creation/plan-capacity-grant.d.ts +0 -2
  426. package/dist/market-client/capacity/allocations/creation/plan-capacity-grant.js +0 -6
  427. package/dist/market-client/capacity/allocations/lifecycle/activate-capacity-allocation-set.d.ts +0 -2
  428. package/dist/market-client/capacity/allocations/lifecycle/activate-capacity-allocation-set.js +0 -6
  429. package/dist/market-client/capacity/allocations/queries/explain-capacity-allocation-set.d.ts +0 -2
  430. package/dist/market-client/capacity/allocations/queries/explain-capacity-allocation-set.js +0 -6
  431. package/dist/market-client/capacity/allocations/retirement/archive-capacity-allocation-set.d.ts +0 -2
  432. package/dist/market-client/capacity/allocations/retirement/archive-capacity-allocation-set.js +0 -6
  433. package/dist/market-client/capacity/allocations/updates/supersede-capacity-allocation-set.d.ts +0 -2
  434. package/dist/market-client/capacity/allocations/updates/supersede-capacity-allocation-set.js +0 -6
  435. package/dist/market-client/capacity/allocations/updates/transition-capacity-grant.d.ts +0 -2
  436. package/dist/market-client/capacity/allocations/updates/transition-capacity-grant.js +0 -6
  437. package/dist/market-client/capacity/assignments/contracts/assignment-authority-probe.d.ts +0 -2
  438. package/dist/market-client/capacity/assignments/contracts/assignment-authority-probe.js +0 -6
  439. package/dist/market-client/capacity/assignments/contracts/capacity-provider-assignment.d.ts +0 -2
  440. package/dist/market-client/capacity/assignments/contracts/capacity-provider-assignment.js +0 -6
  441. package/dist/market-client/capacity/assignments/contracts/capacity-provider-assignments.d.ts +0 -12
  442. package/dist/market-client/capacity/assignments/contracts/capacity-provider-assignments.js +0 -26
  443. package/dist/market-client/capacity/assignments/contracts/decision-assignment-graph.d.ts +0 -2
  444. package/dist/market-client/capacity/assignments/contracts/decision-assignment-graph.js +0 -6
  445. package/dist/market-client/capacity/assignments/contracts/decision-assignment-graphs.d.ts +0 -4
  446. package/dist/market-client/capacity/assignments/contracts/decision-assignment-graphs.js +0 -7
  447. package/dist/market-client/capacity/assignments/contracts/provider-assignment-explanation.d.ts +0 -2
  448. package/dist/market-client/capacity/assignments/contracts/provider-assignment-explanation.js +0 -6
  449. package/dist/market-client/capacity/assignments/lifecycle/admit-capacity-assignment.d.ts +0 -2
  450. package/dist/market-client/capacity/assignments/lifecycle/admit-capacity-assignment.js +0 -6
  451. package/dist/market-client/capacity/assignments/lifecycle/integrate-assignment-content.d.ts +0 -10
  452. package/dist/market-client/capacity/assignments/lifecycle/integrate-assignment-content.js +0 -9
  453. package/dist/market-client/capacity/assignments/lifecycle/requeue-capacity-assignment.d.ts +0 -5
  454. package/dist/market-client/capacity/assignments/lifecycle/requeue-capacity-assignment.js +0 -6
  455. package/dist/market-client/capacity/assignments/retirement/abandon-assignment-content.d.ts +0 -9
  456. package/dist/market-client/capacity/assignments/retirement/abandon-assignment-content.js +0 -9
  457. package/dist/market-client/capacity/assignments/retirement/cancel-capacity-assignment.d.ts +0 -5
  458. package/dist/market-client/capacity/assignments/retirement/cancel-capacity-assignment.js +0 -6
  459. package/dist/market-client/capacity/capacity-core/contracts/capacity-audit-events.d.ts +0 -11
  460. package/dist/market-client/capacity/capacity-core/contracts/capacity-audit-events.js +0 -11
  461. package/dist/market-client/capacity/observability/contracts/agent-lab.d.ts +0 -27
  462. package/dist/market-client/capacity/observability/contracts/agent-lab.js +0 -37
  463. package/dist/market-client/capacity/observability/contracts/capacity-evidence-page.d.ts +0 -7
  464. package/dist/market-client/capacity/observability/contracts/capacity-evidence-page.js +0 -13
  465. package/dist/market-client/capacity/observability/contracts/project-capacity-diagnostics.d.ts +0 -2
  466. package/dist/market-client/capacity/observability/contracts/project-capacity-diagnostics.js +0 -7
  467. package/dist/market-client/capacity/observability/contracts/project-capacity-runtime-diagnostics.d.ts +0 -2
  468. package/dist/market-client/capacity/observability/contracts/project-capacity-runtime-diagnostics.js +0 -7
  469. package/dist/market-client/capacity/planning/contracts/capacity-plan.d.ts +0 -2
  470. package/dist/market-client/capacity/planning/contracts/capacity-plan.js +0 -6
  471. package/dist/market-client/capacity/planning/contracts/decision-capacity-plans.d.ts +0 -4
  472. package/dist/market-client/capacity/planning/contracts/decision-capacity-plans.js +0 -7
  473. package/dist/market-client/capacity/planning/creation/create-decision-capacity-plan.d.ts +0 -2
  474. package/dist/market-client/capacity/planning/creation/create-decision-capacity-plan.js +0 -6
  475. package/dist/market-client/capacity/planning/creation/request-capacity-plan-revision.d.ts +0 -2
  476. package/dist/market-client/capacity/planning/creation/request-capacity-plan-revision.js +0 -6
  477. package/dist/market-client/capacity/planning/lifecycle/accept-capacity-plan.d.ts +0 -2
  478. package/dist/market-client/capacity/planning/lifecycle/accept-capacity-plan.js +0 -6
  479. package/dist/market-client/capacity/planning/lifecycle/schedule-capacity-plan.d.ts +0 -2
  480. package/dist/market-client/capacity/planning/lifecycle/schedule-capacity-plan.js +0 -6
  481. package/dist/market-client/capacity/planning/updates/supersede-capacity-plan.d.ts +0 -2
  482. package/dist/market-client/capacity/planning/updates/supersede-capacity-plan.js +0 -6
  483. package/dist/market-client/capacity/providers/contracts/auth-providers.d.ts +0 -2
  484. package/dist/market-client/capacity/providers/contracts/auth-providers.js +0 -6
  485. package/dist/market-client/capacity/providers/contracts/capacity-provider-credentials.d.ts +0 -6
  486. package/dist/market-client/capacity/providers/contracts/capacity-provider-credentials.js +0 -13
  487. package/dist/market-client/capacity/providers/contracts/capacity-provider-membership.d.ts +0 -2
  488. package/dist/market-client/capacity/providers/contracts/capacity-provider-membership.js +0 -6
  489. package/dist/market-client/capacity/providers/contracts/capacity-provider-memberships.d.ts +0 -7
  490. package/dist/market-client/capacity/providers/contracts/capacity-provider-memberships.js +0 -15
  491. package/dist/market-client/capacity/providers/contracts/capacity-provider-registration-request.d.ts +0 -2
  492. package/dist/market-client/capacity/providers/contracts/capacity-provider-registration-request.js +0 -6
  493. package/dist/market-client/capacity/providers/contracts/capacity-provider-registration-requests.d.ts +0 -6
  494. package/dist/market-client/capacity/providers/contracts/capacity-provider-registration-requests.js +0 -13
  495. package/dist/market-client/capacity/providers/contracts/provider-availability-sessions.d.ts +0 -7
  496. package/dist/market-client/capacity/providers/contracts/provider-availability-sessions.js +0 -16
  497. package/dist/market-client/capacity/providers/lifecycle/authorize-capacity-provider-credential-rotation.d.ts +0 -2
  498. package/dist/market-client/capacity/providers/lifecycle/authorize-capacity-provider-credential-rotation.js +0 -6
  499. package/dist/market-client/capacity/providers/lifecycle/resume-capacity-provider-membership.d.ts +0 -2
  500. package/dist/market-client/capacity/providers/lifecycle/resume-capacity-provider-membership.js +0 -6
  501. package/dist/market-client/capacity/providers/lifecycle/review-capacity-provider-registration.d.ts +0 -5
  502. package/dist/market-client/capacity/providers/lifecycle/review-capacity-provider-registration.js +0 -6
  503. package/dist/market-client/capacity/providers/retirement/revoke-capacity-provider-credential.d.ts +0 -2
  504. package/dist/market-client/capacity/providers/retirement/revoke-capacity-provider-credential.js +0 -6
  505. package/dist/market-client/capacity/providers/retirement/revoke-capacity-provider-membership.d.ts +0 -2
  506. package/dist/market-client/capacity/providers/retirement/revoke-capacity-provider-membership.js +0 -6
  507. package/dist/market-client/capacity/providers/retirement/suspend-capacity-provider-membership.d.ts +0 -2
  508. package/dist/market-client/capacity/providers/retirement/suspend-capacity-provider-membership.js +0 -6
  509. package/dist/market-client/capacity/providers/updates/update-capacity-provider-membership-status.d.ts +0 -2
  510. package/dist/market-client/capacity/providers/updates/update-capacity-provider-membership-status.js +0 -6
  511. package/dist/market-client/capacity/workdays/contracts/workday-events.d.ts +0 -5
  512. package/dist/market-client/capacity/workdays/contracts/workday-events.js +0 -11
  513. package/dist/market-client/capacity/workdays/contracts/workday-run.d.ts +0 -2
  514. package/dist/market-client/capacity/workdays/contracts/workday-run.js +0 -6
  515. package/dist/market-client/capacity/workdays/contracts/workday-runs.d.ts +0 -7
  516. package/dist/market-client/capacity/workdays/contracts/workday-runs.js +0 -16
  517. package/dist/market-client/capacity/workdays/contracts/workday-summary.d.ts +0 -6
  518. package/dist/market-client/capacity/workdays/contracts/workday-summary.js +0 -14
  519. package/dist/market-client/capacity/workdays/contracts/workday.d.ts +0 -2
  520. package/dist/market-client/capacity/workdays/contracts/workday.js +0 -6
  521. package/dist/market-client/capacity/workdays/creation/create-workday-event.d.ts +0 -2
  522. package/dist/market-client/capacity/workdays/creation/create-workday-event.js +0 -6
  523. package/dist/market-client/capacity/workdays/creation/create-workday-run.d.ts +0 -2
  524. package/dist/market-client/capacity/workdays/creation/create-workday-run.js +0 -6
  525. package/dist/market-client/capacity/workdays/creation/create-workday.d.ts +0 -2
  526. package/dist/market-client/capacity/workdays/creation/create-workday.js +0 -6
  527. package/dist/market-client/capacity/workdays/creation/preflight-workday-run.d.ts +0 -2
  528. package/dist/market-client/capacity/workdays/creation/preflight-workday-run.js +0 -6
  529. package/dist/market-client/capacity/workdays/creation/start-workday.d.ts +0 -2
  530. package/dist/market-client/capacity/workdays/creation/start-workday.js +0 -6
  531. package/dist/market-client/capacity/workdays/lifecycle/close-workday-admission.d.ts +0 -29
  532. package/dist/market-client/capacity/workdays/lifecycle/close-workday-admission.js +0 -9
  533. package/dist/market-client/capacity/workdays/lifecycle/complete-workday.d.ts +0 -2
  534. package/dist/market-client/capacity/workdays/lifecycle/complete-workday.js +0 -6
  535. package/dist/market-client/capacity/workdays/lifecycle/pause-workday.d.ts +0 -2
  536. package/dist/market-client/capacity/workdays/lifecycle/pause-workday.js +0 -6
  537. package/dist/market-client/capacity/workdays/lifecycle/resume-workday.d.ts +0 -2
  538. package/dist/market-client/capacity/workdays/lifecycle/resume-workday.js +0 -6
  539. package/dist/market-client/capacity/workdays/lifecycle/tick-workday-run.d.ts +0 -5
  540. package/dist/market-client/capacity/workdays/lifecycle/tick-workday-run.js +0 -6
  541. package/dist/market-client/capacity/workdays/retirement/cancel-workday.d.ts +0 -2
  542. package/dist/market-client/capacity/workdays/retirement/cancel-workday.js +0 -6
  543. package/dist/market-client/capacity/workdays/updates/update-workday-run.d.ts +0 -2
  544. package/dist/market-client/capacity/workdays/updates/update-workday-run.js +0 -6
  545. package/dist/market-client/commerce/catalog/contracts/catalog.d.ts +0 -2
  546. package/dist/market-client/commerce/catalog/contracts/catalog.js +0 -7
  547. package/dist/market-client/discussions/contracts/discussions.d.ts +0 -27
  548. package/dist/market-client/discussions/contracts/discussions.js +0 -21
  549. package/dist/market-client/interface.d.ts +0 -192
  550. package/dist/market-client/interface.js +0 -0
  551. package/dist/market-client/internal-capacity-allocation.d.ts +0 -4
  552. package/dist/market-client/internal-capacity-allocation.js +0 -17
  553. package/dist/market-client/methods.d.ts +0 -2
  554. package/dist/market-client/methods.js +0 -396
  555. package/dist/market-client/operations/contracts/research-workflow.d.ts +0 -2
  556. package/dist/market-client/operations/contracts/research-workflow.js +0 -6
  557. package/dist/market-client/operations/creation/create-research-workflow.d.ts +0 -2
  558. package/dist/market-client/operations/creation/create-research-workflow.js +0 -6
  559. package/dist/market-client/project-agent-interface.d.ts +0 -15
  560. package/dist/market-client/project-agent-interface.js +0 -0
  561. package/dist/market-client/projects/access/contracts/project-access.d.ts +0 -2
  562. package/dist/market-client/projects/access/contracts/project-access.js +0 -6
  563. package/dist/market-client/projects/agents/contracts/agent-deployments.d.ts +0 -34
  564. package/dist/market-client/projects/agents/contracts/agent-deployments.js +0 -22
  565. package/dist/market-client/projects/agents/contracts/project-agent-authoring-draft.d.ts +0 -10
  566. package/dist/market-client/projects/agents/contracts/project-agent-authoring-draft.js +0 -13
  567. package/dist/market-client/projects/agents/contracts/project-agent-class.d.ts +0 -2
  568. package/dist/market-client/projects/agents/contracts/project-agent-class.js +0 -6
  569. package/dist/market-client/projects/agents/contracts/project-agent-classes.d.ts +0 -5
  570. package/dist/market-client/projects/agents/contracts/project-agent-classes.js +0 -11
  571. package/dist/market-client/projects/agents/contracts/project-agent-fallback-outputs.d.ts +0 -8
  572. package/dist/market-client/projects/agents/contracts/project-agent-fallback-outputs.js +0 -17
  573. package/dist/market-client/projects/agents/contracts/project-agent-mode-runs.d.ts +0 -8
  574. package/dist/market-client/projects/agents/contracts/project-agent-mode-runs.js +0 -18
  575. package/dist/market-client/projects/agents/contracts/project-context-query-checks.d.ts +0 -2
  576. package/dist/market-client/projects/agents/contracts/project-context-query-checks.js +0 -6
  577. package/dist/market-client/projects/agents/creation/author-project-agent.d.ts +0 -10
  578. package/dist/market-client/projects/agents/creation/author-project-agent.js +0 -10
  579. package/dist/market-client/projects/agents/creation/author-project-definitions.d.ts +0 -12
  580. package/dist/market-client/projects/agents/creation/author-project-definitions.js +0 -10
  581. package/dist/market-client/projects/agents/creation/check-project-context-query.d.ts +0 -7
  582. package/dist/market-client/projects/agents/creation/check-project-context-query.js +0 -11
  583. package/dist/market-client/projects/agents/creation/create-project-agent-class.d.ts +0 -2
  584. package/dist/market-client/projects/agents/creation/create-project-agent-class.js +0 -6
  585. package/dist/market-client/projects/agents/creation/launch-project-agent-simulation.d.ts +0 -8
  586. package/dist/market-client/projects/agents/creation/launch-project-agent-simulation.js +0 -10
  587. package/dist/market-client/projects/agents/updates/update-project-agent-class.d.ts +0 -2
  588. package/dist/market-client/projects/agents/updates/update-project-agent-class.js +0 -6
  589. package/dist/market-client/projects/knowledge/contracts/project-tree-dx-library.d.ts +0 -2
  590. package/dist/market-client/projects/knowledge/contracts/project-tree-dx-library.js +0 -6
  591. package/dist/market-client/projects/knowledge/contracts/project-tree-dx-proxy-audit.d.ts +0 -7
  592. package/dist/market-client/projects/knowledge/contracts/project-tree-dx-proxy-audit.js +0 -15
  593. package/dist/market-client/projects/knowledge/creation/upsert-project-tree-dx-library.d.ts +0 -3
  594. package/dist/market-client/projects/knowledge/creation/upsert-project-tree-dx-library.js +0 -6
  595. package/dist/market-client/projects/projects-core/contracts/dispatch-project-workflow-operation.d.ts +0 -2
  596. package/dist/market-client/projects/projects-core/contracts/dispatch-project-workflow-operation.js +0 -6
  597. package/dist/market-client/projects/projects-core/contracts/project-deletion-blockers.d.ts +0 -2
  598. package/dist/market-client/projects/projects-core/contracts/project-deletion-blockers.js +0 -6
  599. package/dist/market-client/projects/projects-core/contracts/project-workflow-operations.d.ts +0 -10
  600. package/dist/market-client/projects/projects-core/contracts/project-workflow-operations.js +0 -50
  601. package/dist/market-client/projects/projects-core/contracts/projects.d.ts +0 -2
  602. package/dist/market-client/projects/projects-core/contracts/projects.js +0 -7
  603. package/dist/market-client/projects/projects-core/creation/create-project.d.ts +0 -8
  604. package/dist/market-client/projects/projects-core/creation/create-project.js +0 -6
  605. package/dist/market-client/projects/projects-core/retirement/delete-project.d.ts +0 -2
  606. package/dist/market-client/projects/projects-core/retirement/delete-project.js +0 -6
  607. package/dist/market-client/projects/projects-core/updates/set-project-inventory-status.d.ts +0 -3
  608. package/dist/market-client/projects/projects-core/updates/set-project-inventory-status.js +0 -10
  609. package/dist/market-client/projects/repositories/contracts/project-repository-topology.d.ts +0 -2
  610. package/dist/market-client/projects/repositories/contracts/project-repository-topology.js +0 -6
  611. package/dist/market-client/projects/repositories/updates/update-project-repository-topology.d.ts +0 -3
  612. package/dist/market-client/projects/repositories/updates/update-project-repository-topology.js +0 -6
  613. package/dist/market-client/seeds/creation/apply-seed.d.ts +0 -2
  614. package/dist/market-client/seeds/creation/apply-seed.js +0 -6
  615. package/dist/market-client/seeds/creation/export-seed.d.ts +0 -2
  616. package/dist/market-client/seeds/creation/export-seed.js +0 -6
  617. package/dist/market-client/seeds/creation/plan-seed.d.ts +0 -2
  618. package/dist/market-client/seeds/creation/plan-seed.js +0 -6
  619. package/dist/market-client/seeds/interface.d.ts +0 -10
  620. package/dist/market-client/seeds/interface.js +0 -0
  621. package/dist/market-client/seeds/queries/list-seed-runs.d.ts +0 -2
  622. package/dist/market-client/seeds/queries/list-seed-runs.js +0 -7
  623. package/dist/market-client/seeds/queries/resolve-seed-resources.d.ts +0 -9
  624. package/dist/market-client/seeds/queries/resolve-seed-resources.js +0 -10
  625. package/dist/market-client/support/creation/create-decision-execution-input.d.ts +0 -2
  626. package/dist/market-client/support/creation/create-decision-execution-input.js +0 -6
  627. package/dist/market-client/support/creation/create-personal-theme.d.ts +0 -3
  628. package/dist/market-client/support/creation/create-personal-theme.js +0 -6
  629. package/dist/market-client/support/creation/create-planning-input-request.d.ts +0 -2
  630. package/dist/market-client/support/creation/create-planning-input-request.js +0 -6
  631. package/dist/market-client/support/creation/request-decision-execution-input-revision.d.ts +0 -2
  632. package/dist/market-client/support/creation/request-decision-execution-input-revision.js +0 -6
  633. package/dist/market-client/support/creation/request-first.d.ts +0 -7
  634. package/dist/market-client/support/creation/request-first.js +0 -19
  635. package/dist/market-client/support/delivery/artifact-download.d.ts +0 -2
  636. package/dist/market-client/support/delivery/artifact-download.js +0 -6
  637. package/dist/market-client/support/delivery/deliverable-manifest.d.ts +0 -4
  638. package/dist/market-client/support/delivery/deliverable-manifest.js +0 -14
  639. package/dist/market-client/support/identity/markets.d.ts +0 -2
  640. package/dist/market-client/support/identity/markets.js +0 -6
  641. package/dist/market-client/support/identity/me.d.ts +0 -2
  642. package/dist/market-client/support/identity/me.js +0 -6
  643. package/dist/market-client/support/identity/personal-themes.d.ts +0 -2
  644. package/dist/market-client/support/identity/personal-themes.js +0 -6
  645. package/dist/market-client/support/identity/web-sign-in.d.ts +0 -7
  646. package/dist/market-client/support/identity/web-sign-in.js +0 -9
  647. package/dist/market-client/support/identity/web-sign-up.d.ts +0 -9
  648. package/dist/market-client/support/identity/web-sign-up.js +0 -9
  649. package/dist/market-client/support/lifecycle/accept-decision-execution-input.d.ts +0 -2
  650. package/dist/market-client/support/lifecycle/accept-decision-execution-input.js +0 -6
  651. package/dist/market-client/support/planning/decision-execution-inputs.d.ts +0 -4
  652. package/dist/market-client/support/planning/decision-execution-inputs.js +0 -7
  653. package/dist/market-client/support/planning/decision-planning-status.d.ts +0 -2
  654. package/dist/market-client/support/planning/decision-planning-status.js +0 -6
  655. package/dist/market-client/support/planning/decision-structured-estimates.d.ts +0 -2
  656. package/dist/market-client/support/planning/decision-structured-estimates.js +0 -7
  657. package/dist/market-client/support/planning/execution-runs.d.ts +0 -12
  658. package/dist/market-client/support/planning/execution-runs.js +0 -11
  659. package/dist/market-client/support/preferences/request.d.ts +0 -7
  660. package/dist/market-client/support/preferences/request.js +0 -36
  661. package/dist/market-client/support/queries/current-market.d.ts +0 -2
  662. package/dist/market-client/support/queries/current-market.js +0 -6
  663. package/dist/market-client/support/retirement/delete-personal-theme.d.ts +0 -2
  664. package/dist/market-client/support/retirement/delete-personal-theme.js +0 -6
  665. package/dist/market-client/support/updates/update-personal-theme.d.ts +0 -3
  666. package/dist/market-client/support/updates/update-personal-theme.js +0 -6
  667. package/dist/market-client/support/updates/update-web-profile.d.ts +0 -5
  668. package/dist/market-client/support/updates/update-web-profile.js +0 -10
  669. package/dist/market-client/teams/contracts/team-deletion-blockers.d.ts +0 -2
  670. package/dist/market-client/teams/contracts/team-deletion-blockers.js +0 -6
  671. package/dist/market-client/teams/contracts/team-members.d.ts +0 -2
  672. package/dist/market-client/teams/contracts/team-members.js +0 -6
  673. package/dist/market-client/teams/contracts/team-permissions.d.ts +0 -2
  674. package/dist/market-client/teams/contracts/team-permissions.js +0 -6
  675. package/dist/market-client/teams/contracts/teams.d.ts +0 -2
  676. package/dist/market-client/teams/contracts/teams.js +0 -6
  677. package/dist/market-client/teams/creation/create-team.d.ts +0 -6
  678. package/dist/market-client/teams/creation/create-team.js +0 -10
  679. package/dist/market-client/teams/lifecycle/team-lifecycle.d.ts +0 -22
  680. package/dist/market-client/teams/lifecycle/team-lifecycle.js +0 -30
  681. package/dist/market-client/treedx/graph/contracts/tree-dx-build-context.d.ts +0 -2
  682. package/dist/market-client/treedx/graph/contracts/tree-dx-build-context.js +0 -6
  683. package/dist/market-client/treedx/repositories/contracts/team-tree-dx.d.ts +0 -2
  684. package/dist/market-client/treedx/repositories/contracts/team-tree-dx.js +0 -6
  685. package/dist/market-client/treedx/repositories/contracts/tree-dx-mirrors.d.ts +0 -2
  686. package/dist/market-client/treedx/repositories/contracts/tree-dx-mirrors.js +0 -6
  687. package/dist/market-client/treedx/repositories/contracts/tree-dx-read-repository-files.d.ts +0 -2
  688. package/dist/market-client/treedx/repositories/contracts/tree-dx-read-repository-files.js +0 -6
  689. package/dist/market-client/treedx/repositories/contracts/tree-dx-shares.d.ts +0 -2
  690. package/dist/market-client/treedx/repositories/contracts/tree-dx-shares.js +0 -6
  691. package/dist/market-client/treedx/repositories/creation/create-tree-dx-mirror.d.ts +0 -3
  692. package/dist/market-client/treedx/repositories/creation/create-tree-dx-mirror.js +0 -6
  693. package/dist/market-client/treedx/repositories/creation/create-tree-dx-share.d.ts +0 -3
  694. package/dist/market-client/treedx/repositories/creation/create-tree-dx-share.js +0 -6
  695. package/dist/market-client/treedx/repositories/creation/create-tree-dx-workspace.d.ts +0 -2
  696. package/dist/market-client/treedx/repositories/creation/create-tree-dx-workspace.js +0 -6
  697. package/dist/market-client/treedx/repositories/creation/provision-team-tree-dx.d.ts +0 -2
  698. package/dist/market-client/treedx/repositories/creation/provision-team-tree-dx.js +0 -6
  699. package/dist/market-client/treedx/repositories/updates/sync-tree-dx-mirror.d.ts +0 -2
  700. package/dist/market-client/treedx/repositories/updates/sync-tree-dx-mirror.js +0 -6
  701. package/dist/market-client/treedx/repositories/updates/update-team-tree-dx.d.ts +0 -3
  702. package/dist/market-client/treedx/repositories/updates/update-team-tree-dx.js +0 -6
  703. package/dist/operations/platform-operation-store.d.ts +0 -2
  704. package/dist/operations/platform-operation-store.js +0 -2
  705. package/dist/operations/platform-operations.d.ts +0 -3
  706. package/dist/operations/platform-operations.js +0 -3
  707. package/dist/operations/services/support/market-packaging.d.ts +0 -43
  708. package/dist/operations/services/support/market-packaging.js +0 -169
  709. package/dist/platform-operation-store/database-provider.d.ts +0 -44
  710. package/dist/platform-operation-store/database-provider.js +0 -205
  711. package/dist/platform-operation-store/platform-operation-store.d.ts +0 -56
  712. package/dist/platform-operation-store/platform-operation-store.js +0 -224
  713. package/dist/platform-operations/nested-record.d.ts +0 -21
  714. package/dist/platform-operations/nested-record.js +0 -262
  715. package/dist/platform-operations/platform-operation-endpoints.d.ts +0 -208
  716. package/dist/platform-operations/platform-operation-endpoints.js +0 -71
  717. package/dist/platform-operations/platform-runner-client.d.ts +0 -52
  718. package/dist/platform-operations/platform-runner-client.js +0 -143
  719. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-cleanup.d.ts +0 -55
  720. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-cleanup.js +0 -103
  721. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-competition.d.ts +0 -29
  722. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-competition.js +0 -179
  723. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-context.d.ts +0 -132
  724. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-context.js +0 -388
  725. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-executor.d.ts +0 -50
  726. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-executor.js +0 -0
  727. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-governance.d.ts +0 -65
  728. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-governance.js +0 -206
  729. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-guards.d.ts +0 -19
  730. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-guards.js +0 -36
  731. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-proof.d.ts +0 -14
  732. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-proof.js +0 -514
  733. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-scope.d.ts +0 -14
  734. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-scope.js +0 -122
  735. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-terminal.d.ts +0 -17
  736. package/dist/reconcile/capacity/capacity-core/live-acceptance-capacity-terminal.js +0 -101
  737. package/dist/reconcile/capacity/providers/live-acceptance-provider-config.d.ts +0 -1
  738. package/dist/reconcile/capacity/providers/live-acceptance-provider-config.js +0 -20
  739. package/dist/reconcile/hosting/live-acceptance-cloudflare-client.d.ts +0 -29
  740. package/dist/reconcile/hosting/live-acceptance-cloudflare-client.js +0 -119
  741. package/dist/reconcile/hosting/live-acceptance-cloudflare.d.ts +0 -14
  742. package/dist/reconcile/hosting/live-acceptance-cloudflare.js +0 -316
  743. package/dist/reconcile/hosting/live-acceptance-railway.d.ts +0 -14
  744. package/dist/reconcile/hosting/live-acceptance-railway.js +0 -420
  745. package/dist/reconcile/repositories/live-acceptance-github-client.d.ts +0 -6
  746. package/dist/reconcile/repositories/live-acceptance-github-client.js +0 -42
  747. package/dist/reconcile/repositories/live-acceptance-github.d.ts +0 -12
  748. package/dist/reconcile/repositories/live-acceptance-github.js +0 -301
  749. package/dist/reconcile/runtime/live-acceptance-local.d.ts +0 -16
  750. package/dist/reconcile/runtime/live-acceptance-local.js +0 -260
  751. package/dist/reconcile/runtime/live-acceptance-runtime.d.ts +0 -67
  752. package/dist/reconcile/runtime/live-acceptance-runtime.js +0 -324
  753. package/dist/reconcile/runtime/live-acceptance-starter-runtime.d.ts +0 -123
  754. package/dist/reconcile/runtime/live-acceptance-starter-runtime.js +0 -439
  755. package/dist/reconcile/support/acceptance/live-acceptance-starter-concurrency.d.ts +0 -19
  756. package/dist/reconcile/support/acceptance/live-acceptance-starter-concurrency.js +0 -128
  757. package/dist/reconcile/support/acceptance/live-acceptance-starter-engineering.d.ts +0 -18
  758. package/dist/reconcile/support/acceptance/live-acceptance-starter-engineering.js +0 -264
  759. package/dist/reconcile/support/acceptance/live-acceptance-starter-planning.d.ts +0 -44
  760. package/dist/reconcile/support/acceptance/live-acceptance-starter-planning.js +0 -154
  761. package/dist/reconcile/support/acceptance/live-acceptance-starters.d.ts +0 -51
  762. package/dist/reconcile/support/acceptance/live-acceptance-starters.js +0 -12
  763. package/dist/reconcile/support/acceptance/live-acceptance-values.d.ts +0 -2
  764. package/dist/reconcile/support/acceptance/live-acceptance-values.js +0 -10
  765. package/dist/reconcile/support/acceptance/live-acceptance-worktree-cleanup.d.ts +0 -7
  766. package/dist/reconcile/support/acceptance/live-acceptance-worktree-cleanup.js +0 -38
  767. package/dist/reconcile/support/acceptance/live-acceptance.d.ts +0 -102
  768. package/dist/reconcile/support/acceptance/live-acceptance.js +0 -322
  769. package/dist/scenes/agent-lab/activity-collector.d.ts +0 -114
  770. package/dist/scenes/agent-lab/activity-collector.js +0 -394
  771. package/dist/scenes/agent-lab/production-lifecycle.d.ts +0 -18
  772. package/dist/scenes/agent-lab/production-lifecycle.js +0 -573
  773. package/dist/scenes/agent-lab/profile-input-seed.d.ts +0 -23
  774. package/dist/scenes/agent-lab/profile-input-seed.js +0 -41
  775. package/dist/scenes/agent-lab/report-adapters.d.ts +0 -3
  776. package/dist/scenes/agent-lab/report-adapters.js +0 -33
  777. package/dist/scenes/agent-lab/report-model.d.ts +0 -122
  778. package/dist/scenes/agent-lab/report-model.js +0 -194
  779. package/dist/scenes/agent-lab/report-writer.d.ts +0 -14
  780. package/dist/scenes/agent-lab/report-writer.js +0 -143
  781. package/dist/scenes/agent-lab/run-agent-lab-scene.d.ts +0 -6
  782. package/dist/scenes/agent-lab/run-agent-lab-scene.js +0 -122
  783. package/dist/scenes/agent-lab/runtime/diagnostics.d.ts +0 -7
  784. package/dist/scenes/agent-lab/runtime/diagnostics.js +0 -42
  785. package/dist/scenes/agent-lab/runtime/metadata.d.ts +0 -7
  786. package/dist/scenes/agent-lab/runtime/metadata.js +0 -19
  787. package/dist/scenes/agent-lab/runtime/team-scope.d.ts +0 -29
  788. package/dist/scenes/agent-lab/runtime/team-scope.js +0 -54
  789. package/dist/scenes/agent-lab/semantic-artifact-assertions.d.ts +0 -29
  790. package/dist/scenes/agent-lab/semantic-artifact-assertions.js +0 -66
  791. package/dist/scenes/agent-lab/terminal-verification.d.ts +0 -17
  792. package/dist/scenes/agent-lab/terminal-verification.js +0 -31
  793. package/dist/scenes/agent-lab/viewer/runtime.d.ts +0 -1
  794. package/dist/scenes/agent-lab/viewer/runtime.js +0 -576
  795. package/dist/scenes/agent-lab/viewer/styles.d.ts +0 -1
  796. package/dist/scenes/agent-lab/viewer/styles.js +0 -28
  797. package/dist/scenes/agent-lab/workday-snapshot.d.ts +0 -116
  798. package/dist/scenes/agent-lab/workday-snapshot.js +0 -153
  799. package/dist/scenes/testing/visual-audit-fixtures.d.ts +0 -25
  800. package/dist/scenes/testing/visual-audit-fixtures.js +0 -299
  801. package/dist/scripts/maintenance/repair-extracted-class-interfaces.js +0 -36
  802. package/dist/scripts/testing/test-live-acceptance-cleanup-service.js +0 -57
  803. package/dist/sdk-types/commerce/capacity/commerce-capacity-listing-input.d.ts +0 -250
  804. package/dist/sdk-types/commerce/capacity/commerce-capacity-listing-input.js +0 -0
  805. package/dist/sdk-types/commerce/catalog/upsert-catalog-item-request.js +0 -0
  806. package/dist/sdk-types/commerce/governance/commerce-governance-states.d.ts +0 -42
  807. package/dist/sdk-types/commerce/governance/commerce-governance-states.js +0 -198
  808. package/dist/sdk-types/commerce/payments/commerce-entitlement.d.ts +0 -244
  809. package/dist/sdk-types/commerce/payments/commerce-entitlement.js +0 -0
  810. package/dist/sdk-types/commerce/payments/commerce-subscription-statuses.d.ts +0 -77
  811. package/dist/sdk-types/commerce/payments/commerce-subscription-statuses.js +0 -166
  812. package/dist/sdk-types/commerce/services/commerce-service-contract.d.ts +0 -247
  813. package/dist/sdk-types/commerce/services/commerce-service-contract.js +0 -0
  814. package/dist/sdk-types/commerce/vendors/commerce-stripe-onboarding-request-input.d.ts +0 -233
  815. package/dist/sdk-types/commerce/vendors/commerce-stripe-onboarding-request-input.js +0 -0
  816. package/dist/seeds/runtime/local-capacity.d.ts +0 -65
  817. package/dist/seeds/runtime/local-capacity.js +0 -402
  818. package/dist/seeds/workspaces/gateway-contract-migration.d.ts +0 -31
  819. package/dist/seeds/workspaces/gateway-contract-migration.js +0 -176
  820. package/dist/seeds/workspaces/market-api-workspace.d.ts +0 -60
  821. package/dist/seeds/workspaces/market-api-workspace.js +0 -528
  822. /package/dist/operations/services/config-runtime/{commerce/catalog/resolve-template-catalog-endpoint.js → templates/catalog/template-catalog-settings.js} +0 -0
  823. /package/dist/{api/types.js → sdk-types/control-plane/resource-requests.js} +0 -0
  824. /package/dist/{commerce/catalog → templates}/template-catalog.js +0 -0
  825. /package/dist/workflow/operations/{commerce/catalog → release-support/helpers}/back-merge-production-into-staging.js +0 -0
  826. /package/dist/workflow/operations/{commerce/catalog → release-support/helpers}/run-release-production-guarantees.js +0 -0
@@ -7,8 +7,8 @@ import { collectInternalDevReferenceIssues } from "../../../operations/services/
7
7
  import { discoverPackageAdapters } from "../../../operations/services/reconciliation/package-adapters.js";
8
8
  import { incrementVersion, planWorkspaceReleaseBump } from "../../../operations/services/treedx/workspaces/workspace-save.js";
9
9
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
10
- import { orderReleasePackageNames, parseProofOlderThan, releaseCandidateProofDriver, stableDependencyVersionsForReleaseLine } from "../commerce/catalog/back-merge-production-into-staging.js";
11
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
10
+ import { orderReleasePackageNames, parseProofOlderThan, releaseCandidateProofDriver, stableDependencyVersionsForReleaseLine } from "../release-support/helpers/back-merge-production-into-staging.js";
11
+ import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
12
12
  import { planRootPackageVersion, releaseTagExists } from "../packages/plan-root-package-version.js";
13
13
  import { createNextSteps } from "../packages/release-admin-message.js";
14
14
  import { toError } from "../support/workflow-helpers.js";
@@ -2,7 +2,7 @@ import { createBranchPreviewDeployTarget, loadDeployState } from "../../../opera
2
2
  import { loadPlatformConfig } from "../../../platform/configuration/config.js";
3
3
  import { compileDesiredResourceGraph, compileDesiredUnitsFromGraph } from "../../../platform/reconciliation/desired-state.js";
4
4
  import { destroyTargetUnits, planReconciliation, reconcileTarget } from "../../../reconcile/index.js";
5
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
5
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
6
6
  import { sleep } from "../support/workflow-helpers.js";
7
7
  import { verifyDockerHubArtifact, verifyGitHubTagArtifact, verifyNpmArtifact, verifySimpleRegistryArtifact } from "./collect-release-plan-blockers.js";
8
8
  async function collectPublishedReleaseArtifactChecks(selectedVersions) {
@@ -4,7 +4,7 @@ import { STAGING_BRANCH } from "../../../operations/services/operations/git-work
4
4
  import { resolveGitHubRepositorySlug } from "../../../operations/services/repositories/github-automation.js";
5
5
  import { collectPublicPackageReleaseLineState } from "../../../operations/services/treedx/workspaces/workspace-save.js";
6
6
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
7
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
7
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
8
8
  import { validatePackageReleaseWorkflows } from "../recovery/fail-workflow-run.js";
9
9
  import { stringRecord } from "../repositories/gates-for-saved-repository-reports.js";
10
10
  function collectReleasePlanBlockers(session, mode, selectedPackageNames, options = {}) {
@@ -6,7 +6,7 @@ import { formatGitHubActionsGateFailure, isRetryableGitHubActionsSetupFailure, r
6
6
  import { resolveGitHubRepositorySlug } from "../../../operations/services/repositories/github-automation.js";
7
7
  import { cacheWorkflowGateResult, getCachedSuccessfulWorkflowGate } from "../../runs.js";
8
8
  import { effectiveWorkflowWorktreeMode, isManagedWorkflowWorktree, managedWorkflowWorktreeMetadata } from "../../worktrees.js";
9
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
9
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
10
10
  import { normalizeSaveLane } from "../recovery/workflow-write.js";
11
11
  import { githubRepositoryForRepo } from "./release-admin-message.js";
12
12
  function normalizeReleaseCandidateMode(mode, operation, lane = "fast") {
@@ -1,7 +1,7 @@
1
1
  import type { WorkflowContext } from "../../../operations/workflow.js";
2
2
  import { type WorkflowRunCommand, type WorkflowRunJournal, type WorkflowRunStep } from "../../runs.js";
3
3
  import { type WorkflowSession } from "../../session.js";
4
- import { WorkflowRepoReport } from '../commerce/catalog/run-release-production-guarantees.js';
4
+ import { WorkflowRepoReport } from '../release-support/helpers/run-release-production-guarantees.js';
5
5
  export declare function prepareFreshReleaseRun(root: string, branch: string | null, rootRepo: WorkflowRepoReport, packageReports: WorkflowRepoReport[]): {
6
6
  archived: {
7
7
  runId: string;
@@ -4,7 +4,7 @@ import { PRODUCTION_BRANCH, remoteHeadCommit, STAGING_BRANCH } from "../../../op
4
4
  import { hasMeaningfulChanges } from "../../../operations/services/treedx/workspaces/workspace-save.js";
5
5
  import { acquireWorkflowLock, archiveWorkflowRun, classifyWorkflowRunJournal, createWorkflowRunJournal, generateWorkflowRunId, listInterruptedWorkflowRuns, readWorkflowRunJournal, refreshWorkflowLock, releaseWorkflowLock, updateWorkflowRunJournal } from "../../runs.js";
6
6
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
7
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
7
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
8
8
  import { nextPendingJournalStep, workflowSessionSnapshot } from "../support/workflow-helpers.js";
9
9
  import { tagCommitSha } from "../recovery/fail-workflow-run.js";
10
10
  import { releasePlanHead, releasePlanMatchesCurrentHeads, releaseRunHasCompletedMutation, stringRecord } from "../repositories/gates-for-saved-repository-reports.js";
@@ -35,7 +35,7 @@ export declare function shouldInspectPackageCi(input: {
35
35
  headAlreadyOnStaging: boolean;
36
36
  }): boolean;
37
37
  export declare function ciTargetsForSession(session: WorkflowSession, input: CiInput): {
38
- scope: "root" | "packages" | "workspace";
38
+ scope: "root" | "workspace" | "packages";
39
39
  targets: GitHubActionsVerificationTarget[];
40
40
  };
41
41
  export declare function createCiResult(cwd: string, input: CiInput): Promise<WorkflowResult<CiResult>>;
@@ -12,7 +12,7 @@ import { resolveWorkflowState } from "../../../operations/workflow-state.js";
12
12
  import { loadPlatformConfig } from "../../../platform/configuration/config.js";
13
13
  import { readWorkflowRunJournal } from "../../runs.js";
14
14
  import { checkedOutWorkspacePackageRepos, resolveWorkflowSession } from "../../session.js";
15
- import { ageDays, renderWorkflowStep } from "../commerce/catalog/run-release-production-guarantees.js";
15
+ import { ageDays, renderWorkflowStep } from "../release-support/helpers/run-release-production-guarantees.js";
16
16
  import { stringRecord } from "../repositories/gates-for-saved-repository-reports.js";
17
17
  import { buildWorkflowResult, submodulePointerForRef } from "../support/create-repo-report.js";
18
18
  function releaseAdminMessage(input) {
@@ -8,7 +8,7 @@ import { configuredRailwayServices, waitForRailwayManagedDeploymentsSettled } fr
8
8
  import { discoverPackageAdapters } from "../../../operations/services/reconciliation/package-adapters.js";
9
9
  import { highestStableGitTagOnLine } from "../../../operations/services/treedx/workspaces/workspace-save.js";
10
10
  import { collectReconcileStatus, reconcileTarget } from "../../../reconcile/index.js";
11
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
11
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
12
12
  import { selectorFromWorkflowHostingGraph } from "../packages/normalize-release-candidate-mode.js";
13
13
  import { stringRecord } from "../repositories/gates-for-saved-repository-reports.js";
14
14
  async function reconcileSaveHostedEnvironment(root, environment, helpers, workflowRunId, operation = "save", envOverlay = {}, options = {}) {
@@ -1,6 +1,6 @@
1
1
  import { compileDesiredResourceGraph, compileDesiredUnitsFromGraph } from "../../../platform/reconciliation/desired-state.js";
2
2
  import { planReconciliation, reconcileTarget } from "../../../reconcile/index.js";
3
- import { withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
3
+ import { withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
4
4
  import { createNextSteps } from "../packages/release-admin-message.js";
5
5
  import { buildWorkflowResult, normalizeExecutionMode } from "../support/create-repo-report.js";
6
6
  async function runReleaseGateReconcileFacade(operation, helpers, root, target, input, extraPayload = {}) {
@@ -6,7 +6,7 @@ import { discoverPackageAdapters } from "../../../operations/services/reconcilia
6
6
  import { run } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
7
7
  import { releaseWorkflowLock, updateWorkflowRunJournal } from "../../runs.js";
8
8
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
9
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
9
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
10
10
  import { hostedDeployGate } from "../packages/normalize-release-candidate-mode.js";
11
11
  import { workflowFileExists } from "../support/workflow-helpers.js";
12
12
  import { WorkflowError, runGit } from "./workflow-write.js";
@@ -1,7 +1,7 @@
1
1
  import { existsSync } from "node:fs";
2
2
  import { archiveWorkflowRun, classifyWorkflowRunJournal, countWorkflowRunJournals, inspectWorkflowLock, listRecentWorkflowRunJournals, listWorkflowRunJournals, readWorkflowRunJournal, releaseWorkflowLock, updateWorkflowRunJournal } from "../../runs.js";
3
3
  import { resolveWorkflowSession } from "../../session.js";
4
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
4
+ import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
5
5
  import { workflowDestroy } from "../coordination/workflow-destroy.js";
6
6
  import { helpersForCwd } from "../packages/normalize-release-candidate-mode.js";
7
7
  import { acceptedPublishedReleaseHeads } from "../packages/prepare-fresh-release-run.js";
@@ -6,8 +6,8 @@ import { repoRoot } from "../../../operations/services/treedx/workspaces/workspa
6
6
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
7
7
  import { readWorkflowRunJournal } from "../../runs.js";
8
8
  import { checkedOutWorkspacePackageRepos, resolveWorkflowSession } from "../../session.js";
9
- import { backMergeProductionIntoStaging, backMergeRootProductionIntoStaging, collectReleaseHelperRepoBlockers, releaseHelperRepoToProduction, releasePlanPackageSelection, releasePlanStableDependencyVersionMap, releasePlanVersionMap } from "../commerce/catalog/back-merge-production-into-staging.js";
10
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
9
+ import { backMergeProductionIntoStaging, backMergeRootProductionIntoStaging, collectReleaseHelperRepoBlockers, releaseHelperRepoToProduction, releasePlanPackageSelection, releasePlanStableDependencyVersionMap, releasePlanVersionMap } from "../release-support/helpers/back-merge-production-into-staging.js";
10
+ import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
11
11
  import { checkedOutReleaseHelperRepos, readJsonFile, stageCandidateAttestationBlockers, syncAllCheckedOutReleaseHelperRepos } from "../coordination/staging-candidate-workflow-gates.js";
12
12
  import { buildReleasePlanSnapshot } from "../guarantees/workflow-proof.js";
13
13
  import { verifyPublishedReleaseArtifacts } from "../packages/collect-published-release-artifact-checks.js";
@@ -3,6 +3,7 @@ import { type ReleaseHistorySummary } from "../../../../operations/services/pack
3
3
  import { type ManagedRepository } from "../../../../operations/services/support/managed-repositories.js";
4
4
  import type { WorkflowOperationId } from "../../../../operations/workflow.js";
5
5
  import { ReleaseCandidateMode } from '../../recovery/workflow-write.js';
6
+ /** Reconcile the accepted production branch back into staging. */
6
7
  export declare function backMergeProductionIntoStaging(repoDir: string, repoName: string, message?: string): {
7
8
  status: string;
8
9
  merged: boolean;
@@ -1,5 +1,6 @@
1
1
  import type { ConfigInput, WorkflowContext, WorkflowNextStep, WorkflowOperationId } from "../../../../operations/workflow.js";
2
2
  import { WorkflowErrorCode, WorkflowOperationHelpers } from '../../recovery/workflow-write.js';
3
+ /** Execute the production evidence gates for a governed release. */
3
4
  export declare function runReleaseProductionGuarantees(root: string, helpers: WorkflowOperationHelpers, operation: Extract<WorkflowOperationId, 'release'>, sceneArtifacts?: 'full' | 'screenshots'): Promise<{
4
5
  ok: true;
5
6
  environment: string;
@@ -1,7 +1,7 @@
1
1
  import { type RepositorySaveReport } from "../../../operations/services/repositories/repository-save-orchestrator.js";
2
2
  import { type WorkspaceLinksMode } from "../../../operations/services/treedx/workspaces/workspace-dependency-mode.js";
3
3
  import { type WorkflowRunJournal } from "../../runs.js";
4
- import { WorkflowRepoReport } from '../commerce/catalog/run-release-production-guarantees.js';
4
+ import { WorkflowRepoReport } from '../release-support/helpers/run-release-production-guarantees.js';
5
5
  import { DiscoveredPackageAdapter } from '../support/workflow-helpers.js';
6
6
  import { WorkflowOperationHelpers } from '../recovery/workflow-write.js';
7
7
  export declare function gatesForSavedRepositoryReports(root: string, reports: RepositorySaveReport[]): {
@@ -5,7 +5,7 @@ import { discoverPackageAdapters } from "../../../operations/services/reconcilia
5
5
  import { currentBranch, repoRoot } from "../../../operations/services/treedx/workspaces/workspace-save.js";
6
6
  import { archiveWorkflowRun, classifyWorkflowRunJournal, listInterruptedWorkflowRuns } from "../../runs.js";
7
7
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
8
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
8
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
9
9
  import { hostedWorkflowsForSavedRepository } from "../support/workflow-helpers.js";
10
10
  import { ensureWorkflowWorkspaceLinks, runGit } from "../recovery/workflow-write.js";
11
11
  function gatesForSavedRepositoryReports(root, reports) {
@@ -1,7 +1,7 @@
1
1
  import { type HostingAuditEnvironment } from "../../../operations/services/hosting/audit/hosting-audit.js";
2
2
  import { type WorkflowTiming } from "../../../operations/services/operations/workflow-timing.js";
3
3
  import type { WorkflowExecutionMode, WorkflowFact, WorkflowNextStep, WorkflowOperationId, WorkflowRecovery, WorkflowResult } from "../../../operations/workflow.js";
4
- import { WorkflowRepoReport } from '../commerce/catalog/run-release-production-guarantees.js';
4
+ import { WorkflowRepoReport } from '../release-support/helpers/run-release-production-guarantees.js';
5
5
  import { WorkflowOperationHelpers, WorkflowStatePayload } from '../recovery/workflow-write.js';
6
6
  export declare function createRepoReport(name: string, path: string, branch: string | null, dirty: boolean): WorkflowRepoReport;
7
7
  export declare function createWorkspaceRootRepoReport(root: string): WorkflowRepoReport;
@@ -5,7 +5,7 @@ import { createWorkflowTimer } from "../../../operations/services/operations/wor
5
5
  import { checkedOutManagedWorkflowRepos } from "../../../operations/services/support/managed-repositories.js";
6
6
  import { currentBranch, gitStatusPorcelain, hasMeaningfulChanges, repoRoot } from "../../../operations/services/treedx/workspaces/workspace-save.js";
7
7
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
8
- import { resolveWorkflowStateSnapshot, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
8
+ import { resolveWorkflowStateSnapshot, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
9
9
  import { runGit } from "../recovery/workflow-write.js";
10
10
  function createRepoReport(name, path, branch, dirty) {
11
11
  return {
@@ -1,7 +1,7 @@
1
1
  import { type WorkflowStatusOptions } from "../../../operations/workflow-state.js";
2
2
  import type { WorkflowOperationId } from "../../../operations/workflow.js";
3
3
  import { type WorkflowRunCommand } from "../../runs.js";
4
- import { WorkflowRepoReport } from '../commerce/catalog/run-release-production-guarantees.js';
4
+ import { WorkflowRepoReport } from '../release-support/helpers/run-release-production-guarantees.js';
5
5
  import { WorkflowOperationHelpers } from '../recovery/workflow-write.js';
6
6
  export declare function syncCurrentBranchToOrigin(operation: WorkflowOperationId, repoDir: string, branch: string): {
7
7
  remoteBranchExisted: boolean;
@@ -4,7 +4,7 @@ import { collectMergeConflictReport, currentBranch, formatMergeConflictReport, h
4
4
  import { changedWorkspacePackages, publishableWorkspacePackages, run, sortWorkspacePackages, workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
5
5
  import { resolveWorkflowPaths } from "../../policy.js";
6
6
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
7
- import { resolveProjectRootOrThrow, resolveRepoState, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
7
+ import { resolveProjectRootOrThrow, resolveRepoState, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
8
8
  import { createStatusResult } from "../packages/release-admin-message.js";
9
9
  import { runGit, WorkflowError } from "../recovery/workflow-write.js";
10
10
  import { workflowSave } from "../workspace-lifecycle/workflow-save.js";
@@ -1,6 +1,6 @@
1
1
  import { runGitOk, runRepositoryGit } from "../../../operations/services/operations/git-runner.js";
2
2
  import { repoRoot } from "../../../operations/services/treedx/workspaces/workspace-save.js";
3
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
3
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
4
4
  import { WorkflowError } from "../recovery/workflow-write.js";
5
5
  import { gitOutput, localRemoteRefExists, sourceBranchExists, updateChangedFiles, updateConflictedFiles, updateHead, updateStatusLines } from "../workspace-lifecycle/workflow-switch.js";
6
6
  import { resolveGeneratedDependencyMergeConflict } from "./resolve-generated-dependency-conflict.js";
@@ -5,7 +5,7 @@ import { discoverPackageAdapters } from "../../../operations/services/reconcilia
5
5
  import { hasMeaningfulChanges, repoRoot } from "../../../operations/services/treedx/workspaces/workspace-save.js";
6
6
  import { archiveWorkflowRun, classifyWorkflowRunJournal, listInterruptedWorkflowRuns } from "../../runs.js";
7
7
  import { checkedOutWorkspacePackageRepos } from "../../session.js";
8
- import { workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
8
+ import { workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
9
9
  import { WorkflowError, runGit } from "../recovery/workflow-write.js";
10
10
  import { packageHostedVerifyWorkflow } from "../repositories/gates-for-saved-repository-reports.js";
11
11
  function maybePrint(write, line, stream = "stdout") {
@@ -4,7 +4,7 @@ import { currentBranch, hasMeaningfulChanges } from "../../../operations/service
4
4
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
5
5
  import { resolveWorkflowSession } from "../../session.js";
6
6
  import { isManagedWorkflowWorktree, managedWorkflowWorktreeMetadata, removeManagedWorkflowWorktree } from "../../worktrees.js";
7
- import { resolveProjectRootOrThrow, withContextEnv } from "../commerce/catalog/run-release-production-guarantees.js";
7
+ import { resolveProjectRootOrThrow, withContextEnv } from "../release-support/helpers/run-release-production-guarantees.js";
8
8
  import { assertSessionBranchSafety, destroyWorkflowBranchPreviewIfPresent } from "../packages/collect-published-release-artifact-checks.js";
9
9
  import { worktreePayload } from "../packages/normalize-release-candidate-mode.js";
10
10
  import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep, skipJournalStep } from "../packages/prepare-fresh-release-run.js";
@@ -8,8 +8,8 @@ import { currentBranch, hasMeaningfulChanges, originRemoteUrl, repoRoot } from "
8
8
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
9
9
  import { resolveWorkflowState } from "../../../operations/workflow-state.js";
10
10
  import { resolveRepositoryWorkflowSession, resolveWorkflowSession } from "../../session.js";
11
- import { runReleaseCandidateProofForPlan } from "../commerce/catalog/back-merge-production-into-staging.js";
12
- import { ensureCommandReadiness, ensureLocalStateExcluded, resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
11
+ import { runReleaseCandidateProofForPlan } from "../release-support/helpers/back-merge-production-into-staging.js";
12
+ import { ensureCommandReadiness, ensureLocalStateExcluded, resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
13
13
  import { writeIntegrationChangeSet } from "../coordination/integration-change-set.js";
14
14
  import { buildReleasePlanSnapshot } from "../guarantees/workflow-proof.js";
15
15
  import { assertSessionBranchSafety, branchPreviewInitialized, reconcileWorkflowBranchPreview } from "../packages/collect-published-release-artifact-checks.js";
@@ -5,7 +5,7 @@ import { hasMeaningfulChanges, repoRoot } from "../../../operations/services/tre
5
5
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
6
6
  import { resolveWorkflowSession } from "../../session.js";
7
7
  import { managedWorkflowWorktreeMetadata } from "../../worktrees.js";
8
- import { ensureLocalStateExcluded, resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
8
+ import { ensureLocalStateExcluded, resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
9
9
  import { buildStagePromotionPlan, checkedOutStagePromotionRepos, createStageCandidateManifest, normalizeStageCiMode, normalizeStageCleanupMode, normalizeStageVerifyMode, stageConflictError, stagePreflightBlockers, stagingCandidateWorkflowGates, writeStageCandidateManifest } from "../coordination/staging-candidate-workflow-gates.js";
10
10
  import { helpersForCwd, waitForWorkflowGates, worktreePayload } from "../packages/normalize-release-candidate-mode.js";
11
11
  import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep, skipJournalStep } from "../packages/prepare-fresh-release-run.js";
@@ -6,7 +6,7 @@ import { workspaceRoot } from "../../../operations/services/treedx/workspaces/wo
6
6
  import { resolveWorkflowState } from "../../../operations/workflow-state.js";
7
7
  import { resolveWorkflowSession } from "../../session.js";
8
8
  import { effectiveWorkflowWorktreeMode, ensureManagedWorkflowWorktree, plannedManagedWorkflowWorktreePath } from "../../worktrees.js";
9
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
9
+ import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
10
10
  import { assertSessionBranchSafety, branchPreviewInitialized, reconcileBranchPreview, reconcileWorkflowBranchPreview } from "../packages/collect-published-release-artifact-checks.js";
11
11
  import { helpersForCwd, shouldDispatchSwitchToManagedWorktree, worktreePayload } from "../packages/normalize-release-candidate-mode.js";
12
12
  import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep } from "../packages/prepare-fresh-release-run.js";
@@ -6,7 +6,7 @@ import { PRODUCTION_BRANCH, STAGING_BRANCH } from "../../../operations/services/
6
6
  import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
7
7
  import { resolveWorkflowSession } from "../../session.js";
8
8
  import { readWorkflowRunJournal } from "../../runs.js";
9
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../commerce/catalog/run-release-production-guarantees.js";
9
+ import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
10
10
  import { worktreePayload } from "../packages/normalize-release-candidate-mode.js";
11
11
  import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep } from "../packages/prepare-fresh-release-run.js";
12
12
  import { createNextSteps } from "../packages/release-admin-message.js";
@@ -1,5 +1,5 @@
1
- export * from './operations/commerce/catalog/back-merge-production-into-staging.js';
2
- export * from './operations/commerce/catalog/run-release-production-guarantees.js';
1
+ export * from './operations/release-support/helpers/back-merge-production-into-staging.js';
2
+ export * from './operations/release-support/helpers/run-release-production-guarantees.js';
3
3
  export * from './operations/configuration/workflow-config.js';
4
4
  export * from './operations/coordination/staging-candidate-workflow-gates.js';
5
5
  export * from './operations/coordination/integration-change-set.js';
@@ -1,5 +1,5 @@
1
- export * from "./operations/commerce/catalog/back-merge-production-into-staging.js";
2
- export * from "./operations/commerce/catalog/run-release-production-guarantees.js";
1
+ export * from "./operations/release-support/helpers/back-merge-production-into-staging.js";
2
+ export * from "./operations/release-support/helpers/run-release-production-guarantees.js";
3
3
  export * from "./operations/configuration/workflow-config.js";
4
4
  export * from "./operations/coordination/staging-candidate-workflow-gates.js";
5
5
  export * from "./operations/coordination/integration-change-set.js";
@@ -10,6 +10,7 @@ export declare function safeResolveRemoteSession(cwd: string, hostId?: string |
10
10
  accessToken: string;
11
11
  refreshToken: string;
12
12
  expiresAt: any;
13
+ audience: any;
13
14
  principal: any;
14
15
  } | null;
15
16
  export declare function safeResolveMachineEnvironmentValues(cwd: string, scope: 'local' | 'staging' | 'prod'): {};
@@ -308,7 +308,7 @@ function resolveWorkflowState(cwd, options = {}) {
308
308
  state.auth.wrangler = state.auth.wrangler || hasStatusConfigValue(statusConfigByScope, "TREESEED_CLOUDFLARE_API_TOKEN");
309
309
  state.auth.railway = state.auth.railway || hasStatusConfigValue(statusConfigByScope, "TREESEED_RAILWAY_API_TOKEN");
310
310
  state.auth.copilot = state.auth.copilot || state.auth.gh;
311
- state.marketConnection.baseUrl = state.marketConnection.baseUrl ?? sharedConfigValues.TREESEED_API_BASE_URL ?? deployConfig.runtime?.marketBaseUrl ?? deployConfig.hosting?.marketBaseUrl ?? null;
311
+ state.marketConnection.baseUrl = state.marketConnection.baseUrl ?? sharedConfigValues.TREESEED_API_BASE_URL ?? deployConfig.runtime?.controlPlaneBaseUrl ?? deployConfig.hosting?.controlPlaneBaseUrl ?? null;
312
312
  state.marketConnection.teamId = state.marketConnection.teamId ?? sharedConfigValues.TREESEED_HOSTING_TEAM_ID ?? deployConfig.runtime?.teamId ?? deployConfig.hosting?.teamId ?? null;
313
313
  state.marketConnection.projectId = state.marketConnection.projectId ?? sharedConfigValues.TREESEED_PROJECT_ID ?? deployConfig.runtime?.projectId ?? deployConfig.hosting?.projectId ?? null;
314
314
  state.marketConnection.hubMode = deployConfig.hub?.mode ?? null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.6",
3
+ "version": "0.13.0-rc.8",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -51,7 +51,6 @@
51
51
  "test:unit:fast": "vitest run --config ./vitest.fast.config.ts",
52
52
  "test:guarantees": "vitest run --config ./vitest.guarantees.config.ts",
53
53
  "test:guarantees:coverage": "vitest run --config ./vitest.guarantees.config.ts --coverage",
54
- "test:capacity-cleanup-live": "node --import tsx ./scripts/testing/test-live-acceptance-cleanup-service.ts",
55
54
  "test:workflow:lifecycle": "vitest run --config ./vitest.workflow.config.ts",
56
55
  "test:release": "npm run test:unit",
57
56
  "test:smoke": "node --import tsx ./scripts/testing/test-smoke.ts",
@@ -167,22 +166,6 @@
167
166
  "types": "./dist/content/validation/index.d.ts",
168
167
  "default": "./dist/content/validation/index.js"
169
168
  },
170
- "./api": {
171
- "types": "./dist/api/index.d.ts",
172
- "default": "./dist/api/index.js"
173
- },
174
- "./api/auth/d1-provider": {
175
- "types": "./dist/api/auth/d1-provider.d.ts",
176
- "default": "./dist/api/auth/d1-provider.js"
177
- },
178
- "./api/auth/rbac": {
179
- "types": "./dist/api/auth/rbac.d.ts",
180
- "default": "./dist/api/auth/rbac.js"
181
- },
182
- "./api/trusted-assertion": {
183
- "types": "./dist/api/auth/trusted-assertion.d.ts",
184
- "default": "./dist/api/auth/trusted-assertion.js"
185
- },
186
169
  "./workflow": {
187
170
  "types": "./dist/operations/workflow.d.ts",
188
171
  "default": "./dist/operations/workflow.js"
@@ -215,18 +198,10 @@
215
198
  "types": "./dist/operations/workflow-support.d.ts",
216
199
  "default": "./dist/operations/workflow-support.js"
217
200
  },
218
- "./market-client": {
219
- "types": "./dist/entrypoints/clients/market-client.d.ts",
220
- "default": "./dist/entrypoints/clients/market-client.js"
221
- },
222
201
  "./control-plane-client": {
223
202
  "types": "./dist/entrypoints/clients/control-plane-client.d.ts",
224
203
  "default": "./dist/entrypoints/clients/control-plane-client.js"
225
204
  },
226
- "./market-gateway": {
227
- "types": "./dist/gateway/index.d.ts",
228
- "default": "./dist/gateway/index.js"
229
- },
230
205
  "./account-contracts": {
231
206
  "types": "./dist/accounts/account-contracts.d.ts",
232
207
  "default": "./dist/accounts/account-contracts.js"
@@ -324,8 +299,8 @@
324
299
  "default": "./dist/treedx/repositories/treedx-backends.js"
325
300
  },
326
301
  "./template-catalog": {
327
- "types": "./dist/commerce/catalog/template-catalog.d.ts",
328
- "default": "./dist/commerce/catalog/template-catalog.js"
302
+ "types": "./dist/templates/template-catalog.d.ts",
303
+ "default": "./dist/templates/template-catalog.js"
329
304
  },
330
305
  "./d1-store": {
331
306
  "types": "./dist/persistence/d1-store.d.ts",
@@ -408,14 +383,6 @@
408
383
  "types": "./dist/capacity-provider/contracts/index.d.ts",
409
384
  "default": "./dist/capacity-provider/contracts/index.js"
410
385
  },
411
- "./platform-operations": {
412
- "types": "./dist/operations/platform-operations.d.ts",
413
- "default": "./dist/operations/platform-operations.js"
414
- },
415
- "./platform-operation-store": {
416
- "types": "./dist/operations/platform-operation-store.d.ts",
417
- "default": "./dist/operations/platform-operation-store.js"
418
- },
419
386
  "./operations/github-credentials": {
420
387
  "types": "./dist/operations/services/configuration/github-credentials.d.ts",
421
388
  "default": "./dist/operations/services/configuration/github-credentials.js"
@@ -452,10 +419,6 @@
452
419
  "types": "./dist/db/schema.d.ts",
453
420
  "default": "./dist/db/schema.js"
454
421
  },
455
- "./db/market-schema": {
456
- "types": "./dist/db/market-schema.d.ts",
457
- "default": "./dist/db/market-schema.js"
458
- },
459
422
  "./db/d1": {
460
423
  "types": "./dist/db/d1.d.ts",
461
424
  "default": "./dist/db/d1.js"
@@ -1,3 +0,0 @@
1
- import type { D1DatabaseLike } from '../../types/cloudflare.js';
2
- import type { ApiConfig } from '../types.js';
3
- export declare function resolveApiD1Database(config: ApiConfig): D1DatabaseLike;
@@ -1,20 +0,0 @@
1
- import { NodeSqliteD1Database } from "../../db/node-sqlite.js";
2
- import { CloudflareHttpD1Database } from "../../persistence/d1-http.js";
3
- function resolveApiD1Database(config) {
4
- if (config.cloudflareAccountId && config.cloudflareApiToken && config.d1DatabaseId) {
5
- return new CloudflareHttpD1Database({
6
- accountId: config.cloudflareAccountId,
7
- apiToken: config.cloudflareApiToken,
8
- databaseId: config.d1DatabaseId
9
- });
10
- }
11
- if (config.d1LocalPersistTo || config.d1DatabaseName) {
12
- return new NodeSqliteD1Database(config.d1LocalPersistTo);
13
- }
14
- throw new Error(
15
- "Treeseed API auth requires either CLOUDFLARE_ACCOUNT_ID + CLOUDFLARE_API_TOKEN + TREESEED_API_D1_DATABASE_ID for remote D1 access, or TREESEED_API_D1_LOCAL_PERSIST_TO for local SQLite-backed D1-compatible access."
16
- );
17
- }
18
- export {
19
- resolveApiD1Database
20
- };
@@ -1,54 +0,0 @@
1
- import type { D1DatabaseLike } from '../../types/cloudflare.js';
2
- import type { ApiAuthProvider, ApiConfig, ApiCredential, ApiPrincipal, DeviceCodeApproveRequest, DeviceCodePollRequest, DeviceCodePollResponse, DeviceCodeStartRequest, DeviceCodeStartResponse, TokenRefreshRequest, TokenRefreshResponse, TrustedUserAssertionClaims, UserIdentityProfileInput } from '../types.js';
3
- export declare class D1AuthProvider implements ApiAuthProvider {
4
- private readonly config;
5
- readonly id = "d1";
6
- private readonly store;
7
- constructor(config: ApiConfig, options?: {
8
- db?: D1DatabaseLike;
9
- });
10
- startDeviceFlow(request: DeviceCodeStartRequest): Promise<DeviceCodeStartResponse>;
11
- pollDeviceFlow(request: DeviceCodePollRequest): Promise<DeviceCodePollResponse>;
12
- refreshAccessToken(request: TokenRefreshRequest): Promise<TokenRefreshResponse>;
13
- issueUserSession(userId: string, options?: {
14
- sessionType?: string;
15
- scopes?: string[];
16
- data?: Record<string, unknown>;
17
- }): Promise<TokenRefreshResponse>;
18
- approveDeviceFlow(request: DeviceCodeApproveRequest): Promise<{
19
- ok: true;
20
- }>;
21
- authenticateBearerToken(token: string): Promise<{
22
- principal: ApiPrincipal;
23
- credential: ApiCredential;
24
- } | null>;
25
- authenticateServiceCredential(serviceId: string, secret: string): Promise<{
26
- principal: ApiPrincipal;
27
- credential: ApiCredential;
28
- } | null>;
29
- createPersonalAccessToken(userId: string, input: {
30
- name: string;
31
- scopes?: string[];
32
- expiresAt?: string | null;
33
- }): any;
34
- listPersonalAccessTokens(userId: string): any;
35
- revokePersonalAccessToken(userId: string, tokenId: string): any;
36
- syncUserIdentity(identity: UserIdentityProfileInput): any;
37
- createUser(input: {
38
- email?: string | null;
39
- username?: string | null;
40
- displayName?: string | null;
41
- metadata?: Record<string, unknown>;
42
- }): any;
43
- setUserRoles(userId: string, roles: string[]): any;
44
- createServiceToken(input: {
45
- serviceId: string;
46
- name: string;
47
- roles?: string[];
48
- permissions?: string[];
49
- }): Promise<import("./d1-store.js").ServiceCredentialResult>;
50
- rotateServiceToken(serviceId: string): any;
51
- createTrustedUserAssertion(claims: TrustedUserAssertionClaims): string;
52
- verifyTrustedUserAssertion(assertion: string): TrustedUserAssertionClaims | null;
53
- exchangeTrustedUserAssertion(claims: TrustedUserAssertionClaims): any;
54
- }