@agimon-ai/po-cloudflare 0.0.0-stage → 0.0.2-alpha.1

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 (217) hide show
  1. package/LICENSE +149 -0
  2. package/README.md +260 -2
  3. package/dist/BrowserWebSocketTransport-C2SC2VeJ.js +1 -0
  4. package/dist/NodeWebSocketTransport-CKilJesa.js +58 -0
  5. package/dist/apiContracts-CHOiCbS_.js +4451 -0
  6. package/dist/approval-BMXqnTYd.js +120 -0
  7. package/dist/approvalPrompt-Bg1JrEEY.js +64 -0
  8. package/dist/assets/apple-touch-icon.png +0 -0
  9. package/dist/assets/assets/CodeEditorView-DKGhYRR5.js +3 -0
  10. package/dist/assets/assets/abnfDiagram-WEYOIA3C-CC7TFxmb.js +2 -0
  11. package/dist/assets/assets/arc-Y1ARJVZ4.js +2 -0
  12. package/dist/assets/assets/architecture-WOLXFQ4H-ByaIjEjl.js +1 -0
  13. package/dist/assets/assets/architectureDiagram-ZHVYKT53-BTvPiU7b.js +37 -0
  14. package/dist/assets/assets/array-BifhSqXX.js +2 -0
  15. package/dist/assets/assets/blockDiagram-RJAE7QA3-CQ03aRAT.js +141 -0
  16. package/dist/assets/assets/c4Diagram-XDPPPE54-By149dDc.js +39 -0
  17. package/dist/assets/assets/channel-C-ZKWXzQ.js +2 -0
  18. package/dist/assets/assets/chunk-2E7WHVMD-DhbCBJyK.js +89 -0
  19. package/dist/assets/assets/chunk-2Q5K7J3B-C1jixKkw.js +2 -0
  20. package/dist/assets/assets/chunk-4EMNKR2T-DwG_zr8v.js +2 -0
  21. package/dist/assets/assets/chunk-55XCU76K-ssRP2bB5.js +2 -0
  22. package/dist/assets/assets/chunk-5VM5RSS4-ZNzvKenW.js +16 -0
  23. package/dist/assets/assets/chunk-7S6XSTFO-SI1x4ZXj.js +3 -0
  24. package/dist/assets/assets/chunk-AQDTSKZB-CjbeZKGu.js +73 -0
  25. package/dist/assets/assets/chunk-DSNLSHJZ-Bll2bjWU.js +130 -0
  26. package/dist/assets/assets/chunk-DUW6YSOI-Dgx8z5s3.js +2 -0
  27. package/dist/assets/assets/chunk-HAGFOTED-CyUqZah8.js +63 -0
  28. package/dist/assets/assets/chunk-HNE4Q36P-D4t3q3a5.js +2 -0
  29. package/dist/assets/assets/chunk-J5ZVWO5B-oDCd-gWO.js +2 -0
  30. package/dist/assets/assets/chunk-JWPE2WC7-DVXcaiue.js +2 -0
  31. package/dist/assets/assets/chunk-NGNAAXSQ-C2Wy9Xmz.js +137 -0
  32. package/dist/assets/assets/chunk-NQOKRVIF-bGaFRX8_.js +214 -0
  33. package/dist/assets/assets/chunk-UHW7PFBP-DfuE3QoH.js +2 -0
  34. package/dist/assets/assets/chunk-VQ5W62QI-b06ey5sW.js +2 -0
  35. package/dist/assets/assets/chunk-WQQL4CDK-B3KeRtQ_.js +11 -0
  36. package/dist/assets/assets/chunk-XXDRQBXY-C_b3SY4U.js +2 -0
  37. package/dist/assets/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +2 -0
  38. package/dist/assets/assets/chunk-YZO67HFG-C2xK_4PH.js +2 -0
  39. package/dist/assets/assets/chunk-ZAUX2LTX-DKiYhU0l.js +2 -0
  40. package/dist/assets/assets/chunk-ZCHMQSOR-BTJvYNa3.js +3 -0
  41. package/dist/assets/assets/classDiagram-v2-4MYWR3UA-DS-GqIwq.js +218 -0
  42. package/dist/assets/assets/cose-bilkent-JH36ORCC-DaX8fR47.js +2 -0
  43. package/dist/assets/assets/cynefin-EF2NZ3EQ-BAaoWA33.js +1 -0
  44. package/dist/assets/assets/cynefinDiagram-WF24UDRP-BEVE5XCH.js +63 -0
  45. package/dist/assets/assets/cytoscape.esm-DQtP8PBZ.js +322 -0
  46. package/dist/assets/assets/dagre-NK4GIZVX-zsXz7d9p.js +5 -0
  47. package/dist/assets/assets/defaultLocale-BFoDCU3G.js +2 -0
  48. package/dist/assets/assets/diagram-CBK3MWTC-M89MlxW5.js +25 -0
  49. package/dist/assets/assets/diagram-I5XIIV2D-DalkrJG2.js +25 -0
  50. package/dist/assets/assets/diagram-ODIL2UCW-QcpxllWE.js +31 -0
  51. package/dist/assets/assets/diagram-PFBEJUXE-BcMeMeOI.js +4 -0
  52. package/dist/assets/assets/diagram-RJA3I4VV-CQMzd9_b.js +42 -0
  53. package/dist/assets/assets/diagram-TYUNFSNR-1_gFb2uh.js +201 -0
  54. package/dist/assets/assets/dist-B5GiP_GN.js +24 -0
  55. package/dist/assets/assets/dist-ByJwqPTf.js +2 -0
  56. package/dist/assets/assets/dist-C1hGqmUi.js +3 -0
  57. package/dist/assets/assets/dist-Caypix-c.js +2 -0
  58. package/dist/assets/assets/dist-CmiBJZOk.js +2 -0
  59. package/dist/assets/assets/dist-CumnGVmJ.js +2 -0
  60. package/dist/assets/assets/dist-CyKPCS9S.js +2 -0
  61. package/dist/assets/assets/dist-DDlts8Yv.js +2 -0
  62. package/dist/assets/assets/dist-DbO4wwko.js +4 -0
  63. package/dist/assets/assets/dist-dkx34rRd.js +10 -0
  64. package/dist/assets/assets/dist-m1QOwRM1.js +7 -0
  65. package/dist/assets/assets/dist-zizY-lNC.js +2 -0
  66. package/dist/assets/assets/dockerfile-BDePf5PZ.js +2 -0
  67. package/dist/assets/assets/ebnfDiagram-V4P3TTPT-DtOQn3rr.js +2 -0
  68. package/dist/assets/assets/elk-QONTBCTQ-kidTQiyl.js +28 -0
  69. package/dist/assets/assets/erDiagram-KYQIGQAA-C1uSEQVA.js +100 -0
  70. package/dist/assets/assets/eventmodeling-K75KTNOO-DCWa3gfa.js +1 -0
  71. package/dist/assets/assets/flowDiagram-IUGLLWBU-gCjEaaJT.js +1 -0
  72. package/dist/assets/assets/ganttDiagram-R7GPNTJY-Dm_cZnna.js +293 -0
  73. package/dist/assets/assets/gitGraph-VSP46ZUC-Dh4IxJQ1.js +1 -0
  74. package/dist/assets/assets/gitGraphDiagram-PDYL7XHY-QDF6FwFx.js +107 -0
  75. package/dist/assets/assets/graphlib-DS17s2tU.js +2 -0
  76. package/dist/assets/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
  77. package/dist/assets/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
  78. package/dist/assets/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
  79. package/dist/assets/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
  80. package/dist/assets/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
  81. package/dist/assets/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
  82. package/dist/assets/assets/index-CyoszlUs.js +155 -0
  83. package/dist/assets/assets/index-DZM68mTk.css +1 -0
  84. package/dist/assets/assets/info-OHQRW6UA-Bx3-jsHE.js +1 -0
  85. package/dist/assets/assets/infoDiagram-MVDRKAX5-kfuApuUh.js +3 -0
  86. package/dist/assets/assets/init-C-OQMol4.js +2 -0
  87. package/dist/assets/assets/ishikawaDiagram-HPEHV2GE-BNFPhOYw.js +71 -0
  88. package/dist/assets/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  89. package/dist/assets/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  90. package/dist/assets/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  91. package/dist/assets/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  92. package/dist/assets/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  93. package/dist/assets/assets/journeyDiagram-BOSHW7O7-BaCHKUWo.js +140 -0
  94. package/dist/assets/assets/kanban-definition-FNSA4HC5-CHsqe3F-.js +90 -0
  95. package/dist/assets/assets/katex-B_JcIwqj.js +258 -0
  96. package/dist/assets/assets/line-D1d67909.js +2 -0
  97. package/dist/assets/assets/linear-Q6-wGL36.js +2 -0
  98. package/dist/assets/assets/mermaid-parser.core-D00DwWXq.js +8 -0
  99. package/dist/assets/assets/mermaid.core-Dcxioi4i.js +45 -0
  100. package/dist/assets/assets/mindmap-definition-6OY57UG3-DLHxBNbx.js +99 -0
  101. package/dist/assets/assets/ordinal-BDEzSJ7C.js +2 -0
  102. package/dist/assets/assets/packet-JDAUHWVQ-BpRomuio.js +1 -0
  103. package/dist/assets/assets/path-fybaL0A-.js +2 -0
  104. package/dist/assets/assets/pdf.worker-D0qLimcv.js +52 -0
  105. package/dist/assets/assets/pegDiagram-ECIUJNBX-B8uwmRiw.js +2 -0
  106. package/dist/assets/assets/pie-XZMESJXO-DXcaJ1Ed.js +1 -0
  107. package/dist/assets/assets/pieDiagram-GNMPY74T-Bf6zf-_F.js +40 -0
  108. package/dist/assets/assets/quadrantDiagram-D57K4MC3-DTwelAIz.js +8 -0
  109. package/dist/assets/assets/radar-ABXABTNO-amIlEBld.js +1 -0
  110. package/dist/assets/assets/railroad-I3PHUGI6-Dy0tjn7W.js +1 -0
  111. package/dist/assets/assets/railroad-abnf-LNEFI6M7-BbSxomp-.js +1 -0
  112. package/dist/assets/assets/railroad-ebnf-DWYD2UWJ-CyaFAV-N.js +1 -0
  113. package/dist/assets/assets/railroad-peg-JR7BVNR7-J6qhKRiZ.js +1 -0
  114. package/dist/assets/assets/railroadDiagram-Y72NRBL7-CuZTp7_P.js +2 -0
  115. package/dist/assets/assets/requirementDiagram-EQYSW5RA-Dr8iJKNI.js +85 -0
  116. package/dist/assets/assets/rolldown-runtime-COiEfhsA.js +1 -0
  117. package/dist/assets/assets/rough.esm-Dy-Kn_BL.js +2 -0
  118. package/dist/assets/assets/sankeyDiagram-SY24JHO5-BOsF3YXc.js +41 -0
  119. package/dist/assets/assets/sequenceDiagram-BLEHNHQU-xbpYp1Re.js +170 -0
  120. package/dist/assets/assets/shell-DwuoZtxw.js +2 -0
  121. package/dist/assets/assets/sizeCapture-INFHLROL-3uHXrFqA.js +2 -0
  122. package/dist/assets/assets/src-BUPyFW7w.js +2 -0
  123. package/dist/assets/assets/stateDiagram-v2-A6IESKWZ-emIqrFza.js +292 -0
  124. package/dist/assets/assets/swimlanes-B3ENRKFQ-DMu8_RKK.js +2 -0
  125. package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-hqgPbLDH.js +9 -0
  126. package/dist/assets/assets/timeline-definition-JXYKGLGB-DEYeT71U.js +121 -0
  127. package/dist/assets/assets/toml-BPTmHmyx.js +2 -0
  128. package/dist/assets/assets/treeView-D4JQ5SDB-D4i_zYtj.js +1 -0
  129. package/dist/assets/assets/treemap-SAJKECNS-DIhuvCUO.js +1 -0
  130. package/dist/assets/assets/usecaseDiagram-WPOLBNNX-CvTEJOSu.js +329 -0
  131. package/dist/assets/assets/vennDiagram-Q3Y3IDCW-BIH58z_d.js +35 -0
  132. package/dist/assets/assets/wardley-7MLQ67FV-BHDv6GB4.js +1 -0
  133. package/dist/assets/assets/wardleyDiagram-IVAIDKWA-T5ssy_0I.js +79 -0
  134. package/dist/assets/assets/webmcpSimulator-ChRvJuwm.js +2 -0
  135. package/dist/assets/assets/webpack-D6ELVt7-.js +55 -0
  136. package/dist/assets/assets/xterm-BrP-ENHg.css +1 -0
  137. package/dist/assets/assets/xterm-CerOhKYV.js +17 -0
  138. package/dist/assets/assets/xychartDiagram-4URNHDU4-CI--WsXX.js +8 -0
  139. package/dist/assets/bundle-asset-policy.json +1 -0
  140. package/dist/assets/favicon-16.png +0 -0
  141. package/dist/assets/favicon-32.png +0 -0
  142. package/dist/assets/favicon.ico +0 -0
  143. package/dist/assets/favicon.svg +15 -0
  144. package/dist/assets/icon-512.png +0 -0
  145. package/dist/assets/index.html +19 -0
  146. package/dist/assets/pwa/icon-192.png +0 -0
  147. package/dist/assets/pwa/icon-512.png +0 -0
  148. package/dist/assets/pwa/index.html +29 -0
  149. package/dist/assets/pwa/manifest.webmanifest +23 -0
  150. package/dist/assets/pwa/pwa.js +21 -0
  151. package/dist/assets/pwa/sw.js +4 -0
  152. package/dist/atomicJson-BJfPFSYF.js +40 -0
  153. package/dist/backgroundWork-CeFrbRnj.js +43 -0
  154. package/dist/browser-EJ5_ffnN.js +519 -0
  155. package/dist/build-2gFaVEfG.js +3355 -0
  156. package/dist/bun-sqlite-dialect-DoOVo4ja-BwE6C1ge.js +123 -0
  157. package/dist/chunk-V2S4ZYJR-Bx_5eqar.js +1288 -0
  158. package/dist/codemode-DbPu0yJN.js +25 -0
  159. package/dist/compiled-query-D1ISogrr.js +12 -0
  160. package/dist/contextProjection-DVP2Vc5j.js +188 -0
  161. package/dist/d1-sqlite-dialect-m0f01-4z-BLR2MJ7U.js +137 -0
  162. package/dist/dist-BVBi6VMV.js +342 -0
  163. package/dist/dist-PDDFdqDX.js +7212 -0
  164. package/dist/domains-BNjGTOPj.js +736 -0
  165. package/dist/emscripten-module.cloudflare-D4Bc9Ykz.js +500 -0
  166. package/dist/emscripten-module.wasm +0 -0
  167. package/dist/exports-BNZz2DNU.js +236 -0
  168. package/dist/extensionFile-CXOa5G4C.js +409 -0
  169. package/dist/factory-Cs8iaUtc.js +2264 -0
  170. package/dist/ffi-B7mhNP0h.js +146 -0
  171. package/dist/fileAccess-bFgmsyx0.js +26 -0
  172. package/dist/harnessState-gmzJcPGt.js +88 -0
  173. package/dist/harnessStore-BT706Ly6.js +51 -0
  174. package/dist/harnessStore-BiH9vSuD.js +1 -0
  175. package/dist/hubChannel-BHQyzcOo.js +107 -0
  176. package/dist/index.edge-BgSx_gRO.js +45 -0
  177. package/dist/kysely-adapter-D51abb3q.js +1 -0
  178. package/dist/layeredConfig-DPQAnlXD.js +6712 -0
  179. package/dist/main-DpIyQapO.js +206371 -0
  180. package/dist/majorModes-BvWNqoHt.js +1 -0
  181. package/dist/majorModes-DbCfLZH3.js +333 -0
  182. package/dist/mcpProjection-BsP0IEnb.js +98 -0
  183. package/dist/module-ES6BEMUI-eRoKov37.js +1 -0
  184. package/dist/node-sqlite-dialect-zuN6EhLH.js +123 -0
  185. package/dist/notification-D76PSL7r.js +2525 -0
  186. package/dist/piSettings-B6fsgIBA.js +1 -0
  187. package/dist/platform-B4AAgwJ0.js +16 -0
  188. package/dist/platformFiles-C_bXo4Ig.js +39 -0
  189. package/dist/protocol-Xpm_mCNN.js +35 -0
  190. package/dist/puppeteer-cloudflare-B-GHrPGO.js +20714 -0
  191. package/dist/remoteMcp-CMqZldeA.js +14431 -0
  192. package/dist/rolldown-runtime-B-lAHAz2.js +37 -0
  193. package/dist/schemas-Vj8-rCR4.js +6093 -0
  194. package/dist/server-36iuA3MI.js +343 -0
  195. package/dist/server-A-_GFpPr.js +2276 -0
  196. package/dist/server-BAAL9-NA.js +40 -0
  197. package/dist/server-BE6VqEiA.js +1002 -0
  198. package/dist/server-BZaPPoQp.js +592 -0
  199. package/dist/server-BZh1ZXz_.js +403 -0
  200. package/dist/server-D4W7EdJY.js +2606 -0
  201. package/dist/server-D75MWDhB.js +118 -0
  202. package/dist/server-D8ndq0wL.js +587 -0
  203. package/dist/server-DJAanjoI.js +1746 -0
  204. package/dist/server-Dpgh8PDh.js +108 -0
  205. package/dist/server-Dt4y1rZD.js +3892 -0
  206. package/dist/server-ObAxKoVY.js +2418 -0
  207. package/dist/server-r358hzQg.js +280 -0
  208. package/dist/server-tvgQ99rv.js +657 -0
  209. package/dist/serverPlugin-BOI6c6s5.js +3393 -0
  210. package/dist/sessionConfig-rBQgzXlT.js +1961 -0
  211. package/dist/sqlite-adapter-CHi2-ptj.js +79 -0
  212. package/dist/sqlite-introspector-DSCAP82F-C0Fy7KX8.js +10211 -0
  213. package/dist/validation-D77NZBrx.js +298 -0
  214. package/dist/value-Djvc2foV.js +2247 -0
  215. package/dist/worker.js +176084 -0
  216. package/package.json +73 -3
  217. package/wrangler.jsonc +49 -0
