qarpeo 0.4.13 → 0.4.14

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 (299) hide show
  1. package/README.md +12 -6
  2. package/dist/apps/cms.d.ts +1 -1
  3. package/dist/apps/comments.d.ts +1 -1
  4. package/dist/apps/payments.d.ts +1 -1
  5. package/dist/apps/store.d.ts +1 -1
  6. package/dist/chunks/{manifest.get.mjs → tools.mjs} +445 -430
  7. package/dist/cli/index.mjs +756 -746
  8. package/dist/core/aliases.d.ts +1 -1
  9. package/dist/core/context.d.ts +1 -1
  10. package/dist/core/d1-migrate.d.ts +1 -1
  11. package/dist/core/devtools.d.ts +1 -1
  12. package/dist/core/nitro.d.ts +1 -1
  13. package/dist/core/schema.d.ts +1 -1
  14. package/dist/core/server-utils.d.ts +1 -1
  15. package/dist/core/wrangler.d.ts +1 -1
  16. package/dist/fate/index.d.ts +8 -8
  17. package/dist/fate/index.mjs +3 -1
  18. package/dist/features/agents.d.ts +1 -1
  19. package/dist/features/auth.d.ts +1 -1
  20. package/dist/features/bots.d.ts +1 -1
  21. package/dist/features/console.d.ts +1 -1
  22. package/dist/features/fate.d.ts +1 -1
  23. package/dist/features/mail.d.ts +1 -1
  24. package/dist/features/mcp.d.ts +1 -1
  25. package/dist/features/multitenant.d.ts +1 -1
  26. package/dist/features/notifications.d.ts +1 -1
  27. package/dist/features/realtime.d.ts +1 -1
  28. package/dist/features/studio.d.ts +4 -0
  29. package/dist/module.d.ts +1 -1
  30. package/dist/module.mjs +5139 -5067
  31. package/dist/primitives/ai.d.ts +1 -1
  32. package/dist/primitives/analytics.d.ts +1 -1
  33. package/dist/primitives/blob.d.ts +1 -1
  34. package/dist/primitives/browser.d.ts +1 -1
  35. package/dist/primitives/cache.d.ts +1 -1
  36. package/dist/primitives/d1.d.ts +1 -1
  37. package/dist/primitives/do.d.ts +1 -1
  38. package/dist/primitives/email.d.ts +1 -1
  39. package/dist/primitives/hyperdrive.d.ts +1 -1
  40. package/dist/primitives/kv.d.ts +1 -1
  41. package/dist/primitives/queue.d.ts +1 -1
  42. package/dist/primitives/ratelimit.d.ts +1 -1
  43. package/dist/primitives/vectorize.d.ts +1 -1
  44. package/dist/primitives/workflows.d.ts +1 -1
  45. package/dist/runtime/ai.mjs +4 -1
  46. package/dist/runtime/app/components/CMSEditor.vue +439 -0
  47. package/dist/runtime/app/components/CMSEditorImageNode.vue +90 -0
  48. package/dist/runtime/app/components/CMSEditorLinkPopover.vue +120 -0
  49. package/dist/runtime/app/components/QDropZone.vue +327 -0
  50. package/dist/runtime/app/components/QImageCropper.vue +658 -0
  51. package/dist/runtime/app/components/QImageStudio.vue +300 -0
  52. package/dist/runtime/app/components/QImg.vue +7 -4
  53. package/dist/runtime/app/composables/analytics.d.ts +8 -8
  54. package/dist/runtime/app/composables/api-tokens.d.ts +5 -5
  55. package/dist/runtime/app/composables/auth.d.ts +23 -19
  56. package/dist/runtime/app/composables/chat.d.ts +7 -6
  57. package/dist/runtime/app/composables/cms-preview.d.ts +7 -8
  58. package/dist/runtime/app/composables/cms.d.ts +6 -6
  59. package/dist/runtime/app/composables/comments.d.ts +5 -5
  60. package/dist/runtime/app/composables/comments.mjs +7 -4
  61. package/dist/runtime/app/composables/console.d.ts +6 -14
  62. package/dist/runtime/app/composables/docs-version.d.ts +8 -8
  63. package/dist/runtime/app/composables/impersonation.d.ts +5 -5
  64. package/dist/runtime/app/composables/organization.d.ts +5 -5
  65. package/dist/runtime/app/composables/passkey.d.ts +5 -5
  66. package/dist/runtime/app/composables/passwordless.d.ts +5 -5
  67. package/dist/runtime/app/composables/payments.d.ts +5 -5
  68. package/dist/runtime/app/composables/rbac.d.ts +5 -5
  69. package/dist/runtime/app/composables/site.d.ts +2 -2
  70. package/dist/runtime/app/composables/sse.d.ts +20 -33
  71. package/dist/runtime/app/composables/sse.mjs +6 -3
  72. package/dist/runtime/app/composables/storage.d.ts +6 -8
  73. package/dist/runtime/app/composables/store.d.ts +37 -36
  74. package/dist/runtime/app/composables/store.mjs +7 -6
  75. package/dist/runtime/app/composables/studio.d.ts +59 -0
  76. package/dist/runtime/app/composables/studio.mjs +129 -0
  77. package/dist/runtime/app/composables/tenant.d.ts +7 -7
  78. package/dist/runtime/app/composables/turnstile.d.ts +5 -5
  79. package/dist/runtime/app/composables/two-factor.d.ts +5 -5
  80. package/dist/runtime/app/pages/devtools/notifications.vue +1 -6
  81. package/dist/runtime/app/plugins/pwa.mjs +1 -3
  82. package/dist/runtime/app/utils/cms-editor.d.ts +25 -0
  83. package/dist/runtime/app/utils/cms-editor.mjs +43 -0
  84. package/dist/runtime/auth.d.ts +9 -9
  85. package/dist/runtime/blob.d.ts +1 -3
  86. package/dist/runtime/blob.mjs +3 -1
  87. package/dist/runtime/cache.d.ts +8 -6
  88. package/dist/runtime/cache.mjs +8 -11
  89. package/dist/runtime/db.d.ts +4 -3
  90. package/dist/runtime/drizzle.d.ts +2 -1
  91. package/dist/runtime/drizzle.mjs +2 -2
  92. package/dist/runtime/queue.d.ts +1 -0
  93. package/dist/runtime/replica.d.ts +6 -10
  94. package/dist/runtime/replica.mjs +3 -1
  95. package/dist/runtime/schema-mysql.d.ts +16 -32
  96. package/dist/runtime/schema-pg.d.ts +15 -31
  97. package/dist/runtime/schema-shared.d.ts +20 -17
  98. package/dist/runtime/schema.d.ts +21 -33
  99. package/dist/runtime/server/durable-objects/agent.mjs +4 -1
  100. package/dist/runtime/server/durable-objects/room.d.ts +4 -6
  101. package/dist/runtime/server/durable-objects/room.mjs +18 -8
  102. package/dist/runtime/server/plugins/comments.d.ts +2 -3
  103. package/dist/runtime/server/plugins/email-inbound.d.ts +1 -3
  104. package/dist/runtime/server/plugins/store.d.ts +2 -3
  105. package/dist/runtime/server/routes/__qarpeo/cloud/agents/run.post.d.ts +2 -2
  106. package/dist/runtime/server/routes/__qarpeo/cloud/cms/entry.get.mjs +10 -2
  107. package/dist/runtime/server/routes/__qarpeo/cloud/cms/entry.post.d.ts +2 -2
  108. package/dist/runtime/server/routes/__qarpeo/cloud/cms/entry.post.mjs +10 -2
  109. package/dist/runtime/server/routes/__qarpeo/cloud/cms.get.d.ts +2 -2
  110. package/dist/runtime/server/routes/__qarpeo/cloud/cms.get.mjs +7 -1
  111. package/dist/runtime/server/routes/__qarpeo/cloud/comments/moderate.post.d.ts +2 -2
  112. package/dist/runtime/server/routes/__qarpeo/cloud/comments/moderate.post.mjs +5 -1
  113. package/dist/runtime/server/routes/__qarpeo/cloud/comments.get.d.ts +1 -3
  114. package/dist/runtime/server/routes/__qarpeo/cloud/extras.get.d.ts +2 -2
  115. package/dist/runtime/server/routes/__qarpeo/cloud/extras.get.mjs +15 -4
  116. package/dist/runtime/server/routes/__qarpeo/cloud/mail/unsuppress.post.d.ts +2 -2
  117. package/dist/runtime/server/routes/__qarpeo/cloud/migrate/cms.post.mjs +13 -4
  118. package/dist/runtime/server/routes/__qarpeo/cloud/migrate/products.post.mjs +1 -1
  119. package/dist/runtime/server/routes/__qarpeo/cloud/migrate.post.d.ts +3 -3
  120. package/dist/runtime/server/routes/__qarpeo/cloud/migrate.post.mjs +22 -6
  121. package/dist/runtime/server/routes/__qarpeo/cloud/notifications/test.post.d.ts +2 -2
  122. package/dist/runtime/server/routes/__qarpeo/cloud/operations.get.d.ts +6 -5
  123. package/dist/runtime/server/routes/__qarpeo/cloud/store/order-status.post.d.ts +1 -3
  124. package/dist/runtime/server/routes/__qarpeo/cloud/store/order-status.post.mjs +14 -2
  125. package/dist/runtime/server/routes/__qarpeo/cloud/store/orders.get.d.ts +1 -3
  126. package/dist/runtime/server/routes/__qarpeo/cloud/store/orders.get.mjs +7 -1
  127. package/dist/runtime/server/routes/__qarpeo/cloud/store/products.get.d.ts +1 -3
  128. package/dist/runtime/server/routes/__qarpeo/cloud/tasks/run.post.d.ts +2 -2
  129. package/dist/runtime/server/routes/__qarpeo/cloud/users/action.post.d.ts +2 -2
  130. package/dist/runtime/server/routes/__qarpeo/cloud/users/action.post.mjs +5 -1
  131. package/dist/runtime/server/routes/__qarpeo/cloud/users.get.d.ts +6 -5
  132. package/dist/runtime/server/routes/__qarpeo/cloud/users.get.mjs +1 -3
  133. package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.mjs +2 -2
  134. package/dist/runtime/server/routes/__qarpeo/manifest.get.d.ts +2 -2
  135. package/dist/runtime/server/routes/__qarpeo/og.get.d.ts +2 -2
  136. package/dist/runtime/server/routes/__qarpeo/rbac/me.get.d.ts +2 -2
  137. package/dist/runtime/server/routes/__qarpeo/rbac/roles.delete.d.ts +2 -2
  138. package/dist/runtime/server/routes/__qarpeo/rbac/roles.delete.mjs +5 -1
  139. package/dist/runtime/server/routes/__qarpeo/rbac/roles.get.d.ts +2 -2
  140. package/dist/runtime/server/routes/__qarpeo/rbac/roles.get.mjs +1 -5
  141. package/dist/runtime/server/routes/__qarpeo/rbac/roles.post.d.ts +2 -2
  142. package/dist/runtime/server/routes/__qarpeo/rbac/roles.post.mjs +5 -1
  143. package/dist/runtime/server/routes/__qarpeo/rbac/users.post.d.ts +2 -2
  144. package/dist/runtime/server/routes/agents/[agent]/chat.post.mjs +1 -6
  145. package/dist/runtime/server/routes/agents/[agent]/clear.post.mjs +1 -6
  146. package/dist/runtime/server/routes/agents/[agent]/history.get.mjs +1 -6
  147. package/dist/runtime/server/routes/auth/2fa/disable.post.mjs +5 -1
  148. package/dist/runtime/server/routes/auth/2fa/verify.post.mjs +7 -1
  149. package/dist/runtime/server/routes/auth/magic-link/send.post.mjs +1 -1
  150. package/dist/runtime/server/routes/auth/otp/send.post.mjs +1 -1
  151. package/dist/runtime/server/routes/cms/search.get.mjs +2 -6
  152. package/dist/runtime/server/routes/comments/[id]/report.post.mjs +1 -4
  153. package/dist/runtime/server/routes/comments/[id].patch.mjs +1 -4
  154. package/dist/runtime/server/routes/comments/batch.post.mjs +1 -3
  155. package/dist/runtime/server/routes/comments/index.post.mjs +1 -5
  156. package/dist/runtime/server/routes/fate.mjs +1 -1
  157. package/dist/runtime/server/routes/mail/webhooks.post.mjs +1 -1
  158. package/dist/runtime/server/routes/sitemap.xml.get.mjs +2 -1
  159. package/dist/runtime/server/routes/storage/presigned-r2.post.d.ts +5 -6
  160. package/dist/runtime/server/routes/storage/presigned-r2.post.mjs +1 -1
  161. package/dist/runtime/server/routes/store/cart/items/[id].delete.mjs +1 -1
  162. package/dist/runtime/server/routes/store/cart/items/[id].patch.mjs +1 -1
  163. package/dist/runtime/server/routes/store/currencies.get.mjs +1 -4
  164. package/dist/runtime/server/routes/store/orders/[id].get.mjs +1 -1
  165. package/dist/runtime/server/routes/store/orders/download/[token].get.mjs +13 -4
  166. package/dist/runtime/server/routes/store/orders/index.get.mjs +1 -1
  167. package/dist/runtime/server/routes/store/tax/calculate.post.d.ts +2 -1
  168. package/dist/runtime/server/routes/store/tax/calculate.post.mjs +12 -3
  169. package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.mjs +4 -1
  170. package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.mjs +4 -1
  171. package/dist/runtime/server/utils/ai.d.ts +38 -35
  172. package/dist/runtime/server/utils/ai.mjs +7 -11
  173. package/dist/runtime/server/utils/analytics-query.d.ts +4 -4
  174. package/dist/runtime/server/utils/auth.d.ts +25 -25
  175. package/dist/runtime/server/utils/auth.mjs +22 -8
  176. package/dist/runtime/server/utils/bots.d.ts +7 -7
  177. package/dist/runtime/server/utils/browser-utils.d.ts +26 -27
  178. package/dist/runtime/server/utils/cache.d.ts +20 -20
  179. package/dist/runtime/server/utils/cms/collections.mjs +1 -6
  180. package/dist/runtime/server/utils/cms/common.mjs +1 -0
  181. package/dist/runtime/server/utils/cms/markdown.d.ts +2 -2
  182. package/dist/runtime/server/utils/cms/markdown.mjs +5 -5
  183. package/dist/runtime/server/utils/cms/mutations.mjs +8 -23
  184. package/dist/runtime/server/utils/cms/navigation.mjs +4 -4
  185. package/dist/runtime/server/utils/cms/path.d.ts +1 -0
  186. package/dist/runtime/server/utils/cms/path.mjs +8 -2
  187. package/dist/runtime/server/utils/cms/references.mjs +1 -7
  188. package/dist/runtime/server/utils/cms/search.d.ts +2 -2
  189. package/dist/runtime/server/utils/cms/sync.mjs +4 -2
  190. package/dist/runtime/server/utils/cms/taxonomy.d.ts +2 -2
  191. package/dist/runtime/server/utils/cms.d.ts +1 -1
  192. package/dist/runtime/server/utils/cms.mjs +1 -5
  193. package/dist/runtime/server/utils/comments-filter.d.ts +9 -7
  194. package/dist/runtime/server/utils/comments.d.ts +68 -55
  195. package/dist/runtime/server/utils/comments.mjs +21 -9
  196. package/dist/runtime/server/utils/config.d.ts +2 -2
  197. package/dist/runtime/server/utils/console.d.ts +3 -5
  198. package/dist/runtime/server/utils/context.d.ts +10 -10
  199. package/dist/runtime/server/utils/crypto.d.ts +20 -20
  200. package/dist/runtime/server/utils/domains.mjs +3 -1
  201. package/dist/runtime/server/utils/drizzle.d.ts +24 -25
  202. package/dist/runtime/server/utils/drizzle.mjs +17 -17
  203. package/dist/runtime/server/utils/durable-object.d.ts +27 -25
  204. package/dist/runtime/server/utils/durable-object.mjs +3 -10
  205. package/dist/runtime/server/utils/email-inbound.d.ts +10 -10
  206. package/dist/runtime/server/utils/impersonation.d.ts +18 -18
  207. package/dist/runtime/server/utils/legacy-hash.d.ts +23 -27
  208. package/dist/runtime/server/utils/lock.d.ts +20 -23
  209. package/dist/runtime/server/utils/mail.d.ts +19 -19
  210. package/dist/runtime/server/utils/mail.mjs +4 -2
  211. package/dist/runtime/server/utils/mcp.d.ts +20 -20
  212. package/dist/runtime/server/utils/mcp.mjs +22 -38
  213. package/dist/runtime/server/utils/notifications.d.ts +49 -38
  214. package/dist/runtime/server/utils/oauth.d.ts +3 -9
  215. package/dist/runtime/server/utils/organization.d.ts +28 -28
  216. package/dist/runtime/server/utils/organization.mjs +15 -5
  217. package/dist/runtime/server/utils/passwordless.d.ts +24 -24
  218. package/dist/runtime/server/utils/payments/checkout.d.ts +12 -12
  219. package/dist/runtime/server/utils/payments/checkout.mjs +1 -3
  220. package/dist/runtime/server/utils/payments/common.d.ts +3 -3
  221. package/dist/runtime/server/utils/payments/paddle.d.ts +4 -1
  222. package/dist/runtime/server/utils/payments/polar.d.ts +4 -1
  223. package/dist/runtime/server/utils/payments/stripe.mjs +5 -7
  224. package/dist/runtime/server/utils/payments/subscriptions.d.ts +14 -14
  225. package/dist/runtime/server/utils/payments/subscriptions.mjs +2 -6
  226. package/dist/runtime/server/utils/payments/usage.mjs +1 -3
  227. package/dist/runtime/server/utils/payments/webhooks.mjs +2 -2
  228. package/dist/runtime/server/utils/queue.d.ts +54 -58
  229. package/dist/runtime/server/utils/queue.mjs +2 -6
  230. package/dist/runtime/server/utils/rag.d.ts +23 -23
  231. package/dist/runtime/server/utils/rag.mjs +10 -5
  232. package/dist/runtime/server/utils/ratelimit.d.ts +21 -18
  233. package/dist/runtime/server/utils/rbac.d.ts +13 -15
  234. package/dist/runtime/server/utils/rbac.mjs +44 -10
  235. package/dist/runtime/server/utils/realtime.d.ts +53 -52
  236. package/dist/runtime/server/utils/role-env.d.ts +5 -4
  237. package/dist/runtime/server/utils/scheduled-task.d.ts +14 -15
  238. package/dist/runtime/server/utils/session.d.ts +40 -40
  239. package/dist/runtime/server/utils/sse.d.ts +23 -33
  240. package/dist/runtime/server/utils/sse.mjs +5 -14
  241. package/dist/runtime/server/utils/sso.mjs +3 -1
  242. package/dist/runtime/server/utils/storage.d.ts +20 -22
  243. package/dist/runtime/server/utils/storage.mjs +2 -2
  244. package/dist/runtime/server/utils/store/cart.d.ts +5 -3
  245. package/dist/runtime/server/utils/store/cart.mjs +14 -10
  246. package/dist/runtime/server/utils/store/checkout.mjs +4 -1
  247. package/dist/runtime/server/utils/store/common.d.ts +1 -1
  248. package/dist/runtime/server/utils/store/common.mjs +36 -12
  249. package/dist/runtime/server/utils/store/inventory.mjs +3 -1
  250. package/dist/runtime/server/utils/store/orders.mjs +32 -24
  251. package/dist/runtime/server/utils/store-localization.d.ts +9 -27
  252. package/dist/runtime/server/utils/store-localization.mjs +3 -3
  253. package/dist/runtime/server/utils/table-names.d.ts +15 -15
  254. package/dist/runtime/server/utils/table-names.mjs +1 -1
  255. package/dist/runtime/server/utils/tenant.d.ts +12 -12
  256. package/dist/runtime/server/utils/tenant.mjs +7 -4
  257. package/dist/runtime/server/utils/totp.d.ts +18 -18
  258. package/dist/runtime/server/utils/tracker.d.ts +5 -5
  259. package/dist/runtime/server/utils/turnstile.d.ts +9 -9
  260. package/dist/runtime/server/utils/urn.d.ts +5 -8
  261. package/dist/runtime/server/utils/workflows.d.ts +30 -31
  262. package/dist/runtime/server/utils/workflows.mjs +2 -4
  263. package/dist/runtime/server.d.ts +2 -2
  264. package/dist/runtime/service.d.ts +10 -10
  265. package/dist/runtime/test-utils.d.ts +10 -10
  266. package/dist/runtime/test-utils.mjs +9 -2
  267. package/dist/runtime/types/ai.d.ts +14 -14
  268. package/dist/runtime/types/d1.d.ts +6 -11
  269. package/dist/runtime/types/durable-object.d.ts +4 -8
  270. package/dist/runtime/types/email.d.ts +3 -9
  271. package/dist/runtime/types/index.d.ts +15 -21
  272. package/dist/runtime/types/r2.d.ts +5 -5
  273. package/dist/runtime/types/workflows.d.ts +5 -6
  274. package/dist/runtime/workflows.d.ts +1 -3
  275. package/dist/types/ai.d.ts +10 -17
  276. package/dist/types/auth.d.ts +5 -3
  277. package/dist/types/cache.d.ts +7 -7
  278. package/dist/types/cms.d.ts +30 -5
  279. package/dist/types/comments.d.ts +23 -21
  280. package/dist/types/console.d.ts +1 -3
  281. package/dist/types/db.d.ts +7 -7
  282. package/dist/types/index.d.ts +1 -0
  283. package/dist/types/options.d.ts +36 -24
  284. package/dist/types/site.d.ts +8 -2
  285. package/dist/types/storage.d.ts +2 -1
  286. package/dist/types/store-options.d.ts +10 -26
  287. package/dist/types/studio.d.ts +79 -0
  288. package/dist/utils/bots.d.ts +7 -3
  289. package/dist/utils/cms-table-names.d.ts +1 -1
  290. package/dist/utils/drizzle.d.ts +13 -14
  291. package/dist/utils/email-inbound.d.ts +4 -4
  292. package/dist/utils/features.d.ts +19 -5
  293. package/dist/utils/mcp.d.ts +1 -0
  294. package/dist/utils/migration-lock.d.ts +15 -29
  295. package/dist/utils/pkg.d.ts +6 -7
  296. package/dist/utils/schema-diff.d.ts +7 -11
  297. package/dist/utils/store-schema.d.ts +4 -6
  298. package/dist/utils/tools.d.ts +3 -3
  299. package/package.json +55 -5
