@carlonicora/nextjs-jsonapi 1.107.1 → 1.109.0

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 (168) hide show
  1. package/dist/{AssistantInterface-BYgI5z1-.d.mts → AssistantInterface-B1c8FhGA.d.mts} +2 -0
  2. package/dist/{AssistantInterface-DfDcz0gJ.d.ts → AssistantInterface-BBUHxOCd.d.ts} +2 -0
  3. package/dist/{AssistantMessageInterface-BpEhx2pC.d.ts → AssistantMessageInterface-Cs1yb-gF.d.ts} +3 -1
  4. package/dist/{AssistantMessageInterface-DJ3Me16Y.d.mts → AssistantMessageInterface-DQ3mH5L8.d.mts} +3 -1
  5. package/dist/{AuthComponent-B6DIk8Vf.d.ts → AuthComponent-Cd7lcYif.d.ts} +1 -1
  6. package/dist/{AuthComponent-BKI0ZbtD.d.mts → AuthComponent-DdxCFgUZ.d.mts} +1 -1
  7. package/dist/{BlockNoteEditor-RWRVIEZC.js → BlockNoteEditor-3XYBZLWO.js} +20 -19
  8. package/dist/BlockNoteEditor-3XYBZLWO.js.map +1 -0
  9. package/dist/{BlockNoteEditor-7TSK7PNG.mjs → BlockNoteEditor-EBFZG7AL.mjs} +5 -4
  10. package/dist/{BlockNoteEditor-7TSK7PNG.mjs.map → BlockNoteEditor-EBFZG7AL.mjs.map} +1 -1
  11. package/dist/{auth.interface-BBUgMZzs.d.ts → auth.interface-8b601idJ.d.ts} +1 -1
  12. package/dist/{auth.interface-XYEREOD6.d.mts → auth.interface-CXBF8Mhi.d.mts} +1 -1
  13. package/dist/billing/index.js +347 -346
  14. package/dist/billing/index.js.map +1 -1
  15. package/dist/billing/index.mjs +4 -3
  16. package/dist/billing/index.mjs.map +1 -1
  17. package/dist/chunk-3J7RQBF3.js +123 -0
  18. package/dist/chunk-3J7RQBF3.js.map +1 -0
  19. package/dist/{chunk-VLDLERJN.js → chunk-7E3O52U5.js} +15 -8
  20. package/dist/chunk-7E3O52U5.js.map +1 -0
  21. package/dist/{chunk-RXXZGPC3.js → chunk-CFI4WZ5R.js} +159 -113
  22. package/dist/chunk-CFI4WZ5R.js.map +1 -0
  23. package/dist/chunk-CQID6RCF.mjs +38 -0
  24. package/dist/chunk-CQID6RCF.mjs.map +1 -0
  25. package/dist/{chunk-WSOPEIRP.mjs → chunk-CRTVAQEK.mjs} +46 -27
  26. package/dist/chunk-CRTVAQEK.mjs.map +1 -0
  27. package/dist/{chunk-N3NVIPSU.mjs → chunk-MSNNAHDB.mjs} +129 -83
  28. package/dist/{chunk-N3NVIPSU.mjs.map → chunk-MSNNAHDB.mjs.map} +1 -1
  29. package/dist/chunk-MZTKPPET.mjs +123 -0
  30. package/dist/chunk-MZTKPPET.mjs.map +1 -0
  31. package/dist/{chunk-2IRWQVG4.js → chunk-UHO3KUUH.js} +842 -823
  32. package/dist/chunk-UHO3KUUH.js.map +1 -0
  33. package/dist/{chunk-CFECWLHH.mjs → chunk-UOYIWJEJ.mjs} +10 -3
  34. package/dist/chunk-UOYIWJEJ.mjs.map +1 -0
  35. package/dist/chunk-YQQHAFBS.js +38 -0
  36. package/dist/chunk-YQQHAFBS.js.map +1 -0
  37. package/dist/client/index.d.mts +8 -16
  38. package/dist/client/index.d.ts +8 -16
  39. package/dist/client/index.js +5 -4
  40. package/dist/client/index.js.map +1 -1
  41. package/dist/client/index.mjs +4 -3
  42. package/dist/components/index.d.mts +8 -7
  43. package/dist/components/index.d.ts +8 -7
  44. package/dist/components/index.js +5 -4
  45. package/dist/components/index.js.map +1 -1
  46. package/dist/components/index.mjs +4 -3
  47. package/dist/{config-CLQynoaa.d.ts → config-CN23v3eJ.d.ts} +4 -1
  48. package/dist/{config-k61pe_o2.d.mts → config-gh88Qn4h.d.mts} +4 -1
  49. package/dist/contexts/index.d.mts +18 -7
  50. package/dist/contexts/index.d.ts +18 -7
  51. package/dist/contexts/index.js +5 -4
  52. package/dist/contexts/index.js.map +1 -1
  53. package/dist/contexts/index.mjs +4 -3
  54. package/dist/core/index.d.mts +44 -11
  55. package/dist/core/index.d.ts +44 -11
  56. package/dist/core/index.js +2 -2
  57. package/dist/core/index.mjs +1 -1
  58. package/dist/features/help/index.css +29 -0
  59. package/dist/features/help/index.css.map +1 -0
  60. package/dist/features/help/index.d.mts +115 -0
  61. package/dist/features/help/index.d.ts +115 -0
  62. package/dist/features/help/index.js +532 -0
  63. package/dist/features/help/index.js.map +1 -0
  64. package/dist/features/help/index.mjs +532 -0
  65. package/dist/features/help/index.mjs.map +1 -0
  66. package/dist/features/help/server/createHelpAssetRouteHandler.d.mts +11 -0
  67. package/dist/features/help/server/createHelpAssetRouteHandler.d.ts +11 -0
  68. package/dist/features/help/server/createHelpAssetRouteHandler.js +43 -0
  69. package/dist/features/help/server/createHelpAssetRouteHandler.js.map +1 -0
  70. package/dist/features/help/server/createHelpAssetRouteHandler.mjs +43 -0
  71. package/dist/features/help/server/createHelpAssetRouteHandler.mjs.map +1 -0
  72. package/dist/features/help/server.d.mts +71 -0
  73. package/dist/features/help/server.d.ts +71 -0
  74. package/dist/features/help/server.js +123 -0
  75. package/dist/features/help/server.js.map +1 -0
  76. package/dist/features/help/server.mjs +123 -0
  77. package/dist/features/help/server.mjs.map +1 -0
  78. package/dist/help-content-config.interface-B9L02u9i.d.mts +50 -0
  79. package/dist/help-content-config.interface-B9L02u9i.d.ts +50 -0
  80. package/dist/index.d.mts +10 -8
  81. package/dist/index.d.ts +10 -8
  82. package/dist/index.js +4 -3
  83. package/dist/index.js.map +1 -1
  84. package/dist/index.mjs +3 -2
  85. package/dist/{notification.interface-aLEJbA_g.d.ts → notification.interface-C1T1C2ee.d.ts} +1 -100
  86. package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts} +1 -100
  87. package/dist/{s3.service-CVgLWaDc.d.mts → s3.service-0BTClOYO.d.mts} +2 -2
  88. package/dist/{s3.service-SLlX0Zbz.d.ts → s3.service-CT27Fm1s.d.ts} +2 -2
  89. package/dist/server/index.d.mts +4 -3
  90. package/dist/server/index.d.ts +4 -3
  91. package/dist/server/index.js +3 -3
  92. package/dist/server/index.mjs +1 -1
  93. package/dist/types-CQSjy7et.d.mts +101 -0
  94. package/dist/types-DHOxe8rc.d.ts +101 -0
  95. package/dist/usePageUrlGenerator-tjq2mlDV.d.ts +14 -0
  96. package/dist/usePageUrlGenerator-uOnyJ6j2.d.mts +14 -0
  97. package/dist/{useSocket-BkxHHujj.d.mts → useSocket-B1fMIr17.d.mts} +1 -1
  98. package/dist/{useSocket-CMDjWFYm.d.ts → useSocket-BdJTBXKv.d.ts} +1 -1
  99. package/package.json +20 -1
  100. package/src/client/config.ts +9 -1
  101. package/src/core/registry/helpStore.ts +45 -0
  102. package/src/features/assistant/contexts/AssistantContext.tsx +35 -19
  103. package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +66 -6
  104. package/src/features/assistant/data/Assistant.ts +2 -0
  105. package/src/features/assistant/data/AssistantInterface.ts +2 -0
  106. package/src/features/assistant/data/AssistantService.ts +18 -8
  107. package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +6 -4
  108. package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -1
  109. package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +2 -1
  110. package/src/features/assistant-message/data/AssistantMessage.ts +27 -1
  111. package/src/features/assistant-message/data/AssistantMessageInterface.ts +1 -0
  112. package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +7 -3
  113. package/src/features/help/components/HelpArticleBody.tsx +54 -0
  114. package/src/features/help/components/HelpAskAi.tsx +36 -0
  115. package/src/features/help/components/HelpAssistantSheet.tsx +53 -0
  116. package/src/features/help/components/HelpHeader.tsx +40 -0
  117. package/src/features/help/components/HelpHint.tsx +77 -0
  118. package/src/features/help/components/HelpSearchResultRow.tsx +51 -0
  119. package/src/features/help/components/HelpSideNav.tsx +84 -0
  120. package/src/features/help/components/HelpTOC.tsx +49 -0
  121. package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +68 -0
  122. package/src/features/help/components/__tests__/HelpAssistantSheet.spec.tsx +36 -0
  123. package/src/features/help/components/__tests__/HelpHint.spec.tsx +50 -0
  124. package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +59 -0
  125. package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +52 -0
  126. package/src/features/help/components/mdx/Callout.tsx +21 -0
  127. package/src/features/help/components/mdx/EntityRef.tsx +18 -0
  128. package/src/features/help/components/mdx/KeyBinding.tsx +6 -0
  129. package/src/features/help/components/mdx/Related.tsx +33 -0
  130. package/src/features/help/components/mdx/Screenshot.tsx +9 -0
  131. package/src/features/help/components/mdx/Steps.tsx +21 -0
  132. package/src/features/help/components/mdx/Video.tsx +8 -0
  133. package/src/features/help/components/mdx/mdx-server-components.ts +23 -0
  134. package/src/features/help/components/mdx/mdxComponents.ts +9 -0
  135. package/src/features/help/contexts/HelpContext.spec.tsx +28 -0
  136. package/src/features/help/contexts/HelpContext.tsx +24 -0
  137. package/src/features/help/hooks/useHelp.ts +1 -0
  138. package/src/features/help/hooks/useHelpArticle.ts +7 -0
  139. package/src/features/help/hooks/useHelpFilter.ts +27 -0
  140. package/src/features/help/hooks/useHelpManifest.ts +5 -0
  141. package/src/features/help/i18n-keys.ts +34 -0
  142. package/src/features/help/index.ts +27 -0
  143. package/src/features/help/interfaces/help-content-config.interface.ts +17 -0
  144. package/src/features/help/server/__tests__/createHelpAssetRouteHandler.spec.ts +43 -0
  145. package/src/features/help/server/createHelpAssetRouteHandler.ts +35 -0
  146. package/src/features/help/server/generateHelpArticleMetadata.ts +18 -0
  147. package/src/features/help/server/generateHelpArticleStaticParams.ts +7 -0
  148. package/src/features/help/server/generateHelpModeStaticParams.ts +5 -0
  149. package/src/features/help/server/getHelpContent.ts +17 -0
  150. package/src/features/help/server/index.ts +8 -0
  151. package/src/features/help/server/serializeHelpArticle.tsx +46 -0
  152. package/src/features/help/server-entry.ts +20 -0
  153. package/src/features/help/types/help-article.types.ts +37 -0
  154. package/src/features/help/utils/__tests__/helpNavigation.spec.ts +70 -0
  155. package/src/features/help/utils/articleUrl.ts +13 -0
  156. package/src/features/help/utils/helpNavigation.ts +29 -0
  157. package/src/features/how-to/HowToModule.ts +1 -1
  158. package/src/features/how-to/data/HowTo.ts +21 -3
  159. package/src/features/how-to/data/HowToInterface.ts +1 -0
  160. package/src/index.ts +4 -0
  161. package/src/shadcnui/ui/context-menu.tsx +3 -1
  162. package/src/shadcnui/ui/popover.tsx +3 -1
  163. package/dist/BlockNoteEditor-RWRVIEZC.js.map +0 -1
  164. package/dist/chunk-2IRWQVG4.js.map +0 -1
  165. package/dist/chunk-CFECWLHH.mjs.map +0 -1
  166. package/dist/chunk-RXXZGPC3.js.map +0 -1
  167. package/dist/chunk-VLDLERJN.js.map +0 -1
  168. package/dist/chunk-WSOPEIRP.mjs.map +0 -1
