@homeflare/alchemy 0.46.1 → 0.47.0

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 (742) hide show
  1. package/README.md +10 -10
  2. package/dist/argocd/cluster.d.ts +5 -5
  3. package/dist/argocd/cluster.d.ts.map +1 -1
  4. package/dist/argocd/fake-argocd.d.ts +1 -1
  5. package/dist/argocd/fake-argocd.d.ts.map +1 -1
  6. package/dist/argocd/index.js.map +1 -1
  7. package/dist/argocd/providers.d.ts +1 -1
  8. package/dist/argocd/providers.d.ts.map +1 -1
  9. package/dist/argocd/repo-creds.d.ts +5 -5
  10. package/dist/argocd/repo-creds.d.ts.map +1 -1
  11. package/dist/argocd/repository.d.ts +5 -5
  12. package/dist/argocd/repository.d.ts.map +1 -1
  13. package/dist/argocd/resource.d.ts +1 -1
  14. package/dist/argocd/resource.d.ts.map +1 -1
  15. package/dist/caddy/admin.d.ts +1 -1
  16. package/dist/caddy/admin.d.ts.map +1 -1
  17. package/dist/caddy/caddy-http-client.d.ts +2 -2
  18. package/dist/caddy/caddy-http-client.d.ts.map +1 -1
  19. package/dist/caddy/format.d.ts +1 -1
  20. package/dist/caddy/format.d.ts.map +1 -1
  21. package/dist/caddy/index.js +6 -6
  22. package/dist/caddy/index.js.map +4 -4
  23. package/dist/ceph/auth-entity.d.ts +1 -1
  24. package/dist/ceph/auth-entity.d.ts.map +1 -1
  25. package/dist/ceph/ceph-auth-reconcile.d.ts +1 -1
  26. package/dist/ceph/ceph-auth-reconcile.d.ts.map +1 -1
  27. package/dist/ceph/index.js +5 -5
  28. package/dist/ceph/index.js.map +4 -4
  29. package/dist/cloudflare/fake-mesh.d.ts +2 -2
  30. package/dist/cloudflare/fake-mesh.d.ts.map +1 -1
  31. package/dist/cloudflare/fake-r2-lock.d.ts +1 -1
  32. package/dist/cloudflare/fake-r2-lock.d.ts.map +1 -1
  33. package/dist/cloudflare/index.js +3 -3
  34. package/dist/cloudflare/index.js.map +3 -3
  35. package/dist/cloudflare/mesh-node-token.d.ts +1 -1
  36. package/dist/cloudflare/mesh-node-token.d.ts.map +1 -1
  37. package/dist/cloudflare/mesh-node.d.ts +1 -1
  38. package/dist/cloudflare/mesh-node.d.ts.map +1 -1
  39. package/dist/cloudflare/providers.d.ts +1 -1
  40. package/dist/cloudflare/providers.d.ts.map +1 -1
  41. package/dist/cloudflare/r2-bucket-lock.d.ts +1 -1
  42. package/dist/cloudflare/r2-bucket-lock.d.ts.map +1 -1
  43. package/dist/discord/application-command.d.ts +6 -6
  44. package/dist/discord/application-command.d.ts.map +1 -1
  45. package/dist/discord/fake-discord.d.ts +1 -1
  46. package/dist/discord/fake-discord.d.ts.map +1 -1
  47. package/dist/discord/guild-application-command.d.ts +6 -6
  48. package/dist/discord/guild-application-command.d.ts.map +1 -1
  49. package/dist/discord/index.js.map +1 -1
  50. package/dist/discord/providers.d.ts +1 -1
  51. package/dist/discord/providers.d.ts.map +1 -1
  52. package/dist/discord/resource.d.ts +1 -1
  53. package/dist/discord/resource.d.ts.map +1 -1
  54. package/dist/forgejo/branch-protection.d.ts +5 -5
  55. package/dist/forgejo/branch-protection.d.ts.map +1 -1
  56. package/dist/forgejo/fake-forgejo.d.ts +1 -1
  57. package/dist/forgejo/fake-forgejo.d.ts.map +1 -1
  58. package/dist/forgejo/index.js.map +1 -1
  59. package/dist/forgejo/org-actions-secrets.d.ts +5 -5
  60. package/dist/forgejo/org-actions-secrets.d.ts.map +1 -1
  61. package/dist/forgejo/org-label.d.ts +5 -5
  62. package/dist/forgejo/org-label.d.ts.map +1 -1
  63. package/dist/forgejo/org-team.d.ts +5 -5
  64. package/dist/forgejo/org-team.d.ts.map +1 -1
  65. package/dist/forgejo/repo-webhook.d.ts +5 -5
  66. package/dist/forgejo/repo-webhook.d.ts.map +1 -1
  67. package/dist/forgejo/repository.d.ts +5 -5
  68. package/dist/forgejo/repository.d.ts.map +1 -1
  69. package/dist/forgejo/resource.d.ts +1 -1
  70. package/dist/forgejo/resource.d.ts.map +1 -1
  71. package/dist/forgejo/team-member.d.ts +5 -5
  72. package/dist/forgejo/team-member.d.ts.map +1 -1
  73. package/dist/github/repository-ruleset-providers.d.ts +1 -1
  74. package/dist/github/repository-ruleset-providers.d.ts.map +1 -1
  75. package/dist/google-workspace/domain-alias.d.ts +5 -5
  76. package/dist/google-workspace/domain-alias.d.ts.map +1 -1
  77. package/dist/google-workspace/fake-google-workspace.d.ts +1 -1
  78. package/dist/google-workspace/fake-google-workspace.d.ts.map +1 -1
  79. package/dist/google-workspace/group-member.d.ts +5 -5
  80. package/dist/google-workspace/group-member.d.ts.map +1 -1
  81. package/dist/google-workspace/group.d.ts +5 -5
  82. package/dist/google-workspace/group.d.ts.map +1 -1
  83. package/dist/google-workspace/index.js.map +1 -1
  84. package/dist/google-workspace/org-unit.d.ts +5 -5
  85. package/dist/google-workspace/org-unit.d.ts.map +1 -1
  86. package/dist/google-workspace/providers.d.ts +1 -1
  87. package/dist/google-workspace/providers.d.ts.map +1 -1
  88. package/dist/google-workspace/resource.d.ts +1 -1
  89. package/dist/google-workspace/resource.d.ts.map +1 -1
  90. package/dist/grafana/alert-rule-group.d.ts +4 -4
  91. package/dist/grafana/alert-rule-group.d.ts.map +1 -1
  92. package/dist/grafana/contact-point.d.ts +4 -4
  93. package/dist/grafana/dashboard.d.ts +4 -4
  94. package/dist/grafana/datasource.d.ts +4 -4
  95. package/dist/grafana/fake-grafana.d.ts +1 -1
  96. package/dist/grafana/fake-grafana.d.ts.map +1 -1
  97. package/dist/grafana/folder.d.ts +4 -4
  98. package/dist/grafana/message-template.d.ts +4 -4
  99. package/dist/grafana/mute-timing.d.ts +4 -4
  100. package/dist/grafana/notification-policy.d.ts +4 -4
  101. package/dist/grafana/notification-policy.d.ts.map +1 -1
  102. package/dist/grafana/providers.d.ts +1 -1
  103. package/dist/grafana/providers.d.ts.map +1 -1
  104. package/dist/litellm/access-group.d.ts +1 -1
  105. package/dist/litellm/budget-operations.d.ts +1 -1
  106. package/dist/litellm/budget-operations.d.ts.map +1 -1
  107. package/dist/litellm/budget.d.ts +2 -2
  108. package/dist/litellm/credential-errors.d.ts +1 -1
  109. package/dist/litellm/credential-errors.d.ts.map +1 -1
  110. package/dist/litellm/credential.d.ts +1 -1
  111. package/dist/litellm/index.js +26 -5
  112. package/dist/litellm/index.js.map +8 -8
  113. package/dist/litellm/key-errors.d.ts +1 -1
  114. package/dist/litellm/key-errors.d.ts.map +1 -1
  115. package/dist/litellm/key.d.ts +2 -2
  116. package/dist/litellm/mcp-server-locate.d.ts +1 -1
  117. package/dist/litellm/mcp-server-locate.d.ts.map +1 -1
  118. package/dist/litellm/mcp-server.d.ts +2 -2
  119. package/dist/litellm/model-operations.d.ts +1 -1
  120. package/dist/litellm/model-operations.d.ts.map +1 -1
  121. package/dist/litellm/model.d.ts +2 -2
  122. package/dist/litellm/operations.d.ts +1 -1
  123. package/dist/litellm/operations.d.ts.map +1 -1
  124. package/dist/litellm/policy-attachment.d.ts +1 -1
  125. package/dist/litellm/policy.d.ts +1 -1
  126. package/dist/litellm/providers.d.ts +1 -1
  127. package/dist/litellm/providers.d.ts.map +1 -1
  128. package/dist/litellm/team-operations.d.ts +1 -1
  129. package/dist/litellm/team-operations.d.ts.map +1 -1
  130. package/dist/litellm/team.d.ts +1 -1
  131. package/dist/litellm/tool-policy-operations.d.ts +1 -1
  132. package/dist/litellm/tool-policy-operations.d.ts.map +1 -1
  133. package/dist/litellm/tool-policy.d.ts +1 -1
  134. package/dist/litellm/toolset.d.ts +1 -1
  135. package/dist/netbox/fake-netbox.d.ts +1 -1
  136. package/dist/netbox/fake-netbox.d.ts.map +1 -1
  137. package/dist/netbox/index.js.map +1 -1
  138. package/dist/netbox/prefix.d.ts +5 -5
  139. package/dist/netbox/prefix.d.ts.map +1 -1
  140. package/dist/netbox/resource.d.ts +1 -1
  141. package/dist/netbox/resource.d.ts.map +1 -1
  142. package/dist/openbao/approle-login.d.ts +1 -1
  143. package/dist/openbao/approle-login.d.ts.map +1 -1
  144. package/dist/openbao/auth-method-reconcile.d.ts +1 -1
  145. package/dist/openbao/auth-method-reconcile.d.ts.map +1 -1
  146. package/dist/openbao/auth-method-wire.d.ts +4 -4
  147. package/dist/openbao/auth-method-wire.d.ts.map +1 -1
  148. package/dist/openbao/auth-method.d.ts +1 -1
  149. package/dist/openbao/auth-method.d.ts.map +1 -1
  150. package/dist/openbao/auth-role-identity.d.ts +1 -1
  151. package/dist/openbao/auth-role-identity.d.ts.map +1 -1
  152. package/dist/openbao/auth-role-wire.d.ts +4 -4
  153. package/dist/openbao/auth-role-wire.d.ts.map +1 -1
  154. package/dist/openbao/auth-role.d.ts +1 -1
  155. package/dist/openbao/auth-role.d.ts.map +1 -1
  156. package/dist/openbao/bao-http.d.ts +1 -1
  157. package/dist/openbao/bao-http.d.ts.map +1 -1
  158. package/dist/openbao/bao-identity.d.ts +1 -1
  159. package/dist/openbao/bao-identity.d.ts.map +1 -1
  160. package/dist/openbao/cloudflare-permission-groups.d.ts +1 -1
  161. package/dist/openbao/cloudflare-permission-groups.d.ts.map +1 -1
  162. package/dist/openbao/cloudflare-role-wire.d.ts +1 -1
  163. package/dist/openbao/cloudflare-role-wire.d.ts.map +1 -1
  164. package/dist/openbao/cloudflare-role.d.ts +1 -1
  165. package/dist/openbao/cloudflare-role.d.ts.map +1 -1
  166. package/dist/openbao/distilled.d.ts +1 -1
  167. package/dist/openbao/distilled.d.ts.map +1 -1
  168. package/dist/openbao/fake-bao.d.ts +1 -1
  169. package/dist/openbao/fake-bao.d.ts.map +1 -1
  170. package/dist/openbao/fake-core.d.ts +1 -1
  171. package/dist/openbao/fake-core.d.ts.map +1 -1
  172. package/dist/openbao/fake-engines.d.ts +1 -1
  173. package/dist/openbao/fake-engines.d.ts.map +1 -1
  174. package/dist/openbao/fake-families.d.ts +2 -2
  175. package/dist/openbao/fake-families.d.ts.map +1 -1
  176. package/dist/openbao/fake-stack.d.ts +5 -0
  177. package/dist/openbao/fake-stack.d.ts.map +1 -1
  178. package/dist/openbao/forgejo-bootstrap.d.ts +1 -1
  179. package/dist/openbao/forgejo-bootstrap.d.ts.map +1 -1
  180. package/dist/openbao/index.js +31 -10
  181. package/dist/openbao/index.js.map +31 -31
  182. package/dist/openbao/jwt-config.d.ts +1 -1
  183. package/dist/openbao/jwt-config.d.ts.map +1 -1
  184. package/dist/openbao/jwt-role.d.ts +1 -1
  185. package/dist/openbao/jwt-role.d.ts.map +1 -1
  186. package/dist/openbao/kubernetes-role.d.ts +1 -1
  187. package/dist/openbao/kubernetes-role.d.ts.map +1 -1
  188. package/dist/openbao/mfa-enforcement.d.ts +1 -1
  189. package/dist/openbao/mfa-enforcement.d.ts.map +1 -1
  190. package/dist/openbao/mfa-totp.d.ts +1 -1
  191. package/dist/openbao/mfa-totp.d.ts.map +1 -1
  192. package/dist/openbao/mfa-wire.d.ts +1 -1
  193. package/dist/openbao/mfa-wire.d.ts.map +1 -1
  194. package/dist/openbao/mount-move.d.ts +1 -1
  195. package/dist/openbao/mount-move.d.ts.map +1 -1
  196. package/dist/openbao/mount-reconcile.d.ts +1 -1
  197. package/dist/openbao/mount-reconcile.d.ts.map +1 -1
  198. package/dist/openbao/mount-wire.d.ts +4 -4
  199. package/dist/openbao/mount-wire.d.ts.map +1 -1
  200. package/dist/openbao/mount.d.ts +1 -1
  201. package/dist/openbao/mount.d.ts.map +1 -1
  202. package/dist/openbao/pki-role.d.ts +1 -1
  203. package/dist/openbao/pki-role.d.ts.map +1 -1
  204. package/dist/openbao/plugin-reconcile.d.ts +1 -1
  205. package/dist/openbao/plugin-reconcile.d.ts.map +1 -1
  206. package/dist/openbao/plugin-wire.d.ts +1 -1
  207. package/dist/openbao/plugin-wire.d.ts.map +1 -1
  208. package/dist/openbao/plugin.d.ts +1 -1
  209. package/dist/openbao/plugin.d.ts.map +1 -1
  210. package/dist/openbao/policy-identity.d.ts +1 -1
  211. package/dist/openbao/policy-identity.d.ts.map +1 -1
  212. package/dist/openbao/policy-wire.d.ts +4 -4
  213. package/dist/openbao/policy-wire.d.ts.map +1 -1
  214. package/dist/openbao/policy.d.ts +1 -1
  215. package/dist/openbao/policy.d.ts.map +1 -1
  216. package/dist/openbao/proxmox-role-wire.d.ts +1 -1
  217. package/dist/openbao/proxmox-role-wire.d.ts.map +1 -1
  218. package/dist/openbao/proxmox-role.d.ts +1 -1
  219. package/dist/openbao/proxmox-role.d.ts.map +1 -1
  220. package/dist/openbao/remount-wire.d.ts +1 -1
  221. package/dist/openbao/remount-wire.d.ts.map +1 -1
  222. package/dist/openbao/rename-identity.d.ts +1 -1
  223. package/dist/openbao/rename-identity.d.ts.map +1 -1
  224. package/dist/openbao/rename.d.ts +1 -1
  225. package/dist/openbao/rename.d.ts.map +1 -1
  226. package/dist/openbao/role-reconcile.d.ts +1 -1
  227. package/dist/openbao/role-reconcile.d.ts.map +1 -1
  228. package/dist/openbao/ssh-role.d.ts +1 -1
  229. package/dist/openbao/ssh-role.d.ts.map +1 -1
  230. package/dist/opnsense/alias.d.ts +5 -5
  231. package/dist/opnsense/alias.d.ts.map +1 -1
  232. package/dist/opnsense/category.d.ts +5 -5
  233. package/dist/opnsense/category.d.ts.map +1 -1
  234. package/dist/opnsense/fake-opnsense.d.ts +1 -1
  235. package/dist/opnsense/fake-opnsense.d.ts.map +1 -1
  236. package/dist/opnsense/group.d.ts +5 -5
  237. package/dist/opnsense/group.d.ts.map +1 -1
  238. package/dist/opnsense/index.js.map +1 -1
  239. package/dist/opnsense/providers.d.ts +1 -1
  240. package/dist/opnsense/providers.d.ts.map +1 -1
  241. package/dist/opnsense/resource.d.ts +1 -1
  242. package/dist/opnsense/resource.d.ts.map +1 -1
  243. package/dist/ownership/probe.d.ts.map +1 -1
  244. package/dist/paperless/custom-field.d.ts +5 -5
  245. package/dist/paperless/custom-field.d.ts.map +1 -1
  246. package/dist/paperless/document-type.d.ts +5 -5
  247. package/dist/paperless/document-type.d.ts.map +1 -1
  248. package/dist/paperless/fake-paperless.d.ts +1 -1
  249. package/dist/paperless/fake-paperless.d.ts.map +1 -1
  250. package/dist/paperless/matching-types.d.ts +1 -1
  251. package/dist/paperless/matching-types.d.ts.map +1 -1
  252. package/dist/paperless/matching.d.ts +4 -4
  253. package/dist/paperless/providers.d.ts +1 -1
  254. package/dist/paperless/providers.d.ts.map +1 -1
  255. package/dist/paperless/storage-path.d.ts +5 -5
  256. package/dist/paperless/storage-path.d.ts.map +1 -1
  257. package/dist/paperless/tag.d.ts +5 -5
  258. package/dist/paperless/tag.d.ts.map +1 -1
  259. package/dist/postgres/connection.d.ts +2 -2
  260. package/dist/postgres/connection.d.ts.map +1 -1
  261. package/dist/postgres/database-sql.d.ts +1 -1
  262. package/dist/postgres/database-sql.d.ts.map +1 -1
  263. package/dist/postgres/database.d.ts +1 -1
  264. package/dist/postgres/database.d.ts.map +1 -1
  265. package/dist/postgres/fake-grants-read.d.ts +1 -1
  266. package/dist/postgres/fake-grants-read.d.ts.map +1 -1
  267. package/dist/postgres/fake-grants-write.d.ts +1 -1
  268. package/dist/postgres/fake-grants-write.d.ts.map +1 -1
  269. package/dist/postgres/fake-role-sql.d.ts +1 -1
  270. package/dist/postgres/fake-role-sql.d.ts.map +1 -1
  271. package/dist/postgres/fake-schema-drop.d.ts +1 -1
  272. package/dist/postgres/fake-schema-drop.d.ts.map +1 -1
  273. package/dist/postgres/fake-schema-sql.d.ts +1 -1
  274. package/dist/postgres/fake-schema-sql.d.ts.map +1 -1
  275. package/dist/postgres/grants-existence.d.ts +1 -1
  276. package/dist/postgres/grants-existence.d.ts.map +1 -1
  277. package/dist/postgres/grants-ops.d.ts +1 -1
  278. package/dist/postgres/grants-ops.d.ts.map +1 -1
  279. package/dist/postgres/grants-ownership.d.ts +1 -1
  280. package/dist/postgres/grants-ownership.d.ts.map +1 -1
  281. package/dist/postgres/grants-read-defaults.d.ts +1 -1
  282. package/dist/postgres/grants-read-defaults.d.ts.map +1 -1
  283. package/dist/postgres/grants-read.d.ts +1 -1
  284. package/dist/postgres/grants-read.d.ts.map +1 -1
  285. package/dist/postgres/index.js +93 -77
  286. package/dist/postgres/index.js.map +23 -23
  287. package/dist/postgres/installed-classifier.d.ts +1 -1
  288. package/dist/postgres/installed-classifier.d.ts.map +1 -1
  289. package/dist/postgres/psql-executor.d.ts.map +1 -1
  290. package/dist/postgres/role-membership-sql.d.ts +1 -1
  291. package/dist/postgres/role-membership-sql.d.ts.map +1 -1
  292. package/dist/postgres/role-sql.d.ts +1 -1
  293. package/dist/postgres/role-sql.d.ts.map +1 -1
  294. package/dist/postgres/role.d.ts +1 -1
  295. package/dist/postgres/role.d.ts.map +1 -1
  296. package/dist/postgres/schema-assert.d.ts +1 -1
  297. package/dist/postgres/schema-assert.d.ts.map +1 -1
  298. package/dist/postgres/schema-delete.d.ts +1 -1
  299. package/dist/postgres/schema-delete.d.ts.map +1 -1
  300. package/dist/postgres/schema-drop-sql.d.ts +1 -1
  301. package/dist/postgres/schema-drop-sql.d.ts.map +1 -1
  302. package/dist/postgres/schema-reconcile.d.ts +1 -1
  303. package/dist/postgres/schema-reconcile.d.ts.map +1 -1
  304. package/dist/postgres/schema-sql.d.ts +1 -1
  305. package/dist/postgres/schema-sql.d.ts.map +1 -1
  306. package/dist/postgres/schema.d.ts +1 -1
  307. package/dist/postgres/schema.d.ts.map +1 -1
  308. package/dist/postgres/search-path.d.ts +1 -1
  309. package/dist/postgres/search-path.d.ts.map +1 -1
  310. package/dist/proxmox/acl.d.ts +1 -1
  311. package/dist/proxmox/acl.d.ts.map +1 -1
  312. package/dist/proxmox/api-token.d.ts +1 -1
  313. package/dist/proxmox/api-token.d.ts.map +1 -1
  314. package/dist/proxmox/backup-job-distilled.d.ts +2 -2
  315. package/dist/proxmox/backup-job-distilled.d.ts.map +1 -1
  316. package/dist/proxmox/backup-job.d.ts +1 -1
  317. package/dist/proxmox/backup-job.d.ts.map +1 -1
  318. package/dist/proxmox/ceph-daemon-wire.d.ts +3 -3
  319. package/dist/proxmox/ceph-daemon-wire.d.ts.map +1 -1
  320. package/dist/proxmox/ceph-daemon.d.ts +2 -2
  321. package/dist/proxmox/ceph-daemon.d.ts.map +1 -1
  322. package/dist/proxmox/ceph-flag-wire.d.ts +3 -3
  323. package/dist/proxmox/ceph-flag-wire.d.ts.map +1 -1
  324. package/dist/proxmox/ceph-flag.d.ts +1 -1
  325. package/dist/proxmox/ceph-flag.d.ts.map +1 -1
  326. package/dist/proxmox/ceph-fs-distilled.d.ts +3 -3
  327. package/dist/proxmox/ceph-fs-distilled.d.ts.map +1 -1
  328. package/dist/proxmox/ceph-fs.d.ts +1 -1
  329. package/dist/proxmox/ceph-fs.d.ts.map +1 -1
  330. package/dist/proxmox/ceph-osd-tree.d.ts +1 -1
  331. package/dist/proxmox/ceph-osd-tree.d.ts.map +1 -1
  332. package/dist/proxmox/ceph-osd-write.d.ts +2 -2
  333. package/dist/proxmox/ceph-osd-write.d.ts.map +1 -1
  334. package/dist/proxmox/ceph-osd.d.ts +1 -1
  335. package/dist/proxmox/ceph-osd.d.ts.map +1 -1
  336. package/dist/proxmox/ceph-pool-settle.d.ts +2 -2
  337. package/dist/proxmox/ceph-pool-settle.d.ts.map +1 -1
  338. package/dist/proxmox/ceph-pool-wire.d.ts +1 -1
  339. package/dist/proxmox/ceph-pool-wire.d.ts.map +1 -1
  340. package/dist/proxmox/ceph-pool.d.ts +1 -1
  341. package/dist/proxmox/ceph-pool.d.ts.map +1 -1
  342. package/dist/proxmox/client.d.ts +1 -1
  343. package/dist/proxmox/client.d.ts.map +1 -1
  344. package/dist/proxmox/distilled-pbs.d.ts +1 -1
  345. package/dist/proxmox/distilled-pbs.d.ts.map +1 -1
  346. package/dist/proxmox/distilled-pve.d.ts +1 -1
  347. package/dist/proxmox/distilled-pve.d.ts.map +1 -1
  348. package/dist/proxmox/fake-pbs-jobs.d.ts +1 -1
  349. package/dist/proxmox/fake-pve.d.ts +1 -1
  350. package/dist/proxmox/fake-pve.d.ts.map +1 -1
  351. package/dist/proxmox/firewall-alias-lifecycle.d.ts +6 -6
  352. package/dist/proxmox/firewall-alias-lifecycle.d.ts.map +1 -1
  353. package/dist/proxmox/firewall-alias.d.ts +1 -1
  354. package/dist/proxmox/firewall-alias.d.ts.map +1 -1
  355. package/dist/proxmox/group-wire.d.ts +2 -2
  356. package/dist/proxmox/group-wire.d.ts.map +1 -1
  357. package/dist/proxmox/group.d.ts +1 -1
  358. package/dist/proxmox/group.d.ts.map +1 -1
  359. package/dist/proxmox/ha-resource.d.ts +1 -1
  360. package/dist/proxmox/ha-resource.d.ts.map +1 -1
  361. package/dist/proxmox/ha-rule.d.ts +1 -1
  362. package/dist/proxmox/ha-rule.d.ts.map +1 -1
  363. package/dist/proxmox/index.js +38 -17
  364. package/dist/proxmox/index.js.map +9 -9
  365. package/dist/proxmox/lease-cache.d.ts +2 -2
  366. package/dist/proxmox/lease-cache.d.ts.map +1 -1
  367. package/dist/proxmox/live-core-fixtures.d.ts +1 -1
  368. package/dist/proxmox/live-core-fixtures.d.ts.map +1 -1
  369. package/dist/proxmox/lxc-lifecycle.d.ts +3 -3
  370. package/dist/proxmox/lxc-lifecycle.d.ts.map +1 -1
  371. package/dist/proxmox/lxc-read.d.ts +1 -1
  372. package/dist/proxmox/lxc-read.d.ts.map +1 -1
  373. package/dist/proxmox/lxc-task.d.ts +1 -1
  374. package/dist/proxmox/lxc-task.d.ts.map +1 -1
  375. package/dist/proxmox/lxc.d.ts +1 -1
  376. package/dist/proxmox/lxc.d.ts.map +1 -1
  377. package/dist/proxmox/members.d.ts +3 -3
  378. package/dist/proxmox/members.d.ts.map +1 -1
  379. package/dist/proxmox/metric-server-distilled.d.ts +3 -3
  380. package/dist/proxmox/metric-server-distilled.d.ts.map +1 -1
  381. package/dist/proxmox/metric-server.d.ts +1 -1
  382. package/dist/proxmox/metric-server.d.ts.map +1 -1
  383. package/dist/proxmox/mint.d.ts +1 -1
  384. package/dist/proxmox/mint.d.ts.map +1 -1
  385. package/dist/proxmox/network-apply-read.d.ts +3 -3
  386. package/dist/proxmox/network-apply-read.d.ts.map +1 -1
  387. package/dist/proxmox/network-apply-run.d.ts +1 -1
  388. package/dist/proxmox/network-apply-run.d.ts.map +1 -1
  389. package/dist/proxmox/network-apply.d.ts +1 -1
  390. package/dist/proxmox/network-apply.d.ts.map +1 -1
  391. package/dist/proxmox/node-network-wire.d.ts +2 -2
  392. package/dist/proxmox/node-network-wire.d.ts.map +1 -1
  393. package/dist/proxmox/node-network.d.ts +1 -1
  394. package/dist/proxmox/node-network.d.ts.map +1 -1
  395. package/dist/proxmox/notification-matcher-distilled.d.ts +4 -4
  396. package/dist/proxmox/notification-matcher-distilled.d.ts.map +1 -1
  397. package/dist/proxmox/notification-matcher-lifecycle.d.ts +4 -4
  398. package/dist/proxmox/notification-matcher.d.ts +1 -1
  399. package/dist/proxmox/notification-matcher.d.ts.map +1 -1
  400. package/dist/proxmox/notification-target-distilled.d.ts +4 -4
  401. package/dist/proxmox/notification-target-distilled.d.ts.map +1 -1
  402. package/dist/proxmox/notification-target-lifecycle.d.ts +4 -4
  403. package/dist/proxmox/notification-target.d.ts +1 -1
  404. package/dist/proxmox/notification-target.d.ts.map +1 -1
  405. package/dist/proxmox/pbs-datastore-lifecycle.d.ts +4 -4
  406. package/dist/proxmox/pbs-datastore-wire.d.ts +4 -4
  407. package/dist/proxmox/pbs-datastore-wire.d.ts.map +1 -1
  408. package/dist/proxmox/pbs-datastore.d.ts +1 -1
  409. package/dist/proxmox/pbs-datastore.d.ts.map +1 -1
  410. package/dist/proxmox/pbs-notification-matcher-distilled.d.ts +4 -4
  411. package/dist/proxmox/pbs-notification-matcher-distilled.d.ts.map +1 -1
  412. package/dist/proxmox/pbs-notification-matcher.d.ts +1 -1
  413. package/dist/proxmox/pbs-notification-matcher.d.ts.map +1 -1
  414. package/dist/proxmox/pbs-notification-target-distilled.d.ts +4 -4
  415. package/dist/proxmox/pbs-notification-target-distilled.d.ts.map +1 -1
  416. package/dist/proxmox/pbs-notification-target-lifecycle.d.ts +4 -4
  417. package/dist/proxmox/pbs-notification-target.d.ts +1 -1
  418. package/dist/proxmox/pbs-notification-target.d.ts.map +1 -1
  419. package/dist/proxmox/pbs-prune-job-lifecycle.d.ts +4 -4
  420. package/dist/proxmox/pbs-prune-job-wire.d.ts +4 -4
  421. package/dist/proxmox/pbs-prune-job-wire.d.ts.map +1 -1
  422. package/dist/proxmox/pbs-prune-job.d.ts +1 -1
  423. package/dist/proxmox/pbs-prune-job.d.ts.map +1 -1
  424. package/dist/proxmox/pbs-sync-job-lifecycle.d.ts +4 -4
  425. package/dist/proxmox/pbs-sync-job-wire.d.ts +4 -4
  426. package/dist/proxmox/pbs-sync-job-wire.d.ts.map +1 -1
  427. package/dist/proxmox/pbs-sync-job.d.ts +1 -1
  428. package/dist/proxmox/pbs-sync-job.d.ts.map +1 -1
  429. package/dist/proxmox/pbs-verify-job-lifecycle.d.ts +4 -4
  430. package/dist/proxmox/pbs-verify-job-wire.d.ts +4 -4
  431. package/dist/proxmox/pbs-verify-job-wire.d.ts.map +1 -1
  432. package/dist/proxmox/pbs-verify-job.d.ts +1 -1
  433. package/dist/proxmox/pbs-verify-job.d.ts.map +1 -1
  434. package/dist/proxmox/pool.d.ts +3 -3
  435. package/dist/proxmox/pool.d.ts.map +1 -1
  436. package/dist/proxmox/provision-declare.d.ts +1 -1
  437. package/dist/proxmox/provision-declare.d.ts.map +1 -1
  438. package/dist/proxmox/qemu-lifecycle.d.ts +3 -3
  439. package/dist/proxmox/qemu-lifecycle.d.ts.map +1 -1
  440. package/dist/proxmox/qemu-read.d.ts +1 -1
  441. package/dist/proxmox/qemu-read.d.ts.map +1 -1
  442. package/dist/proxmox/qemu-resize.d.ts +1 -1
  443. package/dist/proxmox/qemu-resize.d.ts.map +1 -1
  444. package/dist/proxmox/qemu-task.d.ts +1 -1
  445. package/dist/proxmox/qemu-task.d.ts.map +1 -1
  446. package/dist/proxmox/qemu.d.ts +1 -1
  447. package/dist/proxmox/qemu.d.ts.map +1 -1
  448. package/dist/proxmox/replication-job-lifecycle.d.ts +6 -6
  449. package/dist/proxmox/replication-job-lifecycle.d.ts.map +1 -1
  450. package/dist/proxmox/replication-job.d.ts +1 -1
  451. package/dist/proxmox/replication-job.d.ts.map +1 -1
  452. package/dist/proxmox/resource-spec.d.ts +1 -1
  453. package/dist/proxmox/resource-spec.d.ts.map +1 -1
  454. package/dist/proxmox/resource.d.ts +8 -8
  455. package/dist/proxmox/role.d.ts +1 -1
  456. package/dist/proxmox/role.d.ts.map +1 -1
  457. package/dist/proxmox/sdn-apply-read.d.ts +1 -1
  458. package/dist/proxmox/sdn-apply-read.d.ts.map +1 -1
  459. package/dist/proxmox/sdn-apply.d.ts +1 -1
  460. package/dist/proxmox/sdn-apply.d.ts.map +1 -1
  461. package/dist/proxmox/sdn-subnet.d.ts +1 -1
  462. package/dist/proxmox/sdn-subnet.d.ts.map +1 -1
  463. package/dist/proxmox/sdn-vnet.d.ts +1 -1
  464. package/dist/proxmox/sdn-vnet.d.ts.map +1 -1
  465. package/dist/proxmox/sdn-zone.d.ts +1 -1
  466. package/dist/proxmox/sdn-zone.d.ts.map +1 -1
  467. package/dist/proxmox/storage-download-lifecycle.d.ts +6 -6
  468. package/dist/proxmox/storage-download-lifecycle.d.ts.map +1 -1
  469. package/dist/proxmox/storage-download-task.d.ts +1 -1
  470. package/dist/proxmox/storage-download-task.d.ts.map +1 -1
  471. package/dist/proxmox/storage-download.d.ts +1 -1
  472. package/dist/proxmox/storage-download.d.ts.map +1 -1
  473. package/dist/proxmox/storage-wire.d.ts +2 -2
  474. package/dist/proxmox/storage-wire.d.ts.map +1 -1
  475. package/dist/proxmox/storage.d.ts +1 -1
  476. package/dist/proxmox/storage.d.ts.map +1 -1
  477. package/dist/proxmox/user-wire.d.ts +2 -2
  478. package/dist/proxmox/user-wire.d.ts.map +1 -1
  479. package/dist/proxmox/user.d.ts +1 -1
  480. package/dist/proxmox/user.d.ts.map +1 -1
  481. package/dist/proxmox/zfs-pool-form.d.ts +2 -2
  482. package/dist/proxmox/zfs-pool-form.d.ts.map +1 -1
  483. package/dist/proxmox/zfs-pool-wire.d.ts +2 -2
  484. package/dist/proxmox/zfs-pool-wire.d.ts.map +1 -1
  485. package/dist/proxmox/zfs-pool.d.ts +1 -1
  486. package/dist/proxmox/zfs-pool.d.ts.map +1 -1
  487. package/dist/release/binary.d.ts +1 -1
  488. package/dist/release/binary.d.ts.map +1 -1
  489. package/dist/release/download.d.ts +1 -1
  490. package/dist/release/download.d.ts.map +1 -1
  491. package/dist/release/index.js +6 -5
  492. package/dist/release/index.js.map +5 -5
  493. package/dist/talos/credentials-write.d.ts +1 -1
  494. package/dist/talos/credentials-write.d.ts.map +1 -1
  495. package/dist/talos/credentials.d.ts +1 -1
  496. package/dist/talos/credentials.d.ts.map +1 -1
  497. package/dist/talos/fake-process.d.ts +2 -2
  498. package/dist/talos/fake-process.d.ts.map +1 -1
  499. package/dist/talos/index.js +7 -7
  500. package/dist/talos/index.js.map +4 -4
  501. package/dist/talos/kubeconfig.d.ts +4 -4
  502. package/dist/talos/kubeconfig.d.ts.map +1 -1
  503. package/dist/talos/machine-config-fixtures.d.ts +1 -1
  504. package/dist/talos/machine-config-fixtures.d.ts.map +1 -1
  505. package/dist/talos/machine-config-read.d.ts +3 -3
  506. package/dist/talos/machine-config-read.d.ts.map +1 -1
  507. package/dist/talos/resource.d.ts +1 -1
  508. package/dist/talos/resource.d.ts.map +1 -1
  509. package/dist/talos/talos-bootstrap-etcd.d.ts +2 -2
  510. package/dist/talos/talos-bootstrap-etcd.d.ts.map +1 -1
  511. package/dist/talos/talos-bootstrap.d.ts +4 -4
  512. package/dist/talos/talos-bootstrap.d.ts.map +1 -1
  513. package/dist/talos/talos-cluster-health.d.ts +4 -4
  514. package/dist/talos/talos-cluster-health.d.ts.map +1 -1
  515. package/dist/talos/talos-machine-config.d.ts +2 -2
  516. package/dist/talos/talos-machine-config.d.ts.map +1 -1
  517. package/dist/talos/talosctl.d.ts +1 -1
  518. package/dist/talos/talosctl.d.ts.map +1 -1
  519. package/dist/telemetry/index.js +4 -4
  520. package/dist/telemetry/index.js.map +3 -3
  521. package/dist/telemetry/redact-serialization.d.ts +2 -2
  522. package/dist/telemetry/redact-serialization.d.ts.map +1 -1
  523. package/dist/unifi/acl-rule-ordering.d.ts +6 -6
  524. package/dist/unifi/acl-rule-ordering.d.ts.map +1 -1
  525. package/dist/unifi/acl-rule.d.ts +6 -6
  526. package/dist/unifi/acl-rule.d.ts.map +1 -1
  527. package/dist/unifi/dns-policy.d.ts +6 -6
  528. package/dist/unifi/dns-policy.d.ts.map +1 -1
  529. package/dist/unifi/fake-unifi.d.ts +1 -1
  530. package/dist/unifi/fake-unifi.d.ts.map +1 -1
  531. package/dist/unifi/firewall-policy-ordering.d.ts +6 -6
  532. package/dist/unifi/firewall-policy-ordering.d.ts.map +1 -1
  533. package/dist/unifi/firewall-policy.d.ts +6 -6
  534. package/dist/unifi/firewall-policy.d.ts.map +1 -1
  535. package/dist/unifi/firewall-zone.d.ts +6 -6
  536. package/dist/unifi/firewall-zone.d.ts.map +1 -1
  537. package/dist/unifi/index.js +2 -2
  538. package/dist/unifi/index.js.map +2 -2
  539. package/dist/unifi/network.d.ts +6 -6
  540. package/dist/unifi/network.d.ts.map +1 -1
  541. package/dist/unifi/providers.d.ts +1 -1
  542. package/dist/unifi/providers.d.ts.map +1 -1
  543. package/dist/unifi/resource.d.ts +1 -1
  544. package/dist/unifi/resource.d.ts.map +1 -1
  545. package/dist/unifi/traffic-matching-list.d.ts +6 -6
  546. package/dist/unifi/traffic-matching-list.d.ts.map +1 -1
  547. package/dist/unifi/wifi-broadcast.d.ts +6 -6
  548. package/dist/unifi/wifi-broadcast.d.ts.map +1 -1
  549. package/dist/verify/cli.js.map +1 -1
  550. package/dist/verify/index.js.map +1 -1
  551. package/docs/distilled-interim.md +1 -1
  552. package/docs/mesh-node.md +1 -1
  553. package/docs/paperless.md +1 -1
  554. package/docs/peers.md +8 -8
  555. package/docs/telemetry.md +1 -1
  556. package/package.json +20 -20
  557. package/src/argocd/fake-argocd.ts +1 -1
  558. package/src/argocd/resource.ts +1 -1
  559. package/src/caddy/admin-transport-scope.test.ts +2 -2
  560. package/src/caddy/admin.ts +1 -1
  561. package/src/caddy/caddy-http-client.ts +5 -5
  562. package/src/caddy/config-adopt.test.ts +2 -2
  563. package/src/caddy/format.ts +2 -2
  564. package/src/caddy/local-admin.test.ts +1 -1
  565. package/src/ceph/auth-entity.ts +1 -1
  566. package/src/ceph/ceph-auth-reconcile.ts +1 -1
  567. package/src/cloudflare/fake-mesh.ts +1 -1
  568. package/src/cloudflare/fake-r2-lock.ts +1 -1
  569. package/src/cloudflare/mesh-node-harness.ts +1 -1
  570. package/src/cloudflare/mesh-node.ts +1 -1
  571. package/src/cloudflare/r2-bucket-lock.ts +1 -1
  572. package/src/discord/fake-discord.ts +1 -1
  573. package/src/discord/resource.ts +1 -1
  574. package/src/forgejo/fake-forgejo.ts +1 -1
  575. package/src/forgejo/resource.ts +1 -1
  576. package/src/google-workspace/fake-google-workspace.ts +1 -1
  577. package/src/google-workspace/resource.ts +1 -1
  578. package/src/grafana/fake-grafana.ts +1 -1
  579. package/src/litellm/access-group.test.ts +1 -1
  580. package/src/litellm/credential-errors.ts +1 -1
  581. package/src/litellm/credential-guards.test.ts +1 -1
  582. package/src/litellm/credential-operations.ts +1 -1
  583. package/src/litellm/credential-rewrite.test.ts +1 -1
  584. package/src/litellm/fake-stack.ts +1 -1
  585. package/src/litellm/key-errors.ts +1 -1
  586. package/src/litellm/key-harness.ts +1 -1
  587. package/src/litellm/key-operations.ts +1 -1
  588. package/src/litellm/key.test.ts +2 -1
  589. package/src/litellm/mcp-server-handlers.test.ts +1 -1
  590. package/src/litellm/mcp-server-registry.test.ts +1 -1
  591. package/src/litellm/model-operations.test.ts +1 -1
  592. package/src/litellm/operations.ts +1 -1
  593. package/src/litellm/pass-through-endpoint-delete-swallow.test.ts +1 -1
  594. package/src/litellm/pass-through-endpoint.test.ts +1 -1
  595. package/src/litellm/pass-through-fetch-client.test.ts +2 -2
  596. package/src/litellm/policy-attachment.test.ts +1 -1
  597. package/src/litellm/policy.test.ts +1 -1
  598. package/src/litellm/team-members.test.ts +1 -1
  599. package/src/litellm/team-read.test.ts +1 -1
  600. package/src/litellm/tool-policy.test.ts +1 -1
  601. package/src/litellm/toolset.test.ts +1 -1
  602. package/src/netbox/fake-netbox.ts +1 -1
  603. package/src/netbox/resource.ts +1 -1
  604. package/src/openbao/adopt-core.test.ts +4 -1
  605. package/src/openbao/adopt-families.test.ts +4 -1
  606. package/src/openbao/adopt-holes.test.ts +1 -1
  607. package/src/openbao/adopt-recovery.test.ts +24 -0
  608. package/src/openbao/approle-login.ts +2 -2
  609. package/src/openbao/auth-method-reconcile.ts +1 -1
  610. package/src/openbao/auth-method.ts +1 -1
  611. package/src/openbao/auth-role-sdk.test.ts +1 -1
  612. package/src/openbao/auth-role.ts +1 -1
  613. package/src/openbao/bao-http.test.ts +3 -3
  614. package/src/openbao/bao-http.ts +4 -4
  615. package/src/openbao/bao-identity.ts +2 -2
  616. package/src/openbao/cloudflare-permission-groups.ts +1 -1
  617. package/src/openbao/cloudflare-role-wire.ts +1 -1
  618. package/src/openbao/cloudflare-role.ts +1 -1
  619. package/src/openbao/distilled-retry.test.ts +3 -3
  620. package/src/openbao/distilled.test.ts +3 -3
  621. package/src/openbao/distilled.ts +2 -2
  622. package/src/openbao/fake-bao.ts +2 -2
  623. package/src/openbao/fake-core.ts +1 -1
  624. package/src/openbao/fake-engines.ts +1 -1
  625. package/src/openbao/fake-families.ts +1 -1
  626. package/src/openbao/fake-stack.ts +13 -3
  627. package/src/openbao/jwt-config.ts +1 -1
  628. package/src/openbao/jwt-role.ts +1 -1
  629. package/src/openbao/kubernetes-role.ts +1 -1
  630. package/src/openbao/mfa-enforcement.ts +1 -1
  631. package/src/openbao/mfa-totp.ts +1 -1
  632. package/src/openbao/mfa-wire.ts +1 -1
  633. package/src/openbao/mount-move.ts +1 -1
  634. package/src/openbao/mount-reconcile.ts +1 -1
  635. package/src/openbao/mount.ts +1 -1
  636. package/src/openbao/pki-role.ts +1 -1
  637. package/src/openbao/plugin-reconcile.ts +1 -1
  638. package/src/openbao/plugin-wire.ts +1 -1
  639. package/src/openbao/plugin.ts +1 -1
  640. package/src/openbao/policy.ts +1 -1
  641. package/src/openbao/proxmox-role.ts +1 -1
  642. package/src/openbao/remount-wire.ts +1 -1
  643. package/src/openbao/rename-occupied.test.ts +1 -1
  644. package/src/openbao/role-reconcile.ts +1 -1
  645. package/src/openbao/role-rename.test.ts +1 -1
  646. package/src/openbao/ssh-role.ts +1 -1
  647. package/src/opnsense/fake-opnsense.ts +1 -1
  648. package/src/opnsense/resource.ts +1 -1
  649. package/src/ownership/probe.ts +51 -2
  650. package/src/paperless/fake-paperless.ts +1 -1
  651. package/src/paperless/matching-types.ts +1 -1
  652. package/src/postgres/connection.ts +1 -1
  653. package/src/postgres/database-bigint-serialization.test.ts +1 -1
  654. package/src/postgres/database-sql.ts +1 -1
  655. package/src/postgres/database.ts +1 -1
  656. package/src/postgres/fake-grants-read.ts +1 -1
  657. package/src/postgres/fake-grants-sql.ts +1 -1
  658. package/src/postgres/fake-grants-write.ts +1 -1
  659. package/src/postgres/fake-role-sql.ts +1 -1
  660. package/src/postgres/fake-schema-drop.ts +1 -1
  661. package/src/postgres/fake-schema-sql.ts +1 -1
  662. package/src/postgres/fake-sql.ts +1 -1
  663. package/src/postgres/grants-existence.ts +1 -1
  664. package/src/postgres/grants-ops.ts +1 -1
  665. package/src/postgres/grants-ownership.ts +1 -1
  666. package/src/postgres/grants-read-defaults.ts +1 -1
  667. package/src/postgres/grants-read.ts +1 -1
  668. package/src/postgres/grants-relkind-wire.test.ts +6 -4
  669. package/src/postgres/installed-classifier.ts +1 -1
  670. package/src/postgres/psql-executor.ts +1 -6
  671. package/src/postgres/role-membership-sql.ts +1 -1
  672. package/src/postgres/role-password-transports.test.ts +2 -2
  673. package/src/postgres/role-sql.ts +1 -1
  674. package/src/postgres/role.ts +1 -1
  675. package/src/postgres/schema-assert.ts +1 -1
  676. package/src/postgres/schema-delete.ts +1 -1
  677. package/src/postgres/schema-drop-2bp01.test.ts +1 -1
  678. package/src/postgres/schema-drop-sql.ts +1 -1
  679. package/src/postgres/schema-drop.test.ts +1 -1
  680. package/src/postgres/schema-reconcile.ts +1 -1
  681. package/src/postgres/schema-socket.test.ts +1 -1
  682. package/src/postgres/schema-sql.ts +1 -1
  683. package/src/postgres/search-path.ts +1 -1
  684. package/src/proxmox/ceph-flag-wire.test.ts +1 -1
  685. package/src/proxmox/ceph-fs-destroy-sdk.test.ts +1 -1
  686. package/src/proxmox/ceph-pool-write.test.ts +1 -1
  687. package/src/proxmox/client.test.ts +2 -2
  688. package/src/proxmox/client.ts +2 -2
  689. package/src/proxmox/credentials.test.ts +1 -1
  690. package/src/proxmox/distilled-pbs.test.ts +1 -1
  691. package/src/proxmox/distilled-pbs.ts +1 -1
  692. package/src/proxmox/distilled-pve.test.ts +2 -2
  693. package/src/proxmox/distilled-pve.ts +1 -1
  694. package/src/proxmox/fake-pbs-jobs.ts +1 -1
  695. package/src/proxmox/fake-pve.ts +1 -1
  696. package/src/proxmox/lease-cache-mint.test.ts +1 -1
  697. package/src/proxmox/live-core-fixtures.ts +1 -1
  698. package/src/proxmox/lxc-distilled.test.ts +1 -1
  699. package/src/proxmox/lxc-harness.ts +1 -1
  700. package/src/proxmox/members-timeout.test.ts +3 -3
  701. package/src/proxmox/members.test.ts +1 -1
  702. package/src/proxmox/members.ts +4 -4
  703. package/src/proxmox/mint.ts +4 -4
  704. package/src/proxmox/node-network-read-failure.test.ts +1 -1
  705. package/src/proxmox/qemu-lifecycle.ts +1 -1
  706. package/src/proxmox/read-failure-propagation.test.ts +1 -1
  707. package/src/proxmox/resource-spec.ts +1 -1
  708. package/src/proxmox/storage-read-failure.test.ts +1 -1
  709. package/src/proxmox/typed-absence.test.ts +2 -2
  710. package/src/proxmox/unreadable-read.test.ts +1 -1
  711. package/src/proxmox/user.test.ts +1 -1
  712. package/src/proxmox/zfs-pool-read-failure.test.ts +1 -1
  713. package/src/release/adopt-parity.test.ts +3 -1
  714. package/src/release/apply-pins.test.ts +2 -2
  715. package/src/release/binary-root.test.ts +2 -2
  716. package/src/release/binary.ts +9 -2
  717. package/src/release/download.test.ts +3 -3
  718. package/src/release/download.ts +1 -1
  719. package/src/release/fake-deploy.ts +2 -2
  720. package/src/release/fake-engine.ts +2 -2
  721. package/src/release/fake-provider.ts +2 -2
  722. package/src/release/plan.test.ts +2 -2
  723. package/src/release/providers.ts +1 -1
  724. package/src/talos/credentials-write.test.ts +1 -1
  725. package/src/talos/credentials-write.ts +2 -2
  726. package/src/talos/credentials.test.ts +1 -1
  727. package/src/talos/credentials.ts +2 -2
  728. package/src/talos/fake-process.ts +2 -2
  729. package/src/talos/kubeconfig.test.ts +1 -1
  730. package/src/talos/machine-config-fixtures.ts +1 -1
  731. package/src/talos/resource.ts +1 -1
  732. package/src/talos/talos-bootstrap.test.ts +1 -1
  733. package/src/talos/talos-cluster-health.test.ts +1 -1
  734. package/src/talos/talosctl.ts +2 -2
  735. package/src/telemetry/http-client-sealing.test.ts +2 -2
  736. package/src/telemetry/layer.test.ts +3 -3
  737. package/src/telemetry/layer.ts +2 -2
  738. package/src/telemetry/redact-serialization.ts +2 -2
  739. package/src/unifi/fake-unifi.ts +1 -1
  740. package/src/unifi/get-only-guard.test.ts +3 -3
  741. package/src/unifi/resource.ts +1 -1
  742. package/src/verify/args.ts +1 -1
