openship 0.4.5 → 0.4.7

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 (314) hide show
  1. package/README.md +2 -24
  2. package/dist/bare-2HYDXQEH.js +23 -0
  3. package/dist/{bowser-L6PVH37V.js → bowser-O3AEA6AN.js} +3 -1
  4. package/dist/{chunk-YFLQGDN2.js → chunk-4TJC4JZQ.js} +18 -9
  5. package/dist/{chunk-JXQCFTDV.js → chunk-4Z5QO7N6.js} +4 -2
  6. package/dist/{chunk-JJVSOE4I.js → chunk-5MZ624VX.js} +2 -0
  7. package/dist/{chunk-TDFK6ISF.js → chunk-6APIPIJY.js} +6 -4
  8. package/dist/{chunk-3LCRNQ2C.js → chunk-6APULWSU.js} +151 -133
  9. package/dist/{chunk-FTBXJ2VA.js → chunk-6B5YCFFV.js} +6 -4
  10. package/dist/{chunk-MDFYN2QH.js → chunk-AVIB7CT7.js} +3 -1
  11. package/dist/{chunk-W7KGHYLV.js → chunk-DYPH4HCI.js} +2 -0
  12. package/dist/{chunk-5WI7ZXOC.js → chunk-EI575GHN.js} +4 -2
  13. package/dist/{chunk-Z6EKX6CX.js → chunk-FPRHYBY2.js} +2 -0
  14. package/dist/{chunk-FZJX6XP7.js → chunk-FRNAR33O.js} +4 -2
  15. package/dist/{chunk-XRWV5ZNR.js → chunk-FXTBHTWY.js} +360 -42
  16. package/dist/chunk-ILFETZOM.js +131 -0
  17. package/dist/{chunk-E3ZPCNPU.js → chunk-IMBD5PZ5.js} +251 -105
  18. package/dist/{chunk-VJTXRCTT.js → chunk-IPYPMI3S.js} +10 -6
  19. package/dist/{chunk-PARRPUXN.js → chunk-IXCHURVK.js} +5 -3
  20. package/dist/{chunk-YJAS5RQX.js → chunk-JYGD5WSN.js} +2 -0
  21. package/dist/{chunk-JWBXYO24.js → chunk-KI2EY3WB.js} +2 -0
  22. package/dist/{chunk-YVXF6GGR.js → chunk-L2VOGB2X.js} +5 -104
  23. package/dist/{chunk-K5OH5U7N.js → chunk-MZ2WEHHY.js} +5 -3
  24. package/dist/{chunk-SJBR527P.js → chunk-O6ZZF52V.js} +3 -1
  25. package/dist/{chunk-VLPJLXXB.js → chunk-OWED2GRM.js} +3 -1
  26. package/dist/{chunk-C4FOQJ63.js → chunk-OXWDY22G.js} +4 -2
  27. package/dist/{chunk-NPVJYR7M.js → chunk-Q2CIRAOK.js} +2 -0
  28. package/dist/chunk-R5BHFFAV.js +282 -0
  29. package/dist/{chunk-JYAGTMSJ.js → chunk-RPHRPFEH.js} +2 -0
  30. package/dist/{chunk-R74UB4X4.js → chunk-SJIFLLX4.js} +397 -85
  31. package/dist/{chunk-HYL4QYZM.js → chunk-TGIINPVM.js} +13 -2
  32. package/dist/{chunk-SYCZE6FQ.js → chunk-TYVME3XD.js} +7 -1
  33. package/dist/{chunk-UMYQALBH.js → chunk-UXWAVM4C.js} +1788 -1484
  34. package/dist/{chunk-HDV4NSA3.js → chunk-V6AN6XLZ.js} +16 -6
  35. package/dist/{chunk-3YCMJRDZ.js → chunk-VDMQJHPI.js} +36 -15
  36. package/dist/{chunk-RZPDJC2J.js → chunk-VFINNTUL.js} +20 -1
  37. package/dist/{chunk-65KKUJBR.js → chunk-VWPEKOH6.js} +4 -2
  38. package/dist/{chunk-GHXGCANU.js → chunk-W73X43R7.js} +4 -2
  39. package/dist/{chunk-7EYFCKZX.js → chunk-XFCDYZUQ.js} +8 -6
  40. package/dist/cloud-2KXREXMO.js +30 -0
  41. package/dist/{cloud-7IGG45CF.js → cloud-7QYOGF7F.js} +4 -2
  42. package/dist/detect-2XSCFFTF.js +44 -0
  43. package/dist/{dist-NQB6QGX3.js → dist-IQJ6H6UZ.js} +4 -2
  44. package/dist/{dist-es-DCR6UJMP.js → dist-es-5DY7K32L.js} +7 -5
  45. package/dist/{dist-es-TYYZ5KEF.js → dist-es-JSTDUS7Q.js} +7 -5
  46. package/dist/{dist-es-7EZIM4JU.js → dist-es-OSNJBLXB.js} +6 -4
  47. package/dist/{dist-es-6RSPR56Q.js → dist-es-RYHIPOTN.js} +15 -13
  48. package/dist/{dist-es-33Z3Y6VE.js → dist-es-VNKHQVIB.js} +5 -3
  49. package/dist/{dist-es-D6QQVWRZ.js → dist-es-WV4AMOII.js} +9 -7
  50. package/dist/{dist-es-GMEQINIE.js → dist-es-X3B5QYKB.js} +7 -5
  51. package/dist/docker-LODK5Y2S.js +16 -0
  52. package/dist/docker-edge-executor-VHW3JPJS.js +13 -0
  53. package/dist/edge-import-ZQ4Y5HEA.js +45 -0
  54. package/dist/ensure-container-edge-ED25XL3Z.js +31 -0
  55. package/dist/{event-streams-G7F6Q7QY.js → event-streams-EHRAKL75.js} +5 -3
  56. package/dist/{executor-O5NR7LMP.js → executor-YPT6RH6O.js} +9 -7
  57. package/dist/index.d.ts +2 -1
  58. package/dist/index.js +279 -245
  59. package/dist/{loadSso-LH753OSJ.js → loadSso-46FQRIZS.js} +11 -9
  60. package/dist/local-executor-V7U5VOZW.js +12 -0
  61. package/dist/nginx-XWJAOGS4.js +24 -0
  62. package/dist/{noop-6KC6HRDB.js → noop-FMMFG2EZ.js} +4 -2
  63. package/dist/{openresty-lua-KFCOJAG4.js → openresty-lua-4WLGDSER.js} +11 -3
  64. package/dist/server/engine/ChangeLog +2289 -0
  65. package/dist/server/engine/Documentations +5 -0
  66. package/dist/server/engine/LICENSE +674 -0
  67. package/dist/server/engine/README.md +34 -0
  68. package/dist/server/engine/conf/amavisd +150 -0
  69. package/dist/server/engine/conf/clamav +71 -0
  70. package/dist/server/engine/conf/core +632 -0
  71. package/dist/server/engine/conf/dovecot +151 -0
  72. package/dist/server/engine/conf/fail2ban +72 -0
  73. package/dist/server/engine/conf/global +698 -0
  74. package/dist/server/engine/conf/iredapd +52 -0
  75. package/dist/server/engine/conf/logwatch +28 -0
  76. package/dist/server/engine/conf/postfix +97 -0
  77. package/dist/server/engine/conf/postgresql +93 -0
  78. package/dist/server/engine/conf/spamassassin +39 -0
  79. package/dist/server/engine/dialog/config_via_dialog.sh +258 -0
  80. package/dist/server/engine/dialog/optional_components.sh +122 -0
  81. package/dist/server/engine/dialog/pgsql_config.sh +52 -0
  82. package/dist/server/engine/dialog/virtual_domain_config.sh +94 -0
  83. package/dist/server/engine/functions/amavisd.sh +267 -0
  84. package/dist/server/engine/functions/backend.sh +85 -0
  85. package/dist/server/engine/functions/clamav.sh +100 -0
  86. package/dist/server/engine/functions/cleanup.sh +393 -0
  87. package/dist/server/engine/functions/dovecot.sh +583 -0
  88. package/dist/server/engine/functions/fail2ban.sh +209 -0
  89. package/dist/server/engine/functions/iredapd.sh +356 -0
  90. package/dist/server/engine/functions/optional_components.sh +24 -0
  91. package/dist/server/engine/functions/packages.sh +522 -0
  92. package/dist/server/engine/functions/packages_freebsd.sh +179 -0
  93. package/dist/server/engine/functions/postfix.sh +457 -0
  94. package/dist/server/engine/functions/postgresql.sh +239 -0
  95. package/dist/server/engine/functions/spamassassin.sh +49 -0
  96. package/dist/server/engine/functions/system_accounts.sh +128 -0
  97. package/dist/server/engine/iRedMail.sh +144 -0
  98. package/dist/server/engine/pkgs/get_all.sh +338 -0
  99. package/dist/server/engine/pkgs/pkgs.freebsd.sha256 +3 -0
  100. package/dist/server/engine/pkgs/pkgs.openbsd.sha256 +6 -0
  101. package/dist/server/engine/pkgs/pkgs.sha256 +1 -0
  102. package/dist/server/engine/samples/amavisd/amavisd.conf +677 -0
  103. package/dist/server/engine/samples/amavisd/amavisd.mysql +278 -0
  104. package/dist/server/engine/samples/amavisd/amavisd.pgsql +253 -0
  105. package/dist/server/engine/samples/amavisd/amavisd.schema +942 -0
  106. package/dist/server/engine/samples/amavisd/default_spam_policy.sql +46 -0
  107. package/dist/server/engine/samples/dovecot/dovecot-2.4-mariadb.conf +758 -0
  108. package/dist/server/engine/samples/dovecot/dovecot-2.4-openldap.conf +767 -0
  109. package/dist/server/engine/samples/dovecot/dovecot-2.4-pgsql.conf +762 -0
  110. package/dist/server/engine/samples/dovecot/dovecot-last-login.conf +50 -0
  111. package/dist/server/engine/samples/dovecot/dovecot-ldap.conf +21 -0
  112. package/dist/server/engine/samples/dovecot/dovecot-share-folder.conf +22 -0
  113. package/dist/server/engine/samples/dovecot/dovecot-sql.conf +28 -0
  114. package/dist/server/engine/samples/dovecot/dovecot-used-quota.conf +13 -0
  115. package/dist/server/engine/samples/dovecot/dovecot.conf +484 -0
  116. package/dist/server/engine/samples/dovecot/dovecot.sieve +7 -0
  117. package/dist/server/engine/samples/dovecot/dovecot2-quota-warning.sh +38 -0
  118. package/dist/server/engine/samples/dovecot/sql/imap_share_folder.mysql +16 -0
  119. package/dist/server/engine/samples/dovecot/sql/last_login.mysql +12 -0
  120. package/dist/server/engine/samples/dovecot/sql/used_quota.mysql +26 -0
  121. package/dist/server/engine/samples/dovecot/systemd/override.conf +3 -0
  122. package/dist/server/engine/samples/fail2ban/action.d/banned_db.conf +9 -0
  123. package/dist/server/engine/samples/fail2ban/bin/fail2ban_banned_db +268 -0
  124. package/dist/server/engine/samples/fail2ban/fail2ban.local +17 -0
  125. package/dist/server/engine/samples/fail2ban/filter.d/dovecot.iredmail.conf +5 -0
  126. package/dist/server/engine/samples/fail2ban/filter.d/postfix-pregreet.iredmail.conf +16 -0
  127. package/dist/server/engine/samples/fail2ban/filter.d/postfix.iredmail.conf +18 -0
  128. package/dist/server/engine/samples/fail2ban/filter.d/roundcube.iredmail.conf +9 -0
  129. package/dist/server/engine/samples/fail2ban/jail.d/dovecot.local +8 -0
  130. package/dist/server/engine/samples/fail2ban/jail.d/nginx-http-auth.local +8 -0
  131. package/dist/server/engine/samples/fail2ban/jail.d/postfix-pregreet.local +9 -0
  132. package/dist/server/engine/samples/fail2ban/jail.d/postfix.local +8 -0
  133. package/dist/server/engine/samples/fail2ban/jail.d/roundcube.local +9 -0
  134. package/dist/server/engine/samples/fail2ban/jail.d/sogo.local +8 -0
  135. package/dist/server/engine/samples/fail2ban/jail.d/sshd.local +8 -0
  136. package/dist/server/engine/samples/fail2ban/jail.local +6 -0
  137. package/dist/server/engine/samples/fail2ban/openbsd/rc +27 -0
  138. package/dist/server/engine/samples/fail2ban/sql/fail2ban.mysql +49 -0
  139. package/dist/server/engine/samples/fail2ban/sql/fail2ban.pgsql +48 -0
  140. package/dist/server/engine/samples/firewall/firewalld/services/ssh.xml +6 -0
  141. package/dist/server/engine/samples/firewall/firewalld/zones/iredmail.xml +15 -0
  142. package/dist/server/engine/samples/firewall/iptables/ip6tables.init.debian +362 -0
  143. package/dist/server/engine/samples/firewall/iptables/ip6tables.rules +53 -0
  144. package/dist/server/engine/samples/firewall/iptables/iptables.init.debian +363 -0
  145. package/dist/server/engine/samples/firewall/iptables/iptables.rules +54 -0
  146. package/dist/server/engine/samples/firewall/nftables.conf +58 -0
  147. package/dist/server/engine/samples/freebsd/newsyslog.conf.d/dovecot.conf +3 -0
  148. package/dist/server/engine/samples/freebsd/newsyslog.conf.d/iredapd.conf +1 -0
  149. package/dist/server/engine/samples/freebsd/newsyslog.conf.d/mlmmjadmin.conf +1 -0
  150. package/dist/server/engine/samples/freebsd/newsyslog.conf.d/php-fpm.conf +2 -0
  151. package/dist/server/engine/samples/freebsd/newsyslog.conf.d/slapd.conf +1 -0
  152. package/dist/server/engine/samples/freebsd/syslog.d/dovecot.conf +2 -0
  153. package/dist/server/engine/samples/freebsd/syslog.d/fail2ban.conf +2 -0
  154. package/dist/server/engine/samples/freebsd/syslog.d/iredapd.conf +2 -0
  155. package/dist/server/engine/samples/freebsd/syslog.d/mlmmjadmin.conf +2 -0
  156. package/dist/server/engine/samples/freebsd/syslog.d/php-fpm.conf +2 -0
  157. package/dist/server/engine/samples/freebsd/syslog.d/slapd.conf +2 -0
  158. package/dist/server/engine/samples/iredmail/iredmail.mysql +491 -0
  159. package/dist/server/engine/samples/iredmail/iredmail.pgsql +465 -0
  160. package/dist/server/engine/samples/iredmail/iredmail.schema +456 -0
  161. package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.3.pgsql +40 -0
  162. package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.4.pgsql +18 -0
  163. package/dist/server/engine/samples/logrotate/dovecot +13 -0
  164. package/dist/server/engine/samples/logrotate/iredapd +13 -0
  165. package/dist/server/engine/samples/logrotate/mlmmjadmin +13 -0
  166. package/dist/server/engine/samples/logrotate/openldap +19 -0
  167. package/dist/server/engine/samples/logrotate/php-fpm +13 -0
  168. package/dist/server/engine/samples/openbsd/ldapd.conf +58 -0
  169. package/dist/server/engine/samples/openbsd/pf.conf +28 -0
  170. package/dist/server/engine/samples/postfix/command_filter.pcre +3 -0
  171. package/dist/server/engine/samples/postfix/freebsd/mailer.conf +9 -0
  172. package/dist/server/engine/samples/postfix/helo_access.pcre +180 -0
  173. package/dist/server/engine/samples/postfix/ldap/catchall_maps.cf +11 -0
  174. package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_domain.cf +11 -0
  175. package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_user.cf +11 -0
  176. package/dist/server/engine/samples/postfix/ldap/relay_domains.cf +11 -0
  177. package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_domain.cf +11 -0
  178. package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_user.cf +11 -0
  179. package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_domain.cf +11 -0
  180. package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_user.cf +11 -0
  181. package/dist/server/engine/samples/postfix/ldap/sender_login_maps.cf +11 -0
  182. package/dist/server/engine/samples/postfix/ldap/transport_maps_domain.cf +11 -0
  183. package/dist/server/engine/samples/postfix/ldap/transport_maps_user.cf +11 -0
  184. package/dist/server/engine/samples/postfix/ldap/virtual_alias_maps.cf +11 -0
  185. package/dist/server/engine/samples/postfix/ldap/virtual_group_maps.cf +11 -0
  186. package/dist/server/engine/samples/postfix/ldap/virtual_group_members_maps.cf +11 -0
  187. package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_domains.cf +11 -0
  188. package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_maps.cf +12 -0
  189. package/dist/server/engine/samples/postfix/main.cf +282 -0
  190. package/dist/server/engine/samples/postfix/main.cf.amavisd +7 -0
  191. package/dist/server/engine/samples/postfix/main.cf.dovecot +8 -0
  192. package/dist/server/engine/samples/postfix/main.cf.ldap +39 -0
  193. package/dist/server/engine/samples/postfix/main.cf.mlmmj +5 -0
  194. package/dist/server/engine/samples/postfix/main.cf.mysql +39 -0
  195. package/dist/server/engine/samples/postfix/main.cf.pgsql +39 -0
  196. package/dist/server/engine/samples/postfix/main.cf.postscreen +30 -0
  197. package/dist/server/engine/samples/postfix/master.cf +87 -0
  198. package/dist/server/engine/samples/postfix/mysql/catchall_maps.cf +5 -0
  199. package/dist/server/engine/samples/postfix/mysql/domain_alias_catchall_maps.cf +5 -0
  200. package/dist/server/engine/samples/postfix/mysql/domain_alias_maps.cf +5 -0
  201. package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_domain.cf +5 -0
  202. package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_user.cf +5 -0
  203. package/dist/server/engine/samples/postfix/mysql/relay_domains.cf +5 -0
  204. package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_domain.cf +5 -0
  205. package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_user.cf +5 -0
  206. package/dist/server/engine/samples/postfix/mysql/sender_dependent_relayhost_maps.cf +6 -0
  207. package/dist/server/engine/samples/postfix/mysql/sender_login_maps.cf +5 -0
  208. package/dist/server/engine/samples/postfix/mysql/transport_maps_domain.cf +5 -0
  209. package/dist/server/engine/samples/postfix/mysql/transport_maps_maillist.cf +5 -0
  210. package/dist/server/engine/samples/postfix/mysql/transport_maps_user.cf +5 -0
  211. package/dist/server/engine/samples/postfix/mysql/virtual_alias_maps.cf +5 -0
  212. package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_domains.cf +5 -0
  213. package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_maps.cf +5 -0
  214. package/dist/server/engine/samples/postfix/pgsql/catchall_maps.cf +5 -0
  215. package/dist/server/engine/samples/postfix/pgsql/domain_alias_catchall_maps.cf +5 -0
  216. package/dist/server/engine/samples/postfix/pgsql/domain_alias_maps.cf +5 -0
  217. package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_domain.cf +5 -0
  218. package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_user.cf +5 -0
  219. package/dist/server/engine/samples/postfix/pgsql/relay_domains.cf +5 -0
  220. package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_domain.cf +5 -0
  221. package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_user.cf +5 -0
  222. package/dist/server/engine/samples/postfix/pgsql/sender_dependent_relayhost_maps.cf +6 -0
  223. package/dist/server/engine/samples/postfix/pgsql/sender_login_maps.cf +5 -0
  224. package/dist/server/engine/samples/postfix/pgsql/transport_maps_domain.cf +5 -0
  225. package/dist/server/engine/samples/postfix/pgsql/transport_maps_maillist.cf +5 -0
  226. package/dist/server/engine/samples/postfix/pgsql/transport_maps_user.cf +5 -0
  227. package/dist/server/engine/samples/postfix/pgsql/virtual_alias_maps.cf +5 -0
  228. package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_domains.cf +5 -0
  229. package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_maps.cf +5 -0
  230. package/dist/server/engine/samples/postfix/postscreen_access.cidr +6 -0
  231. package/dist/server/engine/samples/postgresql/sql/add_first_domain_and_user.sql +34 -0
  232. package/dist/server/engine/samples/postgresql/sql/grant_permissions.sql +14 -0
  233. package/dist/server/engine/samples/postgresql/sql/init_vmail_db.sql +15 -0
  234. package/dist/server/engine/samples/rsyslog.d/1-iredmail-dovecot.conf +23 -0
  235. package/dist/server/engine/samples/rsyslog.d/1-iredmail-fail2ban.conf +2 -0
  236. package/dist/server/engine/samples/rsyslog.d/1-iredmail-iredapd.conf +12 -0
  237. package/dist/server/engine/samples/rsyslog.d/1-iredmail-mlmmjadmin.conf +12 -0
  238. package/dist/server/engine/samples/rsyslog.d/1-iredmail-openldap.conf +2 -0
  239. package/dist/server/engine/samples/rsyslog.d/1-iredmail-phpfpm.conf +3 -0
  240. package/dist/server/engine/samples/spamassassin/local.cf +186 -0
  241. package/dist/server/engine/samples/spamassassin/razor.conf +1 -0
  242. package/dist/server/engine/samples/systemd/clamd.service.d/override.conf +2 -0
  243. package/dist/server/engine/samples/systemd/mariadb.service.d/override.conf +3 -0
  244. package/dist/server/engine/samples/systemd/slapd.service.d/override.conf +6 -0
  245. package/dist/server/engine/samples/yum/CentOS-Linux-AppStream.repo +6 -0
  246. package/dist/server/engine/samples/yum/CentOS-Linux-PowerTools.repo +6 -0
  247. package/dist/server/engine/samples/yum/CentOS-Stream-AppStream.repo +7 -0
  248. package/dist/server/engine/samples/yum/CentOS-Stream-PowerTools.repo +7 -0
  249. package/dist/server/engine/samples/yum/symas-openldap.repo +6 -0
  250. package/dist/server/engine/tools/add_enabled_service.py +60 -0
  251. package/dist/server/engine/tools/backup_mysql.sh +238 -0
  252. package/dist/server/engine/tools/backup_openldap.sh +230 -0
  253. package/dist/server/engine/tools/backup_pgsql.sh +217 -0
  254. package/dist/server/engine/tools/backup_sogo.sh +156 -0
  255. package/dist/server/engine/tools/create_mail_user_OpenLDAP.py +335 -0
  256. package/dist/server/engine/tools/create_mail_user_OpenLDAP.sh +287 -0
  257. package/dist/server/engine/tools/create_mail_user_SQL.sh +127 -0
  258. package/dist/server/engine/tools/enable_postscreen.sh +144 -0
  259. package/dist/server/engine/tools/fail2ban_unban_ip.sh +39 -0
  260. package/dist/server/engine/tools/find_sasl_login_ip.sh +20 -0
  261. package/dist/server/engine/tools/find_top_sasl_usernames.sh +28 -0
  262. package/dist/server/engine/tools/generate_ssl_keys.sh +85 -0
  263. package/dist/server/engine/tools/kill_high_cpu_sogo_process.sh +32 -0
  264. package/dist/server/engine/tools/ldap_assign_user_to_groups.py +151 -0
  265. package/dist/server/engine/tools/ldap_move_members_to_another_group.py +129 -0
  266. package/dist/server/engine/tools/migrate_sql_alias_table.py +177 -0
  267. package/dist/server/engine/update/0.9.8/amavisd.mysql +29 -0
  268. package/dist/server/engine/update/0.9.8/amavisd.pgsql +39 -0
  269. package/dist/server/engine/update/0.9.8/iredmail.mysql +53 -0
  270. package/dist/server/engine/update/0.9.8/iredmail.pgsql +61 -0
  271. package/dist/server/engine/update/0.9.9/iredmail.mysql +2 -0
  272. package/dist/server/engine/update/0.9.9/iredmail.pgsql +2 -0
  273. package/dist/server/engine/update/1.0/iredmail.mysql +2 -0
  274. package/dist/server/engine/update/1.0/iredmail.pgsql +2 -0
  275. package/dist/server/engine/update/1.2/last_login.mysql +16 -0
  276. package/dist/server/engine/update/1.4.0/iredmail.mysql +22 -0
  277. package/dist/server/engine/update/1.4.0/iredmail.pgsql +20 -0
  278. package/dist/server/engine/update/1.4.1/iredmail.mysql +3 -0
  279. package/dist/server/engine/update/1.4.1/iredmail.pgsql +3 -0
  280. package/dist/server/engine/update/1.4.1/sogo.mysql +11 -0
  281. package/dist/server/engine/update/1.4.1/sogo.pgsql +30 -0
  282. package/dist/server/engine/update/1.4.1/update-ldap.py +66 -0
  283. package/dist/server/engine/update/1.4.2/iredmail.mysql +9 -0
  284. package/dist/server/engine/update/1.4.2/iredmail.pgsql +9 -0
  285. package/dist/server/engine/update/1.4.2/sogo.pgsql +30 -0
  286. package/dist/server/engine/update/1.6.0/sogo_view.pgsql +27 -0
  287. package/dist/server/engine/update/1.6.3/iredmail.mysql +1 -0
  288. package/dist/server/engine/update/1.7.0/fail2ban.mysql +11 -0
  289. package/dist/server/engine/update/1.7.0/fail2ban.pgsql +12 -0
  290. package/dist/server/engine/update/1.7.1/amavisd.mysql +1 -0
  291. package/dist/server/engine/update/1.7.2/vmail.mysql +30 -0
  292. package/dist/server/engine/update/1.7.3/deleted_mailboxes.mysql +43 -0
  293. package/dist/server/engine/update/1.7.3/iredadmin.mysql +26 -0
  294. package/dist/server/engine/update/1.7.3/vmail.mysql +79 -0
  295. package/dist/server/engine/update/1.7.3/vmail.pgsql +9 -0
  296. package/dist/server/engine/update/README.md +1 -0
  297. package/dist/server/engine/update/ldap/README.md +40 -0
  298. package/dist/server/engine/update/ldap/update-ldap-dovecot-2.3.py +69 -0
  299. package/dist/server/index.js +55793 -53701
  300. package/dist/server/migrations/0071_gh_device_token.sql +3 -0
  301. package/dist/server/migrations/0072_gh_device_token_method.sql +1 -0
  302. package/dist/server/migrations/meta/_journal.json +14 -0
  303. package/dist/setup-2DMFIA74.js +20 -0
  304. package/dist/{signin-PVC7MBZJ.js → signin-ITOPKKUB.js} +11 -9
  305. package/dist/{sso-oidc-ZXY77BSL.js → sso-oidc-NON2PD7Y.js} +11 -9
  306. package/dist/{sts-LX5L4UU3.js → sts-HHFFSAY2.js} +10 -8
  307. package/package.json +1 -1
  308. package/dist/bare-CNSFDNSZ.js +0 -20
  309. package/dist/cloud-655YYCEW.js +0 -26
  310. package/dist/docker-UWQPDEGW.js +0 -14
  311. package/dist/docker-edge-executor-ZLAYE5FE.js +0 -11
  312. package/dist/edge-import-AFID2EN3.js +0 -41
  313. package/dist/nginx-M36GDYL7.js +0 -18
  314. package/dist/setup-ZXXB5S22.js +0 -16
