@open-mercato/cli 0.6.6-develop.6480.1.309f47ca1c → 0.6.6-develop.6482.1.6441fffca2

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 (58) hide show
  1. package/dist/agentic/guides/module-facts.json +53 -53
  2. package/dist/agentic/guides/modules/ai_assistant.md +1 -1
  3. package/dist/agentic/guides/modules/api_docs.md +1 -1
  4. package/dist/agentic/guides/modules/api_keys.md +1 -1
  5. package/dist/agentic/guides/modules/attachments.md +1 -1
  6. package/dist/agentic/guides/modules/audit_logs.md +1 -1
  7. package/dist/agentic/guides/modules/auth.md +1 -1
  8. package/dist/agentic/guides/modules/business_rules.md +1 -1
  9. package/dist/agentic/guides/modules/catalog.md +1 -1
  10. package/dist/agentic/guides/modules/channel_gmail.md +1 -1
  11. package/dist/agentic/guides/modules/channel_imap.md +1 -1
  12. package/dist/agentic/guides/modules/checkout.md +1 -1
  13. package/dist/agentic/guides/modules/communication_channels.md +1 -1
  14. package/dist/agentic/guides/modules/configs.md +1 -1
  15. package/dist/agentic/guides/modules/content.md +1 -1
  16. package/dist/agentic/guides/modules/currencies.md +1 -1
  17. package/dist/agentic/guides/modules/customer_accounts.md +1 -1
  18. package/dist/agentic/guides/modules/customers.md +1 -1
  19. package/dist/agentic/guides/modules/dashboards.md +1 -1
  20. package/dist/agentic/guides/modules/data_sync.md +1 -1
  21. package/dist/agentic/guides/modules/dictionaries.md +1 -1
  22. package/dist/agentic/guides/modules/directory.md +1 -1
  23. package/dist/agentic/guides/modules/entities.md +1 -1
  24. package/dist/agentic/guides/modules/events.md +1 -1
  25. package/dist/agentic/guides/modules/feature_toggles.md +1 -1
  26. package/dist/agentic/guides/modules/gateway_stripe.md +1 -1
  27. package/dist/agentic/guides/modules/generators.md +1 -1
  28. package/dist/agentic/guides/modules/inbox_ops.md +1 -1
  29. package/dist/agentic/guides/modules/integrations.md +1 -1
  30. package/dist/agentic/guides/modules/messages.md +1 -1
  31. package/dist/agentic/guides/modules/notifications.md +1 -1
  32. package/dist/agentic/guides/modules/onboarding.md +1 -1
  33. package/dist/agentic/guides/modules/payment_gateways.md +1 -1
  34. package/dist/agentic/guides/modules/perspectives.md +1 -1
  35. package/dist/agentic/guides/modules/planner.md +1 -1
  36. package/dist/agentic/guides/modules/portal.md +1 -1
  37. package/dist/agentic/guides/modules/progress.md +1 -1
  38. package/dist/agentic/guides/modules/query_index.md +1 -1
  39. package/dist/agentic/guides/modules/record_locks.md +1 -1
  40. package/dist/agentic/guides/modules/resources.md +1 -1
  41. package/dist/agentic/guides/modules/sales.md +1 -1
  42. package/dist/agentic/guides/modules/scheduler.md +1 -1
  43. package/dist/agentic/guides/modules/search.md +1 -1
  44. package/dist/agentic/guides/modules/security.md +1 -1
  45. package/dist/agentic/guides/modules/shipping_carriers.md +1 -1
  46. package/dist/agentic/guides/modules/sso.md +1 -1
  47. package/dist/agentic/guides/modules/staff.md +1 -1
  48. package/dist/agentic/guides/modules/storage_s3.md +1 -1
  49. package/dist/agentic/guides/modules/sync_akeneo.md +1 -1
  50. package/dist/agentic/guides/modules/sync_excel.md +1 -1
  51. package/dist/agentic/guides/modules/system_status_overlays.md +1 -1
  52. package/dist/agentic/guides/modules/translations.md +1 -1
  53. package/dist/agentic/guides/modules/webhooks.md +1 -1
  54. package/dist/agentic/guides/modules/workflows.md +1 -1
  55. package/dist/lib/testing/integration.js +16 -0
  56. package/dist/lib/testing/integration.js.map +2 -2
  57. package/package.json +5 -5
  58. package/src/lib/testing/integration.ts +21 -0
