@hexclave/next 1.0.45 → 1.0.46

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 (99) hide show
  1. package/dist/{admin-app-impl-rh6q_LBv.d.ts → admin-app-impl-CGC-p1vR.d.ts} +8 -7
  2. package/dist/{admin-app-impl-rh6q_LBv.d.ts.map → admin-app-impl-CGC-p1vR.d.ts.map} +1 -1
  3. package/dist/clickmap/clickmap-core.js +2 -2
  4. package/dist/clickmap/index.js +2 -2
  5. package/dist/components/api-key-dialogs.js +2 -2
  6. package/dist/components/credential-sign-in.js +1 -1
  7. package/dist/components/credential-sign-up.js +1 -1
  8. package/dist/components/magic-link-sign-in.js +1 -1
  9. package/dist/components/team-switcher.js +1 -1
  10. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
  11. package/dist/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  12. package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  13. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  14. package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
  15. package/dist/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  16. package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
  17. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  18. package/dist/components-page/auth-page.js +1 -1
  19. package/dist/components-page/cli-auth-confirm.js +1 -1
  20. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  21. package/dist/components-page/forgot-password.js +1 -1
  22. package/dist/components-page/oauth-callback.js +2 -2
  23. package/dist/components-page/oauth-callback.test.js +1 -1
  24. package/dist/components-page/onboarding.js +1 -1
  25. package/dist/components-page/password-reset.js +1 -1
  26. package/dist/components-page/team-creation.js +1 -1
  27. package/dist/dev-tool/dev-tool-core.js +2 -2
  28. package/dist/dev-tool/index.js +2 -2
  29. package/dist/esm/clickmap/clickmap-core.js +2 -2
  30. package/dist/esm/clickmap/index.js +2 -2
  31. package/dist/esm/components/api-key-dialogs.js +2 -2
  32. package/dist/esm/components/credential-sign-in.js +1 -1
  33. package/dist/esm/components/credential-sign-up.js +1 -1
  34. package/dist/esm/components/magic-link-sign-in.js +1 -1
  35. package/dist/esm/components/team-switcher.js +1 -1
  36. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
  37. package/dist/esm/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  38. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  39. package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  40. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
  41. package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  42. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
  43. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  44. package/dist/esm/components-page/auth-page.js +1 -1
  45. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  46. package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
  47. package/dist/esm/components-page/forgot-password.js +1 -1
  48. package/dist/esm/components-page/oauth-callback.js +2 -2
  49. package/dist/esm/components-page/oauth-callback.test.js +1 -1
  50. package/dist/esm/components-page/onboarding.js +1 -1
  51. package/dist/esm/components-page/password-reset.js +1 -1
  52. package/dist/esm/components-page/team-creation.js +1 -1
  53. package/dist/esm/dev-tool/dev-tool-core.js +2 -2
  54. package/dist/esm/dev-tool/index.js +2 -2
  55. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  56. package/dist/esm/lib/auth.js +1 -1
  57. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -5
  58. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  59. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +8 -1
  60. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  61. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -2
  62. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  63. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +3 -3
  64. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  65. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -0
  66. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts.map +1 -1
  67. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +6 -1
  68. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  69. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  70. package/dist/esm/providers/theme-provider.js +1 -1
  71. package/dist/esm/pushed-config-error-overlay/index.js +2 -2
  72. package/dist/generated/quetzal-translations.d.ts +1 -1
  73. package/dist/{hexclave-provider-M0b2de8H.d.ts → hexclave-provider-pFFvRW6F.d.ts} +2 -2
  74. package/dist/{hexclave-provider-M0b2de8H.d.ts.map → hexclave-provider-pFFvRW6F.d.ts.map} +1 -1
  75. package/dist/index.d.ts +1 -1
  76. package/dist/lib/auth.js +1 -1
  77. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  78. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +7 -0
  79. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  80. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  81. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  82. package/dist/lib/hexclave-app/apps/implementations/common.js +3 -3
  83. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  84. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
  85. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  86. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +6 -1
  87. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  88. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  89. package/dist/providers/hexclave-provider.d.ts +1 -1
  90. package/dist/providers/theme-provider.js +1 -1
  91. package/dist/providers/translation-provider.d.ts +1 -1
  92. package/dist/pushed-config-error-overlay/index.js +2 -2
  93. package/dist/{quetzal-translations-XeH3zQ9l.d.ts → quetzal-translations-DVNj-zsr.d.ts} +3 -3
  94. package/dist/{quetzal-translations-XeH3zQ9l.d.ts.map → quetzal-translations-DVNj-zsr.d.ts.map} +1 -1
  95. package/dist/{translation-provider-WOaZXqAz.d.ts → translation-provider-DPFkLbrw.d.ts} +2 -2
  96. package/dist/{translation-provider-WOaZXqAz.d.ts.map → translation-provider-DPFkLbrw.d.ts.map} +1 -1
  97. package/package.json +4 -4
  98. package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +15 -1
  99. package/src/lib/hexclave-app/apps/implementations/server-app-impl.ts +10 -0