package/README.md CHANGED
@@ -97,7 +97,8 @@ A self-hosted instance **always requires login** (the admin you create in setup)
97
97
  > **Preview an unreleased build (dev).** To run the CLI built straight from source — a branch, tag, or `main` ahead of the next release — install the from-source build:
98
98
  >
99
99
  > ```bash
100
- > curl -fsSL https://get.openship.io/dev | sh # or: OPENSHIP_REF=my-branch curl ... | sh
100
+ > curl -fsSL https://get.openship.io/dev | sh # main (default)
101
+ > curl -fsSL https://get.openship.io/dev | OPENSHIP_REF=dev sh # a branch/tag (var goes on sh, not curl)
101
102
  > openship-dev # same CLI, built from source
102
103
  > openship-dev update # pull latest source + rebuild (no release needed)
103
104
  > ```
@@ -219,29 +220,6 @@ Good-faith security research is **authorized** under our
219
220
  [safe-harbor policy](SECURITY.md#safe-harbor), and we're happy to credit valid
220
221
  first reports.
221
222
 
222
- ---
223
- ## ⭐ Star History
224
-
225
- <p align="center">
226
- <a href="https://star-history.com/#oblien/openship&Date">
227
- <picture>
228
- <source
229
- media="(prefers-color-scheme: dark)"
230
- srcset="https://api.star-history.com/svg?repos=oblien/openship&type=Date&theme=dark"
231
- />
232
- <source
233
- media="(prefers-color-scheme: light)"
234
- srcset="https://api.star-history.com/svg?repos=oblien/openship&type=Date"
235
- />
236
- <img
237
- alt="Star History Chart"
238
- src="https://api.star-history.com/svg?repos=oblien/openship&type=Date"
239
- />
240
- </picture>
241
- </a>
242
- </p>
243
-
244
- ---
245
223
  ## License
246
224
 
247
225
  Openship is **open-source** software, licensed under the [Apache License 2.0](LICENSE).
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
3
+ import { createRequire as __ospCreateRequire } from "node:module";
4
+ const require = __ospCreateRequire(import.meta.url);
5
+ import {
6
+ BareRuntime,
7
+ STATIC_RELEASE_BASE
8
+ } from "./chunk-VDMQJHPI.js";
9
+ import "./chunk-MZ2WEHHY.js";
10
+ import "./chunk-L2VOGB2X.js";
11
+ import "./chunk-4Z5QO7N6.js";
12
+ import "./chunk-4TJC4JZQ.js";
13
+ import "./chunk-OXWDY22G.js";
14
+ import "./chunk-RPHRPFEH.js";
15
+ import "./chunk-TYVME3XD.js";
16
+ import "./chunk-FPRHYBY2.js";
17
+ import "./chunk-ILFETZOM.js";
18
+ import "./chunk-6APULWSU.js";
19
+ import "./chunk-KI2EY3WB.js";
20
+ export {
21
+ BareRuntime,
22
+ STATIC_RELEASE_BASE
23
+ };
@@ -1,6 +1,8 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
- import "./chunk-JWBXYO24.js";
5
+ import "./chunk-KI2EY3WB.js";
4
6
 
5
7
  // ../../node_modules/bowser/src/constants.js
6
8
  var BROWSER_ALIASES_MAP = {
@@ -1,8 +1,7 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
- import {
4
- LocalExecutor
5
- } from "./chunk-SYCZE6FQ.js";
6
5
  import {
7
6
  connectSshClient,
8
7
  getTarCreateEnv,
@@ -10,22 +9,25 @@ import {
10
9
  openSshUnixSocket,
11
10
  prepareSourceTarArgs,
12
11
  reconcileKnownHosts
13
- } from "./chunk-C4FOQJ63.js";
12
+ } from "./chunk-OXWDY22G.js";
14
13
  import {
15
14
  SshDisconnectedError
16
- } from "./chunk-JYAGTMSJ.js";
15
+ } from "./chunk-RPHRPFEH.js";
16
+ import {
17
+ LocalExecutor
18
+ } from "./chunk-TYVME3XD.js";
17
19
  import {
18
20
  emitBufferedLines,
19
21
  flushBufferedLines,
20
22
  hasLocalCommand,
21
23
  logEntry,
22
24
  sq
23
- } from "./chunk-Z6EKX6CX.js";
25
+ } from "./chunk-FPRHYBY2.js";
24
26
  import {
25
27
  TRANSFER_EXCLUDES,
26
28
  formatBytes,
27
29
  safeErrorMessage
28
- } from "./chunk-3LCRNQ2C.js";
30
+ } from "./chunk-6APULWSU.js";
29
31
 