@@ -3,8 +3,8 @@
3
3
  "sources": ["../src/caddy/access-forward-auth.ts", "../src/caddy/admin.ts", "../src/caddy/caddy-http-client.ts", "../src/caddy/config.ts", "../src/launchd/host-effect.ts", "../src/ownership/adopt.ts", "../src/ownership/resume.ts", "../src/ownership/rows.ts", "../src/ownership/whole.ts", "../src/caddy/config-lifecycle.ts", "../src/caddy/admin-calls.ts", "../src/caddy/admin-guard.ts", "../src/caddy/config-errors.ts", "../src/launchd/secret-tripwire.ts", "../src/caddy/caddyfile-tripwire.ts", "../src/caddy/config-form.ts", "../src/launchd/job-form.ts", "../src/launchd/plist.ts", "../src/caddy/digest.ts", "../src/caddy/config-reconcile.ts", "../src/caddy/format-warnings.ts", "../src/caddy/format.ts", "../src/caddy/local-admin.ts", "../src/caddy/admin-address.ts", "../src/caddy/providers.ts", "../src/caddy/with-file.ts", "../src/launchd/host-file.ts", "../src/launchd/file-identity.ts", "../src/launchd/runner.ts", "../src/launchd/file-converge.ts", "../src/launchd/host-file-form.ts", "../src/launchd/host-file-lifecycle.ts"],