@@ -1,5 +1,5 @@
1
1
  # feature_toggles — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # gateway_stripe — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # generators — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # inbox_ops — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # integrations — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # messages — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # notifications — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # onboarding — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # payment_gateways — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # perspectives — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # planner — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # portal — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # progress — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # query_index — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # record_locks — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # resources — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # sales — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # scheduler — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # search — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # security — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # shipping_carriers — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # sso — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # staff — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # storage_s3 — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # sync_akeneo — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # sync_excel — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # system_status_overlays — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # translations — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # webhooks — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1,5 +1,5 @@
1
1
  # workflows — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.6-develop.6480.1.309f47ca1c — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.6-develop.6482.1.6441fffca2 — R1 staleness stamp -->
3
3
 
4
4
  ## Entities
5
5
 
@@ -1439,6 +1439,14 @@ function buildReusableEnvironment(baseUrl, databaseUrl, queueBaseDir, captureScr
1439
1439
  APP_URL: baseUrl,
1440
1440
  NEXT_PUBLIC_APP_URL: baseUrl,
1441
1441
  NODE_ENV: "production",
1442
+ // Share the app server's cache backend with the test process and the
1443
+ // queue-drain runners it spawns (drainIntegrationQueue children inherit
1444
+ // this env). Without it those processes default to the in-memory cache
1445
+ // strategy, their invalidateCrudCache calls never reach the app's sqlite
1446
+ // cache, and any test whose drain-runner wins the job race then polls a
1447
+ // stale CRUD response until the TTL (TC-CRM-028/079, TC-SX-001).
1448
+ CACHE_STRATEGY: "sqlite",
1449
+ CACHE_SQLITE_PATH: EPHEMERAL_CACHE_DB_PATH,
1442
1450
  JWT_SECRET: process.env.JWT_SECRET ?? "om-ephemeral-integration-jwt-secret",
1443
1451
  OM_SECURITY_MFA_SETUP_SECRET: process.env.OM_SECURITY_MFA_SETUP_SECRET ?? "om-ephemeral-integration-mfa-setup-secret",
1444
1452
  // Integration probe + tests expect `admin@acme.com / secret` and
@@ -2590,6 +2598,8 @@ async function startEphemeralEnvironment(options) {
2590
2598
  const databasePort = databaseContainer.getMappedPort(5432);
2591
2599
  const databaseUrl = `postgres://${databaseUser}:${databasePassword}@${databaseHost}:${databasePort}/${databaseName}`;
2592
2600
  await rm(EPHEMERAL_CACHE_DB_PATH, { force: true }).catch(() => void 0);
2601
+ await rm(`${EPHEMERAL_CACHE_DB_PATH}-wal`, { force: true }).catch(() => void 0);
2602
+ await rm(`${EPHEMERAL_CACHE_DB_PATH}-shm`, { force: true }).catch(() => void 0);
2593
2603
  await rm(EPHEMERAL_QUEUE_BASE_DIR, { recursive: true, force: true }).catch(() => void 0);
2594
2604
  const enterpriseModulesFlag = process.env.OM_ENABLE_ENTERPRISE_MODULES ?? "false";
2595
2605
  const commandEnvironment = buildEnvironment({
@@ -2633,6 +2643,12 @@ async function startEphemeralEnvironment(options) {
2633
2643
  ENABLE_CRUD_API_CACHE: "true",
2634
2644
  MOCK_GATEWAY_WEBHOOK_SECRET: "open-mercato-mock-dev-webhook-secret",
2635
2645
  MOCK_CARRIER_WEBHOOK_SECRET: "open-mercato-mock-dev-carrier-webhook-secret",
2646
+ // The mock inbound adapter refuses the dev-secret fallback under
2647
+ // NODE_ENV=production; without this the app 400s every mock_inbound
2648
+ // verification and the TC-WEBHOOK suite fails locally (CI exports the
2649
+ // var at the workflow level, masking the gap). Keep in sync with the
2650
+ // Playwright-process env block above.
2651
+ MOCK_INBOUND_WEBHOOK_SECRET: "open-mercato-mock-dev-inbound-webhook-secret",
2636
2652
  NEXT_PUBLIC_OM_EXAMPLE_INJECTION_WIDGETS_ENABLED: "true",
2637
2653
  NEXT_PUBLIC_UMES_DEVTOOLS: "true",
2638
2654
  CI: "true",