30
32
  // ../../packages/adapters/src/system/executor.ts
31
33
  import { readFileSync } from "fs";
@@ -492,6 +494,9 @@ var SshExecutor = class _SshExecutor {
492
494
  });
493
495
  });
494
496
  }
497
+ async rename(from, to) {
498
+ await this.exec(`mv ${sq(from)} ${sq(to)}`);
499
+ }
495
500
  async readFile(path) {
496
501
  return this.withChannelRetry(async () => {
497
502
  const sftp = await this.sftp();
@@ -1220,6 +1225,9 @@ var SystemSshExecutor = class _SystemSshExecutor {
1220
1225
  throw new Error(res.stderr.trim() || `Failed to write ${path} (exit ${res.code})`);
1221
1226
  }
1222
1227
  }
1228
+ async rename(from, to) {
1229
+ await this.exec(`mv ${sq(from)} ${sq(to)}`);
1230
+ }
1223
1231
  async readFile(path) {
1224
1232
  const res = await this.runSsh(`cat ${sq(path)}`);
1225
1233
  if (res.code !== 0) {
@@ -1489,12 +1497,13 @@ var SystemSshExecutor = class _SystemSshExecutor {
1489
1497
  };
1490
1498
 
1491
1499
  // ../../packages/adapters/src/system/executor.ts
1500
+ var localExecutor = new LocalExecutor();
1492
1501
  function createExecutor(ssh) {
1493
1502
  if (ssh) {
1494
1503
  if (ssh.useSystemSsh) return new SystemSshExecutor(ssh);
1495
1504
  return new SshExecutor(ssh);
1496
1505
  }
1497
- return new LocalExecutor();
1506
+ return localExecutor;
1498
1507
  }
1499
1508
  function hostControlDisabled() {
1500
1509
  return process.env.OPENSHIP_HOST_CONTROL?.trim().toLowerCase() === "false";
@@ -1506,7 +1515,7 @@ function createHostExecutor() {
1506
1515
  );
1507
1516
  }
1508
1517
  const host = process.env.OPENSHIP_HOST_SSH_HOST?.trim();
1509
- if (!host) return new LocalExecutor();
1518
+ if (!host) return localExecutor;
1510
1519
  const keyPath = process.env.OPENSHIP_HOST_SSH_KEY?.trim();
1511
1520
  const portRaw = Number(process.env.OPENSHIP_HOST_SSH_PORT || "22");
1512
1521
  const port = Number.isInteger(portRaw) && portRaw > 0 && portRaw < 65536 ? portRaw : 22;
@@ -1,14 +1,16 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  getTarCreateEnv,
5
7
  prepareSourceTarArgs
6
- } from "./chunk-C4FOQJ63.js";
8
+ } from "./chunk-OXWDY22G.js";
7
9
  import {
8
10
  TRANSFER_EXCLUDES,
9
11
  packageManagerEnsureCommand,
10
12
  safeErrorMessage
11
- } from "./chunk-3LCRNQ2C.js";
13
+ } from "./chunk-6APULWSU.js";
12
14
 
13
15
  // ../../packages/adapters/src/runtime/git-clone.ts
14
16
  function sq(value) {
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
 
@@ -1,20 +1,22 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  SerdeContextConfig,
5
7
  SignatureV4,
6
8
  UnionSerde
7
- } from "./chunk-PARRPUXN.js";
9
+ } from "./chunk-IXCHURVK.js";
8
10
  import {
9
11
  getValueFromTextNode
10
- } from "./chunk-65KKUJBR.js";
12
+ } from "./chunk-VWPEKOH6.js";
11
13
  import {
12
14
  FromStringShapeDeserializer,
13
15
  NormalizedSchema
14
- } from "./chunk-GHXGCANU.js";
16
+ } from "./chunk-W73X43R7.js";
15
17
  import {
16
18
  toUtf8
17
- } from "./chunk-YJAS5RQX.js";
19
+ } from "./chunk-JYGD5WSN.js";
18
20
 