4
4
  "sourcesContent": [
5
5
  "/**\n * The Caddyfile half of \"protect this route with Cloudflare Access\": a `forward_auth` block\n * pointing at a verifier that speaks the contract in `@homeflare/cloudflare/access-auth`.\n *\n * ★ A BUILDER, NOT A RESOURCE. Nothing here is created, adopted or destroyed — it is Caddyfile\n * TEXT that a caller drops into the `caddyfile` prop of a `CaddyConfig` / `caddyWithFile()`.\n * A resource would own a fragment of a config that `CaddyConfig` already owns whole, and two\n * owners of one file is the drift this package exists to prevent.\n *\n * ⛔ WHY IT IS GENERATED RATHER THAN COPY-PASTED. Every field below is load-bearing, and the\n * failure mode of getting one wrong is a route that looks protected and is not:\n * · a missing `copy_headers` — the upstream gets no identity and either breaks or, worse,\n * falls back to trusting a header the CLIENT set;\n * · the verifier on anything but loopback — the JWT check becomes advisory, because the\n * verifier itself can be reached and answered around;\n * · `uri` pointing at a path the verifier does not route — every request 404s, which is\n * non-2xx, which Caddy correctly treats as a denial, so the symptom is \"Access is broken\".\n */\n\n/** ⚠️ Kept in step with `granted()` in @homeflare/cloudflare/access-auth. */\nconst DEFAULT_COPY_HEADERS = ['X-Access-Email', 'X-Access-Sub'] as const;\n\nexport interface AccessForwardAuthProps {\n /**\n * Where the verifier listens, e.g. `127.0.0.1:9101`.\n * ⛔ LOOPBACK OR A UNIX SOCKET. See `verifierProblems` — a routable verifier is not a check.\n */\n readonly verifier: string;\n /** The path the verifier answers on. @default '/access/verify' */\n readonly uri?: string;\n /**\n * Response headers copied from the verifier onto the upstream request.\n * @default ['X-Access-Email', 'X-Access-Sub']\n */\n readonly copyHeaders?: readonly string[];\n /** Lines placed inside the route BEFORE `forward_auth` — typically the upstream. */\n readonly body?: readonly string[];\n /** Indent applied to every emitted line. @default '\\t' */\n readonly indent?: string;\n}\n\n/**\n * Problems that make a `forward_auth` block unsafe rather than merely wrong.\n *\n * ⛔ THE LOOPBACK RULE IS THE IMPORTANT ONE. If the verifier answers on a routable address, an\n * attacker reaches the UPSTREAM directly and never involves Caddy at all — or reaches the\n * verifier and reads identities out of it. The whole design assumes both the verifier and the\n * upstream are bound to loopback and that Caddy is the only way in.\n */\nconst LOOPBACK = new Set(['127.0.0.1', 'localhost', '::1', '[::1]']);\n\n/**\n * The host part of a Caddy upstream address.\n *\n * ⚠️ NOT `split(':')[0]`. That returns `'['` for `[::1]:9101`, so an IPv6 loopback verifier\n * was rejected as routable — caught by the test below, not by reading the code.\n */\nconst hostOf = (verifier: string): string => {\n const address = verifier.replace(/^https?:\\/\\//, '');\n if (address.startsWith('unix/')) return 'unix';\n\n // Bracketed IPv6 keeps its brackets; the port is whatever follows the closing one.\n if (address.startsWith('[')) return address.slice(0, address.indexOf(']') + 1);\n\n const colon = address.indexOf(':');\n return colon === -1 ? address : address.slice(0, colon);\n};\n\nexport const verifierProblems = (verifier: string): string[] => {\n const found: string[] = [];\n const host = hostOf(verifier.trim());\n\n if (verifier.trim() === '') found.push('verifier is empty');\n else if (host !== 'unix' && !LOOPBACK.has(host)) {\n found.push(\n `verifier must be loopback or a unix socket, got ${verifier} — a routable verifier can be bypassed`,\n );\n }\n return found;\n};\n\n/**\n * Render the `forward_auth` block for one protected route.\n *\n * ```ts\n * const caddyfile = `vnc.example.com {\n * ${accessForwardAuth({ verifier: '127.0.0.1:9101', body: ['reverse_proxy 127.0.0.1:6080'] })}\n * }\n * `;\n * ```\n *\n * ⛔ ONE VERIFIER ENDPOINT PER ACCESS APPLICATION. The AUD is fixed in the verifier's own config,\n * never carried in this request — so two applications mean two `uri`s (or two verifiers), not\n * one endpoint told which app to check. An AUD the request can influence is the vulnerability.\n *\n * ⚠️ `forward_auth` COPIES THE VERIFIER'S RESPONSE BACK TO THE CLIENT on any non-2xx, which is why\n * the verifier answers a bare 401 with no body: whatever it returns is what the browser sees.\n */\nexport const accessForwardAuth = (props: AccessForwardAuthProps): string => {\n const problems = verifierProblems(props.verifier);\n if (problems.length > 0) throw new Error(`accessForwardAuth: ${problems.join('; ')}`);\n\n const indent = props.indent ?? '\\t';\n const uri = props.uri ?? '/access/verify';\n const headers = props.copyHeaders ?? DEFAULT_COPY_HEADERS;\n\n const lines = [\n ...(props.body ?? []),\n `forward_auth ${props.verifier} {`,\n `${indent}uri ${uri}`,\n // ⚠️ `copy_headers` with a block, one field per line: the single-line form is also valid but\n // diffs badly, and this list is exactly where a security review needs to read a change.\n `${indent}copy_headers {`,\n ...headers.map((header) => `${indent}${indent}${header}`),\n `${indent}}`,\n '}',\n ];\n\n return lines.map((line) => `${indent}${line}`).join('\\n');\n};\n",
6
- "/**\n * The one seam between the Caddy provider and a running Caddy: every operation goes through\n * `@distilled.cloud/caddy`'s typed `Services.admin.*` calls (admin-calls.ts), over the\n * `CaddyAdminService` metadata and the `Credentials` + `HttpClient` layers `localCaddyAdmin()`\n * builds (local-admin.ts) — nothing in this directory reaches Caddy any other way.\n *\n * ★ CADDY's OWN MANAGEMENT API, NOT A FILE AND A SIGNAL. Decision 23 (vault consolidation plan,\n * 2026-09-21): `POST /load` applies a Caddyfile with a graceful reload and rolls back a config\n * Caddy refuses; `GET /config/` reports what is running. Read in caddyserver/caddy v2.11.4,\n * caddyconfig/load.go and admin.go, and in the API docs (caddyserver.com/docs/api).\n * ★ `CaddyAdminService` CARRIES ONLY MESSAGE/GUARD METADATA (endpoint, listener) — never a\n * credential, and never the transport itself. The transport is `@distilled.cloud/caddy`'s own\n * `Credentials` and `HttpClient.HttpClient` services — admin-calls.ts calls the SDK's operations\n * directly rather than through a house-specific `.request()` seam. A consumer plugs in another\n * route to the API (an SSH-forwarded socket today; a remote runner later) by providing a different\n * `CaddyTransport` to `caddyAdminLayer`.\n * ⛔ THE ADMIN API HAS NO AUTHENTICATION. Anyone who reaches it can replace every site. It stays on\n * loopback or a unix socket; localCaddyAdmin() refuses anything else (local-admin.ts).\n * ⛔ `caddyAdminLayer`'s OWN OUTPUT NEVER CARRIES `Credentials`/`HttpClient.HttpClient` DIRECTLY —\n * MEASURED 2026-09-26: it used to (`Layer.mergeAll(CaddyAdminService-layer, transport.layer)`,\n * what `caddyProviders()` then `provideMerge`d into a stack), and a stack that applies its own\n * ambient client OUTSIDE the providers' merge — `Layer.mergeAll(providers…).pipe(Layer.provide\n * (ambient))`, the shape `argocd`/`discord`/`opnsense`/`unifi`'s own `providers.ts` document —\n * never got it back: `Layer.provide(A, B)`'s result outputs only `A`'s own services, so once `A`\n * (the merged providers) already carries `HttpClient.HttpClient` from Caddy, no outer `B` overrides\n * it. Every OTHER fetch-based provider merged alongside `caddyProviders()` (homeflare-mini's\n * Forgejo, LiteLLM) then dialled Caddy's admin API instead of its own target — reproduced in\n * admin-transport-scope.test.ts. `caddyAdminLayer` now stores `transport.layer` itself as a plain\n * VALUE, under `CaddyAdminTransport` — a house-only tag nothing outside caddy/ ever reads — and\n * config.ts is the one place that `Effect.provide`s it, scoped to exactly the effects that call\n * `@distilled.cloud/caddy`'s operations.\n */\nimport type * as HttpClient from 'effect/unstable/http/HttpClient';\nimport * as Context from 'effect/Context';\nimport * as Layer from 'effect/Layer';\nimport type { Credentials } from '@distilled.cloud/caddy';\n\n/**\n * Where the admin listener is, in the terms Caddy's own `admin` option uses — so a Caddyfile that\n * would move the listener away from where the provider talks to it can be refused (admin-guard.ts).\n */\nexport type CaddyAdminListener =\n | { readonly kind: 'tcp'; readonly hostHeader: string; readonly port: number }\n | { readonly kind: 'unix'; readonly path: string };\n\n/** Message/guard metadata for the Caddy this stack talks to — never a credential. */\nexport interface CaddyTarget {\n /** Where requests go, for error messages and the resource's attributes. */\n readonly endpoint: string;\n /**\n * The listener as Caddy sees it. `hostHeader` is the Host every request carries: Caddy checks it\n * against `admin.origins` (admin.go checkHost) on any loopback TCP listener.\n */\n readonly listener: CaddyAdminListener;\n}\n\n/** What `localCaddyAdmin()` (or a consumer's own transport) hands `caddyAdminLayer`. */\nexport interface CaddyTransport extends CaddyTarget {\n /**\n * Provides the SDK's own `Credentials` and `HttpClient.HttpClient` — see local-admin.ts.\n * ⚠️ BUILT AND TORN DOWN ON EVERY `read`/`diff`/`reconcile` CALL — config.ts's `Effect.provide\n * (transportLayer)` runs fresh each time, scoped to that one call (the scoping fix this file's\n * own ⛔ documents). `localCaddyAdmin()`'s layer is three plain `Layer.succeed` values, so this\n * costs nothing; a transport that opens something stateful (an SSH forward, a connection pool)\n * would open and close it per call instead of once per stack. No such transport exists in the\n * tray today (2026-09-26) — keep `layer` cheap and stateless, or build once and hand config.ts a\n * pre-built `Context` instead, if that changes.\n */\n readonly layer: Layer.Layer<Credentials | HttpClient.HttpClient>;\n}\n\n/** The Effect service the Caddy provider reads its admin target's metadata from. */\nexport class CaddyAdminService extends Context.Service<CaddyAdminService, CaddyTarget>()(\n 'homeflare/caddy/CaddyAdmin',\n) {}\n\n/**\n * `transport.layer` ITSELF, carried as a plain value rather than merged into the ambient context —\n * the scoping fix (see the file header's ⛔). Only config.ts reads this tag, and only to\n * `Effect.provide` it locally around the handful of effects that actually call\n * `@distilled.cloud/caddy`'s operations; nothing else in this directory, and nothing outside it,\n * has a reason to.\n */\nexport class CaddyAdminTransport extends Context.Service<\n CaddyAdminTransport,\n Layer.Layer<Credentials | HttpClient.HttpClient>\n>()('homeflare/caddy/CaddyAdminTransport') {}\n\n/**\n * Provide a transport to the provider: `CaddyConfigProvider().pipe(Layer.provideMerge(caddyAdminLayer(localCaddyAdmin())))`\n * — never plain `Layer.provide` here (see providers.ts's own ⚠️): `CaddyConfigProvider()`'s handlers\n * keep needing `CaddyAdminService`/`CaddyAdminTransport` every time the engine calls them, not just\n * once while it is built. Neither tag is a generic platform service, so merging them into a stack's\n * ambient context (unlike the raw `Credentials`/`HttpClient.HttpClient` this used to carry — the\n * file header's ⛔) is safe: nothing outside this directory looks either up.\n */\nexport const caddyAdminLayer = (\n transport: CaddyTransport,\n): Layer.Layer<CaddyAdminService | CaddyAdminTransport> =>\n Layer.mergeAll(\n Layer.succeed(CaddyAdminService, {\n endpoint: transport.endpoint,\n listener: transport.listener,\n }),\n Layer.succeed(CaddyAdminTransport, transport.layer),\n );\n",
7
- "/**\n * An Effect `HttpClient.HttpClient` over `node:http`, dialling a unix socket or loopback TCP\n * directly — the SDK's own transport layer for `@distilled.cloud/caddy`'s typed operations.\n *\n * ★ node:http, NOT `effect/unstable/http/FetchHttpClient`. MEASURED 2026-09-21 on bun 1.4.0 and\n * node 26.7.0 (local-admin.ts's history): node:http dials a unix socket on BOTH runtimes, while\n * node's fetch has no `unix` option at all (only Bun's does) — `@effect/platform-node`'s own\n * `FetchHttpClient`/`NodeHttpClient.makeNodeHttp` (node:http, but URL-only — no `socketPath` seam)\n * cannot speak a unix socket either. The published dist loads under node too (launchd's\n * local-runner.ts makes the same call for the same reason), so this stays runtime-agnostic.\n * ★ A CONNECTION NOTHING ACCEPTED IS RETRIED; ONE CADDY ALREADY SAW IS NEVER RE-SENT. Only\n * `ECONNREFUSED` (nothing listening) and `ENOENT` (no unix socket file yet) mean the request\n * never reached Caddy — a launchd job bootstrapped a moment ago. Anything else (a reset, a\n * timeout) may have reached Caddy, so `POST /load` is never resent for it: `isUnreachable`\n * (local-admin.ts) is what tells `Caddy.Config`'s plan-time read to proceed without Caddy instead\n * of failing the whole plan (config.ts's `planWithoutCaddy`).\n */\nimport * as http from 'node:http';\nimport { Readable } from 'node:stream';\nimport * as Duration from 'effect/Duration';\nimport * as Effect from 'effect/Effect';\nimport * as Layer from 'effect/Layer';\nimport * as Result from 'effect/Result';\nimport * as HttpClient from 'effect/unstable/http/HttpClient';\nimport * as HttpClientError from 'effect/unstable/http/HttpClientError';\nimport type * as HttpClientRequest from 'effect/unstable/http/HttpClientRequest';\nimport * as HttpClientResponse from 'effect/unstable/http/HttpClientResponse';\nimport type { Target } from './admin-address.ts';\n\nexport type LocalHttpClientOptions = {\n /**\n * Abort an exchange after this long. @default 60_000\n * ⚠️ A `shutdown_delay` in the Caddyfile makes `/load` block that long (caddyhttp app.go Stop);\n * a timeout then fails the deploy while Caddy goes on to apply — the next plan converges.\n */\n readonly timeoutMs?: number;\n /** Retries when the connection is REFUSED — see the module doc. @default 2 */\n readonly retries?: number;\n /** @default 500 */\n readonly retryDelayMs?: number;\n};\n\nconst NEVER_CONNECTED = new Set(['ECONNREFUSED', 'ENOENT']);\n\nconst codeOf = (cause: unknown): string | undefined =>\n typeof cause === 'object' && cause !== null && 'code' in cause\n ? String((cause as { code: unknown }).code)\n : undefined;\n\n/**\n * Nothing accepted the connection — see the module doc's ★. A type guard, not just a predicate, so\n * config-lifecycle.ts's error-wrapping can pass through the raw error unchanged (still typed) and\n * config.ts's plan-time escape hatch (`Effect.catchIf`) narrows to it directly.\n */\nexport const isUnreachable = (error: unknown): error is HttpClientError.HttpClientError =>\n error instanceof HttpClientError.HttpClientError &&\n error.reason._tag === 'TransportError' &&\n NEVER_CONNECTED.has(codeOf(error.reason.cause) ?? '');\n\nconst transportFailure = (request: HttpClientRequest.HttpClientRequest, cause: unknown) =>\n new HttpClientError.HttpClientError({\n reason: new HttpClientError.TransportError({ request, cause }),\n });\n\n/** Node's response headers (string | string[] | undefined) → the single-valued form Web `Response` wants. Caddy never repeats a header this transport reads. */\nconst flattenHeaders = (headers: http.IncomingHttpHeaders): Record<string, string> => {\n const flat: Record<string, string> = {};\n for (const [key, value] of Object.entries(headers)) {\n if (value !== undefined) flat[key] = Array.isArray(value) ? value.join(', ') : value;\n }\n return flat;\n};\n\nconst waitForResponse = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n) =>\n Effect.callback<http.IncomingMessage, HttpClientError.HttpClientError>((resume) => {\n const onError = (cause: Error): void => {\n resume(Effect.fail(transportFailure(request, cause)));\n };\n nodeRequest.on('error', onError);\n const onResponse = (response: http.IncomingMessage): void => {\n nodeRequest.off('error', onError);\n resume(Effect.succeed(response));\n };\n nodeRequest.on('response', onResponse);\n return Effect.sync(() => {\n nodeRequest.off('error', onError);\n nodeRequest.off('response', onResponse);\n });\n });\n\nconst waitForFinish = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n) =>\n Effect.callback<void, HttpClientError.HttpClientError>((resume) => {\n const onError = (cause: Error): void => {\n resume(Effect.fail(transportFailure(request, cause)));\n };\n nodeRequest.once('error', onError);\n const onFinish = (): void => {\n nodeRequest.off('error', onError);\n resume(Effect.void);\n };\n nodeRequest.once('finish', onFinish);\n return Effect.sync(() => {\n nodeRequest.off('error', onError);\n nodeRequest.off('finish', onFinish);\n });\n });\n\n/**\n * Every Caddy operation's request body is `Empty` (GET/DELETE/`/stop`) or a `Uint8Array` — the\n * `T.HttpBody()`/JSON-body cascade never produces `Raw`, `FormData` or `Stream` for this SDK\n * (protocol.ts). A typed refusal, not a defect (S20), for a body shape that would mean the SDK grew\n * an operation this transport was never taught to send.\n */\nconst sendBody = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n): Effect.Effect<void, HttpClientError.HttpClientError> =>\n Effect.suspend(() => {\n const body = request.body;\n if (body._tag === 'Empty') {\n nodeRequest.end();\n return waitForFinish(nodeRequest, request);\n }\n if (body._tag === 'Uint8Array') {\n // ⚠️ `body.contentLength` is never nullish, so `?? body.body.byteLength` reads as dead code\n // to TypeScript's `??` narrowing — which then (a real quirk, not a defect here) infers\n // `body` itself as `never` on that unreachable side. Two plain statements instead.\n nodeRequest.setHeader('content-length', body.contentLength);\n nodeRequest.end(body.body);\n return waitForFinish(nodeRequest, request);\n }\n return Effect.fail(\n new HttpClientError.HttpClientError({\n reason: new HttpClientError.EncodeError({\n request,\n description: `Caddy admin transport: unsupported request body \"${body._tag}\" — every Caddy operation sends Empty or a Uint8Array body`,\n }),\n }),\n );\n });\n\nconst toWebResponse = (source: http.IncomingMessage): Response =>\n new Response(Readable.toWeb(source) as unknown as ReadableStream, {\n headers: flattenHeaders(source.headers),\n status: source.statusCode ?? 0,\n });\n\nconst exchangeOnce = (\n target: Target,\n request: HttpClientRequest.HttpClientRequest,\n url: URL,\n signal: AbortSignal,\n timeoutMs: number,\n): Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError> =>\n Effect.suspend(() => {\n const nodeRequest = http.request({\n headers: request.headers,\n method: request.method,\n path: `${url.pathname}${url.search}`,\n signal,\n timeout: timeoutMs,\n ...(target.kind === 'unix'\n ? { socketPath: target.socketPath }\n : { host: target.host, port: target.port }),\n });\n // node:http's own inactivity timeout — a hang (e.g. a `shutdown_delay` blocking `/load`, see\n // the module doc) destroys the request, which then surfaces through the same 'error' handler\n // `waitForResponse`/`waitForFinish` already listen on.\n nodeRequest.on('timeout', () => {\n nodeRequest.destroy(new Error(`no answer in ${String(timeoutMs)} ms`));\n });\n return Effect.raceFirst(\n waitForResponse(nodeRequest, request),\n sendBody(nodeRequest, request).pipe(Effect.andThen(Effect.never)),\n ).pipe(\n Effect.onError(() => Effect.sync(() => nodeRequest.destroy())),\n Effect.map((source) => HttpClientResponse.fromWeb(request, toWebResponse(source))),\n );\n });\n\n/**\n * Retry ONLY a connection nothing accepted, up to `retries` times, spaced `retryDelayMs` apart —\n * a plain loop over `Effect.result`, not `Effect.retry`'s `{schedule, times, while}` options\n * object. MEASURED 2026-09-23: with a `Schedule` given alongside `times`/`while`, that combined\n * form retried an ECONNRESET past both — `while` kept correctly returning `false` every attempt,\n * logged and confirmed, yet the schedule's own unbounded `spaced` kept driving retries anyway. A\n * loop leaves no such ambiguity: the SAME `isUnreachable` check that would gate `while` here gates\n * every iteration directly, one attempt at a time.\n */\nconst withUnreachableRetry = (\n attempt: Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError>,\n retries: number,\n retryDelayMs: number,\n): Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError> =>\n Effect.gen(function* () {\n let attemptsLeft = retries;\n for (;;) {\n const outcome = yield* Effect.result(attempt);\n if (Result.isSuccess(outcome)) return outcome.success;\n if (attemptsLeft <= 0 || !isUnreachable(outcome.failure)) {\n return yield* Effect.fail(outcome.failure);\n }\n attemptsLeft -= 1;\n yield* Effect.sleep(Duration.millis(retryDelayMs));\n }\n });\n\n/** The transport `localCaddyAdmin()` provides as `HttpClient.HttpClient` — see local-admin.ts. */\nexport const makeLocalHttpClient = (\n target: Target,\n options: LocalHttpClientOptions = {},\n): Layer.Layer<HttpClient.HttpClient> => {\n const timeoutMs = options.timeoutMs ?? 60_000;\n const retries = options.retries ?? 2;\n const retryDelayMs = options.retryDelayMs ?? 500;\n return Layer.succeed(\n HttpClient.HttpClient,\n HttpClient.make((request, url, signal) => {\n const attempt = exchangeOnce(target, request, url, signal, timeoutMs);\n return retries <= 0 ? attempt : withUnreachableRetry(attempt, retries, retryDelayMs);\n }),\n );\n};\n",
6
+ "/**\n * The one seam between the Caddy provider and a running Caddy: every operation goes through\n * `@distilled.cloud/caddy`'s typed `Services.admin.*` calls (admin-calls.ts), over the\n * `CaddyAdminService` metadata and the `Credentials` + `HttpClient` layers `localCaddyAdmin()`\n * builds (local-admin.ts) — nothing in this directory reaches Caddy any other way.\n *\n * ★ CADDY's OWN MANAGEMENT API, NOT A FILE AND A SIGNAL. Decision 23 (vault consolidation plan,\n * 2026-09-21): `POST /load` applies a Caddyfile with a graceful reload and rolls back a config\n * Caddy refuses; `GET /config/` reports what is running. Read in caddyserver/caddy v2.11.4,\n * caddyconfig/load.go and admin.go, and in the API docs (caddyserver.com/docs/api).\n * ★ `CaddyAdminService` CARRIES ONLY MESSAGE/GUARD METADATA (endpoint, listener) — never a\n * credential, and never the transport itself. The transport is `@distilled.cloud/caddy`'s own\n * `Credentials` and `HttpClient.HttpClient` services — admin-calls.ts calls the SDK's operations\n * directly rather than through a house-specific `.request()` seam. A consumer plugs in another\n * route to the API (an SSH-forwarded socket today; a remote runner later) by providing a different\n * `CaddyTransport` to `caddyAdminLayer`.\n * ⛔ THE ADMIN API HAS NO AUTHENTICATION. Anyone who reaches it can replace every site. It stays on\n * loopback or a unix socket; localCaddyAdmin() refuses anything else (local-admin.ts).\n * ⛔ `caddyAdminLayer`'s OWN OUTPUT NEVER CARRIES `Credentials`/`HttpClient.HttpClient` DIRECTLY —\n * MEASURED 2026-09-26: it used to (`Layer.mergeAll(CaddyAdminService-layer, transport.layer)`,\n * what `caddyProviders()` then `provideMerge`d into a stack), and a stack that applies its own\n * ambient client OUTSIDE the providers' merge — `Layer.mergeAll(providers…).pipe(Layer.provide\n * (ambient))`, the shape `argocd`/`discord`/`opnsense`/`unifi`'s own `providers.ts` document —\n * never got it back: `Layer.provide(A, B)`'s result outputs only `A`'s own services, so once `A`\n * (the merged providers) already carries `HttpClient.HttpClient` from Caddy, no outer `B` overrides\n * it. Every OTHER fetch-based provider merged alongside `caddyProviders()` (homeflare-mini's\n * Forgejo, LiteLLM) then dialled Caddy's admin API instead of its own target — reproduced in\n * admin-transport-scope.test.ts. `caddyAdminLayer` now stores `transport.layer` itself as a plain\n * VALUE, under `CaddyAdminTransport` — a house-only tag nothing outside caddy/ ever reads — and\n * config.ts is the one place that `Effect.provide`s it, scoped to exactly the effects that call\n * `@distilled.cloud/caddy`'s operations.\n */\nimport type * as HttpClient from 'effect/http/HttpClient';\nimport * as Context from 'effect/Context';\nimport * as Layer from 'effect/Layer';\nimport type { Credentials } from '@distilled.cloud/caddy';\n\n/**\n * Where the admin listener is, in the terms Caddy's own `admin` option uses — so a Caddyfile that\n * would move the listener away from where the provider talks to it can be refused (admin-guard.ts).\n */\nexport type CaddyAdminListener =\n | { readonly kind: 'tcp'; readonly hostHeader: string; readonly port: number }\n | { readonly kind: 'unix'; readonly path: string };\n\n/** Message/guard metadata for the Caddy this stack talks to — never a credential. */\nexport interface CaddyTarget {\n /** Where requests go, for error messages and the resource's attributes. */\n readonly endpoint: string;\n /**\n * The listener as Caddy sees it. `hostHeader` is the Host every request carries: Caddy checks it\n * against `admin.origins` (admin.go checkHost) on any loopback TCP listener.\n */\n readonly listener: CaddyAdminListener;\n}\n\n/** What `localCaddyAdmin()` (or a consumer's own transport) hands `caddyAdminLayer`. */\nexport interface CaddyTransport extends CaddyTarget {\n /**\n * Provides the SDK's own `Credentials` and `HttpClient.HttpClient` — see local-admin.ts.\n * ⚠️ BUILT AND TORN DOWN ON EVERY `read`/`diff`/`reconcile` CALL — config.ts's `Effect.provide\n * (transportLayer)` runs fresh each time, scoped to that one call (the scoping fix this file's\n * own ⛔ documents). `localCaddyAdmin()`'s layer is three plain `Layer.succeed` values, so this\n * costs nothing; a transport that opens something stateful (an SSH forward, a connection pool)\n * would open and close it per call instead of once per stack. No such transport exists in the\n * tray today (2026-09-26) — keep `layer` cheap and stateless, or build once and hand config.ts a\n * pre-built `Context` instead, if that changes.\n */\n readonly layer: Layer.Layer<Credentials | HttpClient.HttpClient>;\n}\n\n/** The Effect service the Caddy provider reads its admin target's metadata from. */\nexport class CaddyAdminService extends Context.Service<CaddyAdminService, CaddyTarget>()(\n 'homeflare/caddy/CaddyAdmin',\n) {}\n\n/**\n * `transport.layer` ITSELF, carried as a plain value rather than merged into the ambient context —\n * the scoping fix (see the file header's ⛔). Only config.ts reads this tag, and only to\n * `Effect.provide` it locally around the handful of effects that actually call\n * `@distilled.cloud/caddy`'s operations; nothing else in this directory, and nothing outside it,\n * has a reason to.\n */\nexport class CaddyAdminTransport extends Context.Service<\n CaddyAdminTransport,\n Layer.Layer<Credentials | HttpClient.HttpClient>\n>()('homeflare/caddy/CaddyAdminTransport') {}\n\n/**\n * Provide a transport to the provider: `CaddyConfigProvider().pipe(Layer.provideMerge(caddyAdminLayer(localCaddyAdmin())))`\n * — never plain `Layer.provide` here (see providers.ts's own ⚠️): `CaddyConfigProvider()`'s handlers\n * keep needing `CaddyAdminService`/`CaddyAdminTransport` every time the engine calls them, not just\n * once while it is built. Neither tag is a generic platform service, so merging them into a stack's\n * ambient context (unlike the raw `Credentials`/`HttpClient.HttpClient` this used to carry — the\n * file header's ⛔) is safe: nothing outside this directory looks either up.\n */\nexport const caddyAdminLayer = (\n transport: CaddyTransport,\n): Layer.Layer<CaddyAdminService | CaddyAdminTransport> =>\n Layer.mergeAll(\n Layer.succeed(CaddyAdminService, {\n endpoint: transport.endpoint,\n listener: transport.listener,\n }),\n Layer.succeed(CaddyAdminTransport, transport.layer),\n );\n",
7
+ "/**\n * An Effect `HttpClient.HttpClient` over `node:http`, dialling a unix socket or loopback TCP\n * directly — the SDK's own transport layer for `@distilled.cloud/caddy`'s typed operations.\n *\n * ★ node:http, NOT `effect/http/FetchHttpClient`. MEASURED 2026-09-21 on bun 1.4.0 and\n * node 26.7.0 (local-admin.ts's history): node:http dials a unix socket on BOTH runtimes, while\n * node's fetch has no `unix` option at all (only Bun's does) — `@effect/platform-node`'s own\n * `FetchHttpClient`/`NodeHttpClient.makeNodeHttp` (node:http, but URL-only — no `socketPath` seam)\n * cannot speak a unix socket either. The published dist loads under node too (launchd's\n * local-runner.ts makes the same call for the same reason), so this stays runtime-agnostic.\n * ★ A CONNECTION NOTHING ACCEPTED IS RETRIED; ONE CADDY ALREADY SAW IS NEVER RE-SENT. Only\n * `ECONNREFUSED` (nothing listening) and `ENOENT` (no unix socket file yet) mean the request\n * never reached Caddy — a launchd job bootstrapped a moment ago. Anything else (a reset, a\n * timeout) may have reached Caddy, so `POST /load` is never resent for it: `isUnreachable`\n * (local-admin.ts) is what tells `Caddy.Config`'s plan-time read to proceed without Caddy instead\n * of failing the whole plan (config.ts's `planWithoutCaddy`).\n */\nimport * as http from 'node:http';\nimport { Readable } from 'node:stream';\nimport * as Duration from 'effect/Duration';\nimport * as Effect from 'effect/Effect';\nimport * as Layer from 'effect/Layer';\nimport * as Result from 'effect/Result';\nimport * as HttpClient from 'effect/http/HttpClient';\nimport * as HttpClientError from 'effect/http/HttpClientError';\nimport type * as HttpClientRequest from 'effect/http/HttpClientRequest';\nimport * as HttpClientResponse from 'effect/http/HttpClientResponse';\nimport type { Target } from './admin-address.ts';\n\nexport type LocalHttpClientOptions = {\n /**\n * Abort an exchange after this long. @default 60_000\n * ⚠️ A `shutdown_delay` in the Caddyfile makes `/load` block that long (caddyhttp app.go Stop);\n * a timeout then fails the deploy while Caddy goes on to apply — the next plan converges.\n */\n readonly timeoutMs?: number;\n /** Retries when the connection is REFUSED — see the module doc. @default 2 */\n readonly retries?: number;\n /** @default 500 */\n readonly retryDelayMs?: number;\n};\n\nconst NEVER_CONNECTED = new Set(['ECONNREFUSED', 'ENOENT']);\n\nconst codeOf = (cause: unknown): string | undefined =>\n typeof cause === 'object' && cause !== null && 'code' in cause\n ? String((cause as { code: unknown }).code)\n : undefined;\n\n/**\n * Nothing accepted the connection — see the module doc's ★. A type guard, not just a predicate, so\n * config-lifecycle.ts's error-wrapping can pass through the raw error unchanged (still typed) and\n * config.ts's plan-time escape hatch (`Effect.catchIf`) narrows to it directly.\n */\nexport const isUnreachable = (error: unknown): error is HttpClientError.HttpClientError =>\n error instanceof HttpClientError.HttpClientError &&\n error.reason._tag === 'TransportError' &&\n NEVER_CONNECTED.has(codeOf(error.reason.cause) ?? '');\n\nconst transportFailure = (request: HttpClientRequest.HttpClientRequest, cause: unknown) =>\n new HttpClientError.HttpClientError({\n reason: new HttpClientError.TransportError({ request, cause }),\n });\n\n/** Node's response headers (string | string[] | undefined) → the single-valued form Web `Response` wants. Caddy never repeats a header this transport reads. */\nconst flattenHeaders = (headers: http.IncomingHttpHeaders): Record<string, string> => {\n const flat: Record<string, string> = {};\n for (const [key, value] of Object.entries(headers)) {\n if (value !== undefined) flat[key] = Array.isArray(value) ? value.join(', ') : value;\n }\n return flat;\n};\n\nconst waitForResponse = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n) =>\n Effect.callback<http.IncomingMessage, HttpClientError.HttpClientError>((resume) => {\n const onError = (cause: Error): void => {\n resume(Effect.fail(transportFailure(request, cause)));\n };\n nodeRequest.on('error', onError);\n const onResponse = (response: http.IncomingMessage): void => {\n nodeRequest.off('error', onError);\n resume(Effect.succeed(response));\n };\n nodeRequest.on('response', onResponse);\n return Effect.sync(() => {\n nodeRequest.off('error', onError);\n nodeRequest.off('response', onResponse);\n });\n });\n\nconst waitForFinish = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n) =>\n Effect.callback<void, HttpClientError.HttpClientError>((resume) => {\n const onError = (cause: Error): void => {\n resume(Effect.fail(transportFailure(request, cause)));\n };\n nodeRequest.once('error', onError);\n const onFinish = (): void => {\n nodeRequest.off('error', onError);\n resume(Effect.void);\n };\n nodeRequest.once('finish', onFinish);\n return Effect.sync(() => {\n nodeRequest.off('error', onError);\n nodeRequest.off('finish', onFinish);\n });\n });\n\n/**\n * Every Caddy operation's request body is `Empty` (GET/DELETE/`/stop`) or a `Uint8Array` — the\n * `T.HttpBody()`/JSON-body cascade never produces `Raw`, `FormData` or `Stream` for this SDK\n * (protocol.ts). A typed refusal, not a defect (S20), for a body shape that would mean the SDK grew\n * an operation this transport was never taught to send.\n */\nconst sendBody = (\n nodeRequest: http.ClientRequest,\n request: HttpClientRequest.HttpClientRequest,\n): Effect.Effect<void, HttpClientError.HttpClientError> =>\n Effect.suspend(() => {\n const body = request.body;\n if (body._tag === 'Empty') {\n nodeRequest.end();\n return waitForFinish(nodeRequest, request);\n }\n if (body._tag === 'Uint8Array') {\n // ⚠️ `body.contentLength` is never nullish, so `?? body.body.byteLength` reads as dead code\n // to TypeScript's `??` narrowing — which then (a real quirk, not a defect here) infers\n // `body` itself as `never` on that unreachable side. Two plain statements instead.\n nodeRequest.setHeader('content-length', body.contentLength);\n nodeRequest.end(body.body);\n return waitForFinish(nodeRequest, request);\n }\n return Effect.fail(\n new HttpClientError.HttpClientError({\n reason: new HttpClientError.EncodeError({\n request,\n description: `Caddy admin transport: unsupported request body \"${body._tag}\" — every Caddy operation sends Empty or a Uint8Array body`,\n }),\n }),\n );\n });\n\nconst toWebResponse = (source: http.IncomingMessage): Response =>\n new Response(Readable.toWeb(source) as unknown as ReadableStream, {\n headers: flattenHeaders(source.headers),\n status: source.statusCode ?? 0,\n });\n\nconst exchangeOnce = (\n target: Target,\n request: HttpClientRequest.HttpClientRequest,\n url: URL,\n signal: AbortSignal,\n timeoutMs: number,\n): Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError> =>\n Effect.suspend(() => {\n const nodeRequest = http.request({\n headers: request.headers,\n method: request.method,\n path: `${url.pathname}${url.search}`,\n signal,\n timeout: timeoutMs,\n ...(target.kind === 'unix'\n ? { socketPath: target.socketPath }\n : { host: target.host, port: target.port }),\n });\n // node:http's own inactivity timeout — a hang (e.g. a `shutdown_delay` blocking `/load`, see\n // the module doc) destroys the request, which then surfaces through the same 'error' handler\n // `waitForResponse`/`waitForFinish` already listen on.\n nodeRequest.on('timeout', () => {\n nodeRequest.destroy(new Error(`no answer in ${String(timeoutMs)} ms`));\n });\n return Effect.raceFirst(\n waitForResponse(nodeRequest, request),\n sendBody(nodeRequest, request).pipe(Effect.andThen(Effect.never)),\n ).pipe(\n Effect.onError(() => Effect.sync(() => nodeRequest.destroy())),\n Effect.map((source) => HttpClientResponse.fromWeb(request, toWebResponse(source))),\n );\n });\n\n/**\n * Retry ONLY a connection nothing accepted, up to `retries` times, spaced `retryDelayMs` apart —\n * a plain loop over `Effect.result`, not `Effect.retry`'s `{schedule, times, while}` options\n * object. MEASURED 2026-09-23: with a `Schedule` given alongside `times`/`while`, that combined\n * form retried an ECONNRESET past both — `while` kept correctly returning `false` every attempt,\n * logged and confirmed, yet the schedule's own unbounded `spaced` kept driving retries anyway. A\n * loop leaves no such ambiguity: the SAME `isUnreachable` check that would gate `while` here gates\n * every iteration directly, one attempt at a time.\n */\nconst withUnreachableRetry = (\n attempt: Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError>,\n retries: number,\n retryDelayMs: number,\n): Effect.Effect<HttpClientResponse.HttpClientResponse, HttpClientError.HttpClientError> =>\n Effect.gen(function* () {\n let attemptsLeft = retries;\n for (;;) {\n const outcome = yield* Effect.result(attempt);\n if (Result.isSuccess(outcome)) return outcome.success;\n if (attemptsLeft <= 0 || !isUnreachable(outcome.failure)) {\n return yield* Effect.fail(outcome.failure);\n }\n attemptsLeft -= 1;\n yield* Effect.sleep(Duration.millis(retryDelayMs));\n }\n });\n\n/** The transport `localCaddyAdmin()` provides as `HttpClient.HttpClient` — see local-admin.ts. */\nexport const makeLocalHttpClient = (\n target: Target,\n options: LocalHttpClientOptions = {},\n): Layer.Layer<HttpClient.HttpClient> => {\n const timeoutMs = options.timeoutMs ?? 60_000;\n const retries = options.retries ?? 2;\n const retryDelayMs = options.retryDelayMs ?? 500;\n return Layer.succeed(\n HttpClient.HttpClient,\n HttpClient.make((request, url, signal) => {\n const attempt = exchangeOnce(target, request, url, signal, timeoutMs);\n return retries <= 0 ? attempt : withUnreachableRetry(attempt, retries, retryDelayMs);\n }),\n );\n};\n",
8
8
  "/**\n * `Caddy.Config` — a running Caddy's whole config, declared as Caddyfile text and applied through\n * Caddy's own admin API (decision 23), via `@distilled.cloud/caddy`'s typed `admin` operations.\n *\n * - create / update — `POST /adapt` (validate), `POST /load` with `text/caddyfile` (a graceful\n * reload; Caddy keeps the old config if it refuses the new one, and the error names why), then\n * `GET /config/` and insist it matches. Skipped when Caddy already runs this config.\n * - read — the digest of `GET /config/`. With no state it is the adoption probe (below).\n * - diff — declared, live and stored digests (config-lifecycle.ts). Never `replace`.\n * - delete — ⛔ NOTHING. See below.\n *\n * ⛔ DELETE NEVER TOUCHES CADDY, UNDER EITHER REMOVAL POLICY. Removing this declaration must not take\n * every site down: there is no \"less config\" to fall back to, and an empty config stops all\n * servers. `retain` is the default (the engine never calls delete); with `destroy` the handler\n * still only forgets. It never calls `/stop` (which exits the process) or `DELETE /config/`.\n * To empty a Caddy, do it by hand at its admin API.\n * ⛔ NOTHING IS ADOPTED SILENTLY (decision, 2026-09-21 — the house rule HostFile and LaunchdJob\n * keep). With no state, a running Caddy whose live config IS the declared one reads as ours (the\n * adoption changes nothing); any other config reads as `Unowned`, and the plan refuses it unless\n * the deploy runs with `--adopt`. A Caddy serving nothing reads as absent: a create. Where the\n * engine skips that probe, reconcile refuses the same takeover (config-lifecycle.ts).\n * ⛔ `caddyfile` IS NEVER A SECRET — see config-form.ts; refused before anything is sent.\n * ⚠️ WHICH CADDY is the transport's (providers.ts): `CaddyAdminService` plus the `Credentials`/\n * `HttpClient` layer `CaddyAdminTransport` carries — one per stack, not a prop.\n * ⚠️ `transportLayer` IS `Effect.provide`D LOCALLY IN EACH HANDLER BELOW, NEVER MERGED AHEAD OF\n * TIME. `caddyAdminLayer` (admin.ts) stores it under `CaddyAdminTransport` rather than merging its\n * `Credentials`/`HttpClient.HttpClient` into the ambient context precisely so this file is the ONE\n * place that discharges them — scoped to the handful of effects that actually call\n * `@distilled.cloud/caddy`'s operations, never leaking into a sibling fetch-based provider merged\n * into the same stack (admin.ts's own ⛔; MEASURED 2026-09-26, admin-transport-scope.test.ts).\n */\nimport { Resource } from 'alchemy';\nimport { Unowned } from 'alchemy/AdoptPolicy';\nimport { isResolved } from 'alchemy/Diff';\nimport * as Provider from 'alchemy/Provider';\nimport * as Effect from 'effect/Effect';\nimport { resolvedString } from '../launchd/host-effect.ts';\nimport { adoptEnabled } from '../ownership/adopt.ts';\nimport { CaddyAdminService, CaddyAdminTransport } from './admin.ts';\nimport { isUnreachable } from './caddy-http-client.ts';\nimport type { CaddyConfigAttributes, CaddyConfigProps } from './config-form.ts';\nimport { probeLive, readLive } from './config-lifecycle.ts';\nimport { diffConfig, reconcileConfig } from './config-reconcile.ts';\nimport { formattingFixLine, splitFormattingWarning } from './format-warnings.ts';\n\nexport type { CaddyConfigAttributes, CaddyConfigProps } from './config-form.ts';\n\nexport interface CaddyConfig extends Resource<\n 'Caddy.Config',\n CaddyConfigProps,\n CaddyConfigAttributes\n> {}\n\nexport const CaddyConfig = Resource<CaddyConfig>('Caddy.Config', {\n defaultRemovalPolicy: 'retain',\n});\n\n/**\n * ⚠️ A STOPPED CADDY MUST NOT FAIL THE PLAN THAT BRINGS IT BACK. Its launchd job usually sits in the\n * same stack; if every plan died on `ECONNREFUSED`, the fix to that job could never be deployed.\n * So at PLAN time only (read, diff) an unreachable Caddy plans an update — with a warning, because\n * the plan-time `/adapt` check did not run — and reconcile, which needs Caddy, still fails loudly.\n */\nconst planWithoutCaddy =\n <A>(admin: { endpoint: string }, fallback: A) =>\n (error: unknown) =>\n Effect.as(\n Effect.logWarning(\n `Caddy.Config: no Caddy at ${admin.endpoint} ` +\n `(${error instanceof Error ? error.message : String(error)}); planning without it — ` +\n 'the Caddyfile is validated when the deploy reaches Caddy',\n ),\n fallback,\n );\n\nexport const CaddyConfigProvider = () =>\n Provider.effect(\n CaddyConfig,\n Effect.gen(function* () {\n const admin = yield* CaddyAdminService;\n const transportLayer = yield* CaddyAdminTransport;\n /** The probe, branded for the engine: plain when ours, `Unowned` otherwise. */\n const probe = (caddyfile: string | undefined, sourceFile: string | undefined) =>\n Effect.flatMap(probeLive(caddyfile, sourceFile), (found) => {\n if (found === undefined) return Effect.succeed(undefined);\n if (found.ours) return Effect.succeed(found.attributes);\n const unowned = Unowned(found.attributes);\n return found.unchecked === undefined\n ? Effect.succeed(unowned)\n : Effect.as(\n Effect.logWarning(\n `Caddy.Config at ${admin.endpoint}: the running config could not be compared ` +\n `with the declared Caddyfile (${found.unchecked}), so it is not treated as ours`,\n ),\n unowned,\n );\n });\n return CaddyConfig.Provider.of({\n /** ⛔ A Caddy has one config; there is nothing to enumerate, and nothing for nuke to delete. */\n list: () => Effect.succeed([]),\n\n /**\n * With state: the live attributes, which diff compares. With none, the ADOPTION PROBE —\n * `olds` is the declaration (Plan.ts passes `news`), and only a live config equal to it is\n * ours. ⚠️ A running Caddy is still the one the stack means (the transport reaches only\n * loopback), but WHOSE CONFIG it runs is not: a person, another tool or another stack.\n */\n read: ({ olds, output }) =>\n Effect.gen(function* () {\n return output === undefined\n ? yield* probe(resolvedString(olds, 'caddyfile'), resolvedString(olds, 'sourceFile'))\n : yield* readLive(resolvedString(olds, 'sourceFile'));\n }).pipe(\n // ★ Scoped to Caddy's own transport — see the file header's ⚠️ — before the catch below,\n // so `isUnreachable` still narrows the SAME raw error this always raised.\n Effect.provide(transportLayer),\n // ★ Nothing to adopt from a Caddy that is down: plan a create, which is the same load.\n Effect.catchIf(isUnreachable, planWithoutCaddy(admin, undefined)),\n ),\n\n diff: ({ news, output }) => {\n if (output === undefined) return Effect.succeed(undefined);\n const update = planWithoutCaddy(admin, { action: 'update' as const });\n if (isResolved(news)) {\n return diffConfig(news, output).pipe(\n Effect.provide(transportLayer),\n Effect.catchIf(isUnreachable, update),\n );\n }\n /**\n * ⚠️ `sourceFile` is an Output while its HostFile changes in the same deploy\n * (caddyWithFile). The Caddyfile itself is usually plain text, so validate and compare\n * it now — a bad Caddyfile must fail the PLAN, before the HostFile writes it to disk —\n * and plan an update, which reloads only if the config really differs.\n */\n const caddyfile = resolvedString(news, 'caddyfile');\n if (caddyfile === undefined) return Effect.succeed(undefined);\n return Effect.as(diffConfig({ caddyfile }, output), { action: 'update' as const }).pipe(\n Effect.provide(transportLayer),\n Effect.catchIf(isUnreachable, update),\n );\n },\n\n reconcile: ({ fqn, news, output }) =>\n Effect.gen(function* () {\n // ⛔ State is authority over the Caddy it was applied to, and no other. With none (the\n // engine may not have probed: see reconcileConfig), or with the transport now at\n // another endpoint, only adoption — `--adopt`, or this resource's own `adopt(…)`,\n // as the planner resolves it — loads over a config the stack cannot claim.\n const sameCaddy = output !== undefined && output.endpoint === admin.endpoint;\n const takeOver = sameCaddy || (yield* adoptEnabled(fqn));\n const stored = output === undefined ? {} : { stored: output.configSha256 };\n const applied = yield* reconcileConfig(news, { takeOver, ...stored }).pipe(\n Effect.provide(transportLayer),\n );\n // ★ THE FORMATTING WARNING GETS ITS OWN LINE, NAMING THE FIX — separate from the rest,\n // which keep logging exactly as before (format-warnings.ts).\n const { formatting, rest } = splitFormattingWarning(applied.warnings);\n if (formatting.length > 0) {\n yield* Effect.logWarning(formattingFixLine(admin.endpoint));\n }\n for (const warning of rest) {\n yield* Effect.logWarning(`Caddy.Config at ${admin.endpoint}: ${warning}`);\n }\n return applied.attributes;\n }),\n\n delete: () => Effect.void,\n });\n }),\n );\n",
9
9
  "/**\n * The one place a HostRunner's promises become Effects — plus the one probe of an unresolved\n * `news` both providers' diffs share. (The engine's adopt setting lives in ownership/adopt.ts.)\n *\n * ★ The lifecycle files are plain async functions over a HostRunner (see runner.ts for why the\n * runner is promise-based), so each provider handler is a single `lift(() => step(runner, …))`.\n * ⚠️ A thrown Error stays that Error — its message is the refusal a deploy prints. Anything else\n * thrown is wrapped, so the failure channel is always an Error with a readable message.\n */\nimport * as Effect from 'effect/Effect';\n\nexport const lift = <A>(step: () => Promise<A>): Effect.Effect<A, Error> =>\n Effect.tryPromise({\n catch: (cause) => (cause instanceof Error ? cause : new Error(String(cause))),\n try: step,\n });\n\n/**\n * A string prop of a diff's `news`, when that one prop is already resolved; `undefined` while it\n * is still an Output (a function-typed proxy), an Effect or a Config.\n * ★ For the identity props a diff must see even when the rest of `news` is unresolved — a plain\n * string is resolved by definition, so `typeof` is the whole test.\n */\nexport const resolvedString = (news: unknown, key: string): string | undefined => {\n if (typeof news !== 'object' || news === null) return undefined;\n const value = (news as Record<string, unknown>)[key];\n return typeof value === 'string' ? value : undefined;\n};\n",
10
10
  "/**\n * Whether a live object this stack holds no state for may be written — the apply-time half of the\n * house rule that NOTHING IS ADOPTED WITHOUT `--adopt` (decided 2026-09-21 for HostFile, LaunchdJob,\n * CaddyConfig and every Bao.* family). probe.ts is the plan-time half.\n *\n * ★ FAMILY-NEUTRAL ON PURPOSE. The engine questions here — what `--adopt` resolves to for one FQN,\n * whether this apply resumes the resource's own interrupted create — are the same for a vault\n * role, a launchd plist and a Caddy config, so they live once, outside every subpath's directory.\n */\nimport { AdoptPolicy } from 'alchemy/AdoptPolicy';\nimport { AlchemyContext } from 'alchemy/AlchemyContext';\nimport { Stack } from 'alchemy/Stack';\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\nimport { resumes, unfinished } from './resume.ts';\nimport { forgetRefusedCreate, isCreate } from './rows.ts';\n\n/**\n * Whether the resource at `fqn` may be adopted, resolved exactly as the planner resolves it (alchemy\n * beta.79 Plan.ts: `resource.Adopt ?? shouldAdopt`): a resource-scoped `adopt(…)`, else the\n * `AdoptPolicy` service, else `AlchemyContext.adopt`, else off.\n * ★ FOR A CREATE THE ENGINE NEVER PROBED. Alchemy skips the adoption probe while `news` holds an\n * Output, so an ownership check that must still honour `--adopt` can only run at apply. All three\n * reach the apply: Alchemist runs plan AND apply under the session context, which provides the\n * services from the CLI flag and the Stack the resources registered on (Alchemist/Session.ts,\n * routes/stack.ts; Apply.ts reads the same Stack).\n * ⛔ THE RESOURCE-SCOPED SETTING WINS, BOTH WAYS. The engine captures `adopt(…)` on the resource at\n * registration (Resource.ts `Adopt`, into `Stack.resources[fqn]`) and never hands it to a\n * provider. Reading only the deploy-wide flag let `--adopt` take over a resource declared\n * `.pipe(adopt(false))` — which the planner refuses — and refused one declared `adopt(true)`.\n * ⚠️ `resources` carries an `@internal` comment in Alchemy's source, but it is in the published types\n * and the planner reads `Adopt` from it. caddy/adopt-scope.test.ts registers through the real\n * `Resource`, so an upgrade that stops recording it there fails the suite.\n */\nexport const adoptEnabled = (fqn: string): Effect.Effect<boolean> =>\n Effect.gen(function* () {\n const stack = yield* Effect.serviceOption(Stack);\n const scoped = Option.isSome(stack) ? stack.value.resources[fqn]?.Adopt : undefined;\n if (scoped !== undefined) return scoped;\n const policy = yield* Effect.serviceOption(AdoptPolicy);\n if (Option.isSome(policy)) return policy.value;\n const context = yield* Effect.serviceOption(AlchemyContext);\n return Option.isSome(context) ? context.value.adopt : false;\n });\n\n/** The three fields of a `reconcile` (or `read`) call that say whose object this is. */\nexport type Owner = {\n readonly fqn: string;\n readonly instanceId: string;\n /** The attributes state holds; `undefined` on a create. */\n readonly output: unknown;\n};\n\n/**\n * Whether `--adopt` may speak for this apply's generation: a CREATE (rows.ts isCreate), or an\n * UNFINISHED generation whose row this plan's diff saw with no attributes (resume.ts) — the\n * resume Alchemy itself offers `--adopt` for (\"Cannot resume creating … Re-run with --adopt\").\n * ⛔ NOT A FRESH REPLACE'S NEW GENERATION. The planner never probes it and never offers it adoption,\n * so the identity it moves to was never asked about under `--adopt`: 🔴 MEASURED 2026-09-21\n * (launchd/adopt-apply.test.ts), a HostFile whose path changed onto a file it did not own\n * overwrote that file under a deploy-wide `--adopt` meant for something else. A Bao rename onto a\n * taken identity already fails the plan, `--adopt` or not (rename.ts judgeMove); this keeps the\n * apply to the same answer.\n */\nconst adoptable = (owner: Owner): Effect.Effect<boolean> =>\n Effect.gen(function* () {\n if (yield* isCreate(owner.fqn, owner.instanceId)) return true;\n return yield* unfinished(owner.instanceId);\n });\n\n/** Whether a stateless `reconcile` may take over a live object: adoption on, for an adoptable one. */\nexport const adoptsAtApply = (owner: Owner): Effect.Effect<boolean> =>\n Effect.gen(function* () {\n if (!(yield* adoptEnabled(owner.fqn))) return false;\n return yield* adoptable(owner);\n });\n\n/** A lifecycle helper's hook for refuseTakeover, bound to one call's Owner: `(what) => …`. */\nexport type Claim = (what: string) => Effect.Effect<void>;\n\n/**\n * `reconcile`'s check, called with the live object it found BEFORE any write: dies unless that\n * object may be written. It may when state already vouches for it (`output`), when this apply\n * resumes the resource's own interrupted create or replace and its diff proved the object that\n * generation's (resume.ts), or when adoption is on for a create or an unfinished generation\n * (adoptable).\n * ⛔ WHY IT EXISTS AT ALL: THE PROBE DOES NOT GUARD EVERY CREATE. Alchemy skips it while `news` holds\n * an Output (Plan.ts), a new generation of a replace is never probed, and an object can appear\n * between plan and apply. Each of those used to be a silent takeover: written over, then recorded\n * as ours, and deleted with the stack under `destroy`.\n * ⚠️ A CHECK, THEN A WRITE — NOT A LOCK. Two creates of one name in the same deploy run\n * concurrently, both read nothing, and both write (measured with the fakes, 2026-09-21). Nothing\n * between a read and a write can close that; declare each name once.\n * ⚠️ AN IDENTICAL OBJECT IS STILL A TAKEOVER (decided 2026-09-21). Nothing would be written, but the\n * state row would claim it, and a later delete would remove what another owner still relies on.\n * ⛔ A REFUSED CREATE FORGETS ITS `creating` ROW (rows.ts forgetRefusedCreate), or the next plan's\n * recovery read would adopt the very object this refused.\n */\nexport const refuseTakeover = (owner: Owner, what: string): Effect.Effect<void> =>\n Effect.gen(function* () {\n if (owner.output !== undefined) return;\n if (yield* resumes(owner.instanceId)) return;\n const may = yield* adoptable(owner);\n if (may && (yield* adoptEnabled(owner.fqn))) return;\n yield* forgetRefusedCreate(owner.fqn, owner.instanceId);\n const remedy = may\n ? 'Deploy with --adopt (or wrap the resource in adopt(true)) to take it over, or remove it first.'\n : 'It is the new identity of a replace, which --adopt does not cover: remove it first.';\n return yield* Effect.die(\n new Error(\n `${what}: already exists, and this stack holds no state for it — the plan could not ask ` +\n 'first (a prop was still an Output, a replace moved onto it, or it appeared after the ' +\n `plan). Nothing was written. ${remedy}`,\n ),\n );\n });\n\n/** refuseTakeover bound to one call's Owner, for a lifecycle helper that finds the live object. */\nexport const claimFor =\n (owner: Owner): Claim =>\n (what) =>\n refuseTakeover(owner, what);\n",
@@ -23,7 +23,7 @@
23
23
  "/**\n * The one form an adapted Caddy config is hashed in — so what `POST /adapt` returns for the\n * declared Caddyfile and what `GET /config/` reports after the load hash the same.\n *\n * ⛔ THE TWO ARE NOT THE SAME BYTES, AND COMPARING BYTES WOULD BE A FOREVER-`update`. Read in\n * caddyserver/caddy v2.11.4:\n * · `/adapt` returns the adapter's `json.Marshal(cfg)` of Go STRUCTS — keys in field order\n * (caddyconfig/caddyfile/adapter.go Adapt; load.go handleAdapt).\n * · `/load` decodes that JSON into a generic `any` and re-marshals it (caddy.go changeConfig):\n * Go sorts MAP keys, so the stored config has every object's keys sorted.\n * · `GET /config/` streams that stored value through `json.Encoder`, which appends a newline\n * (admin.go unsyncedConfigAccess), and escapes `<`, `>` and `&` as `\\u003c`, `\\u003e`, `\\u0026`.\n * Parsing both and re-serialising with sorted keys erases all three differences. MEASURED\n * 2026-09-21 on a throwaway Caddy 2.11.4: the digest of `GET /config/` after `POST /load` equals\n * the digest of `/adapt` for the same Caddyfile — and a Caddy started with `--config <file>`\n * hashes the same as `/adapt` of that file's text, so adopting it is a noop.\n * ★ NUMBERS AGREE BY CONSTRUCTION. Go decodes every JSON number in that generic `any` as float64\n * (caddy.go indexConfigObjects says so), and JSON.parse does too — the same double on both sides\n * serialises the same way here.\n */\nimport { sha256Hex } from '../launchd/job-form.ts';\n\ntype Json = null | boolean | number | string | readonly Json[] | { readonly [key: string]: Json };\n\nconst sorted = (value: Json): Json => {\n if (Array.isArray(value)) return (value as readonly Json[]).map(sorted);\n if (typeof value === 'object' && value !== null) {\n const object = value as { readonly [key: string]: Json };\n const out: Record<string, Json> = {};\n for (const key of Object.keys(object).sort()) out[key] = sorted(object[key] ?? null);\n return out;\n }\n return value;\n};\n\n/** Parse a config body Caddy returned. ⚠️ An empty config is the JSON `null`, not an error. */\nexport const parseConfig = (text: string): unknown => JSON.parse(text) as unknown;\n\n/** The canonical text of a parsed config: sorted keys, no whitespace. */\nexport const canonicalConfig = (config: unknown): string =>\n JSON.stringify(sorted((config ?? null) as Json));\n\n/** SHA-256 of the canonical form — what the resource stores and compares, never the config. */\nexport const configDigest = (config: unknown): string => sha256Hex(canonicalConfig(config));\n",
24
24
  "/**\n * CaddyConfig's diff / reconcile — the apply half of the lifecycle config-lifecycle.ts's\n * `desiredConfig`/`readLive`/`probeLive` compute the inputs for. Split out at the 250-line file\n * cap; the two files together are one lifecycle, read config-lifecycle.ts's module doc first.\n */\nimport * as Effect from 'effect/Effect';\nimport * as Result from 'effect/Result';\nimport type * as Diff from 'alchemy/Diff';\nimport type * as Caddy from '@distilled.cloud/caddy';\nimport { CaddyAdminService } from './admin.ts';\nimport { loadCaddyfile, readRunningConfig } from './admin-calls.ts';\nimport { isUnreachable } from './caddy-http-client.ts';\nimport { messageOf, refuse, short, wrapOperation } from './config-errors.ts';\nimport type { CaddyConfigAttributes, CaddyConfigProps } from './config-form.ts';\nimport { claimable, desiredConfig, readLive } from './config-lifecycle.ts';\nimport { configDigest } from './digest.ts';\nimport { formattingFixLine, splitFormattingWarning } from './format-warnings.ts';\n\n/**\n * ★ NEVER `replace`. Nothing in the props names a different object: a new Caddyfile is a reload of\n * the same Caddy, and `sourceFile` is a header. (Which Caddy is the transport's business — see\n * the ⚠️ on `endpoint` in the diff.)\n */\nexport const diffConfig = (\n news: CaddyConfigProps,\n output: CaddyConfigAttributes,\n): Effect.Effect<Diff.Diff, Error | Caddy.CaddyOpError, CaddyAdminService | Caddy.CaddyOpContext> =>\n Effect.gen(function* () {\n const { endpoint } = yield* CaddyAdminService;\n const want = yield* desiredConfig(news);\n // ★ SURFACED AT PLAN TIME, NOT JUST DEPLOY TIME. `want.warnings` otherwise goes nowhere here —\n // only the formatting warning gets its own clear line; the rest keep logging at reconcile\n // (config.ts), same as before this change.\n const { formatting } = splitFormattingWarning(want.warnings);\n if (formatting.length > 0) yield* Effect.logWarning(formattingFixLine(endpoint));\n const live = yield* readLive();\n const converged =\n want.digest === live.configSha256 &&\n live.configSha256 === output.configSha256 &&\n news.sourceFile === output.sourceFile &&\n // ⚠️ A stack whose transport now reaches ANOTHER Caddy (a new address) must load there; the\n // old one keeps what it has — the same as a delete, which never unloads (see config.ts).\n // Planned as an update, but the state does not vouch for that Caddy: see Authority.\n endpoint === output.endpoint;\n return converged ? { action: 'noop' } : { action: 'update' };\n });\n\nexport type Applied = {\n readonly attributes: CaddyConfigAttributes;\n /** The adapter's warnings (e.g. \"Caddyfile input is not formatted\") — log them, never refuse. */\n readonly warnings: readonly string[];\n /** Whether a `POST /load` was sent (false when Caddy already ran this config). */\n readonly loaded: boolean;\n};\n\n/**\n * What this apply may load over — config.ts decides from the state and the adopt setting:\n * · `takeOver` — any running config: the state was applied to THIS Caddy (an update, drift\n * correction, or a create the engine adopted), or adoption is on (`--adopt`, or the\n * resource's own `adopt(true)` — ownership/adopt.ts adoptEnabled).\n * · otherwise only a claimable one — plus, as `stored`, the digest the state last recorded: a\n * Caddy reached at a NEW endpoint that runs exactly that is the same config under another name.\n */\nexport type Authority = { readonly takeOver: boolean; readonly stored?: string };\n\n/**\n * Load the Caddyfile unless Caddy already runs it, then read it back and insist it matches.\n * ⛔ WITHOUT `takeOver`, A CONFIG THE STACK CANNOT CLAIM IS NEVER LOADED OVER. The engine's adoption\n * probe cannot guard every create: it is skipped while `news` holds an Output — ALWAYS on\n * caddyWithFile's first deploy (`sourceFile` is its HostFile's path) — and a Caddy that was down at\n * plan time read as nothing. Nor does state vouch for a Caddy the transport NOW reaches at another\n * endpoint (diff plans that as an update). Refused here, before any `/load`, like HostFile's.\n */\nexport const reconcileConfig = (\n props: CaddyConfigProps,\n authority: Authority,\n): Effect.Effect<Applied, Error | Caddy.CaddyOpError, CaddyAdminService | Caddy.CaddyOpContext> =>\n Effect.gen(function* () {\n const { endpoint } = yield* CaddyAdminService;\n const want = yield* desiredConfig(props);\n const running = yield* readRunningConfig().pipe(wrapOperation(endpoint, 'GET /config/'));\n const before = configDigest(running);\n const known = before === authority.stored || claimable(running, want.digest);\n if (!authority.takeOver && !known) {\n return yield* Effect.fail(\n refuse(\n endpoint,\n `Caddy runs config ${short(before)}, which this stack did not load, and the Caddyfile ` +\n `adapts to ${short(want.digest)} — loading it would replace every site that config ` +\n 'serves. Deploy with --adopt (or wrap the resource in adopt(true)) to take this Caddy ' +\n 'over, or point caddyProviders() at the Caddy you meant.',\n ),\n );\n }\n let warnings = want.warnings;\n const loaded = before !== want.digest;\n if (loaded) {\n const outcome = yield* Effect.result(loadCaddyfile(props.caddyfile, props.sourceFile));\n if (Result.isFailure(outcome)) {\n const error = outcome.failure;\n // ⚠️ Caddy going unreachable MID-load is not a refusal — nothing to \"say what's running\n // now\" about, and re-sending it is unsafe (admin-calls.ts's module doc). Propagated raw,\n // still narrowable, matching every other unreachable path in this file.\n if (isUnreachable(error)) return yield* Effect.fail(error);\n // ★ SAY WHAT IS RUNNING NOW. Caddy restores the previous config on a failed load (caddy.go\n // changeConfig); confirm it rather than promise it, because the deploy log is where the\n // person decides whether sites are down.\n const afterRead = yield* Effect.result(readLive());\n const after = Result.isSuccess(afterRead) ? afterRead.success : undefined;\n const state =\n after === undefined\n ? 'and the running config could not be read back'\n : after.configSha256 === before\n ? 'Caddy kept the previous config (still serving)'\n : `and the running config is now ${short(after.configSha256)}, not the previous ${short(before)}`;\n // ⚠️ SAY SO WHEN THE STATUS LIED, or a bare \"refused\" reads like a normal 4xx/5xx.\n // `LoadRefused` IS the 200-embedded-error trap (admin-calls.ts's module doc): Caddy\n // answered 200, and the failure was only in the body.\n const reason =\n error._tag === 'LoadRefused'\n ? `${error.message} (LoadRefused: a 200 whose body carried the error, not a failure status)`\n : messageOf(error);\n return yield* Effect.fail(\n refuse(endpoint, `Caddy refused the Caddyfile — ${reason}; ${state}`),\n );\n }\n warnings = outcome.success;\n }\n // ⚠️ READ BACK, never echo the declaration: a concurrent writer, or a load Caddy answered 200 but\n // did not apply (admin-calls.ts), shows up here as a refusal instead of as stored state that is\n // already wrong.\n const attributes = yield* readLive(props.sourceFile);\n if (attributes.configSha256 !== want.digest) {\n return yield* Effect.fail(\n refuse(\n endpoint,\n `after the load Caddy runs config ${short(attributes.configSha256)}, not the ` +\n `${short(want.digest)} this Caddyfile adapts to — another writer changed it, or it was ` +\n 'not applied',\n ),\n );\n }\n return { attributes, loaded, warnings };\n });\n",
25
25
  "/**\n * Pulls Caddy's adapter \"Caddyfile input is not formatted\" warning(s) out of a warnings list, so\n * config.ts's reconcile (deploy) and config-reconcile.ts's diffConfig (plan) can show it as one\n * clear, actionable line instead of burying it among the rest.\n *\n * ★ THIS IS THE COMMON CASE, NOT AN EDGE ONE. admin-calls.ts's module doc: the Caddyfile adapter\n * warns on EVERY unformatted input (adapter.go FormattingDifference) — every declared Caddyfile\n * that was not run through `caddy fmt` (or format.ts's formatCaddyfile()) carries this warning\n * on every plan and every deploy, indistinguishable from the rest unless split out.\n */\n\n/** The exact adapter message (caddyserver/caddy v2.11.4, adapter.go FormattingDifference). */\nconst NOT_FORMATTED = 'Caddyfile input is not formatted';\n\nexport type SplitWarnings = {\n /**\n * Every warning THAT IS the formatting one — usually one, but an `import`ed file can add\n * another with its own file:line, and this keeps every one of them (never just the first): a\n * `.find()` here would silently drop the rest, not merely leave them uncounted.\n */\n readonly formatting: readonly string[];\n /** Every other warning, in order, formatting removed. */\n readonly rest: readonly string[];\n};\n\n/** Separates the formatting warning(s) (by substring, matching admin-calls.ts's `describe()`). */\nexport const splitFormattingWarning = (warnings: readonly string[]): SplitWarnings => ({\n formatting: warnings.filter((warning) => warning.includes(NOT_FORMATTED)),\n rest: warnings.filter((warning) => !warning.includes(NOT_FORMATTED)),\n});\n\n/**\n * One clear line naming the fix — never just the adapter's own warning text, and never repeated\n * per formatting warning: however many `formatting` holds, this is logged once (config.ts,\n * config-reconcile.ts), since restating the same fix N times is its own noise.\n */\nexport const formattingFixLine = (endpoint: string): string =>\n `Caddy.Config at ${endpoint}: Caddyfile is not formatted — run \\`caddy fmt\\` on it, or format ` +\n \"it with this package's formatCaddyfile() before declaring it, to silence this warning.\";\n",
26
- "/**\n * `formatCaddyfile(text)` — pipes a Caddyfile through the LOCAL `caddy fmt -` binary (stdin in,\n * formatted text out), the same formatter the `caddy fmt` CLI command runs\n * (caddyconfig/caddyfile Format in caddyserver/caddy).\n *\n * ⛔ THERE IS NO ADMIN API FOR THIS. `caddy fmt` is a CLI-only feature (cmd/commandfuncs.go); no\n * `/adapt`, `/load` or other admin endpoint formats a Caddyfile, so this never belongs in\n * `@distilled.cloud/caddy` — measured 2026-09-24. It shells out instead, the same pattern\n * talos/talosctl.ts uses for a vendor CLI Alchemy does not wrap.\n * ⛔ NEVER REIMPLEMENTED IN TS. The Caddyfile grammar's formatting rules live in the Go adapter;\n * a hand-rolled formatter would drift from it silently. This module only ever runs the real\n * binary.\n * ⛔ A MISSING OR FAILING BINARY FAILS THE EFFECT — IT NEVER RETURNS THE INPUT UNCHANGED.\n * `CaddyFmtNotFound` and `CaddyFmtFailed` are typed, catchTag-able failures (S21); there is no\n * fallback path that silently skips formatting.\n * ★ WHY THIS MATTERS: admin-calls.ts's module doc — Caddy's adapter warns \"Caddyfile input is not\n * formatted\" on EVERY unformatted input (adapter.go FormattingDifference), which shares the\n * `/load` response body with the refused-but-200 trap. format-warnings.ts surfaces that warning\n * distinctly in plan/deploy output; this function is how a caller silences it — by formatting\n * the Caddyfile before declaring it, not by ignoring the warning.\n */\nimport * as Effect from 'effect/Effect';\nimport * as Stream from 'effect/Stream';\nimport * as ChildProcess from 'effect/unstable/process/ChildProcess';\nimport * as ChildProcessSpawner from 'effect/unstable/process/ChildProcessSpawner';\nimport type * as PlatformError from 'effect/PlatformError';\n\n/** `caddy` resolved on `PATH`, unless the caller points at a specific build. */\nexport const DEFAULT_CADDY_BINARY = 'caddy';\n\n/** The configured binary is not on `PATH` (or not executable) — install Caddy, or fix the path. */\nexport class CaddyFmtNotFound extends Error {\n readonly _tag = 'CaddyFmtNotFound';\n constructor(\n readonly binaryPath: string,\n cause: PlatformError.PlatformError,\n ) {\n super(\n `formatCaddyfile: \"${binaryPath}\" was not found (${cause.message}). Install Caddy so it is ` +\n 'on PATH, or pass { binaryPath } naming the exact build the target Caddy runs.',\n );\n this.name = 'CaddyFmtNotFound';\n }\n}\n\n/** The binary ran but exited non-zero — a syntax error in `text`, most likely. */\nexport class CaddyFmtFailed extends Error {\n readonly _tag = 'CaddyFmtFailed';\n constructor(\n readonly binaryPath: string,\n readonly exitCode: number,\n stderr: string,\n ) {\n super(\n `formatCaddyfile: \"${binaryPath} fmt -\" exited ${String(exitCode)}: ${stderr.slice(0, 300)}`,\n );\n this.name = 'CaddyFmtFailed';\n }\n}\n\nexport type FormatCaddyfileOptions = {\n /** The `caddy` binary to run `fmt -` against. @default DEFAULT_CADDY_BINARY, resolved on PATH. */\n readonly binaryPath?: string;\n};\n\n/**\n * Format a Caddyfile the way `caddy fmt` would, by actually running it — never a TS\n * reimplementation. Requires `ChildProcessSpawner` (S19: no `node:child_process`, no\n * `async`/`await`); provide `@effect/platform-node`'s or `@effect/platform-bun`'s layer.\n */\nexport const formatCaddyfile = (\n text: string,\n options: FormatCaddyfileOptions = {},\n): Effect.Effect<\n string,\n // ⚠️ A raw PlatformError still escapes for anything that is not \"missing binary\" (a permission\n // problem, a process the OS killed mid-run) — narrower than that would misname what happened.\n CaddyFmtNotFound | CaddyFmtFailed | PlatformError.PlatformError,\n ChildProcessSpawner.ChildProcessSpawner\n> =>\n Effect.gen(function* () {\n const binaryPath = options.binaryPath ?? DEFAULT_CADDY_BINARY;\n const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;\n const input = new TextEncoder().encode(text);\n const result = yield* ChildProcess.make(binaryPath, ['fmt', '-'], {\n detached: false,\n stderr: 'pipe',\n stdin: Stream.make(input),\n stdout: 'pipe',\n }).pipe(\n spawner.spawn,\n Effect.flatMap((child) =>\n Effect.all(\n {\n exitCode: child.exitCode,\n stderr: child.stderr.pipe(\n Stream.decodeText,\n Stream.mkString,\n Effect.map((out) => out.trim()),\n ),\n stdout: child.stdout.pipe(Stream.decodeText, Stream.mkString),\n },\n { concurrency: 'unbounded' },\n ),\n ),\n Effect.scoped,\n // ⛔ ENOENT (the binary is missing) becomes the typed, named failure above — every other\n // PlatformError (a permission problem, a killed process) propagates as-is, still typed.\n Effect.catchTag(\n 'PlatformError',\n (error): Effect.Effect<never, CaddyFmtNotFound | PlatformError.PlatformError> =>\n error.reason._tag === 'NotFound'\n ? Effect.fail(new CaddyFmtNotFound(binaryPath, error))\n : Effect.fail(error),\n ),\n );\n if (result.exitCode !== 0) {\n return yield* Effect.fail(new CaddyFmtFailed(binaryPath, result.exitCode, result.stderr));\n }\n return result.stdout;\n });\n",
26
+ "/**\n * `formatCaddyfile(text)` — pipes a Caddyfile through the LOCAL `caddy fmt -` binary (stdin in,\n * formatted text out), the same formatter the `caddy fmt` CLI command runs\n * (caddyconfig/caddyfile Format in caddyserver/caddy).\n *\n * ⛔ THERE IS NO ADMIN API FOR THIS. `caddy fmt` is a CLI-only feature (cmd/commandfuncs.go); no\n * `/adapt`, `/load` or other admin endpoint formats a Caddyfile, so this never belongs in\n * `@distilled.cloud/caddy` — measured 2026-09-24. It shells out instead, the same pattern\n * talos/talosctl.ts uses for a vendor CLI Alchemy does not wrap.\n * ⛔ NEVER REIMPLEMENTED IN TS. The Caddyfile grammar's formatting rules live in the Go adapter;\n * a hand-rolled formatter would drift from it silently. This module only ever runs the real\n * binary.\n * ⛔ A MISSING OR FAILING BINARY FAILS THE EFFECT — IT NEVER RETURNS THE INPUT UNCHANGED.\n * `CaddyFmtNotFound` and `CaddyFmtFailed` are typed, catchTag-able failures (S21); there is no\n * fallback path that silently skips formatting.\n * ★ WHY THIS MATTERS: admin-calls.ts's module doc — Caddy's adapter warns \"Caddyfile input is not\n * formatted\" on EVERY unformatted input (adapter.go FormattingDifference), which shares the\n * `/load` response body with the refused-but-200 trap. format-warnings.ts surfaces that warning\n * distinctly in plan/deploy output; this function is how a caller silences it — by formatting\n * the Caddyfile before declaring it, not by ignoring the warning.\n */\nimport * as Effect from 'effect/Effect';\nimport * as Stream from 'effect/Stream';\nimport * as ChildProcess from 'effect/process/ChildProcess';\nimport * as ChildProcessSpawner from 'effect/process/ChildProcessSpawner';\nimport type * as PlatformError from 'effect/PlatformError';\n\n/** `caddy` resolved on `PATH`, unless the caller points at a specific build. */\nexport const DEFAULT_CADDY_BINARY = 'caddy';\n\n/** The configured binary is not on `PATH` (or not executable) — install Caddy, or fix the path. */\nexport class CaddyFmtNotFound extends Error {\n readonly _tag = 'CaddyFmtNotFound';\n constructor(\n readonly binaryPath: string,\n cause: PlatformError.PlatformError,\n ) {\n super(\n `formatCaddyfile: \"${binaryPath}\" was not found (${cause.message}). Install Caddy so it is ` +\n 'on PATH, or pass { binaryPath } naming the exact build the target Caddy runs.',\n );\n this.name = 'CaddyFmtNotFound';\n }\n}\n\n/** The binary ran but exited non-zero — a syntax error in `text`, most likely. */\nexport class CaddyFmtFailed extends Error {\n readonly _tag = 'CaddyFmtFailed';\n constructor(\n readonly binaryPath: string,\n readonly exitCode: number,\n stderr: string,\n ) {\n super(\n `formatCaddyfile: \"${binaryPath} fmt -\" exited ${String(exitCode)}: ${stderr.slice(0, 300)}`,\n );\n this.name = 'CaddyFmtFailed';\n }\n}\n\nexport type FormatCaddyfileOptions = {\n /** The `caddy` binary to run `fmt -` against. @default DEFAULT_CADDY_BINARY, resolved on PATH. */\n readonly binaryPath?: string;\n};\n\n/**\n * Format a Caddyfile the way `caddy fmt` would, by actually running it — never a TS\n * reimplementation. Requires `ChildProcessSpawner` (S19: no `node:child_process`, no\n * `async`/`await`); provide `@effect/platform-node`'s or `@effect/platform-bun`'s layer.\n */\nexport const formatCaddyfile = (\n text: string,\n options: FormatCaddyfileOptions = {},\n): Effect.Effect<\n string,\n // ⚠️ A raw PlatformError still escapes for anything that is not \"missing binary\" (a permission\n // problem, a process the OS killed mid-run) — narrower than that would misname what happened.\n CaddyFmtNotFound | CaddyFmtFailed | PlatformError.PlatformError,\n ChildProcessSpawner.ChildProcessSpawner\n> =>\n Effect.gen(function* () {\n const binaryPath = options.binaryPath ?? DEFAULT_CADDY_BINARY;\n const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;\n const input = new TextEncoder().encode(text);\n const result = yield* ChildProcess.make(binaryPath, ['fmt', '-'], {\n detached: false,\n stderr: 'pipe',\n stdin: Stream.make(input),\n stdout: 'pipe',\n }).pipe(\n spawner.spawn,\n Effect.flatMap((child) =>\n Effect.all(\n {\n exitCode: child.exitCode,\n stderr: child.stderr.pipe(\n Stream.decodeText,\n Stream.mkString,\n Effect.map((out) => out.trim()),\n ),\n stdout: child.stdout.pipe(Stream.decodeText, Stream.mkString),\n },\n { concurrency: 'unbounded' },\n ),\n ),\n Effect.scoped,\n // ⛔ ENOENT (the binary is missing) becomes the typed, named failure above — every other\n // PlatformError (a permission problem, a killed process) propagates as-is, still typed.\n Effect.catchTag(\n 'PlatformError',\n (error): Effect.Effect<never, CaddyFmtNotFound | PlatformError.PlatformError> =>\n error.reason._tag === 'NotFound'\n ? Effect.fail(new CaddyFmtNotFound(binaryPath, error))\n : Effect.fail(error),\n ),\n );\n if (result.exitCode !== 0) {\n return yield* Effect.fail(new CaddyFmtFailed(binaryPath, result.exitCode, result.stderr));\n }\n return result.stdout;\n });\n",
27
27
  "/**\n * The real Caddy transport: this machine's Caddy, over loopback TCP or a unix socket — the\n * `Credentials` and `HttpClient.HttpClient` layers `@distilled.cloud/caddy`'s typed operations run\n * against (admin-calls.ts), plus the message/guard metadata `CaddyAdminService` carries.\n *\n * Address parsing (`parseAdminAddress`) is pure — admin-address.ts. The wire transport itself\n * (retries, timeouts, the unix-socket dial) is caddy-http-client.ts; this file is the seam between\n * the two and `@distilled.cloud/caddy`'s own `Credentials`.\n */\nimport * as Layer from 'effect/Layer';\nimport * as Caddy from '@distilled.cloud/caddy';\nimport type { CaddyTransport } from './admin.ts';\nimport { DEFAULT_ADMIN_ADDRESS, parseAdminAddress } from './admin-address.ts';\nimport { type LocalHttpClientOptions, makeLocalHttpClient } from './caddy-http-client.ts';\n\nexport { DEFAULT_ADMIN_ADDRESS, parseAdminAddress } from './admin-address.ts';\nexport { isUnreachable } from './caddy-http-client.ts';\n\nexport type LocalCaddyAdminOptions = LocalHttpClientOptions & {\n /**\n * `http://<loopback>:<port>` or `unix:///absolute/path.sock`.\n * @default 'http://127.0.0.1:2019' — Caddy's default admin listener (`localhost:2019`).\n */\n readonly address?: string;\n /**\n * The Host (and, over TCP, Origin) to send when it is not the address's own: the Caddyfile\n * narrowed `admin { origins … }`, or the port is an SSH forward of the real one (Caddy checks\n * the Host against ITS port, not yours). Form `host:port`. Over a unix socket this still sets\n * the Host header `@distilled.cloud/caddy`'s protocol always sends (Caddy skips the Host check\n * on unix listeners regardless — admin.go allowedOrigins) — defaults to `127.0.0.1`, matching\n * the Caddy CLI's own unix-socket calls (cmd/commandfuncs.go AdminAPIRequest).\n */\n readonly hostHeader?: string;\n};\n\n/**\n * A transport to this machine's Caddy — feed it to `caddyProviders()`, or build the layer by hand\n * with `CaddyConfigProvider().pipe(Layer.provideMerge(caddyAdminLayer(localCaddyAdmin())))` (never\n * plain `Layer.provide` — admin.ts's own doc on `caddyAdminLayer` says why).\n *\n * ⛔ LOOPBACK OR A UNIX SOCKET, NOTHING ELSE. The admin API is unauthenticated plaintext; an\n * address off this machine means it is reachable from the network, which decision 23 forbids.\n * `parseAdminAddress` refuses anything else.\n */\nexport const localCaddyAdmin = (options: LocalCaddyAdminOptions = {}): CaddyTransport => {\n const address = options.address ?? DEFAULT_ADMIN_ADDRESS;\n const { listener, target } = parseAdminAddress(address, options.hostHeader);\n // `@distilled.cloud/caddy`'s protocol always builds `Host`/Origin from `apiBaseUrl` (or this\n // override) — never from the dial target, which caddy-http-client.ts ignores the URL's host/port\n // for anyway over a unix socket. `http://localhost` is a placeholder base for the request-URL\n // machinery (`buildRequest` needs a syntactically valid `http://` URL to join `/config/…` onto);\n // the hostHeader default `127.0.0.1` is what actually reaches Caddy's Host check, matching what\n // the Caddy CLI sends over a unix socket.\n const credentials =\n target.kind === 'unix'\n ? Caddy.fromApiBaseUrl({\n apiBaseUrl: 'http://localhost',\n hostHeader: options.hostHeader ?? '127.0.0.1',\n })\n : Caddy.fromApiBaseUrl({\n apiBaseUrl: address,\n ...(options.hostHeader === undefined ? {} : { hostHeader: options.hostHeader }),\n });\n return {\n endpoint: address,\n // ⚠️ `Caddy.Retry.Retry` DISABLED, not left at the SDK's default. MEASURED 2026-09-23: core's\n // `isTransientError` treats ANY `HttpClientError` with a `TransportError` reason as transient\n // — including an ECONNRESET well after the connection was accepted — and every generated\n // operation already retries under that default (`API.make({ retry: Retry.Retry })`,\n // services/admin.ts). Left in place, it retried a `POST /load` that had already reached the\n // far side (a socket that accepted, then reset) — the exact re-send admin-calls.ts's module\n // doc says must never happen — NINE times over, compounding with caddy-http-client.ts's own\n // narrower retry below it. This transport's retry (ECONNREFUSED/ENOENT only — \"nothing\n // accepted the connection yet\") is the one retry policy Caddy's admin API gets.\n layer: Layer.mergeAll(\n credentials,\n makeLocalHttpClient(target, options),\n Layer.succeed(Caddy.Retry.Retry, { while: () => false }),\n ),\n listener,\n };\n};\n",
28
28
  "/**\n * Parses a `localCaddyAdmin()` address into a dial target and the listener Caddy checks requests\n * against — pure, so admin-guard.ts and local-admin.ts's tests exercise it with no transport at all.\n *\n * ★ LOOPBACK OR A UNIX SOCKET, NOTHING ELSE. The admin API is unauthenticated plaintext; an address\n * off this machine means it is reachable from the network, which decision 23 forbids. Reaching\n * another host's Caddy means forwarding its socket or port to here (SSH), never exposing :2019.\n * ★ HOST, AS CADDY's OWN CLI SENDS IT (cmd/commandfuncs.go AdminAPIRequest): `host:port`, over TCP.\n * MEASURED against a Mac host's Caddy 2.11.4: any other Host gets 403 `host not allowed`, a\n * forwarded port included — hence `hostHeader`.\n */\nimport type { CaddyAdminListener } from './admin.ts';\n\nexport type Target =\n | { readonly kind: 'tcp'; readonly host: string; readonly port: number }\n | { readonly kind: 'unix'; readonly socketPath: string };\n\nexport const DEFAULT_ADMIN_ADDRESS = 'http://127.0.0.1:2019';\n\nconst UNIX = 'unix://';\nconst HOST_PORT = /^(?:[A-Za-z0-9.-]+|\\[[0-9A-Fa-f:.]+\\]):\\d{1,5}$/;\n\nconst refuse = (address: string, why: string): Error =>\n new Error(`Caddy admin address ${JSON.stringify(address)}: ${why}`);\n\nconst isLoopback = (hostname: string): boolean =>\n hostname === 'localhost' || hostname === '[::1]' || /^127(?:\\.\\d{1,3}){3}$/.test(hostname);\n\n/** The dial target and listener for an address, or a refusal naming what is wrong with it. */\nexport const parseAdminAddress = (\n address: string,\n hostHeader?: string,\n): { target: Target; listener: CaddyAdminListener } => {\n if (hostHeader !== undefined && !HOST_PORT.test(hostHeader)) {\n throw refuse(address, `hostHeader ${JSON.stringify(hostHeader)} must be host:port`);\n }\n if (address.startsWith(UNIX)) {\n const socketPath = address.slice(UNIX.length);\n if (!socketPath.startsWith('/')) throw refuse(address, 'the socket path must be absolute');\n return { listener: { kind: 'unix', path: socketPath }, target: { kind: 'unix', socketPath } };\n }\n let url: URL;\n try {\n url = new URL(address);\n } catch {\n throw refuse(address, 'not a URL (http://127.0.0.1:2019 or unix:///path)');\n }\n // ⛔ Caddy's local admin endpoint is plaintext by design; its TLS one (`admin.remote`, mTLS on\n // :2021) is a different, network-facing API this transport deliberately does not speak.\n if (url.protocol !== 'http:') throw refuse(address, 'only http:// (loopback) or unix://');\n if (!isLoopback(url.hostname)) {\n throw refuse(address, 'not loopback — the admin API is unauthenticated; forward it to here');\n }\n if (url.pathname !== '/' || url.search !== '' || url.username !== '') {\n throw refuse(address, 'no path, query or credentials — the API lives at the root');\n }\n const port = url.port === '' ? 80 : Number(url.port);\n // ⚠️ NOT `url.host`: WHATWG URL drops a default port (`http://127.0.0.1:80` has host\n // `127.0.0.1`), and Caddy compares the Host against `host:port` (admin.go allowedOrigins), so\n // a portless Host is a 403 on every call. The Caddy CLI always sends the port (JoinHostPort).\n const host = hostHeader ?? `${url.hostname}:${String(port)}`;\n return {\n listener: {\n hostHeader: host,\n kind: 'tcp',\n port: Number(host.slice(host.lastIndexOf(':') + 1)),\n },\n // ★ `hostname` keeps IPv6 brackets; node:http wants them off.\n target: { host: url.hostname.replace(/^\\[(.*)\\]$/, '$1'), kind: 'tcp', port },\n };\n};\n",
29
29
  "/**\n * The Caddy provider with its admin transport, as a single layer for a host stack.\n *\n * Layer.mergeAll(caddyProviders(), launchdProviders(), …the stack's other providers)\n *\n * ★ launchdProviders() TOO when the stack uses caddyWithFile(): the file is a launchd-subpath\n * HostFile, written through that subpath's HostRunner.\n * ⚠️ The default is localCaddyAdmin(): `http://127.0.0.1:2019`, Caddy's default admin listener.\n * Pass another CaddyTransport for a unix socket, a narrowed `admin { origins }`, or an SSH\n * forward — `localCaddyAdmin({ address, hostHeader })` builds one; a consumer can provide any\n * other `{ endpoint, listener, layer }` reaching `@distilled.cloud/caddy`'s own `Credentials`\n * and `HttpClient.HttpClient`.\n *\n * ⚠️ `Layer.provideMerge`, NEVER PLAIN `Layer.provide`, for `caddyAdminLayer`. `CaddyConfigProvider()`'s\n * `read`/`diff`/`reconcile` handlers each still need `CaddyAdminService` and `CaddyAdminTransport`\n * — Alchemy's own `Provider.effect` types those as part of the LAYER's overall requirement\n * (`ProviderService`'s per-handler `Req` type parameters, `alchemy/Provider.ts`), for exactly this\n * reason. Plain `Layer.provide` SEALS a layer — it satisfies `CaddyConfigProvider()`'s requirement\n * only for BUILDING the `Provider` value (the `admin`/`transportLayer` in its outer `Effect.gen`),\n * then hides those services from anything that runs LATER, when the returned `read`/`diff`/\n * `reconcile` FUNCTIONS actually execute. MEASURED 2026-09-23: with plain `Layer.provide`,\n * `caddyProviders()`'s own `reconcile` handler dies with \"Service not found: homeflare/caddy/\n * CaddyAdmin\" the moment the ENGINE calls it. `provideMerge` feeds `caddyAdminLayer`'s output into\n * `CaddyConfigProvider()`'s requirement AND keeps that same output live in the result, so every\n * later handler call still runs with it in context.\n * ⛔ THIS `caddyProviders()` LAYER NEVER CARRIES `Credentials`/`HttpClient.HttpClient` ITSELF (fixed\n * 2026-09-26 — admin.ts's own ⛔ has the mechanism and the measured leak). `caddyAdminLayer`'s\n * output is `CaddyAdminService | CaddyAdminTransport`, both house-only tags safe to `provideMerge`\n * into any host stack; the SDK's own `Credentials`/`HttpClient.HttpClient` stay inside\n * `CaddyAdminTransport`'s stored value, `Effect.provide`d locally by config.ts around exactly the\n * effects that need them. A stack merging `caddyProviders()` with any other fetch-based provider\n * (`forgejoProviders()`, `litellmProviders()`, …) is safe from this file's own composition alone.\n */\nimport * as Layer from 'effect/Layer';\nimport { type CaddyTransport, caddyAdminLayer } from './admin.ts';\nimport { CaddyConfigProvider } from './config.ts';\nimport { localCaddyAdmin } from './local-admin.ts';\n\nexport const caddyProviders = (transport: CaddyTransport = localCaddyAdmin()) =>\n CaddyConfigProvider().pipe(Layer.provideMerge(caddyAdminLayer(transport)));\n",
@@ -36,6 +36,6 @@
36
36
  "/**\n * HostFile's read / diff / reconcile / delete as plain async functions over a HostRunner, so the\n * lifecycle runs against fake-runner.ts in tests.\n *\n * ★ THE CONVERGENCE ITSELF IS file-converge.ts, shared with every resource that owns one whole file\n * (Release.Binary is the second). What stays here is what makes a HOST FILE: text content, its\n * validation (never a secret — host-file-form.ts), and the refusal wording `Host.File <path>: …`.\n * ⛔ SYMLINKS AND DIRECTORIES ARE REFUSED, NOT REPLACED — see file-converge.ts for why.\n */\nimport type { Diff } from 'alchemy/Diff';\nimport {\n type FileTarget,\n convergeFile,\n diffTarget,\n removeWholeFile,\n resolveIds,\n} from './file-converge.ts';\nimport {\n DEFAULT_MODE,\n type HostFileAttributes,\n type HostFileProps,\n fileProblems,\n} from './host-file-form.ts';\nimport { sha256Hex } from './job-form.ts';\nimport type { HostRunner } from './runner.ts';\n\nexport { readFileAttributes } from './file-converge.ts';\n\ntype Desired = FileTarget & { readonly bytes: Uint8Array };\n\nconst refuse = (path: string, message: string): Error => new Error(`Host.File ${path}: ${message}`);\n\n/** Validate, then resolve owner/group names to ids through the runner. */\nexport const desiredFile = async (runner: HostRunner, props: HostFileProps): Promise<Desired> => {\n const found = fileProblems(props);\n if (found.length > 0) throw refuse(props.path, found.join('; '));\n const bytes = new TextEncoder().encode(props.content);\n return {\n bytes,\n mode: props.mode ?? DEFAULT_MODE,\n path: props.path,\n sha256: sha256Hex(bytes),\n ...(await resolveIds(runner, props, props.path, refuse)),\n };\n};\n\n/** Declared digest, mode and owner against state and the live file — see diffTarget. */\nexport const diffFile = async (\n runner: HostRunner,\n news: HostFileProps,\n output: HostFileAttributes,\n): Promise<Diff> => diffTarget(runner, await desiredFile(runner, news), output);\n\n/**\n * Write the declared text, unless the file already matches. `adopt` is adoptsAtApply's answer;\n * what it may and may not take over is convergeFile's ⛔.\n */\nexport const reconcileFile = async (\n runner: HostRunner,\n props: HostFileProps,\n output?: HostFileAttributes,\n adopt = false,\n): Promise<HostFileAttributes> => {\n const want = await desiredFile(runner, props);\n const spec = { bytesFor: async () => want.bytes, owner: props.owner, refuse, want };\n return convergeFile(runner, spec, output, adopt);\n};\n\n/** Remove the file. Idempotent. ⛔ Refuses a path that has since become a symlink or directory. */\nexport const deleteFile = (runner: HostRunner, output: HostFileAttributes): Promise<void> =>\n removeWholeFile(runner, output, refuse);\n"
37
37
  ],
