create-mercato-app 0.7.1-develop.7150.1.c1941e0c22 → 0.7.1-develop.7151.1.00d0391847

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 (96) hide show
  1. package/agentic/shared/ai/harness/cases.json +4 -2
  2. package/dist/agentic/guides/module-facts.json +828 -149
  3. package/dist/agentic/guides/module-facts.v2.json +828 -149
  4. package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
  5. package/dist/agentic/guides/modules/api_docs/index.md +1 -1
  6. package/dist/agentic/guides/modules/api_keys/index.md +1 -1
  7. package/dist/agentic/guides/modules/attachments/index.md +1 -1
  8. package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
  9. package/dist/agentic/guides/modules/auth/index.md +1 -1
  10. package/dist/agentic/guides/modules/business_rules/index.md +1 -1
  11. package/dist/agentic/guides/modules/catalog/index.md +1 -1
  12. package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
  13. package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
  14. package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
  15. package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
  16. package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
  17. package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
  18. package/dist/agentic/guides/modules/channel_resend/acl-features.md +12 -0
  19. package/dist/agentic/guides/modules/channel_resend/contribution-resolutions.md +11 -0
  20. package/dist/agentic/guides/modules/channel_resend/di-registrations-rich.md +12 -0
  21. package/dist/agentic/guides/modules/channel_resend/exact-override-targets.md +16 -0
  22. package/dist/agentic/guides/modules/channel_resend/index.md +18 -0
  23. package/dist/agentic/guides/modules/channel_resend/owned-contract-module-metadata.md +11 -0
  24. package/dist/agentic/guides/modules/channel_resend/setup.md +11 -0
  25. package/dist/agentic/guides/modules/channel_resend/umes-contributions.md +11 -0
  26. package/dist/agentic/guides/modules/channel_ses/acl-features.md +12 -0
  27. package/dist/agentic/guides/modules/channel_ses/contribution-resolutions.md +11 -0
  28. package/dist/agentic/guides/modules/channel_ses/di-registrations-rich.md +12 -0
  29. package/dist/agentic/guides/modules/channel_ses/exact-override-targets.md +16 -0
  30. package/dist/agentic/guides/modules/channel_ses/index.md +18 -0
  31. package/dist/agentic/guides/modules/channel_ses/owned-contract-module-metadata.md +11 -0
  32. package/dist/agentic/guides/modules/channel_ses/setup.md +11 -0
  33. package/dist/agentic/guides/modules/channel_ses/umes-contributions.md +11 -0
  34. package/dist/agentic/guides/modules/checkout/index.md +1 -1
  35. package/dist/agentic/guides/modules/communication_channels/di-registrations-rich.md +10 -9
  36. package/dist/agentic/guides/modules/communication_channels/exact-override-targets.md +12 -11
  37. package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
  38. package/dist/agentic/guides/modules/communication_channels/setup.md +1 -1
  39. package/dist/agentic/guides/modules/configs/index.md +1 -1
  40. package/dist/agentic/guides/modules/content/index.md +1 -1
  41. package/dist/agentic/guides/modules/currencies/index.md +1 -1
  42. package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
  43. package/dist/agentic/guides/modules/customers/index.md +1 -1
  44. package/dist/agentic/guides/modules/dashboards/index.md +1 -1
  45. package/dist/agentic/guides/modules/data_sync/index.md +1 -1
  46. package/dist/agentic/guides/modules/design_system/index.md +1 -1
  47. package/dist/agentic/guides/modules/devices/index.md +1 -1
  48. package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
  49. package/dist/agentic/guides/modules/directory/index.md +1 -1
  50. package/dist/agentic/guides/modules/documents/index.md +1 -1
  51. package/dist/agentic/guides/modules/entities/index.md +1 -1
  52. package/dist/agentic/guides/modules/eudr/index.md +1 -1
  53. package/dist/agentic/guides/modules/events/index.md +1 -1
  54. package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
  55. package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
  56. package/dist/agentic/guides/modules/generators/index.md +1 -1
  57. package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
  58. package/dist/agentic/guides/modules/integrations/index.md +1 -1
  59. package/dist/agentic/guides/modules/messages/index.md +1 -1
  60. package/dist/agentic/guides/modules/notifications/index.md +1 -1
  61. package/dist/agentic/guides/modules/onboarding/index.md +1 -1
  62. package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
  63. package/dist/agentic/guides/modules/perspectives/index.md +1 -1
  64. package/dist/agentic/guides/modules/planner/index.md +1 -1
  65. package/dist/agentic/guides/modules/portal/index.md +1 -1
  66. package/dist/agentic/guides/modules/progress/index.md +1 -1
  67. package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
  68. package/dist/agentic/guides/modules/query_index/index.md +1 -1
  69. package/dist/agentic/guides/modules/record_locks/index.md +1 -1
  70. package/dist/agentic/guides/modules/resources/index.md +1 -1
  71. package/dist/agentic/guides/modules/sales/index.md +1 -1
  72. package/dist/agentic/guides/modules/scheduler/index.md +1 -1
  73. package/dist/agentic/guides/modules/search/index.md +1 -1
  74. package/dist/agentic/guides/modules/security/index.md +1 -1
  75. package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
  76. package/dist/agentic/guides/modules/sso/index.md +1 -1
  77. package/dist/agentic/guides/modules/staff/index.md +1 -1
  78. package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
  79. package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
  80. package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
  81. package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
  82. package/dist/agentic/guides/modules/translations/index.md +1 -1
  83. package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
  84. package/dist/agentic/guides/modules/webhooks/index.md +1 -1
  85. package/dist/agentic/guides/modules/wms/index.md +1 -1
  86. package/dist/agentic/guides/modules/workflows/index.md +1 -1
  87. package/dist/agentic/guides/reference-module-facts.json +1 -1
  88. package/dist/agentic/guides/upstream/manifest.json +1 -1
  89. package/dist/agentic/shared/ai/harness/cases.json +4 -2
  90. package/package.json +3 -3
  91. package/template/.env.example +19 -1
  92. package/template/package.json.template +2 -0
  93. package/template/src/app/__tests__/start-page-bootstrap.test.ts +34 -0
  94. package/template/src/app/start/page.tsx +11 -1
  95. package/template/src/modules/example/__integration__/TC-START-001-onboarding-gate.spec.ts +33 -0
  96. package/template/src/modules.ts +2 -0