19
21
  // ../../node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
20
22
  var signatureV4aContainer = {
@@ -1,8 +1,10 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  __export
5
- } from "./chunk-JWBXYO24.js";
7
+ } from "./chunk-KI2EY3WB.js";
6
8
 
7
9
  // ../../packages/core/src/stacks.ts
8
10
  var LANGUAGES = {
@@ -839,6 +841,152 @@ var STACK_ICONS = {
839
841
  "docker-compose": `${DI}/docker/docker-original.svg`
840
842
  };
841
843
 
844
+ // ../../packages/core/src/constants.ts
845
+ var DEFAULT_IMAGE_REGISTRY = "ghcr.io/oblien";
846
+ var PLANS = {
847
+ free: {
848
+ id: "free",
849
+ name: "Free",
850
+ description: "Get started for free",
851
+ price: { monthly: 0, annual: 0 },
852
+ stripePriceId: { monthly: null, annual: null },
853
+ // Public dollar `price` on the paid tiers is `null` — the UI renders
854
+ // "coming soon" and the Subscribe CTA stays disabled. Cloud pricing is
855
+ // intentionally NOT published yet. `monthlyCredits` (the CPU-time/credit
856
+ // quota pushed to Oblien) is real so tiers still enforce — it's an internal
857
+ // number, never shown as a price. NOTE (tune before launch): these credit
858
+ // numbers are placeholders sized to Oblien's 10,000,000-credit ceiling; the
859
+ // true credit-per-$/per-cpu-minute rate is Oblien-configured. 1 openship
860
+ // credit = 1 Oblien credit = 1000 milli (the wrapper divides by 1000 at the
861
+ // Oblien boundary). Self-hosted is free and surfaces none of these numbers.
862
+ monthlyCredits: 5e5,
863
+ // 500 credits — free-tier allowance
864
+ oblienLimits: {
865
+ max_workspaces: 1,
866
+ max_vcpus: 2,
867
+ max_ram_mb: 2048,
868
+ max_disk_gb: 10
869
+ },
870
+ features: [
871
+ "1 workspace",
872
+ "Community support"
873
+ ],
874
+ popular: false,
875
+ support: "community"
876
+ },
877
+ pro: {
878
+ id: "pro",
879
+ name: "Pro",
880
+ description: "For solo builders shipping production workloads",
881
+ price: { monthly: null, annual: null },
882
+ // coming soon — pricing not published
883
+ stripePriceId: {
884
+ monthly: process.env.STRIPE_PRICE_PRO_MONTHLY ?? "price_pro_monthly_placeholder",
885
+ annual: process.env.STRIPE_PRICE_PRO_ANNUAL ?? "price_pro_annual_placeholder"
886
+ },
887
+ monthlyCredits: 1e7,
888
+ // 10,000 credits/mo (placeholder — tune before launch)
889
+ oblienLimits: {
890
+ max_workspaces: 10,
891
+ max_vcpus: 16,
892
+ max_ram_mb: 32768,
893
+ max_disk_gb: 100
894
+ },
895
+ features: [
896
+ "Up to 10 workspaces",
897
+ "Email support"
898
+ ],
899
+ popular: true,
900
+ support: "email"
901
+ },
902
+ team: {
903
+ id: "team",
904
+ name: "Team",
905
+ description: "For teams collaborating on shared infra",
906
+ price: { monthly: null, annual: null },
907
+ // coming soon — pricing not published
908
+ stripePriceId: {
909
+ monthly: process.env.STRIPE_PRICE_TEAM_MONTHLY ?? "price_team_monthly_placeholder",
910
+ annual: process.env.STRIPE_PRICE_TEAM_ANNUAL ?? "price_team_annual_placeholder"
911
+ },
912
+ monthlyCredits: 6e7,
913
+ // 60,000 credits/mo (placeholder — tune before launch)
914
+ oblienLimits: {
915
+ max_workspaces: 50,
916
+ max_vcpus: 64,
917
+ max_ram_mb: 131072,
918
+ max_disk_gb: 500
919
+ },
920
+ features: [
921
+ "Up to 50 workspaces",
922
+ "Team collaboration",
923
+ "Priority email support"
924
+ ],
925
+ popular: false,
926
+ support: "priority email"
927
+ },
928
+ enterprise: {
929
+ id: "enterprise",
930
+ name: "Enterprise",
931
+ description: "Custom limits, SLAs, dedicated infra",
932
+ price: { monthly: null, annual: null },
933
+ // contact sales
934
+ stripePriceId: { monthly: null, annual: null },
935
+ monthlyCredits: null,
936
+ // admin grants
937
+ oblienLimits: null,
938
+ // custom per contract
939
+ features: [
940
+ "Custom credit allocation",
941
+ "Custom workspace limits",
942
+ "SSO / SAML",
943
+ "Dedicated support & SLA"
944
+ ],
945
+ popular: false,
946
+ support: "dedicated",
947
+ contactSales: "mailto:sales@openship.io"
948
+ }
949
+ };
950
+ var CREDIT_PACKS = [
951
+ {
952
+ id: "pack_5k",
953
+ name: "5,000 credits",
954
+ credits_milli: 5e6,
955
+ price_cents: 500,
956
+ stripePriceId: process.env.STRIPE_PRICE_PACK_5K ?? "price_pack_5k_placeholder",
957
+ sortOrder: 10
958
+ },
959
+ {
960
+ id: "pack_25k",
961
+ name: "25,000 credits",
962
+ credits_milli: 25e6,
963
+ price_cents: 2e3,
964
+ stripePriceId: process.env.STRIPE_PRICE_PACK_25K ?? "price_pack_25k_placeholder",
965
+ sortOrder: 20
966
+ },
967
+ {
968
+ id: "pack_100k",
969
+ name: "100,000 credits",
970
+ credits_milli: 1e8,
971
+ price_cents: 7e3,
972
+ stripePriceId: process.env.STRIPE_PRICE_PACK_100K ?? "price_pack_100k_placeholder",
973
+ sortOrder: 30
974
+ }
975
+ ];
976
+
977
+ // ../../packages/core/src/edge-image-ref.ts
978
+ function buildEdgeImageRef(opts) {
979
+ const explicit = opts?.explicit?.trim();
980
+ if (explicit) return explicit;
981
+ const override = process.env.OPENSHIP_EDGE_IMAGE?.trim();
982
+ if (override) return override;
983
+ const injected = opts?.injectedDefault?.trim();
984
+ if (injected) return injected;
985
+ const registry2 = process.env.OPENSHIP_IMAGE_REGISTRY?.trim() || DEFAULT_IMAGE_REGISTRY;
986
+ const tag = process.env.OPENSHIP_EDGE_TAG?.trim() || process.env.OPENSHIP_VERSION?.trim() || opts?.fallbackTag?.trim() || "latest";
987
+ return `${registry2}/openship-edge:${tag}`;
988
+ }
989
+
842
990
  // ../../packages/core/src/system.ts
843
991
  var SYSTEM = {
844
992
  // ── Projects ─────────────────────────────────────────────────────────
@@ -1740,138 +1888,6 @@ function sanitizeProxySettings(input) {
1740
1888
  return Object.keys(out).length > 0 ? out : void 0;
1741
1889
  }
1742
1890
 
1743
- // ../../packages/core/src/constants.ts
1744
- var PLANS = {
1745
- free: {
1746
- id: "free",
1747
- name: "Free",
1748
- description: "Get started for free",
1749
- price: { monthly: 0, annual: 0 },
1750
- stripePriceId: { monthly: null, annual: null },
1751
- // Public dollar `price` on the paid tiers is `null` — the UI renders
1752
- // "coming soon" and the Subscribe CTA stays disabled. Cloud pricing is
1753
- // intentionally NOT published yet. `monthlyCredits` (the CPU-time/credit
1754
- // quota pushed to Oblien) is real so tiers still enforce — it's an internal
1755
- // number, never shown as a price. NOTE (tune before launch): these credit
1756
- // numbers are placeholders sized to Oblien's 10,000,000-credit ceiling; the
1757
- // true credit-per-$/per-cpu-minute rate is Oblien-configured. 1 openship
1758
- // credit = 1 Oblien credit = 1000 milli (the wrapper divides by 1000 at the
1759
- // Oblien boundary). Self-hosted is free and surfaces none of these numbers.
1760
- monthlyCredits: 5e5,
1761
- // 500 credits — free-tier allowance
1762
- oblienLimits: {
1763
- max_workspaces: 1,
1764
- max_vcpus: 2,
1765
- max_ram_mb: 2048,
1766
- max_disk_gb: 10
1767
- },
1768
- features: [
1769
- "1 workspace",
1770
- "Community support"
1771
- ],
1772
- popular: false,
1773
- support: "community"
1774
- },
1775
- pro: {
1776
- id: "pro",
1777
- name: "Pro",
1778
- description: "For solo builders shipping production workloads",
1779
- price: { monthly: null, annual: null },
1780
- // coming soon — pricing not published
1781
- stripePriceId: {
1782
- monthly: process.env.STRIPE_PRICE_PRO_MONTHLY ?? "price_pro_monthly_placeholder",
1783
- annual: process.env.STRIPE_PRICE_PRO_ANNUAL ?? "price_pro_annual_placeholder"
1784
- },
1785
- monthlyCredits: 1e7,
1786
- // 10,000 credits/mo (placeholder — tune before launch)
1787
- oblienLimits: {
1788
- max_workspaces: 10,
1789
- max_vcpus: 16,
1790
- max_ram_mb: 32768,
1791
- max_disk_gb: 100
1792
- },
1793
- features: [
1794
- "Up to 10 workspaces",
1795
- "Email support"
1796
- ],
1797
- popular: true,
1798
- support: "email"
1799
- },
1800
- team: {
1801
- id: "team",
1802
- name: "Team",
1803
- description: "For teams collaborating on shared infra",
1804
- price: { monthly: null, annual: null },
1805
- // coming soon — pricing not published
1806
- stripePriceId: {
1807
- monthly: process.env.STRIPE_PRICE_TEAM_MONTHLY ?? "price_team_monthly_placeholder",
1808
- annual: process.env.STRIPE_PRICE_TEAM_ANNUAL ?? "price_team_annual_placeholder"
1809
- },
1810
- monthlyCredits: 6e7,
1811
- // 60,000 credits/mo (placeholder — tune before launch)
1812
- oblienLimits: {
1813
- max_workspaces: 50,
1814
- max_vcpus: 64,
1815
- max_ram_mb: 131072,
1816
- max_disk_gb: 500
1817
- },
1818
- features: [
1819
- "Up to 50 workspaces",
1820
- "Team collaboration",
1821
- "Priority email support"
1822
- ],
1823
- popular: false,
1824
- support: "priority email"
1825
- },
1826
- enterprise: {
1827
- id: "enterprise",
1828
- name: "Enterprise",
1829
- description: "Custom limits, SLAs, dedicated infra",
1830
- price: { monthly: null, annual: null },
1831
- // contact sales
1832
- stripePriceId: { monthly: null, annual: null },
1833
- monthlyCredits: null,
1834
- // admin grants
1835
- oblienLimits: null,
1836
- // custom per contract
1837
- features: [
1838
- "Custom credit allocation",
1839
- "Custom workspace limits",
1840
- "SSO / SAML",
1841
- "Dedicated support & SLA"
1842
- ],
1843
- popular: false,
1844
- support: "dedicated",
1845
- contactSales: "mailto:sales@openship.io"
1846
- }
1847
- };
1848
- var CREDIT_PACKS = [
1849
- {
1850
- id: "pack_5k",
1851
- name: "5,000 credits",
1852
- credits_milli: 5e6,
1853
- price_cents: 500,
1854
- stripePriceId: process.env.STRIPE_PRICE_PACK_5K ?? "price_pack_5k_placeholder",
1855
- sortOrder: 10
1856
- },
1857
- {
1858
- id: "pack_25k",
1859
- name: "25,000 credits",
1860
- credits_milli: 25e6,
1861
- price_cents: 2e3,
1862
- stripePriceId: process.env.STRIPE_PRICE_PACK_25K ?? "price_pack_25k_placeholder",
1863
- sortOrder: 20
1864
- },
1865
- {
1866
- id: "pack_100k",
1867
- name: "100,000 credits",
1868
- credits_milli: 1e8,
1869
- price_cents: 7e3,
1870
- stripePriceId: process.env.STRIPE_PRICE_PACK_100K ?? "price_pack_100k_placeholder",
1871
- sortOrder: 30
1872
- }
1873
- ];
1874
-
1875
1891
  // ../../packages/core/src/utils.ts
1876
1892
  function isValidEmail(value) {
1877
1893
  const email3 = value?.trim() ?? "";
@@ -19127,6 +19143,8 @@ export {
19127
19143
  buildOutputTransferExcludes,
19128
19144
  PACKAGE_ROOT_ONLY_EXCLUDES,
19129
19145
  packageManagerEnsureCommand,
19146
+ DEFAULT_IMAGE_REGISTRY,
19147
+ buildEdgeImageRef,
19130
19148
  SYSTEM,
19131
19149
  isValidEmail,
19132
19150
  formatBytes,
@@ -1,20 +1,22 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  collectBodyString
5
- } from "./chunk-5WI7ZXOC.js";
7
+ } from "./chunk-EI575GHN.js";
6
8
  import {
7
9
  ProtocolLib,
8
10
  SerdeContextConfig,
9
11
  UnionSerde
10
- } from "./chunk-PARRPUXN.js";
12
+ } from "./chunk-IXCHURVK.js";
11
13
  import {
12
14
  HttpBindingProtocol,
13
15
  HttpInterceptingShapeDeserializer,
14
16
  HttpInterceptingShapeSerializer,
15
17
  NormalizedSchema,
16
18
  determineTimestampFormat
17
- } from "./chunk-GHXGCANU.js";
19
+ } from "./chunk-W73X43R7.js";
18
20
  import {
19
21
  LazyJsonString,
20
22
  NumericValue,
@@ -25,7 +27,7 @@ import {
25
27
  parseRfc3339DateTimeWithOffset,
26
28
  parseRfc7231DateTime,
27
29
  toBase64
28
- } from "./chunk-YJAS5RQX.js";
30
+ } from "./chunk-JYGD5WSN.js";
29
31
 
