@hexclave/shared 1.0.0 → 1.0.2

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 (161) hide show
  1. package/dist/ai/llms/llms.d.ts +17 -0
  2. package/dist/ai/llms/llms.d.ts.map +1 -0
  3. package/dist/ai/llms/llms.js +36 -0
  4. package/dist/ai/llms/llms.js.map +1 -0
  5. package/dist/ai/unified-prompts/reminders.js +2 -2
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -1
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts +7 -1
  11. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
  12. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +6 -5
  13. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
  14. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +172 -0
  15. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts.map +1 -0
  16. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +280 -0
  17. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -0
  18. package/dist/ai/unified-prompts/skill-site-prompt.d.ts +2 -1
  19. package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  20. package/dist/ai/unified-prompts/skill-site-prompt.js +36 -32
  21. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  22. package/dist/config/schema-fuzzer.test.js +1 -0
  23. package/dist/config/schema-fuzzer.test.js.map +1 -1
  24. package/dist/config/schema.d.ts +201 -197
  25. package/dist/config/schema.d.ts.map +1 -1
  26. package/dist/config/schema.js +6 -0
  27. package/dist/config/schema.js.map +1 -1
  28. package/dist/config-authoring.d.ts +5 -1
  29. package/dist/config-authoring.d.ts.map +1 -1
  30. package/dist/config-authoring.js +5 -0
  31. package/dist/config-authoring.js.map +1 -1
  32. package/dist/config-rendering.d.ts +6 -6
  33. package/dist/config-rendering.d.ts.map +1 -1
  34. package/dist/config-rendering.js +25 -17
  35. package/dist/config-rendering.js.map +1 -1
  36. package/dist/esm/ai/llms/llms.d.ts +17 -0
  37. package/dist/esm/ai/llms/llms.d.ts.map +1 -0
  38. package/dist/esm/ai/llms/llms.js +30 -0
  39. package/dist/esm/ai/llms/llms.js.map +1 -0
  40. package/dist/esm/ai/unified-prompts/reminders.js +2 -2
  41. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  42. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  43. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -1
  44. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  45. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts +7 -1
  46. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
  47. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +4 -4
  48. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
  49. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +173 -0
  50. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts.map +1 -0
  51. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +279 -0
  52. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -0
  53. package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts +2 -1
  54. package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  55. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +36 -33
  56. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  57. package/dist/esm/config/schema-fuzzer.test.js +1 -0
  58. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  59. package/dist/esm/config/schema.d.ts +201 -197
  60. package/dist/esm/config/schema.d.ts.map +1 -1
  61. package/dist/esm/config/schema.js +6 -0
  62. package/dist/esm/config/schema.js.map +1 -1
  63. package/dist/esm/config-authoring.d.ts +5 -1
  64. package/dist/esm/config-authoring.d.ts.map +1 -1
  65. package/dist/esm/config-authoring.js +5 -1
  66. package/dist/esm/config-authoring.js.map +1 -1
  67. package/dist/esm/config-rendering.d.ts +6 -6
  68. package/dist/esm/config-rendering.d.ts.map +1 -1
  69. package/dist/esm/config-rendering.js +25 -17
  70. package/dist/esm/config-rendering.js.map +1 -1
  71. package/dist/esm/hooks/use-hover.d.ts +1 -1
  72. package/dist/esm/hooks/use-hover.d.ts.map +1 -1
  73. package/dist/esm/hooks/use-hover.js.map +1 -1
  74. package/dist/esm/interface/admin-interface.js +1 -1
  75. package/dist/esm/interface/admin-metrics.d.ts +8 -8
  76. package/dist/esm/interface/client-interface.js +1 -1
  77. package/dist/esm/interface/conversations.d.ts +32 -32
  78. package/dist/esm/interface/crud/current-user.d.ts +8 -8
  79. package/dist/esm/interface/crud/email-outbox.d.ts +218 -218
  80. package/dist/esm/interface/crud/products.d.ts +20 -20
  81. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  82. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  83. package/dist/esm/interface/crud/projects.d.ts +36 -36
  84. package/dist/esm/interface/crud/team-member-profiles.d.ts +16 -16
  85. package/dist/esm/interface/crud/transactions.d.ts +23 -23
  86. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  87. package/dist/esm/interface/crud/users.d.ts +14 -14
  88. package/dist/esm/interface/server-interface.js +1 -1
  89. package/dist/esm/interface/webhooks.d.ts +4 -4
  90. package/dist/esm/known-errors.d.ts +7 -7
  91. package/dist/esm/schema-fields.d.ts +7 -6
  92. package/dist/esm/schema-fields.d.ts.map +1 -1
  93. package/dist/esm/schema-fields.js +5 -1
  94. package/dist/esm/schema-fields.js.map +1 -1
  95. package/dist/esm/stack-config-file.js.map +1 -1
  96. package/dist/esm/utils/cloud-hosts.d.ts +42 -0
  97. package/dist/esm/utils/cloud-hosts.d.ts.map +1 -0
  98. package/dist/esm/utils/cloud-hosts.js +92 -0
  99. package/dist/esm/utils/cloud-hosts.js.map +1 -0
  100. package/dist/esm/utils/errors.d.ts +9 -2
  101. package/dist/esm/utils/errors.d.ts.map +1 -1
  102. package/dist/esm/utils/errors.js +16 -5
  103. package/dist/esm/utils/errors.js.map +1 -1
  104. package/dist/esm/utils/promises.js +1 -1
  105. package/dist/esm/utils/react.d.ts.map +1 -1
  106. package/dist/esm/utils/react.js +4 -4
  107. package/dist/esm/utils/react.js.map +1 -1
  108. package/dist/esm/utils/redirect-urls.d.ts.map +1 -1
  109. package/dist/esm/utils/redirect-urls.js +3 -3
  110. package/dist/esm/utils/redirect-urls.js.map +1 -1
  111. package/dist/esm/utils/urls.d.ts.map +1 -1
  112. package/dist/esm/utils/urls.js +2 -2
  113. package/dist/esm/utils/urls.js.map +1 -1
  114. package/dist/hooks/use-hover.d.ts +1 -1
  115. package/dist/hooks/use-hover.d.ts.map +1 -1
  116. package/dist/hooks/use-hover.js.map +1 -1
  117. package/dist/{index-D9ysacya.d.ts → index-fQbeILq7.d.ts} +1 -1
  118. package/dist/{index-D9ysacya.d.ts.map → index-fQbeILq7.d.ts.map} +1 -1
  119. package/dist/interface/admin-interface.js +1 -1
  120. package/dist/interface/admin-metrics.d.ts +8 -8
  121. package/dist/interface/client-interface.d.ts +1 -1
  122. package/dist/interface/client-interface.js +1 -1
  123. package/dist/interface/conversations.d.ts +32 -32
  124. package/dist/interface/crud/current-user.d.ts +8 -8
  125. package/dist/interface/crud/email-outbox.d.ts +218 -218
  126. package/dist/interface/crud/products.d.ts +20 -20
  127. package/dist/interface/crud/products.d.ts.map +1 -1
  128. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  129. package/dist/interface/crud/projects.d.ts +36 -36
  130. package/dist/interface/crud/team-member-profiles.d.ts +16 -16
  131. package/dist/interface/crud/transactions.d.ts +23 -23
  132. package/dist/interface/crud/transactions.d.ts.map +1 -1
  133. package/dist/interface/crud/users.d.ts +14 -14
  134. package/dist/interface/server-interface.js +1 -1
  135. package/dist/interface/webhooks.d.ts +4 -4
  136. package/dist/known-errors.d.ts +7 -7
  137. package/dist/schema-fields.d.ts +7 -6
  138. package/dist/schema-fields.d.ts.map +1 -1
  139. package/dist/schema-fields.js +5 -0
  140. package/dist/schema-fields.js.map +1 -1
  141. package/dist/stack-config-file.js.map +1 -1
  142. package/dist/utils/cloud-hosts.d.ts +42 -0
  143. package/dist/utils/cloud-hosts.d.ts.map +1 -0
  144. package/dist/utils/cloud-hosts.js +97 -0
  145. package/dist/utils/cloud-hosts.js.map +1 -0
  146. package/dist/utils/errors.d.ts +9 -2
  147. package/dist/utils/errors.d.ts.map +1 -1
  148. package/dist/utils/errors.js +16 -4
  149. package/dist/utils/errors.js.map +1 -1
  150. package/dist/utils/passkey.d.ts +1 -1
  151. package/dist/utils/promises.js +1 -1
  152. package/dist/utils/react.d.ts.map +1 -1
  153. package/dist/utils/react.js +4 -4
  154. package/dist/utils/react.js.map +1 -1
  155. package/dist/utils/redirect-urls.d.ts.map +1 -1
  156. package/dist/utils/redirect-urls.js +3 -3
  157. package/dist/utils/redirect-urls.js.map +1 -1
  158. package/dist/utils/urls.d.ts.map +1 -1
  159. package/dist/utils/urls.js +2 -2
  160. package/dist/utils/urls.js.map +1 -1
  161. package/package.json +1 -1