38
38
  "mappings": ";AAoBA,IAAM,uBAAuB,CAAC,kBAAkB,cAAc;AA6B9D,IAAM,WAAW,IAAI,IAAI,CAAC,aAAa,aAAa,OAAO,OAAO,CAAC;AAQnE,IAAM,SAAS,CAAC,aAA6B;AAAA,EAC3C,MAAM,UAAU,SAAS,QAAQ,gBAAgB,EAAE;AAAA,EACnD,IAAI,QAAQ,WAAW,OAAO;AAAA,IAAG,OAAO;AAAA,EAGxC,IAAI,QAAQ,WAAW,GAAG;AAAA,IAAG,OAAO,QAAQ,MAAM,GAAG,QAAQ,QAAQ,GAAG,IAAI,CAAC;AAAA,EAE7E,MAAM,QAAQ,QAAQ,QAAQ,GAAG;AAAA,EACjC,OAAO,UAAU,KAAK,UAAU,QAAQ,MAAM,GAAG,KAAK;AAAA;AAGjD,IAAM,mBAAmB,CAAC,aAA+B;AAAA,EAC9D,MAAM,QAAkB,CAAC;AAAA,EACzB,MAAM,OAAO,OAAO,SAAS,KAAK,CAAC;AAAA,EAEnC,IAAI,SAAS,KAAK,MAAM;AAAA,IAAI,MAAM,KAAK,mBAAmB;AAAA,EACrD,SAAI,SAAS,UAAU,CAAC,SAAS,IAAI,IAAI,GAAG;AAAA,IAC/C,MAAM,KACJ,mDAAmD,gDACrD;AAAA,EACF;AAAA,EACA,OAA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AAE,KAAK,YAAY,OAAO,CAAC,GAAG,CAAC,UAC1D,KAAK,MAAM,cAAc,QAAQ,MAAM,QAAQ,KAAK,CAAC,CACvD;AAAA,IAEF,QAAQ,GAAG,aAAa,KAAK,MAAM,WAAW,QAAQ,MAAM,CAAC;AAAA,EAC/D,CAAC;AAAA,CACF,CACH;;;AD5BK,IAAM,gBAAgB,CAAC,IAAY,UACjC,aAAI,UAAU,GAAG;AAAA,EACtB,MAAM,QAAQ,eAAe,EAAE,WAAW,MAAM,WAAW,YAAY,MAAM,KAAK,CAAC;AAAA,EACnF,IAAI,MAAM,SAAS,GAAG;AAAA,IACpB,OAAO,OAAc,cAAK,IAAI,MAAM,iBAAiB,OAAO,MAAM,KAAK,IAAI,GAAG,CAAC;AAAA,EACjF;AAAA,EACA,MAAM,OAAO,OAAO,SAAS,GAAG,WAAW;AAAA,IACzC,SAAS,MAAM;AAAA,IACf,MAAM,MAAM,QAAQ;AAAA,IACpB,MAAM,MAAM;AAAA,OACR,MAAM,UAAU,YAAY,CAAC,IAAI,EAAE,OAAO,MAAM,MAAM;AAAA,OACtD,MAAM,UAAU,YAAY,CAAC,IAAI,EAAE,OAAO,MAAM,MAAM;AAAA,EAC5D,CAAC,EAAE,KAAmB,qBAAO,CAAC;AAAA,EAC9B,MAAM,SAAS,OAAO,YAAY,IAAI,EAAE,WAAW,MAAM,WAAW,YAAY,KAAK,KAAK,CAAC;AAAA,EAC3F,OAAO,EAAE,QAAQ,KAAK;AAAA,CACvB;",
