qarpeo 0.1.18 → 0.1.21

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 (237) hide show
  1. package/README.md +96 -96
  2. package/dist/chunks/auth-schema.mjs +3 -1
  3. package/dist/chunks/wrangler.mjs +22 -3
  4. package/dist/cli/index.mjs +448 -221
  5. package/dist/fate/index.d.ts +29 -22
  6. package/dist/fate/index.mjs +1 -3
  7. package/dist/module.d.ts +1 -1
  8. package/dist/module.mjs +103 -82
  9. package/dist/runtime/ai.d.ts +2 -2
  10. package/dist/runtime/app/components/BlobImage.vue +119 -107
  11. package/dist/runtime/app/components/CMSBlocks.vue +104 -93
  12. package/dist/runtime/app/components/CMSContent.vue +24 -23
  13. package/dist/runtime/app/components/CMSImage.vue +49 -49
  14. package/dist/runtime/app/components/CMSLocaleSwitcher.vue +110 -110
  15. package/dist/runtime/app/components/CMSPreviewBanner.vue +83 -79
  16. package/dist/runtime/app/components/CMSVersionBanner.vue +53 -49
  17. package/dist/runtime/app/components/CMSVersionSwitcher.vue +140 -140
  18. package/dist/runtime/app/components/ContentRenderer.vue +83 -80
  19. package/dist/runtime/app/components/FileUpload.vue +200 -196
  20. package/dist/runtime/app/components/ImpersonationBanner.vue +61 -57
  21. package/dist/runtime/app/components/QarpeoWelcome.vue +84 -84
  22. package/dist/runtime/app/components/SignedIn.vue +13 -13
  23. package/dist/runtime/app/components/SignedOut.vue +13 -13
  24. package/dist/runtime/app/components/shiki.css +34 -34
  25. package/dist/runtime/app/composables/ai.d.ts +22 -22
  26. package/dist/runtime/app/composables/ai.mjs +3 -7
  27. package/dist/runtime/app/composables/analytics.mjs +1 -1
  28. package/dist/runtime/app/composables/api-tokens.mjs +1 -1
  29. package/dist/runtime/app/composables/auth.d.ts +6 -7
  30. package/dist/runtime/app/composables/auth.mjs +6 -3
  31. package/dist/runtime/app/composables/chat.mjs +3 -7
  32. package/dist/runtime/app/composables/cms-preview.d.ts +3 -3
  33. package/dist/runtime/app/composables/cms-preview.mjs +1 -1
  34. package/dist/runtime/app/composables/cms.d.ts +3 -5
  35. package/dist/runtime/app/composables/cms.mjs +2 -2
  36. package/dist/runtime/app/composables/docs-version.d.ts +8 -7
  37. package/dist/runtime/app/composables/docs-version.mjs +3 -3
  38. package/dist/runtime/app/composables/impersonation.mjs +1 -1
  39. package/dist/runtime/app/composables/notifications.d.ts +5 -5
  40. package/dist/runtime/app/composables/notifications.mjs +4 -5
  41. package/dist/runtime/app/composables/organization.mjs +1 -1
  42. package/dist/runtime/app/composables/passkey.mjs +1 -1
  43. package/dist/runtime/app/composables/passwordless.mjs +1 -1
  44. package/dist/runtime/app/composables/payments.d.ts +2 -1
  45. package/dist/runtime/app/composables/payments.mjs +1 -1
  46. package/dist/runtime/app/composables/realtime.d.ts +13 -13
  47. package/dist/runtime/app/composables/realtime.mjs +2 -2
  48. package/dist/runtime/app/composables/resumable-upload.d.ts +11 -11
  49. package/dist/runtime/app/composables/resumable-upload.mjs +1 -1
  50. package/dist/runtime/app/composables/site.mjs +1 -1
  51. package/dist/runtime/app/composables/storage.d.ts +151 -11
  52. package/dist/runtime/app/composables/storage.mjs +291 -33
  53. package/dist/runtime/app/composables/turnstile.mjs +1 -1
  54. package/dist/runtime/app/composables/two-factor.mjs +1 -1
  55. package/dist/runtime/app/pages/devtools/agents.vue +716 -716
  56. package/dist/runtime/app/pages/devtools/analytics.vue +616 -616
  57. package/dist/runtime/app/pages/devtools/auth.vue +381 -350
  58. package/dist/runtime/app/pages/devtools/blob.vue +743 -744
  59. package/dist/runtime/app/pages/devtools/db.vue +545 -545
  60. package/dist/runtime/app/pages/devtools/domains.vue +771 -771
  61. package/dist/runtime/app/pages/devtools/kv.vue +827 -828
  62. package/dist/runtime/app/pages/devtools/logs.vue +649 -653
  63. package/dist/runtime/app/pages/devtools/mail.vue +388 -388
  64. package/dist/runtime/app/pages/devtools/overview.vue +391 -389
  65. package/dist/runtime/app/pages/devtools/realtime.vue +89 -27
  66. package/dist/runtime/app/pages/devtools/security.vue +20 -5
  67. package/dist/runtime/app/pages/devtools/settings.vue +559 -559
  68. package/dist/runtime/app/pages/devtools/tasks.vue +26 -10
  69. package/dist/runtime/app/pages/devtools.vue +176 -176
  70. package/dist/runtime/app/plugins/seo.mjs +1 -1
  71. package/dist/runtime/app/plugins/shortcuts.client.d.ts +1 -4
  72. package/dist/runtime/app/public/sw-notifications.mjs +47 -52
  73. package/dist/runtime/blob.mjs +11 -4
  74. package/dist/runtime/browser.d.ts +1 -1
  75. package/dist/runtime/browser.mjs +12 -2
  76. package/dist/runtime/cache.d.ts +2 -1
  77. package/dist/runtime/kv.mjs +4 -1
  78. package/dist/runtime/providers/qarpeo.d.ts +3 -3
  79. package/dist/runtime/server/durable-objects/agent.mjs +1 -1
  80. package/dist/runtime/server/durable-objects/room.d.ts +2 -2
  81. package/dist/runtime/server/durable-objects/room.mjs +5 -5
  82. package/dist/runtime/server/middleware/devtools.mjs +6 -2
  83. package/dist/runtime/server/plugins/cms.d.ts +4 -2
  84. package/dist/runtime/server/plugins/dev-proxy.mjs +1 -1
  85. package/dist/runtime/server/routes/__qarpeo/agents/chat.post.d.ts +2 -2
  86. package/dist/runtime/server/routes/__qarpeo/agents/chat.post.mjs +4 -1
  87. package/dist/runtime/server/routes/__qarpeo/analytics/events.get.d.ts +1 -4
  88. package/dist/runtime/server/routes/__qarpeo/analytics/summary.get.d.ts +2 -2
  89. package/dist/runtime/server/routes/__qarpeo/analytics/summary.get.mjs +5 -1
  90. package/dist/runtime/server/routes/__qarpeo/db/tables.get.d.ts +2 -2
  91. package/dist/runtime/server/routes/__qarpeo/db/tables.get.mjs +1 -1
  92. package/dist/runtime/server/routes/__qarpeo/logs.get.d.ts +4 -1
  93. package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.mjs +1 -1
  94. package/dist/runtime/server/routes/__qarpeo/mail/track/open/[id].get.mjs +2 -2
  95. package/dist/runtime/server/routes/__qarpeo/overview.get.d.ts +2 -2
  96. package/dist/runtime/server/routes/__qarpeo/realtime/broadcast.post.d.ts +2 -2
  97. package/dist/runtime/server/routes/__qarpeo/realtime/broadcast.post.mjs +1 -1
  98. package/dist/runtime/server/routes/__qarpeo/realtime/clear.post.d.ts +1 -4
  99. package/dist/runtime/server/routes/__qarpeo/realtime/clear.post.mjs +1 -1
  100. package/dist/runtime/server/routes/__qarpeo/realtime/disconnect.post.d.ts +1 -4
  101. package/dist/runtime/server/routes/__qarpeo/realtime/disconnect.post.mjs +1 -1
  102. package/dist/runtime/server/routes/__qarpeo/realtime/room.get.d.ts +2 -2
  103. package/dist/runtime/server/routes/__qarpeo/realtime/rooms.get.d.ts +2 -2
  104. package/dist/runtime/server/routes/__qarpeo/security/analytics.get.d.ts +2 -2
  105. package/dist/runtime/server/routes/__qarpeo/security/ban.post.d.ts +1 -4
  106. package/dist/runtime/server/routes/__qarpeo/security/clear.post.d.ts +1 -4
  107. package/dist/runtime/server/routes/__qarpeo/security/unban.post.d.ts +1 -4
  108. package/dist/runtime/server/routes/__qarpeo/settings.get.mjs +1 -1
  109. package/dist/runtime/server/routes/__qarpeo/tasks/run.post.mjs +3 -1
  110. package/dist/runtime/server/routes/agents/[agent]/chat.post.mjs +8 -2
  111. package/dist/runtime/server/routes/agents/[agent]/clear.post.mjs +8 -2
  112. package/dist/runtime/server/routes/agents/[agent]/history.get.mjs +8 -2
  113. package/dist/runtime/server/routes/ai/embed.post.d.ts +1 -4
  114. package/dist/runtime/server/routes/ai/search.post.d.ts +2 -2
  115. package/dist/runtime/server/routes/auth/account.delete.mjs +1 -1
  116. package/dist/runtime/server/routes/auth/handler.mjs +6 -1
  117. package/dist/runtime/server/routes/auth/magic-link/verify.get.mjs +1 -1
  118. package/dist/runtime/server/routes/auth/organization/members/[id].delete.mjs +7 -1
  119. package/dist/runtime/server/routes/auth/otp/verify.post.mjs +1 -1
  120. package/dist/runtime/server/routes/auth/sso/login.get.mjs +7 -1
  121. package/dist/runtime/server/routes/auth/sso/oidc/callback.get.mjs +8 -2
  122. package/dist/runtime/server/routes/auth/sso/saml/acs.post.mjs +7 -2
  123. package/dist/runtime/server/routes/auth/webauthn/login/options.post.mjs +1 -1
  124. package/dist/runtime/server/routes/auth/webauthn/login/verify.post.mjs +7 -2
  125. package/dist/runtime/server/routes/auth/webauthn/register/options.post.mjs +6 -1
  126. package/dist/runtime/server/routes/auth/webauthn/register/verify.post.mjs +6 -1
  127. package/dist/runtime/server/routes/browser/crawl.post.d.ts +1 -2
  128. package/dist/runtime/server/routes/browser/invoice.post.d.ts +1 -2
  129. package/dist/runtime/server/routes/browser/og-image.post.d.ts +2 -2
  130. package/dist/runtime/server/routes/browser/pdf.post.d.ts +1 -2
  131. package/dist/runtime/server/routes/browser/pdf.post.mjs +6 -1
  132. package/dist/runtime/server/routes/browser/screenshot.post.d.ts +2 -2
  133. package/dist/runtime/server/routes/browser/screenshot.post.mjs +5 -1
  134. package/dist/runtime/server/routes/cms/components/index.get.d.ts +2 -2
  135. package/dist/runtime/server/routes/cms/preview/disable.get.d.ts +4 -3
  136. package/dist/runtime/server/routes/cms/preview/enable.get.d.ts +8 -8
  137. package/dist/runtime/server/routes/cms/search.get.mjs +1 -1
  138. package/dist/runtime/server/routes/cms/webhooks/[provider].post.d.ts +7 -7
  139. package/dist/runtime/server/routes/cms/webhooks/[provider].post.mjs +9 -2
  140. package/dist/runtime/server/routes/docs/search.get.d.ts +9 -9
  141. package/dist/runtime/server/routes/fate.mjs +5 -8
  142. package/dist/runtime/server/routes/mail/bounce.post.d.ts +2 -2
  143. package/dist/runtime/server/routes/mail/unsubscribe.d.ts +2 -2
  144. package/dist/runtime/server/routes/mail/webhooks.post.d.ts +2 -2
  145. package/dist/runtime/server/routes/mail/webhooks.post.mjs +7 -1
  146. package/dist/runtime/server/routes/payments/usage.get.d.ts +8 -8
  147. package/dist/runtime/server/routes/payments/usage.post.d.ts +2 -2
  148. package/dist/runtime/server/routes/realtime/history.delete.d.ts +4 -3
  149. package/dist/runtime/server/routes/realtime/history.get.d.ts +7 -6
  150. package/dist/runtime/server/routes/realtime/ws.get.mjs +6 -1
  151. package/dist/runtime/server/routes/robots.txt.get.mjs +1 -1
  152. package/dist/runtime/server/routes/sitemap.xml.get.mjs +2 -1
  153. package/dist/runtime/server/routes/storage/multipart/abort.post.d.ts +2 -2
  154. package/dist/runtime/server/routes/storage/multipart/complete.post.d.ts +2 -2
  155. package/dist/runtime/server/routes/storage/multipart/complete.post.mjs +2 -2
  156. package/dist/runtime/server/routes/storage/multipart/create.post.d.ts +2 -2
  157. package/dist/runtime/server/routes/storage/multipart/create.post.mjs +7 -3
  158. package/dist/runtime/server/routes/storage/multipart/part.put.d.ts +2 -2
  159. package/dist/runtime/server/routes/storage/multipart/part.put.mjs +1 -1
  160. package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.mjs +2 -4
  161. package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.mjs +2 -4
  162. package/dist/runtime/server/routes/tenants/[tenant]/domains/index.get.mjs +1 -1
  163. package/dist/runtime/server/routes/tenants/[tenant]/domains/index.post.mjs +2 -4
  164. package/dist/runtime/server/tasks/cms/publish.mjs +1 -1
  165. package/dist/runtime/server/utils/ai.d.ts +9 -9
  166. package/dist/runtime/server/utils/ai.mjs +3 -3
  167. package/dist/runtime/server/utils/auth.d.ts +12 -16
  168. package/dist/runtime/server/utils/auth.mjs +15 -9
  169. package/dist/runtime/server/utils/bots.mjs +21 -7
  170. package/dist/runtime/server/utils/browser-utils.d.ts +44 -41
  171. package/dist/runtime/server/utils/browser-utils.mjs +14 -4
  172. package/dist/runtime/server/utils/cache.d.ts +5 -5
  173. package/dist/runtime/server/utils/cms/common.d.ts +26 -0
  174. package/dist/runtime/server/utils/cms/common.mjs +68 -0
  175. package/dist/runtime/server/utils/cms/git.d.ts +24 -0
  176. package/dist/runtime/server/utils/cms/git.mjs +240 -0
  177. package/dist/runtime/server/utils/cms/markdown.d.ts +22 -0
  178. package/dist/runtime/server/utils/cms/markdown.mjs +92 -0
  179. package/dist/runtime/server/utils/cms/path.d.ts +51 -0
  180. package/dist/runtime/server/utils/cms/path.mjs +127 -0
  181. package/dist/runtime/server/utils/cms/search.d.ts +22 -0
  182. package/dist/runtime/server/utils/cms/search.mjs +221 -0
  183. package/dist/runtime/server/utils/cms-events.d.ts +1 -1
  184. package/dist/runtime/server/utils/cms-events.mjs +2 -2
  185. package/dist/runtime/server/utils/cms-filter.mjs +2 -2
  186. package/dist/runtime/server/utils/cms.d.ts +17 -149
  187. package/dist/runtime/server/utils/cms.mjs +52 -761
  188. package/dist/runtime/server/utils/config.d.ts +5 -4
  189. package/dist/runtime/server/utils/domains.mjs +7 -4
  190. package/dist/runtime/server/utils/email-templates.d.ts +10 -7
  191. package/dist/runtime/server/utils/email-templates.mjs +20 -5
  192. package/dist/runtime/server/utils/feed.d.ts +2 -2
  193. package/dist/runtime/server/utils/feed.mjs +3 -1
  194. package/dist/runtime/server/utils/mail-suppression.d.ts +8 -24
  195. package/dist/runtime/server/utils/mail-suppression.mjs +2 -2
  196. package/dist/runtime/server/utils/mail.d.ts +7 -8
  197. package/dist/runtime/server/utils/mail.mjs +17 -12
  198. package/dist/runtime/server/utils/multipart-store.d.ts +2 -2
  199. package/dist/runtime/server/utils/notifications.d.ts +9 -23
  200. package/dist/runtime/server/utils/organization.mjs +4 -12
  201. package/dist/runtime/server/utils/passwordless.mjs +1 -1
  202. package/dist/runtime/server/utils/payments.d.ts +2 -6
  203. package/dist/runtime/server/utils/payments.mjs +1 -1
  204. package/dist/runtime/server/utils/queue.d.ts +21 -31
  205. package/dist/runtime/server/utils/rag.d.ts +4 -4
  206. package/dist/runtime/server/utils/rag.mjs +8 -8
  207. package/dist/runtime/server/utils/realtime-store.d.ts +2 -2
  208. package/dist/runtime/server/utils/realtime.d.ts +26 -28
  209. package/dist/runtime/server/utils/scheduled-task.d.ts +1 -3
  210. package/dist/runtime/server/utils/security-store.d.ts +2 -2
  211. package/dist/runtime/server/utils/session.d.ts +9 -11
  212. package/dist/runtime/server/utils/sso.d.ts +9 -15
  213. package/dist/runtime/server/utils/sso.mjs +4 -8
  214. package/dist/runtime/server/utils/storage.d.ts +19 -2
  215. package/dist/runtime/server/utils/storage.mjs +36 -7
  216. package/dist/runtime/server/utils/tenant.mjs +3 -1
  217. package/dist/runtime/server/utils/turnstile.d.ts +3 -5
  218. package/dist/runtime/server/utils/vapid.d.ts +5 -8
  219. package/dist/runtime/server/utils/vapid.mjs +26 -13
  220. package/dist/runtime/service.d.ts +13 -13
  221. package/dist/runtime/service.mjs +4 -2
  222. package/dist/runtime/test-utils.d.ts +20 -30
  223. package/dist/runtime/test-utils.mjs +5 -4
  224. package/dist/runtime/types/auth-globals.d.ts +14 -14
  225. package/dist/runtime/types/imports.d.ts +82 -82
  226. package/dist/runtime/types/index.d.ts +2 -2
  227. package/dist/runtime/types/r2.d.ts +5 -0
  228. package/dist/runtime/types/service.d.ts +11 -18
  229. package/dist/types.d.ts +100 -107
  230. package/dist/utils/auth-schema.d.ts +2 -2
  231. package/dist/utils/cms-sources.d.ts +3 -3
  232. package/dist/utils/local-db.d.ts +3 -3
  233. package/dist/utils/notifications-schema.d.ts +1 -3
  234. package/dist/utils/pkg.d.ts +7 -0
  235. package/dist/utils/queue.d.ts +3 -3
  236. package/dist/utils/tasks.d.ts +3 -2
  237. package/package.json +11 -8
