@hexclave/shared 1.0.52 → 1.0.53

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.
@@ -1 +1 @@
1
- {"version":3,"file":"llms.d.ts","names":[],"sources":["../../../src/ai/llms/llms.ts"],"mappings":";;;cAKa,OAAA;AAAA,cAMA,WAAA;AAAA,iBAEG,gBAAA,CAAiB,QAAA,GAAW,UAAU,QAAQ,oBAAA;AAAA,cAMjD,eAAA;EAAA;;;;;;iBAQG,sBAAA,CAAuB,IAAA,WAAe,QAAQ"}
1
+ {"version":3,"file":"llms.d.ts","names":[],"sources":["../../../src/ai/llms/llms.ts"],"mappings":";;;cAKa,OAAA;AAAA,cAeA,WAAA;AAAA,iBAEG,gBAAA,CAAiB,QAAA,GAAW,UAAU,QAAQ,oBAAA;AAAA,cAMjD,eAAA;EAAA;;;;;;iBAQG,sBAAA,CAAuB,IAAA,WAAe,QAAQ"}
@@ -7,7 +7,16 @@ let ___unified_prompts_skill_site_prompt_js = require("../unified-prompts/skill-
7
7
  const llmsTxt = ______utils_strings_js.deindent`
8
8
  # Hexclave
9
9
 
10
+ > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.
11
+
10
12
  ${___unified_prompts_reminders_js.remindersPrompt}
13
+
14
+ ## Docs
15
+
16
+ - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation
17
+ - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave
18
+ - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \`.md\` to a page URL for markdown
19
+ - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients
11
20
  `;
12
21
  const llmsFullTxt = ___unified_prompts_skill_site_prompt_js.skillSitePrompt;
13
22
  function buildLlmsFullTxt(docsJson) {
@@ -1 +1 @@
1
- {"version":3,"file":"llms.js","names":["remindersPrompt","skillSitePrompt"],"sources":["../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n ${remindersPrompt}\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;;AAKA,MAAa,UAAU,uBAAA,QAAQ;;;IAG3BA,gCAAAA,gBAAgB;;AAGpB,MAAa,cAAcC,wCAAAA;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChBA,wCAAAA,mBAAAA,GAAAA,wCAAAA,qBAAAA,EAAAA,GAAAA,yDAAAA,qBAAAA,CAC0C,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
1
+ {"version":3,"file":"llms.js","names":["remindersPrompt","skillSitePrompt"],"sources":["../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.\n\n ${remindersPrompt}\n\n ## Docs\n\n - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation\n - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave\n - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \\`.md\\` to a page URL for markdown\n - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;;AAKA,MAAa,UAAU,uBAAA,QAAQ;;;;;IAK3BA,gCAAAA,gBAAgB;;;;;;;;;AAUpB,MAAa,cAAcC,wCAAAA;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChBA,wCAAAA,mBAAAA,GAAAA,wCAAAA,qBAAAA,EAAAA,GAAAA,yDAAAA,qBAAAA,CAC0C,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"llms.d.ts","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"mappings":";;;cAKa,OAAA;AAAA,cAMA,WAAA;AAAA,iBAEG,gBAAA,CAAiB,QAAA,GAAW,UAAU,QAAQ,oBAAA;AAAA,cAMjD,eAAA;EAAA;;;;;;iBAQG,sBAAA,CAAuB,IAAA,WAAe,QAAQ"}
1
+ {"version":3,"file":"llms.d.ts","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"mappings":";;;cAKa,OAAA;AAAA,cAeA,WAAA;AAAA,iBAEG,gBAAA,CAAiB,QAAA,GAAW,UAAU,QAAQ,oBAAA;AAAA,cAMjD,eAAA;EAAA;;;;;;iBAQG,sBAAA,CAAuB,IAAA,WAAe,QAAQ"}
@@ -6,7 +6,16 @@ import { buildSkillSitePrompt, skillSitePrompt } from "../unified-prompts/skill-
6
6
  const llmsTxt = deindent`
7
7
  # Hexclave
8
8
 
9
+ > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.
10
+
9
11
  ${remindersPrompt}
12
+
13
+ ## Docs
14
+
15
+ - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation
16
+ - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave
17
+ - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \`.md\` to a page URL for markdown
18
+ - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients
10
19
  `;
11
20
  const llmsFullTxt = skillSitePrompt;
12
21
  function buildLlmsFullTxt(docsJson) {
@@ -1 +1 @@
1
- {"version":3,"file":"llms.js","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n ${remindersPrompt}\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;AAKA,MAAa,UAAU,QAAQ;;;IAG3B,gBAAgB;;AAGpB,MAAa,cAAc;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChB,kBACA,qBAAqB,qBAAqB,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
1
+ {"version":3,"file":"llms.js","names":[],"sources":["../../../../src/ai/llms/llms.ts"],"sourcesContent":["import { deindent } from \"../../utils/strings\";\nimport { remindersPrompt } from \"../unified-prompts/reminders\";\nimport { buildDocsIndexPrompt } from \"../unified-prompts/skill-site-prompt-parts/docs-index\";\nimport { buildSkillSitePrompt, skillSitePrompt } from \"../unified-prompts/skill-site-prompt\";\n\nexport const llmsTxt = deindent`\n # Hexclave\n\n > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.\n\n ${remindersPrompt}\n\n ## Docs\n\n - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation\n - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave\n - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \\`.md\\` to a page URL for markdown\n - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients\n`;\n\nexport const llmsFullTxt = skillSitePrompt;\n\nexport function buildLlmsFullTxt(docsJson?: Parameters<typeof buildDocsIndexPrompt>[0]): string {\n return docsJson === undefined\n ? skillSitePrompt\n : buildSkillSitePrompt(buildDocsIndexPrompt(docsJson));\n}\n\nexport const llmsTextHeaders = {\n \"Cache-Control\": \"public, max-age=3600, s-maxage=3600\",\n \"Access-Control-Allow-Origin\": \"*\",\n \"Access-Control-Allow-Methods\": \"GET, HEAD, OPTIONS\",\n \"Access-Control-Allow-Headers\": \"*\",\n \"Content-Type\": \"text/plain; charset=utf-8\",\n} as const;\n\nexport function createLlmsTextResponse(body: string): Response {\n if (typeof body !== \"string\" || body === \"\") {\n throw new TypeError(\"createLlmsTextResponse: body must be a non-empty string\");\n }\n\n return new Response(body, {\n headers: llmsTextHeaders,\n });\n}\n"],"mappings":";;;;;AAKA,MAAa,UAAU,QAAQ;;;;;IAK3B,gBAAgB;;;;;;;;;AAUpB,MAAa,cAAc;AAE3B,SAAgB,iBAAiB,UAA+D;CAC9F,OAAO,aAAa,KAAA,IAChB,kBACA,qBAAqB,qBAAqB,QAAQ,CAAC;AACzD;AAEA,MAAa,kBAAkB;CAC7B,iBAAiB;CACjB,+BAA+B;CAC/B,gCAAgC;CAChC,gCAAgC;CAChC,gBAAgB;AAClB;AAEA,SAAgB,uBAAuB,MAAwB;CAC7D,IAAI,OAAO,SAAS,YAAY,SAAS,IACvC,MAAM,IAAI,UAAU,yDAAyD;CAG/E,OAAO,IAAI,SAAS,MAAM,EACxB,SAAS,gBACX,CAAC;AACH"}
@@ -49,16 +49,16 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
49
49
  userPrimaryEmail: string | null;
50
50
  userProfileImageUrl: string | null;
51
51
  subject: string;
52
- status: "pending" | "open" | "closed";
52
+ status: "open" | "pending" | "closed";
53
53
  priority: "low" | "normal" | "high" | "urgent";
54
54
  source: "email" | "manual" | "chat" | "api";
55
55
  lastMessageType: "message" | "internal-note" | "status-change";
56
56
  preview: string | null;
57
57
  lastActivityAt: string;
58
58
  metadata: {
59
- tags: string[];
60
59
  assignedToUserId: string | null;
61
60
  assignedToDisplayName: string | null;
61
+ tags: string[];
62
62
  firstResponseDueAt: string | null;
63
63
  firstResponseAt: string | null;
64
64
  nextResponseDueAt: string | null;
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
129
129
  userId: string | null;
130
130
  teamId: string | null;
131
131
  subject: string;
132
- status: "pending" | "open" | "closed";
132
+ status: "open" | "pending" | "closed";
133
133
  priority: "low" | "normal" | "high" | "urgent";
134
134
  source: "email" | "manual" | "chat" | "api";
135
135
  messageType: "message" | "internal-note" | "status-change";
@@ -173,29 +173,29 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
173
173
  lastOutboundAt?: string | null | undefined;
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
- status: "pending" | "open" | "closed";
176
+ status: "open" | "pending" | "closed";
177
177
  priority: "low" | "normal" | "high" | "urgent";
178
178
  subject: string;
179
+ conversationId: string;
180
+ userId: string | null;
181
+ teamId: string | null;
182
+ userDisplayName: string | null;
183
+ userPrimaryEmail: string | null;
184
+ userProfileImageUrl: string | null;
179
185
  source: "email" | "manual" | "chat" | "api";
186
+ lastMessageType: "message" | "internal-note" | "status-change";
187
+ preview: string | null;
188
+ lastActivityAt: string;
180
189
  metadata: {
181
- tags: string[];
182
190
  assignedToUserId: string | null;
183
191
  assignedToDisplayName: string | null;
192
+ tags: string[];
184
193
  firstResponseDueAt: string | null;
185
194
  firstResponseAt: string | null;
186
195
  nextResponseDueAt: string | null;
187
196
  lastCustomerReplyAt: string | null;
188
197
  lastAgentReplyAt: string | null;
189
198
  };
190
- conversationId: string;
191
- userId: string | null;
192
- teamId: string | null;
193
- userDisplayName: string | null;
194
- userPrimaryEmail: string | null;
195
- userProfileImageUrl: string | null;
196
- lastMessageType: "message" | "internal-note" | "status-change";
197
- preview: string | null;
198
- lastActivityAt: string;
199
199
  }[];
200
200
  hasMore: boolean;
201
201
  }, yup$1.AnyObject, {
@@ -211,43 +211,43 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
211
211
  lastOutboundAt?: string | null | undefined;
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
- status: "pending" | "open" | "closed";
214
+ status: "open" | "pending" | "closed";
215
215
  priority: "low" | "normal" | "high" | "urgent";
216
216
  subject: string;
217
+ conversationId: string;
218
+ userId: string | null;
219
+ teamId: string | null;
220
+ userDisplayName: string | null;
221
+ userPrimaryEmail: string | null;
222
+ userProfileImageUrl: string | null;
217
223
  source: "email" | "manual" | "chat" | "api";
224
+ lastMessageType: "message" | "internal-note" | "status-change";
225
+ preview: string | null;
226
+ lastActivityAt: string;
218
227
  metadata: {
219
- tags: string[];
220
228
  assignedToUserId: string | null;
221
229
  assignedToDisplayName: string | null;
230
+ tags: string[];
222
231
  firstResponseDueAt: string | null;
223
232
  firstResponseAt: string | null;
224
233
  nextResponseDueAt: string | null;
225
234
  lastCustomerReplyAt: string | null;
226
235
  lastAgentReplyAt: string | null;
227
236
  };
228
- conversationId: string;
229
- userId: string | null;
230
- teamId: string | null;
231
- userDisplayName: string | null;
232
- userPrimaryEmail: string | null;
233
- userProfileImageUrl: string | null;
234
- lastMessageType: "message" | "internal-note" | "status-change";
235
- preview: string | null;
236
- lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
- status: "pending" | "open" | "closed";
239
+ status: "open" | "pending" | "closed";
240
240
  id: string;
241
241
  priority: "low" | "normal" | "high" | "urgent";
242
242
  subject: string;
243
- body: string | null;
244
- source: "email" | "manual" | "chat" | "api";
245
- metadata: {} | null;
246
243
  conversationId: string;
247
244
  userId: string | null;
248
245
  teamId: string | null;
246
+ source: "email" | "manual" | "chat" | "api";
247
+ metadata: {} | null;
249
248
  createdAt: string;
250
249
  messageType: "message" | "internal-note" | "status-change";
250
+ body: string | null;
251
251
  attachments: {}[];
252
252
  sender: {
253
253
  type: "user" | "agent" | "system";
@@ -49,16 +49,16 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
49
49
  userPrimaryEmail: string | null;
50
50
  userProfileImageUrl: string | null;
51
51
  subject: string;
52
- status: "pending" | "open" | "closed";
52
+ status: "open" | "pending" | "closed";
53
53
  priority: "low" | "normal" | "high" | "urgent";
54
54
  source: "email" | "manual" | "chat" | "api";
55
55
  lastMessageType: "message" | "internal-note" | "status-change";
56
56
  preview: string | null;
57
57
  lastActivityAt: string;
58
58
  metadata: {
59
- tags: string[];
60
59
  assignedToUserId: string | null;
61
60
  assignedToDisplayName: string | null;
61
+ tags: string[];
62
62
  firstResponseDueAt: string | null;
63
63
  firstResponseAt: string | null;
64
64
  nextResponseDueAt: string | null;
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
129
129
  userId: string | null;
130
130
  teamId: string | null;
131
131
  subject: string;
132
- status: "pending" | "open" | "closed";
132
+ status: "open" | "pending" | "closed";
133
133
  priority: "low" | "normal" | "high" | "urgent";
134
134
  source: "email" | "manual" | "chat" | "api";
135
135
  messageType: "message" | "internal-note" | "status-change";
@@ -173,29 +173,29 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
173
173
  lastOutboundAt?: string | null | undefined;
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
- status: "pending" | "open" | "closed";
176
+ status: "open" | "pending" | "closed";
177
177
  priority: "low" | "normal" | "high" | "urgent";
178
178
  subject: string;
179
+ conversationId: string;
180
+ userId: string | null;
181
+ teamId: string | null;
182
+ userDisplayName: string | null;
183
+ userPrimaryEmail: string | null;
184
+ userProfileImageUrl: string | null;
179
185
  source: "email" | "manual" | "chat" | "api";
186
+ lastMessageType: "message" | "internal-note" | "status-change";
187
+ preview: string | null;
188
+ lastActivityAt: string;
180
189
  metadata: {
181
- tags: string[];
182
190
  assignedToUserId: string | null;
183
191
  assignedToDisplayName: string | null;
192
+ tags: string[];
184
193
  firstResponseDueAt: string | null;
185
194
  firstResponseAt: string | null;
186
195
  nextResponseDueAt: string | null;
187
196
  lastCustomerReplyAt: string | null;
188
197
  lastAgentReplyAt: string | null;
189
198
  };
190
- conversationId: string;
191
- userId: string | null;
192
- teamId: string | null;
193
- userDisplayName: string | null;
194
- userPrimaryEmail: string | null;
195
- userProfileImageUrl: string | null;
196
- lastMessageType: "message" | "internal-note" | "status-change";
197
- preview: string | null;
198
- lastActivityAt: string;
199
199
  }[];
200
200
  hasMore: boolean;
201
201
  }, yup$1.AnyObject, {
@@ -211,43 +211,43 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
211
211
  lastOutboundAt?: string | null | undefined;
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
- status: "pending" | "open" | "closed";
214
+ status: "open" | "pending" | "closed";
215
215
  priority: "low" | "normal" | "high" | "urgent";
216
216
  subject: string;
217
+ conversationId: string;
218
+ userId: string | null;
219
+ teamId: string | null;
220
+ userDisplayName: string | null;
221
+ userPrimaryEmail: string | null;
222
+ userProfileImageUrl: string | null;
217
223
  source: "email" | "manual" | "chat" | "api";
224
+ lastMessageType: "message" | "internal-note" | "status-change";
225
+ preview: string | null;
226
+ lastActivityAt: string;
218
227
  metadata: {
219
- tags: string[];
220
228
  assignedToUserId: string | null;
221
229
  assignedToDisplayName: string | null;
230
+ tags: string[];
222
231
  firstResponseDueAt: string | null;
223
232
  firstResponseAt: string | null;
224
233
  nextResponseDueAt: string | null;
225
234
  lastCustomerReplyAt: string | null;
226
235
  lastAgentReplyAt: string | null;
227
236
  };
228
- conversationId: string;
229
- userId: string | null;
230
- teamId: string | null;
231
- userDisplayName: string | null;
232
- userPrimaryEmail: string | null;
233
- userProfileImageUrl: string | null;
234
- lastMessageType: "message" | "internal-note" | "status-change";
235
- preview: string | null;
236
- lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
- status: "pending" | "open" | "closed";
239
+ status: "open" | "pending" | "closed";
240
240
  id: string;
241
241
  priority: "low" | "normal" | "high" | "urgent";
242
242
  subject: string;
243
- body: string | null;
244
- source: "email" | "manual" | "chat" | "api";
245
- metadata: {} | null;
246
243
  conversationId: string;
247
244
  userId: string | null;
248
245
  teamId: string | null;
246
+ source: "email" | "manual" | "chat" | "api";
247
+ metadata: {} | null;
249
248
  createdAt: string;
250
249
  messageType: "message" | "internal-note" | "status-change";
250
+ body: string | null;
251
251
  attachments: {}[];
252
252
  sender: {
253
253
  type: "user" | "agent" | "system";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",
@@ -6,7 +6,16 @@ import { buildSkillSitePrompt, skillSitePrompt } from "../unified-prompts/skill-
6
6
  export const llmsTxt = deindent`
7
7
  # Hexclave
8
8
 
9
+ > Hexclave is an authentication and user management platform for SaaS apps, with teams, RBAC, payments, and analytics. Formerly Stack Auth.
10
+
9
11
  ${remindersPrompt}
12
+
13
+ ## Docs
14
+
15
+ - [Full documentation](https://skill.hexclave.com/full): LLM-optimized Hexclave documentation
16
+ - [Ask questions](https://skill.hexclave.com/ask): Q&A endpoint for Hexclave
17
+ - [Human documentation](https://docs.hexclave.com): Browse the docs, or add \`.md\` to a page URL for markdown
18
+ - [MCP server](https://mcp.hexclave.com): Hexclave documentation for MCP clients
10
19
  `;
11
20
 
12
21
  export const llmsFullTxt = skillSitePrompt;