@@ -457,14 +457,15 @@ import {
457
457
  useFileUpload,
458
458
  useMentionInsert,
459
459
  useSidebar
460
- } from "../chunk-WSOPEIRP.mjs";
461
- import "../chunk-CFECWLHH.mjs";
460
+ } from "../chunk-CRTVAQEK.mjs";
461
+ import "../chunk-UOYIWJEJ.mjs";
462
+ import "../chunk-CQID6RCF.mjs";
462
463
  import {
463
464
  getIcon,
464
465
  getIconByModule,
465
466
  getIconByModuleName,
466
467
  getInitials
467
- } from "../chunk-N3NVIPSU.mjs";
468
+ } from "../chunk-MSNNAHDB.mjs";
468
469
  import "../chunk-AUXK7QSA.mjs";
469
470
  import "../chunk-C7C7VY4F.mjs";
470
471
  import "../chunk-KK7PYKVI.mjs";
@@ -1,9 +1,11 @@
1
- import { M as ModuleWithPermissions } from './notification.interface-aLEJbA_g.js';
1
+ import { M as ModuleWithPermissions } from './types-DHOxe8rc.js';
2
+ import { H as HelpContentConfig } from './help-content-config.interface-B9L02u9i.js';
2
3
  import { ComponentType } from 'react';
3
4
 
4
5
  /**
5
6
  * Configure the JSON:API client. This is the main configuration function.
6
7
  * This is typically called during app initialization.
8
+ * @param config.helpContent - Optional help-content config (manifest, brand, redirects). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
7
9
  */
