@hexclave/shared 1.0.21 → 1.0.22

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 (34) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt.js +4 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +34 -34
  6. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
  8. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +4 -1
  9. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  10. package/dist/esm/config/schema.d.ts +34 -34
  11. package/dist/esm/interface/admin-interface.d.ts +1 -0
  12. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  13. package/dist/esm/interface/admin-interface.js +2 -1
  14. package/dist/esm/interface/admin-interface.js.map +1 -1
  15. package/dist/esm/interface/client-interface.js +1 -1
  16. package/dist/esm/interface/conversations.d.ts +9 -9
  17. package/dist/esm/interface/crud/email-outbox.d.ts +156 -156
  18. package/dist/esm/interface/crud/email-outbox.js +1 -1
  19. package/dist/esm/interface/crud/email-outbox.js.map +1 -1
  20. package/dist/esm/interface/server-interface.js +1 -1
  21. package/dist/interface/admin-interface.d.ts +1 -0
  22. package/dist/interface/admin-interface.d.ts.map +1 -1
  23. package/dist/interface/admin-interface.js +2 -1
  24. package/dist/interface/admin-interface.js.map +1 -1
  25. package/dist/interface/client-interface.js +1 -1
  26. package/dist/interface/conversations.d.ts +9 -9
  27. package/dist/interface/crud/email-outbox.d.ts +156 -156
  28. package/dist/interface/crud/email-outbox.js +1 -1
  29. package/dist/interface/crud/email-outbox.js.map +1 -1
  30. package/dist/interface/server-interface.js +1 -1
  31. package/package.json +1 -1
  32. package/src/ai/unified-prompts/skill-site-prompt.ts +4 -1
  33. package/src/interface/admin-interface.ts +2 -1
  34. package/src/interface/crud/email-outbox.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../chunk-BE-pF4vm.js');
3
- let ______apps_apps_config_js = require("../../apps/apps-config.js");
4
3
  let ______utils_strings_js = require("../../utils/strings.js");
4
+ let ______apps_apps_config_js = require("../../apps/apps-config.js");
5
5
 
6
6
  //#region src/ai/unified-prompts/reminders.ts
7
7
  const remindersPrompt = ______utils_strings_js.deindent`
@@ -1 +1 @@
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"}
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,cA+DxB,eAAA"}
@@ -22,7 +22,10 @@ function buildSkillSitePrompt(docsIndexPromptValue = __skill_site_prompt_parts_d
22
22
 
23
23
  ## Docs
24
24
 
25
- The full docs sidebar — generated from the live navigation. Fetch any of these directly:
25
+ The full docs sidebar — generated from the live navigation. Fetch any of these directly.
26
+
27
+ To retrieve docs as Markdown, use these endpoints:
28
+ - For a specific docs page, append \`.md\` to the canonical docs URL. For example, fetch \`https://docs.hexclave.com/guides/getting-started/setup.md\` for the Markdown version of \`https://docs.hexclave.com/guides/getting-started/setup\`.
26
29
 
27
30
  ${docsIndexPromptValue}
28
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"skill-site-prompt.js","names":["docsIndexPrompt","remindersPrompt","cliHelpPrompt","dashboardInstructionsPrompt","configDocsPrompt","sdkInterfaceSourcePrompt","customComponentsInstructionsPrompt","brainPrompt","aiSetupPrompt"],"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 full 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/full\\`. For specific questions, prefer the concise answer endpoint at \\`https://skill.hexclave.com/ask\\` or the equivalent \\`ask_hexclave\\` MCP tool.\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,uBAAuBA,yDAAiB;AAC3E,QAAO,+BAAQ;;;;;MAKXC,+BAAgB;;;;;;MAMhB,qBAAqB;;;;;;;;MAQrBC,oDAAc;;;;MAIdC,gFAA4B;;;;MAI5BC,0DAAiB;;;;MAIjBC,2EAAyB;;;;MAIzBC,+FAAmC;;;;MAInCC,+CAAY;;;;;;;MAOZC,2DAAc;;;;;;;;;;;;AAapB,MAAa,kBAAkB,sBAAsB"}
1
+ {"version":3,"file":"skill-site-prompt.js","names":["docsIndexPrompt","remindersPrompt","cliHelpPrompt","dashboardInstructionsPrompt","configDocsPrompt","sdkInterfaceSourcePrompt","customComponentsInstructionsPrompt","brainPrompt","aiSetupPrompt"],"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 full 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/full\\`. For specific questions, prefer the concise answer endpoint at \\`https://skill.hexclave.com/ask\\` or the equivalent \\`ask_hexclave\\` MCP tool.\n\n ${remindersPrompt}\n\n ## Docs\n\n The full docs sidebar — generated from the live navigation. Fetch any of these directly.\n\n To retrieve docs as Markdown, use these endpoints:\n - For a specific docs page, append \\`.md\\` to the canonical docs URL. For example, fetch \\`https://docs.hexclave.com/guides/getting-started/setup.md\\` for the Markdown version of \\`https://docs.hexclave.com/guides/getting-started/setup\\`.\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,uBAAuBA,yDAAiB;AAC3E,QAAO,+BAAQ;;;;;MAKXC,+BAAgB;;;;;;;;;MAShB,qBAAqB;;;;;;;;MAQrBC,oDAAc;;;;MAIdC,gFAA4B;;;;MAI5BC,0DAAiB;;;;MAIjBC,2EAAyB;;;;MAIzBC,+FAAmC;;;;MAInCC,+CAAY;;;;;;;MAOZC,2DAAc;;;;;;;;;;;;AAapB,MAAa,kBAAkB,sBAAsB"}
@@ -84,7 +84,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
84
84
  sourceOfTruth: {
85
85
  type: "hosted";
86
86
  };