package/LICENSE ADDED
@@ -0,0 +1,149 @@
1
+ License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
2
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
3
+
4
+ Parameters
5
+
6
+ Licensor: Agimon Pty Ltd
7
+ Licensed Work: Po, the software in the Po source repository and the
8
+ packages released from it, in each version released by
9
+ the Licensor.
10
+ The Licensed Work is (c) 2026 Agimon Pty Ltd.
11
+ Material identified as third-party in the "Third-party
12
+ components" section at the end of this file or in a
13
+ NOTICE file, and any package or directory whose own
14
+ license file grants a different license, is not part of
15
+ the Licensed Work and remains under its own license.
16
+ Additional Use Grant: You may make production use of the Licensed Work if
17
+ your use is Eligible Use. "Eligible Use" is production use that falls
18
+ within at least one of the following:
19
+
20
+ (a) Personal Use. Use by an individual for their own personal purposes,
21
+ and not on behalf of, or for the benefit of, an employer, client, or
22
+ other Organization. Use by an individual in the course of employment
23
+ or engagement by an Organization is use by that Organization.
24
+
25
+ (b) Small Organization Use. Use by or on behalf of an Organization whose
26
+ Annual Revenue is less than USD 1,000,000.
27
+
28
+ (c) Non-profit, Education and Research Use. Use, regardless of Annual
29
+ Revenue, by (i) an Organization registered or recognized as a
30
+ non-profit or charitable organization under the laws of its
31
+ jurisdiction, for its non-profit purposes; (ii) an accredited school,
32
+ college, or university, for teaching, learning, or academic research;
33
+ or (iii) a publicly funded research institution, for its research.
34
+
35
+ (d) Service Provider Use. Use by a consultant, contractor, agency, or other
36
+ service provider, regardless of its own Annual Revenue, solely to
37
+ build, deploy, host, operate, or support the Licensed Work for a client
38
+ whose own use would be Eligible Use under (a), (b), or (c). A service
39
+ provider's use for its own purposes is Eligible Use only if the service
40
+ provider itself qualifies under (b) or (c).
41
+
42
+
43
+ Hosted services. Offering the Licensed Work to third parties as a hosted
44
+ or managed service whose primary value is the Licensed Work is Eligible
45
+ Use only if each such third party's own use would be Eligible Use.
46
+
47
+ Definitions. "Organization" means any company, partnership, sole
48
+ proprietorship, trust, association, government body, or other entity, and
49
+ includes an individual acting in a business or professional capacity.
50
+ "Affiliate" means any entity that directly or indirectly controls, is
51
+ controlled by, or is under common control with an Organization, where
52
+ "control" means ownership of more than 50% of the voting interests of an
53
+ entity or the power to direct its management and policies by contract or
54
+ otherwise. "Annual Revenue" means the total gross revenue of an
55
+ Organization and all of its Affiliates combined, from all sources and
56
+ whether or not related to the Licensed Work, for its most recently
57
+ completed fiscal year, or, if it has not completed a fiscal year, for the
58
+ twelve months before the use (or since its formation, if shorter),
59
+ converted into US dollars at the average exchange rate for that period.
60
+ Proceeds of equity or debt financing are not revenue.
61
+
62
+ Threshold. If an Organization stops qualifying under (b), its existing
63
+ production use remains Eligible Use for 90 days after it stops
64
+ qualifying, after which it must obtain a commercial license or stop
65
+ production use. Use that was Eligible Use when it occurred never requires
66
+ a commercial license after the fact.
67
+ Change Date: Four years from the date a version of the Licensed Work
68
+ is first publicly released by the Licensor.
69
+ Change License: Apache License, Version 2.0
70
+
71
+ For information about alternative licensing arrangements for the Licensed
72
+ Work, please visit: https://agimon.ai/licensing
73
+
74
+ Notice
75
+
76
+ The Business Source License (this document, or the "License") is not an Open
77
+ Source license. However, the Licensed Work will eventually be made available
78
+ under an Open Source License, as stated in this License.
79
+
80
+ -----------------------------------------------------------------------------
81
+
82
+ Business Source License 1.1
83
+
84
+ Terms
85
+
86
+ The Licensor hereby grants you the right to copy, modify, create derivative
87
+ works, redistribute, and make non-production use of the Licensed Work. The
88
+ Licensor may make an Additional Use Grant, above, permitting limited
89
+ production use.
90
+
91
+ Effective on the Change Date, or the fourth anniversary of the first publicly
92
+ available distribution of a specific version of the Licensed Work under this
93
+ License, whichever comes first, the Licensor hereby grants you rights under
94
+ the terms of the Change License, and the rights granted in the paragraph
95
+ above terminate.
96
+
97
+ If your use of the Licensed Work does not comply with the requirements
98
+ currently in effect as described in this License, you must purchase a
99
+ commercial license from the Licensor, its affiliated entities, or authorized
100
+ resellers, or you must refrain from using the Licensed Work.
101
+
102
+ All copies of the original and modified Licensed Work, and derivative works
103
+ of the Licensed Work, are subject to this License. This License applies
104
+ separately for each version of the Licensed Work and the Change Date may vary
105
+ for each version of the Licensed Work released by Licensor.
106
+
107
+ You must conspicuously display this License on each original or modified copy
108
+ of the Licensed Work. If you receive the Licensed Work in original or
109
+ modified form from a third party, the terms and conditions set forth in this
110
+ License apply to your use of that work.
111
+
112
+ Any use of the Licensed Work in violation of this License will automatically
113
+ terminate your rights under this License for the current and all other
114
+ versions of the Licensed Work.
115
+
116
+ This License does not grant you any right in any trademark or logo of
117
+ Licensor or its affiliates (provided that you may use a trademark or logo of
118
+ Licensor as expressly required by this License).
119
+
120
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
121
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
122
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
123
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
124
+ TITLE.
125
+
126
+ MariaDB hereby grants you permission to use this License’s text to license
127
+ your works, and to refer to it using the trademark “Business Source License”,
128
+ as long as you comply with the Covenants of Licensor below.
129
+
130
+ Covenants of Licensor
131
+
132
+ In consideration of the right to use this License’s text and the “Business
133
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
134
+ other recipients of the licensed work to be provided by Licensor:
135
+
136
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
137
+ or a license that is compatible with GPL Version 2.0 or a later version,
138
+ where “compatible” means that software provided under the Change License can
139
+ be included in a program with software provided under GPL Version 2.0 or a
140
+ later version. Licensor may specify additional Change Licenses without
141
+ limitation.
142
+
143
+ 2. To either: (a) specify an additional grant of rights to use that does not
144
+ impose any additional restriction on the right granted in this License, as
145
+ the Additional Use Grant; or (b) insert the text “None”.
146
+
147
+ 3. To specify a Change Date.
148
+
149
+ 4. Not to modify this License in any other way.
package/README.md CHANGED
@@ -1,3 +1,261 @@
1
- # Temporary Holding Version
1
+ # @agimon-ai/po-cloudflare
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Po headless sessions on Cloudflare Workers, one Durable Object per session. The package ships the
4
+ built Worker (`dist/`) and its `wrangler.jsonc`. A Workers Paid plan is required: the gzip bundle
5
+ is about 3.4 MiB, over the Free plan's 3 MiB limit.
6
+
7
+ ## Deploy your own
8
+
9
+ ```bash
10
+ npm i @agimon-ai/po-cloudflare wrangler
11
+ cp node_modules/@agimon-ai/po-cloudflare/wrangler.jsonc .
12
+ # In wrangler.jsonc: set "name", "main" to "node_modules/@agimon-ai/po-cloudflare/dist/worker.js" and
13
+ # "assets.directory" to "node_modules/@agimon-ai/po-cloudflare/dist/assets" (the Po web app).
14
+ # Keep the durable_objects bindings and migrations exactly as shipped; migrations are irreversible.
15
+ npx wrangler secret put PO_ATTACH_TOKEN # at least 32 random characters
16
+ npx wrangler secret put PO_PROVIDER_API_KEY
17
+ npx wrangler deploy --var PO_DEFAULT_PROVIDER:openrouter --var PO_DEFAULT_MODEL:<model> \
18
+ --var PO_PROVIDER_BASE_URL:https://openrouter.ai/api/v1
19
+ curl -fsS https://<your-worker>/healthz # ok
20
+ ```
21
+
22
+ Open `https://<your-worker>/` in a browser and sign in once with the attach token: the Worker serves the Po web
23
+ app behind an `__Host-po_owner` cookie (HttpOnly, Secure, SameSite=Strict, 7 days). Ten failed sign-ins lock
24
+ sign-in for 15 minutes. For a custom domain set `--var PO_SELF_HOST_ORIGIN:https://po.example.com`. The
25
+ self-hosted web app lists, creates, chats in and deletes sessions; settings and plugins are not available there
26
+ yet (`/api/compositions` answers `{ "workspaces": [] }` and `/api/web-plugins/*` answers 404). Signed-out
27
+ browsers are sent to the sign-in page at `/api/owner/sign-in` (`/sign-in` serves the same page).
28
+
29
+ ### Signed offline bundle and pairing
30
+
31
+ Release builds of this package sign the web app at build time with the Agimon release key, so a browser can pin
32
+ that key and its service worker serves only bytes that verify against it, the same trust the local hub's `/pair`
33
+ flow gives. Print this browser's pairing link from the package you deploy:
34
+
35
+ ```bash
36
+ node -e "const m=require('@agimon-ai/po-cloudflare/dist/assets/bundle-manifest.json');console.log('https://<your-worker>/pair#s='+m.publicKey+'&r='+m.manifest.revision)"
37
+ ```
38
+
39
+ Compare the `s=` key with the one in the release notes, sign in, then open the link in the same browser. The
40
+ page verifies every file against the key before the cockpit runs; later deploys signed by the same key update
41
+ the browser on its next visit, and a different key asks you to confirm its fingerprint. The key travels only in
42
+ the URL fragment, which the browser never sends to the Worker. A build without a key still works as before,
43
+ but `/pair`, `/sw.js`, `/bundle-manifest.json` and `/bundle-assets/*` answer 404. Once a browser has paired,
44
+ keep deploying signed builds: an unsigned one cannot update it.
45
+
46
+ To sign your own build, make an EC P-256 key once, keep it out of git, and pass it to the build:
47
+
48
+ ```bash
49
+ openssl ecparam -name prime256v1 -genkey -noout | openssl pkcs8 -topk8 -nocrypt -out po-bundle-key.pem
50
+ PO_BUNDLE_SIGNING_KEY_FILE=po-bundle-key.pem pnpm build # or PO_BUNDLE_SIGNING_KEY="$(cat po-bundle-key.pem)"
51
+ ```
52
+
53
+ The build prints the public key and the `/pair#s=<key>&r=<revision>` link. The revision is the build time in
54
+ seconds unless `PO_BUNDLE_REVISION` sets it; each release needs a higher one than the browser holds.
55
+
56
+ Scripts and other clients use `Authorization: Bearer <PO_ATTACH_TOKEN>`: session sockets at
57
+ `/api/workspaces/<ws>/sessions/<id>/ws` and the workspace and session list. Signed-in mode (below) adds Po
58
+ identity, orgs and the REST directory; OAuth groups are all-or-nothing, so a partially configured provider
59
+ makes boot fail.
60
+
61
+ Try it locally on Miniflare, no Cloudflare account needed: `pnpm build`, then `pnpm local:cloud` (signed-in
62
+ mode) or `pnpm local:self-host` (this mode). Each runs `wrangler dev --local` with stub email and model
63
+ servers, signs in, creates a session, chats over the session socket and deletes it. `--keep` leaves it
64
+ running; `PO_LOCAL_PORT` moves it off 8788. With the signing key that built `dist/assets` in the environment,
65
+ `pnpm local:self-host` also verifies the signed manifest and every shell asset, `/sw.js` and `/pair`.
66
+
67
+ Check a deployed signed-in Worker with `PO_SMOKE_EMAIL=you@example.com PO_SMOKE_PROVIDER_KEY=<key> node
68
+ scripts/smoke.mjs https://<worker>`: health, providers, a refused unauthenticated socket, then email-code sign-in
69
+ (type the code from your inbox), workspace, session, one prompt with a reply, and delete. Leave out
70
+ `PO_SMOKE_PROVIDER_KEY` to use the account's stored key.
71
+
72
+ ## Phase 3 federation admission seam
73
+
74
+ `src/composition/federation.ts` exports `verifyCloudFederationRequest` for the destination DO.
75
+ It requires TLS, derives the method, target and body from the actual request, calls the shared
76
+ verifier and returns either a refusal Response or verified principal, org, device and optional
77
+ via stamps. Dispatch must use those stamps, never caller-supplied headers. The route must supply
78
+ its own workspace/network/org/operation scope and pinned authority ports. The replay port uses
79
+ DO SQL insert-if-absent and an indexed on-write TTL purge, so live nonces survive object eviction.
80
+ It does not take the session scheduler's alarm slot.
81
+
82
+ Public REST/plugin dispatch mounting is pending phase 4. This phase does not add a public route,
83
+ claim a configured identity feed, or admit federation via the attach-token WebSocket path.
84
+ The workerd acceptance fixture calls the adapter through a test-only DO route. Destination
85
+ composition must bind current device revocation authority and pinned issuers, use the verified
86
+ identity token's organization authority, fail closed when
87
+ unavailable, and refuse redirects when fetching the pinned origin's JWKS.
88
+
89
+ ## Phase 4 signed-in Po Cloud
90
+
91
+ Po Cloud is NOT operator-blind. The Agimon operator controls the Worker and its wrapping
92
+ secret and can access org-shared cloud data and provider keys. Encryption at rest does not
93
+ protect against a compromised operator or running Worker.
94
+
95
+ Set `PO_CLOUD_MODE=signed-in`, configure the identity issuer and its existing secrets, and
96
+ set a separate high-entropy `PO_ORG_KEY_WRAP` secret (at least 32 characters). Keep it stable:
97
+ changing it without rewrapping existing data keys makes stored provider keys unreadable.
98
+ `PO_CLOUD_HOST_ID` defaults to `po-cloud`. Network ID and token audience are the org ID.
99
+ Without signed-in mode, the attach bearer gate and `workspaceId/sessionId` session DO names
100
+ stay unchanged, even if this Worker also serves identity endpoints.
101
+
102
+ Bootstrap with authenticated `POST /api/auth/personal-org` and `{ "trigger": "cloud-workspace" }`.
103
+ The identity transaction creates the personal org, owner membership and first workspace allocation
104
+ idempotently. Enroll the device and mint its org-bound identity token through the existing identity
105
+ API. Every subsequent workspace/provider REST/socket request needs `Authorization: Bearer <identity-token>` and
106
+ `x-po-envelope`, a JSON C3 signed envelope over the actual method, path/query and body. Root
107
+ workspace-list/create and org-key routes use an empty signed workspace ID. Session routes include
108
+ both workspace and session IDs when present. TLS, configured issuer binding, current membership,
109
+ device key and revocation epoch, audience, destination and durable nonce admission are checked
110
+ before dispatch. Caller-supplied identity stamps are never trusted. Delegated workspace/plugin
111
+ calls remain refused here; roster host proofs provide separate control-plane authority.
112
+
113
+ Routes mirror the native hostActions reply shapes:
114
+
115
+ - `POST /api/workspaces` with an optional `name` returns `{ workspace }` (201).
116
+ Cloud workspaces are virtual folders, not local repository admissions; `root` is refused.
117
+ - `GET /api/workspaces` returns `{ workspaces }` for the current org's identity allocations.
118
+ - `POST /api/workspaces/:id/sessions` with an optional `name` returns `{ sessionId }` (201).
119
+ - `GET /api/workspaces/:id/sessions` and `GET /api/workspaces/:id/sessions/:sessionId` list/read
120
+ directory summaries. Session runtime state is served over the existing session socket.
121
+ - `GET /api/workspaces/:id/sessions/:sessionId/ws` attaches only an allocated session.
122
+ - `POST /api/orgs/:orgId/provider-key` with `{ "apiKey": "..." }` requires a current owner/admin.
123
+ There is no public key-read route. The configured OpenAI-compatible provider/model/base URL
124
+ still come from Worker configuration. `DELETE` on the same route removes the stored key (204).
125
+ - `DELETE /api/workspaces/:id/sessions/:sessionId` purges the session object, then its directory row (204).
126
+ - `GET /api/orgs/:orgId/mcp-servers` lists the org's URL MCP servers as `{ servers: [{ name, url, headerNames }] }`,
127
+ never header values. `POST` with `{ "name", "url", "headers" }` adds or replaces one (201), and
128
+ `DELETE /api/orgs/:orgId/mcp-servers/:name` removes it (204). All three require a current owner/admin.
129
+ URLs must be https and may not name an IP address, localhost or private suffix, `*.workers.dev`, a cloud
130
+ metadata host, or the issuer's own zone. At most 10 servers per org (429 beyond). Header values are sealed
131
+ like the provider key. Sessions see these servers only when the Worker var `PO_CLOUD_MCP` is `on` (off by
132
+ default); requests then run under the same host policy with redirects refused, a 4 MiB response cap and a
133
+ 30 second timeout.
134
+ - Rendered web pages: with the Worker var `PO_CLOUD_WEB` set to `on` (off by default) and the `BROWSER`
135
+ Browser Rendering binding from `wrangler.jsonc`, signed-in sessions get the code-mode `page` namespace
136
+ (`fetchPage`, `snapshot`, `screenshot`). One browser per session, one page at a time. Every request a page
137
+ makes, redirects included, passes the same host policy (http or https). Pages end after 20 seconds,
138
+ screenshots are capped at 2 MiB, and each org may use 600 browser-seconds per UTC day, counted in the org
139
+ object; past that, calls fail with a message saying the allowance is used up.
140
+ - Abuse ceilings: at most 100 new sessions per org per hour and 100 workspaces per org (429 beyond).
141
+ Signed-in session sockets close with code 4401 after 15 minutes so reconnecting re-runs admission.
142
+
143
+ Cookie admission (native and desktop apps): instead of a token and envelope, a client may send the
144
+ Po identity session cookie plus `x-po-org: <orgId>` for workspace list/create, session
145
+ create/list/read/socket/delete and provider-key set/delete only. Calendar, consents, config,
146
+ compositions, relay and network routes stay device-signed. The org DO resolves the cookie through
147
+ identity `get-session` (cached 30 seconds per cookie hash), then checks membership or workspace
148
+ allocation on every request. TLS is required, `x-po-org` is mandatory, and any `Origin` other than
149
+ none, the issuer or `po://` is refused, so proxies must strip a browser Origin.
150
+
151
+ `PoNetworkObject` uses `orgId`; session objects use `orgId/workspaceId/sessionId`. Identity
152
+ allocations are authoritative, so invented workspace IDs never create an accessible object.
153
+ The identity durable outbox materializes workspace directory rows with insert-if-absent.
154
+ Cloud requests drain it, and the identity alarm retries pending jobs every 60 seconds alongside
155
+ recovery deadlines. Account-deletion purge jobs tombstone the org first, remove the encrypted
156
+ provider key and wrapped data key, close live tenant sessions and delete their DO storage, then
157
+ clear the directory. The identity job is acknowledged only after all session deletions succeed.
158
+ The retained tombstone rejects stale materialization deliveries and all future cloud writes.
159
+ Directory writes recheck the fence after asynchronous work, so sessions committed before the
160
+ fence are enumerated and later session writes are refused. Legacy bearer DOs are never enumerated.
161
+ A retry repeats deletion safely; failed shutdown/deletion retains the directory for retry.
162
+ Boot restores the persisted work deadline. A failed delivery stays pending;
163
+ a crash after materialization but before acknowledgement retries the same row.
164
+
165
+ `ponytail:` Workspace config/directory currently lives in the org's network DO, not a separate
166
+ workspace DO. Ceiling: one org DO serialises all workspace directory writes. Upgrade: split to
167
+ `PoWorkspaceObject` per section 4.4 when load or phase 6 workspace-scope negotiation requires it.
168
+ Phase 5 adds roster, voting and relay behavior as described below.
169
+
170
+ Provider keys are AES-GCM ciphertext in network SQL, under a fresh random per-org data key on each
171
+ replacement. That data key is itself AES-GCM wrapped by a SHA-256-derived key from the Worker
172
+ secret. Both layers have independent random 96-bit IVs and authenticate the org ID as associated
173
+ data. Only ciphertext, IVs and the wrapped key are persisted. Session composition decrypts into
174
+ memory via a trusted binding RPC; signed-in sessions never fall back to the operator provider key.
175
+ New keys apply to newly composed sessions, not already booted sessions. Neither request bodies,
176
+ plaintext keys nor exception messages from cloud dispatch are logged.
177
+
178
+ ## Session Approval and Code mode
179
+
180
+ Stock session composition includes Approval and Code mode through the existing DO SQLite and
181
+ QuickJS ports. Each one-session DO mounts Approval's generated global root before creating its
182
+ session. The queue is host-global within that tenant-isolated DO, not an org-wide or cross-DO
183
+ aggregate. Other packages contribute portable namespaces with gated members; the verification
184
+ contributor exists only in the test build, not the stock Worker artifact.
185
+
186
+ ## Phase 5 network and ciphertext relay
187
+
188
+ In signed-in mode, `GET /api/networks/:id/roster` verifies the existing identity token and
189
+ C3 device proof (`workspaceId: ''`), fetches the issuer snapshot and enrolled-device pins,
190
+ and serially applies C6 before publishing its persisted snapshot. Equal epochs may refresh
191
+ only the issuer signature lifetime, never roster content. Removed hosts retain tombstones.
192
+ Cloud generates its own per-network P-256 host key in DO storage and registers its host
193
+ entry through the issuer-signed cloud-host helper. Cloud trust stops at issuer device
194
+ enrollment, not independent physical pins. Cloud remains operator-readable.
195
+
196
+ `POST /api/networks/:id/network/:operation` uses the shared typed allowlist:
197
+
198
+ - `roster.read`: `{networkId}` returns the cached signed snapshot.
199
+ - `roster.apply`: a signed snapshot, verified against configured issuer and enrolled pins.
200
+ Equal/older epochs, forged snapshots and invalid host signatures are refused.
201
+ - `coordinator.vote`: a C9 proposal returns the cloud's signed vote only after durable commit.
202
+ - `coordinator.lease`: a quorum certificate atomically persists its fence and gateway lease.
203
+ - `coordinator.mutate`: `{lease,operation:'directory.put',input:{hostId,manifest}}` atomically
204
+ checks the receiver fence and stores the directory effect in the same SQL transaction.
205
+
206
+ Person requests keep C3 and current membership checks. Hosts may call only `roster.read`,
207
+ `coordinator.vote` and `coordinator.lease`, using `x-po-host-proof`: a signed
208
+ `po/host-request/v1` envelope with `{networkId,hostId,destination,method,path,bodyHash,nonce,
209
+ issuedAt,expiresAt}`. Destination is `PO_CLOUD_HOST_ID`, method is `POST`, path is the actual
210
+ pathname and bodyHash is base64url SHA-256 of the exact JSON body. Nonces are durable and
211
+ single-use. Vote/lease callers must be current roster voters. This proof cannot authorize
212
+ workspace or plugin operations. The Worker also forwards issuer `own-hub-link`, `hosts`,
213
+ `changes` routes and host-proof roster reads (`x-po-roster-proof`) to the identity DO.
214
+
215
+ `GET /api/networks/:id/relay?hostId=<hint>` upgrades only for a current roster host and
216
+ while a valid persisted quorum lease elects Po Cloud. No person token grants socket authority.
217
+ The upgraded socket is initially unadmitted and receives `{challenge,expiresAt}` with a
218
+ 32-byte random challenge and 30-second TTL. Reply with a host-key-signed
219
+ `po/host-request/v1` envelope `{networkId,hostId,destination,method:'RELAY',path,nonce,
220
+ issuedAt,expiresAt}`. The nonce must equal this socket's challenge. The envelope lifetime
221
+ is at most 60 seconds and uses the 30 second envelope skew independently of the challenge TTL. The first proof
222
+ attempt consumes the challenge; a bad or late proof closes the socket. Success returns
223
+ `{admitted:true,hostId}`. There is no device C3 requirement for this host-only handshake.
224
+
225
+ Hibernating socket tags are immutable, so the hint tag is only an index. Every source and
226
+ destination must also have an admitted attachment with the current roster epoch and host
227
+ key. At most four unadmitted sockets may use one hint. Admission replaces older admitted
228
+ sockets; the DO alarm closes expired challenges. Roster changes close old links. Every
229
+ forward refreshes issuer state and rechecks the cloud lease. Frames contain only
230
+ `{destinationHostId,sealed}` and go only to that admitted host. The relay has no channel
231
+ keys and never opens ciphertext. Destinations must use authenticated fresh channels and
232
+ normal C3/C4 freshness, current authority and durable replay admission after decryption.
233
+
234
+ One-voter networks self-elect during roster synchronization. Lease duration is at most
235
+ 30 seconds with a two-second C9 clock bound. C6 snapshots bootstrap the C9 voter set once;
236
+ they never silently replace a committed voter configuration. Multi-voter campaigning and
237
+ quorum configuration transitions are not automated here. Without a valid cloud lease the
238
+ relay pauses; direct authenticated links do not depend on a coordinator. Two voters need
239
+ both votes, so one down means no coordinator. Safety is crash-fault tolerant under bounded
240
+ clocks, not Byzantine-safe. No live Cloudflare deployment or real-device test is claimed.
241
+
242
+ Replay TTL purge runs **on every admission write in the deployed network DO**, using the phase 3
243
+ indexed SQL expiry delete before insert-if-absent. No in-memory-only replay cache and no replay
244
+ alarm slot are used. Idle expired rows remain until the next admission, but cannot be replayed.
245
+
246
+ ### Verification boundary
247
+
248
+ `tests/cloud.test.ts` runs the real Worker/DO composition in workerd via the same Wrangler harness
249
+ as existing tests. Its test-only TLS terminator also protects signed header bytes from the local
250
+ harness's origin rewriting. There is no production TLS bypass. Tests cover tenant refusals,
251
+ unallocated IDs, REST reply shapes, role changes, SQL ciphertext inspection, captured Node and
252
+ workerd console output, persisted post-commit outbox recovery, lost acknowledgement retries,
253
+ actual production alarm delivery, deployed on-write nonce purge, in-memory provider decryption
254
+ through modelDependencies, and account purge with a stale materialization delivery/repeated purge.
255
+ The purge test seeds tenant session SQL; purging an actively running model turn is not exercised.
256
+
257
+ The crash test seeds the durable post-commit shape rather than killing a Worker process. Forced
258
+ identity DO eviction in this local harness produced an initial `ECONNRESET`; a subsequent request
259
+ succeeded. Cold identity alarm delivery after eviction is not verified here. No production retry
260
+ or security bypass was added to conceal this limitation. Real cloud deployment and native-device
261
+ transport integration remain unverified; this phase does not change native hostActions.
@@ -0,0 +1 @@
1
+ export { BrowserWebSocketTransport } from "./puppeteer-cloudflare-B-GHrPGO.js";
@@ -0,0 +1,58 @@
1
+ import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-B-lAHAz2.js";
2
+ import { t as packageVersion } from "./puppeteer-cloudflare-B-GHrPGO.js";
3
+ //#endregion
4
+ //#region ../../../node_modules/.pnpm/@cloudflare+puppeteer@1.4.0_supports-color@8.1.1/node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/node/NodeWebSocketTransport.js
5
+ var import_browser = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
6
+ module.exports = function() {
7
+ throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object");
8
+ };
9
+ })))());
10
+ /**
11
+ * @license
12
+ * Copyright 2018 Google Inc.
13
+ * SPDX-License-Identifier: Apache-2.0
14
+ */
15
+ /**
16
+ * @internal
17
+ */
18
+ var NodeWebSocketTransport = class NodeWebSocketTransport {
19
+ static create(url, headers) {
20
+ return new Promise((resolve, reject) => {
21
+ const ws = new import_browser.default(url, [], {
22
+ followRedirects: true,
23
+ perMessageDeflate: false,
24
+ allowSynchronousEvents: false,
25
+ maxPayload: 268435456,
26
+ headers: {
27
+ "User-Agent": `Puppeteer ${packageVersion}`,
28
+ ...headers
29
+ }
30
+ });
31
+ ws.addEventListener("open", () => {
32
+ return resolve(new NodeWebSocketTransport(ws));
33
+ });
34
+ ws.addEventListener("error", reject);
35
+ });
36
+ }
37
+ #ws;
38
+ onmessage;
39
+ onclose;
40
+ constructor(ws) {
41
+ this.#ws = ws;
42
+ this.#ws.addEventListener("message", (event) => {
43
+ if (this.onmessage) this.onmessage.call(null, event.data);
44
+ });
45
+ this.#ws.addEventListener("close", () => {
46
+ if (this.onclose) this.onclose.call(null);
47
+ });
48
+ this.#ws.addEventListener("error", () => {});
49
+ }
50
+ send(message) {
51
+ this.#ws.send(message);
52
+ }
53
+ close() {
54
+ this.#ws.close();
55
+ }
56
+ };
57
+ //#endregion
58
+ export { NodeWebSocketTransport };