8
10
  declare function configureJsonApi(config: {
9
11
  apiUrl: string;
@@ -12,6 +14,7 @@ declare function configureJsonApi(config: {
12
14
  bootstrapper?: () => void;
13
15
  additionalHeaders?: Record<string, string>;
14
16
  stripePublishableKey?: string;
17
+ helpContent?: HelpContentConfig;
15
18
  }): void;
16
19
  /**
17
20
  * Configure the client config. This is typically called during app initialization.
@@ -1,9 +1,11 @@
1
- import { M as ModuleWithPermissions } from './notification.interface-DLZGtV7Z.mjs';
1
+ import { M as ModuleWithPermissions } from './types-CQSjy7et.mjs';
2
+ import { H as HelpContentConfig } from './help-content-config.interface-B9L02u9i.mjs';
2
3
  import { ComponentType } from 'react';
3
4
 
4
5
  /**
5
6
  * Configure the JSON:API client. This is the main configuration function.
6
7
  * This is typically called during app initialization.
8
+ * @param config.helpContent - Optional help-content config (manifest, brand, redirects). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
7
9
  */
8
10
  declare function configureJsonApi(config: {
9
11
  apiUrl: string;
@@ -12,6 +14,7 @@ declare function configureJsonApi(config: {
12
14
  bootstrapper?: () => void;
13
15
  additionalHeaders?: Record<string, string>;
14
16
  stripePublishableKey?: string;
17
+ helpContent?: HelpContentConfig;
15
18
  }): void;
16
19
  /**
17
20
  * Configure the client config. This is typically called during app initialization.
@@ -1,18 +1,19 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { ReactNode, ReactElement } from 'react';
3
3
  import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.mjs';
4
- import { j as CompanyInterface, N as NotificationInterface, l as RoleInterface, U as UserInterface, M as ModuleWithPermissions, A as Action } from '../notification.interface-DLZGtV7Z.mjs';
4
+ import { c as CompanyInterface, N as NotificationInterface, e as RoleInterface, U as UserInterface } from '../notification.interface-DIxR23eS.mjs';
5
5
  import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.mjs';
6
6
  export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.mjs';
7
- import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
7
+ import { M as ModuleWithPermissions, A as Action } from '../types-CQSjy7et.mjs';
8
+ import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
8
9
  import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.mjs';
9
- import { a as AssistantInterface } from '../AssistantInterface-BYgI5z1-.mjs';
10
- import { u as useSocket } from '../useSocket-BkxHHujj.mjs';
10
+ import { a as AssistantInterface } from '../AssistantInterface-B1c8FhGA.mjs';
11
+ import { u as useSocket } from '../useSocket-B1fMIr17.mjs';
11
12
  import * as jotai from 'jotai';
12
13
  import * as jotai_utils from 'jotai/utils';
14
+ import '../feature.interface-CXb1-vNq.mjs';
13
15
  import 'lucide-react';
14
16
  import '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
15
- import '../feature.interface-CXb1-vNq.mjs';
16
17
 
17
18
  interface CompanyContextType {
18
19
  company: CompanyInterface | undefined;
@@ -164,7 +165,10 @@ interface AssistantContextValue {
164
165
  sending: boolean;
165
166
  status?: string;
166
167
  failedMessageIds: Set<string>;
167
- sendMessage(content: string): Promise<void>;
168
+ sendMessage(content: string, opts?: {
169
+ howToMode?: boolean;
170
+ limitToHowToId?: string;
171
+ }): Promise<void>;
168
172
  retrySend(tempId: string): Promise<void>;
169
173
  selectThread(id: string): Promise<void>;
170
174
  startNew(): void;
@@ -175,8 +179,15 @@ interface Props {
175
179
  children: React__default.ReactNode;
176
180
  dehydratedAssistant?: JsonApiHydratedDataInterface;
177
181
  dehydratedMessages?: JsonApiHydratedDataInterface[];
182
+ /**
183
+ * When `true` (default), the provider mutates the browser URL on
184
+ * create/selectThread/startNew (e.g. `/assistants/{id}`). Set to `false`
185
+ * when the assistant is hosted inside a sheet / overlay so the user's
186
+ * current route is preserved.
187
+ */
188
+ manageUrl?: boolean;
178
189
  }
179
- declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages }: Props): react_jsx_runtime.JSX.Element;
190
+ declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages, manageUrl }: Props): react_jsx_runtime.JSX.Element;
180
191
  declare function useAssistantContext(): AssistantContextValue;
181
192
 
182
193
  interface CommonContextType {
@@ -1,18 +1,19 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { ReactNode, ReactElement } from 'react';
3
3
  import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.js';
4
- import { j as CompanyInterface, N as NotificationInterface, l as RoleInterface, U as UserInterface, M as ModuleWithPermissions, A as Action } from '../notification.interface-aLEJbA_g.js';
4
+ import { c as CompanyInterface, N as NotificationInterface, e as RoleInterface, U as UserInterface } from '../notification.interface-C1T1C2ee.js';
5
5
  import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.js';
6
6
  export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.js';
7
- import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-BpEhx2pC.js';
7
+ import { M as ModuleWithPermissions, A as Action } from '../types-DHOxe8rc.js';
8
+ import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-Cs1yb-gF.js';
8
9
  import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.js';
9
- import { a as AssistantInterface } from '../AssistantInterface-DfDcz0gJ.js';
10
- import { u as useSocket } from '../useSocket-CMDjWFYm.js';
10
+ import { a as AssistantInterface } from '../AssistantInterface-BBUHxOCd.js';
11
+ import { u as useSocket } from '../useSocket-BdJTBXKv.js';
11
12
  import * as jotai from 'jotai';
12
13
  import * as jotai_utils from 'jotai/utils';
14
+ import '../feature.interface-BO25VLlx.js';
13
15
  import 'lucide-react';
14
16
  import '../ApiRequestDataTypeInterface-CYEcRUrh.js';
15
- import '../feature.interface-BO25VLlx.js';
16
17
 
17
18
  interface CompanyContextType {
18
19
  company: CompanyInterface | undefined;
@@ -164,7 +165,10 @@ interface AssistantContextValue {
164
165
  sending: boolean;
165
166
  status?: string;
166
167
  failedMessageIds: Set<string>;
167
- sendMessage(content: string): Promise<void>;
168
+ sendMessage(content: string, opts?: {
169
+ howToMode?: boolean;
170
+ limitToHowToId?: string;
171
+ }): Promise<void>;
168
172
  retrySend(tempId: string): Promise<void>;
169
173
  selectThread(id: string): Promise<void>;
170
174
  startNew(): void;
@@ -175,8 +179,15 @@ interface Props {
175
179
  children: React__default.ReactNode;
176
180
  dehydratedAssistant?: JsonApiHydratedDataInterface;
177
181
  dehydratedMessages?: JsonApiHydratedDataInterface[];
182
+ /**
183
+ * When `true` (default), the provider mutates the browser URL on
184
+ * create/selectThread/startNew (e.g. `/assistants/{id}`). Set to `false`
185
+ * when the assistant is hosted inside a sheet / overlay so the user's
186
+ * current route is preserved.
187
+ */
188
+ manageUrl?: boolean;
178
189
  }
179
- declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages }: Props): react_jsx_runtime.JSX.Element;
190
+ declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages, manageUrl }: Props): react_jsx_runtime.JSX.Element;
180
191
  declare function useAssistantContext(): AssistantContextValue;
181
192
 
