@lunora/studio 1.0.0-alpha.9 → 1.0.0-alpha.91

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/LICENSE.md +6 -0
  2. package/dist/index.d.ts +822 -781
  3. package/dist/index.js +1 -41
  4. package/dist/mount.d.ts +10 -10
  5. package/dist/mount.js +1 -26
  6. package/dist/packem_chunks/AdvisorHealthPanel.js +1 -0
  7. package/dist/packem_chunks/ApiTab.js +1 -0
  8. package/dist/packem_chunks/AuditPanel.js +1 -0
  9. package/dist/packem_chunks/DeploymentHealthPanel.js +1 -0
  10. package/dist/packem_chunks/ExportImportPanel.js +3 -0
  11. package/dist/packem_chunks/FileBrowser.js +4 -0
  12. package/dist/packem_chunks/FunctionRunner.js +1 -0
  13. package/dist/packem_chunks/FunctionStatsPanel.js +1 -0
  14. package/dist/packem_chunks/HealthPanel.js +1 -0
  15. package/dist/packem_chunks/InsightsPanel.js +1 -0
  16. package/dist/packem_chunks/LogsPanel.js +1 -0
  17. package/dist/packem_chunks/MailPanel.js +2 -0
  18. package/dist/packem_chunks/MetricsPanel.js +1 -0
  19. package/dist/packem_chunks/NotificationsPanel.js +1 -0
  20. package/dist/packem_chunks/PitrPanel.js +1 -0
  21. package/dist/packem_chunks/SchemaViewer.js +1 -0
  22. package/dist/packem_chunks/SecurityAdvisorPanel.js +1 -0
  23. package/dist/packem_chunks/SettingsPanel.js +1 -0
  24. package/dist/packem_chunks/SqlEditorPanel.js +6 -0
  25. package/dist/packem_chunks/TableEditor.js +1 -0
  26. package/dist/packem_chunks/agents-panel.js +1 -0
  27. package/dist/packem_chunks/analytics-panel.js +1 -0
  28. package/dist/packem_chunks/auth-audit-panel.js +1 -0
  29. package/dist/packem_chunks/auth-config-panel.js +1 -0
  30. package/dist/packem_chunks/auth-sessions-panel.js +1 -0
  31. package/dist/packem_chunks/containers-panel.js +1 -0
  32. package/dist/packem_chunks/dashboards-panel.js +1 -0
  33. package/dist/packem_chunks/fanout-panel.js +1 -0
  34. package/dist/packem_chunks/flags-panel.js +1 -0
  35. package/dist/packem_chunks/issues-panel.js +1 -0
  36. package/dist/packem_chunks/kv-browser.js +1 -0
  37. package/dist/packem_chunks/log-drains-panel.js +4 -0
  38. package/dist/packem_chunks/migrations-route.js +1 -0
  39. package/dist/packem_chunks/organizations-panel.js +1 -0
  40. package/dist/packem_chunks/payments-panel.js +1 -0
  41. package/dist/packem_chunks/permissions-panel.js +1 -0
  42. package/dist/packem_chunks/queues-panel.js +1 -0
  43. package/dist/packem_chunks/rls-panel.js +1 -0
  44. package/dist/packem_chunks/schedule-panel.js +1 -0
  45. package/dist/packem_chunks/sparkline.js +1 -0
  46. package/dist/packem_chunks/storage-rules-panel.js +1 -0
  47. package/dist/packem_chunks/subscriptions-panel.js +1 -0
  48. package/dist/packem_chunks/sync-client-panel.js +1 -0
  49. package/dist/packem_chunks/traces-panel.js +1 -0
  50. package/dist/packem_chunks/users-panel.js +1 -0
  51. package/dist/packem_chunks/vector-browser.js +1 -0
  52. package/dist/packem_chunks/workflows-panel.js +1 -0
  53. package/dist/packem_shared/ADMIN_FUNCTIONS-4aE59aDq.js +1 -0
  54. package/dist/packem_shared/ApiDocsPanel-Cu_QmzO0.js +2 -0
  55. package/dist/packem_shared/ApiReferencePanel-DuIU1P8B.js +1 -0
  56. package/dist/packem_shared/CommandPalette-mPR8-vIm.js +1 -0
  57. package/dist/packem_shared/ConfirmButton-CTL3f3kr.js +1 -0
  58. package/dist/packem_shared/ConnectionBadge-DOk0CQWo.js +1 -0
  59. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-BCC8_4BQ.js +1 -0
  60. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-B-hcFVoi.js +1 -0
  61. package/dist/packem_shared/DEFAULT_LOCALE-BZ4NojpD.js +1 -0
  62. package/dist/packem_shared/DataBrowser-BPRDaOHx.js +1 -0
  63. package/dist/packem_shared/DataFilters-B26ZeqBZ.js +1 -0
  64. package/dist/packem_shared/ErrorBoundary-DvzYskH7.js +1 -0
  65. package/dist/packem_shared/GlobalDataBrowser-CeA8bDjX.js +1 -0
  66. package/dist/packem_shared/HomePanel-DLP1nQdC.js +1 -0
  67. package/dist/packem_shared/MigrationsPanel-dm_M75mR.js +1 -0
  68. package/dist/packem_shared/OpenRpcReferencePanel-DXeffPFr.js +1 -0
  69. package/dist/packem_shared/STUDIO_ROOT_CLASS-C6MccdVk.js +1 -0
  70. package/dist/packem_shared/ScheduledJobs-DDJG9Je7.js +1 -0
  71. package/dist/packem_shared/ShardInput-BVn2iCU0.js +1 -0
  72. package/dist/packem_shared/Studio-BYg65qWq.js +1 -0
  73. package/dist/packem_shared/StudioApp-D0UOg0a_.js +1 -0
  74. package/dist/packem_shared/StudioI18nProvider-CZ5h4nrV.js +1 -0
  75. package/dist/packem_shared/advisor-view-Coipc04R.js +1 -0
  76. package/dist/packem_shared/aggregateMetrics-BNfajLa2.js +1 -0
  77. package/dist/packem_shared/alert-CVcOFuDR.js +1 -0
  78. package/dist/packem_shared/app.d-DW7yZsfu.d.ts +252 -0
  79. package/dist/packem_shared/badge-BbuuAio7.js +1 -0
  80. package/dist/packem_shared/bar-chart-DraN_srt.js +9 -0
  81. package/dist/packem_shared/browser-storage-xjTyMKY0.js +1 -0
  82. package/dist/packem_shared/button-BkCrNcAs.js +1 -0
  83. package/dist/packem_shared/card-CIDGUN6K.js +1 -0
  84. package/dist/packem_shared/cf-links-Dmg86v1D.js +1 -0
  85. package/dist/packem_shared/checkbox-StT4Gob6.js +1 -0
  86. package/dist/packem_shared/data-grid-Ci4-tZkk.js +1 -0
  87. package/dist/packem_shared/data-view-params-ClrV7XgF.js +1 -0
  88. package/dist/packem_shared/dropdown-menu-C3RQ_HlW.js +2 -0
  89. package/dist/packem_shared/empty-state-Cg7t_8qu.js +1 -0
  90. package/dist/packem_shared/error-alert--Ie7ofJ0.js +1 -0
  91. package/dist/packem_shared/grid-features-Db_BNYRo.js +6 -0
  92. package/dist/packem_shared/home-panel-BtxdqXDe.js +3 -0
  93. package/dist/packem_shared/input-JHu63lTv.js +1 -0
  94. package/dist/packem_shared/internal-zkEvTqy8.js +2 -0
  95. package/dist/packem_shared/label-6uP1obNF.js +1 -0
  96. package/dist/packem_shared/live-status-CmuRLFKf.js +1 -0
  97. package/dist/packem_shared/log-fields-CoL3hsIQ.js +1 -0
  98. package/dist/packem_shared/modal-shell-CUwwWC2o.js +1 -0
  99. package/dist/packem_shared/operation-console-provider-BMJNtiyB.js +1 -0
  100. package/dist/packem_shared/recording-client-DtUxwVNY.js +1 -0
  101. package/dist/packem_shared/reference-view-DncEStdm.js +12 -0
  102. package/dist/packem_shared/result-chart-Gywg9DOk.js +1 -0
  103. package/dist/packem_shared/schema-diagram-DTRaCp6Y.js +2 -0
  104. package/dist/packem_shared/scroll-area-DTEq6Jec.js +2 -0
  105. package/dist/packem_shared/select-Bul-DeII.js +2 -0
  106. package/dist/packem_shared/shard-history-DMEW5VBE.js +1 -0
  107. package/dist/packem_shared/skeleton-C1wQ9M5t.js +1 -0
  108. package/dist/packem_shared/sparkline-CgjeUU2I.js +1 -0
  109. package/dist/packem_shared/stat-card-fm_TF1mo.js +1 -0
  110. package/dist/packem_shared/storage-tier-DznqOf-q.js +1 -0
  111. package/dist/packem_shared/studio-Drf4en3j.js +2 -0
  112. package/dist/packem_shared/table-DdJBrClo.js +2 -0
  113. package/dist/packem_shared/table-list-sidebar-fz0m_4I4.js +1 -0
  114. package/dist/packem_shared/textarea-Bu2-jKAs.js +1 -0
  115. package/dist/packem_shared/trace-handoff-Dw7mwjxu.js +1 -0
  116. package/dist/packem_shared/use-admin-query-CnnyWJXM.js +1 -0
  117. package/dist/packem_shared/use-async-submit-BFIMhRqh.js +1 -0
  118. package/dist/packem_shared/use-auth-config-0EnNCdLu.js +1 -0
  119. package/dist/packem_shared/use-shard-key-B2JtNa5m.js +1 -0
  120. package/dist/packem_shared/use-sql-assistant-Dtw55kKM.js +1 -0
  121. package/dist/packem_shared/useDebounced-CU-uftxO.js +1 -0
  122. package/dist/packem_shared/utils-bhneXptQ.js +1 -0
  123. package/dist/packem_shared/virtual-rect-1o1veP7R.js +1 -0
  124. package/dist/packem_shared/wire-codec-BUrWLklj.js +1 -0
  125. package/dist/standalone/chunk-2NX5QU44.js +1 -0
  126. package/dist/standalone/chunk-2OUPA2WJ.js +1 -0
  127. package/dist/standalone/chunk-2PJNAWB3.js +1 -0
  128. package/dist/standalone/chunk-2QSHLBCO.js +1 -0
  129. package/dist/standalone/chunk-2QWHVQ6P.js +1 -0
  130. package/dist/standalone/chunk-3C3CG7ZK.js +1 -0
  131. package/dist/standalone/chunk-3CWGJYBB.js +1 -0
  132. package/dist/standalone/chunk-3FIN5PH4.js +6 -0
  133. package/dist/standalone/chunk-3XIESWL4.js +1 -0
  134. package/dist/standalone/chunk-3XQMTTW2.js +1 -0
  135. package/dist/standalone/chunk-4D7XIQ5Q.js +1 -0
  136. package/dist/standalone/chunk-4LCY5XUR.js +1 -0
  137. package/dist/standalone/chunk-4PLB4ZNI.js +1 -0
  138. package/dist/standalone/chunk-4UOFSGUS.js +1 -0
  139. package/dist/standalone/chunk-4VEAVSAZ.js +1 -0
  140. package/dist/standalone/chunk-54MMVNPT.js +1 -0
  141. package/dist/standalone/chunk-5Y3QLNWX.js +1 -0
  142. package/dist/standalone/chunk-6QKJ6JPJ.js +1 -0
  143. package/dist/standalone/chunk-6ST5ECQA.js +1 -0
  144. package/dist/standalone/chunk-6WWX4FJB.js +1 -0
  145. package/dist/standalone/chunk-6XKVQES4.js +1 -0
  146. package/dist/standalone/chunk-7H7LZRLP.js +1 -0
  147. package/dist/standalone/chunk-7QIFDWQV.js +1 -0
  148. package/dist/standalone/chunk-7QMX3D4D.js +3 -0
  149. package/dist/standalone/chunk-7T7UOTYK.js +1 -0
  150. package/dist/standalone/chunk-7YXDJXNL.js +1 -0
  151. package/dist/standalone/chunk-A7647FJE.js +1 -0
  152. package/dist/standalone/chunk-AQT6EPZT.js +1 -0
  153. package/dist/standalone/chunk-AREBQI6D.js +1 -0
  154. package/dist/standalone/chunk-AVAC26HJ.js +1 -0
  155. package/dist/standalone/chunk-BCGEI67L.js +2 -0
  156. package/dist/standalone/chunk-BENJFRZL.js +1 -0
  157. package/dist/standalone/chunk-BGBLQ563.js +1 -0
  158. package/dist/standalone/chunk-BYIS2KWZ.js +1 -0
  159. package/dist/standalone/chunk-C6GLTSPO.js +4 -0
  160. package/dist/standalone/chunk-CFPZYHPY.js +2 -0
  161. package/dist/standalone/chunk-CMP33R3N.js +1 -0
  162. package/dist/standalone/chunk-CRHCAN4W.js +13 -0
  163. package/dist/standalone/chunk-CUAGAM2B.js +1 -0
  164. package/dist/standalone/chunk-DBWOWJYT.js +11 -0
  165. package/dist/standalone/chunk-EQZTSISX.js +1 -0
  166. package/dist/standalone/chunk-ESEEVSPC.js +1 -0
  167. package/dist/standalone/chunk-ESVP44Y3.js +1 -0
  168. package/dist/standalone/chunk-F3TP5L34.js +1 -0
  169. package/dist/standalone/chunk-FBNRATNR.js +1 -0
  170. package/dist/standalone/chunk-FURI47Z2.js +1 -0
  171. package/dist/standalone/chunk-FW75RYZU.js +1 -0
  172. package/dist/standalone/chunk-FXCBF4XT.js +1 -0
  173. package/dist/standalone/chunk-GMR677FL.js +1 -0
  174. package/dist/standalone/chunk-GRL5MG3Z.js +1 -0
  175. package/dist/standalone/chunk-HKG5I64M.js +1 -0
  176. package/dist/standalone/chunk-HPFLBYRI.js +1 -0
  177. package/dist/standalone/chunk-HWOD25QD.js +1 -0
  178. package/dist/standalone/chunk-I6A5C46N.js +1 -0
  179. package/dist/standalone/chunk-IBVBIKUI.js +1 -0
  180. package/dist/standalone/chunk-IC4L6G56.js +1 -0
  181. package/dist/standalone/chunk-IGCNMZSB.js +1 -0
  182. package/dist/standalone/chunk-ILNELDFC.js +1 -0
  183. package/dist/standalone/chunk-IUUSMC2R.js +8 -0
  184. package/dist/standalone/chunk-IUYFXK4X.js +19 -0
  185. package/dist/standalone/chunk-IVFHIQOT.js +1 -0
  186. package/dist/standalone/chunk-IZ3ISXSM.js +1 -0
  187. package/dist/standalone/chunk-J3FR2XBV.js +1 -0
  188. package/dist/standalone/chunk-JN2Y24PY.js +1 -0
  189. package/dist/standalone/chunk-JWXKUXYA.js +1 -0
  190. package/dist/standalone/chunk-KUFAOKU3.js +1 -0
  191. package/dist/standalone/chunk-KUVMORDQ.js +1 -0
  192. package/dist/standalone/chunk-LDYOCGEG.js +1 -0
  193. package/dist/standalone/chunk-LEDWUPXM.js +1 -0
  194. package/dist/standalone/chunk-LUU4SDHW.js +1 -0
  195. package/dist/standalone/chunk-LYQY7L72.js +4 -0
  196. package/dist/standalone/chunk-LZH7RDRV.js +1 -0
  197. package/dist/standalone/chunk-MIQTKZAR.js +1 -0
  198. package/dist/standalone/chunk-ML5IJMH6.js +1 -0
  199. package/dist/standalone/chunk-MV4A2PAK.js +1 -0
  200. package/dist/standalone/chunk-N233NOIN.js +1 -0
  201. package/dist/standalone/chunk-NH3VWHCL.js +1 -0
  202. package/dist/standalone/chunk-NNRFDPSD.js +1 -0
  203. package/dist/standalone/chunk-O2QUUHGF.js +1 -0
  204. package/dist/standalone/chunk-Q2Q7FR3R.js +1 -0
  205. package/dist/standalone/chunk-Q4AI6JRP.js +1 -0
  206. package/dist/standalone/chunk-QBWRC5YX.js +1 -0
  207. package/dist/standalone/chunk-QGA2HITH.js +1 -0
  208. package/dist/standalone/chunk-QLQADHFE.js +1 -0
  209. package/dist/standalone/chunk-QWGT25SE.js +1 -0
  210. package/dist/standalone/chunk-QWJ4HKPY.js +1 -0
  211. package/dist/standalone/chunk-QZGTDXV5.js +1 -0
  212. package/dist/standalone/chunk-RHPP74O4.js +1 -0
  213. package/dist/standalone/chunk-RKGCSNAW.js +1 -0
  214. package/dist/standalone/chunk-RMN2JN4S.js +1 -0
  215. package/dist/standalone/chunk-RNOSWEMO.js +4 -0
  216. package/dist/standalone/chunk-S3DWUXGY.js +62 -0
  217. package/dist/standalone/chunk-SD4BERSA.js +1 -0
  218. package/dist/standalone/chunk-SFDOII3B.js +1 -0
  219. package/dist/standalone/chunk-SMIESS7P.js +1 -0
  220. package/dist/standalone/chunk-T6VMSOBB.js +1 -0
  221. package/dist/standalone/chunk-THIXMMZD.js +1 -0
  222. package/dist/standalone/chunk-ULYM26IH.js +1 -0
  223. package/dist/standalone/chunk-UU2QJMGJ.js +1 -0
  224. package/dist/standalone/chunk-UZERI5YC.js +1 -0
  225. package/dist/standalone/chunk-V53KNYRN.js +1 -0
  226. package/dist/standalone/chunk-VDW32UET.js +1 -0
  227. package/dist/standalone/chunk-WOEGO5M6.js +1 -0
  228. package/dist/standalone/chunk-XBDKZZ67.js +1 -0
  229. package/dist/standalone/chunk-XDEDCAYN.js +1 -0
  230. package/dist/standalone/chunk-XF2B7P5A.js +1 -0
  231. package/dist/standalone/chunk-XGMZESWC.js +1 -0
  232. package/dist/standalone/chunk-XKKP2VFZ.js +1 -0
  233. package/dist/standalone/chunk-XNGYYOLS.js +14 -0
  234. package/dist/standalone/chunk-XQCVZAGU.js +1 -0
  235. package/dist/standalone/chunk-XTEWLG3J.js +3 -0
  236. package/dist/standalone/chunk-XXQUMVWH.js +1 -0
  237. package/dist/standalone/chunk-XXXMUP6L.js +1 -0
  238. package/dist/standalone/chunk-ZJGP6EKR.js +1 -0
  239. package/dist/standalone/chunk-ZKTWHB7Q.js +1 -0
  240. package/dist/standalone/chunk-ZNMZQXWN.js +1 -0
  241. package/dist/standalone/chunk-ZWSTXAG3.js +6 -0
  242. package/dist/standalone/studio.js +9 -356
  243. package/dist/styles.css +2 -2
  244. package/package.json +16 -14
  245. package/dist/packem_shared/ADMIN_FUNCTIONS-DjXgvJb6.js +0 -46
  246. package/dist/packem_shared/ApiDocsPanel-yVSGHK3H.js +0 -842
  247. package/dist/packem_shared/ApiReferencePanel-1vubqG5s.js +0 -229
  248. package/dist/packem_shared/ApiTab-rwttyQ1-.js +0 -251
  249. package/dist/packem_shared/AuditPanel-BqXZAsu_.js +0 -212
  250. package/dist/packem_shared/CommandPalette-BtgkBzZI.js +0 -373
  251. package/dist/packem_shared/ConfirmButton-C2eVi2Qv.js +0 -59
  252. package/dist/packem_shared/ConnectionBadge-B2DDM2Tn.js +0 -111
  253. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js +0 -50
  254. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js +0 -89
  255. package/dist/packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js +0 -27
  256. package/dist/packem_shared/DataBrowser-BtT2NYcR.js +0 -4542
  257. package/dist/packem_shared/DataFilters-FNquMaiu.js +0 -249
  258. package/dist/packem_shared/ErrorBoundary-BzAApI7J.js +0 -66
  259. package/dist/packem_shared/ExportImportPanel-Dq6rj0tI.js +0 -193
  260. package/dist/packem_shared/FileBrowser-0pCpdKPE.js +0 -2932
  261. package/dist/packem_shared/FunctionRunner-7NH3KcTg.js +0 -343
  262. package/dist/packem_shared/FunctionStatsPanel-Cn_EBpDy.js +0 -432
  263. package/dist/packem_shared/GlobalDataBrowser-BTEmGrph.js +0 -318
  264. package/dist/packem_shared/HealthPanel-CQ4LzVET.js +0 -640
  265. package/dist/packem_shared/HomePanel-CP0lN1eF.js +0 -1273
  266. package/dist/packem_shared/InsightsPanel-B1BaHaPL.js +0 -431
  267. package/dist/packem_shared/LogsPanel-C3W0mabf.js +0 -839
  268. package/dist/packem_shared/MailPanel-DozizrvV.js +0 -447
  269. package/dist/packem_shared/MetricsPanel-CujtUfpl.js +0 -1625
  270. package/dist/packem_shared/MigrationsPanel-RX5qIFSr.js +0 -246
  271. package/dist/packem_shared/OpenRpcReferencePanel-vbcYbv3V.js +0 -191
  272. package/dist/packem_shared/PitrPanel-LJGNP_IX.js +0 -252
  273. package/dist/packem_shared/STUDIO_ROOT_CLASS-D12gX2dV.js +0 -3
  274. package/dist/packem_shared/ScheduledJobs-CabfKbyM.js +0 -159
  275. package/dist/packem_shared/SchemaViewer-Bam6ylvw.js +0 -2512
  276. package/dist/packem_shared/SecurityAdvisorPanel-Bn2yq05G.js +0 -79
  277. package/dist/packem_shared/SettingsPanel-CBXQpYQA.js +0 -176
  278. package/dist/packem_shared/ShardInput-gx_DZXXn.js +0 -107
  279. package/dist/packem_shared/SqlEditorPanel-D5wMIxcg.js +0 -13
  280. package/dist/packem_shared/Studio-CccqZ-J1.js +0 -33
  281. package/dist/packem_shared/StudioApp-CQbULfaH.js +0 -657
  282. package/dist/packem_shared/StudioI18nProvider-B-tDCZIi.js +0 -48
  283. package/dist/packem_shared/TableEditor-Df_5NPaF.js +0 -371
  284. package/dist/packem_shared/advisor-view-CGcfMiPq.js +0 -159
  285. package/dist/packem_shared/aggregateMetrics-D4nUHEKU.js +0 -108
  286. package/dist/packem_shared/app.d-Nbhpihxv.d.ts +0 -300
  287. package/dist/packem_shared/badge-B2PKA1-5.js +0 -49
  288. package/dist/packem_shared/bar-chart-CzJAgqkp.js +0 -3245
  289. package/dist/packem_shared/button-BhsN2uZH.js +0 -49
  290. package/dist/packem_shared/card-DURq3ElK.js +0 -175
  291. package/dist/packem_shared/cf-links-2cktDedA.js +0 -8
  292. package/dist/packem_shared/checkbox-UNkzAxl-.js +0 -63
  293. package/dist/packem_shared/data-grid-B5CaV3wS.js +0 -183
  294. package/dist/packem_shared/dropdown-menu-WY4B_eJO.js +0 -280
  295. package/dist/packem_shared/empty-state-DY_oe0k6.js +0 -98
  296. package/dist/packem_shared/grid-features-CzUfqgsM.js +0 -840
  297. package/dist/packem_shared/input-XH4r1Pt1.js +0 -53
  298. package/dist/packem_shared/internal-rXJEAhXS.js +0 -68
  299. package/dist/packem_shared/label-D8ykjn5J.js +0 -46
  300. package/dist/packem_shared/live-status-FZ0psC1z.js +0 -44
  301. package/dist/packem_shared/reference-view-B4E49Lip.js +0 -2180
  302. package/dist/packem_shared/shard-history-DyebH1R5.js +0 -38
  303. package/dist/packem_shared/sparkline-10dG-_f0.js +0 -93
  304. package/dist/packem_shared/sql-editor-panel-Smfl_FDF.js +0 -2562
  305. package/dist/packem_shared/storage-tier-CL98eOvn.js +0 -85
  306. package/dist/packem_shared/studio-D93XGB-i.js +0 -10413
  307. package/dist/packem_shared/table-_RzNvy3R.js +0 -246
  308. package/dist/packem_shared/table-list-sidebar-Bg7uzbvC.js +0 -832
  309. package/dist/packem_shared/textarea-D3gaCU_-.js +0 -46
  310. package/dist/packem_shared/use-live-admin-Dq6g3daN.js +0 -73
  311. package/dist/packem_shared/use-live-shard-seed-Cuk3dnH0.js +0 -76
  312. package/dist/packem_shared/useDebounced-Dxncpg6z.js +0 -32
  313. package/dist/packem_shared/utils-B05Dmz_H.js +0 -8
  314. package/dist/packem_shared/virtual-rect-CVMUskSm.js +0 -10