39
- "debugId": "0F44BF8B422950FD64756E2164756E21",
39
+ "debugId": "A4890D1A8DCAD67064756E2164756E21",
40
40
  "names": []
41
41
  }
@@ -22,7 +22,7 @@
22
22
  */
23
23
  import { Resource } from 'alchemy';
24
24
  import * as Provider from 'alchemy/Provider';
25
- import type * as HttpClient from 'effect/unstable/http/HttpClient';
25
+ import type * as HttpClient from 'effect/http/HttpClient';
26
26
  import type { CephAuthEntityAttributes, CephAuthEntityProps } from './ceph-auth-form.ts';
27
27
  export type { CephAuthEntityAttributes, CephAuthEntityProps } from './ceph-auth-form.ts';
28
28
  export type { CephCaps } from './ceph-auth-parse.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"auth-entity.d.ts","sourceRoot":"","sources":["../../src/ceph/auth-entity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,KAAK,UAAU,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAIzF,YAAY,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACzF,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,WAAW,cAAe,SAAQ,QAAQ,CAC9C,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,KAAK,EACL,UAAU,CAAC,UAAU,CACtB;CAAG;AAEJ,mGAAmG;AACnG,eAAO,MAAM,cAAc,iDAEzB,CAAC;AASH,eAAO,MAAM,sBAAsB,qGAmBhC,CAAC"}
