@onequery/cli 0.1.62-win32-x64 → 0.1.63-darwin-arm64

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 (173) hide show
  1. package/package.json +3 -3
  2. package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
  3. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/IconTerminal2-PxNqcz3d.js +1 -0
  4. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_authenticated-CeN4Gcz4.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-CcSc_Pt7.js} +1 -1
  5. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-Bx7RRX8m.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-BvJDit6U.js} +1 -1
  6. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-DYFxwKYW.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-CdPU9Jf2.js} +1 -1
  7. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-efuiCQwt.js → aarch64-apple-darwin/runtime/dashboard/assets/budget-CX5MplAP.js} +1 -1
  8. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-0MQtger7.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-BWQ3ETBy.js} +1 -1
  9. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-v_spfhVx.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-C1Jb2l53.js} +1 -1
  10. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-BYswkAvi.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-BSzKv5ue.js} +1 -1
  11. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-CbDL0cgG.js +273 -0
  12. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/device-Bbz7apAX.js +1 -0
  13. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-B7XsQ055.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-Cw2MW0pD.js} +1 -1
  14. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-DXFqJtr0.js → aarch64-apple-darwin/runtime/dashboard/assets/home-BNjpNKdt.js} +1 -1
  15. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-CzO2VlPF.js → aarch64-apple-darwin/runtime/dashboard/assets/index-CXR0dKJj.js} +2 -2
  16. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-BmNrymMN.js → aarch64-apple-darwin/runtime/dashboard/assets/integrations-BWC7iPQ5.js} +1 -1
  17. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-CbHBukr7.js → aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-DmJnR4R5.js} +1 -1
  18. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-BU9HpXEH.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-CxJ2aoMf.js} +1 -1
  19. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-Bh2rs3iR.js → aarch64-apple-darwin/runtime/dashboard/assets/signin-BgfqB9QB.js} +1 -1
  20. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/team-CJiJQnH5.js → aarch64-apple-darwin/runtime/dashboard/assets/team-CYPsHFTt.js} +1 -1
  21. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-DuLiHT8m.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-CRaDbyxE.js} +1 -1
  22. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-ltpcuxqj.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-3PPnMc-O.js} +1 -1
  23. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-Da78x9do.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-CO5Q8xm4.js} +1 -1
  24. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-DyOxsY45.js +1 -0
  25. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-CBFRU4At.js +1 -0
  26. package/vendor/aarch64-apple-darwin/runtime/dashboard/images/google-search-console/step1_confirm_property.png +0 -0
  27. package/vendor/aarch64-apple-darwin/runtime/dashboard/images/google-search-console/step2_scope_selected.png +0 -0
  28. package/vendor/aarch64-apple-darwin/runtime/dashboard/images/google-search-console/step3_copy_access_token.png +0 -0
  29. package/vendor/aarch64-apple-darwin/runtime/dashboard/images/vercel/step1_tokens_page.png +0 -0
  30. package/vendor/aarch64-apple-darwin/runtime/dashboard/images/vercel/step2_configure_token.png +0 -0
  31. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +1 -1
  32. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +3632 -621
  33. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/IconTerminal2-B6A2_8s9.js +0 -1
  34. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-CJxEArZ_.js +0 -231
  35. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/device-DVPbm2ZJ.js +0 -1
  36. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-Cu-8Z6op.js +0 -1
  37. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-7OqrCVKL.js +0 -1
  38. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeItem-BB408Cyb.js +0 -0
  39. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeList-DbbDW_rT.js +0 -0
  40. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/DialogTitle-ChNkcIa6.js +0 -0
  41. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
  42. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
  43. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
  44. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
  45. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
  46. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconHistory-DuLS8PKF.js +0 -0
  47. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconLoader2-0wRUrt7h.js → aarch64-apple-darwin/runtime/dashboard/assets/IconLoader2-BpZcTuHV.js} +0 -0
  48. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconPlus-C2A-IVFH.js → aarch64-apple-darwin/runtime/dashboard/assets/IconPlus-CZiRiEUF.js} +0 -0
  49. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconX-rRpRFwc5.js +0 -0
  50. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/Separator-M05FshHx.js +0 -0
  51. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/alert-8GsJA6Gl.js → aarch64-apple-darwin/runtime/dashboard/assets/alert-BIGxI3XN.js} +0 -0
  52. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
  53. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-client-tp8XTpAa.js +0 -0
  54. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-paths-DcYkf-C_.js +0 -0
  55. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/app-routes-CMyon6Em.js +0 -0
  56. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-bootstrap-query-B1MHd_NV.js +0 -0
  57. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-client-D-YHMy0G.js +0 -0
  58. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/avatar-SaFoLofF.js +0 -0
  59. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/badge-BFPkSrVD.js +0 -0
  60. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/card-Dllm2lhp.js +0 -0
  61. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/checkbox-Bii9Pcrx.js +0 -0
  62. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
  63. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/copy-button-BO1KBdf9.js +0 -0
  64. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
  65. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/dist-BNi06Dzx.js +0 -0
  66. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/empty-DjRo5ytz.js +0 -0
  67. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/format-date-Rg05aHXh.js +0 -0
  68. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getDisabledMountTransitionStyles-C0uz3iMh.js +0 -0
  69. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getPseudoElementBounds-CRlxTrfr.js +0 -0
  70. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/index-B4OsjuJp.css +0 -0
  71. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/input-BRu0b1Tq.js +0 -0
  72. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  73. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  74. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  75. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  76. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  77. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  78. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  79. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
  80. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/label-f2wVZcni.js +0 -0
  81. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
  82. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
  83. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-permissions-BXV_ess0.js +0 -0
  84. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-query-keys-ieaSNxMR.js +0 -0
  85. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-CY--GYXb.js +0 -0
  86. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-timing-YBkSOxxF.js +0 -0
  87. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/queryOptions-bXtOUR_h.js +0 -0
  88. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/schemas-EcBBwCo1.js +0 -0
  89. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/select-yNaL0SXM.js +0 -0
  90. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/separator-BH7Gsum-.js +0 -0
  91. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/settings-C8us2bWX.js +0 -0
  92. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/src-C5F1uEDb.js +0 -0
  93. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/textarea-CnA77PLS.js +0 -0
  94. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useBaseUiId-CtNp109T.js +0 -0
  95. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useCompositeItem-D243hyne.js +0 -0
  96. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useControlled-C-85HRFr.js +0 -0
  97. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRender-CzpKCg11.js +0 -0
  98. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
  99. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useValueChanged-BNrgSVVM.js +0 -0
  100. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
  101. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/xstate-react.esm-Bo3CCIRt.js +0 -0
  102. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/zod-D0PWrP9q.js +0 -0
  103. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
  104. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
  105. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
  106. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
  107. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
  108. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
  109. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
  110. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
  111. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
  112. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step2_enable_workers_logs.png +0 -0
  113. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step3_user_api_tokens.png +0 -0
  114. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step4_create_api_token.png +0 -0
  115. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step5_workers_pages_account_id.png +0 -0
  116. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step6_workers_observability_permission.png +0 -0
  117. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
  118. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
  119. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
  120. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
  121. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
  122. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
  123. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
  124. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
  125. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
  126. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
  127. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
  128. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
  129. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
  130. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
  131. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
  132. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
  133. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
  134. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
  135. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
  136. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
  137. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
  138. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
  139. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
  140. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
  141. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
  142. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
  143. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
  144. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
  145. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
  146. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
  147. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
  148. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
  149. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
  150. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
  151. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430114113_jittery_scorpion.sql +0 -0
  152. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430135906_flippant_timeslip.sql +0 -0
  153. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260502000100_drop_old_workflow_audit_tables.sql +0 -0
  154. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260503011110_moaning_jack_flag.sql +0 -0
  155. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260514143216_reset_workflow_audit_history.sql +0 -0
  156. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260524081943_colorful_firelord.sql +0 -0
  157. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
  158. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
  159. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
  160. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
  161. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
  162. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
  163. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
  164. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
  165. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430114113_snapshot.json +0 -0
  166. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430135906_snapshot.json +0 -0
  167. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260503011110_snapshot.json +0 -0
  168. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260524081943_snapshot.json +0 -0
  169. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +0 -0
  170. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
  171. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
  172. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
  173. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/polyglot_sql_wasm_bg.wasm +0 -0