@@ -1,5 +1,5 @@
1
- import type { Nuxt } from "@nuxt/schema";
2
1
  import type { useLogger } from "@nuxt/kit";
2
+ import type { Nuxt } from "@nuxt/schema";
3
3
  import type { QarpeoOptions } from "../types";
4
4
  export interface FeatureDefinition {
5
5
  description: string;
@@ -7,8 +7,8 @@ export interface FeatureDefinition {
7
7
  devDependencies?: Record<string, string>;
8
8
  }
9
9
  /**
10
- * Pinned package versions tested and supported by this release of qarpeo.
11
- * Used by `qp add <feature>` so users get exact compatible versions in their package.json.
10
+ * Pinned package versions tested and supported by this release of qarpeo. Used by `qp add
11
+ * <feature>` so users get exact compatible versions in their package.json.
12
12
  */
13
13
  export declare const FEATURE_DEPS: {
14
14
  readonly cms: {
@@ -24,6 +24,20 @@ export declare const FEATURE_DEPS: {
24
24
  readonly shiki: "4.6.0";
25
25
  };
26
26
  };
27
+ readonly editor: {
28
+ readonly description: "CMS rich-text editor (@tiptap/vue-3, @tiptap/starter-kit, tables, text-align)";
29
+ readonly dependencies: {
30
+ readonly "@tiptap/core": "3.35.1";
31
+ readonly "@tiptap/pm": "3.35.1";
32
+ readonly "@tiptap/starter-kit": "3.35.1";
33
+ readonly "@tiptap/vue-3": "3.35.1";
34
+ readonly "@tiptap/extension-text-align": "3.35.1";
35
+ readonly "@tiptap/extension-table": "3.35.1";
36
+ readonly "@tiptap/extension-table-row": "3.35.1";
37
+ readonly "@tiptap/extension-table-header": "3.35.1";
38
+ readonly "@tiptap/extension-table-cell": "3.35.1";
39
+ };
40
+ };
27
41
  readonly drizzle: {
28
42
  readonly description: "Drizzle ORM, Drizzle Kit, and Drizzle Seed";
29
43
  readonly dependencies: {
@@ -76,8 +90,8 @@ export interface ResolvedInstallSpecs {
76
90
  /** Returns all supported feature names for `qp add`. */
77
91
  export declare function getFeatureNames(): FeatureName[];
78
92
  /**
79
- * Resolves a feature name (e.g. `cms`) or a known pinned package name (e.g. `drizzle-orm`)
80
- * into exact `pkg@version` install specs. Returns `null` if unknown.
93
+ * Resolves a feature name (e.g. `cms`) or a known pinned package name (e.g. `drizzle-orm`) into
94
+ * exact `pkg@version` install specs. Returns `null` if unknown.
81
95
  */
82
96
  export declare function resolveFeatureInstall(target: string): ResolvedInstallSpecs | null;
83
97
  /**
@@ -17,6 +17,7 @@ export interface McpDiscoveryOptions {
17
17
  * Searches across all Nuxt layers for Model Context Protocol (MCP) server definition files.
18
18
  *
19
19
  * Supported conventions:
20
+ *
20
21
  * - `server/mcp.ts` -> `/mcp`
21
22
  * - `server/mcp/index.ts` -> `/mcp`
22
23
  * - `server/mcp/<name>.ts` -> `/mcp/<name>`
@@ -57,31 +57,25 @@ export interface HeartbeatHandle {
57
57
  stop: () => void;
58
58
  isAlive: () => boolean;
59
59
  }
60
- /**
61
- * Injects a custom remote D1 executor (used for test isolation or custom environments).
62
- */
60
+ /** Injects a custom remote D1 executor (used for test isolation or custom environments). */
63
61
  export declare function setRemoteD1Executor(executor: RemoteD1Executor | null): void;
64
62
  export declare function getActiveRemoteExecutor(): RemoteD1Executor;
65
63
  /**
66
- * Parses duration strings into milliseconds (e.g. "10m", "300s", "1h", 60000).
67
- * Defaults to 10 minutes (600,000ms). Minimum clamped to 1,000ms.
64
+ * Parses duration strings into milliseconds (e.g. "10m", "300s", "1h", 60000). Defaults to 10
65
+ * minutes (600,000ms). Minimum clamped to 1,000ms.
68
66
  */
69
67
  export declare function parseLockDuration(duration?: string | number): number;
70
68
  /** Escapes single quotes for SQLite string literals. */
71
69
  export declare function escapeSql(str: string): string;
72
70
  /** Extracts and parses JSON payload from wrangler stdout. */
73
71
  export declare function parseWranglerJson(stdout: string): any;
74
- /**
75
- * Default remote D1 executor using Cloudflare Wrangler CLI.
76
- */
72
+ /** Default remote D1 executor using Cloudflare Wrangler CLI. */
77
73
  export declare function defaultRemoteD1Executor(dbName: string, sql: string, options?: {
78
74
  cwd?: string;
79
75
  wranglerConfigPath?: string | null;
80
76
  execPath?: string;
81
77
  }): Promise<RemoteD1ExecuteResult>;
82
- /**
83
- * Renews an active migration lock lease (heartbeat renewal).
84
- */
78
+ /** Renews an active migration lock lease (heartbeat renewal). */
85
79
  export declare function renewMigrationLock(dbName: string, token: string, options?: {
86
80
  cwd?: string;
87
81
  remote?: boolean;
@@ -90,9 +84,7 @@ export declare function renewMigrationLock(dbName: string, token: string, option
90
84
  execPath?: string;
91
85
  remoteExecutor?: RemoteD1Executor;
92
86
  }): Promise<boolean>;
93
- /**
94
- * Starts a background heartbeat timer that periodically renews the migration lock.
95
- */
87
+ /** Starts a background heartbeat timer that periodically renews the migration lock. */
96
88
  export declare function startMigrationHeartbeat(dbName: string, token: string, options?: {
97
89
  cwd?: string;
98
90
  remote?: boolean;
@@ -105,27 +97,23 @@ export declare function startMigrationHeartbeat(dbName: string, token: string, o
105
97
  }): HeartbeatHandle;
106
98
  export declare function stopActiveHeartbeat(token: string): void;
107
99
  /**
108
- * Attempts to acquire a distributed migration lock for a database.
109
- * Supports both local file-based locking and true remote atomic D1 locking.
100
+ * Attempts to acquire a distributed migration lock for a database. Supports both local file-based
101
+ * locking and true remote atomic D1 locking.
110
102
  */
111
103
  export declare function acquireMigrationLock(dbName: string, options?: AcquireMigrationLockOptions): Promise<MigrationLockResult>;
112
- /**
113
- * Releases a migration lock for a database using the acquired token.
114
- */
104
+ /** Releases a migration lock for a database using the acquired token. */
115
105
  export declare function releaseMigrationLock(dbName: string, token: string, options?: ReleaseMigrationLockOptions): Promise<boolean>;
116
106
  /**
117
- * Force releases any active migration lock for a database.
118
- * Returns detailed ForceUnlockResult with liveness diagnostics.
107
+ * Force releases any active migration lock for a database. Returns detailed ForceUnlockResult with
108
+ * liveness diagnostics.
119
109
  */
120
110
  export declare function safeForceUnlockMigration(dbName: string, options?: ForceUnlockOptions): Promise<ForceUnlockResult>;
121
111
  /**
122
- * Force releases any active migration lock for a database.
123
- * Returns boolean for direct backward compatibility.
112
+ * Force releases any active migration lock for a database. Returns boolean for direct backward
113
+ * compatibility.
124
114
  */
125
115
  export declare function forceUnlockMigration(dbName: string, options?: ForceUnlockOptions): Promise<boolean>;
126
- /**
127
- * Returns current lock status for a database, or `null` if unlocked.
128
- */
116
+ /** Returns current lock status for a database, or `null` if unlocked. */
129
117
  export declare function getMigrationLockStatus(dbName: string, options?: {
130
118
  cwd?: string;
131
119
  remote?: boolean;
@@ -133,7 +121,5 @@ export declare function getMigrationLockStatus(dbName: string, options?: {
133
121
  execPath?: string;
134
122
  remoteExecutor?: RemoteD1Executor;
135
123
  }): Promise<MigrationLockInfo | null>;
136
- /**
137
- * Clears all in-memory migration locks and active heartbeats (used during test teardown).
138
- */
124
+ /** Clears all in-memory migration locks and active heartbeats (used during test teardown). */
139
125
  export declare function clearMigrationLockStore(): void;
@@ -5,7 +5,10 @@ import { type SpawnSyncOptions, type SpawnSyncReturns } from "node:child_process
5
5
  * so they can still run without a shell.
6
6
  */
7
7
  export declare function spawnBinSync(bin: string, args: string[], options?: Omit<SpawnSyncOptions, "shell">): SpawnSyncReturns<any>;
8
- /** Checks if a package is installed in the target project directory (or optionally bundled by qarpeo). */
8
+ /**
9
+ * Checks if a package is installed in the target project directory (or optionally bundled by
10
+ * qarpeo).
11
+ */
9
12
  export declare function isPackageInstalled(packageName: string, cwd?: string, options?: {
10
13
  localOnly?: boolean;
11
14
  }): boolean;
@@ -13,16 +16,12 @@ export declare function isPackageInstalled(packageName: string, cwd?: string, op
13
16
  export declare function resolveBinaryPath(binName: string, cwd?: string): string | null;
14
17
  /** Prompts the user interactively in the terminal to confirm package installation. */
15
18
  export declare function confirmInstall(packageName: string, purpose: string): Promise<boolean>;
16
- /**
17
- * Formats a package-manager-appropriate `add` command for the project at `cwd` using `nypm`.
18
- */
19
+ /** Formats a package-manager-appropriate `add` command for the project at `cwd` using `nypm`. */
19
20
  export declare function formatAddCommand(packageName: string, options?: {
20
21
  cwd?: string;
21
22
  dev?: boolean;
22
23
  }): Promise<string>;
23
- /**
24
- * Formats a package-manager-appropriate `dlx`/`npx` command for the project at `cwd` using `nypm`.
25
- */
24
+ /** Formats a package-manager-appropriate `dlx`/`npx` command for the project at `cwd` using `nypm`. */
26
25
  export declare function formatDlxCommand(command: string, args?: string[], options?: {
27
26
  cwd?: string;
28
27
  }): Promise<string>;
@@ -14,23 +14,19 @@ export interface SchemaDiffResult {
14
14
  summary: string;
15
15
  }
16
16
  /**
17
- * Extracts table names from schema files, preferring explicit table name arguments
18
- * in `sqliteTable("table_name", ...)` / `pgTable("table_name", ...)` and falling back
19
- * to the exported variable name only when no explicit string name is present.
17
+ * Extracts table names from schema files, preferring explicit table name arguments in
18
+ * `sqliteTable("table_name", ...)` / `pgTable("table_name", ...)` and falling back to the exported
19
+ * variable name only when no explicit string name is present.
20
20
  */
21
21
  export declare function extractSchemaTableNames(schemaFiles: string[]): string[];
22
22
  /**
23
- * Computes all expected table names for a given discovered database,
24
- * incorporating both custom user schemas and enabled built-in module tables.
23
+ * Computes all expected table names for a given discovered database, incorporating both custom user
24
+ * schemas and enabled built-in module tables.
25
25
  */
26
26
  export declare function getExpectedTableNames(db: DiscoveredDatabase, qarpeoConfig?: Record<string, any>): string[];
27
- /**
28
- * Inspects a local SQLite database file to retrieve all physical user table names.
29
- */
27
+ /** Inspects a local SQLite database file to retrieve all physical user table names. */
30
28
  export declare function getActualTableNames(sqlitePath: string): Promise<string[]>;
31
- /**
32
- * Compares expected tables against physical tables in the database to detect schema drift.
33
- */
29
+ /** Compares expected tables against physical tables in the database to detect schema drift. */
34
30
  export declare function computeSchemaDiff(options: {
35
31
  database: DiscoveredDatabase;
36
32
  sqlitePath?: string | null;
@@ -3,12 +3,10 @@ import { type TableResolveOptions } from "./table-names";
3
3
  export declare const ALL_STORE_TABLE_NAMES: readonly ["store_product", "store_product_variant", "store_inventory", "store_category", "store_cart", "store_cart_item", "store_order", "store_order_item", "store_discount", "store_customer_address"];
4
4
  export declare function getActiveStoreTableNames(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
5
5
  /**
6
- * Generates the Drizzle ORM schema string for the Qarpeo Store App.
7
- * Uses `snakeCase.table` from drizzle-orm/sqlite-core so camelCase property names
8
- * map to snake_case column names automatically.
6
+ * Generates the Drizzle ORM schema string for the Qarpeo Store App. Uses `snakeCase.table` from
7
+ * drizzle-orm/sqlite-core so camelCase property names map to snake_case column names
8
+ * automatically.
9
9
  */
10
10
  export declare function generateStoreSchema(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
11
- /**
12
- * Generates raw SQLite DDL statements for initializing Store tables and indexes in Cloudflare D1.
13
- */
11
+ /** Generates raw SQLite DDL statements for initializing Store tables and indexes in Cloudflare D1. */
14
12
  export declare function generateStoreDDL(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
@@ -8,9 +8,9 @@ export interface DiscoveredTool {
8
8
  importPath: string;
9
9
  }
10
10
  /**
11
- * Searches across all Nuxt layers for tool definition files inside `server/tools/`.
12
- * Each `.ts` / `.js` / `.mjs` file should export one or more `defineTool(...)` calls as
13
- * named exports. All named exports are automatically registered in the global tool registry.
11
+ * Searches across all Nuxt layers for tool definition files inside `server/tools/`. Each `.ts` /
12
+ * `.js` / `.mjs` file should export one or more `defineTool(...)` calls as named exports. All named
13
+ * exports are automatically registered in the global tool registry.
14
14
  *
15
15
  * @example
16
16
  * // server/tools/search.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qarpeo",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Zero-config Cloudflare Edge Platform for Nuxt",
5
5
  "keywords": [
6
6
  "analytics-engine",
@@ -140,8 +140,8 @@
140
140
  "access": "public"
141
141
  },
142
142
  "dependencies": {
143
- "@nuxt/devtools-kit": "^4.2.0",
144
- "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611231610-fa01a6d",
143
+ "@nuxt/devtools-kit": "^4.2.2",
144
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611251439-b19192b",
145
145
  "citty": "^0.2.2",
146
146
  "defu": "^6.1.7",
147
147
  "giget": "^3.3.1",
@@ -155,8 +155,18 @@
155
155
  "@cloudflare/puppeteer": "1.4.0",
156
156
  "@comark/vue": "0.9.1",
157
157
  "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2611041456-7ae6258",
158
+ "@nuxt/ui": "^4.13.1",
158
159
  "@simplewebauthn/server": "14.0.3",
159
- "@types/node": "^26.6.6",
160
+ "@tiptap/core": "3.35.1",
161
+ "@tiptap/extension-table": "3.35.1",
162
+ "@tiptap/extension-table-cell": "3.35.1",
163
+ "@tiptap/extension-table-header": "3.35.1",
164
+ "@tiptap/extension-table-row": "3.35.1",
165
+ "@tiptap/extension-text-align": "3.35.1",
166
+ "@tiptap/pm": "3.35.1",
167
+ "@tiptap/starter-kit": "3.35.1",
168
+ "@tiptap/vue-3": "3.35.1",
169
+ "@types/node": "^26.6.11",
160
170
  "@typescript/typescript6": "^6.0.2",
161
171
  "better-auth": "1.7.20",
162
172
  "comark": "0.9.1",
@@ -165,7 +175,7 @@
165
175
  "drizzle-seed": "1.0.0-rc.5",
166
176
  "h3": "^2.0.8",
167
177
  "nitro": "3.0.261103-rc",
168
- "nuxt": "npm:nuxt-nightly@^5.0.0-2611231610-fa01a6d",
178
+ "nuxt": "npm:nuxt-nightly@^5.0.0-2611251439-b19192b",
169
179
  "postgres": "^4.1.1",
170
180
  "shiki": "^4.6.0",
171
181
  "typescript": "^7.0.2",
@@ -181,7 +191,17 @@
181
191
  "@cloudflare/puppeteer": ">=1.0.0",
182
192
  "@comark/vue": ">=0.9.0",
183
193
  "@nkzw/fate": ">=1.0.0",
194
+ "@nuxt/ui": ">=4.0.0",
184
195
  "@simplewebauthn/server": ">=14.0.0",
196
+ "@tiptap/core": ">=3.0.0",
197
+ "@tiptap/extension-table": ">=3.0.0",
198
+ "@tiptap/extension-table-cell": ">=3.0.0",
199
+ "@tiptap/extension-table-header": ">=3.0.0",
200
+ "@tiptap/extension-table-row": ">=3.0.0",
201
+ "@tiptap/extension-text-align": ">=3.0.0",
202
+ "@tiptap/pm": ">=3.0.0",
203
+ "@tiptap/starter-kit": ">=3.0.0",
204
+ "@tiptap/vue-3": ">=3.0.0",
185
205
  "better-auth": ">=1.7.0",
186
206
  "comark": ">=0.9.0",
187
207
  "drizzle-kit": ">=1.0.0-rc.1",
@@ -206,9 +226,39 @@
206
226
  "@nkzw/fate": {
207
227
  "optional": true
208
228
  },
229
+ "@nuxt/ui": {
230
+ "optional": true
231
+ },
209
232
  "@simplewebauthn/server": {
210
233
  "optional": true
211
234
  },
235
+ "@tiptap/core": {
236
+ "optional": true
237
+ },
238
+ "@tiptap/extension-table": {
239
+ "optional": true
240
+ },
241
+ "@tiptap/extension-table-cell": {
242
+ "optional": true
243
+ },
244
+ "@tiptap/extension-table-header": {
245
+ "optional": true
246
+ },
247
+ "@tiptap/extension-table-row": {
248
+ "optional": true
249
+ },
250
+ "@tiptap/extension-text-align": {
251
+ "optional": true
252
+ },
253
+ "@tiptap/pm": {
254
+ "optional": true
255
+ },
256
+ "@tiptap/starter-kit": {
257
+ "optional": true
258
+ },
259
+ "@tiptap/vue-3": {
260
+ "optional": true
261
+ },
212
262
  "better-auth": {
213
263
  "optional": true
214
264
  },