@cmmd-center/forge 0.9.3 → 0.9.5

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 (461) hide show
  1. package/dist/{BunHttpServer-Dc5XijQF.mjs → BunHttpServer-BgNCpQzV.mjs} +2 -2
  2. package/dist/{BunHttpServer-Cuya1Zon.cjs → BunHttpServer-DOAuw4Iq.cjs} +2 -2
  3. package/dist/{BunPTY-z9OKvyBo.cjs → BunPTY-2icf7sRj.cjs} +2 -2
  4. package/dist/{BunPTY-CfS5zDoQ.mjs → BunPTY-D-Klry5N.mjs} +2 -2
  5. package/dist/{BunServices-eq_c-3x1.mjs → BunServices-ChM4mYH9.mjs} +1 -1
  6. package/dist/{BunServices-khEuvPaA.cjs → BunServices-CiNXNzHD.cjs} +1 -1
  7. package/dist/Mime-BITO-E1U.mjs +1395 -0
  8. package/dist/Mime-CyHbecis.cjs +1400 -0
  9. package/dist/{Mime-B75_d9aw.mjs → NodeHttpServer-C_wePPV0.mjs} +614 -1456
  10. package/dist/{Mime-aSilaQX9.cjs → NodeHttpServer-D_ismXpd.cjs} +617 -1466
  11. package/dist/{NodePTY-ChjVFpUH.mjs → NodePTY-BMUFdM93.mjs} +2 -2
  12. package/dist/{NodePTY-BOaJi0JA.cjs → NodePTY-cb7HIasY.cjs} +2 -2
  13. package/dist/{NodeSqliteClient-GlgGqc8V.mjs → NodeSqliteClient-OdI1TawL.mjs} +1 -1
  14. package/dist/{NodeSqliteClient-Vunn3aFN.cjs → NodeSqliteClient-SsUCk9mA.cjs} +1 -1
  15. package/dist/{PTY-rn2kGjhB.mjs → PTY-CBkE5akF.mjs} +1 -1
  16. package/dist/{PTY-D5OpMK9s.cjs → PTY-U3JQnLXS.cjs} +1 -1
  17. package/dist/{SqliteClient-Bpkno4Ob.cjs → SqliteClient-CdAhI4lb.cjs} +1 -1
  18. package/dist/{SqliteClient-DYQAvreq.mjs → SqliteClient-aoOb51gB.mjs} +1 -1
  19. package/dist/bin.cjs +14484 -10871
  20. package/dist/bin.mjs +14667 -11052
  21. package/dist/client/apple-touch-icon.png +0 -0
  22. package/dist/client/apple-touch-icon.png.publish-bak +0 -0
  23. package/dist/client/assets/CanvasPanel-BIN3OTEQ.js +441 -0
  24. package/dist/client/assets/CompositeItem-UKxcvvWv.js +2 -0
  25. package/dist/client/assets/DiffPanel-CeuRaSj1.js +64 -0
  26. package/dist/client/assets/DiffPanel.logic-D5i9QswQ.js +21 -0
  27. package/dist/client/assets/DiffPanelShell-W5nEVL52.js +2531 -0
  28. package/dist/client/assets/DiffWorkerPoolProvider-D87CO5TY.js +73 -0
  29. package/dist/client/assets/PullRequestCodePanel-DAmHwtY9.js +5 -0
  30. package/dist/client/assets/Stream-CToP6xzI.js +15 -0
  31. package/dist/client/assets/Virtualizer-CnwVHiy3.js +2 -0
  32. package/dist/client/assets/__vite-browser-external-DkEyUtaV.js +2 -0
  33. package/dist/client/assets/abap-kWSt4ETq.js +2 -0
  34. package/dist/client/assets/actionscript-3-DUMfZd56.js +2 -0
  35. package/dist/client/assets/ada-B5ZVVI6u.js +2 -0
  36. package/dist/client/assets/andromeeda-DXFdNco6.js +2 -0
  37. package/dist/client/assets/andromeeda-DwmQuk--.js +2 -0
  38. package/dist/client/assets/angular-html-BHUTdQ2k.js +2 -0
  39. package/dist/client/assets/angular-ts-BSGCbJ0j.js +2 -0
  40. package/dist/client/assets/apache-Cu40O3Ol.js +2 -0
  41. package/dist/client/assets/apex-DMPEjfSG.js +2 -0
  42. package/dist/client/assets/apl-BoCi4WkG.js +2 -0
  43. package/dist/client/assets/applescript-mUd3mpyF.js +2 -0
  44. package/dist/client/assets/ara-LhQXZmm_.js +2 -0
  45. package/dist/client/assets/asciidoc-BhTPoeH5.js +2 -0
  46. package/dist/client/assets/asm-BGGwX2ZL.js +2 -0
  47. package/dist/client/assets/astro-BMi5lGMm.js +2 -0
  48. package/dist/client/assets/atomRegistry-Bq5Y4LP1.js +3 -0
  49. package/dist/client/assets/aurora-x-CLgz8jpO.js +2 -0
  50. package/dist/client/assets/aurora-x-DY4EgSB_.js +2 -0
  51. package/dist/client/assets/awk-emAjNmqG.js +2 -0
  52. package/dist/client/assets/ayu-dark-BOsBaLmt.js +2 -0
  53. package/dist/client/assets/ayu-dark-Dm87GVDE.js +2 -0
  54. package/dist/client/assets/ayu-light-CVzS2PQZ.js +2 -0
  55. package/dist/client/assets/ayu-light-nGNJ-WDB.js +2 -0
  56. package/dist/client/assets/ayu-mirage-CionIqJ2.js +2 -0
  57. package/dist/client/assets/ayu-mirage-wUDx3klU.js +2 -0
  58. package/dist/client/assets/ballerina-Zz4P1PCo.js +2 -0
  59. package/dist/client/assets/bat-CojohPr3.js +2 -0
  60. package/dist/client/assets/beancount-DIrDFIbZ.js +2 -0
  61. package/dist/client/assets/berry-BktKISqk.js +2 -0
  62. package/dist/client/assets/bibtex-QuZiL8vO.js +2 -0
  63. package/dist/client/assets/bicep-BBqBjbA3.js +2 -0
  64. package/dist/client/assets/bird2-FrGIamnO.js +2 -0
  65. package/dist/client/assets/blade-CUGHtpnt.js +2 -0
  66. package/dist/client/assets/bsl-Dwz0otKA.js +2 -0
  67. package/dist/client/assets/c-3r97XxSq.js +2 -0
  68. package/dist/client/assets/c3-D-fgrOzJ.js +2 -0
  69. package/dist/client/assets/cadence-53eYIqKQ.js +2 -0
  70. package/dist/client/assets/cairo-Cai_OBhL.js +2 -0
  71. package/dist/client/assets/canvasStateStore-D3R1Ldk1.js +2 -0
  72. package/dist/client/assets/catppuccin-frappe-B9ztfCCY.js +2 -0
  73. package/dist/client/assets/catppuccin-frappe-Dtq86Zt-.js +2 -0
  74. package/dist/client/assets/catppuccin-latte-D1lF_ULk.js +2 -0
  75. package/dist/client/assets/catppuccin-latte-jgmNlGoB.js +2 -0
  76. package/dist/client/assets/catppuccin-macchiato-CcX-f1yB.js +2 -0
  77. package/dist/client/assets/catppuccin-macchiato-DfuKQKcK.js +2 -0
  78. package/dist/client/assets/catppuccin-mocha-B3_lpdvM.js +2 -0
  79. package/dist/client/assets/catppuccin-mocha-DfNnOvvn.js +2 -0
  80. package/dist/client/assets/clarity-DCS2DMlE.js +2 -0
  81. package/dist/client/assets/clojure-XwHeeE37.js +2 -0
  82. package/dist/client/assets/cmake-VIYk9tbe.js +2 -0
  83. package/dist/client/assets/cmmdAuthRedirect-DLvl7JNi.js +2 -0
  84. package/dist/client/assets/cobol-IPhylbE9.js +2 -0
  85. package/dist/client/assets/codeowners-DiTXAskR.js +2 -0
  86. package/dist/client/assets/codeql-0208dEuz.js +2 -0
  87. package/dist/client/assets/coffee-BwGUpF4f.js +2 -0
  88. package/dist/client/assets/common-lisp-Bbk7xLRF.js +2 -0
  89. package/dist/client/assets/coq-CDDZdGGh.js +2 -0
  90. package/dist/client/assets/cpp-jFyTvZsm.js +2 -0
  91. package/dist/client/assets/crystal-DYkQl9zO.js +2 -0
  92. package/dist/client/assets/csharp-Dausz59m.js +2 -0
  93. package/dist/client/assets/css-jXIxCbs3.js +2 -0
  94. package/dist/client/assets/csv-e2HVQau9.js +2 -0
  95. package/dist/client/assets/cue-BMgE_xju.js +2 -0
  96. package/dist/client/assets/cypher-CA95tXqi.js +2 -0
  97. package/dist/client/assets/d-DeO2qMKQ.js +2 -0
  98. package/dist/client/assets/dark-plus-DaoBxEuI.js +2 -0
  99. package/dist/client/assets/dark-plus-hlEOAUn6.js +2 -0
  100. package/dist/client/assets/dart-_9gbW0uG.js +2 -0
  101. package/dist/client/assets/dax-BMSB_urL.js +2 -0
  102. package/dist/client/assets/desktop-CFWOIXtS.js +2 -0
  103. package/dist/client/assets/diff-K3NAzB5h.js +2 -0
  104. package/dist/client/assets/docker-BHQx5Ff2.js +2 -0
  105. package/dist/client/assets/dotenv-CkiqXLC8.js +2 -0
  106. package/dist/client/assets/dracula-C9rp4fWn.js +2 -0
  107. package/dist/client/assets/dracula-CIJxKfwh.js +2 -0
  108. package/dist/client/assets/dracula-soft-BN-taJLQ.js +2 -0
  109. package/dist/client/assets/dracula-soft-De1wWQ_v.js +2 -0
  110. package/dist/client/assets/dream-maker-BM-H3AID.js +2 -0
  111. package/dist/client/assets/edge-CVf1J8H7.js +2 -0
  112. package/dist/client/assets/elixir-DtWV_YYF.js +2 -0
  113. package/dist/client/assets/elm-BJC2NMzB.js +2 -0
  114. package/dist/client/assets/emacs-lisp-BBM_ORbk.js +2 -0
  115. package/dist/client/assets/erb-cwYn0k3w.js +2 -0
  116. package/dist/client/assets/erlang-QNS0KA0S.js +2 -0
  117. package/dist/client/assets/everforest-dark-BSYmfNnp.js +2 -0
  118. package/dist/client/assets/everforest-dark-DUW3cHBn.js +2 -0
  119. package/dist/client/assets/everforest-light-CXyS_8Pc.js +2 -0
  120. package/dist/client/assets/everforest-light-DR-OhbXr.js +2 -0
  121. package/dist/client/assets/fennel-CAUJGoSU.js +2 -0
  122. package/dist/client/assets/fish-Cgln2BIC.js +2 -0
  123. package/dist/client/assets/fluent-BFL910sE.js +2 -0
  124. package/dist/client/assets/fortran-fixed-form-GNS6k7js.js +2 -0
  125. package/dist/client/assets/fortran-free-form-DB-siuqX.js +2 -0
  126. package/dist/client/assets/fsharp-BEjSdIee.js +2 -0
  127. package/dist/client/assets/gdresource-D24f9BeL.js +2 -0
  128. package/dist/client/assets/gdscript-Bq5ZYHDh.js +2 -0
  129. package/dist/client/assets/gdshader-BWxXiThj.js +2 -0
  130. package/dist/client/assets/genie-BOcsPMcn.js +2 -0
  131. package/dist/client/assets/gherkin-pSvoetjt.js +2 -0
  132. package/dist/client/assets/git-commit-Ddcy2Rzd.js +2 -0
  133. package/dist/client/assets/git-rebase-95AHstHI.js +2 -0
  134. package/dist/client/assets/github-dark-BbHkogeI.js +2 -0
  135. package/dist/client/assets/github-dark-D1nTcH4E.js +2 -0
  136. package/dist/client/assets/github-dark-default-Cgu-j31c.js +2 -0
  137. package/dist/client/assets/github-dark-default-CwMUtNVn.js +2 -0
  138. package/dist/client/assets/github-dark-dimmed-BmSK4vhs.js +2 -0
  139. package/dist/client/assets/github-dark-dimmed-CQVfITf-.js +2 -0
  140. package/dist/client/assets/github-dark-high-contrast-8_9Rbsic.js +2 -0
  141. package/dist/client/assets/github-dark-high-contrast-BO-0858k.js +2 -0
  142. package/dist/client/assets/github-light-DWIA8Fx_.js +2 -0
  143. package/dist/client/assets/github-light-default-CR0FtjVb.js +2 -0
  144. package/dist/client/assets/github-light-default-LLPbqR-K.js +2 -0
  145. package/dist/client/assets/github-light-high-contrast-5o8qRjCb.js +2 -0
  146. package/dist/client/assets/github-light-high-contrast-C8BCDz6a.js +2 -0
  147. package/dist/client/assets/github-light-lCcn0xRl.js +2 -0
  148. package/dist/client/assets/gleam-DPm9Zc9U.js +2 -0
  149. package/dist/client/assets/glimmer-js-Cjwf-Ijv.js +2 -0
  150. package/dist/client/assets/glimmer-ts-DXnOWlZf.js +2 -0
  151. package/dist/client/assets/glsl-iXGbnqIU.js +2 -0
  152. package/dist/client/assets/gn-DEuV1her.js +2 -0
  153. package/dist/client/assets/gnuplot-CqGlKjK6.js +2 -0
  154. package/dist/client/assets/go-mptU-yl2.js +2 -0
  155. package/dist/client/assets/graphql-DJMVZQv3.js +2 -0
  156. package/dist/client/assets/groovy-CKg5KWq9.js +2 -0
  157. package/dist/client/assets/gruvbox-dark-hard-Df4rfbxN.js +2 -0
  158. package/dist/client/assets/gruvbox-dark-hard-DsK6pQOr.js +2 -0
  159. package/dist/client/assets/gruvbox-dark-medium-nlSbDtaA.js +2 -0
  160. package/dist/client/assets/gruvbox-dark-medium-zSmEeDKP.js +2 -0
  161. package/dist/client/assets/gruvbox-dark-soft-BSW4a3D0.js +2 -0
  162. package/dist/client/assets/gruvbox-dark-soft-DgI1MxVf.js +2 -0
  163. package/dist/client/assets/gruvbox-light-hard-D144A6HZ.js +2 -0
  164. package/dist/client/assets/gruvbox-light-hard-DMNoHzNU.js +2 -0
  165. package/dist/client/assets/gruvbox-light-medium-C0B0NCuj.js +2 -0
  166. package/dist/client/assets/gruvbox-light-medium-CY2MDbN0.js +2 -0
  167. package/dist/client/assets/gruvbox-light-soft-CWJ8aP9f.js +2 -0
  168. package/dist/client/assets/gruvbox-light-soft-CyPlqRD8.js +2 -0
  169. package/dist/client/assets/hack-CkGKtoya.js +2 -0
  170. package/dist/client/assets/haml-mV-E4efJ.js +2 -0
  171. package/dist/client/assets/handlebars-Da6i86YE.js +2 -0
  172. package/dist/client/assets/haskell-DFWkJmsd.js +2 -0
  173. package/dist/client/assets/haxe-DoXg9N2w.js +2 -0
  174. package/dist/client/assets/hcl-VbcvLW6X.js +2 -0
  175. package/dist/client/assets/hjson-dQ--SYg9.js +2 -0
  176. package/dist/client/assets/hlsl-DNh8NDKB.js +2 -0
  177. package/dist/client/assets/horizon-BeufL1QP.js +2 -0
  178. package/dist/client/assets/horizon-CnOil3H1.js +2 -0
  179. package/dist/client/assets/horizon-bright-BoFfNO4u.js +2 -0
  180. package/dist/client/assets/horizon-bright-CJCE-DcQ.js +2 -0
  181. package/dist/client/assets/houston-C5_OTP91.js +2 -0
  182. package/dist/client/assets/houston-jaZUvSzs.js +2 -0
  183. package/dist/client/assets/html-derivative-BOw7yS3Z.js +2 -0
  184. package/dist/client/assets/html-e1ppUAVa.js +2 -0
  185. package/dist/client/assets/html2canvas-C_LL7spC.js +6 -0
  186. package/dist/client/assets/http-DFrMFVWs.js +2 -0
  187. package/dist/client/assets/hurl-3N2UscjA.js +2 -0
  188. package/dist/client/assets/hxml-Ip0yb8dg.js +2 -0
  189. package/dist/client/assets/hy-Bg-RIaMc.js +2 -0
  190. package/dist/client/assets/imba-BjZ9NRcj.js +2 -0
  191. package/dist/client/assets/index-Dr7HwjTE.css +1 -0
  192. package/dist/client/assets/index-DyEYqQdf.js +151 -0
  193. package/dist/client/assets/index.es-piUKIQw4.js +6 -0
  194. package/dist/client/assets/ini-CXagdQO9.js +2 -0
  195. package/dist/client/assets/java-DY6ZSujp.js +2 -0
  196. package/dist/client/assets/javascript-BfTuFzbs.js +2 -0
  197. package/dist/client/assets/jinja-C4NVx4X-.js +2 -0
  198. package/dist/client/assets/jison-BaE4DrvM.js +2 -0
  199. package/dist/client/assets/json-LL0kLbs_.js +2 -0
  200. package/dist/client/assets/json5-B1LcXsA8.js +2 -0
  201. package/dist/client/assets/jsonc-CYSDka7c.js +2 -0
  202. package/dist/client/assets/jsonl-CwfwQmvE.js +2 -0
  203. package/dist/client/assets/jsonnet-DG_zYewp.js +2 -0
  204. package/dist/client/assets/jspdf.es.min-_OjqfV_L.js +80 -0
  205. package/dist/client/assets/jssm-IkACsEzj.js +2 -0
  206. package/dist/client/assets/jsx-BOBg7x46.js +2 -0
  207. package/dist/client/assets/julia-D5dobu9Y.js +2 -0
  208. package/dist/client/assets/just-D99ddsWv.js +2 -0
  209. package/dist/client/assets/kanagawa-dragon-BBUl63AF.js +2 -0
  210. package/dist/client/assets/kanagawa-dragon-CBGy-6ik.js +2 -0
  211. package/dist/client/assets/kanagawa-lotus-BKY9TlU3.js +2 -0
  212. package/dist/client/assets/kanagawa-lotus-D93oLQjR.js +2 -0
  213. package/dist/client/assets/kanagawa-wave-CWf0rFWt.js +2 -0
  214. package/dist/client/assets/kanagawa-wave-CZBJ3hQh.js +2 -0
  215. package/dist/client/assets/kdl-DuytcvNV.js +2 -0
  216. package/dist/client/assets/kotlin-DmtnKz6Z.js +2 -0
  217. package/dist/client/assets/kusto-DmrVjfae.js +2 -0
  218. package/dist/client/assets/laserwave-DTzUwFmi.js +2 -0
  219. package/dist/client/assets/laserwave-NRABVcaO.js +2 -0
  220. package/dist/client/assets/latex-0e5rhe9m.js +2 -0
  221. package/dist/client/assets/lean-Bhkhoed1.js +2 -0
  222. package/dist/client/assets/less-BgyohKqc.js +2 -0
  223. package/dist/client/assets/light-plus-Cbc9ZUH4.js +2 -0
  224. package/dist/client/assets/light-plus-SK-KfMAV.js +2 -0
  225. package/dist/client/assets/liquid-BR35Xk1k.js +2 -0
  226. package/dist/client/assets/llvm-BtFJuFOJ.js +2 -0
  227. package/dist/client/assets/log-Df3M8ERB.js +2 -0
  228. package/dist/client/assets/logo-VfSEjTs6.js +2 -0
  229. package/dist/client/assets/lua-BMt4EqAw.js +2 -0
  230. package/dist/client/assets/luau-DIHOVG2A.js +2 -0
  231. package/dist/client/assets/make-gTMDFaMm.js +2 -0
  232. package/dist/client/assets/markdown-B_5il8S2.js +2 -0
  233. package/dist/client/assets/marko-DN4rLggA.js +2 -0
  234. package/dist/client/assets/material-theme-Pm6m-Kzc.js +2 -0
  235. package/dist/client/assets/material-theme-darker-BxFgxa9U.js +2 -0
  236. package/dist/client/assets/material-theme-darker-pKUQPx9-.js +2 -0
  237. package/dist/client/assets/material-theme-lighter-BLqni5my.js +2 -0
  238. package/dist/client/assets/material-theme-lighter-D6-26WhM.js +2 -0
  239. package/dist/client/assets/material-theme-ocean-C2N-nFlu.js +2 -0
  240. package/dist/client/assets/material-theme-ocean-DCxzET3l.js +2 -0
  241. package/dist/client/assets/material-theme-palenight-DyQqRTLL.js +2 -0
  242. package/dist/client/assets/material-theme-palenight-Y14J3SJp.js +2 -0
  243. package/dist/client/assets/material-theme-zfTX2d95.js +2 -0
  244. package/dist/client/assets/matlab-B2zVSjQq.js +2 -0
  245. package/dist/client/assets/mdc-kokCuEO8.js +2 -0
  246. package/dist/client/assets/mdx-CL7pLDiG.js +2 -0
  247. package/dist/client/assets/mermaid-Cou83ohU.js +2 -0
  248. package/dist/client/assets/min-dark-Bg1kQHvJ.js +2 -0
  249. package/dist/client/assets/min-dark-BhN4iMRs.js +2 -0
  250. package/dist/client/assets/min-light-BjU80CRL.js +2 -0
  251. package/dist/client/assets/min-light-Bw9u-P_u.js +2 -0
  252. package/dist/client/assets/mipsasm-CNFOlV7Y.js +2 -0
  253. package/dist/client/assets/module-fAFg92om.js +4 -0
  254. package/dist/client/assets/mojo-DmJMpmxj.js +2 -0
  255. package/dist/client/assets/monokai-C4NNjw1j.js +2 -0
  256. package/dist/client/assets/monokai-DIfgn9Q6.js +2 -0
  257. package/dist/client/assets/moonbit-f-DlcHvh.js +2 -0
  258. package/dist/client/assets/move-3UEJ-86q.js +2 -0
  259. package/dist/client/assets/narrat-BSySVkso.js +2 -0
  260. package/dist/client/assets/nextflow-B6YiVxNF.js +2 -0
  261. package/dist/client/assets/nextflow-groovy-CJM1tnxB.js +2 -0
  262. package/dist/client/assets/nginx-yFGqgywB.js +2 -0
  263. package/dist/client/assets/night-owl-CVqrHJ7c.js +2 -0
  264. package/dist/client/assets/night-owl-M-9PEzO3.js +2 -0
  265. package/dist/client/assets/night-owl-light-BFLAfCgh.js +2 -0
  266. package/dist/client/assets/night-owl-light-CbICj08I.js +2 -0
  267. package/dist/client/assets/nim-H0r8m4Bj.js +2 -0
  268. package/dist/client/assets/nix-D01-yy0s.js +2 -0
  269. package/dist/client/assets/nord-DdQ2eXb7.js +2 -0
  270. package/dist/client/assets/nord-b31BpoFd.js +2 -0
  271. package/dist/client/assets/nushell-CHtjMTHK.js +2 -0
  272. package/dist/client/assets/objective-c-CpnACn2A.js +2 -0
  273. package/dist/client/assets/objective-cpp-CC37zF8s.js +2 -0
  274. package/dist/client/assets/ocaml-zEzf7VRa.js +2 -0
  275. package/dist/client/assets/odin-7LfNaizd.js +2 -0
  276. package/dist/client/assets/one-dark-pro-D7GXMkD_.js +2 -0
  277. package/dist/client/assets/one-dark-pro-DZNXQIff.js +2 -0
  278. package/dist/client/assets/one-light-D0m2woYU.js +2 -0
  279. package/dist/client/assets/one-light-vpvEwBNE.js +2 -0
  280. package/dist/client/assets/openscad-alCnkqb3.js +2 -0
  281. package/dist/client/assets/pascal-BzxE7FG0.js +2 -0
  282. package/dist/client/assets/perl-DMfQlGhS.js +2 -0
  283. package/dist/client/assets/php-eC0_nfgu.js +2 -0
  284. package/dist/client/assets/pierre-dark-C8scyjTE.js +2 -0
  285. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-DjjI5tLG.js +2 -0
  286. package/dist/client/assets/pierre-dark-soft-U4k3hSAg.js +2 -0
  287. package/dist/client/assets/pierre-dark-tritanopia-CwldMLve.js +2 -0
  288. package/dist/client/assets/pierre-dark-vibrant-CbqW77RL.js +2 -0
  289. package/dist/client/assets/pierre-light-CRazXHrY.js +2 -0
  290. package/dist/client/assets/pierre-light-protanopia-deuteranopia-C-0-s32M.js +2 -0
  291. package/dist/client/assets/pierre-light-soft-CeMgeGD-.js +2 -0
  292. package/dist/client/assets/pierre-light-tritanopia-CwP7kaEp.js +2 -0
  293. package/dist/client/assets/pierre-light-vibrant-BRw7kdwa.js +2 -0
  294. package/dist/client/assets/pkl-B_4Y3aQj.js +2 -0
  295. package/dist/client/assets/plastic-7ebP7j7m.js +2 -0
  296. package/dist/client/assets/plastic-BxJ4wlPp.js +2 -0
  297. package/dist/client/assets/plsql-Vnj6O-p2.js +2 -0
  298. package/dist/client/assets/po-BDEiW-In.js +2 -0
  299. package/dist/client/assets/poimandres-CjxvpNV1.js +2 -0
  300. package/dist/client/assets/poimandres-DaajSABO.js +2 -0
  301. package/dist/client/assets/polar-DkeS43LD.js +2 -0
  302. package/dist/client/assets/postcss-BdW9ckpW.js +2 -0
  303. package/dist/client/assets/powerquery-Ck_tTsxM.js +2 -0
  304. package/dist/client/assets/powershell-CSE_7mny.js +2 -0
  305. package/dist/client/assets/preload-helper-2nxZ5jlD.js +1 -0
  306. package/dist/client/assets/prisma-Bo0mLS5-.js +2 -0
  307. package/dist/client/assets/prolog-BKKH5B6F.js +2 -0
  308. package/dist/client/assets/proto-CQGfqf21.js +2 -0
  309. package/dist/client/assets/pug-CdkPd3m5.js +2 -0
  310. package/dist/client/assets/puppet-CMQRMMTw.js +2 -0
  311. package/dist/client/assets/purescript-CCcyGQO2.js +2 -0
  312. package/dist/client/assets/purify.es-BOhOJYGt.js +3 -0
  313. package/dist/client/assets/python-DMPOlDIf.js +2 -0
  314. package/dist/client/assets/qml-CjgSvi7A.js +2 -0
  315. package/dist/client/assets/qmldir-WCdsq__X.js +2 -0
  316. package/dist/client/assets/qss-AtgwhOez.js +2 -0
  317. package/dist/client/assets/r-CyfaTtPo.js +2 -0
  318. package/dist/client/assets/racket-BChN0yKc.js +2 -0
  319. package/dist/client/assets/raku-y2whvo3i.js +2 -0
  320. package/dist/client/assets/razor-xg0jlt5d.js +2 -0
  321. package/dist/client/assets/red-4ASUbyQz.js +2 -0
  322. package/dist/client/assets/red-FUTSeuNn.js +2 -0
  323. package/dist/client/assets/reg-Vw5mc10D.js +2 -0
  324. package/dist/client/assets/regexp-DNjghFOM.js +2 -0
  325. package/dist/client/assets/rel-B7yBab0H.js +2 -0
  326. package/dist/client/assets/riscv-CoVA6mXv.js +2 -0
  327. package/dist/client/assets/rolldown-runtime-BeQ30c1w.js +1 -0
  328. package/dist/client/assets/ron-Dncoj8f2.js +2 -0
  329. package/dist/client/assets/rose-pine-BYqQazSr.js +2 -0
  330. package/dist/client/assets/rose-pine-DKVJldI6.js +2 -0
  331. package/dist/client/assets/rose-pine-dawn-BzAj1SA_.js +2 -0
  332. package/dist/client/assets/rose-pine-dawn-DpMWSJny.js +2 -0
  333. package/dist/client/assets/rose-pine-moon-BF7RtPma.js +2 -0
  334. package/dist/client/assets/rose-pine-moon-Buv_ZumG.js +2 -0
  335. package/dist/client/assets/rosmsg-DMM9gQ6F.js +2 -0
  336. package/dist/client/assets/rst-DUzGXO8S.js +2 -0
  337. package/dist/client/assets/ruby-rVw1KmtO.js +2 -0
  338. package/dist/client/assets/rust-Do9fnzCe.js +2 -0
  339. package/dist/client/assets/sas-DqCEPep6.js +2 -0
  340. package/dist/client/assets/sass-C-AYCcFv.js +2 -0
  341. package/dist/client/assets/scala-g1Tl2-Vx.js +2 -0
  342. package/dist/client/assets/scheme-DMNTmmtl.js +2 -0
  343. package/dist/client/assets/scss-DUVpCPFS.js +2 -0
  344. package/dist/client/assets/sdbl-DN-YwBSp.js +2 -0
  345. package/dist/client/assets/shaderlab-CU1ngQGv.js +2 -0
  346. package/dist/client/assets/shellscript-DhExEfAl.js +2 -0
  347. package/dist/client/assets/shellsession-BRLd459R.js +2 -0
  348. package/dist/client/assets/slack-dark-CHVebfsv.js +2 -0
  349. package/dist/client/assets/slack-dark-DsHK2SW9.js +2 -0
  350. package/dist/client/assets/slack-ochin-DLRnnjq1.js +2 -0
  351. package/dist/client/assets/slack-ochin-auUeui07.js +2 -0
  352. package/dist/client/assets/smalltalk-DfTqE6NI.js +2 -0
  353. package/dist/client/assets/snazzy-light-DYCniS15.js +2 -0
  354. package/dist/client/assets/snazzy-light-DcJ4c2TI.js +2 -0
  355. package/dist/client/assets/solarized-dark-C2M3A6iX.js +2 -0
  356. package/dist/client/assets/solarized-dark-f_BlEcC2.js +2 -0
  357. package/dist/client/assets/solarized-light-DGdaihLk.js +2 -0
  358. package/dist/client/assets/solarized-light-p0lk9NUw.js +2 -0
  359. package/dist/client/assets/solidity-UrsYApv4.js +2 -0
  360. package/dist/client/assets/soy-B2el7XDq.js +2 -0
  361. package/dist/client/assets/sparql-Ckg9aAAq.js +2 -0
  362. package/dist/client/assets/splunk-BbdNC7mF.js +2 -0
  363. package/dist/client/assets/sql-DiDaRjp9.js +2 -0
  364. package/dist/client/assets/src-pwcrD9wg.js +3 -0
  365. package/dist/client/assets/ssh-config-NaDpXiNE.js +2 -0
  366. package/dist/client/assets/stata-C71yNzqX.js +2 -0
  367. package/dist/client/assets/stylus-BmDWwNjA.js +2 -0
  368. package/dist/client/assets/surrealql-Cmypmwl2.js +2 -0
  369. package/dist/client/assets/svelte-VS6niI_T.js +2 -0
  370. package/dist/client/assets/swift-C69NyPuQ.js +2 -0
  371. package/dist/client/assets/synthwave-84-2NxBVDLO.js +2 -0
  372. package/dist/client/assets/synthwave-84-CVwMZOby.js +2 -0
  373. package/dist/client/assets/system-verilog-DJk0s1jv.js +2 -0
  374. package/dist/client/assets/systemd-CcQAXEZ9.js +2 -0
  375. package/dist/client/assets/talonscript-CUGr7vYM.js +2 -0
  376. package/dist/client/assets/tasl-BB-YNBB8.js +2 -0
  377. package/dist/client/assets/tcl-DR8-AcmN.js +2 -0
  378. package/dist/client/assets/templ-Cr4Do0uA.js +2 -0
  379. package/dist/client/assets/terraform-DS-GC2Bj.js +2 -0
  380. package/dist/client/assets/tex-CcZtvqzZ.js +2 -0
  381. package/dist/client/assets/toggle-BBEoD8mr.js +2 -0
  382. package/dist/client/assets/tokyo-night-9wJEO1G-.js +2 -0
  383. package/dist/client/assets/tokyo-night-ZUp4Hulo.js +2 -0
  384. package/dist/client/assets/toml-ByrHRc5Z.js +2 -0
  385. package/dist/client/assets/transport-B-82Ada5.js +2 -0
  386. package/dist/client/assets/ts-tags-Dhe4Ce_p.js +2 -0
  387. package/dist/client/assets/tsv-2A2hWH8i.js +2 -0
  388. package/dist/client/assets/tsx-rRP2I03K.js +2 -0
  389. package/dist/client/assets/turtle-BYbwzkhD.js +2 -0
  390. package/dist/client/assets/twig-DtN4j4nR.js +2 -0
  391. package/dist/client/assets/typeof-DOAxNSYQ.js +2 -0
  392. package/dist/client/assets/typescript-tv4fsI1Q.js +2 -0
  393. package/dist/client/assets/typespec-DoZVUoUi.js +2 -0
  394. package/dist/client/assets/typst-BmNF0lss.js +2 -0
  395. package/dist/client/assets/useTriggerFocusGuards-B2i3DSgR.js +2 -0
  396. package/dist/client/assets/v-CtCN4vLO.js +2 -0
  397. package/dist/client/assets/vala-DOsY6Y3z.js +2 -0
  398. package/dist/client/assets/vb-C1Ff9hOT.js +2 -0
  399. package/dist/client/assets/verilog-Dt4OfjHN.js +2 -0
  400. package/dist/client/assets/vesper-5ZmhmIun.js +2 -0
  401. package/dist/client/assets/vesper-J3W-7eep.js +2 -0
  402. package/dist/client/assets/vhdl-DkoQ3qnl.js +2 -0
  403. package/dist/client/assets/viml-C3b4aEDf.js +2 -0
  404. package/dist/client/assets/vitesse-black-CYOC7ssU.js +2 -0
  405. package/dist/client/assets/vitesse-black-DWaDDoI3.js +2 -0
  406. package/dist/client/assets/vitesse-dark-Bxewb9U5.js +2 -0
  407. package/dist/client/assets/vitesse-dark-CZotVzc8.js +2 -0
  408. package/dist/client/assets/vitesse-light-Bf_msd9a.js +2 -0
  409. package/dist/client/assets/vitesse-light-BfrRSjRx.js +2 -0
  410. package/dist/client/assets/vue-C0rWZC13.js +2 -0
  411. package/dist/client/assets/vue-html-bxw887C2.js +2 -0
  412. package/dist/client/assets/vue-vine-DUWGjTI5.js +2 -0
  413. package/dist/client/assets/vyper-BamdcTqV.js +2 -0
  414. package/dist/client/assets/wasm-C2MLrNQ1.js +2 -0
  415. package/dist/client/assets/wasm-CGd31VpO.js +2 -0
  416. package/dist/client/assets/wenyan-BPZ76iog.js +2 -0
  417. package/dist/client/assets/wgsl-sH_fVDG_.js +2 -0
  418. package/dist/client/assets/wikitext-BsPo9Czf.js +2 -0
  419. package/dist/client/assets/wit-BfBhtJwS.js +2 -0
  420. package/dist/client/assets/wolfram-GL7CPBRD.js +2 -0
  421. package/dist/client/assets/worker-Cvq2iJN1.js +162 -0
  422. package/dist/client/assets/workspaceReadinessAtom-DUP5NKsc.js +2 -0
  423. package/dist/client/assets/xml-C0zxRzgj.js +2 -0
  424. package/dist/client/assets/xsl-CC403A_G.js +2 -0
  425. package/dist/client/assets/yaml-BCnsJrvx.js +2 -0
  426. package/dist/client/assets/zenscript-CmwVE7RW.js +2 -0
  427. package/dist/client/assets/zig-GtQXM-vf.js +2 -0
  428. package/dist/client/favicon-16x16.png +0 -0
  429. package/dist/client/favicon-16x16.png.publish-bak +0 -0
  430. package/dist/client/favicon-32x32.png +0 -0
  431. package/dist/client/favicon-32x32.png.publish-bak +0 -0
  432. package/dist/client/favicon.ico +0 -0
  433. package/dist/client/favicon.ico.publish-bak +0 -0
  434. package/dist/client/forge-mark.svg +5 -0
  435. package/dist/client/index.html +131 -0
  436. package/dist/client/mockServiceWorker.js +336 -0
  437. package/dist/client/sidebar/forge-ember-field.webp +0 -0
  438. package/dist/{esm-wLIF-u3N.mjs → esm-Ce1GqbVk.mjs} +1 -1
  439. package/dist/{esm-BZhXwX5p.cjs → esm-Do7HVhLA.cjs} +1 -1
  440. package/dist/{execAsync-DWZyWH-_.mjs → execAsync-BNNdR88o.mjs} +1 -1
  441. package/dist/{execAsync-jnYVB5RZ.cjs → execAsync-BUcaFQ1D.cjs} +1 -1
  442. package/dist/forge-provision-display.sh +316 -0
  443. package/dist/{getMachineId-bsd-BLtyMA4j.cjs → getMachineId-bsd-C_qi9crE.cjs} +3 -3
  444. package/dist/{getMachineId-bsd-CTjiY7jG.mjs → getMachineId-bsd-FI863wjR.mjs} +3 -3
  445. package/dist/{getMachineId-darwin-DaGS2zUd.cjs → getMachineId-darwin-BOoNuqXn.cjs} +3 -3
  446. package/dist/{getMachineId-darwin-BrPuyPOo.mjs → getMachineId-darwin-D9VhTaPM.mjs} +3 -3
  447. package/dist/{getMachineId-linux-BsP3wJaE.cjs → getMachineId-linux-C9L-vW7m.cjs} +2 -2
  448. package/dist/{getMachineId-linux-D9QEWWF-.mjs → getMachineId-linux-DE2x36Kt.mjs} +2 -2
  449. package/dist/{getMachineId-unsupported-Cm-2s4Sg.mjs → getMachineId-unsupported-9S6pcxXb.mjs} +2 -2
  450. package/dist/{getMachineId-unsupported-B_M-gck7.cjs → getMachineId-unsupported-CmbM8LYa.cjs} +2 -2
  451. package/dist/{getMachineId-win-qtEKaUYj.mjs → getMachineId-win-0EVRuBxU.mjs} +3 -3
  452. package/dist/{getMachineId-win-3zJ3HQLG.cjs → getMachineId-win-BPaemVew.cjs} +3 -3
  453. package/dist/{open-CGXZLos4.cjs → open-BAsPVCWX.cjs} +1 -1
  454. package/dist/{open-Cf0bgbyx.mjs → open-FIgTDosf.mjs} +1 -1
  455. package/dist/runtimeBootstrap.cjs +8 -0
  456. package/dist/runtimeBootstrap.mjs +4 -0
  457. package/dist/runtimeControlAuthority-L85w5RTn.mjs +535 -0
  458. package/dist/runtimeControlAuthority-SNBF5Mjy.cjs +601 -0
  459. package/package.json +28 -30
  460. package/dist/NodeHttpServer-C7YMYP5R.cjs +0 -616
  461. package/dist/NodeHttpServer-D5-EtRwc.mjs +0 -605