@@ -1 +0,0 @@
1
- import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./link-Cgvqhh5w.js";import{t as n}from"./compiler-runtime-DCc3R3Xn.js";import{a as r,o as i}from"./api-base-url-DIb6qukm.js";import{n as a,r as o,t as s}from"./createReactComponent-_L2mp4Ui.js";import{t as c}from"./utils-C8DGLIgm.js";import{t as l}from"./IconCheck-Gc24xPT2.js";import{t as u}from"./theme-toggle-DuLiHT8m.js";import{t as d}from"./IconTerminal2-B6A2_8s9.js";import{t as f}from"./IconX-rRpRFwc5.js";import{c as p,d as m,n as h,o as g,r as _}from"./app-routes-CMyon6Em.js";import{t as v}from"./api-client-tp8XTpAa.js";import{t as y}from"./input-BRu0b1Tq.js";import{a as b,i as x,n as S,r as C,t as ee}from"./xstate-react.esm-Bo3CCIRt.js";import{t as w}from"./label-f2wVZcni.js";import{a as T,n as E,o as D,r as O,t as k}from"./card-Dllm2lhp.js";import{n as A,t as j}from"./dist-BNi06Dzx.js";var te=s(`outline`,`key`,`Key`,[[`path`,{d:`M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0`,key:`svg-0`}],[`path`,{d:`M15 9h.01`,key:`svg-1`}]]),M=s(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),ne=s(`outline`,`shield-check`,`ShieldCheck`,[[`path`,{d:`M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06`,key:`svg-0`}],[`path`,{d:`M15 19l2 2l4 -4`,key:`svg-1`}]]),re=s(`outline`,`sparkles`,`Sparkles`,[[`path`,{d:`M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6`,key:`svg-0`}]]),N=n();function P(){return{kind:`idle`}}function F(e){return{kind:`error`,message:e}}function I(){return{kind:`idle`}}function L(e){return{kind:`ready`,result:e}}function R(e){let t={activeUserCode:null,alert:P(),inputCode:``,navigation:null,nextNavigationId:1,resultState:I(),session:e?.initialSession??{kind:`pending`}};return e?.initialUserCode?{...t,activeUserCode:e.initialUserCode,inputCode:e.initialUserCode}:t}function ie(e){return{...R(),nextNavigationId:e.nextNavigationId,session:e.session}}function z(e,t,n){return{navigation:{id:e.nextNavigationId,replace:n,userCode:t},nextNavigationId:e.nextNavigationId+1}}function B(e){return m(e)??null}function ae(e){return e.value===`bootstrap`||e.value===`entry`?`entry`:e.value===`verifying`?`verifying`:e.value===`result`?`result`:e.value.pending===`sessionCheck`?`sessionCheck`:e.value.pending===`signInRequired`?`signInRequired`:`review`}function oe(e){return e.context.session.kind===`signedIn`?e.context.session.email:null}function se(e){return e.context.alert.kind===`error`?e.context.alert.message:null}function ce(e){return e.context.resultState.kind===`ready`?e.context.resultState.result:null}function le(e){return e.isSessionPending?{kind:`pending`}:e.email?{email:e.email,kind:`signedIn`}:{kind:`signedOut`}}function ue(e){return`Couldn't update the device URL. Try the same action again.`}function de(e){return{activeUserCode:e.userCode,alert:P(),inputCode:e.userCode,resultState:e.resultState,...fe(e.context.activeUserCode,e.userCode)?z(e.context,e.userCode,!0):{}}}function fe(e,t){return t!==e}function V(e){if(e.activeUserCode===null)throw Error(`Active user code is required in device request states`);return e.activeUserCode}var H=`The device code could not be verified. Try again.`,U=`The device request could not be completed. Try again.`,W=class extends A(`DeviceVerificationError`)(){},G=class extends A(`DeviceDecisionError`)(){},K=class extends Error{constructor(e){super(e.message),this.name=`DeviceActorRequestError`}};async function pe(e,t={}){let n=v(),r=await j.tryPromise({try:()=>n.api.device.verify.$get({query:{user_code:e}},{init:{signal:t.signal}}),catch:e=>new W({cause:e,message:H,reason:`request_failed`})});if(r.isErr())return console.error(`[device-auth] failed to verify device code`,{errorName:Y(r.error.cause)}),j.err(r.error);let i=r.value;if(!i.ok){let e=await q(i);return j.err(new W({message:J(e,H),reason:`response_failed`}))}let a=await q(i);return a===null?(console.error(`[device-auth] failed to parse verify device response`),j.err(new W({message:H,reason:`response_failed`}))):j.ok({status:a.status,userCode:a.userCode})}async function me(e){let t=v(),n=e.userCode,r=e.action===`approve`?t.api.device.approve.$post:t.api.device.deny.$post,i=await j.tryPromise({try:()=>r({form:{user_code:n}},{init:{signal:e.signal}}),catch:t=>new G({action:e.action,cause:t,message:U,reason:`request_failed`})});if(i.isErr())return console.error(`[device-auth] failed to submit device decision`,{action:e.action,errorName:Y(i.error.cause)}),j.err(i.error);let a=i.value;if(!a.ok){let t=await q(a);return j.err(new G({action:e.action,message:J(t,U),reason:`response_failed`}))}let o=await q(a);return o===null?(console.error(`[device-auth] failed to parse device decision response`,{action:e.action}),j.err(new G({action:e.action,message:U,reason:`response_failed`}))):j.ok({message:o.message,title:o.title,tone:e.action===`approve`?`success`:`error`})}async function he(e,t={}){let n=await pe(e.userCode,t);if(n.isErr())throw new K({message:n.error.message});return{status:n.value.status,userCode:n.value.userCode}}async function ge(e,t={}){let n=await me({action:e.action,signal:t.signal,userCode:e.userCode});if(n.isErr())throw new K({message:n.error.message});return{message:n.value.message,title:n.value.title,tone:n.value.tone}}async function q(e){let t=await j.tryPromise(()=>e.json());return t.isErr()?null:t.value}function J(e,t){return e&&`error`in e,t}function Y(e){return e instanceof Error?e.name:`unknown`}var _e=C({actions:{navigateToDeviceRoute:(e,t)=>void 0,setInputCode:x(({event:e})=>(S(e,`deviceAuth/inputChanged`),{inputCode:e.value,alert:P()})),stageVerificationFromInput:x(({context:e})=>{let t=B(e.inputCode);return t===null?{}:{inputCode:t,activeUserCode:t,alert:P(),resultState:I(),...z(e,t,!1)}}),setMissingCodeError:x({alert:()=>F(`Enter the code shown in your terminal to continue.`)}),queueClearCodeNavigation:x(({context:e})=>{let t=ie(e);return{...t,...z(t,null,!1)}}),clearDecisionAlert:x(()=>({alert:P(),resultState:I()})),storeVerified:x(({context:e},t)=>de({context:e,resultState:t.resultState,userCode:t.output.userCode})),completeNavigation:x(({context:e,event:t})=>(S(t,`deviceAuth/navigationCompleted`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null})),failNavigation:x(({context:e,event:t})=>(S(t,`deviceAuth/navigationFailed`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null,alert:F(t.message)})),storeVerificationFailure:x(({context:e},t)=>({alert:F(t.message),inputCode:e.activeUserCode??e.inputCode,resultState:I()})),storeDecisionFailure:x(({context:e},t)=>({alert:F(t.message),inputCode:e.activeUserCode??``,resultState:I()})),storeDecisionSuccess:x((e,t)=>({alert:P(),resultState:L({message:t.message,title:t.title,tone:t.tone})}))},actors:{submitDeviceDecision:b(()=>new Promise(()=>{})),verifyDevice:b(()=>new Promise(()=>{}))},guards:{hasActiveUserCode:({context:e})=>e.activeUserCode!==null,hasSignedInActiveUserCode:({context:e})=>e.activeUserCode!==null&&e.session.kind===`signedIn`,hasNormalizedInputCode:({context:e})=>B(e.inputCode)!==null,storedSessionSignedIn:({context:e})=>e.session.kind===`signedIn`,storedSessionSignedOut:({context:e})=>e.session.kind===`signedOut`,verifiedPendingDevice:(e,t)=>t.status===`pending`,verifiedApprovedDevice:(e,t)=>t.status===`approved`,verifiedDeniedDevice:(e,t)=>t.status===`denied`},types:{}}).createMachine({context:({input:e})=>R(e),id:`deviceAuth`,initial:`bootstrap`,on:{"deviceAuth/navigationCompleted":{actions:`completeNavigation`},"deviceAuth/navigationFailed":{actions:`failNavigation`}},states:{bootstrap:{always:[{guard:`hasSignedInActiveUserCode`,target:`pending`},{guard:`hasActiveUserCode`,target:`verifying`},{target:`entry`}]},entry:{on:{"deviceAuth/inputChanged":{actions:`setInputCode`},"deviceAuth/submit":[{guard:`hasNormalizedInputCode`,target:`verifying`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>{let t=B(e.inputCode);return t===null?null:{id:e.nextNavigationId,replace:!1,userCode:t}}},`stageVerificationFromInput`]},{actions:`setMissingCodeError`}]}},verifying:{invoke:{src:`verifyDevice`,input:({context:e})=>({userCode:V(e)}),onDone:[{guard:{type:`verifiedPendingDevice`,params:({event:e})=>e.output},target:`pending`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:I()})}]},{guard:{type:`verifiedApprovedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`Return to your terminal to continue. You can close this tab.`,title:`Device Approved`,tone:`success`})})}]},{guard:{type:`verifiedDeniedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`This device code has already been denied. Start onequery auth login again if you need a new code.`,title:`Device Denied`,tone:`error`})})}]}],onError:{actions:{type:`storeVerificationFailure`,params:({event:e})=>Z(e.error,H)},target:`entry`}}},pending:{initial:`sessionCheck`,on:{"deviceAuth/useDifferentCode":{target:`#deviceAuth.entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}},states:{sessionCheck:{always:[{guard:`storedSessionSignedIn`,target:`review`},{guard:`storedSessionSignedOut`,target:`signInRequired`}]},signInRequired:{},review:{on:{"deviceAuth/approve":{target:`approving`,actions:`clearDecisionAlert`},"deviceAuth/deny":{target:`denying`,actions:`clearDecisionAlert`}}},approving:{invoke:{src:`submitDeviceDecision`,input:({context:e})=>({action:`approve`,userCode:V(e)}),onDone:{actions:{type:`storeDecisionSuccess`,params:({event:e})=>e.output},target:`#deviceAuth.result`},onError:{actions:{type:`storeDecisionFailure`,params:({event:e})=>Z(e.error,U)},target:`#deviceAuth.entry`}}},denying:{invoke:{src:`submitDeviceDecision`,input:({context:e})=>({action:`deny`,userCode:V(e)}),onDone:{actions:{type:`storeDecisionSuccess`,params:({event:e})=>e.output},target:`#deviceAuth.result`},onError:{actions:{type:`storeDecisionFailure`,params:({event:e})=>Z(e.error,U)},target:`#deviceAuth.entry`}}}}},result:{on:{"deviceAuth/useDifferentCode":{target:`entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}}}}});function X(e){let{context:t,output:n}=e;return fe(t.activeUserCode,n.userCode)?{id:t.nextNavigationId,replace:!0,userCode:n.userCode}:null}function Z(e,t){return e instanceof K?{message:e.message}:{message:t}}var Q=e();function ve(e){return e.panelView===`entry`?{badge:`Enter code`,description:`Paste the code from your terminal to verify the device login request before approving access.`,icon:d,title:`Authorize OneQuery CLI`,tone:`primary`}:e.panelView===`verifying`?{badge:`Checking request`,description:`We’re validating the code from your terminal and loading the next step in the authorization flow.`,icon:te,title:`Checking device code`,tone:`neutral`}:e.panelView===`sessionCheck`?{badge:`Checking session`,description:`We’re checking whether you already have an active OneQuery session for this device request.`,icon:M,title:`Confirming your browser session`,tone:`neutral`}:e.panelView===`signInRequired`?{badge:`Sign in required`,description:`Sign in with the account that should own this CLI session.`,icon:M,title:`Sign in to approve this device`,tone:`primary`}:e.panelView===`review`?{badge:`Review request`,description:`Review the request and decide whether to authorize this CLI sign-in.`,icon:ne,title:`Approve device login`,tone:`primary`}:e.result?.tone===`success`?{badge:`Approved`,description:e.result.message,icon:l,title:e.result.title,tone:`success`}:{badge:`Denied`,description:e.result?.message??`This device request has been denied or could not be completed.`,icon:f,title:e.result?.title??`Device Denied`,tone:`error`}}function ye(e){switch(e){case`primary`:return`border-primary/15 bg-primary/5 text-primary`;case`success`:return`border-primary/15 bg-primary/5 text-primary`;case`error`:return`border-destructive/15 bg-destructive/5 text-destructive`;case`neutral`:return`border-border bg-muted/40 text-foreground`}}function be(e){switch(e){case`primary`:return`bg-primary/10 text-primary`;case`success`:return`bg-primary/10 text-primary`;case`error`:return`bg-destructive/10 text-destructive`;case`neutral`:return`bg-background text-foreground`}}function $(e){let t=(0,N.c)(10),{label:n,value:r,emphasis:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-primary/15 bg-primary/5`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-mono text-xl font-semibold tracking-[0.32em] text-foreground sm:text-2xl`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function xe(e){let t=(0,N.c)(10),{label:n,value:r,tone:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-border bg-muted/30`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-medium text-foreground`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function Se(e){let t=(0,N.c)(51),{initialSession:n,onboardingOrganizationId:r,requestedUserCode:a}=e,o=i(),s;t[0]!==o||t[1]!==r?(s=_e.provide({actions:{navigateToDeviceRoute:(e,t)=>{let{self:n}=e;t!==null&&o({replace:t.replace,search:t.userCode===null?{}:{user_code:t.userCode,...r?{orgId:r}:{}},to:_}).then(()=>{n.send({id:t.id,type:`deviceAuth/navigationCompleted`})}).catch(e=>{console.error(`[device-auth] failed to sync device route`,{errorName:Te(e),navigationId:t.id,replace:t.replace}),n.send({id:t.id,message:ue(e),type:`deviceAuth/navigationFailed`})})}},actors:{submitDeviceDecision:b(we),verifyDevice:b(Ce)}}),t[0]=o,t[1]=r,t[2]=s):s=t[2];let c;t[3]!==n||t[4]!==a?(c={input:{initialSession:n,initialUserCode:a}},t[3]=n,t[4]=a,t[5]=c):c=t[5];let[l,u]=ee(s,c),d,f,m,h,g,v,y,x;if(t[6]!==r||t[7]!==a||t[8]!==l){h=ae(l),m=l.context.inputCode,d=l.context.activeUserCode;let e;t[17]===l?e=t[18]:(e=se(l),t[17]=l,t[18]=e),f=e,g=ce(l);let n;t[19]===l?n=t[20]:(n=oe(l),t[19]=l,t[20]=n),y=n;let i=d??a,o;t[21]!==i||t[22]!==r?(o=p(i,r),t[21]=i,t[22]=r,t[23]=o):o=t[23],v=o,x=ve({panelView:h,result:g}),t[6]=r,t[7]=a,t[8]=l,t[9]=d,t[10]=f,t[11]=m,t[12]=h,t[13]=g,t[14]=v,t[15]=y,t[16]=x}else d=t[9],f=t[10],m=t[11],h=t[12],g=t[13],v=t[14],y=t[15],x=t[16];let S=x,C;t[24]===l?C=t[25]:(C=l.matches({pending:`approving`}),t[24]=l,t[25]=C);let w;t[26]===l?w=t[27]:(w=l.matches({pending:`denying`}),t[26]=l,t[27]=w);let T,E,D,O,k;t[28]===u?(T=t[29],E=t[30],D=t[31],O=t[32],k=t[33]):(E=()=>{u({type:`deviceAuth/approve`})},D=()=>{u({type:`deviceAuth/deny`})},O=e=>{u({type:`deviceAuth/inputChanged`,value:e.toUpperCase()})},k=()=>{u({type:`deviceAuth/submit`})},T=()=>{u({type:`deviceAuth/useDifferentCode`})},t[28]=u,t[29]=T,t[30]=E,t[31]=D,t[32]=O,t[33]=k);let A;return t[34]!==d||t[35]!==f||t[36]!==m||t[37]!==r||t[38]!==S||t[39]!==h||t[40]!==g||t[41]!==v||t[42]!==y||t[43]!==T||t[44]!==C||t[45]!==w||t[46]!==E||t[47]!==D||t[48]!==O||t[49]!==k?(A={activeUserCode:d,errorMessage:f,inputCode:m,isSubmittingApprove:C,isSubmittingDeny:w,onboardingOrganizationId:r,onApprove:E,onDeny:D,onInputChange:O,onSubmit:k,onUseDifferentCode:T,panelMeta:S,panelView:h,result:g,resumePath:v,sessionEmail:y},t[34]=d,t[35]=f,t[36]=m,t[37]=r,t[38]=S,t[39]=h,t[40]=g,t[41]=v,t[42]=y,t[43]=T,t[44]=C,t[45]=w,t[46]=E,t[47]=D,t[48]=O,t[49]=k,t[50]=A):A=t[50],A}async function Ce(e){let{input:t,signal:n}=e;return he(t,{signal:n})}async function we(e){let{input:t,signal:n}=e;return ge(t,{signal:n})}function Te(e){return e instanceof Error?e.name:`unknown`}function Ee(e){let n=(0,N.c)(33),{controller:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsxs)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-0`,children:[(0,Q.jsx)(`div`,{className:`absolute left-[-7rem] top-[-8rem] h-64 w-64 rounded-full bg-primary/10 blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute right-[-8rem] top-20 h-80 w-80 rounded-full bg-muted blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(to_right,rgba(127,127,127,0.06)_1px,transparent_1px),linear-gradient(to_bottom,rgba(127,127,127,0.06)_1px,transparent_1px)] bg-[size:4.5rem_4.5rem] [mask-image:linear-gradient(to_bottom,white,rgba(255,255,255,0.3))]`})]}),n[0]=i):i=n[0];let a;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(`header`,{className:`relative z-10 border-b border-border/60 bg-background/80 backdrop-blur`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex h-16 w-full max-w-6xl items-center justify-between px-6`,children:[(0,Q.jsxs)(t,{to:`/`,className:`flex items-center gap-3`,children:[(0,Q.jsx)(`img`,{src:`/onequery.svg`,alt:`OneQuery`,className:`h-9 w-9 rounded-lg`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-semibold text-lg leading-none`,children:`OneQuery`}),(0,Q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Device authorization`})]})]}),(0,Q.jsx)(u,{})]})}),n[1]=a):a=n[1];let o;n[2]===r.panelMeta.tone?o=n[3]:(o=c(`inline-flex items-center gap-2 rounded-full border px-3 py-1 text-xs font-medium uppercase tracking-[0.18em]`,ye(r.panelMeta.tone)),n[2]=r.panelMeta.tone,n[3]=o);let s;n[4]===r.panelMeta.tone?s=n[5]:(s=c(`flex h-6 w-6 items-center justify-center rounded-full`,be(r.panelMeta.tone)),n[4]=r.panelMeta.tone,n[5]=s);let l;n[6]===r.panelMeta.icon?l=n[7]:(l=(0,Q.jsx)(r.panelMeta.icon,{size:14,stroke:1.9}),n[6]=r.panelMeta.icon,n[7]=l);let d;n[8]!==s||n[9]!==l?(d=(0,Q.jsx)(`div`,{className:s,children:l}),n[8]=s,n[9]=l,n[10]=d):d=n[10];let f;n[11]!==r.panelMeta.badge||n[12]!==o||n[13]!==d?(f=(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:(0,Q.jsxs)(`div`,{className:o,children:[d,r.panelMeta.badge]})}),n[11]=r.panelMeta.badge,n[12]=o,n[13]=d,n[14]=f):f=n[14];let p;n[15]===r.panelMeta.title?p=n[16]:(p=(0,Q.jsx)(D,{className:`mt-4 text-2xl`,children:r.panelMeta.title}),n[15]=r.panelMeta.title,n[16]=p);let m;n[17]===r.panelMeta.description?m=n[18]:(m=(0,Q.jsx)(O,{className:`max-w-2xl text-base leading-7`,children:r.panelMeta.description}),n[17]=r.panelMeta.description,n[18]=m);let h;n[19]!==f||n[20]!==p||n[21]!==m?(h=(0,Q.jsxs)(T,{className:`border-b border-border/60 pb-5`,children:[f,p,m]}),n[19]=f,n[20]=p,n[21]=m,n[22]=h):h=n[22];let g;n[23]===r.errorMessage?g=n[24]:(g=r.errorMessage?(0,Q.jsx)(`div`,{className:`rounded-xl border border-destructive/20 bg-destructive/5 px-3 py-2 text-sm text-destructive`,children:r.errorMessage}):null,n[23]=r.errorMessage,n[24]=g);let _;n[25]===r?_=n[26]:(_=De(r),n[25]=r,n[26]=_);let v;n[27]!==g||n[28]!==_?(v=(0,Q.jsxs)(E,{className:`space-y-5 pt-6`,children:[g,_]}),n[27]=g,n[28]=_,n[29]=v):v=n[29];let y;return n[30]!==h||n[31]!==v?(y=(0,Q.jsxs)(`div`,{className:`relative min-h-screen overflow-hidden bg-background`,children:[i,a,(0,Q.jsx)(`main`,{className:`relative z-10 flex flex-1 items-center justify-center px-6 py-10 lg:min-h-[calc(100vh-4rem)] lg:py-14`,children:(0,Q.jsx)(`section`,{className:`w-full max-w-3xl`,children:(0,Q.jsx)(`div`,{className:`rounded-[2rem] border border-border/70 bg-background/75 p-2 shadow-2xl shadow-foreground/5 backdrop-blur`,children:(0,Q.jsxs)(k,{className:`w-full border-0 bg-card/95 shadow-none ring-0`,children:[h,v]})})})})]}),n[30]=h,n[31]=v,n[32]=y):y=n[32],y}function De(e){switch(e.panelView){case`entry`:return(0,Q.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),e.onSubmit()},className:`space-y-5`,children:[(0,Q.jsxs)(`div`,{className:`space-y-2`,children:[(0,Q.jsx)(w,{htmlFor:`user-code`,children:`Device code`}),(0,Q.jsx)(y,{id:`user-code`,value:e.inputCode,onChange:t=>e.onInputChange(t.target.value),placeholder:`ABCD1234`,autoCapitalize:`characters`,autoComplete:`one-time-code`,required:!0,className:`h-11 font-mono text-base tracking-[0.25em] uppercase`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Enter the 8-character code shown in your terminal.`})]}),(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(a,{type:`submit`,className:`h-11 w-full`,children:`Continue`}),(0,Q.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:`You’ll review the request before any access is granted.`})]})]});case`verifying`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Verifying code`,value:e.activeUserCode??e.inputCode,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-primary/10 text-primary`,children:(0,Q.jsx)(re,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking request details`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`We’re validating that this device code is still active and can be approved.`})]})]})})]});case`sessionCheck`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Ready to approve`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-muted`,children:(0,Q.jsx)(M,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking your browser session`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Once we know who you are, you’ll be able to approve or deny this request.`})]})]})})]});case`signInRequired`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(t,{to:g,search:{redirect:e.resumePath},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Sign in`}),(0,Q.jsx)(a,{type:`button`,variant:`ghost`,size:`sm`,className:`mx-auto flex h-9 px-3 text-muted-foreground`,onClick:e.onUseDifferentCode,children:`Use a different code`})]});case`review`:return e.sessionEmail?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(xe,{label:`Signed in as`,value:e.sessionEmail,tone:`neutral`}),(0,Q.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,Q.jsx)(a,{type:`button`,variant:`outline`,size:`lg`,className:`h-11 flex-1`,onClick:e.onDeny,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingDeny?`Denying...`:`Deny`}),(0,Q.jsx)(a,{type:`button`,size:`lg`,className:`h-11 flex-1`,onClick:e.onApprove,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingApprove?`Approving...`:`Approve`})]})]}):null;case`result`:return e.result?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:e.result.tone===`success`?`Approved code`:`Resolved code`,value:e.activeUserCode??``,emphasis:e.result.tone}),e.result.tone===`success`&&e.onboardingOrganizationId?(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Your CLI session is ready. Connect a data source now, or come back later from the dashboard.`}),(0,Q.jsx)(t,{to:h,search:{orgId:e.onboardingOrganizationId},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Continue setup`})]}):null]}):null}}var Oe=r(_);function ke(){let e=(0,N.c)(10),{orgId:t,user_code:n}=Oe.useSearch(),{auth:r}=Oe.useRouteContext(),i=t??null,a,o,s;e[0]!==r.session?.user.email||e[1]!==n?(o=m(n??null)??null,a=le({email:r.session?.user.email??null,isSessionPending:!1}),s=je({requestedUserCode:o,session:a}),e[0]=r.session?.user.email,e[1]=n,e[2]=a,e[3]=o,e[4]=s):(a=e[2],o=e[3],s=e[4]);let c=s,l;return e[5]!==c||e[6]!==a||e[7]!==i||e[8]!==o?(l=(0,Q.jsx)(Ae,{initialSession:a,onboardingOrganizationId:i,requestedUserCode:o},c),e[5]=c,e[6]=a,e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function Ae(e){let t=(0,N.c)(2),n=Se(e),r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(Ee,{controller:n}),t[0]=n,t[1]=r),r}function je(e){return e.session.kind===`signedIn`?`${e.requestedUserCode??``}:signedIn:${e.session.email}`:`${e.requestedUserCode??``}:${e.session.kind}`}function Me(){let e=(0,N.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(ke,{}),e[0]=t):t=e[0],t}var Ne=Me;export{Ne as component};
@@ -1 +0,0 @@
1
- import{r as e,t}from"./useBaseQuery-Da78x9do.js";function n(n,r){return t(n,e,r)}export{n as t};
@@ -1 +0,0 @@
1
- import{n as e,r as t,t as n}from"./useBaseQuery-Da78x9do.js";function r(r,i){return n({...r,enabled:!0,suspense:!0,throwOnError:e,placeholderData:void 0},t,i)}export{r as t};