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

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 (2033) hide show
  1. package/README.md +46 -360
  2. package/dist/.treeseed-build-complete.json +1 -0
  3. package/dist/accounts/account-contracts.d.ts +7 -1
  4. package/dist/agent-capacity/artifacts.d.ts +17 -1
  5. package/dist/agent-capacity/authority/agent-authority-presets.d.ts +1 -1
  6. package/dist/agent-capacity/authority/agent-authority-presets.js +2 -1
  7. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +304 -0
  8. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.js +44 -0
  9. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +9 -0
  10. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.d.ts +25 -0
  11. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.js +67 -0
  12. package/dist/agent-capacity/contracts/capacity/communication/communication-records.d.ts +1 -1
  13. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +0 -2
  14. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +0 -1
  15. package/dist/agent-capacity/contracts/configuration/configuration.js +6 -6
  16. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -1
  17. package/dist/agent-capacity/contracts/support/decision-work.d.ts +2 -3
  18. package/dist/agent-capacity/validation/activity-profile.js +25 -12
  19. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1665 -1743
  20. package/dist/agent-capacity/validation/agent-definition-schema.js +11 -29
  21. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +46 -46
  22. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  23. package/dist/agent-capacity/validation/configuration.js +1 -2
  24. package/dist/capacity/agents/agent-capacity.d.ts +2 -14
  25. package/dist/capacity/agents/agent-capacity.js +2 -20
  26. package/dist/capacity-provider/capability-ontology.d.ts +1495 -0
  27. package/dist/capacity-provider/capability-ontology.js +221 -0
  28. package/dist/capacity-provider/client.d.ts +39 -69
  29. package/dist/capacity-provider/client.js +70 -153
  30. package/dist/capacity-provider/contracts/environment-profiles.d.ts +255 -0
  31. package/dist/capacity-provider/contracts/environment-profiles.js +71 -0
  32. package/dist/capacity-provider/contracts/governance.d.ts +103 -35
  33. package/dist/capacity-provider/contracts/index.d.ts +1 -0
  34. package/dist/capacity-provider/contracts/index.js +1 -0
  35. package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
  36. package/dist/capacity-provider/core-capability-catalog.js +49 -0
  37. package/dist/capacity-provider/environment-catalog.d.ts +877 -0
  38. package/dist/capacity-provider/environment-catalog.js +116 -0
  39. package/dist/capacity-provider/index.d.ts +4 -5
  40. package/dist/capacity-provider/index.js +4 -5
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +548 -0
  42. package/dist/capacity-provider/sandbox-contracts.js +86 -0
  43. package/dist/capacity-provider/sandbox.d.ts +1 -0
  44. package/dist/capacity-provider/sandbox.js +1 -0
  45. package/dist/capacity-provider/validation.d.ts +2 -2
  46. package/dist/capacity-provider/validation.js +91 -55
  47. package/dist/configuration/secrets-capability.d.ts +0 -1
  48. package/dist/configuration/secrets-capability.js +0 -1
  49. package/dist/content/contracts.d.ts +12 -0
  50. package/dist/content/validation/agent-operational-content-schemas.d.ts +586 -264
  51. package/dist/content/validation/agent-operational-content-schemas.js +18 -3
  52. package/dist/content/validation/auxiliary-content-schemas.d.ts +214 -214
  53. package/dist/content/validation/content-model-schemas.d.ts +4298 -4102
  54. package/dist/content/validation/index.d.ts +1 -0
  55. package/dist/content/validation/index.js +1 -0
  56. package/dist/content/validation/portable-content-data.d.ts +450 -446
  57. package/dist/deployment/ai-mode.d.ts +454 -0
  58. package/dist/deployment/ai-mode.js +67 -0
  59. package/dist/deployment/canonical.d.ts +2 -0
  60. package/dist/deployment/canonical.js +17 -0
  61. package/dist/deployment/catalog.d.ts +16 -0
  62. package/dist/deployment/catalog.js +48 -0
  63. package/dist/deployment/hosted-topology-template.d.ts +449 -0
  64. package/dist/deployment/hosted-topology-template.js +56 -0
  65. package/dist/deployment/hosted-topology.d.ts +2839 -0
  66. package/dist/deployment/hosted-topology.js +502 -0
  67. package/dist/deployment/index.d.ts +7 -0
  68. package/dist/deployment/index.js +7 -0
  69. package/dist/deployment/schemas.d.ts +7258 -0
  70. package/dist/deployment/schemas.js +420 -0
  71. package/dist/deployment/topology.d.ts +9 -0
  72. package/dist/deployment/topology.js +35 -0
  73. package/dist/development/index.d.ts +1 -0
  74. package/dist/development/index.js +1 -0
  75. package/dist/development/schemas.d.ts +3409 -0
  76. package/dist/development/schemas.js +199 -0
  77. package/dist/entrypoints/clients/control-plane-client.d.ts +23 -26
  78. package/dist/entrypoints/clients/control-plane-client.js +60 -94
  79. package/dist/graph/context-query-contracts.d.ts +16 -1
  80. package/dist/graph/context-query-contracts.js +5 -0
  81. package/dist/guarantees/evidence-trust.d.ts +32 -0
  82. package/dist/guarantees/evidence-trust.js +47 -0
  83. package/dist/guarantees/index.d.ts +130 -17
  84. package/dist/guarantees/index.js +44 -17
  85. package/dist/knowledge/index.d.ts +0 -8
  86. package/dist/knowledge/index.js +0 -8
  87. package/dist/model-registry/agent-operational-models.js +1 -1
  88. package/dist/operator-contracts/canonical-command-tree.js +455 -5
  89. package/dist/operator-contracts/catalog/admin-account-team-operations.d.ts +36 -0
  90. package/dist/operator-contracts/catalog/admin-account-team-operations.js +52 -0
  91. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +163 -0
  92. package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
  93. package/dist/operator-contracts/catalog/communication-operations.d.ts +437 -0
  94. package/dist/operator-contracts/catalog/communication-operations.js +92 -0
  95. package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
  96. package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
  97. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +323 -0
  98. package/dist/operator-contracts/catalog/hosted-topology-operations.js +77 -0
  99. package/dist/operator-contracts/catalog/inbox-operations.d.ts +261 -0
  100. package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
  101. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +127 -0
  102. package/dist/operator-contracts/catalog/knowledge-share-operations.js +25 -0
  103. package/dist/operator-contracts/catalog/provider-environment-commands.d.ts +4 -0
  104. package/dist/operator-contracts/catalog/provider-environment-commands.js +69 -0
  105. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +41 -0
  106. package/dist/operator-contracts/catalog/provider-environment-operations.js +61 -0
  107. package/dist/operator-contracts/catalog/treeai-operations.d.ts +14 -0
  108. package/dist/operator-contracts/catalog/treeai-operations.js +62 -0
  109. package/dist/operator-contracts/command-tree.d.ts +28 -0
  110. package/dist/operator-contracts/command-tree.js +49 -0
  111. package/dist/operator-contracts/communication/addressing.d.ts +8 -0
  112. package/dist/operator-contracts/communication/addressing.js +57 -0
  113. package/dist/operator-contracts/communication/contracts.d.ts +1818 -0
  114. package/dist/operator-contracts/communication/contracts.js +188 -0
  115. package/dist/operator-contracts/control-plane-operation.d.ts +29 -0
  116. package/dist/operator-contracts/control-plane-operation.js +9 -0
  117. package/dist/operator-contracts/control-plane-operations.d.ts +2418 -0
  118. package/dist/operator-contracts/control-plane-operations.js +526 -0
  119. package/dist/operator-contracts/inbox/contracts.d.ts +1099 -0
  120. package/dist/operator-contracts/inbox/contracts.js +134 -0
  121. package/dist/operator-contracts/index.d.ts +7 -0
  122. package/dist/operator-contracts/index.js +7 -0
  123. package/dist/operator-contracts/knowledge/contracts.d.ts +130 -0
  124. package/dist/operator-contracts/knowledge/contracts.js +39 -0
  125. package/dist/operator-contracts/mcp.d.ts +5 -0
  126. package/dist/operator-contracts/mcp.js +61 -0
  127. package/dist/operator-contracts/oauth.d.ts +53 -0
  128. package/dist/operator-contracts/oauth.js +7 -0
  129. package/dist/operator-contracts/operation-builder.d.ts +17 -0
  130. package/dist/operator-contracts/operation-builder.js +61 -0
  131. package/dist/operator-contracts/seed/seed-bundle.d.ts +138 -0
  132. package/dist/operator-contracts/seed/seed-bundle.js +68 -0
  133. package/dist/platform/contracts.d.ts +429 -0
  134. package/dist/platform/contracts.js +93 -0
  135. package/dist/platform/index.d.ts +6 -0
  136. package/dist/platform/index.js +6 -0
  137. package/dist/platform/inventory.d.ts +11 -0
  138. package/dist/platform/inventory.js +53 -0
  139. package/dist/platform/project-create.d.ts +49 -0
  140. package/dist/platform/project-create.js +75 -0
  141. package/dist/platform/schemas.d.ts +806 -0
  142. package/dist/platform/schemas.js +68 -0
  143. package/dist/platform/verification.d.ts +9 -0
  144. package/dist/platform/verification.js +104 -0
  145. package/dist/platform/workset.d.ts +21 -0
  146. package/dist/platform/workset.js +102 -0
  147. package/dist/secrets-capability/service-provider-contracts.js +21 -11
  148. package/dist/security/encrypted-envelope.d.ts +177 -0
  149. package/dist/security/encrypted-envelope.js +34 -0
  150. package/dist/security/envelope-codec.d.ts +38 -0
  151. package/dist/security/envelope-codec.js +96 -0
  152. package/dist/security/index.d.ts +2 -0
  153. package/dist/security/index.js +2 -0
  154. package/dist/site-contracts/catalog.d.ts +16 -0
  155. package/dist/site-contracts/catalog.js +19 -0
  156. package/dist/site-contracts/cloudflare.d.ts +48 -0
  157. package/dist/site-contracts/platform.d.ts +94 -0
  158. package/dist/site-contracts/plugin.d.ts +63 -0
  159. package/dist/site-contracts/plugin.js +26 -0
  160. package/dist/treeai/catalog.d.ts +1 -0
  161. package/dist/treeai/catalog.js +1 -0
  162. package/dist/treeai/client.d.ts +913 -0
  163. package/dist/treeai/client.js +44 -0
  164. package/dist/treeai/contract.d.ts +42 -0
  165. package/dist/treeai/contract.js +51 -0
  166. package/dist/treeai/generated/upstream.d.ts +890 -0
  167. package/dist/treeai/generated/upstream.js +4 -0
  168. package/dist/treeai/index.d.ts +4 -0
  169. package/dist/treeai/index.js +4 -0
  170. package/dist/treedx/client.d.ts +597 -0
  171. package/dist/treedx/client.js +39 -0
  172. package/dist/treedx/contract.d.ts +32 -0
  173. package/dist/treedx/contract.js +63 -0
  174. package/dist/treedx/index.d.ts +2 -16
  175. package/dist/treedx/index.js +2 -56
  176. package/dist/treedx/types.d.ts +8 -7
  177. package/dist/treedx/types.js +0 -7
  178. package/dist/types/agents/agent-activity-profile.d.ts +18 -36
  179. package/dist/types/agents/agent-trigger-kinds.d.ts +5 -6
  180. package/dist/types/agents/agent-trigger-kinds.js +1 -13
  181. package/package.json +58 -318
  182. package/dist/agent-capacity/authoring/agent-definition-authoring.d.ts +0 -57
  183. package/dist/agent-capacity/authoring/agent-definition-authoring.js +0 -73
  184. package/dist/agent-capacity/authoring/agent-deployment.d.ts +0 -93
  185. package/dist/agent-capacity/authoring/agent-deployment.js +0 -65
  186. package/dist/agent-capacity/authoring/chat-activity-profile.d.ts +0 -2
  187. package/dist/agent-capacity/authoring/chat-activity-profile.js +0 -91
  188. package/dist/agent-capacity/authoring/group-definition-authoring.d.ts +0 -33
  189. package/dist/agent-capacity/authoring/group-definition-authoring.js +0 -93
  190. package/dist/agent-capacity/authoring/index.d.ts +0 -4
  191. package/dist/agent-capacity/authoring/index.js +0 -4
  192. package/dist/agent-capacity/authority/assignment-authority-probe.d.ts +0 -109
  193. package/dist/agent-capacity/authority/assignment-authority-probe.js +0 -49
  194. package/dist/agent-capacity/contracts/index.d.ts +0 -19
  195. package/dist/agent-capacity/contracts/index.js +0 -19
  196. package/dist/agent-capacity/contracts/support/operator-surface.d.ts +0 -25
  197. package/dist/agent-capacity/contracts/support/operator-surface.js +0 -187
  198. package/dist/agent-capacity/cooperative-planning.d.ts +0 -28
  199. package/dist/agent-capacity/cooperative-planning.js +0 -48
  200. package/dist/agent-capacity/index.d.ts +0 -15
  201. package/dist/agent-capacity/index.js +0 -15
  202. package/dist/agent-capacity/planning-graph.d.ts +0 -77
  203. package/dist/agent-capacity/planning-graph.js +0 -155
  204. package/dist/agent-capacity/policy/capacity/accounting/settlement.d.ts +0 -8
  205. package/dist/agent-capacity/policy/capacity/accounting/settlement.js +0 -50
  206. package/dist/agent-capacity/policy/capacity/assignments/assignment-capability.d.ts +0 -20
  207. package/dist/agent-capacity/policy/capacity/assignments/assignment-capability.js +0 -235
  208. package/dist/agent-capacity/policy/capacity/providers/supply-selection.d.ts +0 -10
  209. package/dist/agent-capacity/policy/capacity/providers/supply-selection.js +0 -31
  210. package/dist/agent-capacity/policy/index.d.ts +0 -12
  211. package/dist/agent-capacity/policy/index.js +0 -12
  212. package/dist/agent-capacity/policy/operations/research-workflow.d.ts +0 -13
  213. package/dist/agent-capacity/policy/operations/research-workflow.js +0 -164
  214. package/dist/agent-capacity/policy/runtime/runtime-diagnostics.d.ts +0 -19
  215. package/dist/agent-capacity/policy/runtime/runtime-diagnostics.js +0 -263
  216. package/dist/agent-capacity/policy/support/decision-work.d.ts +0 -23
  217. package/dist/agent-capacity/policy/support/decision-work.js +0 -482
  218. package/dist/agent-capacity/policy/support/execution-capability.d.ts +0 -60
  219. package/dist/agent-capacity/policy/support/execution-capability.js +0 -368
  220. package/dist/agent-capacity/policy/support/failure-classification.d.ts +0 -6
  221. package/dist/agent-capacity/policy/support/failure-classification.js +0 -32
  222. package/dist/agent-capacity/policy/support/kernel-mode.d.ts +0 -20
  223. package/dist/agent-capacity/policy/support/kernel-mode.js +0 -280
  224. package/dist/agent-capacity/policy/support/mode-primitives.d.ts +0 -8
  225. package/dist/agent-capacity/policy/support/mode-primitives.js +0 -14
  226. package/dist/agent-capacity/policy/support/planning.d.ts +0 -39
  227. package/dist/agent-capacity/policy/support/planning.js +0 -161
  228. package/dist/agent-capacity/policy/support/primitives.d.ts +0 -23
  229. package/dist/agent-capacity/policy/support/primitives.js +0 -186
  230. package/dist/agent-capacity/policy/support/revision-cycle.d.ts +0 -4
  231. package/dist/agent-capacity/policy/support/revision-cycle.js +0 -144
  232. package/dist/agent-capacity/validation/compatibility/agent-definition-compatibility.d.ts +0 -10
  233. package/dist/agent-capacity/validation/compatibility/agent-definition-compatibility.js +0 -100
  234. package/dist/agent-tools/agent-tool-definitions.d.ts +0 -2
  235. package/dist/agent-tools/agent-tool-definitions.js +0 -465
  236. package/dist/agent-tools/agent-tool-execution-target.d.ts +0 -74
  237. package/dist/agent-tools/agent-tool-execution-target.js +0 -76
  238. package/dist/agent-tools/agent-tool-index.d.ts +0 -8
  239. package/dist/agent-tools/agent-tool-index.js +0 -33
  240. package/dist/agent-tools/communication-tool-definitions.d.ts +0 -2
  241. package/dist/agent-tools/communication-tool-definitions.js +0 -85
  242. package/dist/agents/agent-tools.d.ts +0 -3
  243. package/dist/agents/agent-tools.js +0 -3
  244. package/dist/agents/cli-tools.d.ts +0 -3
  245. package/dist/agents/cli-tools.js +0 -46
  246. package/dist/agents/copilot.d.ts +0 -24
  247. package/dist/agents/copilot.js +0 -91
  248. package/dist/ai-appliance/index.d.ts +0 -3
  249. package/dist/ai-appliance/index.js +0 -3
  250. package/dist/ai-appliance/reconciliation.d.ts +0 -18
  251. package/dist/ai-appliance/reconciliation.js +0 -47
  252. package/dist/capacity/accounting/native-capacity.d.ts +0 -12
  253. package/dist/capacity/accounting/native-capacity.js +0 -120
  254. package/dist/capacity-provider/config/environment.d.ts +0 -6
  255. package/dist/capacity-provider/config/environment.js +0 -36
  256. package/dist/capacity-provider/config/index.d.ts +0 -2
  257. package/dist/capacity-provider/config/index.js +0 -2
  258. package/dist/capacity-provider/config/manifest.d.ts +0 -6
  259. package/dist/capacity-provider/config/manifest.js +0 -16
  260. package/dist/capacity-provider/protocol.d.ts +0 -33
  261. package/dist/capacity-provider/protocol.js +0 -38
  262. package/dist/capacity-provider/runtime-status.d.ts +0 -13
  263. package/dist/capacity-provider/runtime-status.js +0 -40
  264. package/dist/capacity-provider/security/http.d.ts +0 -6
  265. package/dist/capacity-provider/security/http.js +0 -15
  266. package/dist/capacity-provider/security/identity.d.ts +0 -20
  267. package/dist/capacity-provider/security/identity.js +0 -65
  268. package/dist/capacity-provider/security/index.d.ts +0 -2
  269. package/dist/capacity-provider/security/index.js +0 -2
  270. package/dist/capacity-provider/timing/assignment-duration.d.ts +0 -9
  271. package/dist/capacity-provider/timing/assignment-duration.js +0 -92
  272. package/dist/capacity-provider/timing/index.d.ts +0 -1
  273. package/dist/capacity-provider/timing/index.js +0 -1
  274. package/dist/configuration/service-credentials.d.ts +0 -68
  275. package/dist/configuration/service-credentials.js +0 -121
  276. package/dist/content/content-store.d.ts +0 -25
  277. package/dist/content/content-store.js +0 -269
  278. package/dist/content/frontmatter.d.ts +0 -6
  279. package/dist/content/frontmatter.js +0 -33
  280. package/dist/content-sync/index.d.ts +0 -1
  281. package/dist/content-sync/index.js +0 -1
  282. package/dist/content-sync/reconcile.d.ts +0 -28
  283. package/dist/content-sync/reconcile.js +0 -125
  284. package/dist/d1-store/content/try-claim-content-lease.d.ts +0 -2
  285. package/dist/d1-store/content/try-claim-content-lease.js +0 -21
  286. package/dist/d1-store/methods.d.ts +0 -32
  287. package/dist/d1-store/methods.js +0 -66
  288. package/dist/d1-store/packages/get-release.d.ts +0 -2
  289. package/dist/d1-store/packages/get-release.js +0 -6
  290. package/dist/d1-store/packages/get-share-package.d.ts +0 -2
  291. package/dist/d1-store/packages/get-share-package.js +0 -6
  292. package/dist/d1-store/packages/list-releases.d.ts +0 -2
  293. package/dist/d1-store/packages/list-releases.js +0 -6
  294. package/dist/d1-store/packages/list-share-packages.d.ts +0 -2
  295. package/dist/d1-store/packages/list-share-packages.js +0 -6
  296. package/dist/d1-store/packages/release-all-leases.d.ts +0 -2
  297. package/dist/d1-store/packages/release-all-leases.js +0 -8
  298. package/dist/d1-store/packages/release-lease.d.ts +0 -3
  299. package/dist/d1-store/packages/release-lease.js +0 -6
  300. package/dist/d1-store/packages/upsert-release.d.ts +0 -5
  301. package/dist/d1-store/packages/upsert-release.js +0 -6
  302. package/dist/d1-store/packages/upsert-share-package.d.ts +0 -3
  303. package/dist/d1-store/packages/upsert-share-package.js +0 -6
  304. package/dist/d1-store/support/approvals/create-approval-request.d.ts +0 -3
  305. package/dist/d1-store/support/approvals/create-approval-request.js +0 -12
  306. package/dist/d1-store/support/approvals/decide-approval-request.d.ts +0 -3
  307. package/dist/d1-store/support/approvals/decide-approval-request.js +0 -12
  308. package/dist/d1-store/support/approvals/list-approval-requests.d.ts +0 -3
  309. package/dist/d1-store/support/approvals/list-approval-requests.js +0 -7
  310. package/dist/d1-store/support/cursors/get-cursor.d.ts +0 -3
  311. package/dist/d1-store/support/cursors/get-cursor.js +0 -6
  312. package/dist/d1-store/support/cursors/upsert-cursor.d.ts +0 -3
  313. package/dist/d1-store/support/cursors/upsert-cursor.js +0 -6
  314. package/dist/d1-store/support/execution/inspect-leases.d.ts +0 -2
  315. package/dist/d1-store/support/execution/inspect-leases.js +0 -6
  316. package/dist/d1-store/support/execution/inspect-runs.d.ts +0 -2
  317. package/dist/d1-store/support/execution/inspect-runs.js +0 -6
  318. package/dist/d1-store/support/messages/ack-message.d.ts +0 -3
  319. package/dist/d1-store/support/messages/ack-message.js +0 -15
  320. package/dist/d1-store/support/messages/claim-message.d.ts +0 -3
  321. package/dist/d1-store/support/messages/claim-message.js +0 -22
  322. package/dist/d1-store/support/messages/create-message.d.ts +0 -3
  323. package/dist/d1-store/support/messages/create-message.js +0 -26
  324. package/dist/d1-store/support/queries/follow.d.ts +0 -6
  325. package/dist/d1-store/support/queries/follow.js +0 -21
  326. package/dist/d1-store/support/queries/pick.d.ts +0 -3
  327. package/dist/d1-store/support/queries/pick.js +0 -57
  328. package/dist/d1-store/support/queries/search.d.ts +0 -3
  329. package/dist/d1-store/support/queries/search.js +0 -13
  330. package/dist/d1-store/support/records/create-record.d.ts +0 -3
  331. package/dist/d1-store/support/records/create-record.js +0 -70
  332. package/dist/d1-store/support/records/get-record.d.ts +0 -3
  333. package/dist/d1-store/support/records/get-record.js +0 -31
  334. package/dist/d1-store/support/records/record-run.d.ts +0 -3
  335. package/dist/d1-store/support/records/record-run.js +0 -8
  336. package/dist/d1-store/support/records/rows-for-model.d.ts +0 -2
  337. package/dist/d1-store/support/records/rows-for-model.js +0 -36
  338. package/dist/d1-store/support/update.d.ts +0 -3
  339. package/dist/d1-store/support/update.js +0 -67
  340. package/dist/d1-store/support/workstreams/append-workstream-event.d.ts +0 -3
  341. package/dist/d1-store/support/workstreams/append-workstream-event.js +0 -6
  342. package/dist/d1-store/support/workstreams/get-workstream.d.ts +0 -2
  343. package/dist/d1-store/support/workstreams/get-workstream.js +0 -6
  344. package/dist/d1-store/support/workstreams/list-workstreams.d.ts +0 -2
  345. package/dist/d1-store/support/workstreams/list-workstreams.js +0 -6
  346. package/dist/d1-store/support/workstreams/upsert-workstream.d.ts +0 -3
  347. package/dist/d1-store/support/workstreams/upsert-workstream.js +0 -6
  348. package/dist/d1-store/teams/upsert-team-inbox-item.d.ts +0 -3
  349. package/dist/d1-store/teams/upsert-team-inbox-item.js +0 -12
  350. package/dist/db/d1.d.ts +0 -246
  351. package/dist/db/d1.js +0 -8
  352. package/dist/db/index.d.ts +0 -2
  353. package/dist/db/index.js +0 -2
  354. package/dist/db/node-sqlite.d.ts +0 -297
  355. package/dist/db/node-sqlite.js +0 -133
  356. package/dist/db/schema.d.ts +0 -483
  357. package/dist/db/schema.js +0 -29
  358. package/dist/entrypoints/clients/remote.d.ts +0 -206
  359. package/dist/entrypoints/clients/remote.js +0 -192
  360. package/dist/entrypoints/dispatch/dispatch.d.ts +0 -4
  361. package/dist/entrypoints/dispatch/dispatch.js +0 -174
  362. package/dist/entrypoints/models/plugin-default.d.ts +0 -28
  363. package/dist/entrypoints/models/plugin-default.js +0 -39
  364. package/dist/entrypoints/models/sdk-dispatch.d.ts +0 -12
  365. package/dist/entrypoints/models/sdk-dispatch.js +0 -126
  366. package/dist/entrypoints/models/sdk-filters.d.ts +0 -4
  367. package/dist/entrypoints/models/sdk-filters.js +0 -74
  368. package/dist/entrypoints/models/sdk.d.ts +0 -138
  369. package/dist/entrypoints/models/sdk.js +0 -379
  370. package/dist/entrypoints/runtime/managed-dependencies.d.ts +0 -6
  371. package/dist/entrypoints/runtime/managed-dependencies.js +0 -6
  372. package/dist/entrypoints/runtime/timing.d.ts +0 -20
  373. package/dist/entrypoints/runtime/timing.js +0 -73
  374. package/dist/entrypoints/runtime/verification.d.ts +0 -3
  375. package/dist/entrypoints/runtime/verification.js +0 -3
  376. package/dist/governance/groups/membership.d.ts +0 -21
  377. package/dist/governance/groups/membership.js +0 -63
  378. package/dist/governance/groups/signal-scope.d.ts +0 -7
  379. package/dist/governance/groups/signal-scope.js +0 -49
  380. package/dist/governance/policy/decision-dependencies.d.ts +0 -21
  381. package/dist/governance/policy/decision-dependencies.js +0 -21
  382. package/dist/governance/policy/governance.d.ts +0 -133
  383. package/dist/governance/policy/governance.js +0 -285
  384. package/dist/governance/policy/proposal-readiness.d.ts +0 -65
  385. package/dist/governance/policy/proposal-readiness.js +0 -68
  386. package/dist/graph/build/build-graph-from-documents.d.ts +0 -9
  387. package/dist/graph/build/build-graph-from-documents.js +0 -401
  388. package/dist/graph/build/md-node.d.ts +0 -46
  389. package/dist/graph/build/md-node.js +0 -210
  390. package/dist/graph/build/parse-graph-document.d.ts +0 -30
  391. package/dist/graph/build/parse-graph-document.js +0 -206
  392. package/dist/graph/build/read-snapshot-file.d.ts +0 -16
  393. package/dist/graph/build/read-snapshot-file.js +0 -177
  394. package/dist/graph/build.d.ts +0 -4
  395. package/dist/graph/build.js +0 -4
  396. package/dist/graph/context-query-readiness.d.ts +0 -49
  397. package/dist/graph/context-query-readiness.js +0 -12
  398. package/dist/graph/context-query-test.d.ts +0 -181
  399. package/dist/graph/context-query-test.js +0 -205
  400. package/dist/graph/dsl.d.ts +0 -20
  401. package/dist/graph/dsl.js +0 -253
  402. package/dist/graph/query/graph-query-engine.d.ts +0 -47
  403. package/dist/graph/query/graph-query-engine.js +0 -363
  404. package/dist/graph/query/relation-to-edge-type.d.ts +0 -12
  405. package/dist/graph/query/relation-to-edge-type.js +0 -91
  406. package/dist/graph/query/stateful-ids.d.ts +0 -2
  407. package/dist/graph/query/stateful-ids.js +0 -12
  408. package/dist/graph/query.d.ts +0 -3
  409. package/dist/graph/query.js +0 -3
  410. package/dist/graph/ranking/create-default-graph-ranking-provider.d.ts +0 -2
  411. package/dist/graph/ranking/create-default-graph-ranking-provider.js +0 -319
  412. package/dist/graph/ranking/default-graph-ranking-provider.d.ts +0 -1
  413. package/dist/graph/ranking/default-graph-ranking-provider.js +0 -5
  414. package/dist/graph/ranking/ranking-field.d.ts +0 -37
  415. package/dist/graph/ranking/ranking-field.js +0 -184
  416. package/dist/graph/ranking.d.ts +0 -3
  417. package/dist/graph/ranking.js +0 -3
  418. package/dist/graph/schema.d.ts +0 -142
  419. package/dist/graph/schema.js +0 -139
  420. package/dist/guarantees/contracts/agent-guarantee-contracts.d.ts +0 -123
  421. package/dist/guarantees/contracts/agent-guarantee-contracts.js +0 -8
  422. package/dist/guarantees/contracts/agent-guarantee-status.d.ts +0 -40
  423. package/dist/guarantees/contracts/agent-guarantee-status.js +0 -119
  424. package/dist/guarantees/contracts/create-agent-guarantee-proof-template.d.ts +0 -94
  425. package/dist/guarantees/contracts/create-agent-guarantee-proof-template.js +0 -21
  426. package/dist/guarantees/contracts/parse-agent-guarantee-contract.d.ts +0 -19
  427. package/dist/guarantees/contracts/parse-agent-guarantee-contract.js +0 -131
  428. package/dist/guarantees/contracts/parse-agent-guarantee-proof.d.ts +0 -10
  429. package/dist/guarantees/contracts/parse-agent-guarantee-proof.js +0 -133
  430. package/dist/guarantees/features/guarantee-source-closure.d.ts +0 -9
  431. package/dist/guarantees/features/guarantee-source-closure.js +0 -50
  432. package/dist/guarantees/features/ui-feature-contract.d.ts +0 -35
  433. package/dist/guarantees/features/ui-feature-contract.js +0 -133
  434. package/dist/guarantees/features/ui-scene-runtime-trust.d.ts +0 -16
  435. package/dist/guarantees/features/ui-scene-runtime-trust.js +0 -33
  436. package/dist/guarantees/index/build-guarantee-dependency-graph.d.ts +0 -21
  437. package/dist/guarantees/index/build-guarantee-dependency-graph.js +0 -248
  438. package/dist/guarantees/index/export-guarantees-csv.d.ts +0 -110
  439. package/dist/guarantees/index/export-guarantees-csv.js +0 -235
  440. package/dist/guarantees/index/guarantee-journey-audit-item.d.ts +0 -225
  441. package/dist/guarantees/index/guarantee-journey-audit-item.js +0 -81
  442. package/dist/guarantees/index/guarantee-schema-version.d.ts +0 -216
  443. package/dist/guarantees/index/guarantee-schema-version.js +0 -10
  444. package/dist/guarantees/index/parse-verifier-registry.d.ts +0 -64
  445. package/dist/guarantees/index/parse-verifier-registry.js +0 -177
  446. package/dist/guarantees/index/plan-guarantees.d.ts +0 -23
  447. package/dist/guarantees/index/plan-guarantees.js +0 -268
  448. package/dist/guarantees/index/run-guarantees.d.ts +0 -48
  449. package/dist/guarantees/index/run-guarantees.js +0 -327
  450. package/dist/guarantees/index/run-verifier-command.d.ts +0 -41
  451. package/dist/guarantees/index/run-verifier-command.js +0 -290
  452. package/dist/guarantees/index/scene-report-evidence-paths.d.ts +0 -77
  453. package/dist/guarantees/index/scene-report-evidence-paths.js +0 -387
  454. package/dist/guarantees/index/walk-files.d.ts +0 -18
  455. package/dist/guarantees/index/walk-files.js +0 -247
  456. package/dist/hosting/apps.d.ts +0 -12
  457. package/dist/hosting/apps.js +0 -107
  458. package/dist/hosting/builtins/all-environments.d.ts +0 -25
  459. package/dist/hosting/builtins/all-environments.js +0 -194
  460. package/dist/hosting/builtins/create-cloudflare-host-adapter.d.ts +0 -4
  461. package/dist/hosting/builtins/create-cloudflare-host-adapter.js +0 -219
  462. package/dist/hosting/builtins/create-default-service-type-adapters.d.ts +0 -24
  463. package/dist/hosting/builtins/create-default-service-type-adapters.js +0 -159
  464. package/dist/hosting/builtins/probe-cloudflare-pages-public-url.d.ts +0 -15
  465. package/dist/hosting/builtins/probe-cloudflare-pages-public-url.js +0 -166
  466. package/dist/hosting/builtins.d.ts +0 -4
  467. package/dist/hosting/builtins.js +0 -4
  468. package/dist/hosting/contracts.d.ts +0 -190
  469. package/dist/hosting/graph/assert-capability-binding.d.ts +0 -37
  470. package/dist/hosting/graph/assert-capability-binding.js +0 -257
  471. package/dist/hosting/graph/build-profile-from-deploy-config.d.ts +0 -2
  472. package/dist/hosting/graph/build-profile-from-deploy-config.js +0 -253
  473. package/dist/hosting/graph/canonical-hosting-node.d.ts +0 -112
  474. package/dist/hosting/graph/canonical-hosting-node.js +0 -155
  475. package/dist/hosting/graph/railway-service-name-max-length.d.ts +0 -40
  476. package/dist/hosting/graph/railway-service-name-max-length.js +0 -190
  477. package/dist/hosting/graph/railway-source-policy.d.ts +0 -27
  478. package/dist/hosting/graph/railway-source-policy.js +0 -170
  479. package/dist/hosting/graph.d.ts +0 -5
  480. package/dist/hosting/graph.js +0 -5
  481. package/dist/hosting/index.d.ts +0 -4
  482. package/dist/hosting/index.js +0 -4
  483. package/dist/index/agent-and-content.d.ts +0 -17
  484. package/dist/index/agent-and-content.js +0 -87
  485. package/dist/index/capacity-and-governance.d.ts +0 -14
  486. package/dist/index/capacity-and-governance.js +0 -45
  487. package/dist/index/database-and-remote.d.ts +0 -10
  488. package/dist/index/database-and-remote.js +0 -53
  489. package/dist/index/graph-and-search.d.ts +0 -5
  490. package/dist/index/graph-and-search.js +0 -21
  491. package/dist/index/operations-and-workflows.d.ts +0 -22
  492. package/dist/index/operations-and-workflows.js +0 -147
  493. package/dist/index/platform-and-hosting.d.ts +0 -7
  494. package/dist/index/platform-and-hosting.js +0 -103
  495. package/dist/index/public-contracts.d.ts +0 -4
  496. package/dist/index/public-contracts.js +0 -12
  497. package/dist/index/publishing-and-runtime.d.ts +0 -12
  498. package/dist/index/publishing-and-runtime.js +0 -81
  499. package/dist/index/templates-and-catalog.d.ts +0 -1
  500. package/dist/index/templates-and-catalog.js +0 -5
  501. package/dist/index.d.ts +0 -10
  502. package/dist/index.js +0 -10
  503. package/dist/knowledge/authoring.d.ts +0 -3
  504. package/dist/knowledge/authoring.js +0 -61
  505. package/dist/knowledge/catalog.d.ts +0 -38
  506. package/dist/knowledge/catalog.js +0 -254
  507. package/dist/knowledge/collaboration.d.ts +0 -89
  508. package/dist/knowledge/collaboration.js +0 -6
  509. package/dist/knowledge/editorial-context.d.ts +0 -22
  510. package/dist/knowledge/editorial-context.js +0 -60
  511. package/dist/knowledge/editorial-review.d.ts +0 -33
  512. package/dist/knowledge/editorial-review.js +0 -30
  513. package/dist/knowledge/markdown.d.ts +0 -3
  514. package/dist/knowledge/markdown.js +0 -130
  515. package/dist/knowledge/publication.d.ts +0 -39
  516. package/dist/knowledge/publication.js +0 -39
  517. package/dist/knowledge/routes.d.ts +0 -3
  518. package/dist/knowledge/routes.js +0 -15
  519. package/dist/knowledge-packs/index.d.ts +0 -2
  520. package/dist/knowledge-packs/index.js +0 -2
  521. package/dist/knowledge-packs/snapshot.d.ts +0 -43
  522. package/dist/knowledge-packs/snapshot.js +0 -89
  523. package/dist/knowledge-packs/zip.d.ts +0 -7
  524. package/dist/knowledge-packs/zip.js +0 -101
  525. package/dist/local-dev/managed-dev-process-spec.d.ts +0 -8
  526. package/dist/local-dev/managed-dev-process-spec.js +0 -206
  527. package/dist/local-dev/managed-dev.d.ts +0 -88
  528. package/dist/local-dev/managed-dev.js +0 -300
  529. package/dist/local-dev/source-closure.d.ts +0 -14
  530. package/dist/local-dev/source-closure.js +0 -154
  531. package/dist/managed-dependencies/collect-native-dependency-repairs.d.ts +0 -28
  532. package/dist/managed-dependencies/collect-native-dependency-repairs.js +0 -246
  533. package/dist/managed-dependencies/dependency-runtime.d.ts +0 -132
  534. package/dist/managed-dependencies/dependency-runtime.js +0 -178
  535. package/dist/managed-dependencies/install-cloudflared.d.ts +0 -2
  536. package/dist/managed-dependencies/install-cloudflared.js +0 -48
  537. package/dist/managed-dependencies/install-gh-act.d.ts +0 -6
  538. package/dist/managed-dependencies/install-gh-act.js +0 -215
  539. package/dist/managed-dependencies/install-gh.d.ts +0 -7
  540. package/dist/managed-dependencies/install-gh.js +0 -274
  541. package/dist/managed-dependencies/redact-sensitive-output.d.ts +0 -38
  542. package/dist/managed-dependencies/redact-sensitive-output.js +0 -207
  543. package/dist/managed-dependencies/run-npm-tool-rebuilds.d.ts +0 -18
  544. package/dist/managed-dependencies/run-npm-tool-rebuilds.js +0 -220
  545. package/dist/operations/agents/agent-checkpoint-integration.d.ts +0 -53
  546. package/dist/operations/agents/agent-checkpoint-integration.js +0 -235
  547. package/dist/operations/agents/agent-tools.d.ts +0 -121
  548. package/dist/operations/agents/agent-tools.js +0 -184
  549. package/dist/operations/agents/agent-worktree-checkpoint.d.ts +0 -24
  550. package/dist/operations/agents/agent-worktree-checkpoint.js +0 -83
  551. package/dist/operations/agents/agent-worktree-prepare.d.ts +0 -24
  552. package/dist/operations/agents/agent-worktree-prepare.js +0 -28
  553. package/dist/operations/agents/execution-authority-receipt.d.ts +0 -43
  554. package/dist/operations/agents/execution-authority-receipt.js +0 -69
  555. package/dist/operations/content-operations.d.ts +0 -106
  556. package/dist/operations/content-operations.js +0 -334
  557. package/dist/operations/operations-registry.d.ts +0 -5
  558. package/dist/operations/operations-registry.js +0 -83
  559. package/dist/operations/operations-types.d.ts +0 -75
  560. package/dist/operations/operations-types.js +0 -17
  561. package/dist/operations/operations.d.ts +0 -17
  562. package/dist/operations/operations.js +0 -108
  563. package/dist/operations/packages/agent-worktree-release.d.ts +0 -27
  564. package/dist/operations/packages/agent-worktree-release.js +0 -25
  565. package/dist/operations/providers/default/auth-who-am-ioperation.d.ts +0 -60
  566. package/dist/operations/providers/default/auth-who-am-ioperation.js +0 -283
  567. package/dist/operations/providers/default/preflight-operation.d.ts +0 -81
  568. package/dist/operations/providers/default/preflight-operation.js +0 -127
  569. package/dist/operations/providers/default/run-git.d.ts +0 -63
  570. package/dist/operations/providers/default/run-git.js +0 -216
  571. package/dist/operations/providers/default/utility-operations.d.ts +0 -45
  572. package/dist/operations/providers/default/utility-operations.js +0 -139
  573. package/dist/operations/providers/default.d.ts +0 -4
  574. package/dist/operations/providers/default.js +0 -4
  575. package/dist/operations/runtime/runtime.d.ts +0 -9
  576. package/dist/operations/runtime/runtime.js +0 -63
  577. package/dist/operations/services/agents/runtime-tools.d.ts +0 -35
  578. package/dist/operations/services/agents/runtime-tools.js +0 -212
  579. package/dist/operations/services/build/build-warning-policy.d.ts +0 -34
  580. package/dist/operations/services/build/build-warning-policy.js +0 -91
  581. package/dist/operations/services/capacity/accounting/release-proof-ledger.d.ts +0 -13
  582. package/dist/operations/services/capacity/accounting/release-proof-ledger.js +0 -81
  583. package/dist/operations/services/capacity/providers/commit-message-provider.d.ts +0 -3
  584. package/dist/operations/services/capacity/providers/commit-message-provider.js +0 -3
  585. package/dist/operations/services/commit-message-provider/context-lines.d.ts +0 -9
  586. package/dist/operations/services/commit-message-provider/context-lines.js +0 -168
  587. package/dist/operations/services/commit-message-provider/default-commit-ai-model.d.ts +0 -87
  588. package/dist/operations/services/commit-message-provider/default-commit-ai-model.js +0 -149
  589. package/dist/operations/services/commit-message-provider/fallback-summary.d.ts +0 -34
  590. package/dist/operations/services/commit-message-provider/fallback-summary.js +0 -227
  591. package/dist/operations/services/config-runtime/accounts/ensure-secret-session-for-config.d.ts +0 -80
  592. package/dist/operations/services/config-runtime/accounts/ensure-secret-session-for-config.js +0 -171
  593. package/dist/operations/services/config-runtime/agents/ensure-act-verification-tooling.d.ts +0 -56
  594. package/dist/operations/services/config-runtime/agents/ensure-act-verification-tooling.js +0 -234
  595. package/dist/operations/services/config-runtime/configuration/configuration-generation.d.ts +0 -25
  596. package/dist/operations/services/config-runtime/configuration/configuration-generation.js +0 -71
  597. package/dist/operations/services/config-runtime/configuration/create-default-machine-config.d.ts +0 -106
  598. package/dist/operations/services/config-runtime/configuration/create-default-machine-config.js +0 -275
  599. package/dist/operations/services/config-runtime/configuration/create-git-hub-config-sync-units.d.ts +0 -55
  600. package/dist/operations/services/config-runtime/configuration/create-git-hub-config-sync-units.js +0 -247
  601. package/dist/operations/services/config-runtime/configuration/finalize-config.d.ts +0 -53
  602. package/dist/operations/services/config-runtime/configuration/finalize-config.js +0 -271
  603. package/dist/operations/services/config-runtime/configuration/inspect-key-agent-status.d.ts +0 -5
  604. package/dist/operations/services/config-runtime/configuration/inspect-key-agent-status.js +0 -215
  605. package/dist/operations/services/config-runtime/configuration/list-relevant-config-entries.d.ts +0 -47
  606. package/dist/operations/services/config-runtime/configuration/list-relevant-config-entries.js +0 -228
  607. package/dist/operations/services/config-runtime/configuration/machine-config-relative-path.d.ts +0 -93
  608. package/dist/operations/services/config-runtime/configuration/machine-config-relative-path.js +0 -214
  609. package/dist/operations/services/config-runtime/configuration/resolve-launch-environment.d.ts +0 -100
  610. package/dist/operations/services/config-runtime/configuration/resolve-launch-environment.js +0 -229
  611. package/dist/operations/services/config-runtime/hosting/check-railway-connection.d.ts +0 -35
  612. package/dist/operations/services/config-runtime/hosting/check-railway-connection.js +0 -214
  613. package/dist/operations/services/config-runtime/hosting/load-tenant-deploy-config.d.ts +0 -71
  614. package/dist/operations/services/config-runtime/hosting/load-tenant-deploy-config.js +0 -253
  615. package/dist/operations/services/config-runtime/hosting/sync-cloudflare-environment.d.ts +0 -64
  616. package/dist/operations/services/config-runtime/hosting/sync-cloudflare-environment.js +0 -184
  617. package/dist/operations/services/config-runtime/support/collect-print-env-report.d.ts +0 -53
  618. package/dist/operations/services/config-runtime/support/collect-print-env-report.js +0 -58
  619. package/dist/operations/services/config-runtime/support/resolve-entry-value-from-buckets.d.ts +0 -29
  620. package/dist/operations/services/config-runtime/support/resolve-entry-value-from-buckets.js +0 -237
  621. package/dist/operations/services/config-runtime/support/rotate-machine-key-passphrase.d.ts +0 -59
  622. package/dist/operations/services/config-runtime/support/rotate-machine-key-passphrase.js +0 -258
  623. package/dist/operations/services/config-runtime/support/summarize-persistent-readiness.d.ts +0 -117
  624. package/dist/operations/services/config-runtime/support/summarize-persistent-readiness.js +0 -231
  625. package/dist/operations/services/config-runtime/templates/catalog/template-catalog-settings.d.ts +0 -16
  626. package/dist/operations/services/config-runtime/templates/catalog/template-catalog-settings.js +0 -241
  627. package/dist/operations/services/configuration/config-runtime.d.ts +0 -18
  628. package/dist/operations/services/configuration/config-runtime.js +0 -18
  629. package/dist/operations/services/configuration/github-credentials.d.ts +0 -13
  630. package/dist/operations/services/configuration/github-credentials.js +0 -71
  631. package/dist/operations/services/configuration/key-agent.d.ts +0 -4
  632. package/dist/operations/services/configuration/key-agent.js +0 -4
  633. package/dist/operations/services/deploy/accounts/local-runtime-auth-env-keys.d.ts +0 -159
  634. package/dist/operations/services/deploy/accounts/local-runtime-auth-env-keys.js +0 -240
  635. package/dist/operations/services/deploy/configuration/destroy-environment-resources.d.ts +0 -229
  636. package/dist/operations/services/deploy/configuration/destroy-environment-resources.js +0 -219
  637. package/dist/operations/services/deploy/hosting/assert-cloudflare-cache-purge-succeeded.d.ts +0 -104
  638. package/dist/operations/services/deploy/hosting/assert-cloudflare-cache-purge-succeeded.js +0 -210
  639. package/dist/operations/services/deploy/hosting/build-managed-cloudflare-cache-rules.d.ts +0 -163
  640. package/dist/operations/services/deploy/hosting/build-managed-cloudflare-cache-rules.js +0 -247
  641. package/dist/operations/services/deploy/hosting/cloudflare-api-request.d.ts +0 -7
  642. package/dist/operations/services/deploy/hosting/cloudflare-api-request.js +0 -180
  643. package/dist/operations/services/deploy/hosting/cloudflare-destroy-verification.d.ts +0 -48
  644. package/dist/operations/services/deploy/hosting/cloudflare-destroy-verification.js +0 -120
  645. package/dist/operations/services/deploy/hosting/collect-missing-deploy-inputs.d.ts +0 -67
  646. package/dist/operations/services/deploy/hosting/collect-missing-deploy-inputs.js +0 -227
  647. package/dist/operations/services/deploy/hosting/configured-surface-hosts.d.ts +0 -98
  648. package/dist/operations/services/deploy/hosting/configured-surface-hosts.js +0 -222
  649. package/dist/operations/services/deploy/hosting/delete-cloudflare-api-resource.d.ts +0 -65
  650. package/dist/operations/services/deploy/hosting/delete-cloudflare-api-resource.js +0 -258
  651. package/dist/operations/services/deploy/hosting/load-deploy-state.d.ts +0 -17
  652. package/dist/operations/services/deploy/hosting/load-deploy-state.js +0 -278
  653. package/dist/operations/services/deploy/hosting/provision-cloudflare-resources.d.ts +0 -47
  654. package/dist/operations/services/deploy/hosting/provision-cloudflare-resources.js +0 -207
  655. package/dist/operations/services/deploy/hosting/verify-provisioned-cloudflare-resources.d.ts +0 -25
  656. package/dist/operations/services/deploy/hosting/verify-provisioned-cloudflare-resources.js +0 -260
  657. package/dist/operations/services/deploy/projects/projects-core/ensure-pages-project-compatibility.d.ts +0 -59
  658. package/dist/operations/services/deploy/projects/projects-core/ensure-pages-project-compatibility.js +0 -142
  659. package/dist/operations/services/deploy/support/default-compatibility-date.d.ts +0 -42
  660. package/dist/operations/services/deploy/support/default-compatibility-date.js +0 -234
  661. package/dist/operations/services/deploy/support/delete-cache-rules.d.ts +0 -52
  662. package/dist/operations/services/deploy/support/delete-cache-rules.js +0 -267
  663. package/dist/operations/services/deploy/support/docker-list.d.ts +0 -55
  664. package/dist/operations/services/deploy/support/docker-list.js +0 -251
  665. package/dist/operations/services/deploy/support/pages-domain-name.d.ts +0 -52
  666. package/dist/operations/services/deploy/support/pages-domain-name.js +0 -246
  667. package/dist/operations/services/deploy/support/print-destroy-summary.d.ts +0 -1
  668. package/dist/operations/services/deploy/support/print-destroy-summary.js +0 -40
  669. package/dist/operations/services/deploy/support/run-wrangler.d.ts +0 -36
  670. package/dist/operations/services/deploy/support/run-wrangler.js +0 -245
  671. package/dist/operations/services/git-runner/active-git-process-hints.d.ts +0 -16
  672. package/dist/operations/services/git-runner/active-git-process-hints.js +0 -225
  673. package/dist/operations/services/git-runner/git-runner-mode.d.ts +0 -78
  674. package/dist/operations/services/git-runner/git-runner-mode.js +0 -198
  675. package/dist/operations/services/git-runner/recover-git-locks.d.ts +0 -14
  676. package/dist/operations/services/git-runner/recover-git-locks.js +0 -124
  677. package/dist/operations/services/git-workflow/checkout-task-branch-from-staging.d.ts +0 -57
  678. package/dist/operations/services/git-workflow/checkout-task-branch-from-staging.js +0 -223
  679. package/dist/operations/services/git-workflow/inspect-detached-head-repair.d.ts +0 -112
  680. package/dist/operations/services/git-workflow/inspect-detached-head-repair.js +0 -265
  681. package/dist/operations/services/git-workflow/inspect-merged-remote-task-branches.d.ts +0 -85
  682. package/dist/operations/services/git-workflow/inspect-merged-remote-task-branches.js +0 -237
  683. package/dist/operations/services/git-workflow/reconcile-submodule-checkouts.d.ts +0 -5
  684. package/dist/operations/services/git-workflow/reconcile-submodule-checkouts.js +0 -34
  685. package/dist/operations/services/git-workflow/staging-branch.d.ts +0 -32
  686. package/dist/operations/services/git-workflow/staging-branch.js +0 -203
  687. package/dist/operations/services/github-actions-verification/create-git-hub-actions-gate-progress-reporter.d.ts +0 -15
  688. package/dist/operations/services/github-actions-verification/create-git-hub-actions-gate-progress-reporter.js +0 -66
  689. package/dist/operations/services/github-actions-verification/git-hub-actions-workflow-state.d.ts +0 -134
  690. package/dist/operations/services/github-actions-verification/git-hub-actions-workflow-state.js +0 -104
  691. package/dist/operations/services/github-actions-verification/inspect-target.d.ts +0 -37
  692. package/dist/operations/services/github-actions-verification/inspect-target.js +0 -237
  693. package/dist/operations/services/github-actions-verification/resolve-remote-branch-head.d.ts +0 -16
  694. package/dist/operations/services/github-actions-verification/resolve-remote-branch-head.js +0 -228
  695. package/dist/operations/services/github-api/create-git-hub-api-client.d.ts +0 -73
  696. package/dist/operations/services/github-api/create-git-hub-api-client.js +0 -264
  697. package/dist/operations/services/github-api/get-latest-git-hub-workflow-run.d.ts +0 -52
  698. package/dist/operations/services/github-api/get-latest-git-hub-workflow-run.js +0 -214
  699. package/dist/operations/services/github-api/paginate-git-hub-environment-names.d.ts +0 -45
  700. package/dist/operations/services/github-api/paginate-git-hub-environment-names.js +0 -176
  701. package/dist/operations/services/github-api/require.d.ts +0 -139
  702. package/dist/operations/services/github-api/require.js +0 -123
  703. package/dist/operations/services/github-api/upsert-git-hub-repository-variable-with-gh-cli.d.ts +0 -32
  704. package/dist/operations/services/github-api/upsert-git-hub-repository-variable-with-gh-cli.js +0 -243
  705. package/dist/operations/services/github-automation/ensure-git-hub-bootstrap-repository.d.ts +0 -21
  706. package/dist/operations/services/github-automation/ensure-git-hub-bootstrap-repository.js +0 -59
  707. package/dist/operations/services/github-automation/github-repository-remote.d.ts +0 -3
  708. package/dist/operations/services/github-automation/github-repository-remote.js +0 -36
  709. package/dist/operations/services/github-automation/non-empty-values.d.ts +0 -51
  710. package/dist/operations/services/github-automation/non-empty-values.js +0 -111
  711. package/dist/operations/services/guarantees/release-proof-planner.d.ts +0 -48
  712. package/dist/operations/services/guarantees/release-proof-planner.js +0 -195
  713. package/dist/operations/services/guarantees/release-proof-runner.d.ts +0 -16
  714. package/dist/operations/services/guarantees/release-proof-runner.js +0 -169
  715. package/dist/operations/services/guarantees/release-proof.d.ts +0 -81
  716. package/dist/operations/services/guarantees/release-proof.js +0 -79
  717. package/dist/operations/services/hosted-service-checks/collect-hosted-service-checks.d.ts +0 -2
  718. package/dist/operations/services/hosted-service-checks/collect-hosted-service-checks.js +0 -387
  719. package/dist/operations/services/hosted-service-checks/hosted-service-check-status.d.ts +0 -110
  720. package/dist/operations/services/hosted-service-checks/hosted-service-check-status.js +0 -155
  721. package/dist/operations/services/hosting/audit/hosted-service-checks.d.ts +0 -2
  722. package/dist/operations/services/hosting/audit/hosted-service-checks.js +0 -2
  723. package/dist/operations/services/hosting/audit/hosting-audit.d.ts +0 -4
  724. package/dist/operations/services/hosting/audit/hosting-audit.js +0 -4
  725. package/dist/operations/services/hosting/audit/live-hosted-service-checks.d.ts +0 -4
  726. package/dist/operations/services/hosting/audit/live-hosted-service-checks.js +0 -4
  727. package/dist/operations/services/hosting/audit/managed-host-security.d.ts +0 -13
  728. package/dist/operations/services/hosting/audit/managed-host-security.js +0 -54
  729. package/dist/operations/services/hosting/deployment/deploy.d.ts +0 -19
  730. package/dist/operations/services/hosting/deployment/deploy.js +0 -19
  731. package/dist/operations/services/hosting/deployment/deployment-readiness.d.ts +0 -30
  732. package/dist/operations/services/hosting/deployment/deployment-readiness.js +0 -217
  733. package/dist/operations/services/hosting/deployment/save-deploy-preflight.d.ts +0 -32
  734. package/dist/operations/services/hosting/deployment/save-deploy-preflight.js +0 -82
  735. package/dist/operations/services/hosting/railway/railway-api.d.ts +0 -10
  736. package/dist/operations/services/hosting/railway/railway-api.js +0 -10
  737. package/dist/operations/services/hosting/railway/railway-cli.d.ts +0 -47
  738. package/dist/operations/services/hosting/railway/railway-cli.js +0 -142
  739. package/dist/operations/services/hosting/railway/railway-deploy.d.ts +0 -10
  740. package/dist/operations/services/hosting/railway/railway-deploy.js +0 -10
  741. package/dist/operations/services/hosting/railway/railway-source-policy.d.ts +0 -25
  742. package/dist/operations/services/hosting/railway/railway-source-policy.js +0 -111
  743. package/dist/operations/services/hosting-audit/check-smtp-reachability.d.ts +0 -14
  744. package/dist/operations/services/hosting-audit/check-smtp-reachability.js +0 -271
  745. package/dist/operations/services/hosting-audit/format-hosting-audit-report.d.ts +0 -2
  746. package/dist/operations/services/hosting-audit/format-hosting-audit-report.js +0 -26
  747. package/dist/operations/services/hosting-audit/hosting-audit-environment.d.ts +0 -98
  748. package/dist/operations/services/hosting-audit/hosting-audit-environment.js +0 -177
  749. package/dist/operations/services/hosting-audit/required-key-check.d.ts +0 -23
  750. package/dist/operations/services/hosting-audit/required-key-check.js +0 -199
  751. package/dist/operations/services/key-agent/migrate-legacy-project-machine-key-to-wrapped.d.ts +0 -2
  752. package/dist/operations/services/key-agent/migrate-legacy-project-machine-key-to-wrapped.js +0 -27
  753. package/dist/operations/services/key-agent/read-legacy-project-machine-key.d.ts +0 -18
  754. package/dist/operations/services/key-agent/read-legacy-project-machine-key.js +0 -250
  755. package/dist/operations/services/key-agent/read-wrapped-machine-key-file.d.ts +0 -43
  756. package/dist/operations/services/key-agent/read-wrapped-machine-key-file.js +0 -260
  757. package/dist/operations/services/key-agent/treseed-machine-key-passphrase-env.d.ts +0 -117
  758. package/dist/operations/services/key-agent/treseed-machine-key-passphrase-env.js +0 -149
  759. package/dist/operations/services/live-hosted-service-checks/collect-http-observations.d.ts +0 -12
  760. package/dist/operations/services/live-hosted-service-checks/collect-http-observations.js +0 -138
  761. package/dist/operations/services/live-hosted-service-checks/collect-railway-observations.d.ts +0 -11
  762. package/dist/operations/services/live-hosted-service-checks/collect-railway-observations.js +0 -271
  763. package/dist/operations/services/live-hosted-service-checks/default-retry-attempts.d.ts +0 -109
  764. package/dist/operations/services/live-hosted-service-checks/default-retry-attempts.js +0 -184
  765. package/dist/operations/services/live-hosted-service-checks/verify-railway-postgres-topology.d.ts +0 -13
  766. package/dist/operations/services/live-hosted-service-checks/verify-railway-postgres-topology.js +0 -71
  767. package/dist/operations/services/operations/bootstrap-runner.d.ts +0 -39
  768. package/dist/operations/services/operations/bootstrap-runner.js +0 -191
  769. package/dist/operations/services/operations/git-runner.d.ts +0 -3
  770. package/dist/operations/services/operations/git-runner.js +0 -3
  771. package/dist/operations/services/operations/git-workflow.d.ts +0 -5
  772. package/dist/operations/services/operations/git-workflow.js +0 -5
  773. package/dist/operations/services/operations/operations-runner-smoke.d.ts +0 -31
  774. package/dist/operations/services/operations/operations-runner-smoke.js +0 -212
  775. package/dist/operations/services/operations/workflow-timing.d.ts +0 -25
  776. package/dist/operations/services/operations/workflow-timing.js +0 -79
  777. package/dist/operations/services/package-adapters/beam-package-adapter.d.ts +0 -5
  778. package/dist/operations/services/package-adapters/beam-package-adapter.js +0 -130
  779. package/dist/operations/services/package-adapters/deployment-source-mode-for-branch.d.ts +0 -19
  780. package/dist/operations/services/package-adapters/deployment-source-mode-for-branch.js +0 -154
  781. package/dist/operations/services/package-adapters/package-kind.d.ts +0 -169
  782. package/dist/operations/services/package-adapters/package-kind.js +0 -110
  783. package/dist/operations/services/package-adapters/plan-package-development-image.d.ts +0 -52
  784. package/dist/operations/services/package-adapters/plan-package-development-image.js +0 -238
  785. package/dist/operations/services/package-adapters/render-package-workflow.d.ts +0 -13
  786. package/dist/operations/services/package-adapters/render-package-workflow.js +0 -251
  787. package/dist/operations/services/package-adapters/validate-package-manifests.d.ts +0 -7
  788. package/dist/operations/services/package-adapters/validate-package-manifests.js +0 -112
  789. package/dist/operations/services/package-bootstrap/contracts.d.ts +0 -30
  790. package/dist/operations/services/package-bootstrap/index.d.ts +0 -2
  791. package/dist/operations/services/package-bootstrap/index.js +0 -2
  792. package/dist/operations/services/package-bootstrap/initialize-package.d.ts +0 -2
  793. package/dist/operations/services/package-bootstrap/initialize-package.js +0 -122
  794. package/dist/operations/services/package-bootstrap/template.d.ts +0 -2
  795. package/dist/operations/services/package-bootstrap/template.js +0 -390
  796. package/dist/operations/services/packages/package-artifacts.d.ts +0 -37
  797. package/dist/operations/services/packages/package-artifacts.js +0 -99
  798. package/dist/operations/services/packages/package-reference-policy.d.ts +0 -67
  799. package/dist/operations/services/packages/package-reference-policy.js +0 -366
  800. package/dist/operations/services/packages/release-history.d.ts +0 -59
  801. package/dist/operations/services/packages/release-history.js +0 -158
  802. package/dist/operations/services/persistence/d1-migration.d.ts +0 -6
  803. package/dist/operations/services/persistence/d1-migration.js +0 -120
  804. package/dist/operations/services/railway-api/collect-railway-volumes.d.ts +0 -30
  805. package/dist/operations/services/railway-api/collect-railway-volumes.js +0 -196
  806. package/dist/operations/services/railway-api/default-railway-api-url.d.ts +0 -122
  807. package/dist/operations/services/railway-api/default-railway-api-url.js +0 -139
  808. package/dist/operations/services/railway-api/ensure-railway-custom-domain.d.ts +0 -74
  809. package/dist/operations/services/railway-api/ensure-railway-custom-domain.js +0 -119
  810. package/dist/operations/services/railway-api/ensure-railway-service-instance-configuration.d.ts +0 -91
  811. package/dist/operations/services/railway-api/ensure-railway-service-instance-configuration.js +0 -164
  812. package/dist/operations/services/railway-api/ensure-railway-service.d.ts +0 -59
  813. package/dist/operations/services/railway-api/ensure-railway-service.js +0 -217
  814. package/dist/operations/services/railway-api/inspect-railway-postgres-service.d.ts +0 -73
  815. package/dist/operations/services/railway-api/inspect-railway-postgres-service.js +0 -209
  816. package/dist/operations/services/railway-api/list-railway-projects.d.ts +0 -41
  817. package/dist/operations/services/railway-api/list-railway-projects.js +0 -213
  818. package/dist/operations/services/railway-api/list-railway-service-domains.d.ts +0 -72
  819. package/dist/operations/services/railway-api/list-railway-service-domains.js +0 -212
  820. package/dist/operations/services/railway-api/normalize-workspace.d.ts +0 -17
  821. package/dist/operations/services/railway-api/normalize-workspace.js +0 -241
  822. package/dist/operations/services/railway-api/upsert-railway-variables.d.ts +0 -39
  823. package/dist/operations/services/railway-api/upsert-railway-variables.js +0 -214
  824. package/dist/operations/services/railway-deploy/configured-public-tree-dx-railway-services.d.ts +0 -81
  825. package/dist/operations/services/railway-deploy/configured-public-tree-dx-railway-services.js +0 -179
  826. package/dist/operations/services/railway-deploy/configured-railway-services-for-config.d.ts +0 -1
  827. package/dist/operations/services/railway-deploy/configured-railway-services-for-config.js +0 -140
  828. package/dist/operations/services/railway-deploy/configured-railway-services.d.ts +0 -42
  829. package/dist/operations/services/railway-deploy/configured-railway-services.js +0 -205
  830. package/dist/operations/services/railway-deploy/deploy-railway-service.d.ts +0 -45
  831. package/dist/operations/services/railway-deploy/deploy-railway-service.js +0 -122
  832. package/dist/operations/services/railway-deploy/ensure-railway-scheduled-jobs.d.ts +0 -19
  833. package/dist/operations/services/railway-deploy/ensure-railway-scheduled-jobs.js +0 -172
  834. package/dist/operations/services/railway-deploy/normalize-scope.d.ts +0 -34
  835. package/dist/operations/services/railway-deploy/normalize-scope.js +0 -230
  836. package/dist/operations/services/railway-deploy/railway-status-deployment-terminal-failure.d.ts +0 -21
  837. package/dist/operations/services/railway-deploy/railway-status-deployment-terminal-failure.js +0 -182
  838. package/dist/operations/services/railway-deploy/sync-railway-service-runtime-configuration-after-deploy.d.ts +0 -66
  839. package/dist/operations/services/railway-deploy/sync-railway-service-runtime-configuration-after-deploy.js +0 -216
  840. package/dist/operations/services/railway-deploy/verify-railway-managed-resources.d.ts +0 -20
  841. package/dist/operations/services/railway-deploy/verify-railway-managed-resources.js +0 -245
  842. package/dist/operations/services/railway-deploy/wait-for-railway-managed-deployments-settled.d.ts +0 -52
  843. package/dist/operations/services/railway-deploy/wait-for-railway-managed-deployments-settled.js +0 -205
  844. package/dist/operations/services/reconciliation/package-adapters.d.ts +0 -6
  845. package/dist/operations/services/reconciliation/package-adapters.js +0 -6
  846. package/dist/operations/services/repositories/git-remote-policy.d.ts +0 -9
  847. package/dist/operations/services/repositories/git-remote-policy.js +0 -63
  848. package/dist/operations/services/repositories/github-actions-verification.d.ts +0 -4
  849. package/dist/operations/services/repositories/github-actions-verification.js +0 -4
  850. package/dist/operations/services/repositories/github-api.d.ts +0 -5
  851. package/dist/operations/services/repositories/github-api.js +0 -5
  852. package/dist/operations/services/repositories/github-automation.d.ts +0 -3
  853. package/dist/operations/services/repositories/github-automation.js +0 -3
  854. package/dist/operations/services/repositories/platform-initializer.d.ts +0 -49
  855. package/dist/operations/services/repositories/platform-initializer.js +0 -161
  856. package/dist/operations/services/repositories/platform-workset.d.ts +0 -103
  857. package/dist/operations/services/repositories/platform-workset.js +0 -204
  858. package/dist/operations/services/repositories/repository-save-orchestrator.d.ts +0 -13
  859. package/dist/operations/services/repositories/repository-save-orchestrator.js +0 -13
  860. package/dist/operations/services/repository-save-orchestrator/packages/finalize-clean-package-version.d.ts +0 -4
  861. package/dist/operations/services/repository-save-orchestrator/packages/finalize-clean-package-version.js +0 -156
  862. package/dist/operations/services/repository-save-orchestrator/repositories/discover-repository-save-nodes.d.ts +0 -43
  863. package/dist/operations/services/repository-save-orchestrator/repositories/discover-repository-save-nodes.js +0 -312
  864. package/dist/operations/services/repository-save-orchestrator/repositories/plan-repository-save.d.ts +0 -11
  865. package/dist/operations/services/repository-save-orchestrator/repositories/plan-repository-save.js +0 -173
  866. package/dist/operations/services/repository-save-orchestrator/repositories/repository-alias-state.d.ts +0 -4
  867. package/dist/operations/services/repository-save-orchestrator/repositories/repository-alias-state.js +0 -99
  868. package/dist/operations/services/repository-save-orchestrator/repositories/run-repository-save-orchestrator.d.ts +0 -8
  869. package/dist/operations/services/repository-save-orchestrator/repositories/run-repository-save-orchestrator.js +0 -173
  870. package/dist/operations/services/repository-save-orchestrator/repositories/save-one-repository.d.ts +0 -2
  871. package/dist/operations/services/repository-save-orchestrator/repositories/save-one-repository.js +0 -227
  872. package/dist/operations/services/repository-save-orchestrator/runtime/with-short-process-temp-env.d.ts +0 -39
  873. package/dist/operations/services/repository-save-orchestrator/runtime/with-short-process-temp-env.js +0 -258
  874. package/dist/operations/services/repository-save-orchestrator/support/change-classification.d.ts +0 -9
  875. package/dist/operations/services/repository-save-orchestrator/support/change-classification.js +0 -47
  876. package/dist/operations/services/repository-save-orchestrator/support/classify-repo-kind.d.ts +0 -33
  877. package/dist/operations/services/repository-save-orchestrator/support/classify-repo-kind.js +0 -236
  878. package/dist/operations/services/repository-save-orchestrator/support/has-staged-changes.d.ts +0 -11
  879. package/dist/operations/services/repository-save-orchestrator/support/has-staged-changes.js +0 -175
  880. package/dist/operations/services/repository-save-orchestrator/support/lockfile-manifest-consistency.d.ts +0 -8
  881. package/dist/operations/services/repository-save-orchestrator/support/lockfile-manifest-consistency.js +0 -46
  882. package/dist/operations/services/repository-save-orchestrator/support/repo-kind.d.ts +0 -215
  883. package/dist/operations/services/repository-save-orchestrator/support/repo-kind.js +0 -54
  884. package/dist/operations/services/repository-save-orchestrator/support/run-script.d.ts +0 -38
  885. package/dist/operations/services/repository-save-orchestrator/support/run-script.js +0 -327
  886. package/dist/operations/services/repository-save-orchestrator/support/standalone-lockfile.d.ts +0 -9
  887. package/dist/operations/services/repository-save-orchestrator/support/standalone-lockfile.js +0 -102
  888. package/dist/operations/services/repository-save-orchestrator/support/tag-state.d.ts +0 -22
  889. package/dist/operations/services/repository-save-orchestrator/support/tag-state.js +0 -212
  890. package/dist/operations/services/repository-save-orchestrator/treedx/repositories/sync-root-workspace-lockfile-metadata.d.ts +0 -15
  891. package/dist/operations/services/repository-save-orchestrator/treedx/repositories/sync-root-workspace-lockfile-metadata.js +0 -259
  892. package/dist/operations/services/runtime/export-runtime.d.ts +0 -18
  893. package/dist/operations/services/runtime/export-runtime.js +0 -140
  894. package/dist/operations/services/runtime/local-cleanup.d.ts +0 -47
  895. package/dist/operations/services/runtime/local-cleanup.js +0 -206
  896. package/dist/operations/services/runtime/local-dev.d.ts +0 -8
  897. package/dist/operations/services/runtime/local-dev.js +0 -96
  898. package/dist/operations/services/runtime/npm-git-clone-recovery.d.ts +0 -12
  899. package/dist/operations/services/runtime/npm-git-clone-recovery.js +0 -25
  900. package/dist/operations/services/runtime/runtime-paths.d.ts +0 -19
  901. package/dist/operations/services/runtime/runtime-paths.js +0 -54
  902. package/dist/operations/services/runtime/watch-dev.d.ts +0 -21
  903. package/dist/operations/services/runtime/watch-dev.js +0 -282
  904. package/dist/operations/services/support/managed-repositories.d.ts +0 -38
  905. package/dist/operations/services/support/managed-repositories.js +0 -188
  906. package/dist/operations/services/support/template-registry.d.ts +0 -3
  907. package/dist/operations/services/support/template-registry.js +0 -3
  908. package/dist/operations/services/support/verification-cache.d.ts +0 -25
  909. package/dist/operations/services/support/verification-cache.js +0 -71
  910. package/dist/operations/services/template-registry/sync-managed-package-json.d.ts +0 -32
  911. package/dist/operations/services/template-registry/sync-managed-package-json.js +0 -234
  912. package/dist/operations/services/template-registry/template-categories.d.ts +0 -115
  913. package/dist/operations/services/template-registry/template-categories.js +0 -161
  914. package/dist/operations/services/template-registry/validate-template-placeholders.d.ts +0 -39
  915. package/dist/operations/services/template-registry/validate-template-placeholders.js +0 -267
  916. package/dist/operations/services/treedx/workspaces/workspace-dependency-mode.d.ts +0 -3
  917. package/dist/operations/services/treedx/workspaces/workspace-dependency-mode.js +0 -3
  918. package/dist/operations/services/treedx/workspaces/workspace-preflight.d.ts +0 -40
  919. package/dist/operations/services/treedx/workspaces/workspace-preflight.js +0 -172
  920. package/dist/operations/services/treedx/workspaces/workspace-save-script.d.ts +0 -26
  921. package/dist/operations/services/treedx/workspaces/workspace-save-script.js +0 -50
  922. package/dist/operations/services/treedx/workspaces/workspace-save.d.ts +0 -2
  923. package/dist/operations/services/treedx/workspaces/workspace-save.js +0 -2
  924. package/dist/operations/services/treedx/workspaces/workspace-tools.d.ts +0 -17
  925. package/dist/operations/services/treedx/workspaces/workspace-tools.js +0 -320
  926. package/dist/operations/services/workspace-dependency-mode/collect-deployment-lockfile-workspace-issues.d.ts +0 -7
  927. package/dist/operations/services/workspace-dependency-mode/collect-deployment-lockfile-workspace-issues.js +0 -93
  928. package/dist/operations/services/workspace-dependency-mode/collect-package-lock-consistency-issues.d.ts +0 -49
  929. package/dist/operations/services/workspace-dependency-mode/collect-package-lock-consistency-issues.js +0 -236
  930. package/dist/operations/services/workspace-dependency-mode/dependency-resolution-mode.d.ts +0 -53
  931. package/dist/operations/services/workspace-dependency-mode/dependency-resolution-mode.js +0 -191
  932. package/dist/operations/services/workspace-save/apply-workspace-version-changes.d.ts +0 -51
  933. package/dist/operations/services/workspace-save/apply-workspace-version-changes.js +0 -229
  934. package/dist/operations/services/workspace-save/run-git.d.ts +0 -51
  935. package/dist/operations/services/workspace-save/run-git.js +0 -243
  936. package/dist/operations/workflow-state.d.ts +0 -5
  937. package/dist/operations/workflow-state.js +0 -5
  938. package/dist/operations/workflow-support.d.ts +0 -30
  939. package/dist/operations/workflow-support.js +0 -412
  940. package/dist/operations/workflow.d.ts +0 -329
  941. package/dist/operations/workflow.js +0 -140
  942. package/dist/packages/sdk-version.d.ts +0 -2
  943. package/dist/packages/sdk-version.js +0 -42
  944. package/dist/persistence/d1-http.d.ts +0 -38
  945. package/dist/persistence/d1-http.js +0 -95
  946. package/dist/persistence/d1-store.d.ts +0 -183
  947. package/dist/persistence/d1-store.js +0 -415
  948. package/dist/platform/configuration/config.d.ts +0 -27
  949. package/dist/platform/configuration/config.js +0 -78
  950. package/dist/platform/configuration/environment.d.ts +0 -5
  951. package/dist/platform/configuration/environment.js +0 -5
  952. package/dist/platform/configuration/site-config-schema.d.ts +0 -1
  953. package/dist/platform/configuration/site-config-schema.js +0 -4
  954. package/dist/platform/configuration/tenant-config.d.ts +0 -8
  955. package/dist/platform/configuration/tenant-config.js +0 -212
  956. package/dist/platform/content/content-runtime-source.d.ts +0 -54
  957. package/dist/platform/content/content-runtime-source.js +0 -169
  958. package/dist/platform/content/local-content-materialization.d.ts +0 -9
  959. package/dist/platform/content/local-content-materialization.js +0 -212
  960. package/dist/platform/deploy-config/deploy-config-field-aliases.d.ts +0 -33
  961. package/dist/platform/deploy-config/deploy-config-field-aliases.js +0 -215
  962. package/dist/platform/deploy-config/normalize-planes-from-legacy-hosting.d.ts +0 -32
  963. package/dist/platform/deploy-config/normalize-planes-from-legacy-hosting.js +0 -236
  964. package/dist/platform/deploy-config/parse-deploy-config.d.ts +0 -19
  965. package/dist/platform/deploy-config/parse-deploy-config.js +0 -175
  966. package/dist/platform/deploy-config/parse-platform-connections.d.ts +0 -10
  967. package/dist/platform/deploy-config/parse-platform-connections.js +0 -50
  968. package/dist/platform/deploy-config/parse-public-tree-dx-federation-config.d.ts +0 -91
  969. package/dist/platform/deploy-config/parse-public-tree-dx-federation-config.js +0 -217
  970. package/dist/platform/desired-state/compile-desired-resource-graph.d.ts +0 -13
  971. package/dist/platform/desired-state/compile-desired-resource-graph.js +0 -130
  972. package/dist/platform/desired-state/desired-environment.d.ts +0 -79
  973. package/dist/platform/desired-state/desired-environment.js +0 -162
  974. package/dist/platform/desired-state/docker-source-closure.d.ts +0 -1
  975. package/dist/platform/desired-state/docker-source-closure.js +0 -33
  976. package/dist/platform/desired-state/local-development-resources.d.ts +0 -4
  977. package/dist/platform/desired-state/local-development-resources.js +0 -260
  978. package/dist/platform/desired-state/local-provider-resources.d.ts +0 -12
  979. package/dist/platform/desired-state/local-provider-resources.js +0 -129
  980. package/dist/platform/desired-state/local-tunnel-identity.d.ts +0 -8
  981. package/dist/platform/desired-state/local-tunnel-identity.js +0 -35
  982. package/dist/platform/desired-state/package-resources.d.ts +0 -4
  983. package/dist/platform/desired-state/package-resources.js +0 -282
  984. package/dist/platform/desired-state/release-gate-resources.d.ts +0 -6
  985. package/dist/platform/desired-state/release-gate-resources.js +0 -243
  986. package/dist/platform/desired-state/safe-tree-dx-repository-name.d.ts +0 -26
  987. package/dist/platform/desired-state/safe-tree-dx-repository-name.js +0 -184
  988. package/dist/platform/env.yaml +0 -931
  989. package/dist/platform/environment/api-surface-enabled.d.ts +0 -32
  990. package/dist/platform/environment/api-surface-enabled.js +0 -202
  991. package/dist/platform/environment/environment-scopes.d.ts +0 -142
  992. package/dist/platform/environment/environment-scopes.js +0 -107
  993. package/dist/platform/environment/is-entry-required.d.ts +0 -24
  994. package/dist/platform/environment/is-entry-required.js +0 -122
  995. package/dist/platform/environment/package-repository-credential-overlay.d.ts +0 -27
  996. package/dist/platform/environment/package-repository-credential-overlay.js +0 -230
  997. package/dist/platform/environment/resolve-content-bucket-binding.d.ts +0 -27
  998. package/dist/platform/environment/resolve-content-bucket-binding.js +0 -185
  999. package/dist/platform/hosting/deploy-config.d.ts +0 -4
  1000. package/dist/platform/hosting/deploy-config.js +0 -4
  1001. package/dist/platform/hosting/deploy-runtime.d.ts +0 -22
  1002. package/dist/platform/hosting/deploy-runtime.js +0 -93
  1003. package/dist/platform/packages/published-content-pipeline.d.ts +0 -3
  1004. package/dist/platform/packages/published-content-pipeline.js +0 -3
  1005. package/dist/platform/packages/published-content.d.ts +0 -11
  1006. package/dist/platform/packages/published-content.js +0 -11
  1007. package/dist/platform/plugins/constants.d.ts +0 -26
  1008. package/dist/platform/plugins/constants.js +0 -33
  1009. package/dist/platform/plugins/runtime.d.ts +0 -81
  1010. package/dist/platform/plugins/runtime.js +0 -288
  1011. package/dist/platform/published-content/hmac-sha256-base64-url.d.ts +0 -23
  1012. package/dist/platform/published-content/hmac-sha256-base64-url.js +0 -228
  1013. package/dist/platform/published-content/publication-contracts.d.ts +0 -60
  1014. package/dist/platform/published-content/publication-contracts.js +0 -27
  1015. package/dist/platform/published-content/published-content-manifest-schema-version.d.ts +0 -191
  1016. package/dist/platform/published-content/published-content-manifest-schema-version.js +0 -53
  1017. package/dist/platform/published-content/r2-api-token-publication-client.d.ts +0 -25
  1018. package/dist/platform/published-content/r2-api-token-publication-client.js +0 -54
  1019. package/dist/platform/published-content/r2-publication-acceptance.d.ts +0 -13
  1020. package/dist/platform/published-content/r2-publication-acceptance.js +0 -30
  1021. package/dist/platform/published-content/r2-publication-client.d.ts +0 -7
  1022. package/dist/platform/published-content/r2-publication-client.js +0 -8
  1023. package/dist/platform/published-content/r2-s3-publication-client.d.ts +0 -26
  1024. package/dist/platform/published-content/r2-s3-publication-client.js +0 -112
  1025. package/dist/platform/published-content/reconcile-content-publication.d.ts +0 -19
  1026. package/dist/platform/published-content/reconcile-content-publication.js +0 -144
  1027. package/dist/platform/published-content/runtime/build-runtime-publication.d.ts +0 -29
  1028. package/dist/platform/published-content/runtime/build-runtime-publication.js +0 -170
  1029. package/dist/platform/published-content/team-scoped-r2-overlay-content-runtime-provider.d.ts +0 -37
  1030. package/dist/platform/published-content/team-scoped-r2-overlay-content-runtime-provider.js +0 -229
  1031. package/dist/platform/published-content/validation/model-content.d.ts +0 -21
  1032. package/dist/platform/published-content/validation/model-content.js +0 -85
  1033. package/dist/platform/published-content/verify-editorial-preview-token.d.ts +0 -13
  1034. package/dist/platform/published-content/verify-editorial-preview-token.js +0 -137
  1035. package/dist/platform/published-content-pipeline/default-artifact-builder.d.ts +0 -29
  1036. package/dist/platform/published-content-pipeline/default-artifact-builder.js +0 -247
  1037. package/dist/platform/published-content-pipeline/list-markdown-files.d.ts +0 -32
  1038. package/dist/platform/published-content-pipeline/list-markdown-files.js +0 -181
  1039. package/dist/platform/published-content-pipeline/resolve-publication-access-mode.d.ts +0 -119
  1040. package/dist/platform/published-content-pipeline/resolve-publication-access-mode.js +0 -143
  1041. package/dist/platform/reconciliation/desired-state.d.ts +0 -6
  1042. package/dist/platform/reconciliation/desired-state.js +0 -6
  1043. package/dist/platform/support/contracts.d.ts +0 -374
  1044. package/dist/platform/support/contracts.js +0 -0
  1045. package/dist/platform/support/plugin.d.ts +0 -130
  1046. package/dist/platform/support/plugin.js +0 -28
  1047. package/dist/platform/support/plugins.d.ts +0 -6
  1048. package/dist/platform/support/plugins.js +0 -42
  1049. package/dist/platform/tenant/runtime-config.d.ts +0 -154
  1050. package/dist/platform/tenant/runtime-config.js +0 -73
  1051. package/dist/platform/treedx/repositories/local-treedx-seed.d.ts +0 -19
  1052. package/dist/platform/treedx/repositories/local-treedx-seed.js +0 -55
  1053. package/dist/platform/treedx/runtime-environment.d.ts +0 -20
  1054. package/dist/platform/treedx/runtime-environment.js +0 -37
  1055. package/dist/platform/utils/site-config-schema/is-record.d.ts +0 -52
  1056. package/dist/platform/utils/site-config-schema/is-record.js +0 -232
  1057. package/dist/platform/utils/site-config-schema/parse-access-policies.d.ts +0 -274
  1058. package/dist/platform/utils/site-config-schema/parse-access-policies.js +0 -247
  1059. package/dist/platform/utils/site-config-schema.d.ts +0 -2
  1060. package/dist/platform/utils/site-config-schema.js +0 -2
  1061. package/dist/reconcile/builtin-adapters/build/local-compose-build-policy.d.ts +0 -44
  1062. package/dist/reconcile/builtin-adapters/build/local-compose-build-policy.js +0 -232
  1063. package/dist/reconcile/builtin-adapters/capacity/providers/build-capacity-provider-adapter.d.ts +0 -74
  1064. package/dist/reconcile/builtin-adapters/capacity/providers/build-capacity-provider-adapter.js +0 -396
  1065. package/dist/reconcile/builtin-adapters/capacity/providers/capacity-provider-variables-for-service.d.ts +0 -21
  1066. package/dist/reconcile/builtin-adapters/capacity/providers/capacity-provider-variables-for-service.js +0 -192
  1067. package/dist/reconcile/builtin-adapters/hosting/build-cloudflare-diff.d.ts +0 -22
  1068. package/dist/reconcile/builtin-adapters/hosting/build-cloudflare-diff.js +0 -219
  1069. package/dist/reconcile/builtin-adapters/hosting/cloudflare-tunnel/build-cloudflare-tunnel-adapter.d.ts +0 -7
  1070. package/dist/reconcile/builtin-adapters/hosting/cloudflare-tunnel/build-cloudflare-tunnel-adapter.js +0 -177
  1071. package/dist/reconcile/builtin-adapters/hosting/first-railway-domain-string.d.ts +0 -71
  1072. package/dist/reconcile/builtin-adapters/hosting/first-railway-domain-string.js +0 -212
  1073. package/dist/reconcile/builtin-adapters/hosting/observe-cloudflare-unit.d.ts +0 -2
  1074. package/dist/reconcile/builtin-adapters/hosting/observe-cloudflare-unit.js +0 -97
  1075. package/dist/reconcile/builtin-adapters/hosting/observe-railway-unit.d.ts +0 -32
  1076. package/dist/reconcile/builtin-adapters/hosting/observe-railway-unit.js +0 -219
  1077. package/dist/reconcile/builtin-adapters/hosting/railway-verification-may-settle.d.ts +0 -41
  1078. package/dist/reconcile/builtin-adapters/hosting/railway-verification-may-settle.js +0 -213
  1079. package/dist/reconcile/builtin-adapters/hosting/resolve-railway-topology-for-scope.d.ts +0 -43
  1080. package/dist/reconcile/builtin-adapters/hosting/resolve-railway-topology-for-scope.js +0 -227
  1081. package/dist/reconcile/builtin-adapters/hosting/sync-railway-environment-for-scope.d.ts +0 -31
  1082. package/dist/reconcile/builtin-adapters/hosting/sync-railway-environment-for-scope.js +0 -380
  1083. package/dist/reconcile/builtin-adapters/hosting/to-deploy-target.d.ts +0 -23
  1084. package/dist/reconcile/builtin-adapters/hosting/to-deploy-target.js +0 -250
  1085. package/dist/reconcile/builtin-adapters/hosting/verify-cloudflare-unit-once.d.ts +0 -3
  1086. package/dist/reconcile/builtin-adapters/hosting/verify-cloudflare-unit-once.js +0 -255
  1087. package/dist/reconcile/builtin-adapters/hosting/verify-railway-unit.d.ts +0 -2
  1088. package/dist/reconcile/builtin-adapters/hosting/verify-railway-unit.js +0 -283
  1089. package/dist/reconcile/builtin-adapters/projects/knowledge/reconcile-remote-tree-dx-content.d.ts +0 -23
  1090. package/dist/reconcile/builtin-adapters/projects/knowledge/reconcile-remote-tree-dx-content.js +0 -139
  1091. package/dist/reconcile/builtin-adapters/projects/knowledge/verify-local-tree-dx-project-content.d.ts +0 -18
  1092. package/dist/reconcile/builtin-adapters/projects/knowledge/verify-local-tree-dx-project-content.js +0 -386
  1093. package/dist/reconcile/builtin-adapters/projects/projects-core/configured-railway-project-sync-groups.d.ts +0 -19
  1094. package/dist/reconcile/builtin-adapters/projects/projects-core/configured-railway-project-sync-groups.js +0 -171
  1095. package/dist/reconcile/builtin-adapters/projects/projects-core/reconcile-stale-operations-runner-resources-for-project.d.ts +0 -15
  1096. package/dist/reconcile/builtin-adapters/projects/projects-core/reconcile-stale-operations-runner-resources-for-project.js +0 -63
  1097. package/dist/reconcile/builtin-adapters/reconciliation/build-git-hub-workflow-dispatch-adapter.d.ts +0 -5
  1098. package/dist/reconcile/builtin-adapters/reconciliation/build-git-hub-workflow-dispatch-adapter.js +0 -270
  1099. package/dist/reconcile/builtin-adapters/reconciliation/build-local-content-materialization-adapter.d.ts +0 -7
  1100. package/dist/reconcile/builtin-adapters/reconciliation/build-local-content-materialization-adapter.js +0 -245
  1101. package/dist/reconcile/builtin-adapters/reconciliation/build-local-docker-compose-adapter.d.ts +0 -7
  1102. package/dist/reconcile/builtin-adapters/reconciliation/build-local-docker-compose-adapter.js +0 -368
  1103. package/dist/reconcile/builtin-adapters/reconciliation/build-railway-adapter.d.ts +0 -12
  1104. package/dist/reconcile/builtin-adapters/reconciliation/build-railway-adapter.js +0 -218
  1105. package/dist/reconcile/builtin-adapters/reconciliation/build-release-gate-adapter.d.ts +0 -3
  1106. package/dist/reconcile/builtin-adapters/reconciliation/build-release-gate-adapter.js +0 -190
  1107. package/dist/reconcile/builtin-adapters/reconciliation/build-workflow-meta-adapter.d.ts +0 -30
  1108. package/dist/reconcile/builtin-adapters/reconciliation/build-workflow-meta-adapter.js +0 -237
  1109. package/dist/reconcile/builtin-adapters/reconciliation/managed-repository-storage.d.ts +0 -22
  1110. package/dist/reconcile/builtin-adapters/reconciliation/managed-repository-storage.js +0 -81
  1111. package/dist/reconcile/builtin-adapters/reconciliation/reconcile-cloudflare-target.d.ts +0 -55
  1112. package/dist/reconcile/builtin-adapters/reconciliation/reconcile-cloudflare-target.js +0 -267
  1113. package/dist/reconcile/builtin-adapters/repositories/build-github-branch-adapter.d.ts +0 -3
  1114. package/dist/reconcile/builtin-adapters/repositories/build-github-branch-adapter.js +0 -94
  1115. package/dist/reconcile/builtin-adapters/repositories/build-github-branch-rules-adapter.d.ts +0 -2
  1116. package/dist/reconcile/builtin-adapters/repositories/build-github-branch-rules-adapter.js +0 -54
  1117. package/dist/reconcile/builtin-adapters/repositories/build-github-repository-adapter.d.ts +0 -2
  1118. package/dist/reconcile/builtin-adapters/repositories/build-github-repository-adapter.js +0 -107
  1119. package/dist/reconcile/builtin-adapters/repositories/build-github-workflow-observation-adapter.d.ts +0 -2
  1120. package/dist/reconcile/builtin-adapters/repositories/build-github-workflow-observation-adapter.js +0 -63
  1121. package/dist/reconcile/builtin-adapters/support/normalize-turnstile-domains.d.ts +0 -64
  1122. package/dist/reconcile/builtin-adapters/support/normalize-turnstile-domains.js +0 -222
  1123. package/dist/reconcile/builtin-adapters/support/summarize-verification.d.ts +0 -9
  1124. package/dist/reconcile/builtin-adapters/support/summarize-verification.js +0 -101
  1125. package/dist/reconcile/builtin-adapters/support/verify-custom-domain-unit.d.ts +0 -5
  1126. package/dist/reconcile/builtin-adapters/support/verify-custom-domain-unit.js +0 -261
  1127. package/dist/reconcile/builtin-adapters/treedx/graph/build-graph-only-adapter.d.ts +0 -13
  1128. package/dist/reconcile/builtin-adapters/treedx/graph/build-graph-only-adapter.js +0 -198
  1129. package/dist/reconcile/engine/destroy-target-units.d.ts +0 -71
  1130. package/dist/reconcile/engine/destroy-target-units.js +0 -175
  1131. package/dist/reconcile/engine/now-iso.d.ts +0 -36
  1132. package/dist/reconcile/engine/now-iso.js +0 -206
  1133. package/dist/reconcile/engine/reconcile-target.d.ts +0 -24
  1134. package/dist/reconcile/engine/reconcile-target.js +0 -292
  1135. package/dist/reconcile/engine/refresh-units.d.ts +0 -34
  1136. package/dist/reconcile/engine/refresh-units.js +0 -93
  1137. package/dist/reconcile/index.d.ts +0 -9
  1138. package/dist/reconcile/index.js +0 -9
  1139. package/dist/reconcile/providers/docker-private.d.ts +0 -78
  1140. package/dist/reconcile/providers/docker-private.js +0 -146
  1141. package/dist/reconcile/providers/github-private.d.ts +0 -206
  1142. package/dist/reconcile/providers/github-private.js +0 -267
  1143. package/dist/reconcile/providers/local-disk-capacity.d.ts +0 -22
  1144. package/dist/reconcile/providers/local-disk-capacity.js +0 -50
  1145. package/dist/reconcile/providers/local-private.d.ts +0 -28
  1146. package/dist/reconcile/providers/local-private.js +0 -75
  1147. package/dist/reconcile/providers/railway-iac/apply-railway-iac-project-with-plan.d.ts +0 -4
  1148. package/dist/reconcile/providers/railway-iac/apply-railway-iac-project-with-plan.js +0 -90
  1149. package/dist/reconcile/providers/railway-iac/railway-iac-service.d.ts +0 -158
  1150. package/dist/reconcile/providers/railway-iac/railway-iac-service.js +0 -99
  1151. package/dist/reconcile/providers/railway-iac/resolve-railway-iac-volume-bindings.d.ts +0 -17
  1152. package/dist/reconcile/providers/railway-iac/resolve-railway-iac-volume-bindings.js +0 -240
  1153. package/dist/reconcile/providers/railway-iac/run-railway-iac-with-rate-limit-retry.d.ts +0 -39
  1154. package/dist/reconcile/providers/railway-iac/run-railway-iac-with-rate-limit-retry.js +0 -174
  1155. package/dist/reconcile/providers/railway-iac/validate-railway-iac-change-set.d.ts +0 -30
  1156. package/dist/reconcile/providers/railway-iac/validate-railway-iac-change-set.js +0 -174
  1157. package/dist/reconcile/providers/railway-iac.d.ts +0 -5
  1158. package/dist/reconcile/providers/railway-iac.js +0 -5
  1159. package/dist/reconcile/providers/release-private.d.ts +0 -89
  1160. package/dist/reconcile/providers/release-private.js +0 -140
  1161. package/dist/reconcile/reconciliation/builtin-adapters.d.ts +0 -28
  1162. package/dist/reconcile/reconciliation/builtin-adapters.js +0 -28
  1163. package/dist/reconcile/reconciliation/desired-state.d.ts +0 -10
  1164. package/dist/reconcile/reconciliation/desired-state.js +0 -322
  1165. package/dist/reconcile/runtime/local-compose-state.d.ts +0 -45
  1166. package/dist/reconcile/runtime/local-compose-state.js +0 -162
  1167. package/dist/reconcile/seeds/local-seed-bootstrap-adapter.d.ts +0 -3
  1168. package/dist/reconcile/seeds/local-seed-bootstrap-adapter.js +0 -197
  1169. package/dist/reconcile/support/bootstrap-systems.d.ts +0 -32
  1170. package/dist/reconcile/support/bootstrap-systems.js +0 -175
  1171. package/dist/reconcile/support/contracts/contracts.d.ts +0 -172
  1172. package/dist/reconcile/support/contracts/contracts.js +0 -0
  1173. package/dist/reconcile/support/contracts/errors.d.ts +0 -5
  1174. package/dist/reconcile/support/contracts/errors.js +0 -13
  1175. package/dist/reconcile/support/engine/engine.d.ts +0 -4
  1176. package/dist/reconcile/support/engine/engine.js +0 -4
  1177. package/dist/reconcile/support/engine/units.d.ts +0 -6
  1178. package/dist/reconcile/support/engine/units.js +0 -72
  1179. package/dist/reconcile/support/state/platform.d.ts +0 -104
  1180. package/dist/reconcile/support/state/platform.js +0 -100
  1181. package/dist/reconcile/support/state/registry.d.ts +0 -7
  1182. package/dist/reconcile/support/state/registry.js +0 -81
  1183. package/dist/reconcile/support/state/state.d.ts +0 -7
  1184. package/dist/reconcile/support/state/state.js +0 -270
  1185. package/dist/repositories/git-runtime.d.ts +0 -16
  1186. package/dist/repositories/git-runtime.js +0 -69
  1187. package/dist/repositories/repository-custody.d.ts +0 -57
  1188. package/dist/repositories/repository-custody.js +0 -39
  1189. package/dist/repositories/repository-identity.d.ts +0 -12
  1190. package/dist/repositories/repository-identity.js +0 -71
  1191. package/dist/scenes/accounts/auth.d.ts +0 -2
  1192. package/dist/scenes/accounts/auth.js +0 -28
  1193. package/dist/scenes/build/evidence-bundle.d.ts +0 -5
  1194. package/dist/scenes/build/evidence-bundle.js +0 -59
  1195. package/dist/scenes/builtin-plugins/assertion-timeout.d.ts +0 -2
  1196. package/dist/scenes/builtin-plugins/assertion-timeout.js +0 -6
  1197. package/dist/scenes/builtin-plugins/browser-history-action.d.ts +0 -2
  1198. package/dist/scenes/builtin-plugins/browser-history-action.js +0 -17
  1199. package/dist/scenes/builtin-plugins/create-built-in-scene-plugins.d.ts +0 -2
  1200. package/dist/scenes/builtin-plugins/create-built-in-scene-plugins.js +0 -495
  1201. package/dist/scenes/builtin-plugins/duration.d.ts +0 -25
  1202. package/dist/scenes/builtin-plugins/duration.js +0 -148
  1203. package/dist/scenes/builtin-plugins/focus-assertion.d.ts +0 -6
  1204. package/dist/scenes/builtin-plugins/focus-assertion.js +0 -29
  1205. package/dist/scenes/builtin-plugins/keyboard-action.d.ts +0 -2
  1206. package/dist/scenes/builtin-plugins/keyboard-action.js +0 -15
  1207. package/dist/scenes/builtin-plugins/request-values.d.ts +0 -4
  1208. package/dist/scenes/builtin-plugins/request-values.js +0 -19
  1209. package/dist/scenes/builtin-plugins/responsive-actions.d.ts +0 -2
  1210. package/dist/scenes/builtin-plugins/responsive-actions.js +0 -33
  1211. package/dist/scenes/capacity/providers/diagram-providers.d.ts +0 -2
  1212. package/dist/scenes/capacity/providers/diagram-providers.js +0 -181
  1213. package/dist/scenes/configuration/environment.d.ts +0 -3
  1214. package/dist/scenes/configuration/environment.js +0 -70
  1215. package/dist/scenes/index.d.ts +0 -46
  1216. package/dist/scenes/index.js +0 -306
  1217. package/dist/scenes/operations/operations.d.ts +0 -3
  1218. package/dist/scenes/operations/operations.js +0 -146
  1219. package/dist/scenes/operations/runner.d.ts +0 -2
  1220. package/dist/scenes/operations/runner.js +0 -2
  1221. package/dist/scenes/packages/publish-destinations.d.ts +0 -12
  1222. package/dist/scenes/packages/publish-destinations.js +0 -99
  1223. package/dist/scenes/packages/publish-plan-report.d.ts +0 -10
  1224. package/dist/scenes/packages/publish-plan-report.js +0 -70
  1225. package/dist/scenes/packages/publish-plan.d.ts +0 -15
  1226. package/dist/scenes/packages/publish-plan.js +0 -248
  1227. package/dist/scenes/packages/publish-redaction.d.ts +0 -16
  1228. package/dist/scenes/packages/publish-redaction.js +0 -152
  1229. package/dist/scenes/packages/publish-release-record.d.ts +0 -13
  1230. package/dist/scenes/packages/publish-release-record.js +0 -34
  1231. package/dist/scenes/packages/publish-report.d.ts +0 -10
  1232. package/dist/scenes/packages/publish-report.js +0 -67
  1233. package/dist/scenes/packages/publish.d.ts +0 -16
  1234. package/dist/scenes/packages/publish.js +0 -298
  1235. package/dist/scenes/reconciliation/playwright-adapter.d.ts +0 -2
  1236. package/dist/scenes/reconciliation/playwright-adapter.js +0 -67
  1237. package/dist/scenes/reconciliation/remotion-adapter.d.ts +0 -3
  1238. package/dist/scenes/reconciliation/remotion-adapter.js +0 -94
  1239. package/dist/scenes/runner/now.d.ts +0 -72
  1240. package/dist/scenes/runner/now.js +0 -270
  1241. package/dist/scenes/runner/run-scene.d.ts +0 -2
  1242. package/dist/scenes/runner/run-scene.js +0 -470
  1243. package/dist/scenes/runner/trace-evidence.d.ts +0 -7
  1244. package/dist/scenes/runner/trace-evidence.js +0 -38
  1245. package/dist/scenes/runtime/device-matrix.d.ts +0 -2
  1246. package/dist/scenes/runtime/device-matrix.js +0 -100
  1247. package/dist/scenes/runtime/devices.d.ts +0 -11
  1248. package/dist/scenes/runtime/devices.js +0 -36
  1249. package/dist/scenes/runtime/phase0-runtime-capabilities.d.ts +0 -16
  1250. package/dist/scenes/runtime/phase0-runtime-capabilities.js +0 -209
  1251. package/dist/scenes/schema/filesystem-safe-scene-id.d.ts +0 -55
  1252. package/dist/scenes/schema/filesystem-safe-scene-id.js +0 -233
  1253. package/dist/scenes/schema/parse-action.d.ts +0 -18
  1254. package/dist/scenes/schema/parse-action.js +0 -288
  1255. package/dist/scenes/schema/parse-agent-lab.d.ts +0 -2
  1256. package/dist/scenes/schema/parse-agent-lab.js +0 -87
  1257. package/dist/scenes/schema/parse-diagrams.d.ts +0 -7
  1258. package/dist/scenes/schema/parse-diagrams.js +0 -225
  1259. package/dist/scenes/schema/parse-visual-audit.d.ts +0 -6
  1260. package/dist/scenes/schema/parse-visual-audit.js +0 -142
  1261. package/dist/scenes/schema/parse-workflow.d.ts +0 -10
  1262. package/dist/scenes/schema/parse-workflow.js +0 -266
  1263. package/dist/scenes/seeds/seed.d.ts +0 -2
  1264. package/dist/scenes/seeds/seed.js +0 -85
  1265. package/dist/scenes/support/evidence/artifacts.d.ts +0 -19
  1266. package/dist/scenes/support/evidence/artifacts.js +0 -139
  1267. package/dist/scenes/support/evidence/checkpoints.d.ts +0 -14
  1268. package/dist/scenes/support/evidence/checkpoints.js +0 -33
  1269. package/dist/scenes/support/evidence/evidence-report.d.ts +0 -10
  1270. package/dist/scenes/support/evidence/evidence-report.js +0 -73
  1271. package/dist/scenes/support/evidence/evidence.d.ts +0 -16
  1272. package/dist/scenes/support/evidence/evidence.js +0 -281
  1273. package/dist/scenes/support/evidence/segments.d.ts +0 -15
  1274. package/dist/scenes/support/evidence/segments.js +0 -79
  1275. package/dist/scenes/support/evidence/timeline.d.ts +0 -11
  1276. package/dist/scenes/support/evidence/timeline.js +0 -26
  1277. package/dist/scenes/support/execution/base-url.d.ts +0 -12
  1278. package/dist/scenes/support/execution/base-url.js +0 -123
  1279. package/dist/scenes/support/execution/loader.d.ts +0 -3
  1280. package/dist/scenes/support/execution/loader.js +0 -38
  1281. package/dist/scenes/support/execution/phase0.d.ts +0 -9
  1282. package/dist/scenes/support/execution/phase0.js +0 -103
  1283. package/dist/scenes/support/execution/planner.d.ts +0 -12
  1284. package/dist/scenes/support/execution/planner.js +0 -166
  1285. package/dist/scenes/support/execution/resume.d.ts +0 -2
  1286. package/dist/scenes/support/execution/resume.js +0 -82
  1287. package/dist/scenes/support/execution/timeouts.d.ts +0 -7
  1288. package/dist/scenes/support/execution/timeouts.js +0 -26
  1289. package/dist/scenes/support/plugins/builtin-plugins.d.ts +0 -2
  1290. package/dist/scenes/support/plugins/builtin-plugins.js +0 -2
  1291. package/dist/scenes/support/plugins/phase0-capabilities.d.ts +0 -3
  1292. package/dist/scenes/support/plugins/phase0-capabilities.js +0 -8
  1293. package/dist/scenes/support/plugins/phase0-publication-audit-capabilities.d.ts +0 -16
  1294. package/dist/scenes/support/plugins/phase0-publication-audit-capabilities.js +0 -131
  1295. package/dist/scenes/support/plugins/plugins.d.ts +0 -5
  1296. package/dist/scenes/support/plugins/plugins.js +0 -115
  1297. package/dist/scenes/support/plugins/registry.d.ts +0 -12
  1298. package/dist/scenes/support/plugins/registry.js +0 -65
  1299. package/dist/scenes/support/rendering/diagram-validation.d.ts +0 -22
  1300. package/dist/scenes/support/rendering/diagram-validation.js +0 -74
  1301. package/dist/scenes/support/rendering/phase0-media-evidence-capabilities.d.ts +0 -16
  1302. package/dist/scenes/support/rendering/phase0-media-evidence-capabilities.js +0 -209
  1303. package/dist/scenes/support/rendering/remotion-composition-registry.d.ts +0 -2
  1304. package/dist/scenes/support/rendering/remotion-composition-registry.js +0 -12
  1305. package/dist/scenes/support/rendering/remotion-compositions.d.ts +0 -15
  1306. package/dist/scenes/support/rendering/remotion-compositions.js +0 -464
  1307. package/dist/scenes/support/rendering/remotion-diagrams.d.ts +0 -9
  1308. package/dist/scenes/support/rendering/remotion-diagrams.js +0 -188
  1309. package/dist/scenes/support/rendering/remotion-input.d.ts +0 -13
  1310. package/dist/scenes/support/rendering/remotion-input.js +0 -291
  1311. package/dist/scenes/support/rendering/remotion-visuals.d.ts +0 -29
  1312. package/dist/scenes/support/rendering/remotion-visuals.js +0 -198
  1313. package/dist/scenes/support/rendering/render-media-assets.d.ts +0 -9
  1314. package/dist/scenes/support/rendering/render-media-assets.js +0 -117
  1315. package/dist/scenes/support/rendering/render-report.d.ts +0 -10
  1316. package/dist/scenes/support/rendering/render-report.js +0 -27
  1317. package/dist/scenes/support/rendering/render.d.ts +0 -2
  1318. package/dist/scenes/support/rendering/render.js +0 -218
  1319. package/dist/scenes/support/reporting/diagnostics.d.ts +0 -5
  1320. package/dist/scenes/support/reporting/diagnostics.js +0 -22
  1321. package/dist/scenes/support/reporting/inspect.d.ts +0 -9
  1322. package/dist/scenes/support/reporting/inspect.js +0 -64
  1323. package/dist/scenes/support/reporting/logs.d.ts +0 -2
  1324. package/dist/scenes/support/reporting/logs.js +0 -47
  1325. package/dist/scenes/support/reporting/progress.d.ts +0 -17
  1326. package/dist/scenes/support/reporting/progress.js +0 -24
  1327. package/dist/scenes/support/reporting/reporter.d.ts +0 -3
  1328. package/dist/scenes/support/reporting/reporter.js +0 -101
  1329. package/dist/scenes/support/training/training-captions.d.ts +0 -14
  1330. package/dist/scenes/support/training/training-captions.js +0 -98
  1331. package/dist/scenes/support/training/training-report.d.ts +0 -10
  1332. package/dist/scenes/support/training/training-report.js +0 -78
  1333. package/dist/scenes/support/training/training-transcript.d.ts +0 -24
  1334. package/dist/scenes/support/training/training-transcript.js +0 -206
  1335. package/dist/scenes/support/training/training.d.ts +0 -10
  1336. package/dist/scenes/support/training/training.js +0 -134
  1337. package/dist/scenes/support/validation/schema.d.ts +0 -5
  1338. package/dist/scenes/support/validation/schema.js +0 -5
  1339. package/dist/scenes/support/validation/selectors.d.ts +0 -3
  1340. package/dist/scenes/support/validation/selectors.js +0 -21
  1341. package/dist/scenes/support/visual-audit/visual-audit-contact-sheets.d.ts +0 -6
  1342. package/dist/scenes/support/visual-audit/visual-audit-contact-sheets.js +0 -119
  1343. package/dist/scenes/support/visual-audit/visual-audit-report.d.ts +0 -11
  1344. package/dist/scenes/support/visual-audit/visual-audit-report.js +0 -85
  1345. package/dist/scenes/support/visual-audit/visual-audit-review.d.ts +0 -4
  1346. package/dist/scenes/support/visual-audit/visual-audit-review.js +0 -4
  1347. package/dist/scenes/support/visual-audit/visual-audit-routes.d.ts +0 -13
  1348. package/dist/scenes/support/visual-audit/visual-audit-routes.js +0 -317
  1349. package/dist/scenes/support/visual-audit/visual-audit.d.ts +0 -3
  1350. package/dist/scenes/support/visual-audit/visual-audit.js +0 -3
  1351. package/dist/scenes/testing/visual-audit-tree-dx.d.ts +0 -17
  1352. package/dist/scenes/testing/visual-audit-tree-dx.js +0 -67
  1353. package/dist/scenes/types/scene-agent-lab.d.ts +0 -190
  1354. package/dist/scenes/types/scene-agent-lab.js +0 -4
  1355. package/dist/scenes/types/scene-checkpoint.d.ts +0 -212
  1356. package/dist/scenes/types/scene-checkpoint.js +0 -0
  1357. package/dist/scenes/types/scene-diagram.d.ts +0 -191
  1358. package/dist/scenes/types/scene-diagram.js +0 -0
  1359. package/dist/scenes/types/scene-evidence-artifact-kind.d.ts +0 -209
  1360. package/dist/scenes/types/scene-evidence-artifact-kind.js +0 -0
  1361. package/dist/scenes/types/scene-publish-plan-paths.d.ts +0 -249
  1362. package/dist/scenes/types/scene-publish-plan-paths.js +0 -0
  1363. package/dist/scenes/types/scene-render-input.d.ts +0 -240
  1364. package/dist/scenes/types/scene-render-input.js +0 -0
  1365. package/dist/scenes/types/scene-schema-version.d.ts +0 -257
  1366. package/dist/scenes/types/scene-schema-version.js +0 -8
  1367. package/dist/scenes/types/scene-timeline-writer.d.ts +0 -186
  1368. package/dist/scenes/types/scene-timeline-writer.js +0 -0
  1369. package/dist/scenes/types/scene-validation-report.d.ts +0 -206
  1370. package/dist/scenes/types/scene-validation-report.js +0 -0
  1371. package/dist/scenes/types/scene-visual-audit-finding.d.ts +0 -235
  1372. package/dist/scenes/types/scene-visual-audit-finding.js +0 -0
  1373. package/dist/scenes/types.d.ts +0 -10
  1374. package/dist/scenes/types.js +0 -10
  1375. package/dist/scenes/visual-audit/capture-route.d.ts +0 -33
  1376. package/dist/scenes/visual-audit/capture-route.js +0 -221
  1377. package/dist/scenes/visual-audit/run-scene-visual-audit.d.ts +0 -3
  1378. package/dist/scenes/visual-audit/run-scene-visual-audit.js +0 -226
  1379. package/dist/scenes/visual-audit/split-diagnostics.d.ts +0 -1718
  1380. package/dist/scenes/visual-audit/split-diagnostics.js +0 -177
  1381. package/dist/scenes/visual-audit-review/enrich-client-errors.d.ts +0 -59
  1382. package/dist/scenes/visual-audit-review/enrich-client-errors.js +0 -256
  1383. package/dist/scenes/visual-audit-review/format-owner-brief.d.ts +0 -12
  1384. package/dist/scenes/visual-audit-review/format-owner-brief.js +0 -140
  1385. package/dist/scenes/visual-audit-review/incident-title.d.ts +0 -49
  1386. package/dist/scenes/visual-audit-review/incident-title.js +0 -266
  1387. package/dist/scenes/visual-audit-review/severities.d.ts +0 -53
  1388. package/dist/scenes/visual-audit-review/severities.js +0 -221
  1389. package/dist/scripts/agents/fixture-tools.js +0 -29
  1390. package/dist/scripts/build/build-dist.js +0 -306
  1391. package/dist/scripts/build/build-tenant-worker.js +0 -36
  1392. package/dist/scripts/build/check-build-warnings.js +0 -51
  1393. package/dist/scripts/build/tenant-build.js +0 -44
  1394. package/dist/scripts/capacity/capacity-core/generate-capacity-operator-parity.js +0 -13
  1395. package/dist/scripts/configuration/config.js +0 -131
  1396. package/dist/scripts/configuration/key-agent.js +0 -165
  1397. package/dist/scripts/content/patch-starlight-content-path.js +0 -173
  1398. package/dist/scripts/content/publish-content.js +0 -71
  1399. package/dist/scripts/guarantees/migrate-journey-csv-to-guarantees.js +0 -140
  1400. package/dist/scripts/hosting/deployment-readiness.js +0 -20
  1401. package/dist/scripts/hosting/tenant-deploy.js +0 -220
  1402. package/dist/scripts/hosting/test-cloudflare-local.js +0 -209
  1403. package/dist/scripts/maintenance/cleanup-markdown.js +0 -377
  1404. package/dist/scripts/maintenance/install-managed-dependencies.js +0 -12
  1405. package/dist/scripts/maintenance/prepare.js +0 -10
  1406. package/dist/scripts/operations/consolidate-workflow-lifecycle-tests.js +0 -87
  1407. package/dist/scripts/operations/operations-runner-smoke.js +0 -16
  1408. package/dist/scripts/operations/tenant-workflow-action.js +0 -131
  1409. package/dist/scripts/packages/assert-release-tag-version.js +0 -21
  1410. package/dist/scripts/packages/package-tools.js +0 -85
  1411. package/dist/scripts/packages/publish-package.js +0 -93
  1412. package/dist/scripts/packages/published-package-readback.js +0 -61
  1413. package/dist/scripts/packages/release-verify.js +0 -106
  1414. package/dist/scripts/packages/release-version.js +0 -16
  1415. package/dist/scripts/packages/verify-published-package.js +0 -15
  1416. package/dist/scripts/persistence/tenant-d1-migrate-local.js +0 -15
  1417. package/dist/scripts/runtime/local-dev.js +0 -129
  1418. package/dist/scripts/runtime/tenant-dev.js +0 -159
  1419. package/dist/scripts/standards/acquire-accepted-baseline.js +0 -104
  1420. package/dist/scripts/standards/build-contract-bundle.js +0 -52
  1421. package/dist/scripts/standards/compare-compatibility.js +0 -49
  1422. package/dist/scripts/standards/contract-models.js +0 -43
  1423. package/dist/scripts/standards/create-release-evidence.js +0 -61
  1424. package/dist/scripts/standards/package-acceptance.js +0 -43
  1425. package/dist/scripts/standards/resolve-composition.js +0 -20
  1426. package/dist/scripts/standards/verify-api-consumer.js +0 -80
  1427. package/dist/scripts/templates/scaffold-site.js +0 -66
  1428. package/dist/scripts/templates/sync-template.js +0 -20
  1429. package/dist/scripts/templates/template-command.js +0 -31
  1430. package/dist/scripts/templates/validate-templates.js +0 -6
  1431. package/dist/scripts/tenant/tenant-astro-command.js +0 -3
  1432. package/dist/scripts/tenant/tenant-destroy.js +0 -112
  1433. package/dist/scripts/tenant/tenant-lint.js +0 -4
  1434. package/dist/scripts/testing/cli-test-fixtures.js +0 -44
  1435. package/dist/scripts/testing/run-fixture-astro-command.js +0 -18
  1436. package/dist/scripts/testing/tenant-test.js +0 -4
  1437. package/dist/scripts/testing/test-scaffold.js +0 -299
  1438. package/dist/scripts/testing/test-smoke.js +0 -137
  1439. package/dist/scripts/treedx/repositories/generate-treedx-openapi-types.js +0 -186
  1440. package/dist/scripts/treedx/workspaces/workspace-command-e2e.js +0 -4
  1441. package/dist/scripts/treedx/workspaces/workspace-lint.js +0 -15
  1442. package/dist/scripts/treedx/workspaces/workspace-preflight.js +0 -22
  1443. package/dist/scripts/treedx/workspaces/workspace-publish-changed-packages.js +0 -16
  1444. package/dist/scripts/treedx/workspaces/workspace-release-test.js +0 -104
  1445. package/dist/scripts/treedx/workspaces/workspace-release-verify.js +0 -81
  1446. package/dist/scripts/treedx/workspaces/workspace-save.js +0 -64
  1447. package/dist/scripts/treedx/workspaces/workspace-start-warning.js +0 -3
  1448. package/dist/scripts/treedx/workspaces/workspace-test-unit.js +0 -4
  1449. package/dist/scripts/treedx/workspaces/workspace-test.js +0 -17
  1450. package/dist/scripts/verification/check-file-architecture.js +0 -111
  1451. package/dist/scripts/verification/check-file-lengths.js +0 -46
  1452. package/dist/scripts/verification/tenant-check.js +0 -6
  1453. package/dist/scripts/verification/verify-driver.js +0 -39
  1454. package/dist/scripts/workspace-command-e2e/root.js +0 -217
  1455. package/dist/scripts/workspace-command-e2e/run-dev-session.js +0 -238
  1456. package/dist/scripts/workspace-command-e2e/run-local-suite.js +0 -259
  1457. package/dist/scripts/workspace-command-e2e/run-workspace-command-e2e.js +0 -24
  1458. package/dist/sdk/accounts/resolve-dispatch-token.d.ts +0 -3
  1459. package/dist/sdk/accounts/resolve-dispatch-token.js +0 -12
  1460. package/dist/sdk/agents/list-agent-specs.d.ts +0 -5
  1461. package/dist/sdk/agents/list-agent-specs.js +0 -8
  1462. package/dist/sdk/agents/list-raw-agent-specs.d.ts +0 -4
  1463. package/dist/sdk/agents/list-raw-agent-specs.js +0 -12
  1464. package/dist/sdk/agents/scope-for-agent.d.ts +0 -3
  1465. package/dist/sdk/agents/scope-for-agent.js +0 -7
  1466. package/dist/sdk/build/build-context-pack.d.ts +0 -3
  1467. package/dist/sdk/build/build-context-pack.js +0 -6
  1468. package/dist/sdk/interface.d.ts +0 -57
  1469. package/dist/sdk/interface.js +0 -0
  1470. package/dist/sdk/methods.d.ts +0 -2
  1471. package/dist/sdk/methods.js +0 -109
  1472. package/dist/sdk/packages/get-release.d.ts +0 -3
  1473. package/dist/sdk/packages/get-release.js +0 -7
  1474. package/dist/sdk/packages/get-share-package.d.ts +0 -3
  1475. package/dist/sdk/packages/get-share-package.js +0 -7
  1476. package/dist/sdk/packages/list-releases.d.ts +0 -3
  1477. package/dist/sdk/packages/list-releases.js +0 -7
  1478. package/dist/sdk/packages/list-share-packages.d.ts +0 -3
  1479. package/dist/sdk/packages/list-share-packages.js +0 -7
  1480. package/dist/sdk/packages/release-all-leases.d.ts +0 -4
  1481. package/dist/sdk/packages/release-all-leases.js +0 -7
  1482. package/dist/sdk/packages/release-lease.d.ts +0 -3
  1483. package/dist/sdk/packages/release-lease.js +0 -7
  1484. package/dist/sdk/packages/upsert-release.d.ts +0 -5
  1485. package/dist/sdk/packages/upsert-release.js +0 -7
  1486. package/dist/sdk/packages/upsert-share-package.d.ts +0 -3
  1487. package/dist/sdk/packages/upsert-share-package.js +0 -7
  1488. package/dist/sdk/runtime/execute-dispatch-locally.d.ts +0 -3
  1489. package/dist/sdk/runtime/execute-dispatch-locally.js +0 -47
  1490. package/dist/sdk/seeds/resolve-seeds.d.ts +0 -3
  1491. package/dist/sdk/seeds/resolve-seeds.js +0 -6
  1492. package/dist/sdk/support/approvals/create-approval-request.d.ts +0 -3
  1493. package/dist/sdk/support/approvals/create-approval-request.js +0 -7
  1494. package/dist/sdk/support/approvals/decide-approval-request.d.ts +0 -3
  1495. package/dist/sdk/support/approvals/decide-approval-request.js +0 -7
  1496. package/dist/sdk/support/approvals/list-approval-requests.d.ts +0 -3
  1497. package/dist/sdk/support/approvals/list-approval-requests.js +0 -7
  1498. package/dist/sdk/support/create.d.ts +0 -3
  1499. package/dist/sdk/support/create.js +0 -9
  1500. package/dist/sdk/support/cursors/get-cursor.d.ts +0 -3
  1501. package/dist/sdk/support/cursors/get-cursor.js +0 -7
  1502. package/dist/sdk/support/cursors/upsert-cursor.d.ts +0 -3
  1503. package/dist/sdk/support/cursors/upsert-cursor.js +0 -7
  1504. package/dist/sdk/support/execution/record-run.d.ts +0 -3
  1505. package/dist/sdk/support/execution/record-run.js +0 -7
  1506. package/dist/sdk/support/get.d.ts +0 -3
  1507. package/dist/sdk/support/get.js +0 -9
  1508. package/dist/sdk/support/graph/explain-reference-chain.d.ts +0 -2
  1509. package/dist/sdk/support/graph/explain-reference-chain.js +0 -6
  1510. package/dist/sdk/support/graph/follow-references.d.ts +0 -3
  1511. package/dist/sdk/support/graph/follow-references.js +0 -6
  1512. package/dist/sdk/support/graph/follow.d.ts +0 -9
  1513. package/dist/sdk/support/graph/follow.js +0 -11
  1514. package/dist/sdk/support/graph/get-backlinks.d.ts +0 -7
  1515. package/dist/sdk/support/graph/get-backlinks.js +0 -6
  1516. package/dist/sdk/support/graph/get-neighbors.d.ts +0 -7
  1517. package/dist/sdk/support/graph/get-neighbors.js +0 -6
  1518. package/dist/sdk/support/graph/get-related.d.ts +0 -3
  1519. package/dist/sdk/support/graph/get-related.js +0 -6
  1520. package/dist/sdk/support/graph/resolve-reference.d.ts +0 -6
  1521. package/dist/sdk/support/graph/resolve-reference.js +0 -6
  1522. package/dist/sdk/support/messages/ack-message.d.ts +0 -6
  1523. package/dist/sdk/support/messages/ack-message.js +0 -7
  1524. package/dist/sdk/support/messages/claim-message.d.ts +0 -3
  1525. package/dist/sdk/support/messages/claim-message.js +0 -9
  1526. package/dist/sdk/support/messages/create-message.d.ts +0 -3
  1527. package/dist/sdk/support/messages/create-message.js +0 -7
  1528. package/dist/sdk/support/messages/dispatch.d.ts +0 -3
  1529. package/dist/sdk/support/messages/dispatch.js +0 -42
  1530. package/dist/sdk/support/messages/envelope.d.ts +0 -3
  1531. package/dist/sdk/support/messages/envelope.js +0 -13
  1532. package/dist/sdk/support/pick.d.ts +0 -3
  1533. package/dist/sdk/support/pick.js +0 -11
  1534. package/dist/sdk/support/read.d.ts +0 -9
  1535. package/dist/sdk/support/read.js +0 -9
  1536. package/dist/sdk/support/search/search-entities.d.ts +0 -3
  1537. package/dist/sdk/support/search/search-entities.js +0 -6
  1538. package/dist/sdk/support/search/search-files.d.ts +0 -3
  1539. package/dist/sdk/support/search/search-files.js +0 -6
  1540. package/dist/sdk/support/search/search-sections.d.ts +0 -3
  1541. package/dist/sdk/support/search/search-sections.js +0 -6
  1542. package/dist/sdk/support/search/search.d.ts +0 -3
  1543. package/dist/sdk/support/search/search.js +0 -11
  1544. package/dist/sdk/support/update.d.ts +0 -3
  1545. package/dist/sdk/support/update.js +0 -9
  1546. package/dist/sdk/support/workstreams/append-workstream-event.d.ts +0 -3
  1547. package/dist/sdk/support/workstreams/append-workstream-event.js +0 -7
  1548. package/dist/sdk/support/workstreams/get-workstream.d.ts +0 -3
  1549. package/dist/sdk/support/workstreams/get-workstream.js +0 -7
  1550. package/dist/sdk/support/workstreams/list-workstreams.d.ts +0 -3
  1551. package/dist/sdk/support/workstreams/list-workstreams.js +0 -7
  1552. package/dist/sdk/support/workstreams/upsert-workstream.d.ts +0 -3
  1553. package/dist/sdk/support/workstreams/upsert-workstream.js +0 -7
  1554. package/dist/sdk/teams/upsert-team-inbox-item.d.ts +0 -3
  1555. package/dist/sdk/teams/upsert-team-inbox-item.js +0 -7
  1556. package/dist/sdk/treedx/graph/get-graph-node.d.ts +0 -2
  1557. package/dist/sdk/treedx/graph/get-graph-node.js +0 -6
  1558. package/dist/sdk/treedx/graph/get-subgraph.d.ts +0 -3
  1559. package/dist/sdk/treedx/graph/get-subgraph.js +0 -6
  1560. package/dist/sdk/treedx/graph/parse-graph-dsl.d.ts +0 -3
  1561. package/dist/sdk/treedx/graph/parse-graph-dsl.js +0 -6
  1562. package/dist/sdk/treedx/graph/query-graph.d.ts +0 -3
  1563. package/dist/sdk/treedx/graph/query-graph.js +0 -6
  1564. package/dist/sdk/treedx/graph/refresh-graph.d.ts +0 -3
  1565. package/dist/sdk/treedx/graph/refresh-graph.js +0 -6
  1566. package/dist/secrets-capability/service-vault-crypto.d.ts +0 -20
  1567. package/dist/secrets-capability/service-vault-crypto.js +0 -278
  1568. package/dist/seeds/errors.d.ts +0 -5
  1569. package/dist/seeds/errors.js +0 -22
  1570. package/dist/seeds/index.d.ts +0 -58
  1571. package/dist/seeds/index.js +0 -108
  1572. package/dist/seeds/licensing/portfolio-license.d.ts +0 -60
  1573. package/dist/seeds/licensing/portfolio-license.js +0 -130
  1574. package/dist/seeds/loader.d.ts +0 -8
  1575. package/dist/seeds/loader.js +0 -32
  1576. package/dist/seeds/normalize.d.ts +0 -13
  1577. package/dist/seeds/normalize.js +0 -156
  1578. package/dist/seeds/planner.d.ts +0 -10
  1579. package/dist/seeds/planner.js +0 -144
  1580. package/dist/seeds/reconciliation/repository-units.d.ts +0 -3
  1581. package/dist/seeds/reconciliation/repository-units.js +0 -175
  1582. package/dist/seeds/repositories/content-cutover.d.ts +0 -43
  1583. package/dist/seeds/repositories/content-cutover.js +0 -141
  1584. package/dist/seeds/repositories/organization-reference-migration.d.ts +0 -45
  1585. package/dist/seeds/repositories/organization-reference-migration.js +0 -136
  1586. package/dist/seeds/repositories/repository-history.d.ts +0 -135
  1587. package/dist/seeds/repositories/repository-history.js +0 -343
  1588. package/dist/seeds/repositories/source-repository-history.d.ts +0 -85
  1589. package/dist/seeds/repositories/source-repository-history.js +0 -123
  1590. package/dist/seeds/repositories/support-repository-workflow.d.ts +0 -73
  1591. package/dist/seeds/repositories/support-repository-workflow.js +0 -127
  1592. package/dist/seeds/schema/array-bucket.d.ts +0 -7
  1593. package/dist/seeds/schema/array-bucket.js +0 -261
  1594. package/dist/seeds/schema/parse-project.d.ts +0 -15
  1595. package/dist/seeds/schema/parse-project.js +0 -253
  1596. package/dist/seeds/schema/resource-buckets.d.ts +0 -35
  1597. package/dist/seeds/schema/resource-buckets.js +0 -312
  1598. package/dist/seeds/schema.d.ts +0 -3
  1599. package/dist/seeds/schema.js +0 -3
  1600. package/dist/seeds/types.d.ts +0 -240
  1601. package/dist/seeds/types.js +0 -12
  1602. package/dist/seeds/workspaces/admin-descriptor-migration.d.ts +0 -37
  1603. package/dist/seeds/workspaces/admin-descriptor-migration.js +0 -99
  1604. package/dist/seeds/workspaces/managed-workspace-overlay.d.ts +0 -10
  1605. package/dist/seeds/workspaces/managed-workspace-overlay.js +0 -28
  1606. package/dist/seeds/workspaces/market-api-package-lock.d.ts +0 -2
  1607. package/dist/seeds/workspaces/market-api-package-lock.js +0 -38
  1608. package/dist/seeds/workspaces/platform-workspace-history.d.ts +0 -124
  1609. package/dist/seeds/workspaces/platform-workspace-history.js +0 -312
  1610. package/dist/stores/cursor-store.d.ts +0 -10
  1611. package/dist/stores/cursor-store.js +0 -164
  1612. package/dist/stores/envelopes.d.ts +0 -116
  1613. package/dist/stores/envelopes.js +0 -219
  1614. package/dist/stores/helpers.d.ts +0 -12
  1615. package/dist/stores/helpers.js +0 -42
  1616. package/dist/stores/lease-store.d.ts +0 -18
  1617. package/dist/stores/lease-store.js +0 -189
  1618. package/dist/stores/message-store.d.ts +0 -12
  1619. package/dist/stores/message-store.js +0 -273
  1620. package/dist/stores/operational-store.d.ts +0 -11
  1621. package/dist/stores/operational-store.js +0 -214
  1622. package/dist/stores/project-workflow-store/json-record.d.ts +0 -29
  1623. package/dist/stores/project-workflow-store/json-record.js +0 -223
  1624. package/dist/stores/project-workflow-store/sqlite-project-workflow-store.d.ts +0 -37
  1625. package/dist/stores/project-workflow-store/sqlite-project-workflow-store.js +0 -271
  1626. package/dist/stores/project-workflow-store.d.ts +0 -2
  1627. package/dist/stores/project-workflow-store.js +0 -2
  1628. package/dist/stores/run-store.d.ts +0 -9
  1629. package/dist/stores/run-store.js +0 -75
  1630. package/dist/stores/subscription-store.d.ts +0 -8
  1631. package/dist/stores/subscription-store.js +0 -73
  1632. package/dist/templates/template-catalog.d.ts +0 -13
  1633. package/dist/templates/template-catalog.js +0 -149
  1634. package/dist/testing/fixture-support.d.ts +0 -24
  1635. package/dist/testing/fixture-support.js +0 -385
  1636. package/dist/treedx/accounts/auth.d.ts +0 -17
  1637. package/dist/treedx/accounts/auth.js +0 -48
  1638. package/dist/treedx/accounts/repository-name.d.ts +0 -2
  1639. package/dist/treedx/accounts/repository-name.js +0 -10
  1640. package/dist/treedx/changesets/unified-diff.d.ts +0 -7
  1641. package/dist/treedx/changesets/unified-diff.js +0 -56
  1642. package/dist/treedx/client/accounts/contracts/auth-mode.d.ts +0 -3
  1643. package/dist/treedx/client/accounts/contracts/auth-mode.js +0 -6
  1644. package/dist/treedx/client/build/creation/build-context.d.ts +0 -3
  1645. package/dist/treedx/client/build/creation/build-context.js +0 -7
  1646. package/dist/treedx/client/build/creation/build-snapshot.d.ts +0 -3
  1647. package/dist/treedx/client/build/creation/build-snapshot.js +0 -8
  1648. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.d.ts +0 -3
  1649. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.js +0 -7
  1650. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.d.ts +0 -6
  1651. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.js +0 -10
  1652. package/dist/treedx/client/methods.d.ts +0 -102
  1653. package/dist/treedx/client/methods.js +0 -209
  1654. package/dist/treedx/client/persistence/contracts/restore-storage.d.ts +0 -3
  1655. package/dist/treedx/client/persistence/contracts/restore-storage.js +0 -6
  1656. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.d.ts +0 -3
  1657. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.js +0 -6
  1658. package/dist/treedx/client/repositories/creation/register-repository.d.ts +0 -3
  1659. package/dist/treedx/client/repositories/creation/register-repository.js +0 -7
  1660. package/dist/treedx/client/repositories/queries/get-repository.d.ts +0 -3
  1661. package/dist/treedx/client/repositories/queries/get-repository.js +0 -7
  1662. package/dist/treedx/client/repositories/queries/list-repository-paths.d.ts +0 -3
  1663. package/dist/treedx/client/repositories/queries/list-repository-paths.js +0 -7
  1664. package/dist/treedx/client/repositories/queries/list-repository-refs.d.ts +0 -3
  1665. package/dist/treedx/client/repositories/queries/list-repository-refs.js +0 -12
  1666. package/dist/treedx/client/repositories/queries/query-repository.d.ts +0 -3
  1667. package/dist/treedx/client/repositories/queries/query-repository.js +0 -7
  1668. package/dist/treedx/client/repositories/queries/read-repository-file.d.ts +0 -3
  1669. package/dist/treedx/client/repositories/queries/read-repository-file.js +0 -6
  1670. package/dist/treedx/client/repositories/queries/read-repository-files.d.ts +0 -3
  1671. package/dist/treedx/client/repositories/queries/read-repository-files.js +0 -7
  1672. package/dist/treedx/client/repositories/queries/search-repository-files.d.ts +0 -3
  1673. package/dist/treedx/client/repositories/queries/search-repository-files.js +0 -7
  1674. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.d.ts +0 -3
  1675. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.js +0 -9
  1676. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.d.ts +0 -3
  1677. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.js +0 -6
  1678. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.d.ts +0 -3
  1679. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.js +0 -7
  1680. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.d.ts +0 -5
  1681. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.js +0 -7
  1682. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.d.ts +0 -3
  1683. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.js +0 -6
  1684. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.d.ts +0 -3
  1685. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.js +0 -7
  1686. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.d.ts +0 -2
  1687. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.js +0 -19
  1688. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.d.ts +0 -3
  1689. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.js +0 -7
  1690. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.d.ts +0 -3
  1691. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.js +0 -6
  1692. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.d.ts +0 -3
  1693. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.js +0 -7
  1694. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.d.ts +0 -3
  1695. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.js +0 -6
  1696. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.d.ts +0 -3
  1697. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.js +0 -7
  1698. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.d.ts +0 -6
  1699. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.js +0 -23
  1700. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.d.ts +0 -3
  1701. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.js +0 -8
  1702. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.d.ts +0 -3
  1703. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.js +0 -7
  1704. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.d.ts +0 -3
  1705. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.js +0 -8
  1706. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.d.ts +0 -3
  1707. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.js +0 -8
  1708. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.d.ts +0 -2
  1709. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.js +0 -15
  1710. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.d.ts +0 -2
  1711. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.js +0 -38
  1712. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.d.ts +0 -2
  1713. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.js +0 -15
  1714. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.d.ts +0 -2
  1715. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.js +0 -15
  1716. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.d.ts +0 -2
  1717. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.js +0 -14
  1718. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.d.ts +0 -2
  1719. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.js +0 -14
  1720. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.d.ts +0 -6
  1721. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.js +0 -41
  1722. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.d.ts +0 -2
  1723. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.js +0 -14
  1724. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.d.ts +0 -3
  1725. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.js +0 -7
  1726. package/dist/treedx/client/support/creation/apply-changeset.d.ts +0 -3
  1727. package/dist/treedx/client/support/creation/apply-changeset.js +0 -10
  1728. package/dist/treedx/client/support/creation/apply-storage-migration.d.ts +0 -3
  1729. package/dist/treedx/client/support/creation/apply-storage-migration.js +0 -7
  1730. package/dist/treedx/client/support/creation/create-migration.d.ts +0 -6
  1731. package/dist/treedx/client/support/creation/create-migration.js +0 -7
  1732. package/dist/treedx/client/support/creation/export-artifact.d.ts +0 -3
  1733. package/dist/treedx/client/support/creation/export-artifact.js +0 -8
  1734. package/dist/treedx/client/support/creation/plan-storage-migration.d.ts +0 -3
  1735. package/dist/treedx/client/support/creation/plan-storage-migration.js +0 -7
  1736. package/dist/treedx/client/support/creation/request-binary.d.ts +0 -6
  1737. package/dist/treedx/client/support/creation/request-binary.js +0 -42
  1738. package/dist/treedx/client/support/creation/write-file.d.ts +0 -3
  1739. package/dist/treedx/client/support/creation/write-file.js +0 -10
  1740. package/dist/treedx/client/support/creation/write-files.d.ts +0 -3
  1741. package/dist/treedx/client/support/creation/write-files.js +0 -12
  1742. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.d.ts +0 -3
  1743. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.js +0 -7
  1744. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.d.ts +0 -3
  1745. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.js +0 -7
  1746. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.d.ts +0 -3
  1747. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.js +0 -9
  1748. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.d.ts +0 -4
  1749. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.js +0 -6
  1750. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.d.ts +0 -3
  1751. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.js +0 -7
  1752. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.d.ts +0 -3
  1753. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.js +0 -7
  1754. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.d.ts +0 -3
  1755. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.js +0 -7
  1756. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.d.ts +0 -3
  1757. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.js +0 -7
  1758. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.d.ts +0 -3
  1759. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.js +0 -10
  1760. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.d.ts +0 -3
  1761. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.js +0 -9
  1762. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.d.ts +0 -3
  1763. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.js +0 -7
  1764. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.d.ts +0 -6
  1765. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.js +0 -7
  1766. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.d.ts +0 -6
  1767. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.js +0 -7
  1768. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.d.ts +0 -6
  1769. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.js +0 -6
  1770. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.d.ts +0 -15
  1771. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.js +0 -6
  1772. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.d.ts +0 -3
  1773. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.js +0 -7
  1774. package/dist/treedx/client/support/retirement/cleanup-artifacts.d.ts +0 -3
  1775. package/dist/treedx/client/support/retirement/cleanup-artifacts.js +0 -7
  1776. package/dist/treedx/client/support/retirement/delete-artifact.d.ts +0 -3
  1777. package/dist/treedx/client/support/retirement/delete-artifact.js +0 -7
  1778. package/dist/treedx/client/support/retirement/delete-file.d.ts +0 -3
  1779. package/dist/treedx/client/support/retirement/delete-file.js +0 -10
  1780. package/dist/treedx/client/support/retirement/rollback-storage-migration.d.ts +0 -3
  1781. package/dist/treedx/client/support/retirement/rollback-storage-migration.js +0 -7
  1782. package/dist/treedx/client/support/updates/patch-file.d.ts +0 -3
  1783. package/dist/treedx/client/support/updates/patch-file.js +0 -10
  1784. package/dist/treedx/client/support/updates/refresh-search-index.d.ts +0 -3
  1785. package/dist/treedx/client/support/updates/refresh-search-index.js +0 -8
  1786. package/dist/treedx/client/treedx/blobs/contracts/download-blob.d.ts +0 -3
  1787. package/dist/treedx/client/treedx/blobs/contracts/download-blob.js +0 -6
  1788. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.d.ts +0 -3
  1789. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.js +0 -8
  1790. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.d.ts +0 -3
  1791. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.js +0 -27
  1792. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.d.ts +0 -3
  1793. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.js +0 -41
  1794. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.d.ts +0 -3
  1795. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.js +0 -27
  1796. package/dist/treedx/client/treedx/blobs/creation/upload-blob.d.ts +0 -3
  1797. package/dist/treedx/client/treedx/blobs/creation/upload-blob.js +0 -6
  1798. package/dist/treedx/client/treedx/blobs/creation/write-blob.d.ts +0 -3
  1799. package/dist/treedx/client/treedx/blobs/creation/write-blob.js +0 -8
  1800. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.d.ts +0 -3
  1801. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.js +0 -8
  1802. package/dist/treedx/client/treedx/blobs/queries/read-blob.d.ts +0 -3
  1803. package/dist/treedx/client/treedx/blobs/queries/read-blob.js +0 -10
  1804. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.d.ts +0 -3
  1805. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.js +0 -7
  1806. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.d.ts +0 -3
  1807. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.js +0 -8
  1808. package/dist/treedx/client/treedx/federation/contracts/federated-query.d.ts +0 -3
  1809. package/dist/treedx/client/treedx/federation/contracts/federated-query.js +0 -7
  1810. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.d.ts +0 -3
  1811. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.js +0 -6
  1812. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.d.ts +0 -3
  1813. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.js +0 -7
  1814. package/dist/treedx/client/treedx/federation/updates/promote-mirror.d.ts +0 -3
  1815. package/dist/treedx/client/treedx/federation/updates/promote-mirror.js +0 -7
  1816. package/dist/treedx/client/treedx/federation/updates/sync-mirror.d.ts +0 -3
  1817. package/dist/treedx/client/treedx/federation/updates/sync-mirror.js +0 -7
  1818. package/dist/treedx/client/treedx/graph/contracts/federated-context.d.ts +0 -3
  1819. package/dist/treedx/client/treedx/graph/contracts/federated-context.js +0 -7
  1820. package/dist/treedx/client/treedx/graph/contracts/federated-graph.d.ts +0 -3
  1821. package/dist/treedx/client/treedx/graph/contracts/federated-graph.js +0 -7
  1822. package/dist/treedx/client/treedx/graph/contracts/graph-search.d.ts +0 -3
  1823. package/dist/treedx/client/treedx/graph/contracts/graph-search.js +0 -8
  1824. package/dist/treedx/client/treedx/graph/queries/get-graph-node.d.ts +0 -3
  1825. package/dist/treedx/client/treedx/graph/queries/get-graph-node.js +0 -10
  1826. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.d.ts +0 -3
  1827. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.js +0 -7
  1828. package/dist/treedx/client/treedx/graph/queries/get-subgraph.d.ts +0 -3
  1829. package/dist/treedx/client/treedx/graph/queries/get-subgraph.js +0 -7
  1830. package/dist/treedx/client/treedx/graph/queries/query-graph.d.ts +0 -3
  1831. package/dist/treedx/client/treedx/graph/queries/query-graph.js +0 -7
  1832. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.d.ts +0 -3
  1833. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.js +0 -6
  1834. package/dist/treedx/client/treedx/graph/queries/search-graph-files.d.ts +0 -3
  1835. package/dist/treedx/client/treedx/graph/queries/search-graph-files.js +0 -6
  1836. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.d.ts +0 -3
  1837. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.js +0 -6
  1838. package/dist/treedx/client/treedx/graph/updates/refresh-graph.d.ts +0 -3
  1839. package/dist/treedx/client/treedx/graph/updates/refresh-graph.js +0 -7
  1840. package/dist/treedx/client/treedx/search/contracts/federated-search.d.ts +0 -3
  1841. package/dist/treedx/client/treedx/search/contracts/federated-search.js +0 -7
  1842. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.d.ts +0 -3
  1843. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.js +0 -7
  1844. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.d.ts +0 -3
  1845. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.js +0 -12
  1846. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.d.ts +0 -2
  1847. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.js +0 -6
  1848. package/dist/treedx/federation/federated-client.d.ts +0 -27
  1849. package/dist/treedx/federation/federated-client.js +0 -158
  1850. package/dist/treedx/generated/openapi-types.d.ts +0 -3662
  1851. package/dist/treedx/generated/openapi-types.js +0 -0
  1852. package/dist/treedx/graph/graph-adapter.d.ts +0 -33
  1853. package/dist/treedx/graph/graph-adapter.js +0 -156
  1854. package/dist/treedx/graph/graph.d.ts +0 -52
  1855. package/dist/treedx/graph/graph.js +0 -133
  1856. package/dist/treedx/reconciliation/adapters.d.ts +0 -6
  1857. package/dist/treedx/reconciliation/adapters.js +0 -36
  1858. package/dist/treedx/reconciliation/query-adapter.d.ts +0 -19
  1859. package/dist/treedx/reconciliation/query-adapter.js +0 -62
  1860. package/dist/treedx/reconciliation/repository-adapter.d.ts +0 -54
  1861. package/dist/treedx/reconciliation/repository-adapter.js +0 -374
  1862. package/dist/treedx/repositories/treedx-backends.d.ts +0 -4
  1863. package/dist/treedx/repositories/treedx-backends.js +0 -4
  1864. package/dist/treedx/support/client.d.ts +0 -251
  1865. package/dist/treedx/support/client.js +0 -252
  1866. package/dist/treedx/support/errors.d.ts +0 -13
  1867. package/dist/treedx/support/errors.js +0 -17
  1868. package/dist/treedx/support/market-integration.d.ts +0 -27
  1869. package/dist/treedx/support/market-integration.js +0 -162
  1870. package/dist/treedx/support/ports.d.ts +0 -166
  1871. package/dist/treedx/support/ports.js +0 -231
  1872. package/dist/treedx/support/registry-client.d.ts +0 -11
  1873. package/dist/treedx/support/registry-client.js +0 -19
  1874. package/dist/treedx/support/sdk-integration.d.ts +0 -27
  1875. package/dist/treedx/support/sdk-integration.js +0 -63
  1876. package/dist/treedx/types/tree-dx-actor.d.ts +0 -209
  1877. package/dist/treedx/types/tree-dx-actor.js +0 -8
  1878. package/dist/treedx/types/tree-dx-artifact-list-response.d.ts +0 -13
  1879. package/dist/treedx/types/tree-dx-artifact-list-response.js +0 -0
  1880. package/dist/treedx/types/tree-dx-changeset.d.ts +0 -51
  1881. package/dist/treedx/types/tree-dx-changeset.js +0 -6
  1882. package/dist/treedx/types/tree-dx-context-request.d.ts +0 -245
  1883. package/dist/treedx/types/tree-dx-context-request.js +0 -0
  1884. package/dist/treedx/types/tree-dx-exec-result.d.ts +0 -249
  1885. package/dist/treedx/types/tree-dx-exec-result.js +0 -0
  1886. package/dist/treedx/types/tree-dx-list-tree-request.d.ts +0 -222
  1887. package/dist/treedx/types/tree-dx-list-tree-request.js +0 -0
  1888. package/dist/treedx/types/tree-dx-push-request.d.ts +0 -229
  1889. package/dist/treedx/types/tree-dx-push-request.js +0 -0
  1890. package/dist/treedx/workspaces/workspace-adapter.d.ts +0 -28
  1891. package/dist/treedx/workspaces/workspace-adapter.js +0 -68
  1892. package/dist/treedx-backends/normalize-path-rule.d.ts +0 -57
  1893. package/dist/treedx-backends/normalize-path-rule.js +0 -148
  1894. package/dist/treedx-backends/tree-dx-content-backend.d.ts +0 -86
  1895. package/dist/treedx-backends/tree-dx-content-backend.js +0 -303
  1896. package/dist/treedx-backends/tree-dx-graph-backend.d.ts +0 -43
  1897. package/dist/treedx-backends/tree-dx-graph-backend.js +0 -99
  1898. package/dist/treedx-backends/tree-dx-repository-hint.d.ts +0 -97
  1899. package/dist/treedx-backends/tree-dx-repository-hint.js +0 -159
  1900. package/dist/treeseed/services/compose.yml +0 -6
  1901. package/dist/treeseed/template-catalog/catalog.fixture.json +0 -215
  1902. package/dist/types/cloudflare.d.ts +0 -54
  1903. package/dist/verification/create-workspace-act-workflow.d.ts +0 -16
  1904. package/dist/verification/create-workspace-act-workflow.js +0 -223
  1905. package/dist/verification/run-verify-driver.d.ts +0 -7
  1906. package/dist/verification/run-verify-driver.js +0 -71
  1907. package/dist/verification/verify-driver.d.ts +0 -60
  1908. package/dist/verification/verify-driver.js +0 -168
  1909. package/dist/workflow/operations/configuration/workflow-config.d.ts +0 -192
  1910. package/dist/workflow/operations/configuration/workflow-config.js +0 -345
  1911. package/dist/workflow/operations/coordination/integration-change-set.d.ts +0 -95
  1912. package/dist/workflow/operations/coordination/integration-change-set.js +0 -335
  1913. package/dist/workflow/operations/coordination/staging-candidate-workflow-gates.d.ts +0 -46
  1914. package/dist/workflow/operations/coordination/staging-candidate-workflow-gates.js +0 -287
  1915. package/dist/workflow/operations/coordination/workflow-ci.d.ts +0 -23
  1916. package/dist/workflow/operations/coordination/workflow-ci.js +0 -69
  1917. package/dist/workflow/operations/coordination/workflow-destroy.d.ts +0 -180
  1918. package/dist/workflow/operations/coordination/workflow-destroy.js +0 -162
  1919. package/dist/workflow/operations/guarantees/workflow-proof.d.ts +0 -87
  1920. package/dist/workflow/operations/guarantees/workflow-proof.js +0 -285
  1921. package/dist/workflow/operations/packages/collect-published-release-artifact-checks.d.ts +0 -71
  1922. package/dist/workflow/operations/packages/collect-published-release-artifact-checks.js +0 -238
  1923. package/dist/workflow/operations/packages/collect-release-plan-blockers.d.ts +0 -39
  1924. package/dist/workflow/operations/packages/collect-release-plan-blockers.js +0 -280
  1925. package/dist/workflow/operations/packages/normalize-release-candidate-mode.d.ts +0 -43
  1926. package/dist/workflow/operations/packages/normalize-release-candidate-mode.js +0 -222
  1927. package/dist/workflow/operations/packages/plan-root-package-version.d.ts +0 -57
  1928. package/dist/workflow/operations/packages/plan-root-package-version.js +0 -245
  1929. package/dist/workflow/operations/packages/prepare-fresh-release-run.d.ts +0 -31
  1930. package/dist/workflow/operations/packages/prepare-fresh-release-run.js +0 -264
  1931. package/dist/workflow/operations/packages/release-admin-message.d.ts +0 -62
  1932. package/dist/workflow/operations/packages/release-admin-message.js +0 -215
  1933. package/dist/workflow/operations/reconciliation/reconcile-save-hosted-environment.d.ts +0 -72
  1934. package/dist/workflow/operations/reconciliation/reconcile-save-hosted-environment.js +0 -260
  1935. package/dist/workflow/operations/reconciliation/run-release-gate-reconcile-facade.d.ts +0 -43
  1936. package/dist/workflow/operations/reconciliation/run-release-gate-reconcile-facade.js +0 -127
  1937. package/dist/workflow/operations/recovery/fail-workflow-run.d.ts +0 -62
  1938. package/dist/workflow/operations/recovery/fail-workflow-run.js +0 -266
  1939. package/dist/workflow/operations/recovery/recover-save-integration.d.ts +0 -16
  1940. package/dist/workflow/operations/recovery/recover-save-integration.js +0 -51
  1941. package/dist/workflow/operations/recovery/workflow-resume.d.ts +0 -119
  1942. package/dist/workflow/operations/recovery/workflow-resume.js +0 -240
  1943. package/dist/workflow/operations/recovery/workflow-write.d.ts +0 -57
  1944. package/dist/workflow/operations/recovery/workflow-write.js +0 -227
  1945. package/dist/workflow/operations/recovery/workspace-artifact-state.d.ts +0 -18
  1946. package/dist/workflow/operations/recovery/workspace-artifact-state.js +0 -59
  1947. package/dist/workflow/operations/release/workflow-release.d.ts +0 -372
  1948. package/dist/workflow/operations/release/workflow-release.js +0 -497
  1949. package/dist/workflow/operations/release-support/helpers/back-merge-production-into-staging.d.ts +0 -91
  1950. package/dist/workflow/operations/release-support/helpers/back-merge-production-into-staging.js +0 -241
  1951. package/dist/workflow/operations/release-support/helpers/run-release-production-guarantees.d.ts +0 -80
  1952. package/dist/workflow/operations/release-support/helpers/run-release-production-guarantees.js +0 -235
  1953. package/dist/workflow/operations/repositories/gates-for-saved-repository-reports.d.ts +0 -49
  1954. package/dist/workflow/operations/repositories/gates-for-saved-repository-reports.js +0 -226
  1955. package/dist/workflow/operations/support/cleanup-stage-source-branches.d.ts +0 -20
  1956. package/dist/workflow/operations/support/cleanup-stage-source-branches.js +0 -52
  1957. package/dist/workflow/operations/support/create-repo-report.d.ts +0 -64
  1958. package/dist/workflow/operations/support/create-repo-report.js +0 -224
  1959. package/dist/workflow/operations/support/resolve-generated-dependency-conflict.d.ts +0 -7
  1960. package/dist/workflow/operations/support/resolve-generated-dependency-conflict.js +0 -89
  1961. package/dist/workflow/operations/support/sync-current-branch-to-origin.d.ts +0 -222
  1962. package/dist/workflow/operations/support/sync-current-branch-to-origin.js +0 -258
  1963. package/dist/workflow/operations/support/update-ahead-behind.d.ts +0 -69
  1964. package/dist/workflow/operations/support/update-ahead-behind.js +0 -220
  1965. package/dist/workflow/operations/support/workflow-helpers.d.ts +0 -22
  1966. package/dist/workflow/operations/support/workflow-helpers.js +0 -114
  1967. package/dist/workflow/operations/workspace-lifecycle/workflow-close.d.ts +0 -275
  1968. package/dist/workflow/operations/workspace-lifecycle/workflow-close.js +0 -230
  1969. package/dist/workflow/operations/workspace-lifecycle/workflow-save.d.ts +0 -135
  1970. package/dist/workflow/operations/workspace-lifecycle/workflow-save.js +0 -522
  1971. package/dist/workflow/operations/workspace-lifecycle/workflow-stage.d.ts +0 -45
  1972. package/dist/workflow/operations/workspace-lifecycle/workflow-stage.js +0 -330
  1973. package/dist/workflow/operations/workspace-lifecycle/workflow-switch.d.ts +0 -35
  1974. package/dist/workflow/operations/workspace-lifecycle/workflow-switch.js +0 -295
  1975. package/dist/workflow/operations/workspace-lifecycle/workflow-update.d.ts +0 -152
  1976. package/dist/workflow/operations/workspace-lifecycle/workflow-update.js +0 -286
  1977. package/dist/workflow/operations.d.ts +0 -31
  1978. package/dist/workflow/operations.js +0 -31
  1979. package/dist/workflow/policy.d.ts +0 -15
  1980. package/dist/workflow/policy.js +0 -73
  1981. package/dist/workflow/runs/ensure-workflow-exclude-rule.d.ts +0 -85
  1982. package/dist/workflow/runs/ensure-workflow-exclude-rule.js +0 -292
  1983. package/dist/workflow/runs/get-cached-successful-workflow-gate.d.ts +0 -24
  1984. package/dist/workflow/runs/get-cached-successful-workflow-gate.js +0 -158
  1985. package/dist/workflow/runs/update-workflow-run-journal.d.ts +0 -28
  1986. package/dist/workflow/runs/update-workflow-run-journal.js +0 -230
  1987. package/dist/workflow/runs/workflow-run-command.d.ts +0 -113
  1988. package/dist/workflow/runs/workflow-run-command.js +0 -140
  1989. package/dist/workflow/runs.d.ts +0 -4
  1990. package/dist/workflow/runs.js +0 -4
  1991. package/dist/workflow/session.d.ts +0 -37
  1992. package/dist/workflow/session.js +0 -189
  1993. package/dist/workflow/worktrees.d.ts +0 -77
  1994. package/dist/workflow/worktrees.js +0 -338
  1995. package/dist/workflow-state/branch-role.d.ts +0 -239
  1996. package/dist/workflow-state/branch-role.js +0 -45
  1997. package/dist/workflow-state/readiness-for-environment.d.ts +0 -62
  1998. package/dist/workflow-state/readiness-for-environment.js +0 -217
  1999. package/dist/workflow-state/recommend-next-steps.d.ts +0 -2
  2000. package/dist/workflow-state/recommend-next-steps.js +0 -99
  2001. package/dist/workflow-state/resolve-workflow-state.d.ts +0 -2
  2002. package/dist/workflow-state/resolve-workflow-state.js +0 -426
  2003. package/dist/workflow-state/safe-release-history.d.ts +0 -23
  2004. package/dist/workflow-state/safe-release-history.js +0 -78
  2005. package/drizzle/d1/0000_treeseed_d1.sql +0 -19
  2006. package/drizzle/market/0000_market_control_plane.sql +0 -4064
  2007. package/drizzle/market/0001_feedback_management.sql +0 -110
  2008. package/drizzle/market/0001_knowledge_collaboration.sql +0 -37
  2009. package/drizzle/market/0002_knowledge_pack_workflow.sql +0 -79
  2010. package/drizzle/market/0003_knowledge_review_snapshot.sql +0 -2
  2011. package/drizzle/market/0004_remote_provider_publication.sql +0 -193
  2012. package/drizzle/market/0005_remote_delivery_operation_scope.sql +0 -9
  2013. package/drizzle/market/0006_workflow_run_provenance.sql +0 -17
  2014. package/drizzle/market/0007_transient_workflow_configuration.sql +0 -6
  2015. package/drizzle/market/0008_guide_editorial_review.sql +0 -27
  2016. package/drizzle/market/0009_capacity_workday_schedules.sql +0 -30
  2017. package/drizzle/market/0010_agent_lab_realtime_preferences.sql +0 -2
  2018. package/drizzle/market/0011_seed_team_membership_claims.sql +0 -20
  2019. package/drizzle/market/0012_signal_time_planning.sql +0 -82
  2020. package/drizzle/market/0013_planning_participant_nodes.sql +0 -8
  2021. package/drizzle/market/0014_legacy_capacity_accounting_nullable.sql +0 -8
  2022. package/drizzle/market/0015_remove_platform_repository_claims.sql +0 -1
  2023. package/drizzle/market/0016_session_events.sql +0 -13
  2024. package/drizzle/market/0017_agent_lab_view_state.sql +0 -18
  2025. package/drizzle/market/0018_agent_context_query_checks.sql +0 -27
  2026. package/drizzle/market/0019_context_query_check_evidence_only.sql +0 -1
  2027. package/drizzle/market/0020_capacity_integrated_communication.sql +0 -181
  2028. package/drizzle/market/0021_project_contribution_authorizations.sql +0 -48
  2029. package/drizzle/market/0022_remove_project_contribution_authorizations.sql +0 -2
  2030. package/scripts/verification/verify-driver.ts +0 -42
  2031. /package/dist/{hosting → content}/contracts.js +0 -0
  2032. /package/dist/{types → site-contracts}/cloudflare.js +0 -0
  2033. /package/dist/{operations/services/package-bootstrap/contracts.js → site-contracts/platform.js} +0 -0