@@ -1,616 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const require_chunk = require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_Path = require("./Path-CsbBuCFB.cjs");
6
- const require_NodeTerminal = require("./NodeTerminal-B9u7fFYa.cjs");
7
- const require_NodeServices = require("./NodeServices-BISZRY3e.cjs");
8
- const require_HttpServer = require("./HttpServer-aJkhz6yu.cjs");
9
- const require_Config = require("./Config-DMA9WqtC.cjs");
10
- const require_Mime = require("./Mime-aSilaQX9.cjs");
11
- let node_stream = require("node:stream");
12
- let node_fs = require("node:fs");
13
- node_fs = require_chunk.__toESM(node_fs);
14
- let node_http = require("node:http");
15
- node_http = require_chunk.__toESM(node_http);
16
- let node_stream_promises = require("node:stream/promises");
17
- node_stream_promises = require_chunk.__toESM(node_stream_promises);
18
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
19
- /**
20
- * @since 1.0.0
21
- */
22
- /**
23
- * @since 1.0.0
24
- * @category Constructors
25
- */
26
- var NodeHttpIncomingMessage = class extends require_Schema.Class$2 {
27
- /**
28
- * @since 1.0.0
29
- */
30
- [require_HttpServer.TypeId$3];
31
- source;
32
- onError;
33
- remoteAddressOverride;
34
- constructor(source, onError, remoteAddressOverride) {
35
- super();
36
- this[require_HttpServer.TypeId$3] = require_HttpServer.TypeId$3;
37
- this.source = source;
38
- this.onError = onError;
39
- this.remoteAddressOverride = remoteAddressOverride;
40
- }
41
- get headers() {
42
- return require_HttpServer.fromInput$1(this.source.headers);
43
- }
44
- get remoteAddress() {
45
- return this.remoteAddressOverride ?? require_Schema.fromNullishOr(this.source.socket.remoteAddress);
46
- }
47
- textEffect;
48
- get text() {
49
- if (this.textEffect) return this.textEffect;
50
- this.textEffect = require_Schema.runSync(require_Schema.cached(require_Schema.flatMap(require_HttpServer.MaxBodySize.asEffect(), (maxBodySize) => require_NodeTerminal.toString(() => this.source, {
51
- onError: this.onError,
52
- maxBytes: maxBodySize
53
- }))));
54
- return this.textEffect;
55
- }
56
- get textUnsafe() {
57
- return require_Schema.runSync(this.text);
58
- }
59
- get json() {
60
- return require_Schema.flatMap(this.text, (text) => require_Schema.try_({
61
- try: () => text === "" ? null : JSON.parse(text),
62
- catch: this.onError
63
- }));
64
- }
65
- get jsonUnsafe() {
66
- return require_Schema.runSync(this.json);
67
- }
68
- get urlParamsBody() {
69
- return require_Schema.flatMap(this.text, (_) => require_Schema.try_({
70
- try: () => require_HttpServer.fromInput(new URLSearchParams(_)),
71
- catch: this.onError
72
- }));
73
- }
74
- get stream() {
75
- return require_NodeTerminal.fromReadable({
76
- evaluate: () => this.source,
77
- onError: this.onError
78
- });
79
- }
80
- get arrayBuffer() {
81
- return require_Schema.withFiber((fiber) => require_NodeTerminal.toArrayBuffer(() => this.source, {
82
- onError: this.onError,
83
- maxBytes: fiber.getRef(require_HttpServer.MaxBodySize)
84
- }));
85
- }
86
- };
87
- //#endregion
88
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
89
- /**
90
- * @since 1.0.0
91
- */
92
- /**
93
- * @since 1.0.0
94
- * @category Constructors
95
- */
96
- const make$2 = /* @__PURE__ */ require_HttpServer.make$1({
97
- fileResponse(path, status, statusText, headers, start, end, contentLength) {
98
- const stream = contentLength === 0 ? node_stream.Readable.from([]) : node_fs.createReadStream(path, {
99
- start,
100
- end: end === void 0 ? void 0 : end - 1
101
- });
102
- return require_HttpServer.raw(stream, {
103
- headers: {
104
- ...headers,
105
- "content-type": headers["content-type"] ?? require_Mime.Mime_default.getType(path) ?? "application/octet-stream",
106
- "content-length": contentLength.toString()
107
- },
108
- status,
109
- statusText
110
- });
111
- },
112
- fileWebResponse(file, status, statusText, headers, _options) {
113
- return require_HttpServer.raw(node_stream.Readable.fromWeb(file.stream()), {
114
- headers: require_HttpServer.merge(headers, require_HttpServer.fromRecordUnsafe({
115
- "content-type": headers["content-type"] ?? require_Mime.Mime_default.getType(file.name) ?? "application/octet-stream",
116
- "content-length": file.size.toString()
117
- })),
118
- status,
119
- statusText
120
- });
121
- }
122
- });
123
- /**
124
- * @since 1.0.0
125
- * @category Layers
126
- */
127
- const layer$1 = /* @__PURE__ */ require_Schema.pipe(/* @__PURE__ */ require_Schema.effect(require_HttpServer.HttpPlatform)(make$2), /* @__PURE__ */ require_Schema.provide$1(require_NodeServices.layer$1), /* @__PURE__ */ require_Schema.provide$1(require_HttpServer.layer$1));
128
- //#endregion
129
- //#region ../../node_modules/.bun/multipasta@0.2.7/node_modules/multipasta/dist/esm/node.js
130
- var MultipastaStream = class extends node_stream.Duplex {
131
- _parser;
132
- _canWrite = true;
133
- _writeCallback;
134
- constructor(config) {
135
- super({ readableObjectMode: true });
136
- let currentError;
137
- let currentFile;
138
- this._parser = require_HttpServer.make$2({
139
- ...config,
140
- onField: (info, value) => {
141
- if (currentError !== void 0) return;
142
- const field = {
143
- _tag: "Field",
144
- info,
145
- value
146
- };
147
- this.push(field);
148
- this.emit("field", field);
149
- },
150
- onFile: (info) => {
151
- if (currentError !== void 0) return (_) => {};
152
- const file = new FileStream(info, this);
153
- currentFile = file;
154
- this.push(file);
155
- this.emit("file", file);
156
- return (chunk) => {
157
- this._canWrite = file.push(chunk);
158
- if (chunk === null && !this._canWrite) {
159
- currentFile = void 0;
160
- this._resume();
161
- }
162
- };
163
- },
164
- onError: (error) => {
165
- this.emit("error", error);
166
- currentFile?.emit("error", error);
167
- currentError = error;
168
- },
169
- onDone: () => {
170
- this.push(null);
171
- }
172
- });
173
- }
174
- _resume() {
175
- this._canWrite = true;
176
- if (this._writeCallback !== void 0) {
177
- const callback = this._writeCallback;
178
- this._writeCallback = void 0;
179
- callback();
180
- }
181
- }
182
- _read(_size) {}
183
- _write(chunk, encoding, callback) {
184
- this._parser.write(chunk instanceof Uint8Array ? chunk : Buffer.from(chunk, encoding));
185
- if (this._canWrite) callback();
186
- else this._writeCallback = callback;
187
- }
188
- _final(callback) {
189
- this._parser.end();
190
- callback();
191
- }
192
- };
193
- const make$1 = (config) => new MultipastaStream(config);
194
- var FileStream = class extends node_stream.Readable {
195
- info;
196
- _parent;
197
- _tag = "File";
198
- filename;
199
- constructor(info, _parent) {
200
- super();
201
- this.info = info;
202
- this._parent = _parent;
203
- this.filename = info.filename;
204
- }
205
- _read(_size) {
206
- if (this._parent._canWrite === false) this._parent._resume();
207
- }
208
- };
209
- //#endregion
210
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeMultipart.js
211
- /**
212
- * @since 1.0.0
213
- */
214
- /**
215
- * @since 1.0.0
216
- * @category constructors
217
- */
218
- const stream = (source, headers) => require_HttpServer.makeConfig(headers).pipe(require_Schema.map((config) => require_NodeTerminal.fromReadable({
219
- evaluate() {
220
- const parser = make$1(config);
221
- source.pipe(parser);
222
- return parser;
223
- },
224
- onError: (error) => convertError(error)
225
- })), require_Path.unwrap, require_Path.map(convertPart));
226
- /**
227
- * @since 1.0.0
228
- * @category constructors
229
- */
230
- const persisted = (source, headers) => require_HttpServer.toPersisted(stream(source, headers), (path, file) => require_Schema.tryPromise({
231
- try: (signal) => node_stream_promises.pipeline(file.file, node_fs.createWriteStream(path), { signal }),
232
- catch: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause)
233
- }));
234
- const convertPart = (part) => part._tag === "Field" ? new FieldImpl(part.info, part.value) : new FileImpl(part);
235
- var PartBase = class extends require_Schema.Class$2 {
236
- [require_HttpServer.TypeId$1];
237
- constructor() {
238
- super();
239
- this[require_HttpServer.TypeId$1] = require_HttpServer.TypeId$1;
240
- }
241
- };
242
- var FieldImpl = class extends PartBase {
243
- _tag = "Field";
244
- key;
245
- contentType;
246
- value;
247
- constructor(info, value) {
248
- super();
249
- this.key = info.name;
250
- this.contentType = info.contentType;
251
- this.value = require_HttpServer.decodeField(info, value);
252
- }
253
- toJSON() {
254
- return {
255
- _id: "@effect/platform/Multipart/Part",
256
- _tag: "Field",
257
- key: this.key,
258
- value: this.value,
259
- contentType: this.contentType
260
- };
261
- }
262
- };
263
- var FileImpl = class extends PartBase {
264
- _tag = "File";
265
- key;
266
- name;
267
- contentType;
268
- content;
269
- contentEffect;
270
- file;
271
- constructor(file) {
272
- super();
273
- this.file = file;
274
- this.key = file.info.name;
275
- this.name = file.filename ?? file.info.name;
276
- this.contentType = file.info.contentType;
277
- this.content = require_NodeTerminal.fromReadable({
278
- evaluate: () => file,
279
- onError: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause)
280
- });
281
- this.contentEffect = require_NodeTerminal.toUint8Array(() => file, { onError: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause) });
282
- }
283
- toJSON() {
284
- return {
285
- _id: "@effect/platform/Multipart/Part",
286
- _tag: "File",
287
- key: this.key,
288
- name: this.name,
289
- contentType: this.contentType
290
- };
291
- }
292
- };
293
- function convertError(cause) {
294
- switch (cause._tag) {
295
- case "ReachedLimit": switch (cause.limit) {
296
- case "MaxParts": return require_HttpServer.MultipartError.fromReason("TooManyParts", cause);
297
- case "MaxFieldSize": return require_HttpServer.MultipartError.fromReason("FieldTooLarge", cause);
298
- case "MaxPartSize": return require_HttpServer.MultipartError.fromReason("FileTooLarge", cause);
299
- case "MaxTotalSize": return require_HttpServer.MultipartError.fromReason("BodyTooLarge", cause);
300
- }
301
- default: return require_HttpServer.MultipartError.fromReason("Parse", cause);
302
- }
303
- }
304
- //#endregion
305
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpServer.js
306
- /**
307
- * @since 1.0.0
308
- */
309
- /**
310
- * @since 1.0.0
311
- * @category constructors
312
- */
313
- const make = /* @__PURE__ */ require_Schema.fnUntraced(function* (evaluate, options) {
314
- const scope$1 = yield* require_Schema.scope;
315
- const server = evaluate();
316
- const shutdown = yield* require_Schema.callback((resume) => {
317
- if (!server.listening) return resume(require_Schema.void_);
318
- server.close((error) => {
319
- if (error) resume(require_Schema.die(error));
320
- else resume(require_Schema.void_);
321
- });
322
- }).pipe(require_Schema.cached);
323
- const preemptiveShutdown = options.disablePreemptiveShutdown ? require_Schema.void_ : require_Schema.timeoutOrElse(shutdown, {
324
- duration: options.gracefulShutdownTimeout ?? require_Schema.seconds(20),
325
- orElse: () => require_Schema.void_
326
- });
327
- yield* require_Schema.addFinalizer$1(scope$1, shutdown);
328
- yield* require_Schema.callback((resume) => {
329
- function onError(cause) {
330
- resume(require_Schema.fail(new require_HttpServer.ServeError({ cause })));
331
- }
332
- server.on("error", onError);
333
- server.listen(options, () => {
334
- server.off("error", onError);
335
- resume(require_Schema.void_);
336
- });
337
- });
338
- const address = server.address();
339
- const wss = yield* require_Schema.acquireRelease(require_Schema.sync(() => new require_Mime.import_websocket_server.default({ noServer: true })), (wss) => require_Schema.callback((resume) => {
340
- wss.close(() => resume(require_Schema.void_));
341
- })).pipe(require_Schema.provide$2(scope$1), require_Schema.cached);
342
- return require_HttpServer.make({
343
- address: typeof address === "string" ? {
344
- _tag: "UnixAddress",
345
- path: address
346
- } : {
347
- _tag: "TcpAddress",
348
- hostname: address.address === "::" ? "0.0.0.0" : address.address,
349
- port: address.port
350
- },
351
- serve: require_Schema.fnUntraced(function* (httpApp, middleware) {
352
- const serveScope = yield* require_Schema.scope;
353
- const scope$2 = require_Schema.forkUnsafe(serveScope, "parallel");
354
- const handler = yield* makeHandler(httpApp, {
355
- middleware,
356
- scope: scope$2
357
- });
358
- const upgradeHandler = yield* makeUpgradeHandler(wss, httpApp, {
359
- middleware,
360
- scope: scope$2
361
- });
362
- yield* require_Schema.addFinalizerExit(serveScope, () => {
363
- server.off("request", handler);
364
- server.off("upgrade", upgradeHandler);
365
- return preemptiveShutdown;
366
- });
367
- server.on("request", handler);
368
- server.on("upgrade", upgradeHandler);
369
- })
370
- });
371
- });
372
- /**
373
- * @since 1.0.0
374
- * @category Handlers
375
- */
376
- const makeHandler = (httpEffect, options) => {
377
- const handled = require_HttpServer.toHandled(httpEffect, handleResponse, options.middleware);
378
- return require_Schema.withFiber((parent) => {
379
- const services = parent.context;
380
- return require_Schema.succeed(function handler(nodeRequest, nodeResponse) {
381
- const map = new Map(services.mapUnsafe);
382
- map.set(require_HttpServer.HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse));
383
- const fiber = require_Path.runIn(require_Schema.runForkWith(require_Schema.makeUnsafe$3(map))(handled), options.scope);
384
- nodeResponse.on("close", () => {
385
- if (!nodeResponse.writableEnded) fiber.interruptUnsafe(parent.id, require_HttpServer.ClientAbort.annotation);
386
- });
387
- });
388
- });
389
- };
390
- /**
391
- * @since 1.0.0
392
- * @category Handlers
393
- */
394
- const makeUpgradeHandler = (lazyWss, httpEffect, options) => {
395
- const handledApp = require_HttpServer.toHandled(httpEffect, handleResponse, options.middleware);
396
- return require_Schema.withFiber((parent) => {
397
- const services = parent.context;
398
- return require_Schema.succeed(function handler(nodeRequest, socket, head) {
399
- let nodeResponse_ = void 0;
400
- const nodeResponse = () => {
401
- if (nodeResponse_ === void 0) {
402
- nodeResponse_ = new node_http.ServerResponse(nodeRequest);
403
- nodeResponse_.assignSocket(socket);
404
- nodeResponse_.on("finish", () => {
405
- socket.end();
406
- });
407
- }
408
- return nodeResponse_;
409
- };
410
- const upgradeEffect = require_HttpServer.fromWebSocket(require_Schema.flatMap(lazyWss, (wss) => require_Schema.acquireRelease(require_Schema.callback((resume) => wss.handleUpgrade(nodeRequest, socket, head, (ws) => {
411
- resume(require_Schema.succeed(ws));
412
- })), (ws) => require_Schema.sync(() => ws.close()))));
413
- const map = new Map(services.mapUnsafe);
414
- map.set(require_HttpServer.HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse, upgradeEffect));
415
- const fiber = require_Path.runIn(require_Schema.runForkWith(require_Schema.makeUnsafe$3(map))(handledApp), options.scope);
416
- socket.on("close", () => {
417
- if (!socket.writableEnded) fiber.interruptUnsafe(parent.id, require_HttpServer.ClientAbort.annotation);
418
- });
419
- });
420
- });
421
- };
422
- var ServerRequestImpl = class ServerRequestImpl extends NodeHttpIncomingMessage {
423
- [require_HttpServer.TypeId];
424
- response;
425
- upgradeEffect;
426
- url;
427
- headersOverride;
428
- constructor(source, response, upgradeEffect, url = source.url, headersOverride, remoteAddressOverride) {
429
- super(source, (cause) => new require_HttpServer.HttpServerError({ reason: new require_HttpServer.RequestParseError({
430
- request: this,
431
- cause
432
- }) }), remoteAddressOverride);
433
- this[require_HttpServer.TypeId] = require_HttpServer.TypeId;
434
- this.response = response;
435
- this.upgradeEffect = upgradeEffect;
436
- this.url = url;
437
- this.headersOverride = headersOverride;
438
- }
439
- cachedCookies;
440
- get cookies() {
441
- if (this.cachedCookies) return this.cachedCookies;
442
- return this.cachedCookies = require_HttpServer.parseHeader(this.headers.cookie ?? "");
443
- }
444
- get resolvedResponse() {
445
- return typeof this.response === "function" ? this.response() : this.response;
446
- }
447
- modify(options) {
448
- return new ServerRequestImpl(this.source, this.response, this.upgradeEffect, options.url ?? this.url, options.headers ?? this.headersOverride, "remoteAddress" in options ? options.remoteAddress : this.remoteAddressOverride);
449
- }
450
- get originalUrl() {
451
- return this.source.url;
452
- }
453
- get method() {
454
- return this.source.method.toUpperCase();
455
- }
456
- get headers() {
457
- this.headersOverride ??= this.source.headers;
458
- return this.headersOverride;
459
- }
460
- multipartEffect;
461
- get multipart() {
462
- if (this.multipartEffect) return this.multipartEffect;
463
- this.multipartEffect = require_Schema.runSync(require_Schema.cached(persisted(this.source, this.source.headers)));
464
- return this.multipartEffect;
465
- }
466
- get multipartStream() {
467
- return stream(this.source, this.source.headers);
468
- }
469
- get upgrade() {
470
- return this.upgradeEffect ?? require_Schema.fail(new require_HttpServer.HttpServerError({ reason: new require_HttpServer.RequestParseError({
471
- request: this,
472
- description: "not an upgradeable ServerRequest"
473
- }) }));
474
- }
475
- toString() {
476
- return `ServerRequest(${this.method} ${this.url})`;
477
- }
478
- toJSON() {
479
- return require_HttpServer.inspect(this, {
480
- _id: "HttpServerRequest",
481
- method: this.method,
482
- url: this.originalUrl
483
- });
484
- }
485
- };
486
- /**
487
- * @since 1.0.0
488
- * @category Layers
489
- */
490
- const layerServer = /* @__PURE__ */ require_Schema.flow(make, /* @__PURE__ */ require_Schema.effect(require_HttpServer.HttpServer));
491
- /**
492
- * @since 1.0.0
493
- * @category Layers
494
- */
495
- const layerHttpServices = /* @__PURE__ */ require_Schema.mergeAll(layer$1, require_HttpServer.layerWeak, require_NodeServices.layer);
496
- /**
497
- * @since 1.0.0
498
- * @category Layers
499
- */
500
- const layer = (evaluate, options) => require_Schema.mergeAll(layerServer(evaluate, options), layerHttpServices);
501
- /**
502
- * @since 1.0.0
503
- * @category Layers
504
- */
505
- const layerConfig = (evaluate, options) => require_Schema.mergeAll(require_Schema.effect(require_HttpServer.HttpServer)(require_Schema.flatMap(require_Config.unwrap(options).asEffect(), (options) => make(evaluate, options))), layerHttpServices);
506
- /**
507
- * @since 1.0.0
508
- * @category Testing
509
- */
510
- const layerTest = /* @__PURE__ */ require_HttpServer.layerTestClient.pipe(/* @__PURE__ */ require_Schema.provide$1(/* @__PURE__ */ require_Schema.fresh(require_HttpServer.layer).pipe(/* @__PURE__ */ require_Schema.provide$1(/* @__PURE__ */ require_Schema.succeed$1(require_HttpServer.RequestInit)({ keepalive: false })))), /* @__PURE__ */ require_Schema.provideMerge(/* @__PURE__ */ layer(node_http.createServer, { port: 0 })));
511
- const handleResponse = (request, response) => {
512
- const nodeResponse = request.resolvedResponse;
513
- if (nodeResponse.writableEnded) return require_Schema.void_;
514
- let headers = response.headers;
515
- if (!require_HttpServer.isEmpty(response.cookies)) {
516
- headers = { ...headers };
517
- const toSet = require_HttpServer.toSetCookieHeaders(response.cookies);
518
- if (headers["set-cookie"] !== void 0) toSet.push(headers["set-cookie"]);
519
- headers["set-cookie"] = toSet;
520
- }
521
- if (request.method === "HEAD") {
522
- nodeResponse.writeHead(response.status, headers);
523
- return require_Schema.callback((resume) => {
524
- nodeResponse.end(() => resume(require_Schema.void_));
525
- });
526
- }
527
- const body = response.body;
528
- switch (body._tag) {
529
- case "Empty":
530
- nodeResponse.writeHead(response.status, headers);
531
- nodeResponse.end();
532
- return require_Schema.void_;
533
- case "Raw":
534
- nodeResponse.writeHead(response.status, headers);
535
- if (typeof body.body === "object" && body.body !== null && "pipe" in body.body && typeof body.body.pipe === "function") return require_Schema.tryPromise({
536
- try: (signal) => (0, node_stream_promises.pipeline)(body.body, nodeResponse, {
537
- signal,
538
- end: true
539
- }),
540
- catch: (cause) => new require_HttpServer.HttpServerError({ reason: new require_HttpServer.ResponseError({
541
- request,
542
- response,
543
- description: "Error writing raw response",
544
- cause
545
- }) })
546
- }).pipe(require_Schema.interruptible, require_Schema.tapCause(handleCause(nodeResponse, response)));
547
- return require_Schema.callback((resume) => {
548
- nodeResponse.end(body.body, () => resume(require_Schema.void_));
549
- });
550
- case "Uint8Array":
551
- nodeResponse.writeHead(response.status, headers);
552
- if (body.body.length < 1024 * 1024) {
553
- nodeResponse.end(body.body);
554
- return require_Schema.void_;
555
- }
556
- return require_Schema.callback((resume) => {
557
- nodeResponse.end(body.body, () => resume(require_Schema.void_));
558
- });
559
- case "FormData": return require_Schema.suspend$1(() => {
560
- const r = new globalThis.Response(body.formData);
561
- nodeResponse.writeHead(response.status, {
562
- ...headers,
563
- ...Object.fromEntries(r.headers)
564
- });
565
- return require_Schema.callback((resume, signal) => {
566
- node_stream.Readable.fromWeb(r.body, { signal }).pipe(nodeResponse).on("error", (cause) => {
567
- resume(require_Schema.fail(new require_HttpServer.HttpServerError({ reason: new require_HttpServer.ResponseError({
568
- request,
569
- response,
570
- description: "Error writing FormData response",
571
- cause
572
- }) })));
573
- }).once("finish", () => {
574
- resume(require_Schema.void_);
575
- });
576
- }).pipe(require_Schema.interruptible, require_Schema.tapCause(handleCause(nodeResponse, response)));
577
- });
578
- case "Stream": {
579
- nodeResponse.writeHead(response.status, headers);
580
- const drainLatch = require_Path.makeUnsafe$1();
581
- nodeResponse.on("drain", () => drainLatch.openUnsafe());
582
- return body.stream.pipe(require_Path.orDie, require_Path.runForEachArray((array) => {
583
- let needDrain = false;
584
- for (let i = 0; i < array.length; i++) {
585
- const written = nodeResponse.write(array[i]);
586
- if (!written && !needDrain) {
587
- needDrain = true;
588
- drainLatch.closeUnsafe();
589
- } else if (written && needDrain) needDrain = false;
590
- }
591
- if (!needDrain) return require_Schema.void_;
592
- return drainLatch.await;
593
- }), require_Schema.interruptible, require_Schema.matchCauseEffect({
594
- onSuccess: () => require_Schema.sync(() => nodeResponse.end()),
595
- onFailure: handleCause(nodeResponse, response)
596
- }));
597
- }
598
- }
599
- };
600
- const handleCause = (nodeResponse, originalResponse) => (originalCause) => require_Schema.flatMap(require_HttpServer.causeResponse(originalCause), ([response, cause]) => {
601
- const headersSent = nodeResponse.headersSent;
602
- if (!headersSent) nodeResponse.writeHead(response.status);
603
- if (!nodeResponse.writableEnded) nodeResponse.end();
604
- return require_Schema.failCause(headersSent ? require_Schema.combine(originalCause, require_Schema.die$2(originalResponse)) : cause);
605
- });
606
- //#endregion
607
- exports.layer = layer;
608
- exports.layerConfig = layerConfig;
609
- exports.layerHttpServices = layerHttpServices;
610
- exports.layerServer = layerServer;
611
- exports.layerTest = layerTest;
612
- exports.make = make;
613
- exports.makeHandler = makeHandler;
614
- exports.makeUpgradeHandler = makeUpgradeHandler;
615
-
616
- //# sourceMappingURL=NodeHttpServer-C7YMYP5R.cjs.map