@@ -1,11 +1,11 @@
1
1
  import { Button } from "@hexclave/ui";
2
2
  import { useState } from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
5
- import { ApiKeyTable } from "../../../components/api-key-table.js";
6
4
  import { useUser } from "../../../lib/hooks.js";
7
5
  import { useTranslation } from "../../../lib/translations.js";
8
6
  import { PageLayout } from "../page-layout.js";
7
+ import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
8
+ import { ApiKeyTable } from "../../../components/api-key-table.js";
9
9
  //#region src/components-page/account-settings/api-keys/api-keys-page.tsx
10
10
  function ApiKeysPage(props) {
11
11
  const { t } = useTranslation();
@@ -1,6 +1,6 @@
1
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
4
  import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import { throwErr } from "@hexclave/shared/dist/utils/errors";
2
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
+ import { throwErr } from "@hexclave/shared/dist/utils/errors";
3
3
  import { Button, Input, Typography } from "@hexclave/ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -2,10 +2,10 @@ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
2
2
  import { Button } from "@hexclave/ui";
3
3
  import { useState } from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
6
- import { ApiKeyTable } from "../../../components/api-key-table.js";
7
5
  import { useStackApp, useUser } from "../../../lib/hooks.js";
8
6
  import { useTranslation } from "../../../lib/translations.js";
7
+ import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
8
+ import { ApiKeyTable } from "../../../components/api-key-table.js";
9
9
  import { Section } from "../section.js";
10
10
  //#region src/components-page/account-settings/teams/team-api-keys-section.tsx
11
11
  function TeamApiKeysSection(props) {
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { captureError } from "@hexclave/shared/dist/utils/errors";
3
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
4
  import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
5
5
  import { Suspense, useMemo } from "react";
6
6
  import { useStackApp, useUser } from "../index.js";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
3
4
  import { Typography } from "@hexclave/ui";
4
5
  import { useCallback, useEffect, useRef, useState } from "react";
5
6
  import { useTranslation } from "../lib/translations.js";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  import { useStackApp } from "../lib/hooks.js";
8
9
  import { MessageCard } from "../components/message-cards/message-card.js";
9
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
10
  //#region src/components-page/cli-auth-confirm.tsx
11
11
  async function postCliAuthComplete(app, body) {
12
12
  return await app[hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
@@ -1,9 +1,9 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
2
3
  import { act } from "react";
3
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
5
  import { createRoot } from "react-dom/client";
5
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
7
7
  import { HexclaveContext } from "../providers/hexclave-context.js";
8
8
  import { useCliAuthConfirmation } from "./cli-auth-confirm.js";
9
9
  //#region src/components-page/cli-auth-confirm.test.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,6 +1,7 @@
1
1
  "use client";
2
- import { captureError } from "@hexclave/shared/dist/utils/errors";
3
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
5
  import { Spinner, cn } from "@hexclave/ui";
5
6
  import { useEffect, useRef, useState } from "react";
6
7
  import { useStackApp } from "../index.js";
@@ -9,7 +10,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
9
10
  import { KnownError } from "@hexclave/shared";
10
11
  import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
11
12
  import { StyledLink } from "../components/link.js";
12
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
13
13
  import { ErrorPage } from "./error-page.js";
14
14
  //#region src/components-page/oauth-callback.tsx
15
15
  function OAuthCallback({ fullPage }) {
@@ -1,9 +1,9 @@
1
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
1
2
  import { act } from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  import { KnownErrors } from "@hexclave/shared";
4
5
  import { createRoot } from "react-dom/client";
5
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
7
7
  import { OAuthCallback } from "./oauth-callback.js";
8
8
  import { TranslationProviderClient } from "../providers/translation-provider-client.js";
9
9
  //#region src/components-page/oauth-callback.test.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Typography } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Label, Typography } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,9 +1,9 @@
1
+ import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
1
2
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
2
4
  import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
3
5
  import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
4
6
  import { getPagePrompt } from "../lib/hexclave-app/url-targets.js";
5
- import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
6
- import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
7
7
  import { envVars } from "../generated/env.js";
8
8
  import { getBaseUrl } from "../lib/hexclave-app/apps/implementations/common.js";
9
9
  import { devToolCSS } from "./dev-tool-styles.js";
@@ -1,7 +1,7 @@
1
- import { captureError } from "@hexclave/shared/dist/utils/errors";
2
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
- import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
4
2
  import { canMountIntoDom } from "../in-page-ui/dom.js";
3
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
+ import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
5
5
  import { envVars } from "../generated/env.js";
6
6
  //#region src/dev-tool/index.ts
7
7
  const OVERRIDE_KEY = "__hexclave-dev-tool-override";