87
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
87
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
@@ -147,8 +147,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
147
147
  };
148
148
  signUpRules: Record<string, {
149
149
  displayName?: string | undefined;
150
- enabled?: boolean | undefined;
151
150
  priority?: number | undefined;
151
+ enabled?: boolean | undefined;
152
152
  condition?: string | undefined;
153
153
  action: {
154
154
  message?: string | undefined;
@@ -187,6 +187,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
187
187
  tsxSource: string;
188
188
  }>;
189
189
  };
190
+ users: {
191
+ allowClientUserDeletion?: boolean | undefined;
192
+ };
190
193
  apiKeys: {
191
194
  enabled: {
192
195
  team?: boolean | undefined;
@@ -199,9 +202,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
199
202
  }>;
200
203
  };
201
204
  domains: {};
202
- users: {
203
- allowClientUserDeletion?: boolean | undefined;
204
- };
205
205
  dbSync: {
206
206
  externalDatabases: Record<string, {
207
207
  connectionString?: string | undefined;
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
218
218
  project: {
219
219
  requirePublishableClientKey: undefined;
220
220
  };
221
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
221
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
222
222
  rbac: {
223
223
  permissions: undefined;
224
224
  defaultPermissions: {
@@ -293,7 +293,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
293
293
  sourceOfTruth: {
294
294
  type: "hosted";
295
295
  };
296
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
296
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
297
297
  payments?: {
298
298
  blockNewPurchases?: boolean | undefined;
299
299
  autoPay?: {
@@ -356,8 +356,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
356
356
  };
357
357
  signUpRules: Record<string, {
358
358
  displayName?: string | undefined;
359
- enabled?: boolean | undefined;
360
359
  priority?: number | undefined;
360
+ enabled?: boolean | undefined;
361
361
  condition?: string | undefined;
362
362
  action: {
363
363
  message?: string | undefined;
@@ -396,6 +396,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
396
396
  tsxSource: string;
397
397
  }>;
398
398
  };
399
+ users: {
400
+ allowClientUserDeletion?: boolean | undefined;
401
+ };
399
402
  apiKeys: {
400
403
  enabled: {
401
404
  team?: boolean | undefined;
@@ -408,9 +411,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
408
411
  }>;
409
412
  };
410
413
  domains: {};
411
- users: {
412
- allowClientUserDeletion?: boolean | undefined;
413
- };
414
414
  dbSync: {
415
415
  externalDatabases: Record<string, {
416
416
  connectionString?: string | undefined;
@@ -487,8 +487,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
487
487
  };
488
488
  signUpRules: Record<string, {
489
489
  displayName?: string | undefined;
490
- enabled?: boolean | undefined;
491
490
  priority?: number | undefined;
491
+ enabled?: boolean | undefined;
492
492
  condition?: string | undefined;
493
493
  action: {
494
494
  message?: string | undefined;
@@ -575,7 +575,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
575
575
  project: {
576
576
  requirePublishableClientKey: undefined;
577
577
  };
578
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
578
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
579
579
  rbac: {
580
580
  permissions: undefined;
581
581
  defaultPermissions: {
@@ -648,7 +648,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
648
648
  project: {
649
649
  requirePublishableClientKey: undefined;
650
650
  };
651
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
651
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
652
652
  rbac: {
653
653
  permissions: undefined;
654
654
  defaultPermissions: {
@@ -721,7 +721,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
721
721
  project: {
722
722
  requirePublishableClientKey: undefined;
723
723
  };
724
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
724
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
725
725
  rbac: {
726
726
  permissions: undefined;
727
727
  defaultPermissions: {
@@ -797,7 +797,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
797
797
  project: {
798
798
  requirePublishableClientKey: undefined;
799
799
  };
800
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
800
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
801
801
  rbac: {
802
802
  permissions: undefined;
803
803
  defaultPermissions: {
@@ -883,7 +883,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
883
883
  project: {
884
884
  requirePublishableClientKey: undefined;
885
885
  };
886
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
886
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
887
887
  rbac: {
888
888
  permissions: undefined;
889
889
  defaultPermissions: {
@@ -959,7 +959,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
959
959
  project: {
960
960
  requirePublishableClientKey: undefined;
961
961
  };
962
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
962
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
963
963
  rbac: {
964
964
  permissions: undefined;
965
965
  defaultPermissions: {
@@ -1041,7 +1041,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1041
1041
  sourceOfTruth: {
1042
1042
  type: "hosted";
1043
1043
  };
1044
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1044
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1045
1045
  payments?: {
1046
1046
  blockNewPurchases?: boolean | undefined;
1047
1047
  autoPay?: {
@@ -1104,8 +1104,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1104
1104
  };
1105
1105
  signUpRules: Record<string, {
1106
1106
  displayName?: string | undefined;
1107
- enabled?: boolean | undefined;
1108
1107
  priority?: number | undefined;
1108
+ enabled?: boolean | undefined;
1109
1109
  condition?: string | undefined;
1110
1110
  action: {
1111
1111
  message?: string | undefined;
@@ -1144,6 +1144,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1144
1144
  tsxSource: string;
1145
1145
  }>;
1146
1146
  };
1147
+ users: {
1148
+ allowClientUserDeletion?: boolean | undefined;
1149
+ };
1147
1150
  apiKeys: {
1148
1151
  enabled: {
1149
1152
  team?: boolean | undefined;
@@ -1156,9 +1159,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1156
1159
  }>;
1157
1160
  };
1158
1161
  domains: {};
1159
- users: {
1160
- allowClientUserDeletion?: boolean | undefined;
1161
- };
1162
1162
  dbSync: {
1163
1163
  externalDatabases: Record<string, {
1164
1164
  connectionString?: string | undefined;
@@ -1235,8 +1235,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1235
1235
  };
1236
1236
  signUpRules: Record<string, {
1237
1237
  displayName?: string | undefined;
1238
- enabled?: boolean | undefined;
1239
1238
  priority?: number | undefined;
1239
+ enabled?: boolean | undefined;
1240
1240
  condition?: string | undefined;
1241
1241
  action: {
1242
1242
  message?: string | undefined;
@@ -1323,7 +1323,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1323
1323
  project: {
1324
1324
  requirePublishableClientKey: undefined;
1325
1325
  };
1326
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1326
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1327
1327
  rbac: {
1328
1328
  permissions: undefined;
1329
1329
  defaultPermissions: {
@@ -1396,7 +1396,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1396
1396
  project: {
1397
1397
  requirePublishableClientKey: undefined;
1398
1398
  };
1399
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1399
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1400
1400
  rbac: {
1401
1401
  permissions: undefined;
1402
1402
  defaultPermissions: {
@@ -1469,7 +1469,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1469
1469
  project: {
1470
1470
  requirePublishableClientKey: undefined;
1471
1471
  };
1472
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1472
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1473
1473
  rbac: {
1474
1474
  permissions: undefined;
1475
1475
  defaultPermissions: {
@@ -1545,7 +1545,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1545
1545
  project: {
1546
1546
  requirePublishableClientKey: undefined;
1547
1547
  };
1548
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1548
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1549
1549
  rbac: {
1550
1550
  permissions: undefined;
1551
1551
  defaultPermissions: {
@@ -1631,7 +1631,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1631
1631
  project: {
1632
1632
  requirePublishableClientKey: undefined;
1633
1633
  };
1634
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1634
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1635
1635
  rbac: {
1636
1636
  permissions: undefined;
1637
1637
  defaultPermissions: {
@@ -1707,7 +1707,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1707
1707
  project: {
1708
1708
  requirePublishableClientKey: undefined;
1709
1709
  };
1710
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1710
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "users" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1711
1711
  rbac: {
1712
1712
  permissions: undefined;
1713
1713
  defaultPermissions: {
@@ -2073,8 +2073,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2073
2073
  };
2074
2074
  signUpRules: Record<string, {
2075
2075
  displayName: string | undefined;
2076
- enabled: boolean;
2077
2076
  priority: number;
2077
+ enabled: boolean;
2078
2078
  condition: string | undefined;
2079
2079
  action: {
2080
2080
  message: string | undefined;
@@ -2227,6 +2227,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2227
2227
  };
2228
2228
  };
2229
2229
  };
2230
+ users: {
2231
+ allowClientUserDeletion: boolean;
2232
+ };
2230
2233
  apiKeys: {
2231
2234
  enabled: {
2232
2235
  team: boolean;
@@ -2242,9 +2245,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2242
2245
  };
2243
2246
  };
2244
2247
  };
2245
- users: {
2246
- allowClientUserDeletion: boolean;
2247
- };
2248
2248
  dbSync: {
2249
2249
  externalDatabases: {
2250
2250
  [x: string]: {
@@ -1,5 +1,5 @@
1
- import { ALL_APPS } from "../../apps/apps-config.js";
2
1
  import { deindent } from "../../utils/strings.js";
2
+ import { ALL_APPS } from "../../apps/apps-config.js";
3
3
 
4
4
  //#region src/ai/unified-prompts/reminders.ts
5
5
  const remindersPrompt = deindent`
@@ -1 +1 @@
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"}
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,cA+DxB,eAAA"}
@@ -20,7 +20,10 @@ function buildSkillSitePrompt(docsIndexPromptValue = docsIndexPrompt) {
20
20
 
21
21
  ## Docs
22
22
 
23
- 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.
24
+
25
+ To retrieve docs as Markdown, use these endpoints:
26
+ - For a specific docs page, append \`.md\` to the canonical docs URL. For example, fetch \`https://docs.hexclave.com/guides/getting-started/setup.md\` for the Markdown version of \`https://docs.hexclave.com/guides/getting-started/setup\`.
24
27
 
25
28
  ${docsIndexPromptValue}
26
29
 
@@ -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 function buildSkillSitePrompt(docsIndexPromptValue = docsIndexPrompt) {\n return deindent`\n # Hexclave\n\n This is the full 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/full\\`. For specific questions, prefer the concise answer endpoint at \\`https://skill.hexclave.com/ask\\` or the equivalent \\`ask_hexclave\\` MCP tool.\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"}
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 full 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/full\\`. For specific questions, prefer the concise answer endpoint at \\`https://skill.hexclave.com/ask\\` or the equivalent \\`ask_hexclave\\` MCP tool.\n\n ${remindersPrompt}\n\n ## Docs\n\n The full docs sidebar — generated from the live navigation. Fetch any of these directly.\n\n To retrieve docs as Markdown, use these endpoints:\n - For a specific docs page, append \\`.md\\` to the canonical docs URL. For example, fetch \\`https://docs.hexclave.com/guides/getting-started/setup.md\\` for the Markdown version of \\`https://docs.hexclave.com/guides/getting-started/setup\\`.\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;;;;;;;;;MAShB,qBAAqB;;;;;;;;MAQrB,cAAc;;;;MAId,4BAA4B;;;;MAI5B,iBAAiB;;;;MAIjB,yBAAyB;;;;MAIzB,mCAAmC;;;;MAInC,YAAY;;;;;;;MAOZ,cAAc;;;;;;;;;;;;AAapB,MAAa,kBAAkB,sBAAsB"}