package/dist/types.d.ts CHANGED
@@ -179,13 +179,9 @@ export interface AuthOptions {
179
179
  * @default false
180
180
  */
181
181
  apiTokens?: boolean;
182
- /**
183
- * Enterprise: Cloudflare Turnstile bot and abuse protection.
184
- */
182
+ /** Enterprise: Cloudflare Turnstile bot and abuse protection. */
185
183
  turnstile?: boolean | AuthTurnstileConfig;
186
- /**
187
- * Enterprise: Mandatory Multi-Factor Authentication enforcement policies.
188
- */
184
+ /** Enterprise: Mandatory Multi-Factor Authentication enforcement policies. */
189
185
  mfa?: AuthMfaConfig;
190
186
  /**
191
187
  * Enterprise: SAML 2.0 & Enterprise OIDC Single Sign-On (SSO).
@@ -193,9 +189,7 @@ export interface AuthOptions {
193
189
  * @default false
194
190
  */
195
191
  sso?: boolean | AuthSSOConfig;
196
- /**
197
- * Enterprise / GDPR: Self-serve account deletion settings.
198
- */
192
+ /** Enterprise / GDPR: Self-serve account deletion settings. */
199
193
  accountDeletion?: boolean | AuthAccountDeletionConfig;
200
194
  }