182
193
  interface CommonContextType {
@@ -31,9 +31,10 @@
31
31
 
32
32
 
33
33
 
34
- var _chunk2IRWQVG4js = require('../chunk-2IRWQVG4.js');
35
- require('../chunk-VLDLERJN.js');
36
- require('../chunk-RXXZGPC3.js');
34
+ var _chunkUHO3KUUHjs = require('../chunk-UHO3KUUH.js');
35
+ require('../chunk-7E3O52U5.js');
36
+ require('../chunk-YQQHAFBS.js');
37
+ require('../chunk-CFI4WZ5R.js');
37
38
  require('../chunk-LXKSUWAV.js');
38
39
  require('../chunk-IBS6NI7D.js');
39
40
  require('../chunk-J5LROFGL.js');
@@ -71,5 +72,5 @@ require('../chunk-7QVYU63E.js');
71
72
 
72
73
 
73
74
 
74
- exports.AssistantProvider = _chunk2IRWQVG4js.AssistantProvider; exports.CommonProvider = _chunk2IRWQVG4js.CommonProvider; exports.CompanyProvider = _chunk2IRWQVG4js.CompanyProvider; exports.CurrentUserProvider = _chunk2IRWQVG4js.CurrentUserProvider; exports.DEFAULT_ONBOARDING_LABELS = _chunk2IRWQVG4js.DEFAULT_ONBOARDING_LABELS; exports.HeaderChildrenProvider = _chunk2IRWQVG4js.HeaderChildrenProvider; exports.HeaderLeftContentProvider = _chunk2IRWQVG4js.HeaderLeftContentProvider; exports.HowToProvider = _chunk2IRWQVG4js.HowToProvider; exports.NotificationContextProvider = _chunk2IRWQVG4js.NotificationContextProvider; exports.OnboardingProvider = _chunk2IRWQVG4js.OnboardingProvider; exports.RbacProvider = _chunk2IRWQVG4js.RbacProvider; exports.RoleProvider = _chunk2IRWQVG4js.RoleProvider; exports.SharedProvider = _chunk2IRWQVG4js.SharedProvider; exports.SocketContext = _chunk2IRWQVG4js.SocketContext; exports.SocketProvider = _chunk2IRWQVG4js.SocketProvider; exports.UserProvider = _chunk2IRWQVG4js.UserProvider; exports.recentPagesAtom = _chunk2IRWQVG4js.recentPagesAtom; exports.useAssistantContext = _chunk2IRWQVG4js.useAssistantContext; exports.useCommonContext = _chunk2IRWQVG4js.useCommonContext; exports.useCompanyContext = _chunk2IRWQVG4js.useCompanyContext; exports.useCurrentUserContext = _chunk2IRWQVG4js.useCurrentUserContext; exports.useHeaderChildren = _chunk2IRWQVG4js.useHeaderChildren; exports.useHeaderLeftContent = _chunk2IRWQVG4js.useHeaderLeftContent; exports.useHowToContext = _chunk2IRWQVG4js.useHowToContext; exports.useNotificationContext = _chunk2IRWQVG4js.useNotificationContext; exports.useOnboarding = _chunk2IRWQVG4js.useOnboarding; exports.useRbacContext = _chunk2IRWQVG4js.useRbacContext; exports.useRoleContext = _chunk2IRWQVG4js.useRoleContext; exports.useSharedContext = _chunk2IRWQVG4js.useSharedContext; exports.useSocketContext = _chunk2IRWQVG4js.useSocketContext; exports.useUserContext = _chunk2IRWQVG4js.useUserContext;
75
+ exports.AssistantProvider = _chunkUHO3KUUHjs.AssistantProvider; exports.CommonProvider = _chunkUHO3KUUHjs.CommonProvider; exports.CompanyProvider = _chunkUHO3KUUHjs.CompanyProvider; exports.CurrentUserProvider = _chunkUHO3KUUHjs.CurrentUserProvider; exports.DEFAULT_ONBOARDING_LABELS = _chunkUHO3KUUHjs.DEFAULT_ONBOARDING_LABELS; exports.HeaderChildrenProvider = _chunkUHO3KUUHjs.HeaderChildrenProvider; exports.HeaderLeftContentProvider = _chunkUHO3KUUHjs.HeaderLeftContentProvider; exports.HowToProvider = _chunkUHO3KUUHjs.HowToProvider; exports.NotificationContextProvider = _chunkUHO3KUUHjs.NotificationContextProvider; exports.OnboardingProvider = _chunkUHO3KUUHjs.OnboardingProvider; exports.RbacProvider = _chunkUHO3KUUHjs.RbacProvider; exports.RoleProvider = _chunkUHO3KUUHjs.RoleProvider; exports.SharedProvider = _chunkUHO3KUUHjs.SharedProvider; exports.SocketContext = _chunkUHO3KUUHjs.SocketContext; exports.SocketProvider = _chunkUHO3KUUHjs.SocketProvider; exports.UserProvider = _chunkUHO3KUUHjs.UserProvider; exports.recentPagesAtom = _chunkUHO3KUUHjs.recentPagesAtom; exports.useAssistantContext = _chunkUHO3KUUHjs.useAssistantContext; exports.useCommonContext = _chunkUHO3KUUHjs.useCommonContext; exports.useCompanyContext = _chunkUHO3KUUHjs.useCompanyContext; exports.useCurrentUserContext = _chunkUHO3KUUHjs.useCurrentUserContext; exports.useHeaderChildren = _chunkUHO3KUUHjs.useHeaderChildren; exports.useHeaderLeftContent = _chunkUHO3KUUHjs.useHeaderLeftContent; exports.useHowToContext = _chunkUHO3KUUHjs.useHowToContext; exports.useNotificationContext = _chunkUHO3KUUHjs.useNotificationContext; exports.useOnboarding = _chunkUHO3KUUHjs.useOnboarding; exports.useRbacContext = _chunkUHO3KUUHjs.useRbacContext; exports.useRoleContext = _chunkUHO3KUUHjs.useRoleContext; exports.useSharedContext = _chunkUHO3KUUHjs.useSharedContext; exports.useSocketContext = _chunkUHO3KUUHjs.useSocketContext; exports.useUserContext = _chunkUHO3KUUHjs.useUserContext;
75
76
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7DAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7DAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
@@ -31,9 +31,10 @@ import {
31
31
  useSharedContext,
32
32
  useSocketContext,
33
33
  useUserContext
34
- } from "../chunk-WSOPEIRP.mjs";
35
- import "../chunk-CFECWLHH.mjs";
36
- import "../chunk-N3NVIPSU.mjs";
34
+ } from "../chunk-CRTVAQEK.mjs";
35
+ import "../chunk-UOYIWJEJ.mjs";
36
+ import "../chunk-CQID6RCF.mjs";
37
+ import "../chunk-MSNNAHDB.mjs";
37
38
  import "../chunk-AUXK7QSA.mjs";
38
39
  import "../chunk-C7C7VY4F.mjs";
39
40
  import "../chunk-KK7PYKVI.mjs";
@@ -3,29 +3,30 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
6
- import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CVgLWaDc.mjs';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-CVgLWaDc.mjs';
8
- import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-DLZGtV7Z.mjs';
9
- export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-DLZGtV7Z.mjs';
10
- import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
11
- export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
6
+ import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-0BTClOYO.mjs';
7
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-0BTClOYO.mjs';
8
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-CQSjy7et.mjs';
9
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-CQSjy7et.mjs';
10
+ import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
11
+ export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
12
12
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.mjs';
13
13
  import { ClassValue } from 'clsx';
14
14
  export { ClassValue } from 'clsx';
15
15
  import * as React from 'react';
16
16
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
17
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-BKI0ZbtD.mjs';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-BKI0ZbtD.mjs';
18
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-DdxCFgUZ.mjs';
19
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-DdxCFgUZ.mjs';
20
20
  import { PartialBlock } from '@blocknote/core';
21
21
  import { ExternalToast } from 'sonner';
22
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-XYEREOD6.mjs';
23
- export { a as AuthQuery } from '../auth.interface-XYEREOD6.mjs';
22
+ import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-DIxR23eS.mjs';
23
+ import { b as AuthInterface, A as AuthInput } from '../auth.interface-CXBF8Mhi.mjs';
24
+ export { a as AuthQuery } from '../auth.interface-CXBF8Mhi.mjs';
24
25
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
25
26
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
26
27
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
27
28
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-CXb1-vNq.mjs';
28
- import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-BYgI5z1-.mjs';
29
+ import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-B1c8FhGA.mjs';
29
30
  import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-o5FLpiN7.mjs';
30
31
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-o5FLpiN7.mjs';
31
32
  import 'lucide-react';