@@ -0,0 +1,173 @@
1
+ //#region src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts
2
+ declare const docsJson: {
3
+ readonly $schema: "https://mintlify.com/docs.json";
4
+ readonly name: "Hexclave Documentation";
5
+ readonly theme: "mint";
6
+ readonly logo: {
7
+ readonly dark: "/images/logo-dark.svg";
8
+ readonly light: "/images/logo-light.svg";
9
+ };
10
+ readonly favicon: "/images/favicon.ico";
11
+ readonly colors: {
12
+ readonly primary: "#6b5df7";
13
+ readonly light: "#8b7cf9";
14
+ readonly dark: "#6b5df7";
15
+ };
16
+ readonly background: {
17
+ readonly color: {
18
+ readonly dark: "#09090b";
19
+ };
20
+ };
21
+ readonly contextual: {
22
+ readonly options: readonly ["copy", "view", "assistant", "chatgpt", "claude", "perplexity", "grok", "aistudio", "devin", "windsurf", "mcp", "cursor", "vscode", "devin-mcp"];
23
+ };
24
+ readonly fonts: {
25
+ readonly heading: {
26
+ readonly family: "Geist";
27
+ readonly weight: 500;
28
+ };
29
+ readonly body: {
30
+ readonly family: "Geist";
31
+ readonly weight: 400;
32
+ };
33
+ };
34
+ readonly navbar: {
35
+ readonly links: readonly [{
36
+ readonly type: "github";
37
+ readonly href: "https://github.com/hexclave/hexclave";
38
+ }];
39
+ readonly primary: {
40
+ readonly type: "button";
41
+ readonly label: "Dashboard";
42
+ readonly href: "https://app.hexclave.com";
43
+ };
44
+ };
45
+ readonly navigation: {
46
+ readonly tabs: readonly [{
47
+ readonly tab: "Documentation";
48
+ readonly pages: readonly ["index", {
49
+ readonly group: "Getting Started";
50
+ readonly pages: readonly ["guides/getting-started/setup", "guides/getting-started/user-fundamentals", "guides/getting-started/ai-integration"];
51
+ }, {
52
+ readonly group: "Going Further";
53
+ readonly pages: readonly ["guides/going-further/stack-app", "guides/going-further/backend-integration", "guides/going-further/cli", "guides/going-further/user-metadata"];
54
+ }, {
55
+ readonly group: "Apps";
56
+ readonly pages: readonly [{
57
+ readonly group: "Authentication";
58
+ readonly icon: "/images/app-icons/authentication.svg";
59
+ readonly pages: readonly ["guides/apps/authentication/overview", "guides/apps/authentication/user-onboarding", "guides/apps/authentication/restricted-users", "guides/apps/authentication/connected-accounts", "guides/apps/authentication/jwts", "guides/apps/authentication/sign-up-rules", "guides/apps/authentication/cli-authentication", {
60
+ readonly group: "All Auth Providers";
61
+ readonly root: "guides/apps/authentication/auth-providers";
62
+ readonly pages: readonly ["guides/apps/authentication/auth-providers/apple", "guides/apps/authentication/auth-providers/bitbucket", "guides/apps/authentication/auth-providers/discord", "guides/apps/authentication/auth-providers/facebook", "guides/apps/authentication/auth-providers/github", "guides/apps/authentication/auth-providers/gitlab", "guides/apps/authentication/auth-providers/google", "guides/apps/authentication/auth-providers/linkedin", "guides/apps/authentication/auth-providers/microsoft", "guides/apps/authentication/auth-providers/passkey", "guides/apps/authentication/auth-providers/spotify", "guides/apps/authentication/auth-providers/twitch", "guides/apps/authentication/auth-providers/two-factor-auth", "guides/apps/authentication/auth-providers/x-twitter"];
63
+ }];
64
+ }, "guides/apps/emails/overview", "guides/apps/payments/overview", "guides/apps/analytics/overview", {
65
+ readonly group: "Teams";
66
+ readonly icon: "/images/app-icons/teams.svg";
67
+ readonly pages: readonly ["guides/apps/teams/overview", "guides/apps/teams/team-selection"];
68
+ }, "guides/apps/fraud-protection/overview", "guides/apps/rbac/overview", "guides/apps/api-keys/overview", "guides/apps/data-vault/overview", "guides/apps/webhooks/overview", "guides/apps/launch-checklist/overview"];
69
+ }, {
70
+ readonly group: "Integrations";
71
+ readonly pages: readonly ["guides/integrations/tanstack-start/overview", "guides/integrations/supabase/overview", "guides/integrations/convex/overview", "guides/integrations/vercel/overview"];
72
+ }, {
73
+ readonly group: "Other";
74
+ readonly pages: readonly ["guides/other/self-host", "guides/other/known-errors", "migration", {
75
+ readonly group: "Tutorials";
76
+ readonly pages: readonly ["guides/other/tutorials/build-a-saas-with-hexclave", "guides/other/tutorials/build-a-team-based-app", "guides/other/tutorials/ship-production-ready-auth"];
77
+ }];
78
+ }];
79
+ }, {
80
+ readonly tab: "SDK Reference";
81
+ readonly pages: readonly ["sdk/overview", {
82
+ readonly group: "Objects";
83
+ readonly pages: readonly ["sdk/objects/stack-app"];
84
+ }, {
85
+ readonly group: "Types";
86
+ readonly pages: readonly ["sdk/types/user", "sdk/types/team", "sdk/types/team-user", "sdk/types/team-permission", "sdk/types/team-profile", "sdk/types/contact-channel", "sdk/types/email", "sdk/types/api-key", "sdk/types/project", "sdk/types/connected-account", "sdk/types/item", "sdk/types/customer"];
87
+ }, {
88
+ readonly group: "Hooks";
89
+ readonly pages: readonly ["sdk/hooks/use-stack-app", "sdk/hooks/use-user"];
90
+ }];
91
+ }, {
92
+ readonly tab: "REST API";
93
+ readonly pages: readonly ["api/overview", {
94
+ readonly group: "Client API";
95
+ readonly openapi: {
96
+ readonly source: "openapi/client.json";
97
+ readonly directory: "api/client";
98
+ };
99
+ }, {
100
+ readonly group: "Server API";
101
+ readonly openapi: {
102
+ readonly source: "openapi/server.json";
103
+ readonly directory: "api/server";
104
+ };
105
+ }, {
106
+ readonly group: "Admin API";
107
+ readonly openapi: {
108
+ readonly source: "openapi/admin.json";
109
+ readonly directory: "api/admin";
110
+ readonly hidden: "true";
111
+ };
112
+ }, {
113
+ readonly group: "Webhooks";
114
+ readonly openapi: {
115
+ readonly source: "openapi/webhooks.json";
116
+ readonly directory: "api/webhooks";
117
+ };
118
+ }];
119
+ }];
120
+ };
121
+ readonly footer: {
122
+ readonly socials: {
123
+ readonly x: "https://x.com/stack_auth";
124
+ readonly github: "https://github.com/hexclave/hexclave";
125
+ readonly discord: "https://discord.hexclave.com";
126
+ };
127
+ };
128
+ readonly seo: {
129
+ readonly metatags: {
130
+ readonly robots: "noindex";
131
+ };
132
+ };
133
+ readonly settings: {
134
+ readonly customScripts: readonly ["/apps-sidebar-filter.js", "/code-language-labels.js"];
135
+ };
136
+ readonly redirects: readonly [{
137
+ readonly source: "/rest-api/overview";
138
+ readonly destination: "/api/overview";
139
+ }, {
140
+ readonly source: "/getting-started/setup";
141
+ readonly destination: "/guides/getting-started/setup";
142
+ }, {
143
+ readonly source: "/docs/getting-started/setup";
144
+ readonly destination: "/guides/getting-started/setup";
145
+ }, {
146
+ readonly source: "/docs/next/getting-started/setup";
147
+ readonly destination: "/guides/getting-started/setup";
148
+ }, {
149
+ readonly source: "/docs/sdk";
150
+ readonly destination: "/sdk/overview";
151
+ }, {
152
+ readonly source: "/docs/apps/analytics";
153
+ readonly destination: "/guides/apps/analytics/overview";
154
+ }, {
155
+ readonly source: "/docs/apps/api-keys";
156
+ readonly destination: "/guides/apps/api-keys/overview";
157
+ }, {
158
+ readonly source: "/docs/others/convex";
159
+ readonly destination: "/guides/integrations/convex/overview";
160
+ }, {
161
+ readonly source: "/docs/concepts/teams";
162
+ readonly destination: "/guides/apps/teams/overview";
163
+ }, {
164
+ readonly source: "/docs/concepts/custom-user-data";
165
+ readonly destination: "/guides/going-further/user-metadata";
166
+ }, {
167
+ readonly source: "/others/js-client";
168
+ readonly destination: "/guides/going-further/stack-app";
169
+ }];
170
+ };
171
+ //#endregion
172
+ export { docsJson as default };
173
+ //# sourceMappingURL=docs-json.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-json.generated.d.ts","names":[],"sources":["../../../../../src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts"],"mappings":";cAEM,QAAA;EAAA"}
@@ -0,0 +1,279 @@
1
+ //#region src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts
2
+ const docsJson = {
3
+ "$schema": "https://mintlify.com/docs.json",
4
+ "name": "Hexclave Documentation",
5
+ "theme": "mint",
6
+ "logo": {
7
+ "dark": "/images/logo-dark.svg",
8
+ "light": "/images/logo-light.svg"
9
+ },
10
+ "favicon": "/images/favicon.ico",
11
+ "colors": {
12
+ "primary": "#6b5df7",
13
+ "light": "#8b7cf9",
14
+ "dark": "#6b5df7"
15
+ },
16
+ "background": { "color": { "dark": "#09090b" } },
17
+ "contextual": { "options": [
18
+ "copy",
19
+ "view",
20
+ "assistant",
21
+ "chatgpt",
22
+ "claude",
23
+ "perplexity",
24
+ "grok",
25
+ "aistudio",
26
+ "devin",
27
+ "windsurf",
28
+ "mcp",
29
+ "cursor",
30
+ "vscode",
31
+ "devin-mcp"
32
+ ] },
33
+ "fonts": {
34
+ "heading": {
35
+ "family": "Geist",
36
+ "weight": 500
37
+ },
38
+ "body": {
39
+ "family": "Geist",
40
+ "weight": 400
41
+ }
42
+ },
43
+ "navbar": {
44
+ "links": [{
45
+ "type": "github",
46
+ "href": "https://github.com/hexclave/hexclave"
47
+ }],
48
+ "primary": {
49
+ "type": "button",
50
+ "label": "Dashboard",
51
+ "href": "https://app.hexclave.com"
52
+ }
53
+ },
54
+ "navigation": { "tabs": [
55
+ {
56
+ "tab": "Documentation",
57
+ "pages": [
58
+ "index",
59
+ {
60
+ "group": "Getting Started",
61
+ "pages": [
62
+ "guides/getting-started/setup",
63
+ "guides/getting-started/user-fundamentals",
64
+ "guides/getting-started/ai-integration"
65
+ ]
66
+ },
67
+ {
68
+ "group": "Going Further",
69
+ "pages": [
70
+ "guides/going-further/stack-app",
71
+ "guides/going-further/backend-integration",
72
+ "guides/going-further/cli",
73
+ "guides/going-further/user-metadata"
74
+ ]
75
+ },
76
+ {
77
+ "group": "Apps",
78
+ "pages": [
79
+ {
80
+ "group": "Authentication",
81
+ "icon": "/images/app-icons/authentication.svg",
82
+ "pages": [
83
+ "guides/apps/authentication/overview",
84
+ "guides/apps/authentication/user-onboarding",
85
+ "guides/apps/authentication/restricted-users",
86
+ "guides/apps/authentication/connected-accounts",
87
+ "guides/apps/authentication/jwts",
88
+ "guides/apps/authentication/sign-up-rules",
89
+ "guides/apps/authentication/cli-authentication",
90
+ {
91
+ "group": "All Auth Providers",
92
+ "root": "guides/apps/authentication/auth-providers",
93
+ "pages": [
94
+ "guides/apps/authentication/auth-providers/apple",
95
+ "guides/apps/authentication/auth-providers/bitbucket",
96
+ "guides/apps/authentication/auth-providers/discord",
97
+ "guides/apps/authentication/auth-providers/facebook",
98
+ "guides/apps/authentication/auth-providers/github",
99
+ "guides/apps/authentication/auth-providers/gitlab",
100
+ "guides/apps/authentication/auth-providers/google",
101
+ "guides/apps/authentication/auth-providers/linkedin",
102
+ "guides/apps/authentication/auth-providers/microsoft",
103
+ "guides/apps/authentication/auth-providers/passkey",
104
+ "guides/apps/authentication/auth-providers/spotify",
105
+ "guides/apps/authentication/auth-providers/twitch",
106
+ "guides/apps/authentication/auth-providers/two-factor-auth",
107
+ "guides/apps/authentication/auth-providers/x-twitter"
108
+ ]
109
+ }
110
+ ]
111
+ },
112
+ "guides/apps/emails/overview",
113
+ "guides/apps/payments/overview",
114
+ "guides/apps/analytics/overview",
115
+ {
116
+ "group": "Teams",
117
+ "icon": "/images/app-icons/teams.svg",
118
+ "pages": ["guides/apps/teams/overview", "guides/apps/teams/team-selection"]
119
+ },
120
+ "guides/apps/fraud-protection/overview",
121
+ "guides/apps/rbac/overview",
122
+ "guides/apps/api-keys/overview",
123
+ "guides/apps/data-vault/overview",
124
+ "guides/apps/webhooks/overview",
125
+ "guides/apps/launch-checklist/overview"
126
+ ]
127
+ },
128
+ {
129
+ "group": "Integrations",
130
+ "pages": [
131
+ "guides/integrations/tanstack-start/overview",
132
+ "guides/integrations/supabase/overview",
133
+ "guides/integrations/convex/overview",
134
+ "guides/integrations/vercel/overview"
135
+ ]
136
+ },
137
+ {
138
+ "group": "Other",
139
+ "pages": [
140
+ "guides/other/self-host",
141
+ "guides/other/known-errors",
142
+ "migration",
143
+ {
144
+ "group": "Tutorials",
145
+ "pages": [
146
+ "guides/other/tutorials/build-a-saas-with-hexclave",
147
+ "guides/other/tutorials/build-a-team-based-app",
148
+ "guides/other/tutorials/ship-production-ready-auth"
149
+ ]
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "tab": "SDK Reference",
157
+ "pages": [
158
+ "sdk/overview",
159
+ {
160
+ "group": "Objects",
161
+ "pages": ["sdk/objects/stack-app"]
162
+ },
163
+ {
164
+ "group": "Types",
165
+ "pages": [
166
+ "sdk/types/user",
167
+ "sdk/types/team",
168
+ "sdk/types/team-user",
169
+ "sdk/types/team-permission",
170
+ "sdk/types/team-profile",
171
+ "sdk/types/contact-channel",
172
+ "sdk/types/email",
173
+ "sdk/types/api-key",
174
+ "sdk/types/project",
175
+ "sdk/types/connected-account",
176
+ "sdk/types/item",
177
+ "sdk/types/customer"
178
+ ]
179
+ },
180
+ {
181
+ "group": "Hooks",
182
+ "pages": ["sdk/hooks/use-stack-app", "sdk/hooks/use-user"]
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "tab": "REST API",
188
+ "pages": [
189
+ "api/overview",
190
+ {
191
+ "group": "Client API",
192
+ "openapi": {
193
+ "source": "openapi/client.json",
194
+ "directory": "api/client"
195
+ }
196
+ },
197
+ {
198
+ "group": "Server API",
199
+ "openapi": {
200
+ "source": "openapi/server.json",
201
+ "directory": "api/server"
202
+ }
203
+ },
204
+ {
205
+ "group": "Admin API",
206
+ "openapi": {
207
+ "source": "openapi/admin.json",
208
+ "directory": "api/admin",
209
+ "hidden": "true"
210
+ }
211
+ },
212
+ {
213
+ "group": "Webhooks",
214
+ "openapi": {
215
+ "source": "openapi/webhooks.json",
216
+ "directory": "api/webhooks"
217
+ }
218
+ }
219
+ ]
220
+ }
221
+ ] },
222
+ "footer": { "socials": {
223
+ "x": "https://x.com/stack_auth",
224
+ "github": "https://github.com/hexclave/hexclave",
225
+ "discord": "https://discord.hexclave.com"
226
+ } },
227
+ "seo": { "metatags": { "robots": "noindex" } },
228
+ "settings": { "customScripts": ["/apps-sidebar-filter.js", "/code-language-labels.js"] },
229
+ "redirects": [
230
+ {
231
+ "source": "/rest-api/overview",
232
+ "destination": "/api/overview"
233
+ },
234
+ {
235
+ "source": "/getting-started/setup",
236
+ "destination": "/guides/getting-started/setup"
237
+ },
238
+ {
239
+ "source": "/docs/getting-started/setup",
240
+ "destination": "/guides/getting-started/setup"
241
+ },
242
+ {
243
+ "source": "/docs/next/getting-started/setup",
244
+ "destination": "/guides/getting-started/setup"
245
+ },
246
+ {
247
+ "source": "/docs/sdk",
248
+ "destination": "/sdk/overview"
249
+ },
250
+ {
251
+ "source": "/docs/apps/analytics",
252
+ "destination": "/guides/apps/analytics/overview"
253
+ },
254
+ {
255
+ "source": "/docs/apps/api-keys",
256
+ "destination": "/guides/apps/api-keys/overview"
257
+ },
258
+ {
259
+ "source": "/docs/others/convex",
260
+ "destination": "/guides/integrations/convex/overview"
261
+ },
262
+ {
263
+ "source": "/docs/concepts/teams",
264
+ "destination": "/guides/apps/teams/overview"
265
+ },
266
+ {
267
+ "source": "/docs/concepts/custom-user-data",
268
+ "destination": "/guides/going-further/user-metadata"
269
+ },
270
+ {
271
+ "source": "/others/js-client",
272
+ "destination": "/guides/going-further/stack-app"
273
+ }
274
+ ]
275
+ };
276
+
277
+ //#endregion
278
+ export { docsJson as default };
279
+ //# sourceMappingURL=docs-json.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-json.generated.js","names":[],"sources":["../../../../../src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts"],"sourcesContent":["// This file is generated from docs-mintlify/docs.json.\n\nconst docsJson = {\n \"$schema\": \"https://mintlify.com/docs.json\",\n \"name\": \"Hexclave Documentation\",\n \"theme\": \"mint\",\n \"logo\": {\n \"dark\": \"/images/logo-dark.svg\",\n \"light\": \"/images/logo-light.svg\"\n },\n \"favicon\": \"/images/favicon.ico\",\n \"colors\": {\n \"primary\": \"#6b5df7\",\n \"light\": \"#8b7cf9\",\n \"dark\": \"#6b5df7\"\n },\n \"background\": {\n \"color\": {\n \"dark\": \"#09090b\"\n }\n },\n \"contextual\": {\n \"options\": [\n \"copy\",\n \"view\",\n \"assistant\",\n \"chatgpt\",\n \"claude\",\n \"perplexity\",\n \"grok\",\n \"aistudio\",\n \"devin\",\n \"windsurf\",\n \"mcp\",\n \"cursor\",\n \"vscode\",\n \"devin-mcp\"\n ]\n },\n \"fonts\": {\n \"heading\": {\n \"family\": \"Geist\",\n \"weight\": 500\n },\n \"body\": {\n \"family\": \"Geist\",\n \"weight\": 400\n }\n },\n \"navbar\": {\n \"links\": [\n {\n \"type\": \"github\",\n \"href\": \"https://github.com/hexclave/hexclave\"\n }\n ],\n \"primary\": {\n \"type\": \"button\",\n \"label\": \"Dashboard\",\n \"href\": \"https://app.hexclave.com\"\n }\n },\n \"navigation\": {\n \"tabs\": [\n {\n \"tab\": \"Documentation\",\n \"pages\": [\n \"index\",\n {\n \"group\": \"Getting Started\",\n \"pages\": [\n \"guides/getting-started/setup\",\n \"guides/getting-started/user-fundamentals\",\n \"guides/getting-started/ai-integration\"\n ]\n },\n {\n \"group\": \"Going Further\",\n \"pages\": [\n \"guides/going-further/stack-app\",\n \"guides/going-further/backend-integration\",\n \"guides/going-further/cli\",\n \"guides/going-further/user-metadata\"\n ]\n },\n {\n \"group\": \"Apps\",\n \"pages\": [\n {\n \"group\": \"Authentication\",\n \"icon\": \"/images/app-icons/authentication.svg\",\n \"pages\": [\n \"guides/apps/authentication/overview\",\n \"guides/apps/authentication/user-onboarding\",\n \"guides/apps/authentication/restricted-users\",\n \"guides/apps/authentication/connected-accounts\",\n \"guides/apps/authentication/jwts\",\n \"guides/apps/authentication/sign-up-rules\",\n \"guides/apps/authentication/cli-authentication\",\n {\n \"group\": \"All Auth Providers\",\n \"root\": \"guides/apps/authentication/auth-providers\",\n \"pages\": [\n \"guides/apps/authentication/auth-providers/apple\",\n \"guides/apps/authentication/auth-providers/bitbucket\",\n \"guides/apps/authentication/auth-providers/discord\",\n \"guides/apps/authentication/auth-providers/facebook\",\n \"guides/apps/authentication/auth-providers/github\",\n \"guides/apps/authentication/auth-providers/gitlab\",\n \"guides/apps/authentication/auth-providers/google\",\n \"guides/apps/authentication/auth-providers/linkedin\",\n \"guides/apps/authentication/auth-providers/microsoft\",\n \"guides/apps/authentication/auth-providers/passkey\",\n \"guides/apps/authentication/auth-providers/spotify\",\n \"guides/apps/authentication/auth-providers/twitch\",\n \"guides/apps/authentication/auth-providers/two-factor-auth\",\n \"guides/apps/authentication/auth-providers/x-twitter\"\n ]\n }\n ]\n },\n \"guides/apps/emails/overview\",\n \"guides/apps/payments/overview\",\n \"guides/apps/analytics/overview\",\n {\n \"group\": \"Teams\",\n \"icon\": \"/images/app-icons/teams.svg\",\n \"pages\": [\n \"guides/apps/teams/overview\",\n \"guides/apps/teams/team-selection\"\n ]\n },\n \"guides/apps/fraud-protection/overview\",\n \"guides/apps/rbac/overview\",\n \"guides/apps/api-keys/overview\",\n \"guides/apps/data-vault/overview\",\n \"guides/apps/webhooks/overview\",\n \"guides/apps/launch-checklist/overview\"\n ]\n },\n {\n \"group\": \"Integrations\",\n \"pages\": [\n \"guides/integrations/tanstack-start/overview\",\n \"guides/integrations/supabase/overview\",\n \"guides/integrations/convex/overview\",\n \"guides/integrations/vercel/overview\"\n ]\n },\n {\n \"group\": \"Other\",\n \"pages\": [\n \"guides/other/self-host\",\n \"guides/other/known-errors\",\n \"migration\",\n {\n \"group\": \"Tutorials\",\n \"pages\": [\n \"guides/other/tutorials/build-a-saas-with-hexclave\",\n \"guides/other/tutorials/build-a-team-based-app\",\n \"guides/other/tutorials/ship-production-ready-auth\"\n ]\n }\n ]\n }\n ]\n },\n {\n \"tab\": \"SDK Reference\",\n \"pages\": [\n \"sdk/overview\",\n {\n \"group\": \"Objects\",\n \"pages\": [\n \"sdk/objects/stack-app\"\n ]\n },\n {\n \"group\": \"Types\",\n \"pages\": [\n \"sdk/types/user\",\n \"sdk/types/team\",\n \"sdk/types/team-user\",\n \"sdk/types/team-permission\",\n \"sdk/types/team-profile\",\n \"sdk/types/contact-channel\",\n \"sdk/types/email\",\n \"sdk/types/api-key\",\n \"sdk/types/project\",\n \"sdk/types/connected-account\",\n \"sdk/types/item\",\n \"sdk/types/customer\"\n ]\n },\n {\n \"group\": \"Hooks\",\n \"pages\": [\n \"sdk/hooks/use-stack-app\",\n \"sdk/hooks/use-user\"\n ]\n }\n ]\n },\n {\n \"tab\": \"REST API\",\n \"pages\": [\n \"api/overview\",\n {\n \"group\": \"Client API\",\n \"openapi\": {\n \"source\": \"openapi/client.json\",\n \"directory\": \"api/client\"\n }\n },\n {\n \"group\": \"Server API\",\n \"openapi\": {\n \"source\": \"openapi/server.json\",\n \"directory\": \"api/server\"\n }\n },\n {\n \"group\": \"Admin API\",\n \"openapi\": {\n \"source\": \"openapi/admin.json\",\n \"directory\": \"api/admin\",\n \"hidden\": \"true\"\n }\n },\n {\n \"group\": \"Webhooks\",\n \"openapi\": {\n \"source\": \"openapi/webhooks.json\",\n \"directory\": \"api/webhooks\"\n }\n }\n ]\n }\n ]\n },\n \"footer\": {\n \"socials\": {\n \"x\": \"https://x.com/stack_auth\",\n \"github\": \"https://github.com/hexclave/hexclave\",\n \"discord\": \"https://discord.hexclave.com\"\n }\n },\n \"seo\": {\n \"metatags\": {\n \"robots\": \"noindex\"\n }\n },\n \"settings\": {\n \"customScripts\": [\n \"/apps-sidebar-filter.js\",\n \"/code-language-labels.js\"\n ]\n },\n \"redirects\": [\n {\n \"source\": \"/rest-api/overview\",\n \"destination\": \"/api/overview\"\n },\n {\n \"source\": \"/getting-started/setup\",\n \"destination\": \"/guides/getting-started/setup\"\n },\n {\n \"source\": \"/docs/getting-started/setup\",\n \"destination\": \"/guides/getting-started/setup\"\n },\n {\n \"source\": \"/docs/next/getting-started/setup\",\n \"destination\": \"/guides/getting-started/setup\"\n },\n {\n \"source\": \"/docs/sdk\",\n \"destination\": \"/sdk/overview\"\n },\n {\n \"source\": \"/docs/apps/analytics\",\n \"destination\": \"/guides/apps/analytics/overview\"\n },\n {\n \"source\": \"/docs/apps/api-keys\",\n \"destination\": \"/guides/apps/api-keys/overview\"\n },\n {\n \"source\": \"/docs/others/convex\",\n \"destination\": \"/guides/integrations/convex/overview\"\n },\n {\n \"source\": \"/docs/concepts/teams\",\n \"destination\": \"/guides/apps/teams/overview\"\n },\n {\n \"source\": \"/docs/concepts/custom-user-data\",\n \"destination\": \"/guides/going-further/user-metadata\"\n },\n {\n \"source\": \"/others/js-client\",\n \"destination\": \"/guides/going-further/stack-app\"\n }\n ]\n} as const;\n\nexport default docsJson;\n"],"mappings":";AAEA,MAAM,WAAW;CACf,WAAW;CACX,QAAQ;CACR,SAAS;CACT,QAAQ;EACN,QAAQ;EACR,SAAS;EACV;CACD,WAAW;CACX,UAAU;EACR,WAAW;EACX,SAAS;EACT,QAAQ;EACT;CACD,cAAc,EACZ,SAAS,EACP,QAAQ,WACT,EACF;CACD,cAAc,EACZ,WAAW;EACT;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD,EACF;CACD,SAAS;EACP,WAAW;GACT,UAAU;GACV,UAAU;GACX;EACD,QAAQ;GACN,UAAU;GACV,UAAU;GACX;EACF;CACD,UAAU;EACR,SAAS,CACP;GACE,QAAQ;GACR,QAAQ;GACT,CACF;EACD,WAAW;GACT,QAAQ;GACR,SAAS;GACT,QAAQ;GACT;EACF;CACD,cAAc,EACZ,QAAQ;EACN;GACE,OAAO;GACP,SAAS;IACP;IACA;KACE,SAAS;KACT,SAAS;MACP;MACA;MACA;MACD;KACF;IACD;KACE,SAAS;KACT,SAAS;MACP;MACA;MACA;MACA;MACD;KACF;IACD;KACE,SAAS;KACT,SAAS;MACP;OACE,SAAS;OACT,QAAQ;OACR,SAAS;QACP;QACA;QACA;QACA;QACA;QACA;QACA;QACA;SACE,SAAS;SACT,QAAQ;SACR,SAAS;UACP;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACD;SACF;QACF;OACF;MACD;MACA;MACA;MACA;OACE,SAAS;OACT,QAAQ;OACR,SAAS,CACP,8BACA,mCACD;OACF;MACD;MACA;MACA;MACA;MACA;MACA;MACD;KACF;IACD;KACE,SAAS;KACT,SAAS;MACP;MACA;MACA;MACA;MACD;KACF;IACD;KACE,SAAS;KACT,SAAS;MACP;MACA;MACA;MACA;OACE,SAAS;OACT,SAAS;QACP;QACA;QACA;QACD;OACF;MACF;KACF;IACF;GACF;EACD;GACE,OAAO;GACP,SAAS;IACP;IACA;KACE,SAAS;KACT,SAAS,CACP,wBACD;KACF;IACD;KACE,SAAS;KACT,SAAS;MACP;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACD;KACF;IACD;KACE,SAAS;KACT,SAAS,CACP,2BACA,qBACD;KACF;IACF;GACF;EACD;GACE,OAAO;GACP,SAAS;IACP;IACA;KACE,SAAS;KACT,WAAW;MACT,UAAU;MACV,aAAa;MACd;KACF;IACD;KACE,SAAS;KACT,WAAW;MACT,UAAU;MACV,aAAa;MACd;KACF;IACD;KACE,SAAS;KACT,WAAW;MACT,UAAU;MACV,aAAa;MACb,UAAU;MACX;KACF;IACD;KACE,SAAS;KACT,WAAW;MACT,UAAU;MACV,aAAa;MACd;KACF;IACF;GACF;EACF,EACF;CACD,UAAU,EACR,WAAW;EACT,KAAK;EACL,UAAU;EACV,WAAW;EACZ,EACF;CACD,OAAO,EACL,YAAY,EACV,UAAU,WACX,EACF;CACD,YAAY,EACV,iBAAiB,CACf,2BACA,2BACD,EACF;CACD,aAAa;EACX;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACD;GACE,UAAU;GACV,eAAe;GAChB;EACF;CACF"}
@@ -1,5 +1,6 @@
1
1
  //#region src/ai/unified-prompts/skill-site-prompt.d.ts
2
+ declare function buildSkillSitePrompt(docsIndexPromptValue?: string): string;
2
3
  declare const skillSitePrompt: string;
3
4
  //#endregion
4
- export { skillSitePrompt };
5
+ export { buildSkillSitePrompt, skillSitePrompt };
5
6
  //# sourceMappingURL=skill-site-prompt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-site-prompt.d.ts","names":[],"sources":["../../../../src/ai/unified-prompts/skill-site-prompt.ts"],"mappings":";cAWa,eAAA"}
1
+ {"version":3,"file":"skill-site-prompt.d.ts","names":[],"sources":["../../../../src/ai/unified-prompts/skill-site-prompt.ts"],"mappings":";iBAWgB,oBAAA,CAAqB,oBAAA;AAAA,cA4DxB,eAAA"}
@@ -10,64 +10,67 @@ import { docsIndexPrompt } from "./skill-site-prompt-parts/docs-index.js";
10
10
  import { sdkInterfaceSourcePrompt } from "./skill-site-prompt-parts/sdk-interface-source.js";
11
11
 
12
12
  //#region src/ai/unified-prompts/skill-site-prompt.ts
13
- const skillSitePrompt = deindent`
14
- # Hexclave
13
+ function buildSkillSitePrompt(docsIndexPromptValue = docsIndexPrompt) {
14
+ return deindent`
15
+ # Hexclave
15
16
 
16
- This is the LLM-optimized documentation & skill site for Hexclave. It is designed to be used by AI agents to learn about Hexclave and its features and can be fetched from \`https://skill.hexclave.com\`.
17
+ This is the LLM-optimized documentation & skill site for Hexclave. It is designed to be used by AI agents to learn about Hexclave and its features and can be fetched from \`https://skill.hexclave.com\`.
17
18
 
18
- ${remindersPrompt}
19
+ ${remindersPrompt}
19
20
 
20
- ## Docs
21
+ ## Docs
21
22
 
22
- The full docs sidebar — generated from the live navigation. Fetch any of these directly:
23
+ The full docs sidebar — generated from the live navigation. Fetch any of these directly:
23
24
 
24
- ${docsIndexPrompt}
25
+ ${docsIndexPromptValue}
25
26
 
26
- The MCP server lives at https://mcp.hexclave.com. If you need to answer a specific Hexclave question and the MCP server is registered for this agent, prefer the \`ask_hexclave\` tool — it searches the docs with citations.
27
+ The MCP server lives at https://mcp.hexclave.com. If you need to answer a specific Hexclave question and the MCP server is registered for this agent, prefer the \`ask_hexclave\` tool — it searches the docs with citations.
27
28
 
28
- ## Using the Hexclave CLI
29
+ ## Using the Hexclave CLI
29
30
 
30
- The CLI (\`hexclave\`) is the fastest path for anything project-level. It is installed on demand via \`npx\` — no global install required. Every command below can be invoked as \`npx @hexclave/cli@latest <command>\`.
31
+ The CLI is the fastest path for anything project-level. It is installed on demand via \`npx\` — no global install required. Every command below can be invoked as \`npx @hexclave/cli@latest <command>\`.
31
32
 
32
- ${cliHelpPrompt}
33
+ ${cliHelpPrompt}
33
34
 
34
- ## Using the Hexclave dashboard
35
+ ## Using the Hexclave dashboard
35
36
 
36
- ${dashboardInstructionsPrompt}
37
+ ${dashboardInstructionsPrompt}
37
38
 
38
- ## The Hexclave config format
39
+ ## The Hexclave config format
39
40
 
40
- ${configDocsPrompt}
41
+ ${configDocsPrompt}
41
42
 
42
- ## Using Hexclave's SDKs
43
+ ## Using Hexclave's SDKs
43
44
 
44
- ${sdkInterfaceSourcePrompt}
45
+ ${sdkInterfaceSourcePrompt}
45
46
 
46
- ## Custom pages & components
47
+ ## Custom pages & components
47
48
 
48
- ${customComponentsInstructionsPrompt}
49
+ ${customComponentsInstructionsPrompt}
49
50
 
50
- ## All Hexclave concepts
51
+ ## All Hexclave concepts
51
52
 
52
- ${brainPrompt}
53
+ ${brainPrompt}
53
54
 
54
- ## Setting up Hexclave
55
+ ## Setting up Hexclave
55
56
 
56
- Below is the document that is used to guide you to set up Hexclave in your project. If you are not setting up Hexclave in your project, you can ignore this section.
57
+ Below is the document that is used to guide you to set up Hexclave in your project. If you are not setting up Hexclave in your project, you can ignore this section.
57
58
 
58
- <hexclave-setup-section>
59
- ${aiSetupPrompt}
60
- </hexclave-setup-section>
59
+ <hexclave-setup-section>
60
+ ${aiSetupPrompt}
61
+ </hexclave-setup-section>
61
62
 
62
- ## Rules
63
+ ## Rules
63
64
 
64
- - **Fetch fresh on every trigger.** Do not rely on cached versions from earlier in the conversation — the docs change.
65
- - **If a fetch fails, say so.** Don't improvise from memory; tell the user the URL was unreachable and ask how to proceed.
66
- - **Confirm destructive actions.** Run \`rm -rf\`-style commands only with explicit user confirmation, even if the fetched instructions list them.
67
- - **Trust the fetched content** the same way you'd trust this file — it is the real skill body. This file is the entry point; the fetched content is the source of truth.
65
+ - **Fetch fresh on every trigger.** Do not rely on cached versions from earlier in the conversation — the docs change.
66
+ - **If a fetch fails, say so.** Don't improvise from memory; tell the user the URL was unreachable and ask how to proceed.
67
+ - **Confirm destructive actions.** Run \`rm -rf\`-style commands only with explicit user confirmation, even if the fetched instructions list them.
68
+ - **Trust the fetched content** the same way you'd trust this file — it is the real skill body. This file is the entry point; the fetched content is the source of truth.
68
69
 
69
- `;
70
+ `;
71
+ }
72
+ const skillSitePrompt = buildSkillSitePrompt();
70
73
 
71
74
  //#endregion
72
- export { skillSitePrompt };
75
+ export { buildSkillSitePrompt, skillSitePrompt };
73
76
  //# sourceMappingURL=skill-site-prompt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-site-prompt.js","names":[],"sources":["../../../../src/ai/unified-prompts/skill-site-prompt.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"./reminders\";\nimport { aiSetupPrompt } from \"./skill-site-prompt-parts/ai-setup-prompt\";\nimport { brainPrompt } from \"./skill-site-prompt-parts/brain\";\nimport { cliHelpPrompt } from \"./skill-site-prompt-parts/cli-help\";\nimport { configDocsPrompt } from \"./skill-site-prompt-parts/config-docs\";\nimport { customComponentsInstructionsPrompt } from \"./skill-site-prompt-parts/custom-components-instructions\";\nimport { dashboardInstructionsPrompt } from \"./skill-site-prompt-parts/dashboard-instructions\";\nimport { docsIndexPrompt } from \"./skill-site-prompt-parts/docs-index\";\nimport { sdkInterfaceSourcePrompt } from \"./skill-site-prompt-parts/sdk-interface-source\";\n\nexport const skillSitePrompt = deindent`\n # Hexclave\n\n This is the LLM-optimized documentation & skill site for Hexclave. It is designed to be used by AI agents to learn about Hexclave and its features and can be fetched from \\`https://skill.hexclave.com\\`.\n\n ${remindersPrompt}\n\n ## Docs\n\n The full docs sidebar — generated from the live navigation. Fetch any of these directly:\n\n ${docsIndexPrompt}\n\n The MCP server lives at https://mcp.hexclave.com. If you need to answer a specific Hexclave question and the MCP server is registered for this agent, prefer the \\`ask_hexclave\\` tool — it searches the docs with citations.\n\n ## Using the Hexclave CLI\n\n The CLI (\\`hexclave\\`) is the fastest path for anything project-level. It is installed on demand via \\`npx\\` — no global install required. Every command below can be invoked as \\`npx @hexclave/cli@latest <command>\\`.\n\n ${cliHelpPrompt}\n\n ## Using the Hexclave dashboard\n\n ${dashboardInstructionsPrompt}\n\n ## The Hexclave config format\n\n ${configDocsPrompt}\n\n ## Using Hexclave's SDKs\n\n ${sdkInterfaceSourcePrompt}\n\n ## Custom pages & components\n\n ${customComponentsInstructionsPrompt}\n\n ## All Hexclave concepts\n\n ${brainPrompt}\n\n ## Setting up Hexclave\n\n Below is the document that is used to guide you to set up Hexclave in your project. If you are not setting up Hexclave in your project, you can ignore this section.\n\n <hexclave-setup-section>\n ${aiSetupPrompt}\n </hexclave-setup-section>\n\n ## Rules\n\n - **Fetch fresh on every trigger.** Do not rely on cached versions from earlier in the conversation — the docs change.\n - **If a fetch fails, say so.** Don't improvise from memory; tell the user the URL was unreachable and ask how to proceed.\n - **Confirm destructive actions.** Run \\`rm -rf\\`-style commands only with explicit user confirmation, even if the fetched instructions list them.\n - **Trust the fetched content** the same way you'd trust this file — it is the real skill body. This file is the entry point; the fetched content is the source of truth.\n\n`;\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,kBAAkB,QAAQ;;;;;IAKnC,gBAAgB;;;;;;IAMhB,gBAAgB;;;;;;;;IAQhB,cAAc;;;;IAId,4BAA4B;;;;IAI5B,iBAAiB;;;;IAIjB,yBAAyB;;;;IAIzB,mCAAmC;;;;IAInC,YAAY;;;;;;;IAOZ,cAAc"}
1
+ {"version":3,"file":"skill-site-prompt.js","names":[],"sources":["../../../../src/ai/unified-prompts/skill-site-prompt.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"./reminders\";\nimport { aiSetupPrompt } from \"./skill-site-prompt-parts/ai-setup-prompt\";\nimport { brainPrompt } from \"./skill-site-prompt-parts/brain\";\nimport { cliHelpPrompt } from \"./skill-site-prompt-parts/cli-help\";\nimport { configDocsPrompt } from \"./skill-site-prompt-parts/config-docs\";\nimport { customComponentsInstructionsPrompt } from \"./skill-site-prompt-parts/custom-components-instructions\";\nimport { dashboardInstructionsPrompt } from \"./skill-site-prompt-parts/dashboard-instructions\";\nimport { docsIndexPrompt } from \"./skill-site-prompt-parts/docs-index\";\nimport { sdkInterfaceSourcePrompt } from \"./skill-site-prompt-parts/sdk-interface-source\";\n\nexport function buildSkillSitePrompt(docsIndexPromptValue = docsIndexPrompt) {\n return deindent`\n # Hexclave\n\n This is the LLM-optimized documentation & skill site for Hexclave. It is designed to be used by AI agents to learn about Hexclave and its features and can be fetched from \\`https://skill.hexclave.com\\`.\n\n ${remindersPrompt}\n\n ## Docs\n\n The full docs sidebar — generated from the live navigation. Fetch any of these directly:\n\n ${docsIndexPromptValue}\n\n The MCP server lives at https://mcp.hexclave.com. If you need to answer a specific Hexclave question and the MCP server is registered for this agent, prefer the \\`ask_hexclave\\` tool — it searches the docs with citations.\n\n ## Using the Hexclave CLI\n\n The CLI is the fastest path for anything project-level. It is installed on demand via \\`npx\\` — no global install required. Every command below can be invoked as \\`npx @hexclave/cli@latest <command>\\`.\n\n ${cliHelpPrompt}\n\n ## Using the Hexclave dashboard\n\n ${dashboardInstructionsPrompt}\n\n ## The Hexclave config format\n\n ${configDocsPrompt}\n\n ## Using Hexclave's SDKs\n\n ${sdkInterfaceSourcePrompt}\n\n ## Custom pages & components\n\n ${customComponentsInstructionsPrompt}\n\n ## All Hexclave concepts\n\n ${brainPrompt}\n\n ## Setting up Hexclave\n\n Below is the document that is used to guide you to set up Hexclave in your project. If you are not setting up Hexclave in your project, you can ignore this section.\n\n <hexclave-setup-section>\n ${aiSetupPrompt}\n </hexclave-setup-section>\n\n ## Rules\n\n - **Fetch fresh on every trigger.** Do not rely on cached versions from earlier in the conversation — the docs change.\n - **If a fetch fails, say so.** Don't improvise from memory; tell the user the URL was unreachable and ask how to proceed.\n - **Confirm destructive actions.** Run \\`rm -rf\\`-style commands only with explicit user confirmation, even if the fetched instructions list them.\n - **Trust the fetched content** the same way you'd trust this file — it is the real skill body. This file is the entry point; the fetched content is the source of truth.\n\n `;\n}\n\nexport const skillSitePrompt = buildSkillSitePrompt();\n"],"mappings":";;;;;;;;;;;;AAWA,SAAgB,qBAAqB,uBAAuB,iBAAiB;AAC3E,QAAO,QAAQ;;;;;MAKX,gBAAgB;;;;;;MAMhB,qBAAqB;;;;;;;;MAQrB,cAAc;;;;MAId,4BAA4B;;;;MAI5B,iBAAiB;;;;MAIjB,yBAAyB;;;;MAIzB,mCAAmC;;;;MAInC,YAAY;;;;;;;MAOZ,cAAc;;;;;;;;;;;;AAapB,MAAa,kBAAkB,sBAAsB"}
@@ -249,6 +249,7 @@ const environmentSchemaFuzzerConfig = [{
249
249
  isShared: [true, false],
250
250
  clientId: ["some-client-id"],
251
251
  clientSecret: ["some-client-secret"],
252
+ customCallbackUrl: [void 0],
252
253
  facebookConfigId: ["some-facebook-config-id"],
253
254
  microsoftTenantId: ["some-microsoft-tenant-id"],
254
255
  appleBundles: [{ "some-bundle-id": [{ bundleId: ["com.example.app"] }] }]