201
195
  export interface AuthTurnstileConfig {
@@ -215,8 +209,9 @@ export interface AuthTurnstileConfig {
215
209
  export interface AuthMfaConfig {
216
210
  /**
217
211
  * Policy for MFA enforcement:
218
- * - false / undefined: Optional MFA
219
- * - true: Enforced for all authenticated users
212
+ *
213
+ * - False / undefined: Optional MFA
214
+ * - True: Enforced for all authenticated users
220
215
  * - "org": Enforced if user's current organization has mfaRequired set
221
216
  * - "role": Enforced if user's role is in roles
222
217
  */
@@ -493,9 +488,7 @@ export interface AgentsOptions {
493
488
  * @default 30
494
489
  */
495
490
  maxContextMessages?: number;
496
- /**
497
- * Global Cloudflare AI Gateway configuration for all agent requests.
498
- */
491
+ /** Global Cloudflare AI Gateway configuration for all agent requests. */
499
492
  gateway?: AIGatewayOptions;
500
493
  }
501
494
  export type BotProvider = "telegram" | "slack" | "discord" | "github" | "whatsapp" | "generic";
@@ -523,16 +516,17 @@ export interface BotReplyOptions {
523
516
  ephemeral?: boolean;
524
517
  metadata?: Record<string, any>;
525
518
  /**
526
- * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message.
527
- * Set alse to disable for transactional emails (e.g. OTP, password reset).
519
+ * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message. Set alse to
520
+ * disable for transactional emails (e.g. OTP, password reset).
528
521
  */
529
522
  unsubscribe?: boolean | {
530
523
  url?: string;
531
524
  email?: string;
532
525
  };
533
526
  /**
534
- * Whether to check the suppression list before sending. Set alse to bypass
535
- * suppression checks for critical security or transactional emails.
527
+ * Whether to check the suppression list before sending. Set alse to bypass suppression checks for
528
+ * critical security or transactional emails.
529
+ *
536
530
  * @default true
537
531
  */
538
532
  suppression?: boolean;
@@ -553,6 +547,7 @@ export interface BotHandlerConfig<TPayload = any> {
553
547
  provider: BotProvider;
554
548
  /**
555
549
  * Secret or token used to verify incoming webhook signatures:
550
+ *
556
551
  * - Telegram: secret_token configured in setWebhook
557
552
  * - Slack: Signing Secret
558
553
  * - Discord: Public Key (hex string)
@@ -563,6 +558,7 @@ export interface BotHandlerConfig<TPayload = any> {
563
558
  secret?: string;
564
559
  /**
565
560
  * Bot API token or credentials for sending replies:
561
+ *
566
562
  * - Telegram: Bot Token from @BotFather (`TELEGRAM_BOT_TOKEN`)
567
563
  * - Slack: Bot User OAuth Token `xoxb-...` (`SLACK_BOT_TOKEN`)
568
564
  * - Discord: Bot Token (`DISCORD_BOT_TOKEN`)
@@ -571,28 +567,26 @@ export interface BotHandlerConfig<TPayload = any> {
571
567
  botToken?: string;
572
568
  /** Phone Number ID for WhatsApp Cloud API (falls back to `WHATSAPP_PHONE_NUMBER_ID`) */
573
569
  phoneNumberId?: string;
574
- /** Verify token for WhatsApp Cloud API GET challenge verification (falls back to `WHATSAPP_VERIFY_TOKEN`) */
575
- verifyToken?: string;
576
570
  /**
577
- * Optional name of a Qarpeo agent to auto-wire. Incoming user messages are automatically sent
578
- * to this agent and the agent's response is dispatched back to the chat platform.
571
+ * Verify token for WhatsApp Cloud API GET challenge verification (falls back to
572
+ * `WHATSAPP_VERIFY_TOKEN`)
579
573
  */
580
- agent?: string;
574
+ verifyToken?: string;
581
575
  /**
582
- * Custom session ID resolver for auto-wired agents. Defaults to `(msg) => msg.chatId`.
576
+ * Optional name of a Qarpeo agent to auto-wire. Incoming user messages are automatically sent to
577
+ * this agent and the agent's response is dispatched back to the chat platform.
583
578
  */
579
+ agent?: string;
580
+ /** Custom session ID resolver for auto-wired agents. Defaults to `(msg) => msg.chatId`. */
584
581
  agentSessionId?: (message: BotMessage, event: any) => string;
585
- /**
586
- * Custom hook called whenever a text message is received.
587
- */
582
+ /** Custom hook called whenever a text message is received. */
588
583
  onMessage?: (ctx: BotContext<TPayload>) => Promise<any> | any;
589
584
  /**
590
- * Custom hook called for any incoming platform event/action (e.g. Slack button clicks, GitHub push).
585
+ * Custom hook called for any incoming platform event/action (e.g. Slack button clicks, GitHub
586
+ * push).
591
587
  */
592
588
  onEvent?: (eventName: string, ctx: BotContext<TPayload>) => Promise<any> | any;
593
- /**
594
- * Custom signature verification validator if you wish to override the default verification.
595
- */
589
+ /** Custom signature verification validator if you wish to override the default verification. */
596
590
  verifySignature?: (event: any, rawBody: string) => Promise<boolean> | boolean;
597
591
  }
598
592
  export interface ChunkOptions {
@@ -600,7 +594,10 @@ export interface ChunkOptions {
600
594
  chunkSize?: number;
601
595
  /** Number of characters of overlap between consecutive chunks (default: 100) */
602
596
  chunkOverlap?: number;
603
- /** Custom separator pattern or array of separators in priority order (default: ['\n\n', '\n', '. ', ' ']) */
597
+ /**
598
+ * Custom separator pattern or array of separators in priority order (default: ['\n\n', '\n', '.
599
+ * ', ' '])
600
+ */
604
601
  separators?: string[];
605
602
  }
606
603
  export interface RAGDocument {
@@ -896,9 +893,9 @@ export interface MultitenantOptions {
896
893
  */
897
894
  headerName?: string;
898
895
  /**
899
- * Whether to allow header-based tenant override (`x-tenant-id`) in production.
900
- * When `false` (default), header override is strictly disabled in production to
901
- * prevent untrusted clients from spoofing tenant context.
896
+ * Whether to allow header-based tenant override (`x-tenant-id`) in production. When `false`
897
+ * (default), header override is strictly disabled in production to prevent untrusted clients from
898
+ * spoofing tenant context.
902
899
  *
903
900
  * @default false
904
901
  */
@@ -1136,8 +1133,8 @@ export interface MailTrackingOptions {
1136
1133
  */
1137
1134
  clicks?: boolean;
1138
1135
  /**
1139
- * Base URL used for tracking links and pixels (e.g. "https://myapp.com").
1140
- * Defaults to request host or site URL.
1136
+ * Base URL used for tracking links and pixels (e.g. "https://myapp.com"). Defaults to request
1137
+ * host or site URL.
1141
1138
  */
1142
1139
  baseUrl?: string;
1143
1140
  }
@@ -1155,40 +1152,41 @@ export interface MailSuppressionRecord {
1155
1152
  }
1156
1153
  export interface MailSuppressionOptions {
1157
1154
  /**
1158
- * Automatically add emails to the suppression list upon hard bounce, spam complaints, or unsubscribes.
1155
+ * Automatically add emails to the suppression list upon hard bounce, spam complaints, or
1156
+ * unsubscribes.
1157
+ *
1159
1158
  * @default true
1160
1159
  */
1161
1160
  autoSuppress?: boolean;
1162
1161
  /**
1163
- * Enforce suppression checks prior to dispatching outgoing mail.
1164
- * Suppressed addresses are automatically filtered out to protect sender domain reputation.
1162
+ * Enforce suppression checks prior to dispatching outgoing mail. Suppressed addresses are
1163
+ * automatically filtered out to protect sender domain reputation.
1164
+ *
1165
1165
  * @default true
1166
1166
  */
1167
1167
  enforce?: boolean;
1168
1168
  /**
1169
1169
  * Number of consecutive soft bounces before an address is permanently suppressed.
1170
+ *
1170
1171
  * @default 3
1171
1172
  */
1172
1173
  softBounceThreshold?: number;
1173
1174
  }
1174
1175
  export interface MailUnsubscribeOptions {
1175
1176
  /**
1176
- * Automatically generate and inject RFC 2369 & RFC 8058 compliant `List-Unsubscribe`
1177
- * and `List-Unsubscribe-Post: List-Unsubscribe=One-Click` headers.
1177
+ * Automatically generate and inject RFC 2369 & RFC 8058 compliant `List-Unsubscribe` and
1178
+ * `List-Unsubscribe-Post: List-Unsubscribe=One-Click` headers.
1179
+ *
1178
1180
  * @default true
1179
1181
  */
1180
1182
  enabled?: boolean;
1181
- /**
1182
- * Custom unsubscribe URL or base path (e.g. "https://myapp.com/api/mail/unsubscribe").
1183
- */
1183
+ /** Custom unsubscribe URL or base path (e.g. "https://myapp.com/api/mail/unsubscribe"). */
1184
1184
  url?: string;
1185
- /**
1186
- * Mailto fallback address for List-Unsubscribe header (e.g. "unsubscribe@myapp.com").
1187
- */
1185
+ /** Mailto fallback address for List-Unsubscribe header (e.g. "unsubscribe@myapp.com"). */
1188
1186
  email?: string;
1189
1187
  /**
1190
- * Secret key used to sign HMAC tokens for unsubscribe links.
1191
- * Defaults to auth secret or session secret.
1188
+ * Secret key used to sign HMAC tokens for unsubscribe links. Defaults to auth secret or session
1189
+ * secret.
1192
1190
  */
1193
1191
  secret?: string;
1194
1192
  }
@@ -1201,40 +1199,33 @@ export interface SendMailRequest {
1201
1199
  data?: Record<string, any>;
1202
1200
  html?: string;
1203
1201
  text?: string;
1204
- /**
1205
- * Markdown body content. Automatically parsed into responsive, email-client-safe HTML.
1206
- */
1202
+ /** Markdown body content. Automatically parsed into responsive, email-client-safe HTML. */
1207
1203
  markdown?: string;
1208
1204
  replyTo?: string;
1209
1205
  cc?: string | string[];
1210
1206
  bcc?: string | string[];
1211
1207
  headers?: Record<string, string>;
1212
- /**
1213
- * Queue this email for asynchronous background delivery via Cloudflare Queues.
1214
- */
1208
+ /** Queue this email for asynchronous background delivery via Cloudflare Queues. */
1215
1209
  queue?: boolean;
1216
- /**
1217
- * Enable open/click tracking for this specific message.
1218
- */
1210
+ /** Enable open/click tracking for this specific message. */
1219
1211
  track?: boolean | {
1220
1212
  opens?: boolean;
1221
1213
  clicks?: boolean;
1222
1214
  };
1223
- /**
1224
- * Arbitrary metadata associated with this message for tracking, analytics, and webhooks.
1225
- */
1215
+ /** Arbitrary metadata associated with this message for tracking, analytics, and webhooks. */
1226
1216
  metadata?: Record<string, any>;
1227
1217
  /**
1228
- * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message.
1229
- * Set alse to disable for transactional emails (e.g. OTP, password reset).
1218
+ * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message. Set alse to
1219
+ * disable for transactional emails (e.g. OTP, password reset).
1230
1220
  */
1231
1221
  unsubscribe?: boolean | {
1232
1222
  url?: string;
1233
1223
  email?: string;
1234
1224
  };
1235
1225
  /**
1236
- * Whether to check the suppression list before sending. Set alse to bypass
1237
- * suppression checks for critical security or transactional emails.
1226
+ * Whether to check the suppression list before sending. Set alse to bypass suppression checks for
1227
+ * critical security or transactional emails.
1228
+ *
1238
1229
  * @default true
1239
1230
  */
1240
1231
  suppression?: boolean;
@@ -1251,7 +1242,7 @@ export interface MailResult {
1251
1242
  suppressedRecipients?: string[];
1252
1243
  }
1253
1244
  export interface MailOptions {
1254
- /** Default sender address (e.g. "My App <noreply@myapp.com>"). */
1245
+ /** Default sender address (e.g. "My App [noreply@myapp.com](mailto:noreply@myapp.com)"). */
1255
1246
  from?: string;
1256
1247
  /**
1257
1248
  * Delivery provider.
@@ -1275,16 +1266,14 @@ export interface MailOptions {
1275
1266
  */
1276
1267
  devMailbox?: boolean;
1277
1268
  /**
1278
- * Enable queue-backed background email delivery using Cloudflare Queues.
1279
- * When true, messages sent with sendMail are enqueued and delivered asynchronously
1280
- * with automatic retries and exponential backoff.
1269
+ * Enable queue-backed background email delivery using Cloudflare Queues. When true, messages sent
1270
+ * with sendMail are enqueued and delivered asynchronously with automatic retries and exponential
1271
+ * backoff.
1281
1272
  *
1282
1273
  * @default false
1283
1274
  */
1284
1275
  queue?: boolean | string;
1285
- /**
1286
- * Configure open and click tracking.
1287
- */
1276
+ /** Configure open and click tracking. */
1288
1277
  tracking?: MailTrackingOptions;
1289
1278
  /**
1290
1279
  * Email suppression list configuration for managing bounces, spam complaints, and unsubscribes.
@@ -1421,14 +1410,13 @@ export interface StorageOptions {
1421
1410
  presets?: Record<string, StorageImagePreset>;
1422
1411
  };
1423
1412
  /**
1424
- * Automatically integrate `<BlobImage>` with Nuxt UI components
1425
- * (`<UAvatar>`, `<UCard>`, etc.) so their `src` props resolve R2 storage
1426
- * keys without custom slots.
1413
+ * Automatically integrate `<BlobImage>` with Nuxt UI components (`<UAvatar>`, `<UCard>`, etc.) so
1414
+ * their `src` props resolve R2 storage keys without custom slots.
1427
1415
  *
1428
- * - When `@nuxt/image` is installed, Qarpeo registers its built-in image
1429
- * provider and optionally sets it as the default provider.
1430
- * - When `@nuxt/image` is **not** installed, Qarpeo aliases Nuxt UI's
1431
- * internal image component to `<BlobImage>` via `#build/ui-image-component`.
1416
+ * - When `@nuxt/image` is installed, Qarpeo registers its built-in image provider and optionally
1417
+ * sets it as the default provider.
1418
+ * - When `@nuxt/image` is **not** installed, Qarpeo aliases Nuxt UI's internal image component to
1419
+ * `<BlobImage>` via `#build/ui-image-component`.
1432
1420
  *
1433
1421
  * Set to `false` to opt out of all automatic Nuxt UI / image integration.
1434
1422
  *
@@ -1436,9 +1424,9 @@ export interface StorageOptions {
1436
1424
  */
1437
1425
  ui?: boolean;
1438
1426
  /**
1439
- * When `@nuxt/image` is **also** installed, alias Nuxt UI's image slot to
1440
- * `<BlobImage>` anyway (via `components:extend`), so that the Qarpeo
1441
- * provider is always used even if another provider is the global default.
1427
+ * When `@nuxt/image` is **also** installed, alias Nuxt UI's image slot to `<BlobImage>` anyway
1428
+ * (via `components:extend`), so that the Qarpeo provider is always used even if another provider
1429
+ * is the global default.
1442
1430
  *
1443
1431
  * Ignored when `ui` is `false`.
1444
1432
  *
@@ -1707,8 +1695,8 @@ export interface CMSGitHubConfig {
1707
1695
  */
1708
1696
  token?: string;
1709
1697
  /**
1710
- * Secret used to verify incoming GitHub webhook signatures (`X-Hub-Signature-256`).
1711
- * Falls back to `process.env.GITHUB_WEBHOOK_SECRET` or `cms.webhookSecret`.
1698
+ * Secret used to verify incoming GitHub webhook signatures (`X-Hub-Signature-256`). Falls back to
1699
+ * `process.env.GITHUB_WEBHOOK_SECRET` or `cms.webhookSecret`.
1712
1700
  */
1713
1701
  webhookSecret?: string;
1714
1702
  }
@@ -1757,17 +1745,17 @@ export interface CMSRevisionsConfig {
1757
1745
  }
1758
1746
  export interface CMSOptions {
1759
1747
  /**
1760
- * Expose built-in REST API endpoints for the CMS at `apiPath` (e.g. `/api/cms/*`).
1761
- * When `false` (default), the CMS is purely headless and operated via server utilities.
1748
+ * Expose built-in REST API endpoints for the CMS at `apiPath` (e.g. `/api/cms/*`). When `false`
1749
+ * (default), the CMS is purely headless and operated via server utilities.
1762
1750
  *
1763
1751
  * @default false
1764
1752
  */
1765
1753
  api?: boolean;
1766
1754
  /**
1767
- * Base route path for public CMS API endpoints.
1768
- *
1769
- * @default "/api/cms"
1770
- */
1755
+ * Base route path for public CMS API endpoints.
1756
+ *
1757
+ * @default "/api/cms"
1758
+ */
1771
1759
  apiPath?: string;
1772
1760
  /**
1773
1761
  * Root directory in project for file-based markdown/MDX content.
@@ -1808,8 +1796,8 @@ export interface CMSOptions {
1808
1796
  /** Collections schema definitions. */
1809
1797
  collections?: Record<string, CMSCollectionConfig>;
1810
1798
  /**
1811
- * Globally registered reusable component definitions.
1812
- * Components can be referenced by name in collection fields using `type: \"component\"`\.
1799
+ * Globally registered reusable component definitions. Components can be referenced by name in
1800
+ * collection fields using `type: \"component\"`\.
1813
1801
  */
1814
1802
  components?: Record<string, CMSComponentDefinition>;
1815
1803
  /** Multi-source content aggregation sources (can also be defined via content _sources.yml files). */
@@ -1826,8 +1814,8 @@ export interface CMSOptions {
1826
1814
  /** Global outgoing webhook endpoints triggered on content mutations. */
1827
1815
  webhooks?: CMSWebhookConfig[];
1828
1816
  /**
1829
- * Secret used to authenticate incoming CMS webhooks (e.g. from GitHub, Cloudflare Queues, or CI/CD).
1830
- * Passed via `X-CMS-Secret`, `Authorization: Bearer <secret>`, or `X-Hub-Signature-256`.
1817
+ * Secret used to authenticate incoming CMS webhooks (e.g. from GitHub, Cloudflare Queues, or
1818
+ * CI/CD). Passed via `X-CMS-Secret`, `Authorization: Bearer <secret>`, or `X-Hub-Signature-256`.
1831
1819
  */
1832
1820
  webhookSecret?: string;
1833
1821
  /** Global approval workflow default for collections. */
@@ -2237,9 +2225,7 @@ export interface RealtimeMessage<T = unknown> {
2237
2225
  lastSeq?: number;
2238
2226
  timestamp?: number;
2239
2227
  }
2240
- /**
2241
- * Defines a type-safe schema definition for a room's synchronized state.
2242
- */
2228
+ /** Defines a type-safe schema definition for a room's synchronized state. */
2243
2229
  export interface RoomStateSchema<T extends Record<string, any> = Record<string, any>> {
2244
2230
  name?: string;
2245
2231
  initialState?: T;
@@ -2480,7 +2466,10 @@ export interface DocsVersionItem {
2480
2466
  isArchived?: boolean;
2481
2467
  }
2482
2468
  export interface SiteRobotsConfig {
2483
- /** Allow search engines to index the site. When false, generates Disallow: / on robots.txt and noindex meta. */
2469
+ /**
2470
+ * Allow search engines to index the site. When false, generates Disallow: / on robots.txt and
2471
+ * noindex meta.
2472
+ */
2484
2473
  index?: boolean;
2485
2474
  /** Paths to disallow in robots.txt. Defaults to ["/api/", "/devtools/", "/_qarpeo/"] */
2486
2475
  disallow?: string[];
@@ -2545,11 +2534,13 @@ export interface QarpeoSiteConfig {
2545
2534
  export interface FateOptions {
2546
2535
  /**
2547
2536
  * The route to mount the Fate batch handler on.
2537
+ *
2548
2538
  * @default "/fate"
2549
2539
  */
2550
2540
  endpoint?: string;
2551
2541
  /**
2552
2542
  * Directory (relative to project root) where `views.ts` is located.
2543
+ *
2553
2544
  * @default "server/fate"
2554
2545
  */
2555
2546
  viewsDir?: string;
@@ -2753,14 +2744,15 @@ export interface QarpeoOptions {
2753
2744
  * Enable Fate Relay-style normalized data fetching.
2754
2745
  *
2755
2746
  * When `true`, qarpeo will:
2747
+ *
2756
2748
  * - Auto-install `@nkzw/fate` and `vue-fate`
2757
2749
  * - Mount a `/fate` batch handler automatically
2758
2750
  * - Add the Fate Vue plugin (SSR hydration included)
2759
2751
  * - Auto-import `useRequest`, `useListView`, `useView`, `useFateClient`
2760
2752
  * - Auto-import everything in `app/fate/` (view selectors)
2761
2753
  *
2762
- * Define your entities and resolvers in `server/fate/views.ts` using
2763
- * the `defineFateViews` helper from `qarpeo/fate`.
2754
+ * Define your entities and resolvers in `server/fate/views.ts` using the `defineFateViews` helper
2755
+ * from `qarpeo/fate`.
2764
2756
  *
2765
2757
  * @default false
2766
2758
  */
@@ -2787,16 +2779,17 @@ export interface NotificationRecord {
2787
2779
  createdAt: number;
2788
2780
  metadata?: Record<string, any>;
2789
2781
  /**
2790
- * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message.
2791
- * Set alse to disable for transactional emails (e.g. OTP, password reset).
2782
+ * Enable or customize RFC 2369 / RFC 8058 List-Unsubscribe headers for this message. Set alse to
2783
+ * disable for transactional emails (e.g. OTP, password reset).
2792
2784
  */
2793
2785
  unsubscribe?: boolean | {
2794
2786
  url?: string;
2795
2787
  email?: string;
2796
2788
  };
2797
2789
  /**
2798
- * Whether to check the suppression list before sending. Set alse to bypass
2799
- * suppression checks for critical security or transactional emails.
2790
+ * Whether to check the suppression list before sending. Set alse to bypass suppression checks for
2791
+ * critical security or transactional emails.
2792
+ *
2800
2793
  * @default true
2801
2794
  */
2802
2795
  suppression?: boolean;
@@ -2837,8 +2830,8 @@ export interface NotificationsOptions {
2837
2830
  */
2838
2831
  tableName?: string;
2839
2832
  /**
2840
- * VAPID configuration for browser Web Push notifications.
2841
- * Can also be configured via NUXT_VAPID_PUBLIC_KEY, NUXT_VAPID_PRIVATE_KEY, NUXT_VAPID_SUBJECT.
2833
+ * VAPID configuration for browser Web Push notifications. Can also be configured via
2834
+ * NUXT_VAPID_PUBLIC_KEY, NUXT_VAPID_PRIVATE_KEY, NUXT_VAPID_SUBJECT.
2842
2835
  */
2843
2836
  vapid?: NotificationsVapidOptions;
2844
2837
  /**
@@ -3,7 +3,7 @@ export declare const ALL_AUTH_TABLE_NAMES: readonly ["user", "account", "session
3
3
  /** Returns the list of active auth table names based on enabled feature flags in `auth`. */
4
4
  export declare function getActiveAuthTableNames(auth?: boolean | AuthOptions): string[];
5
5
  /**
6
- * Composes Drizzle SQLite schema conforming to the official Better Auth specifications.
7
- * Merged at build time into `#qarpeo/auth/schema` and virtual `@schema`.
6
+ * Composes Drizzle SQLite schema conforming to the official Better Auth specifications. Merged at
7
+ * build time into `#qarpeo/auth/schema` and virtual `@schema`.
8
8
  */
9
9
  export declare function generateAuthSchema(auth?: boolean | AuthOptions): string;
@@ -53,9 +53,9 @@ export declare function discoverSources(contentDir: string): Promise<Array<{
53
53
  * Resolves all discovered and config-declared sources into absolute disk paths and normalized
54
54
  * prefixes. Downloads remote sources via giget tarball into the cache directory.
55
55
  *
56
- * @param options.cacheOnly When true, skips remote downloads and only uses already-cached dirs.
57
- * Use this in Nuxt module `setup()` to avoid blocking startup — then call again (without
58
- * cacheOnly) in a `build:before` hook to fetch any missing remote sources.
56
+ * @param options.cacheOnly When true, skips remote downloads and only uses already-cached dirs. Use
57
+ * this in Nuxt module `setup()` to avoid blocking startup — then call again (without cacheOnly)
58
+ * in a `build:before` hook to fetch any missing remote sources.
59
59
  */
60
60
  export declare function resolveAllCmsSources(options: {
61
61
  contentDir: string;
@@ -19,9 +19,9 @@ export interface ApplyD1MigrationsOptions {
19
19
  label?: string;
20
20
  }
21
21
  /**
22
- * Automatically applies unapplied D1 database migrations.
23
- * Safe to call on dev server startup or during build: checks if migration files exist,
24
- * runs wrangler migrations apply, and handles non-interactive confirmation automatically.
22
+ * Automatically applies unapplied D1 database migrations. Safe to call on dev server startup or
23
+ * during build: checks if migration files exist, runs wrangler migrations apply, and handles
24
+ * non-interactive confirmation automatically.
25
25
  */
26
26
  export declare function applyD1Migrations(cwd: string, options?: ApplyD1MigrationsOptions): boolean;
27
27
  /** Legacy alias for backward compatibility. */
@@ -9,7 +9,5 @@ export declare function getActiveNotificationsTableNames(notifications?: boolean
9
9
  * Stores in-app notification records and Web Push subscriptions in Cloudflare D1.
10
10
  */
11
11
  export declare function generateNotificationsSchema(notifications?: boolean | NotificationsOptions): string;
12
- /**
13
- * Returns raw SQL DDL for table creation.
14
- */
12
+ /** Returns raw SQL DDL for table creation. */
15
13
  export declare function generateNotificationsSql(options?: boolean | NotificationsOptions): string;
@@ -1,3 +1,10 @@
1
+ import { type SpawnSyncOptions, type SpawnSyncReturns } from "node:child_process";
2
+ /**
3
+ * Safe cross-platform spawnSync that avoids DEP0190 (Node v24+) by never using `shell: true` with
4
+ * an args array. On Windows, .cmd/.bat files are dispatched through `cmd.exe /d /s /c` explicitly
5
+ * so they can still run without a shell.
6
+ */
7
+ export declare function spawnBinSync(bin: string, args: string[], options?: Omit<SpawnSyncOptions, "shell">): SpawnSyncReturns<any>;
1
8
  /** Checks if a package is installed in the target project directory or bundled by qarpeo. */
2
9
  export declare function isPackageInstalled(packageName: string, cwd?: string): boolean;
3
10
  /** Checks if a binary exists in node_modules/.bin (in cwd, parent, or qarpeo tree). */
@@ -2,8 +2,8 @@ import type { LayerLike } from "./drizzle.js";
2
2
  /**
3
3
  * Searches across all Nuxt layers for queue consumer handler files:
4
4
  *
5
- * - server/queue.ts
6
- * - server/queue/index.ts
7
- * - server/queues/*.ts
5
+ * - Server/queue.ts
6
+ * - Server/queue/index.ts
7
+ * - Server/queues/*.ts
8
8
  */
9
9
  export declare function findQueueFiles(layers: readonly LayerLike[]): string[];
@@ -7,7 +7,8 @@ export interface DiscoveredScheduledTask {
7
7
  description?: string;
8
8
  }
9
9
  /**
10
- * Searches across all Nuxt layers for scheduled task definitions inside `server/tasks/` or `server/cron/`.
11
- * Detects cron expressions declared in `defineScheduledTask({ cron: "...", ... })`.
10
+ * Searches across all Nuxt layers for scheduled task definitions inside `server/tasks/` or
11
+ * `server/cron/`. Detects cron expressions declared in `defineScheduledTask({ cron: "...", ...
12
+ * })`.
12
13
  */
13
14
  export declare function findScheduledTasks(layers: readonly LayerLike[], dirNames?: string[]): DiscoveredScheduledTask[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qarpeo",
3
- "version": "0.1.18",
3
+ "version": "0.1.21",
4
4
  "description": "Zero-config Cloudflare Edge Platform for Nuxt",
5
5
  "keywords": [
6
6
  "analytics-engine",
@@ -59,7 +59,7 @@
59
59
  "@better-auth/drizzle-adapter": "1.7.20",
60
60
  "@comark/vue": "0.9.1",
61
61
  "@nuxt/devtools-kit": "^4.1.0",
62
- "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611092254-8b7f263",
62
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611101502-0366cac",
63
63
  "@simplewebauthn/browser": "14.0.0",
64
64
  "@simplewebauthn/server": "14.0.3",
65
65
  "better-auth": "1.7.20",
@@ -85,12 +85,12 @@
85
85
  "@typescript/typescript6": "^6.0.2",
86
86
  "h3": "^2.0.8",
87
87
  "nitro": "3.0.261103-rc",
88
- "nuxt": "npm:nuxt-nightly@^5.0.0-2611092254-8b7f263",
88
+ "nuxt": "npm:nuxt-nightly@^5.0.0-2611101502-0366cac",
89
89
  "typescript": "^7.0.2",
90
90
  "unbuild": "^3.6.1",
91
- "vite-plus": "1.5.0",
91
+ "vite-plus": "1.6.0",
92
92
  "vue": "^3.6.0-rc.14",
93
- "vue-sfc-transformer": "^0.3.1"
93
+ "vue-sfc-transformer": "^0.3.2"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "@cloudflare/puppeteer": ">=1.0.0",
@@ -117,13 +117,16 @@
117
117
  },
118
118
  "scripts": {
119
119
  "build": "unbuild && vpx tsc --emitDeclarationOnly --declaration --declarationMap false --outDir dist --project tsconfig.json",
120
- "test": "vp test run",
121
120
  "dev": "nuxt dev playground",
122
121
  "dev:build": "nuxt build playground",
123
122
  "dev:prepare": "nuxt prepare playground",
124
- "docs:dev": "nuxt dev docs",
125
123
  "docs:build": "nuxt build docs",
124
+ "docs:deploy": "qp deploy docs",
125
+ "docs:deploy:no-build": "qp deploy docs --no-build",
126
+ "docs:dev": "nuxt dev docs",
126
127
  "docs:generate": "nuxt generate docs",
127
- "docs:prepare": "nuxt prepare docs"
128
+ "docs:prepare": "nuxt prepare docs",
129
+ "init": "qp init docs",
130
+ "test": "vp test run"
128
131
  }
129
132
  }