@@ -1,5 +1,5 @@
1
1
  # feature_toggles — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/feature_toggles
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # gateway_stripe — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/gateway-stripe 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/gateway-stripe 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/gateway-stripe/src/modules/gateway_stripe
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # generators — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/shared 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/shared 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/shared/src/modules/generators
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # inbox_ops — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/inbox_ops
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # integrations — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/integrations
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # messages — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/messages
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # notifications — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/notifications
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # onboarding — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/onboarding 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/onboarding 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/onboarding/src/modules/onboarding
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # payment_gateways — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/payment_gateways
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # perspectives — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/perspectives
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # planner — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/planner
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # portal — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/portal
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # progress — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/progress
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # push_notifications — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/push_notifications
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # query_index — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/query_index
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # record_locks — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/enterprise 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/enterprise/src/modules/record_locks
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # resources — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/resources
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # sales — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/sales
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # scheduler — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/scheduler 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/scheduler 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/scheduler/src/modules/scheduler
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # search — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/search 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/search 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/search/src/modules/search
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # security — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/enterprise 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/enterprise/src/modules/security
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # shipping_carriers — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/shipping_carriers
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # sso — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/enterprise 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/enterprise/src/modules/sso
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # staff — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/staff
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # storage_s3 — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/storage-s3 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/storage-s3 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/storage-s3/src/modules/storage_s3
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # sync_akeneo — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/sync-akeneo 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/sync-akeneo 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/sync-akeneo/src/modules/sync_akeneo
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # sync_excel — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/sync_excel
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # system_status_overlays — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/enterprise 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/enterprise/src/modules/system_status_overlays
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # translations — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/translations
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # warranty_claims — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/warranty_claims
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # webhooks — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/webhooks 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/webhooks 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/webhooks/src/modules/webhooks
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # wms — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/wms
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # workflows — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.7.1-develop.7150.1.c1941e0c22; core 0.7.1-develop.7150.1.c1941e0c22 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.7.1-develop.7151.1.00d0391847; core 0.7.1-develop.7151.1.00d0391847 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/workflows
4
4
 
5
5
  ## Sections