1
+ {"version":3,"file":"auth-entity.d.ts","sourceRoot":"","sources":["../../src/ceph/auth-entity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAIzF,YAAY,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACzF,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,WAAW,cAAe,SAAQ,QAAQ,CAC9C,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,KAAK,EACL,UAAU,CAAC,UAAU,CACtB;CAAG;AAEJ,mGAAmG;AACnG,eAAO,MAAM,cAAc,iDAEzB,CAAC;AASH,eAAO,MAAM,sBAAsB,qGAmBhC,CAAC"}
@@ -27,7 +27,7 @@
27
27
  * (openbao/rename-identity.ts) runs first in every `Bao.*` reconcile.
28
28
  */
29
29
  import * as Effect from 'effect/Effect';
30
- import type * as HttpClient from 'effect/unstable/http/HttpClient';
30
+ import type * as HttpClient from 'effect/http/HttpClient';
31
31
  import { type CephAuthEntityAttributes, type CephAuthEntityProps } from './ceph-auth-form.ts';
32
32
  import { type CephTransportOptions } from './ceph-transport.ts';
33
33
  export type CephAuthDeps = Pick<CephTransportOptions, 'dial' | 'log'>;
@@ -1 +1 @@
1
- {"version":3,"file":"ceph-auth-reconcile.d.ts","sourceRoot":"","sources":["../../src/ceph/ceph-auth-reconcile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,UAAU,MAAM,iCAAiC,CAAC;AAKnE,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EAKzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,oBAAoB,EAAqC,MAAM,qBAAqB,CAAC;AAEnG,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,KAAK,CAAC,CAAC;AA2BtE,eAAO,MAAM,uBAAuB,UAC3B,mBAAmB,UAClB,wBAAwB,GAAG,SAAS,QACtC,YAAY,KACjB,MAAM,CAAC,MAAM,CAAC,wBAAwB,EAAE,KAAK,EAAE,UAAU,CAAC,UAAU,CA2CnE,CAAC"}
1
+ {"version":3,"file":"ceph-auth-reconcile.d.ts","sourceRoot":"","sources":["../../src/ceph/ceph-auth-reconcile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAK1D,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EAKzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,oBAAoB,EAAqC,MAAM,qBAAqB,CAAC;AAEnG,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,KAAK,CAAC,CAAC;AA2BtE,eAAO,MAAM,uBAAuB,UAC3B,mBAAmB,UAClB,wBAAwB,GAAG,SAAS,QACtC,YAAY,KACjB,MAAM,CAAC,MAAM,CAAC,wBAAwB,EAAE,KAAK,EAAE,UAAU,CAAC,UAAU,CA2CnE,CAAC"}
@@ -51,10 +51,10 @@ import * as Effect from "effect/Effect";
51
51
  import * as Option from "effect/Option";
52
52
  import * as Schedule from "effect/Schedule";
53
53
  import * as Semaphore from "effect/Semaphore";
54
- import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
55
- import * as Headers from "effect/unstable/http/Headers";
56
- import * as HttpClient from "effect/unstable/http/HttpClient";
57
- import * as HttpClientRequest from "effect/unstable/http/HttpClientRequest";
54
+ import * as FetchHttpClient from "effect/http/FetchHttpClient";
55
+ import * as Headers from "effect/http/Headers";
56
+ import * as HttpClient from "effect/http/HttpClient";
57
+ import * as HttpClientRequest from "effect/http/HttpClientRequest";
58
58
 
59
59
  // src/openbao/bao-address.ts
60
60
  var DEFAULT_ADDRESS = "https://127.0.0.1:8200";
@@ -1606,5 +1606,5 @@ export {
1606
1606
  sshCephDial
1607
1607
  };
1608
1608
 
1609
- //# debugId=F48B4427B482AF6B64756E2164756E21
1609
+ //# debugId=9CE9ABE5EAEA3BE264756E2164756E21
1610
1610
  //# sourceMappingURL=index.js.map