@@ -1,330 +0,0 @@
1
- import { resolve } from "node:path";
2
- import { runProof } from "../../../operations/services/guarantees/release-proof-runner.js";
3
- import { assertFeatureBranch, mergeBranchDownIntoFeature, promoteCommitToBranchWithExpectedHead, remoteBranchExists, remoteHeadCommit, STAGING_BRANCH, syncBranchWithOrigin } from "../../../operations/services/operations/git-workflow.js";
4
- import { hasMeaningfulChanges, repoRoot } from "../../../operations/services/treedx/workspaces/workspace-save.js";
5
- import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
6
- import { resolveWorkflowSession } from "../../session.js";
7
- import { managedWorkflowWorktreeMetadata } from "../../worktrees.js";
8
- import { ensureLocalStateExcluded, resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
9
- import { buildStagePromotionPlan, checkedOutStagePromotionRepos, createStageCandidateManifest, normalizeStageCiMode, normalizeStageCleanupMode, normalizeStageVerifyMode, stageConflictError, stagePreflightBlockers, stagingCandidateWorkflowGates, writeStageCandidateManifest } from "../coordination/staging-candidate-workflow-gates.js";
10
- import { helpersForCwd, waitForWorkflowGates, worktreePayload } from "../packages/normalize-release-candidate-mode.js";
11
- import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep, skipJournalStep } from "../packages/prepare-fresh-release-run.js";
12
- import { createNextSteps } from "../packages/release-admin-message.js";
13
- import { ensureMessage, toError } from "../support/workflow-helpers.js";
14
- import { failWorkflowRun } from "../recovery/fail-workflow-run.js";
15
- import { ensureWorkflowWorkspaceLinks, maybeRunLocalWorkflowCleanup, normalizeSceneArtifactsMode } from "../recovery/workflow-write.js";
16
- import { findAutoResumableTaskRun, rejectImplicitWorkflowResume } from "../repositories/gates-for-saved-repository-reports.js";
17
- import { cleanupStageSourceBranches } from "../support/cleanup-stage-source-branches.js";
18
- import { buildWorkflowResult, normalizeExecutionMode, selectWorkflowApplications } from "../support/create-repo-report.js";
19
- import { maybeAutoSaveCurrentTaskBranch } from "../support/sync-current-branch-to-origin.js";
20
- import { workflowSave } from "./workflow-save.js";
21
- import { integrationGovernanceAuthorityBlockers, validateIntegrationGovernanceAuthorities } from "../coordination/integration-change-set.js";
22
- async function workflowStage(helpers, input) {
23
- try {
24
- return await withContextEnv(helpers.context.env, async () => {
25
- const tenantRoot = resolveProjectRootOrThrow("stage", helpers.cwd());
26
- const root = workspaceRoot(tenantRoot);
27
- ensureLocalStateExcluded(root);
28
- const executionMode = normalizeExecutionMode(input);
29
- const session = resolveWorkflowSession(root);
30
- const explicitResumeRunId = helpers.context.workflow?.resumeRunId ?? input.resumeRunId ?? null;
31
- const rawAutoResumeRun = executionMode === "execute" && !explicitResumeRunId ? findAutoResumableTaskRun(root, "stage", session.branchName) : null;
32
- rejectImplicitWorkflowResume("stage", rawAutoResumeRun);
33
- const autoResumeRun = rawAutoResumeRun?.steps.some((step) => step.id === "preflight") ? rawAutoResumeRun : null;
34
- const planAutoResumeRun = null;
35
- const effectiveInput = autoResumeRun ? autoResumeRun.input : input;
36
- const localCleanup = maybeRunLocalWorkflowCleanup(helpers, root, "stage", effectiveInput);
37
- const message = ensureMessage("stage", effectiveInput.message, "a resolution message");
38
- if (effectiveInput.verifyDeployedResources === true) {
39
- workflowError("stage", "validation_failed", "Stage no longer verifies deployed resources. Promote refs with stage, then run staging release/hosting verification separately.");
40
- }
41
- const verifyMode = normalizeStageVerifyMode(effectiveInput.verifyMode);
42
- const ciMode = normalizeStageCiMode(effectiveInput);
43
- const cleanupMode = normalizeStageCleanupMode(effectiveInput);
44
- const updateFrom = effectiveInput.updateFrom ?? STAGING_BRANCH;
45
- if (updateFrom !== STAGING_BRANCH) {
46
- workflowError("stage", "validation_failed", `Stage currently supports only --update-from ${STAGING_BRANCH}. Received ${updateFrom}.`);
47
- }
48
- const applicationSelection = selectWorkflowApplications(root, { packageSelection: session.packageSelection });
49
- const featureBranch = executionMode === "execute" ? assertFeatureBranch(root) : session.branchName ?? "";
50
- let plan = buildStagePromotionPlan(root, featureBranch, { verifyMode, ciMode, cleanupMode, updateFrom });
51
- let blockers = stagePreflightBlockers(root, featureBranch, plan);
52
- blockers.push(...await integrationGovernanceAuthorityBlockers(root, helpers.context.validateExecutionAuthorities));
53
- const basePayload = {
54
- mode: "stage-promotion",
55
- branchName: featureBranch,
56
- branchRole: session.branchRole,
57
- mergeTarget: STAGING_BRANCH,
58
- mergeStrategy: "merge-staging-down-then-exact-sha",
59
- message,
60
- verifyMode,
61
- ciMode,
62
- cleanupMode,
63
- updateFrom,
64
- waitForStaging: ciMode === "hosted",
65
- sceneArtifacts: normalizeSceneArtifactsMode(effectiveInput.sceneArtifacts),
66
- localCleanup,
67
- applicationSelection,
68
- plan,
69
- phases: plan.phases,
70
- blockers,
71
- autoResumeCandidate: planAutoResumeRun ? {
72
- runId: planAutoResumeRun.runId,
73
- branch: planAutoResumeRun.session.branchName,
74
- failure: planAutoResumeRun.failure
75
- } : null,
76
- legacyMutationPathDisabled: true,
77
- ...worktreePayload(root, effectiveInput.worktreeMode)
78
- };
79
- if (executionMode === "plan") {
80
- return buildWorkflowResult("stage", root, basePayload, {
81
- executionMode,
82
- summary: blockers.length > 0 ? "Treeseed stage plan blocked." : "Treeseed stage promotion plan ready.",
83
- includeFinalState: false,
84
- nextSteps: createNextSteps([
85
- blockers.length > 0 ? { operation: "status", reason: "Resolve blockers before staging." } : { operation: "stage", reason: "Promote the verified feature branch to staging.", input: { message } }
86
- ])
87
- });
88
- }
89
- if (effectiveInput.autoSave === true) {
90
- await maybeAutoSaveCurrentTaskBranch(helpers, "stage", {
91
- message,
92
- autoSave: true,
93
- verify: false,
94
- preview: false
95
- });
96
- plan = buildStagePromotionPlan(root, featureBranch, { verifyMode, ciMode, cleanupMode, updateFrom });
97
- blockers = stagePreflightBlockers(root, featureBranch, plan);
98
- blockers.push(...await integrationGovernanceAuthorityBlockers(root, helpers.context.validateExecutionAuthorities));
99
- }
100
- if (blockers.length > 0 && !explicitResumeRunId) {
101
- workflowError("stage", "validation_failed", `stage is blocked:
102
- ${blockers.map((entry) => `- ${entry}`).join("\n")}`, {
103
- details: { blockers, plan }
104
- });
105
- }
106
- const workflowRun = acquireWorkflowRun("stage", resolveWorkflowSession(root), {
107
- ...effectiveInput,
108
- verifyMode,
109
- ciMode,
110
- cleanupMode,
111
- updateFrom
112
- }, [
113
- { id: "preflight", description: "Validate clean feature branch before staging", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
114
- { id: "merge-staging-down", description: "Merge staging into feature branches", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
115
- { id: "save-integrated-feature", description: "Save integrated feature state after staging merge-down", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
116
- { id: "verify-integrated-feature", description: "Run local proof before staging mutation", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
117
- { id: "write-stage-candidate", description: "Write exact stage candidate manifest", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
118
- { id: "promote-to-staging", description: "Promote exact verified refs to staging", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true },
119
- { id: "verify-staging-refs", description: "Verify remote staging refs match promoted commits", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: STAGING_BRANCH, resumable: true },
120
- { id: "hosted-ci", description: "Wait for hosted staging CI when explicitly requested", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: STAGING_BRANCH, resumable: true },
121
- { id: "workspace-link-restore", description: "Restore local workspace links after stage", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: STAGING_BRANCH, resumable: true },
122
- { id: "cleanup-source", description: "Clean up source branches and worktree after successful promotion", repoName: "@treeseed/market", repoPath: repoRoot(root), branch: featureBranch, resumable: true }
123
- ], helpers.context);
124
- try {
125
- await executeJournalStep(root, workflowRun.runId, "preflight", async () => {
126
- const currentPlan = buildStagePromotionPlan(root, featureBranch, { verifyMode, ciMode, cleanupMode, updateFrom });
127
- const currentBlockers = stagePreflightBlockers(root, featureBranch, currentPlan);
128
- currentBlockers.push(...await integrationGovernanceAuthorityBlockers(root, helpers.context.validateExecutionAuthorities));
129
- if (currentBlockers.length > 0) {
130
- workflowError("stage", "validation_failed", `stage is blocked:
131
- ${currentBlockers.map((entry) => `- ${entry}`).join("\n")}`, {
132
- details: { blockers: currentBlockers, plan: currentPlan }
133
- });
134
- }
135
- return { status: "passed", checkedAt: (/* @__PURE__ */ new Date()).toISOString() };
136
- });
137
- const mergeDown = await executeJournalStep(root, workflowRun.runId, "merge-staging-down", () => {
138
- const results = [];
139
- try {
140
- results.push({
141
- name: "@treeseed/market",
142
- path: repoRoot(root),
143
- ...mergeBranchDownIntoFeature(repoRoot(root), {
144
- featureBranch,
145
- sourceBranch: STAGING_BRANCH,
146
- message: `stage: merge ${STAGING_BRANCH} into ${featureBranch}`,
147
- allowGeneratedMetadataAutoResolution: true
148
- })
149
- });
150
- for (const repo of checkedOutStagePromotionRepos(root)) {
151
- if (!remoteBranchExists(repo.dir, featureBranch)) {
152
- results.push({ name: repo.name, path: repo.dir, skipped: true, reason: "remote-branch-missing" });
153
- continue;
154
- }
155
- results.push({
156
- name: repo.name,
157
- path: repo.dir,
158
- ...mergeBranchDownIntoFeature(repo.dir, {
159
- featureBranch,
160
- sourceBranch: STAGING_BRANCH,
161
- message: `stage: merge ${STAGING_BRANCH} into ${featureBranch}`,
162
- allowGeneratedMetadataAutoResolution: true
163
- })
164
- });
165
- }
166
- } catch (error) {
167
- const details = error && typeof error === "object" ? error : {};
168
- throw stageConflictError(error instanceof Error ? error.message : String(error), {
169
- ...details,
170
- results,
171
- branchName: featureBranch,
172
- targetBranch: STAGING_BRANCH
173
- });
174
- }
175
- return { status: "completed", results };
176
- });
177
- const mergeChanged = Array.isArray(mergeDown?.results) && mergeDown.results.some((entry) => Boolean(entry.merged));
178
- const saveResult = mergeChanged || hasMeaningfulChanges(repoRoot(root)) ? await executeJournalStep(root, workflowRun.runId, "save-integrated-feature", () => workflowSave(helpersForCwd({
179
- ...helpers,
180
- context: { ...helpers.context, workflow: void 0 }
181
- }, root), {
182
- message: `integrate staging before stage: ${message}`,
183
- federated: true,
184
- verifyMode: "skip",
185
- ciMode: "off",
186
- refreshPreview: false,
187
- preview: false,
188
- workspaceLinks: effectiveInput.workspaceLinks ?? "auto"
189
- })) : (skipJournalStep(root, workflowRun.runId, "save-integrated-feature", { skippedReason: "staging already integrated" }), null);
190
- const verification = verifyMode === "none" || process.env.TREESEED_RELEASE_CANDIDATE_REHEARSAL_MODE === "skip" ? (skipJournalStep(root, workflowRun.runId, "verify-integrated-feature", { mode: verifyMode, status: "skipped" }), {
191
- mode: verifyMode,
192
- status: "skipped",
193
- completedAt: null
194
- }) : await executeJournalStep(root, workflowRun.runId, "verify-integrated-feature", async () => {
195
- const proof = await runProof({
196
- root,
197
- target: "staging",
198
- driver: verifyMode === "action" ? "act" : "local",
199
- write: (line, stream) => helpers.write(`[stage][verify] ${line}`, stream)
200
- });
201
- if (proof.failures.length > 0) {
202
- const first = proof.failures[0];
203
- workflowError("stage", "validation_failed", [
204
- "Treeseed stage proof failed.",
205
- `- ${first.subject.id}: ${first.invalidationReasons[0] ?? first.status}`,
206
- first.result.workflow?.url ? `Run: ${first.result.workflow.url}` : null
207
- ].join("\n"), {
208
- details: { proof }
209
- });
210
- }
211
- return {
212
- mode: verifyMode,
213
- status: "passed",
214
- completedAt: (/* @__PURE__ */ new Date()).toISOString(),
215
- proof
216
- };
217
- });
218
- const governanceAuthority = await validateIntegrationGovernanceAuthorities(root, helpers.context.validateExecutionAuthorities);
219
- if (governanceAuthority.status === "failed") workflowError("stage", "validation_failed", `stage governance authority is stale:
220
- ${governanceAuthority.blockers.map((entry) => `- ${entry}`).join("\n")}`, { details: { blockers: governanceAuthority.blockers } });
221
- const manifest = await executeJournalStep(root, workflowRun.runId, "write-stage-candidate", () => {
222
- const currentPlan = buildStagePromotionPlan(root, featureBranch, { verifyMode, ciMode, cleanupMode, updateFrom });
223
- return writeStageCandidateManifest(root, workflowRun.runId, createStageCandidateManifest(root, workflowRun.runId, featureBranch, currentPlan, {
224
- mode: verifyMode,
225
- status: verification.status,
226
- completedAt: verification.completedAt
227
- }, governanceAuthority));
228
- });
229
- const typedManifest = manifest;
230
- const promotion = await executeJournalStep(root, workflowRun.runId, "promote-to-staging", () => {
231
- const results = [];
232
- for (const pkg of typedManifest.packages) {
233
- results.push({
234
- name: pkg.name,
235
- ...promoteCommitToBranchWithExpectedHead(resolve(root, pkg.path), {
236
- commitSha: pkg.commit,
237
- targetBranch: STAGING_BRANCH,
238
- expectedBefore: typedManifest.stagingHeadsBefore[pkg.name] ?? null
239
- })
240
- });
241
- }
242
- results.push({
243
- name: "@treeseed/market",
244
- ...promoteCommitToBranchWithExpectedHead(repoRoot(root), {
245
- commitSha: typedManifest.root.commit,
246
- targetBranch: STAGING_BRANCH,
247
- expectedBefore: typedManifest.stagingHeadsBefore["@treeseed/market"] ?? null
248
- })
249
- });
250
- return { status: "completed", results };
251
- });
252
- const stagingRefs = await executeJournalStep(root, workflowRun.runId, "verify-staging-refs", () => {
253
- const refs = {};
254
- for (const pkg of typedManifest.packages) {
255
- const observed = remoteHeadCommit(resolve(root, pkg.path), STAGING_BRANCH);
256
- if (observed !== pkg.commit) {
257
- throw new Error(`${pkg.name} staging ref mismatch: expected ${pkg.commit}, observed ${observed}.`);
258
- }
259
- refs[pkg.name] = observed;
260
- }
261
- const rootObserved = remoteHeadCommit(repoRoot(root), STAGING_BRANCH);
262
- if (rootObserved !== typedManifest.root.commit) {
263
- throw new Error(`@treeseed/market staging ref mismatch: expected ${typedManifest.root.commit}, observed ${rootObserved}.`);
264
- }
265
- refs["@treeseed/market"] = rootObserved;
266
- return { status: "verified", refs };
267
- });
268
- const hostedCi = ciMode === "hosted" ? await executeJournalStep(root, workflowRun.runId, "hosted-ci", () => waitForWorkflowGates(
269
- "stage",
270
- stagingCandidateWorkflowGates(root, typedManifest),
271
- "hosted",
272
- { root, runId: workflowRun.runId, onProgress: (line, stream) => helpers.write(line, stream) }
273
- )) : (skipJournalStep(root, workflowRun.runId, "hosted-ci", { skippedReason: "ci off" }), { status: "skipped", reason: "ci off" });
274
- const workspaceLinks = await executeJournalStep(root, workflowRun.runId, "workspace-link-restore", () => ensureWorkflowWorkspaceLinks(root, helpers, effectiveInput.workspaceLinks ?? "auto"));
275
- if (!managedWorkflowWorktreeMetadata(root)) {
276
- for (const repo of checkedOutStagePromotionRepos(root)) {
277
- syncBranchWithOrigin(repo.dir, STAGING_BRANCH);
278
- }
279
- syncBranchWithOrigin(repoRoot(root), STAGING_BRANCH);
280
- }
281
- const cleanup = cleanupMode === "success" ? await executeJournalStep(root, workflowRun.runId, "cleanup-source", () => cleanupStageSourceBranches(root, featureBranch, typedManifest)) : (skipJournalStep(root, workflowRun.runId, "cleanup-source", { skippedReason: "manual cleanup selected" }), { status: "skipped", reason: "manual cleanup selected" });
282
- const payload = {
283
- ...basePayload,
284
- blockers: [],
285
- runId: workflowRun.runId,
286
- mergeDown,
287
- saveResult,
288
- verification,
289
- manifest: typedManifest,
290
- promotion,
291
- stagingRefs,
292
- hostedCi,
293
- stagingGuarantees: null,
294
- cleanup,
295
- workspaceLinks,
296
- finalBranch: STAGING_BRANCH,
297
- summary: ciMode === "hosted" ? `Staging candidate ${typedManifest.candidateId} passed all exact-SHA verification workflows.` : `Staging candidate ${typedManifest.candidateId} was promoted asynchronously; hosted verification is pending.`
298
- };
299
- completeWorkflowRun(root, workflowRun.runId, payload);
300
- return buildWorkflowResult("stage", root, payload, {
301
- runId: workflowRun.runId,
302
- summary: "Treeseed stage completed successfully.",
303
- includeFinalState: false,
304
- nextSteps: createNextSteps([
305
- { operation: "ci", reason: "Inspect staging CI/CD status after branch promotion.", input: { branch: STAGING_BRANCH, failed: true } }
306
- ])
307
- });
308
- } catch (error) {
309
- try {
310
- ensureWorkflowWorkspaceLinks(root, helpers, effectiveInput.workspaceLinks ?? "auto");
311
- } catch {
312
- }
313
- failWorkflowRun(root, workflowRun.runId, error, {
314
- resumable: true,
315
- runId: workflowRun.runId,
316
- command: "stage",
317
- message: `Resume the interrupted stage for ${featureBranch}.`,
318
- recoverCommand: "treeseed recover",
319
- resumeCommand: `treeseed resume ${workflowRun.runId}`
320
- });
321
- throw error;
322
- }
323
- });
324
- } catch (error) {
325
- toError("stage", error);
326
- }
327
- }
328
- export {
329
- workflowStage
330
- };
@@ -1,35 +0,0 @@
1
- import type { SwitchInput, UpdateInput } from "../../../operations/workflow.js";
2
- import { WorkflowOperationHelpers } from '../recovery/workflow-write.js';
3
- export declare function workflowSwitch(helpers: WorkflowOperationHelpers, input: SwitchInput): any;
4
- export type UpdateStrategy = 'merge' | 'ff-only';
5
- export type UpdateRepoAction = 'planned' | 'up-to-date' | 'merged' | 'fast-forwarded' | 'pushed' | 'blocked';
6
- export type UpdateRepoResult = {
7
- name: string;
8
- path: string;
9
- branch: string;
10
- sourceRef: string;
11
- action: UpdateRepoAction;
12
- beforeHead: string | null;
13
- afterHead: string | null;
14
- pushed: boolean;
15
- changedFiles: string[];
16
- blockers: string[];
17
- ahead?: number | null;
18
- behind?: number | null;
19
- status?: 'up-to-date' | 'merge-needed' | 'fast-forward' | 'blocked';
20
- sourceAvailable?: boolean;
21
- };
22
- export type UpdateConflict = {
23
- repo: string;
24
- path: string;
25
- files: string[];
26
- };
27
- export declare function normalizeUpdateStrategy(strategy: UpdateInput['strategy']): UpdateStrategy;
28
- export declare function normalizeUpdateSource(source: string | undefined): string;
29
- export declare function gitOutput(args: string[], cwd: string, allowFailure?: boolean): string;
30
- export declare function updateHead(repoDir: string): string | null;
31
- export declare function updateStatusLines(repoDir: string): string[];
32
- export declare function updateChangedFiles(repoDir: string): string[];
33
- export declare function updateConflictedFiles(repoDir: string): string[];
34
- export declare function sourceBranchExists(repoDir: string, sourceBranch: string): boolean;
35
- export declare function localRemoteRefExists(repoDir: string, sourceBranch: string): boolean;
@@ -1,295 +0,0 @@
1
- import { classifyGitMode, runGitOk, runRepositoryGit } from "../../../operations/services/operations/git-runner.js";
2
- import { assertCleanWorktree, branchExists, checkoutNewTaskBranchWithChanges, checkoutTaskBranchFromStaging, headCommit, PRODUCTION_BRANCH, reconcileCleanDetachedSubmodules, remoteBranchExists, STAGING_BRANCH } from "../../../operations/services/operations/git-workflow.js";
3
- import { checkedOutManagedWorkflowRepos } from "../../../operations/services/support/managed-repositories.js";
4
- import { currentBranch, hasMeaningfulChanges } from "../../../operations/services/treedx/workspaces/workspace-save.js";
5
- import { workspaceRoot } from "../../../operations/services/treedx/workspaces/workspace-tools.js";
6
- import { resolveWorkflowState } from "../../../operations/workflow-state.js";
7
- import { resolveWorkflowSession } from "../../session.js";
8
- import { effectiveWorkflowWorktreeMode, ensureManagedWorkflowWorktree, plannedManagedWorkflowWorktreePath } from "../../worktrees.js";
9
- import { resolveProjectRootOrThrow, withContextEnv, workflowError } from "../release-support/helpers/run-release-production-guarantees.js";
10
- import { assertSessionBranchSafety, branchPreviewInitialized, reconcileBranchPreview, reconcileWorkflowBranchPreview } from "../packages/collect-published-release-artifact-checks.js";
11
- import { helpersForCwd, shouldDispatchSwitchToManagedWorktree, worktreePayload } from "../packages/normalize-release-candidate-mode.js";
12
- import { acquireWorkflowRun, completeWorkflowRun, executeJournalStep } from "../packages/prepare-fresh-release-run.js";
13
- import { createNextSteps } from "../packages/release-admin-message.js";
14
- import { toError } from "../support/workflow-helpers.js";
15
- import { failWorkflowRun } from "../recovery/fail-workflow-run.js";
16
- import { ensureWorkflowWorkspaceLinks } from "../recovery/workflow-write.js";
17
- import { assertWorkspaceClean, buildWorkflowResult, createManagedWorkflowRepoReports, createWorkspaceRootRepoReport, findReportByName, normalizeExecutionMode } from "../support/create-repo-report.js";
18
- import { reattachRepairablePackageRepos } from "../support/sync-current-branch-to-origin.js";
19
- async function workflowSwitch(helpers, input) {
20
- try {
21
- return await withContextEnv(helpers.context.env, async () => {
22
- const tenantRoot = resolveProjectRootOrThrow("switch", helpers.cwd());
23
- const root = workspaceRoot(tenantRoot);
24
- const branchName = String(input.branch ?? input.branchName ?? "").trim();
25
- if (!branchName) {
26
- workflowError("switch", "validation_failed", "Treeseed switch requires a branch name.");
27
- }
28
- const executionMode = normalizeExecutionMode(input);
29
- if (executionMode !== "plan") reconcileCleanDetachedSubmodules(root);
30
- reattachRepairablePackageRepos(root, [branchName, STAGING_BRANCH, PRODUCTION_BRANCH], {
31
- operation: "switch",
32
- onProgress: (line, stream) => helpers.write(line, stream),
33
- throwOnBlocker: true
34
- });
35
- const session = resolveWorkflowSession(root);
36
- const preview = input.preview === true;
37
- const adoptChanges = input.adoptChanges === true;
38
- if (executionMode !== "plan" && !adoptChanges && shouldDispatchSwitchToManagedWorktree(root, input, helpers.context.env)) {
39
- const managed = ensureManagedWorkflowWorktree({
40
- root,
41
- branchName,
42
- mode: input.worktreeMode,
43
- env: helpers.context.env
44
- });
45
- const result = await workflowSwitch(helpersForCwd(helpers, managed.worktreePath), {
46
- ...input,
47
- worktreeMode: "off"
48
- });
49
- return {
50
- ...result,
51
- payload: {
52
- ...result.payload,
53
- worktreeMode: input.worktreeMode ?? "auto",
54
- worktreePath: managed.worktreePath,
55
- managedWorktree: managed
56
- }
57
- };
58
- }
59
- const mode = session.mode;
60
- const repoDir = session.gitRoot;
61
- const rootRepo = createWorkspaceRootRepoReport(root);
62
- const packageReports = createManagedWorkflowRepoReports(root);
63
- let previewResult = null;
64
- const dirtyRepos = [rootRepo, ...packageReports].filter((repo) => repo.dirty).map((repo) => repo.name);
65
- if (executionMode === "plan") {
66
- for (const report of [rootRepo, ...packageReports]) {
67
- const local = branchExists(report.path, branchName);
68
- const remote = remoteBranchExists(report.path, branchName);
69
- report.created = !local && !remote;
70
- report.resumed = local || remote;
71
- }
72
- const previewPlan = preview ? await reconcileBranchPreview({
73
- root,
74
- branch: branchName,
75
- planOnly: true,
76
- execute: false,
77
- initialize: !branchPreviewInitialized(root, branchName),
78
- env: helpers.context.env
79
- }) : null;
80
- return buildWorkflowResult(
81
- "switch",
82
- root,
83
- {
84
- mode,
85
- branchName,
86
- rootRepo,
87
- repos: packageReports,
88
- previewRequested: preview,
89
- worktreeMode: input.worktreeMode ?? "auto",
90
- worktreePath: effectiveWorkflowWorktreeMode(input.worktreeMode, helpers.context.env) === "on" ? plannedManagedWorkflowWorktreePath(root, branchName) : null,
91
- blockers: !adoptChanges && dirtyRepos.length > 0 ? [`Clean worktrees required: ${dirtyRepos.join(", ")}`] : [],
92
- plannedSteps: [
93
- { id: "switch-root", description: `Switch market repo to ${branchName}` },
94
- ...packageReports.map((report) => ({ id: `switch-${report.name}`, description: `Mirror ${branchName} into ${report.name}` })),
95
- { id: "workspace-link", description: "Apply local workspace links for integrated development" },
96
- ...preview ? [{ id: "preview", description: `Provision or refresh preview for ${branchName}` }] : []
97
- ],
98
- previewPlan
99
- },
100
- {
101
- executionMode,
102
- nextSteps: createNextSteps([
103
- { operation: "switch", reason: "Run without --plan to create or resume the task branch.", input: { branch: branchName, preview } }
104
- ])
105
- }
106
- );
107
- }
108
- if (adoptChanges) {
109
- const reports = [rootRepo, ...packageReports];
110
- const existingTargets = reports.filter((report) => branchExists(report.path, branchName) || remoteBranchExists(report.path, branchName));
111
- if (existingTargets.length > 0) {
112
- workflowError("switch", "validation_failed", `--adopt-changes requires a new branch; ${branchName} already exists in ${existingTargets.map((report) => report.name).join(", ")}.`);
113
- }
114
- const unsafeDirtyRepos = reports.filter((report) => report.dirty && currentBranch(report.path) !== STAGING_BRANCH);
115
- if (unsafeDirtyRepos.length > 0) {
116
- workflowError("switch", "validation_failed", `--adopt-changes only accepts dirty staging repositories: ${unsafeDirtyRepos.map((report) => report.name).join(", ")}.`);
117
- }
118
- } else if (mode === "recursive-workspace") {
119
- assertWorkspaceClean(root);
120
- assertSessionBranchSafety("switch", session);
121
- } else {
122
- assertCleanWorktree(root);
123
- }
124
- const workflowRun = acquireWorkflowRun(
125
- "switch",
126
- session,
127
- { branch: branchName, preview, adoptChanges, worktreeMode: input.worktreeMode ?? "auto" },
128
- [
129
- { id: "switch-root", description: `Switch market repo to ${branchName}`, repoName: rootRepo.name, repoPath: rootRepo.path, branch: branchName, resumable: true },
130
- ...packageReports.map((report) => ({
131
- id: `switch-${report.name}`,
132
- description: `Mirror ${branchName} into ${report.name}`,
133
- repoName: report.name,
134
- repoPath: report.path,
135
- branch: branchName,
136
- resumable: true
137
- })),
138
- { id: "workspace-link", description: "Apply local workspace links", repoName: rootRepo.name, repoPath: rootRepo.path, branch: branchName, resumable: true },
139
- ...preview ? [{ id: "preview", description: `Provision or refresh preview ${branchName}`, repoName: rootRepo.name, repoPath: rootRepo.path, branch: branchName, resumable: true }] : []
140
- ],
141
- helpers.context
142
- );
143
- try {
144
- const rootSwitch = await executeJournalStep(
145
- root,
146
- workflowRun.runId,
147
- "switch-root",
148
- () => (adoptChanges ? checkoutNewTaskBranchWithChanges : checkoutTaskBranchFromStaging)(repoDir, branchName, {
149
- createIfMissing: input.createIfMissing !== false,
150
- pushIfCreated: true
151
- })
152
- );
153
- rootRepo.branch = currentBranch(repoDir) || branchName;
154
- rootRepo.created = rootSwitch.created;
155
- rootRepo.resumed = rootSwitch.resumed;
156
- rootRepo.commitSha = headCommit(repoDir);
157
- rootRepo.pushed = rootSwitch.created;
158
- for (const managedRepo of checkedOutManagedWorkflowRepos(root)) {
159
- const report = findReportByName(packageReports, managedRepo.name);
160
- if (!report) {
161
- continue;
162
- }
163
- const shouldAdoptRepoChanges = adoptChanges && hasMeaningfulChanges(managedRepo.dir);
164
- const packageSwitch = await executeJournalStep(
165
- root,
166
- workflowRun.runId,
167
- `switch-${report.name}`,
168
- () => (shouldAdoptRepoChanges ? checkoutNewTaskBranchWithChanges : checkoutTaskBranchFromStaging)(managedRepo.dir, branchName, {
169
- createIfMissing: input.createIfMissing !== false,
170
- pushIfCreated: false
171
- })
172
- );
173
- report.branch = currentBranch(managedRepo.dir) || branchName;
174
- report.created = packageSwitch.created;
175
- report.resumed = packageSwitch.resumed;
176
- report.commitSha = headCommit(managedRepo.dir);
177
- report.dirty = hasMeaningfulChanges(managedRepo.dir);
178
- }
179
- const workspaceLinks = await executeJournalStep(root, workflowRun.runId, "workspace-link", () => ensureWorkflowWorkspaceLinks(root, helpers, input.workspaceLinks ?? "auto"));
180
- const stateAfterSwitch = resolveWorkflowState(root);
181
- if (preview) {
182
- previewResult = await executeJournalStep(
183
- root,
184
- workflowRun.runId,
185
- "preview",
186
- () => reconcileWorkflowBranchPreview(root, branchName, helpers.context, { initialize: !stateAfterSwitch.preview.enabled })
187
- ) ?? null;
188
- }
189
- const state = resolveWorkflowState(root);
190
- const payload = {
191
- mode,
192
- branchName,
193
- created: rootRepo.created,
194
- resumed: rootRepo.resumed,
195
- repos: packageReports,
196
- rootRepo,
197
- previewRequested: preview,
198
- preview: {
199
- enabled: state.preview.enabled,
200
- url: state.preview.url,
201
- lastDeploymentTimestamp: state.preview.lastDeploymentTimestamp
202
- },
203
- previewResult,
204
- workspaceLinks,
205
- ...worktreePayload(root, input.worktreeMode),
206
- preconditions: {
207
- cleanWorktreeRequired: !adoptChanges,
208
- adoptedDirtyStagingChanges: adoptChanges,
209
- baseBranch: STAGING_BRANCH
210
- }
211
- };
212
- completeWorkflowRun(root, workflowRun.runId, payload);
213
- return buildWorkflowResult(
214
- "switch",
215
- root,
216
- payload,
217
- {
218
- runId: workflowRun.runId,
219
- nextSteps: createNextSteps([
220
- state.preview.enabled ? { operation: "save", reason: "Persist and verify the current task branch, then refresh its preview deployment.", input: { message: "describe your change", preview: true } } : { operation: "dev", reason: "Start the local development environment for this task branch." },
221
- { operation: "stage", reason: "Merge the task into staging once the task branch is verified.", input: { message: "describe the resolution" } }
222
- ])
223
- }
224
- );
225
- } catch (error) {
226
- failWorkflowRun(root, workflowRun.runId, error, {
227
- resumable: true,
228
- runId: workflowRun.runId,
229
- command: "switch",
230
- message: `Resume the interrupted switch for ${branchName}.`,
231
- recoverCommand: "treeseed recover",
232
- resumeCommand: `treeseed resume ${workflowRun.runId}`
233
- });
234
- throw error;
235
- }
236
- });
237
- } catch (error) {
238
- toError("switch", error);
239
- }
240
- }
241
- function normalizeUpdateStrategy(strategy) {
242
- return strategy === "ff-only" ? "ff-only" : "merge";
243
- }
244
- function normalizeUpdateSource(source) {
245
- const normalized = String(source ?? STAGING_BRANCH).trim();
246
- return normalized || STAGING_BRANCH;
247
- }
248
- function gitOutput(args, cwd, allowFailure = false) {
249
- return runRepositoryGit(args, {
250
- cwd,
251
- mode: classifyGitMode(args),
252
- allowFailure
253
- }).stdout.trim();
254
- }
255
- function updateHead(repoDir) {
256
- return gitOutput(["rev-parse", "HEAD"], repoDir, true) || null;
257
- }
258
- function updateStatusLines(repoDir) {
259
- const output = gitOutput(["status", "--porcelain"], repoDir, true);
260
- return output ? output.split(/\r?\n/u).filter(Boolean) : [];
261
- }
262
- function updateChangedFiles(repoDir) {
263
- return updateStatusLines(repoDir).map((line) => line[1] === " " && line[2] !== " " ? line.slice(2).trim() : line.slice(3).trim()).filter(Boolean);
264
- }
265
- function updateConflictedFiles(repoDir) {
266
- return updateStatusLines(repoDir).filter((line) => {
267
- const status = line.slice(0, 2);
268
- return status.includes("U") || ["AA", "DD"].includes(status);
269
- }).map((line) => line.slice(3).trim()).filter(Boolean);
270
- }
271
- function sourceBranchExists(repoDir, sourceBranch) {
272
- return runRepositoryGit(["ls-remote", "--exit-code", "--heads", "origin", sourceBranch], {
273
- cwd: repoDir,
274
- mode: "read",
275
- allowFailure: true
276
- }).status === 0;
277
- }
278
- function localRemoteRefExists(repoDir, sourceBranch) {
279
- return runGitOk(["show-ref", "--verify", `refs/remotes/origin/${sourceBranch}`], {
280
- cwd: repoDir,
281
- mode: "read"
282
- });
283
- }
284
- export {
285
- gitOutput,
286
- localRemoteRefExists,
287
- normalizeUpdateSource,
288
- normalizeUpdateStrategy,
289
- sourceBranchExists,
290
- updateChangedFiles,
291
- updateConflictedFiles,
292
- updateHead,
293
- updateStatusLines,
294
- workflowSwitch
295
- };