@@ -1767,6 +1768,7 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
1767
1768
  declare class HowTo extends Content implements HowToInterface {
1768
1769
  private _description?;
1769
1770
  private _pages?;
1771
+ private _helpContentSlug?;
1770
1772
  /**
1771
1773
  * Parse pages from backend JSON string (handles legacy single string + JSON array)
1772
1774
  */
@@ -1777,6 +1779,7 @@ declare class HowTo extends Content implements HowToInterface {
1777
1779
  static serializePagesToString(pages: string[]): string | undefined;
1778
1780
  get description(): any;
1779
1781
  get pages(): string | undefined;
1782
+ get helpContentSlug(): string | undefined;
1780
1783
  rehydrate(data: JsonApiHydratedDataInterface): this;
1781
1784
  createJsonApi(data: HowToInput): any;
1782
1785
  }
@@ -1819,6 +1822,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
1819
1822
  data: {
1820
1823
  type: string;
1821
1824
  attributes: {
1825
+ limitToHowToId?: string | undefined;
1826
+ howToMode?: boolean | undefined;
1822
1827
  title?: string | undefined;
1823
1828
  content: string;
1824
1829
  };
@@ -1838,10 +1843,16 @@ declare class AssistantService extends AbstractService {
1838
1843
  /**
1839
1844
  * Sends a new user message to an existing assistant thread. The agent turn
1840
1845
  * runs synchronously; the response is a two-element list: [user, assistant].
1846
+ *
1847
+ * Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
1848
+ * build the JSON:API envelope; this is the architecture-compliant pairing
1849
+ * with `overridesJsonApiCreation: true`.
1841
1850
  */
1842
1851
  static appendMessage(params: {
1843
1852
  assistantId: string;
1844
1853
  content: string;
1854
+ howToMode?: boolean;
1855
+ limitToHowToId?: string;
1845
1856
  }): Promise<AssistantMessageInterface[]>;
1846
1857
  static rename(params: {
1847
1858
  id: string;
@@ -1863,6 +1874,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1863
1874
  private _outputTokens?;
1864
1875
  private _references?;
1865
1876
  private _citations?;
1877
+ private _isOptimistic;
1866
1878
  get role(): AssistantMessageRole;
1867
1879
  get content(): string;
1868
1880
  get position(): number;
@@ -1871,6 +1883,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1871
1883
  get outputTokens(): number | undefined;
1872
1884
  get references(): ApiDataInterface[];
1873
1885
  get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
1886
+ get isOptimistic(): boolean;
1874
1887
  rehydrate(data: JsonApiHydratedDataInterface): this;
1875
1888
  createJsonApi(data: AssistantMessageInput): {
1876
1889
  data: {
@@ -1892,6 +1905,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1892
1905
  };
1893
1906
  included: never[];
1894
1907
  };
1908
+ /**
1909
+ * JSON:API envelope for POST /assistants/:id/assistant-messages.
1910
+ * Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
1911
+ * the append-to-thread endpoint derives those server-side, so we only send `content` and
1912
+ * the optional retrieval-mode flags.
1913
+ */
1914
+ createAppendMessageJsonApi(params: {
1915
+ content: string;
1916
+ howToMode?: boolean;
1917
+ limitToHowToId?: string;
1918
+ }): {
1919
+ data: {
1920
+ type: string;
1921
+ attributes: {
1922
+ limitToHowToId?: string | undefined;
1923
+ howToMode?: boolean | undefined;
1924
+ content: string;
1925
+ };
1926
+ };
1927
+ };
1895
1928
  static buildOptimistic(params: {
1896
1929
  content: string;
1897
1930
  position: number;
@@ -3,29 +3,30 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
6
- import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-SLlX0Zbz.js';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-SLlX0Zbz.js';
8
- import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-aLEJbA_g.js';
9
- export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-aLEJbA_g.js';
10
- import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-BpEhx2pC.js';
11
- export { B as BreadcrumbItemData } from '../AssistantMessageInterface-BpEhx2pC.js';
6
+ import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CT27Fm1s.js';
7
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-CT27Fm1s.js';
8
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-DHOxe8rc.js';
9
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-DHOxe8rc.js';
10
+ import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-Cs1yb-gF.js';
11
+ export { B as BreadcrumbItemData } from '../AssistantMessageInterface-Cs1yb-gF.js';
12
12
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.js';
13
13
  import { ClassValue } from 'clsx';
14
14
  export { ClassValue } from 'clsx';
15
15
  import * as React from 'react';
16
16
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
17
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-B6DIk8Vf.js';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-B6DIk8Vf.js';
18
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Cd7lcYif.js';
19
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Cd7lcYif.js';
20
20
  import { PartialBlock } from '@blocknote/core';
21
21
  import { ExternalToast } from 'sonner';
22
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-BBUgMZzs.js';
23
- export { a as AuthQuery } from '../auth.interface-BBUgMZzs.js';
22
+ import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-C1T1C2ee.js';
23
+ import { b as AuthInterface, A as AuthInput } from '../auth.interface-8b601idJ.js';
24
+ export { a as AuthQuery } from '../auth.interface-8b601idJ.js';
24
25
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
25
26
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
26
27
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
27
28
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
28
- import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-DfDcz0gJ.js';
29
+ import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-BBUHxOCd.js';
29
30
  import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-B6xmfDzK.js';
30
31
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-B6xmfDzK.js';
31
32
  import 'lucide-react';
@@ -1767,6 +1768,7 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
1767
1768
  declare class HowTo extends Content implements HowToInterface {
1768
1769
  private _description?;
1769
1770
  private _pages?;
1771
+ private _helpContentSlug?;
1770
1772
  /**
1771
1773
  * Parse pages from backend JSON string (handles legacy single string + JSON array)
1772
1774
  */
@@ -1777,6 +1779,7 @@ declare class HowTo extends Content implements HowToInterface {
1777
1779
  static serializePagesToString(pages: string[]): string | undefined;
1778
1780
  get description(): any;
1779
1781
  get pages(): string | undefined;
1782
+ get helpContentSlug(): string | undefined;
1780
1783
  rehydrate(data: JsonApiHydratedDataInterface): this;
1781
1784
  createJsonApi(data: HowToInput): any;
1782
1785
  }
@@ -1819,6 +1822,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
1819
1822
  data: {
1820
1823
  type: string;
1821
1824
  attributes: {
1825
+ limitToHowToId?: string | undefined;
1826
+ howToMode?: boolean | undefined;
1822
1827
  title?: string | undefined;
1823
1828
  content: string;
1824
1829
  };
@@ -1838,10 +1843,16 @@ declare class AssistantService extends AbstractService {
1838
1843
  /**
1839
1844
  * Sends a new user message to an existing assistant thread. The agent turn
1840
1845
  * runs synchronously; the response is a two-element list: [user, assistant].
1846
+ *
1847
+ * Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
1848
+ * build the JSON:API envelope; this is the architecture-compliant pairing
1849
+ * with `overridesJsonApiCreation: true`.
1841
1850
  */
1842
1851
  static appendMessage(params: {
1843
1852
  assistantId: string;
1844
1853
  content: string;
1854
+ howToMode?: boolean;
1855
+ limitToHowToId?: string;
1845
1856
  }): Promise<AssistantMessageInterface[]>;
1846
1857
  static rename(params: {
1847
1858
  id: string;
@@ -1863,6 +1874,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1863
1874
  private _outputTokens?;
1864
1875
  private _references?;
1865
1876
  private _citations?;
1877
+ private _isOptimistic;
1866
1878
  get role(): AssistantMessageRole;
1867
1879
  get content(): string;
1868
1880
  get position(): number;
@@ -1871,6 +1883,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1871
1883
  get outputTokens(): number | undefined;
1872
1884
  get references(): ApiDataInterface[];
1873
1885
  get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
1886
+ get isOptimistic(): boolean;
1874
1887
  rehydrate(data: JsonApiHydratedDataInterface): this;
1875
1888
  createJsonApi(data: AssistantMessageInput): {
1876
1889
  data: {
@@ -1892,6 +1905,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1892
1905
  };
1893
1906
  included: never[];
1894
1907
  };
1908
+ /**
1909
+ * JSON:API envelope for POST /assistants/:id/assistant-messages.
1910
+ * Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
1911
+ * the append-to-thread endpoint derives those server-side, so we only send `content` and
1912
+ * the optional retrieval-mode flags.
1913
+ */
1914
+ createAppendMessageJsonApi(params: {
1915
+ content: string;
1916
+ howToMode?: boolean;
1917
+ limitToHowToId?: string;
1918
+ }): {
1919
+ data: {
1920
+ type: string;
1921
+ attributes: {
1922
+ limitToHowToId?: string | undefined;
1923
+ howToMode?: boolean | undefined;
1924
+ content: string;
1925
+ };
1926
+ };
1927
+ };
1895
1928
  static buildOptimistic(params: {
1896
1929
  content: string;
1897
1930
  position: number;
@@ -173,7 +173,7 @@
173
173
 
174
174
 
175
175
 
176
- var _chunkRXXZGPC3js = require('../chunk-RXXZGPC3.js');
176
+ var _chunkCFI4WZ5Rjs = require('../chunk-CFI4WZ5R.js');
177
177
  require('../chunk-LXKSUWAV.js');
178
178
  require('../chunk-IBS6NI7D.js');
179
179
 
@@ -373,5 +373,5 @@ require('../chunk-7QVYU63E.js');
373
373
 
374
374
 
375
375
 
376
- exports.AVAILABLE_OAUTH_SCOPES = _chunkRXXZGPC3js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkRXXZGPC3js.AbstractApiData; exports.AbstractService = _chunkRXXZGPC3js.AbstractService; exports.Action = _chunkRXXZGPC3js.Action; exports.Assistant = _chunkRXXZGPC3js.Assistant; exports.AssistantMessage = _chunkRXXZGPC3js.AssistantMessage; exports.AssistantMessageModule = _chunkRXXZGPC3js.AssistantMessageModule; exports.AssistantMessageService = _chunkRXXZGPC3js.AssistantMessageService; exports.AssistantModule = _chunkRXXZGPC3js.AssistantModule; exports.AssistantService = _chunkRXXZGPC3js.AssistantService; exports.AuditLog = _chunkRXXZGPC3js.AuditLog; exports.AuditLogModule = _chunkRXXZGPC3js.AuditLogModule; exports.AuditLogService = _chunkRXXZGPC3js.AuditLogService; exports.Auth = _chunkRXXZGPC3js.Auth; exports.AuthComponent = _chunkRXXZGPC3js.AuthComponent; exports.AuthModule = _chunkRXXZGPC3js.AuthModule; exports.AuthService = _chunkRXXZGPC3js.AuthService; exports.AuthorModule = _chunkRXXZGPC3js.AuthorModule; exports.BackupCodeVerify = _chunkRXXZGPC3js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkRXXZGPC3js.BackupCodeVerifyModule; exports.Billing = _chunkRXXZGPC3js.Billing; exports.BillingModule = _chunkRXXZGPC3js.BillingModule; exports.BillingService = _chunkRXXZGPC3js.BillingService; exports.BlockNoteDiffUtil = _chunkRXXZGPC3js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkRXXZGPC3js.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkRXXZGPC3js.Chunk; exports.ChunkModule = _chunkRXXZGPC3js.ChunkModule; exports.ClientAbstractService = _chunkRXXZGPC3js.ClientAbstractService; exports.ClientHttpMethod = _chunkRXXZGPC3js.ClientHttpMethod; exports.Company = _chunkRXXZGPC3js.Company; exports.CompanyFields = _chunkRXXZGPC3js.CompanyFields; exports.CompanyModule = _chunkRXXZGPC3js.CompanyModule; exports.CompanyService = _chunkRXXZGPC3js.CompanyService; exports.Content = _chunkRXXZGPC3js.Content; exports.ContentFields = _chunkRXXZGPC3js.ContentFields; exports.ContentModule = _chunkRXXZGPC3js.ContentModule; exports.ContentService = _chunkRXXZGPC3js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkRXXZGPC3js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkRXXZGPC3js.EndpointCreator; exports.Feature = _chunkRXXZGPC3js.Feature; exports.FeatureModule = _chunkRXXZGPC3js.FeatureModule; exports.FeatureService = _chunkRXXZGPC3js.FeatureService; exports.HowTo = _chunkRXXZGPC3js.HowTo; exports.HowToFields = _chunkRXXZGPC3js.HowToFields; exports.HowToModule = _chunkRXXZGPC3js.HowToModule; exports.HowToService = _chunkRXXZGPC3js.HowToService; exports.HttpMethod = _chunkRXXZGPC3js.HttpMethod; exports.InvoiceStatus = _chunkRXXZGPC3js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkRXXZGPC3js.Module; exports.ModuleModule = _chunkRXXZGPC3js.ModuleModule; exports.ModulePathsModule = _chunkRXXZGPC3js.ModulePathsModule; exports.ModuleRegistrar = _chunkRXXZGPC3js.ModuleRegistrar; exports.ModuleRegistry = _chunkRXXZGPC3js.ModuleRegistry; exports.Modules = _chunkRXXZGPC3js.Modules; exports.Notification = _chunkRXXZGPC3js.Notification; exports.NotificationFields = _chunkRXXZGPC3js.NotificationFields; exports.NotificationModule = _chunkRXXZGPC3js.NotificationModule; exports.NotificationService = _chunkRXXZGPC3js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkRXXZGPC3js.OAuthClient; exports.OAuthModule = _chunkRXXZGPC3js.OAuthModule; exports.OAuthService = _chunkRXXZGPC3js.OAuthService; exports.Passkey = _chunkRXXZGPC3js.Passkey; exports.PasskeyAuthenticationOptions = _chunkRXXZGPC3js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkRXXZGPC3js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkRXXZGPC3js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkRXXZGPC3js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkRXXZGPC3js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkRXXZGPC3js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkRXXZGPC3js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkRXXZGPC3js.PasskeyRename; exports.PasskeyRenameModule = _chunkRXXZGPC3js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkRXXZGPC3js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkRXXZGPC3js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkRXXZGPC3js.PaymentMethod; exports.PermissionMappingModule = _chunkRXXZGPC3js.PermissionMappingModule; exports.Push = _chunkRXXZGPC3js.Push; exports.PushModule = _chunkRXXZGPC3js.PushModule; exports.PushService = _chunkRXXZGPC3js.PushService; exports.RbacMatrixModule = _chunkRXXZGPC3js.RbacMatrixModule; exports.ReferralModule = _chunkRXXZGPC3js.ReferralModule; exports.ReferralService = _chunkRXXZGPC3js.ReferralService; exports.ReferralStats = _chunkRXXZGPC3js.ReferralStats; exports.ReferralStatsModule = _chunkRXXZGPC3js.ReferralStatsModule; exports.RehydrationFactory = _chunkRXXZGPC3js.RehydrationFactory; exports.Role = _chunkRXXZGPC3js.Role; exports.RoleFields = _chunkRXXZGPC3js.RoleFields; exports.RoleModule = _chunkRXXZGPC3js.RoleModule; exports.RoleService = _chunkRXXZGPC3js.RoleService; exports.S3 = _chunkRXXZGPC3js.S3; exports.S3Module = _chunkRXXZGPC3js.S3Module; exports.S3Service = _chunkRXXZGPC3js.S3Service; exports.StripeCustomer = _chunkRXXZGPC3js.StripeCustomer; exports.StripeCustomerModule = _chunkRXXZGPC3js.StripeCustomerModule; exports.StripeCustomerService = _chunkRXXZGPC3js.StripeCustomerService; exports.StripeInvoice = _chunkRXXZGPC3js.StripeInvoice; exports.StripeInvoiceModule = _chunkRXXZGPC3js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkRXXZGPC3js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkRXXZGPC3js.StripePaymentMethodModule; exports.StripePrice = _chunkRXXZGPC3js.StripePrice; exports.StripePriceModule = _chunkRXXZGPC3js.StripePriceModule; exports.StripePriceService = _chunkRXXZGPC3js.StripePriceService; exports.StripeProduct = _chunkRXXZGPC3js.StripeProduct; exports.StripeProductModule = _chunkRXXZGPC3js.StripeProductModule; exports.StripeProductService = _chunkRXXZGPC3js.StripeProductService; exports.StripePromotionCode = _chunkRXXZGPC3js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkRXXZGPC3js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkRXXZGPC3js.StripePromotionCodeService; exports.StripeSubscription = _chunkRXXZGPC3js.StripeSubscription; exports.StripeSubscriptionModule = _chunkRXXZGPC3js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkRXXZGPC3js.StripeSubscriptionService; exports.StripeUsage = _chunkRXXZGPC3js.StripeUsage; exports.StripeUsageModule = _chunkRXXZGPC3js.StripeUsageModule; exports.StripeUsageService = _chunkRXXZGPC3js.StripeUsageService; exports.SubscriptionStatus = _chunkRXXZGPC3js.SubscriptionStatus; exports.TableOptions = _chunkRXXZGPC3js.TableOptions; exports.TotpAuthenticator = _chunkRXXZGPC3js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkRXXZGPC3js.TotpAuthenticatorModule; exports.TotpSetup = _chunkRXXZGPC3js.TotpSetup; exports.TotpSetupModule = _chunkRXXZGPC3js.TotpSetupModule; exports.TotpVerify = _chunkRXXZGPC3js.TotpVerify; exports.TotpVerifyLogin = _chunkRXXZGPC3js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkRXXZGPC3js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkRXXZGPC3js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkRXXZGPC3js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkRXXZGPC3js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkRXXZGPC3js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkRXXZGPC3js.TwoFactorEnableModule; exports.TwoFactorService = _chunkRXXZGPC3js.TwoFactorService; exports.TwoFactorStatus = _chunkRXXZGPC3js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkRXXZGPC3js.TwoFactorStatusModule; exports.User = _chunkRXXZGPC3js.User; exports.UserFields = _chunkRXXZGPC3js.UserFields; exports.UserModule = _chunkRXXZGPC3js.UserModule; exports.UserService = _chunkRXXZGPC3js.UserService; exports.Waitlist = _chunkRXXZGPC3js.Waitlist; exports.WaitlistModule = _chunkRXXZGPC3js.WaitlistModule; exports.WaitlistService = _chunkRXXZGPC3js.WaitlistService; exports.WaitlistStats = _chunkRXXZGPC3js.WaitlistStats; exports.WaitlistStatsModule = _chunkRXXZGPC3js.WaitlistStatsModule; exports.checkPermissions = _chunkRXXZGPC3js.checkPermissions; exports.checkPermissionsFromServer = _chunkRXXZGPC3js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkRXXZGPC3js.clearLastApiTotal; exports.cn = _chunkRXXZGPC3js.cn; exports.composeRefs = _chunkRXXZGPC3js.composeRefs; exports.createJsonApiInclusion = _chunkRXXZGPC3js.createJsonApiInclusion; exports.dismissToast = _chunkRXXZGPC3js.dismissToast; exports.entityObjectSchema = _chunkRXXZGPC3js.entityObjectSchema; exports.exists = _chunkRXXZGPC3js.exists; exports.formatDate = _chunkRXXZGPC3js.formatDate; exports.formatLocalDate = _chunkRXXZGPC3js.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkRXXZGPC3js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkRXXZGPC3js.getGlobalErrorHandler; exports.getIcon = _chunkRXXZGPC3js.getIcon; exports.getIconByModule = _chunkRXXZGPC3js.getIconByModule; exports.getIconByModuleName = _chunkRXXZGPC3js.getIconByModuleName; exports.getInitials = _chunkRXXZGPC3js.getInitials; exports.getLastApiTotal = _chunkRXXZGPC3js.getLastApiTotal; exports.getLucideIcon = _chunkRXXZGPC3js.getLucideIcon; exports.getLucideIconByModule = _chunkRXXZGPC3js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkRXXZGPC3js.getLucideIconByModuleName; exports.getTableComponents = _chunkRXXZGPC3js.getTableComponents; exports.getTableOptions = _chunkRXXZGPC3js.getTableOptions; exports.getValueFromPath = _chunkRXXZGPC3js.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkRXXZGPC3js.rehydrate; exports.rehydrateList = _chunkRXXZGPC3js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkRXXZGPC3js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkRXXZGPC3js.setGlobalErrorHandler; exports.showCustomToast = _chunkRXXZGPC3js.showCustomToast; exports.showError = _chunkRXXZGPC3js.showError; exports.showToast = _chunkRXXZGPC3js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkRXXZGPC3js.useComposedRefs; exports.useIsMobile = _chunkRXXZGPC3js.useIsMobile; exports.userObjectSchema = _chunkRXXZGPC3js.userObjectSchema;
376
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkCFI4WZ5Rjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkCFI4WZ5Rjs.AbstractApiData; exports.AbstractService = _chunkCFI4WZ5Rjs.AbstractService; exports.Action = _chunkCFI4WZ5Rjs.Action; exports.Assistant = _chunkCFI4WZ5Rjs.Assistant; exports.AssistantMessage = _chunkCFI4WZ5Rjs.AssistantMessage; exports.AssistantMessageModule = _chunkCFI4WZ5Rjs.AssistantMessageModule; exports.AssistantMessageService = _chunkCFI4WZ5Rjs.AssistantMessageService; exports.AssistantModule = _chunkCFI4WZ5Rjs.AssistantModule; exports.AssistantService = _chunkCFI4WZ5Rjs.AssistantService; exports.AuditLog = _chunkCFI4WZ5Rjs.AuditLog; exports.AuditLogModule = _chunkCFI4WZ5Rjs.AuditLogModule; exports.AuditLogService = _chunkCFI4WZ5Rjs.AuditLogService; exports.Auth = _chunkCFI4WZ5Rjs.Auth; exports.AuthComponent = _chunkCFI4WZ5Rjs.AuthComponent; exports.AuthModule = _chunkCFI4WZ5Rjs.AuthModule; exports.AuthService = _chunkCFI4WZ5Rjs.AuthService; exports.AuthorModule = _chunkCFI4WZ5Rjs.AuthorModule; exports.BackupCodeVerify = _chunkCFI4WZ5Rjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCFI4WZ5Rjs.BackupCodeVerifyModule; exports.Billing = _chunkCFI4WZ5Rjs.Billing; exports.BillingModule = _chunkCFI4WZ5Rjs.BillingModule; exports.BillingService = _chunkCFI4WZ5Rjs.BillingService; exports.BlockNoteDiffUtil = _chunkCFI4WZ5Rjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCFI4WZ5Rjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkCFI4WZ5Rjs.Chunk; exports.ChunkModule = _chunkCFI4WZ5Rjs.ChunkModule; exports.ClientAbstractService = _chunkCFI4WZ5Rjs.ClientAbstractService; exports.ClientHttpMethod = _chunkCFI4WZ5Rjs.ClientHttpMethod; exports.Company = _chunkCFI4WZ5Rjs.Company; exports.CompanyFields = _chunkCFI4WZ5Rjs.CompanyFields; exports.CompanyModule = _chunkCFI4WZ5Rjs.CompanyModule; exports.CompanyService = _chunkCFI4WZ5Rjs.CompanyService; exports.Content = _chunkCFI4WZ5Rjs.Content; exports.ContentFields = _chunkCFI4WZ5Rjs.ContentFields; exports.ContentModule = _chunkCFI4WZ5Rjs.ContentModule; exports.ContentService = _chunkCFI4WZ5Rjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCFI4WZ5Rjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkCFI4WZ5Rjs.EndpointCreator; exports.Feature = _chunkCFI4WZ5Rjs.Feature; exports.FeatureModule = _chunkCFI4WZ5Rjs.FeatureModule; exports.FeatureService = _chunkCFI4WZ5Rjs.FeatureService; exports.HowTo = _chunkCFI4WZ5Rjs.HowTo; exports.HowToFields = _chunkCFI4WZ5Rjs.HowToFields; exports.HowToModule = _chunkCFI4WZ5Rjs.HowToModule; exports.HowToService = _chunkCFI4WZ5Rjs.HowToService; exports.HttpMethod = _chunkCFI4WZ5Rjs.HttpMethod; exports.InvoiceStatus = _chunkCFI4WZ5Rjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkCFI4WZ5Rjs.Module; exports.ModuleModule = _chunkCFI4WZ5Rjs.ModuleModule; exports.ModulePathsModule = _chunkCFI4WZ5Rjs.ModulePathsModule; exports.ModuleRegistrar = _chunkCFI4WZ5Rjs.ModuleRegistrar; exports.ModuleRegistry = _chunkCFI4WZ5Rjs.ModuleRegistry; exports.Modules = _chunkCFI4WZ5Rjs.Modules; exports.Notification = _chunkCFI4WZ5Rjs.Notification; exports.NotificationFields = _chunkCFI4WZ5Rjs.NotificationFields; exports.NotificationModule = _chunkCFI4WZ5Rjs.NotificationModule; exports.NotificationService = _chunkCFI4WZ5Rjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCFI4WZ5Rjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCFI4WZ5Rjs.OAuthClient; exports.OAuthModule = _chunkCFI4WZ5Rjs.OAuthModule; exports.OAuthService = _chunkCFI4WZ5Rjs.OAuthService; exports.Passkey = _chunkCFI4WZ5Rjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCFI4WZ5Rjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCFI4WZ5Rjs.PasskeyRename; exports.PasskeyRenameModule = _chunkCFI4WZ5Rjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCFI4WZ5Rjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCFI4WZ5Rjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCFI4WZ5Rjs.PaymentMethod; exports.PermissionMappingModule = _chunkCFI4WZ5Rjs.PermissionMappingModule; exports.Push = _chunkCFI4WZ5Rjs.Push; exports.PushModule = _chunkCFI4WZ5Rjs.PushModule; exports.PushService = _chunkCFI4WZ5Rjs.PushService; exports.RbacMatrixModule = _chunkCFI4WZ5Rjs.RbacMatrixModule; exports.ReferralModule = _chunkCFI4WZ5Rjs.ReferralModule; exports.ReferralService = _chunkCFI4WZ5Rjs.ReferralService; exports.ReferralStats = _chunkCFI4WZ5Rjs.ReferralStats; exports.ReferralStatsModule = _chunkCFI4WZ5Rjs.ReferralStatsModule; exports.RehydrationFactory = _chunkCFI4WZ5Rjs.RehydrationFactory; exports.Role = _chunkCFI4WZ5Rjs.Role; exports.RoleFields = _chunkCFI4WZ5Rjs.RoleFields; exports.RoleModule = _chunkCFI4WZ5Rjs.RoleModule; exports.RoleService = _chunkCFI4WZ5Rjs.RoleService; exports.S3 = _chunkCFI4WZ5Rjs.S3; exports.S3Module = _chunkCFI4WZ5Rjs.S3Module; exports.S3Service = _chunkCFI4WZ5Rjs.S3Service; exports.StripeCustomer = _chunkCFI4WZ5Rjs.StripeCustomer; exports.StripeCustomerModule = _chunkCFI4WZ5Rjs.StripeCustomerModule; exports.StripeCustomerService = _chunkCFI4WZ5Rjs.StripeCustomerService; exports.StripeInvoice = _chunkCFI4WZ5Rjs.StripeInvoice; exports.StripeInvoiceModule = _chunkCFI4WZ5Rjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCFI4WZ5Rjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCFI4WZ5Rjs.StripePaymentMethodModule; exports.StripePrice = _chunkCFI4WZ5Rjs.StripePrice; exports.StripePriceModule = _chunkCFI4WZ5Rjs.StripePriceModule; exports.StripePriceService = _chunkCFI4WZ5Rjs.StripePriceService; exports.StripeProduct = _chunkCFI4WZ5Rjs.StripeProduct; exports.StripeProductModule = _chunkCFI4WZ5Rjs.StripeProductModule; exports.StripeProductService = _chunkCFI4WZ5Rjs.StripeProductService; exports.StripePromotionCode = _chunkCFI4WZ5Rjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCFI4WZ5Rjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCFI4WZ5Rjs.StripePromotionCodeService; exports.StripeSubscription = _chunkCFI4WZ5Rjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCFI4WZ5Rjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCFI4WZ5Rjs.StripeSubscriptionService; exports.StripeUsage = _chunkCFI4WZ5Rjs.StripeUsage; exports.StripeUsageModule = _chunkCFI4WZ5Rjs.StripeUsageModule; exports.StripeUsageService = _chunkCFI4WZ5Rjs.StripeUsageService; exports.SubscriptionStatus = _chunkCFI4WZ5Rjs.SubscriptionStatus; exports.TableOptions = _chunkCFI4WZ5Rjs.TableOptions; exports.TotpAuthenticator = _chunkCFI4WZ5Rjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCFI4WZ5Rjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCFI4WZ5Rjs.TotpSetup; exports.TotpSetupModule = _chunkCFI4WZ5Rjs.TotpSetupModule; exports.TotpVerify = _chunkCFI4WZ5Rjs.TotpVerify; exports.TotpVerifyLogin = _chunkCFI4WZ5Rjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCFI4WZ5Rjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCFI4WZ5Rjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCFI4WZ5Rjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCFI4WZ5Rjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCFI4WZ5Rjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCFI4WZ5Rjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCFI4WZ5Rjs.TwoFactorService; exports.TwoFactorStatus = _chunkCFI4WZ5Rjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCFI4WZ5Rjs.TwoFactorStatusModule; exports.User = _chunkCFI4WZ5Rjs.User; exports.UserFields = _chunkCFI4WZ5Rjs.UserFields; exports.UserModule = _chunkCFI4WZ5Rjs.UserModule; exports.UserService = _chunkCFI4WZ5Rjs.UserService; exports.Waitlist = _chunkCFI4WZ5Rjs.Waitlist; exports.WaitlistModule = _chunkCFI4WZ5Rjs.WaitlistModule; exports.WaitlistService = _chunkCFI4WZ5Rjs.WaitlistService; exports.WaitlistStats = _chunkCFI4WZ5Rjs.WaitlistStats; exports.WaitlistStatsModule = _chunkCFI4WZ5Rjs.WaitlistStatsModule; exports.checkPermissions = _chunkCFI4WZ5Rjs.checkPermissions; exports.checkPermissionsFromServer = _chunkCFI4WZ5Rjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkCFI4WZ5Rjs.clearLastApiTotal; exports.cn = _chunkCFI4WZ5Rjs.cn; exports.composeRefs = _chunkCFI4WZ5Rjs.composeRefs; exports.createJsonApiInclusion = _chunkCFI4WZ5Rjs.createJsonApiInclusion; exports.dismissToast = _chunkCFI4WZ5Rjs.dismissToast; exports.entityObjectSchema = _chunkCFI4WZ5Rjs.entityObjectSchema; exports.exists = _chunkCFI4WZ5Rjs.exists; exports.formatDate = _chunkCFI4WZ5Rjs.formatDate; exports.formatLocalDate = _chunkCFI4WZ5Rjs.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCFI4WZ5Rjs.getGlobalErrorHandler; exports.getIcon = _chunkCFI4WZ5Rjs.getIcon; exports.getIconByModule = _chunkCFI4WZ5Rjs.getIconByModule; exports.getIconByModuleName = _chunkCFI4WZ5Rjs.getIconByModuleName; exports.getInitials = _chunkCFI4WZ5Rjs.getInitials; exports.getLastApiTotal = _chunkCFI4WZ5Rjs.getLastApiTotal; exports.getLucideIcon = _chunkCFI4WZ5Rjs.getLucideIcon; exports.getLucideIconByModule = _chunkCFI4WZ5Rjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCFI4WZ5Rjs.getLucideIconByModuleName; exports.getTableComponents = _chunkCFI4WZ5Rjs.getTableComponents; exports.getTableOptions = _chunkCFI4WZ5Rjs.getTableOptions; exports.getValueFromPath = _chunkCFI4WZ5Rjs.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkCFI4WZ5Rjs.rehydrate; exports.rehydrateList = _chunkCFI4WZ5Rjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCFI4WZ5Rjs.setGlobalErrorHandler; exports.showCustomToast = _chunkCFI4WZ5Rjs.showCustomToast; exports.showError = _chunkCFI4WZ5Rjs.showError; exports.showToast = _chunkCFI4WZ5Rjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkCFI4WZ5Rjs.useComposedRefs; exports.useIsMobile = _chunkCFI4WZ5Rjs.useIsMobile; exports.userObjectSchema = _chunkCFI4WZ5Rjs.userObjectSchema;
377
377
  //# sourceMappingURL=index.js.map
@@ -173,7 +173,7 @@ import {
173
173
  useComposedRefs,
174
174
  useIsMobile,
175
175
  userObjectSchema
176
- } from "../chunk-N3NVIPSU.mjs";
176
+ } from "../chunk-MSNNAHDB.mjs";
177
177
  import "../chunk-AUXK7QSA.mjs";
178
178
  import "../chunk-C7C7VY4F.mjs";
179
179
  import {
@@ -0,0 +1,29 @@
1
+ /* src/features/onboarding/styles/onboarding.css */
2
+ .shepherd-modal-overlay-container.shepherd-modal-is-visible {
3
+ opacity: 1 !important;
4
+ }
5
+ .shepherd-modal-overlay-container path {
6
+ fill: rgba(0, 0, 0, 0.75) !important;
7
+ }
8
+ .shepherd-element {
9
+ background: transparent !important;
10
+ border: none !important;
11
+ box-shadow: none !important;
12
+ padding: 0 !important;
13
+ max-width: none !important;
14
+ }
15
+ .shepherd-content,
16
+ .shepherd-text {
17
+ padding: 0 !important;
18
+ }
19
+ .shepherd-arrow::before {
20
+ background: hsl(var(--card)) !important;
21
+ }
22
+ .shepherd-header,
23
+ .shepherd-footer {
24
+ display: none !important;
25
+ }
26
+ .dark .shepherd-arrow::before {
27
+ background: hsl(var(--card)) !important;
28
+ }
29
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/features/onboarding/styles/onboarding.css"],"sourcesContent":["/* Shepherd Modal Overlay */\n.shepherd-modal-overlay-container.shepherd-modal-is-visible {\n opacity: 1 !important;\n}\n\n.shepherd-modal-overlay-container path {\n fill: rgba(0, 0, 0, 0.75) !important;\n}\n\n/* Remove default shepherd styling - we use custom React card */\n.shepherd-element {\n background: transparent !important;\n border: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n max-width: none !important;\n}\n\n.shepherd-content,\n.shepherd-text {\n padding: 0 !important;\n}\n\n/* Arrow styling to match card background */\n.shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n\n/* Hide default Shepherd header and footer - we render custom ones */\n.shepherd-header,\n.shepherd-footer {\n display: none !important;\n}\n\n/* Dark mode support */\n.dark .shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n"],"mappings":";AACA,CAAC,gCAAgC,CAAC;AAChC,WAAS;AACX;AAEA,CAJC,iCAIiC;AAChC,QAAM,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACtB;AAGA,CAAC;AACC,cAAY;AACZ,UAAQ;AACR,cAAY;AACZ,WAAS;AACT,aAAW;AACb;AAEA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,cAAc;AACb,cAAY,IAAI,IAAI;AACtB;AAGA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,KAAK,CAXL,cAWoB;AACnB,cAAY,IAAI,IAAI;AACtB;","names":[]}