@@ -1,79 +0,0 @@
1
- import { useLunora } from '@lunora/react';
2
- import { useState, useCallback, useEffect } from 'react';
3
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
4
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-DjXgvJb6.js';
5
- import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from './internal-rXJEAhXS.js';
6
- import { A as AdvisorView } from './advisor-view-CGcfMiPq.js';
7
- import { jsxDEV } from 'react/jsx-dev-runtime';
8
-
9
- const GET_SECURITY_AUDIT = adminRef(ADMIN_FUNCTIONS.getSecurityAudit);
10
- const findingTitle = (t, finding) => ({
11
- "admin-token-weak": t("Weak admin token"),
12
- "auth-secret-weak": t("Weak auth secret"),
13
- "cookies-insecure": t("Session cookies are not Secure"),
14
- "cors-wildcard-credentials": t("Wildcard CORS with credentials"),
15
- "csrf-disabled": t("CSRF/origin guard is off"),
16
- "dev-args-unredacted": t("Request log keeps un-redacted args"),
17
- "security-headers-disabled": t("Security headers are off"),
18
- "ws-gate-open": t("Live admin subscriptions are ungated")
19
- })[finding.kind];
20
- const findingEntity = (finding) => ({
21
- "admin-token-weak": "LUNORA_ADMIN_TOKEN",
22
- "auth-secret-weak": "AUTH_SECRET",
23
- "cookies-insecure": "BETTER_AUTH_URL",
24
- "cors-wildcard-credentials": "LUNORA_ALLOWED_ORIGINS",
25
- "csrf-disabled": "LUNORA_SECURITY_CSRF",
26
- "dev-args-unredacted": "request log",
27
- "security-headers-disabled": "LUNORA_SECURITY_HEADERS",
28
- "ws-gate-open": "LUNORA_WS_BEARER"
29
- })[finding.kind];
30
- const findingDetail = (t, finding) => ({
31
- "admin-token-weak": t("Your admin token is {length} characters — use at least {min} for a brute-force-resistant secret.", {
32
- length: finding.detail?.["length"],
33
- min: finding.detail?.["min"]
34
- }),
35
- "auth-secret-weak": t("Your auth secret is {length} characters — use at least {min} (e.g. `openssl rand -hex 32`) to sign sessions safely.", {
36
- length: finding.detail?.["length"],
37
- min: finding.detail?.["min"]
38
- }),
39
- "cookies-insecure": t("BETTER_AUTH_URL is a plaintext http:// origin, so session cookies cannot be Secure and ride in cleartext. Serve auth over https:// in production."),
40
- "cors-wildcard-credentials": t("LUNORA_ALLOWED_ORIGINS includes a wildcard while credentials are allowed — browsers reject this and it defeats the allowlist. Name explicit origins instead of *."),
41
- "csrf-disabled": t("LUNORA_SECURITY_CSRF is off, so cross-origin state-changing cookie requests are not blocked. Re-enable it in production to keep mutations un-forgeable."),
42
- "dev-args-unredacted": t("This worker reports a development environment, so the request log stores raw args and identity. Confirm it isn't a mislabeled production deploy."),
43
- "security-headers-disabled": t("LUNORA_SECURITY_HEADERS is off, so HSTS, CSP, nosniff, and frame-options are not applied. Re-enable the baseline headers in production."),
44
- "ws-gate-open": t("LUNORA_WS_BEARER is unset, so the WebSocket upgrade gate is open: live admin subscriptions need no credential. Set it to gate them like the HTTP admin RPCs.")
45
- })[finding.kind];
46
- const SecurityAdvisorPanel = () => {
47
- const client = useLunora();
48
- const t = useT();
49
- const [findings, setFindings] = useState(null);
50
- const [error, setError] = useState(null);
51
- const refresh = useCallback(async () => {
52
- try {
53
- const result = await client.query(GET_SECURITY_AUDIT, {}, callOptions(""));
54
- setFindings(Array.isArray(result.findings) ? result.findings : []);
55
- setError(null);
56
- } catch (error_) {
57
- setError(errorMessage(error_));
58
- }
59
- }, [client]);
60
- useEffect(() => {
61
- fireAndForget(refresh());
62
- }, [refresh]);
63
- const rows = findings === null ? null : findings.map((finding) => {
64
- return {
65
- description: findingDetail(t, finding),
66
- entity: findingEntity(finding),
67
- issueType: findingTitle(t, finding),
68
- key: finding.kind,
69
- level: finding.level
70
- };
71
- });
72
- return /* @__PURE__ */ jsxDEV(AdvisorView, {
73
- error,
74
- rows,
75
- testId: "lunora-security-advisor"
76
- }, void 0, false);
77
- };
78
-
79
- export { SecurityAdvisorPanel as default };
@@ -1,176 +0,0 @@
1
- import { useLunora } from '@lunora/react';
2
- import { useState, useCallback, useEffect, useMemo } from 'react';
3
- import { B as Badge } from './badge-B2PKA1-5.js';
4
- import { C as Card, a as CardContent } from './card-DURq3ElK.js';
5
- import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-_RzNvy3R.js';
6
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
7
- import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-DjXgvJb6.js';
8
- import { a as CLOUDFLARE_WORKERS_URL } from './cf-links-2cktDedA.js';
9
- import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from './internal-rXJEAhXS.js';
10
- import { jsxDEV } from 'react/jsx-dev-runtime';
11
-
12
- const GET_SETTINGS = adminRef(ADMIN_FUNCTIONS.getSettings);
13
- const KIND_VARIANT = {
14
- binding: "outline",
15
- secret: "destructive",
16
- var: "secondary"
17
- };
18
- const SettingsPanel = ({
19
- initialShardKey
20
- }) => {
21
- const client = useLunora();
22
- const t = useT();
23
- const [result, setResult] = useState(null);
24
- const [error, setError] = useState(null);
25
- const [loading, setLoading] = useState(false);
26
- const refresh = useCallback(async () => {
27
- setLoading(true);
28
- setError(null);
29
- try {
30
- const settings = await client.query(GET_SETTINGS, {}, callOptions(initialShardKey ?? ""));
31
- setResult(settings);
32
- } catch (error_) {
33
- setResult(null);
34
- setError(errorMessage(error_));
35
- } finally {
36
- setLoading(false);
37
- }
38
- }, [client, initialShardKey]);
39
- useEffect(() => {
40
- fireAndForget(refresh());
41
- }, [refresh]);
42
- const deployRows = useMemo(() => {
43
- const deploy = result?.deploy;
44
- if (deploy === void 0) {
45
- return [];
46
- }
47
- const rows = [];
48
- if (deploy.workerUrl !== void 0) {
49
- rows.push({
50
- label: t("URL"),
51
- value: deploy.workerUrl
52
- });
53
- }
54
- if (deploy.environment !== void 0) {
55
- rows.push({
56
- label: t("Environment"),
57
- value: deploy.environment
58
- });
59
- }
60
- if (deploy.deploymentId !== void 0) {
61
- rows.push({
62
- label: t("Deployment"),
63
- value: deploy.deploymentId
64
- });
65
- }
66
- if (deploy.versionTag !== void 0) {
67
- rows.push({
68
- label: t("Version"),
69
- value: deploy.versionTag
70
- });
71
- }
72
- return rows;
73
- }, [result, t]);
74
- const settings_0 = result?.settings ?? [];
75
- return /* @__PURE__ */ jsxDEV("div", {
76
- className: "flex flex-col gap-4",
77
- "data-testid": "lunora-settings",
78
- children: [/* @__PURE__ */ jsxDEV("div", {
79
- className: "flex flex-wrap items-center gap-3",
80
- children: /* @__PURE__ */ jsxDEV("a", {
81
- className: "text-sm text-primary underline-offset-4 hover:underline",
82
- "data-testid": "set-cf-link",
83
- href: CLOUDFLARE_WORKERS_URL,
84
- rel: "noreferrer",
85
- target: "_blank",
86
- children: t("Open in Cloudflare")
87
- }, void 0, false)
88
- }, void 0, false), /* @__PURE__ */ jsxDEV("p", {
89
- className: "text-sm text-muted-foreground",
90
- "data-testid": "set-readonly-note",
91
- children: t("View-only — values are masked. Edit vars, secrets, and bindings in wrangler or the Cloudflare dashboard.")
92
- }, void 0, false), error !== null && /* @__PURE__ */ jsxDEV("p", {
93
- className: "text-sm text-destructive",
94
- "data-testid": "set-error",
95
- role: "alert",
96
- children: error
97
- }, void 0, false), deployRows.length > 0 && /* @__PURE__ */ jsxDEV(Card, {
98
- className: "py-0",
99
- "data-testid": "set-deploy",
100
- children: [/* @__PURE__ */ jsxDEV("header", {
101
- className: "border-b border-border px-4 py-3",
102
- children: /* @__PURE__ */ jsxDEV("span", {
103
- className: "font-mono text-[11px] tracking-wide text-muted-foreground uppercase",
104
- children: t("Deployment")
105
- }, void 0, false)
106
- }, void 0, false), /* @__PURE__ */ jsxDEV(CardContent, {
107
- className: "py-3",
108
- children: /* @__PURE__ */ jsxDEV("dl", {
109
- className: "grid grid-cols-[8rem_minmax(0,1fr)] gap-x-4 gap-y-1 text-sm",
110
- children: deployRows.map((row) => /* @__PURE__ */ jsxDEV("div", {
111
- className: "contents",
112
- "data-testid": "set-deploy-row",
113
- children: [/* @__PURE__ */ jsxDEV("dt", {
114
- className: "text-muted-foreground",
115
- children: row.label
116
- }, void 0, false), /* @__PURE__ */ jsxDEV("dd", {
117
- className: "truncate font-mono text-xs",
118
- title: row.value,
119
- children: row.value
120
- }, void 0, false)]
121
- }, row.label, true))
122
- }, void 0, false)
123
- }, void 0, false)]
124
- }, void 0, true), /* @__PURE__ */ jsxDEV(Card, {
125
- className: "py-0",
126
- children: [/* @__PURE__ */ jsxDEV("header", {
127
- className: "border-b border-border px-4 py-3",
128
- children: /* @__PURE__ */ jsxDEV("span", {
129
- className: "font-mono text-[11px] tracking-wide text-muted-foreground uppercase",
130
- children: t("Environment & bindings")
131
- }, void 0, false)
132
- }, void 0, false), error === null && !loading && settings_0.length === 0 && /* @__PURE__ */ jsxDEV("p", {
133
- className: "px-4 py-8 text-center text-sm text-muted-foreground",
134
- "data-testid": "set-empty",
135
- children: t("No environment variables or bindings.")
136
- }, void 0, false), settings_0.length > 0 && /* @__PURE__ */ jsxDEV(CardContent, {
137
- className: "px-0 py-0",
138
- children: /* @__PURE__ */ jsxDEV(Table, {
139
- "data-testid": "set-table",
140
- children: [/* @__PURE__ */ jsxDEV(TableHeader, {
141
- children: /* @__PURE__ */ jsxDEV(TableRow, {
142
- children: [/* @__PURE__ */ jsxDEV(TableHead, {
143
- children: t("name")
144
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
145
- children: t("kind")
146
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
147
- children: t("value")
148
- }, void 0, false)]
149
- }, void 0, true)
150
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableBody, {
151
- children: settings_0.map((entry) => /* @__PURE__ */ jsxDEV(TableRow, {
152
- "data-testid": "set-row",
153
- children: [/* @__PURE__ */ jsxDEV(TableCell, {
154
- className: "font-mono text-xs font-medium",
155
- children: entry.name
156
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
157
- children: /* @__PURE__ */ jsxDEV(Badge, {
158
- variant: KIND_VARIANT[entry.kind],
159
- children: entry.bindingType ?? entry.kind
160
- }, void 0, false)
161
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
162
- className: "max-w-[28ch] truncate font-mono text-xs text-muted-foreground",
163
- children: entry.value ?? /* @__PURE__ */ jsxDEV("span", {
164
- className: "text-muted-foreground",
165
- children: "—"
166
- }, void 0, false)
167
- }, void 0, false)]
168
- }, entry.name, true))
169
- }, void 0, false)]
170
- }, void 0, true)
171
- }, void 0, false)]
172
- }, void 0, true)]
173
- }, void 0, true);
174
- };
175
-
176
- export { SettingsPanel };
@@ -1,107 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useId, useState } from 'react';
3
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
4
- import { l as loadRecentShards } from './shard-history-DyebH1R5.js';
5
- import { I as Input } from './input-XH4r1Pt1.js';
6
- import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
7
-
8
- const ShardInput = (t0) => {
9
- const $ = c(21);
10
- const {
11
- id,
12
- onChange,
13
- testId,
14
- value
15
- } = t0;
16
- const t = useT();
17
- const listId = useId();
18
- const [recents] = useState(_temp);
19
- let t1;
20
- if ($[0] !== onChange) {
21
- t1 = (event) => {
22
- onChange(event.target.value);
23
- };
24
- $[0] = onChange;
25
- $[1] = t1;
26
- } else {
27
- t1 = $[1];
28
- }
29
- const onInputChange = t1;
30
- let t2;
31
- if ($[2] !== t) {
32
- t2 = t("Shard key");
33
- $[2] = t;
34
- $[3] = t2;
35
- } else {
36
- t2 = $[3];
37
- }
38
- const t3 = recents.length > 0 ? listId : void 0;
39
- let t4;
40
- if ($[4] !== t) {
41
- t4 = t("shard key (optional)");
42
- $[4] = t;
43
- $[5] = t4;
44
- } else {
45
- t4 = $[5];
46
- }
47
- let t5;
48
- if ($[6] !== id || $[7] !== onInputChange || $[8] !== t2 || $[9] !== t3 || $[10] !== t4 || $[11] !== testId || $[12] !== value) {
49
- t5 = /* @__PURE__ */ jsxDEV(Input, {
50
- "aria-label": t2,
51
- className: "h-8 w-48",
52
- "data-testid": testId,
53
- id,
54
- list: t3,
55
- onChange: onInputChange,
56
- placeholder: t4,
57
- value
58
- }, void 0, false);
59
- $[6] = id;
60
- $[7] = onInputChange;
61
- $[8] = t2;
62
- $[9] = t3;
63
- $[10] = t4;
64
- $[11] = testId;
65
- $[12] = value;
66
- $[13] = t5;
67
- } else {
68
- t5 = $[13];
69
- }
70
- let t6;
71
- if ($[14] !== listId || $[15] !== recents || $[16] !== testId) {
72
- t6 = recents.length > 0 && /* @__PURE__ */ jsxDEV("datalist", {
73
- "data-testid": `${testId}-recents`,
74
- id: listId,
75
- children: recents.map(_temp2)
76
- }, void 0, false);
77
- $[14] = listId;
78
- $[15] = recents;
79
- $[16] = testId;
80
- $[17] = t6;
81
- } else {
82
- t6 = $[17];
83
- }
84
- let t7;
85
- if ($[18] !== t5 || $[19] !== t6) {
86
- t7 = /* @__PURE__ */ jsxDEV(Fragment, {
87
- children: [t5, t6]
88
- }, void 0, true);
89
- $[18] = t5;
90
- $[19] = t6;
91
- $[20] = t7;
92
- } else {
93
- t7 = $[20];
94
- }
95
- return t7;
96
- };
97
- function _temp() {
98
- return loadRecentShards();
99
- }
100
- function _temp2(shard) {
101
- return /* @__PURE__ */ jsxDEV("option", {
102
- "aria-label": shard,
103
- value: shard
104
- }, shard, false);
105
- }
106
-
107
- export { ShardInput };
@@ -1,13 +0,0 @@
1
- import 'react/compiler-runtime';
2
- import '@lunora/react';
3
- import 'react';
4
- export { S as SqlEditorPanel } from './sql-editor-panel-Smfl_FDF.js';
5
- import './ShardInput-gx_DZXXn.js';
6
- import './table-_RzNvy3R.js';
7
- import './DEFAULT_LOCALE-CiX4W7Kr.js';
8
- import './ADMIN_FUNCTIONS-DjXgvJb6.js';
9
- import './internal-rXJEAhXS.js';
10
- import './shard-history-DyebH1R5.js';
11
- import './data-grid-B5CaV3wS.js';
12
- import './grid-features-CzUfqgsM.js';
13
- import 'react/jsx-dev-runtime';
@@ -1,33 +0,0 @@
1
- import 'react/compiler-runtime';
2
- import '@tanstack/react-router';
3
- import 'react';
4
- export { S as Studio } from './studio-D93XGB-i.js';
5
- import './ErrorBoundary-BzAApI7J.js';
6
- import './badge-B2PKA1-5.js';
7
- import './input-XH4r1Pt1.js';
8
- import './reference-view-B4E49Lip.js';
9
- import './InsightsPanel-B1BaHaPL.js';
10
- import './SecurityAdvisorPanel-Bn2yq05G.js';
11
- import './ApiTab-rwttyQ1-.js';
12
- import './TableEditor-Df_5NPaF.js';
13
- import './ExportImportPanel-Dq6rj0tI.js';
14
- import './MigrationsPanel-RX5qIFSr.js';
15
- import './PitrPanel-LJGNP_IX.js';
16
- import './FunctionRunner-7NH3KcTg.js';
17
- import './FunctionStatsPanel-Cn_EBpDy.js';
18
- import './HomePanel-CP0lN1eF.js';
19
- import './AuditPanel-BqXZAsu_.js';
20
- import './LogsPanel-C3W0mabf.js';
21
- import './MailPanel-DozizrvV.js';
22
- import './HealthPanel-CQ4LzVET.js';
23
- import './MetricsPanel-CujtUfpl.js';
24
- import './SchemaViewer-Bam6ylvw.js';
25
- import './SettingsPanel-CBXQpYQA.js';
26
- import './sql-editor-panel-Smfl_FDF.js';
27
- import './FileBrowser-0pCpdKPE.js';
28
- import './DEFAULT_LOCALE-CiX4W7Kr.js';
29
- import './StudioI18nProvider-B-tDCZIi.js';
30
- import './internal-rXJEAhXS.js';
31
- import './utils-B05Dmz_H.js';
32
- import './CommandPalette-BtgkBzZI.js';
33
- import 'react/jsx-dev-runtime';