@@ -1185,7 +1185,7 @@
1185
1185
  "facts": {
1186
1186
  "title": "Example Module",
1187
1187
  "description": "Demonstrates pages, APIs, entities and DI.",
1188
- "coreVersion": "0.7.1-develop.7150.1.c1941e0c22",
1188
+ "coreVersion": "0.7.1-develop.7151.1.00d0391847",
1189
1189
  "sourcePackage": null,
1190
1190
  "sourceVersion": null,
1191
1191
  "sourceRoot": "src/modules/example",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generator": "create-mercato-app@0.7.1-develop.7150.1.c1941e0c22",
3
+ "generator": "create-mercato-app@0.7.1-develop.7151.1.00d0391847",
4
4
  "files": {
5
5
  "AGENTS.md": "1f54610cebc4fd7e42b56d1c18859edc7ed7d3165c9af72c4530b6feaf76e457",
6
6
  "BACKWARD_COMPATIBILITY.md": "b2e5b812cd677d610787e37be079ef1e686cce171a9b11b0278ff7f0fb34ba2b"
@@ -3055,7 +3055,7 @@
3055
3055
  "mode": "one-shot",
3056
3056
  "evaluationKind": "routing",
3057
3057
  "risk": "high",
3058
- "prompt": "In a freshly scaffolded standalone Open Mercato app, first distinguish outbound transactional email from a connected Gmail/IMAP mailbox, then build the selected app-local provider with encrypted credentials, health, retry, redacted structured createLogger logs, and activation. A mailbox must use the installed communication_channels module and canonical ChannelAdapter contract with integration.ts hub metadata plus DI/setup registration, following installed channel_gmail/channel_imap precedent; transactional delivery must not pretend to be a mailbox adapter. Do not invent a packages workspace; separately published packaging requires an explicit reuse decision. Generated module facts are sufficient for routing; invoke framework context during implementation only after naming one missing exact-version symbol.",
3058
+ "prompt": "In a freshly scaffolded standalone Open Mercato app, first distinguish outbound transactional email from a connected Gmail/IMAP mailbox and inspect the installed Resend/SES provider facts before proposing app-local code. Reuse an installed transactional provider when it matches; otherwise build the selected app-local provider with encrypted credentials, health, retry, redacted structured createLogger logs, and activation. A mailbox must use the installed communication_channels module and canonical ChannelAdapter contract with integration.ts hub metadata plus DI/setup registration, following installed channel_gmail/channel_imap precedent; transactional delivery must not pretend to be a mailbox adapter. Do not invent a packages workspace; separately published packaging requires an explicit reuse decision. Generated module facts are sufficient for routing; invoke framework context during implementation only after naming one missing exact-version symbol.",
3059
3059
  "tags": [
3060
3060
  "integration",
3061
3061
  "encrypted-credentials",
@@ -3089,7 +3089,9 @@
3089
3089
  ".ai/skills/om-integration-builder/SKILL.md",
3090
3090
  ".ai/guides/modules/communication_channels/index.md",
3091
3091
  ".ai/guides/modules/channel_gmail/index.md",
3092
- ".ai/guides/modules/channel_imap/index.md"
3092
+ ".ai/guides/modules/channel_imap/index.md",
3093
+ ".ai/guides/modules/channel_resend/index.md",
3094
+ ".ai/guides/modules/channel_ses/index.md"
3093
3095
  ],
3094
3096
  "allowedExtra": [
3095
3097
  ".ai/guides/modules/integrations/index.md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mercato-app",
3
- "version": "0.7.1-develop.7150.1.c1941e0c22",
3
+ "version": "0.7.1-develop.7151.1.00d0391847",
4
4
  "type": "module",
5
5
  "description": "Create a new Open Mercato application",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "ts-morph": "^28.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@open-mercato/cli": "0.7.1-develop.7150.1.c1941e0c22",
32
- "@open-mercato/shared": "0.7.1-develop.7150.1.c1941e0c22",
31
+ "@open-mercato/cli": "0.7.1-develop.7151.1.00d0391847",
32
+ "@open-mercato/shared": "0.7.1-develop.7151.1.00d0391847",
33
33
  "@types/node": "^26.1.2",
34
34
  "esbuild": "^0.28.1",
35
35
  "tsx": "^4.23.1",
@@ -41,8 +41,26 @@ NEXTAUTH_SECRET=
41
41
  # or
42
42
  # EVENTS_REDIS_URL=redis://localhost:6379
43
43
 
44
- # Email provider (optional)
44
+ # Outbound system email provider (communications hub)
45
+ # A provider key alone seeds nothing: the env preset also needs a from-address from
46
+ # NOTIFICATIONS_EMAIL_FROM / EMAIL_FROM / ADMIN_EMAIL further down this file. With the key but no
47
+ # from-address the app logs a warning and sends no mail.
48
+ # SYSTEM_EMAIL_PROVIDER=resend
45
49
  # RESEND_API_KEY=
50
+ #
51
+ # Amazon SES outbound email. Only the region, sender and configuration set are per tenant — the AWS
52
+ # identity itself comes from this instance's default AWS credential chain (AWS_ACCESS_KEY_ID /
53
+ # AWS_SECRET_ACCESS_KEY below, or the container's IAM role), so every tenant sends from one AWS
54
+ # account. Use Resend when each tenant must bring its own provider account.
55
+ # SYSTEM_EMAIL_PROVIDER=ses
56
+ # AWS_SES_REGION=eu-west-2
57
+ # AWS_REGION=eu-west-2
58
+ # AWS_SES_CONFIGURATION_SET=
59
+ #
60
+ # Optional: pin every tenant-scoped send to one communication channel id instead of resolving the
61
+ # tenant's own. The channel must belong to the sending organization or be tenant-wide
62
+ # (organization_id IS NULL); a pinned channel never falls back to the env credentials above.
63
+ # SYSTEM_EMAIL_CHANNEL_ID=
46
64
 
47
65
  # Public URL used in emails and onboarding flows
48
66
  APP_URL=http://localhost:3000
@@ -59,6 +59,8 @@
59
59
  "@open-mercato/channel-apns": "{{PACKAGE_VERSION}}",
60
60
  "@open-mercato/channel-expo": "{{PACKAGE_VERSION}}",
61
61
  "@open-mercato/channel-fcm": "{{PACKAGE_VERSION}}",
62
+ "@open-mercato/channel-resend": "{{PACKAGE_VERSION}}",
63
+ "@open-mercato/channel-ses": "{{PACKAGE_VERSION}}",
62
64
  "@open-mercato/checkout": "{{PACKAGE_VERSION}}",
63
65
  "@open-mercato/cli": "{{PACKAGE_VERSION}}",
64
66
  "@open-mercato/content": "{{PACKAGE_VERSION}}",
@@ -0,0 +1,34 @@
1
+ import fs from 'node:fs'
2
+ import path from 'node:path'
3
+
4
+ /**
5
+ * `/start` reads the database counters through `createRequestContainer()` and gates the
6
+ * self-service onboarding CTA on `isEmailDeliveryConfigured()`. Both depend on the process
7
+ * having been bootstrapped: the container throws until `registerDiRegistrars()` has run, and
8
+ * the email transport the capability check reads is registered by a module's DI `register()`.
9
+ *
10
+ * Neither failure is visible — the container error is swallowed into the database panel and the
11
+ * missing transport just reads as "email is not configured" — so the page answered a cold
12
+ * process with an error panel and no CTA on a fully configured instance, then corrected itself
13
+ * once any API route bootstrapped the process (#5817). Asserting the call is a statement at
14
+ * module scope, rather than merely that the identifier appears, keeps an import-only or
15
+ * inside-a-branch regression from passing.
16
+ */
17
+ describe('start page bootstrap', () => {
18
+ const source = fs.readFileSync(path.join(process.cwd(), 'src/app/start/page.tsx'), 'utf8')
19
+
20
+ it('imports the full app bootstrap', () => {
21
+ expect(source).toMatch(/^import \{ bootstrap \} from '@\/bootstrap'$/m)
22
+ })
23
+
24
+ it('invokes it at module scope, before any request is served', () => {
25
+ const moduleScopeCall = /^bootstrap\(\)$/m
26
+ expect(source).toMatch(moduleScopeCall)
27
+
28
+ const callIndex = source.search(moduleScopeCall)
29
+ const defaultExportIndex = source.indexOf('export default async function StartPage')
30
+ expect(callIndex).toBeGreaterThan(-1)
31
+ expect(defaultExportIndex).toBeGreaterThan(-1)
32
+ expect(callIndex).toBeLessThan(defaultExportIndex)
33
+ })
34
+ })
@@ -10,13 +10,23 @@ import { cookies } from 'next/headers'
10
10
  import Image from 'next/image'
11
11
  import Link from 'next/link'
12
12
  import { resolveTranslations } from '@open-mercato/shared/lib/i18n/server'
13
+ import { bootstrap } from '@/bootstrap'
13
14
  import { createRequestContainer } from '@open-mercato/shared/lib/di/container'
15
+ import { isEmailDeliveryConfigured } from '@open-mercato/shared/lib/email/config'
14
16
  import type { EntityManager } from '@mikro-orm/postgresql'
15
17
  import { User } from '@open-mercato/core/modules/auth/data/entities'
16
18
  import { Tenant, Organization } from '@open-mercato/core/modules/directory/data/entities'
17
19
  import { buildHomeQuickLinks } from '@/lib/homeQuickLinks'
18
20
  import { Fragment } from 'react'
19
21
 
22
+ // Every other route that builds a request container bootstraps first, and this page needs it
23
+ // twice over: `createRequestContainer` throws outright until `registerDiRegistrars` has run, and
24
+ // the email transport `isEmailDeliveryConfigured` reads is registered by a module's DI
25
+ // `register()`. Without this the process's first request answers `/start` with the database
26
+ // panel in an error state and the onboarding CTA hidden on a fully configured instance, then
27
+ // silently corrects itself once any API route bootstraps the process (#5817).
28
+ bootstrap()
29
+
20
30
  function FeatureBadge({ label }: { label: string }) {
21
31
  return (
22
32
  <span className="inline-flex items-center rounded border px-2 py-0.5 text-xs text-muted-foreground">
@@ -77,7 +87,7 @@ export default async function StartPage() {
77
87
 
78
88
  const onboardingAvailable =
79
89
  process.env.SELF_SERVICE_ONBOARDING_ENABLED === 'true' &&
80
- Boolean(process.env.RESEND_API_KEY && process.env.RESEND_API_KEY.trim()) &&
90
+ isEmailDeliveryConfigured() &&
81
91
  Boolean(process.env.APP_URL && process.env.APP_URL.trim())
82
92
 
83
93
  return (
@@ -0,0 +1,33 @@
1
+ import { expect, test } from '@playwright/test'
2
+
3
+ const viewports = [
4
+ { name: 'desktop', width: 1280, height: 900 },
5
+ { name: 'mobile', width: 390, height: 844 },
6
+ ]
7
+
8
+ test.describe('TC-START-001: start page onboarding gate', () => {
9
+ for (const viewport of viewports) {
10
+ test(`${viewport.name} shows the connected onboarding state without layout or browser errors`, async ({ page }) => {
11
+ const browserErrors: string[] = []
12
+ page.on('console', (message) => {
13
+ if (message.type() === 'error') browserErrors.push(message.text())
14
+ })
15
+ page.on('pageerror', (error) => browserErrors.push(error.message))
16
+ await page.setViewportSize(viewport)
17
+
18
+ const response = await page.goto('/start', { waitUntil: 'networkidle' })
19
+
20
+ expect(response?.status()).toBe(200)
21
+ await expect(page.getByRole('heading', { name: 'Welcome to Your Open Mercato Installation' })).toBeVisible()
22
+ await expect(page.getByRole('heading', { name: 'Launch your own workspace' })).toBeVisible()
23
+ await expect(page.getByRole('link', { name: 'Start onboarding' })).toHaveAttribute('href', '/onboarding')
24
+ await expect(page.getByRole('button', { name: 'Superadmin login disabled' })).toBeDisabled()
25
+ const databaseStatusCard = page.getByText('Database Status', { exact: true }).locator('..')
26
+ await expect(databaseStatusCard).toContainText(/Status:\s*Connected/)
27
+ expect(await page.evaluate(
28
+ () => document.documentElement.scrollWidth > document.documentElement.clientWidth,
29
+ )).toBe(false)
30
+ expect(browserErrors).toEqual([])
31
+ })
32
+ }
33
+ })
@@ -122,6 +122,8 @@ export const enabledModules: ModuleEntry[] = [
122
122
  // Per-user email channels for the Communications Hub (SPEC-045d / email
123
123
  // integration spec). Each provider package registers its `ChannelAdapter`
124
124
  // at import time via `setup.ts`; the hub picks them up by `providerKey`.
125
+ { id: 'channel_resend', from: '@open-mercato/channel-resend' },
126
+ { id: 'channel_ses', from: '@open-mercato/channel-ses' },
125
127
  { id: 'channel_imap', from: '@open-mercato/channel-imap' },
126
128
  { id: 'channel_gmail', from: '@open-mercato/channel-gmail' },
127
129
  // Mobile push providers for the push_notifications channel. Each registers a