30
32
  // ../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js
31
33
  function jsonReviver(key, value, context) {
@@ -1,10 +1,12 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  __commonJS,
5
7
  __require,
6
8
  __toESM
7
- } from "./chunk-JWBXYO24.js";
9
+ } from "./chunk-KI2EY3WB.js";
8
10
 
9
11
  // ../../node_modules/ws/lib/constants.js
10
12
  var require_constants = __commonJS({
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
 
@@ -1,11 +1,13 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  collectBody
5
- } from "./chunk-GHXGCANU.js";
7
+ } from "./chunk-W73X43R7.js";
6
8
  import {
7
9
  toUtf8
8
- } from "./chunk-YJAS5RQX.js";
10
+ } from "./chunk-JYGD5WSN.js";
9
11
 
10
12
  // ../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
11
13
  var collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
 
@@ -1,11 +1,13 @@
1
+ #!/usr/bin/env sh
2
+ ":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
1
3
  import { createRequire as __ospCreateRequire } from "node:module";
2
4
  const require = __ospCreateRequire(import.meta.url);
3
5
  import {
4
6
  setCredentialFeature
5
- } from "./chunk-65KKUJBR.js";
7
+ } from "./chunk-VWPEKOH6.js";
6
8
  import {
7
9
  CredentialsProviderError
8
- } from "./chunk-GHXGCANU.js";
10
+ } from "./chunk-W73X43R7.js";
9
11
 
10
12
  // ../../node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
11
13
  var ENV_KEY = "AWS_ACCESS_KEY_ID";