@open-mercato/cli 0.10.1-develop.7773.1.a41b0f6c03 → 0.10.1-develop.7774.1.9a13ef7580

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 (94) hide show
  1. package/dist/agentic/guides/module-facts.json +302 -211
  2. package/dist/agentic/guides/module-facts.v2.json +302 -211
  3. package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
  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/availability/index.md +1 -1
  11. package/dist/agentic/guides/modules/business_rules/index.md +1 -1
  12. package/dist/agentic/guides/modules/carrier_inpost/index.md +1 -1
  13. package/dist/agentic/guides/modules/cart/index.md +1 -1
  14. package/dist/agentic/guides/modules/catalog/index.md +1 -1
  15. package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
  16. package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
  17. package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
  18. package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
  19. package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
  20. package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
  21. package/dist/agentic/guides/modules/channel_resend/index.md +1 -1
  22. package/dist/agentic/guides/modules/channel_ses/index.md +1 -1
  23. package/dist/agentic/guides/modules/channel_smtp/index.md +1 -1
  24. package/dist/agentic/guides/modules/checkout/index.md +1 -1
  25. package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
  26. package/dist/agentic/guides/modules/configs/index.md +1 -1
  27. package/dist/agentic/guides/modules/content/index.md +1 -1
  28. package/dist/agentic/guides/modules/currencies/index.md +1 -1
  29. package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
  30. package/dist/agentic/guides/modules/customer_groups/index.md +1 -1
  31. package/dist/agentic/guides/modules/customers/index.md +1 -1
  32. package/dist/agentic/guides/modules/dashboards/index.md +1 -1
  33. package/dist/agentic/guides/modules/data_sync/index.md +1 -1
  34. package/dist/agentic/guides/modules/design_system/index.md +1 -1
  35. package/dist/agentic/guides/modules/devices/index.md +1 -1
  36. package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
  37. package/dist/agentic/guides/modules/directory/index.md +1 -1
  38. package/dist/agentic/guides/modules/documents/index.md +1 -1
  39. package/dist/agentic/guides/modules/documents/umes-contributions.md +2 -2
  40. package/dist/agentic/guides/modules/ecommerce/index.md +1 -1
  41. package/dist/agentic/guides/modules/entities/index.md +1 -1
  42. package/dist/agentic/guides/modules/eudr/index.md +1 -1
  43. package/dist/agentic/guides/modules/events/index.md +1 -1
  44. package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
  45. package/dist/agentic/guides/modules/forms/index.md +1 -1
  46. package/dist/agentic/guides/modules/gateway_autopay/index.md +1 -1
  47. package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
  48. package/dist/agentic/guides/modules/gateway_tpay/index.md +1 -1
  49. package/dist/agentic/guides/modules/generators/index.md +1 -1
  50. package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
  51. package/dist/agentic/guides/modules/integrations/index.md +1 -1
  52. package/dist/agentic/guides/modules/messages/index.md +1 -1
  53. package/dist/agentic/guides/modules/notifications/index.md +1 -1
  54. package/dist/agentic/guides/modules/onboarding/index.md +1 -1
  55. package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
  56. package/dist/agentic/guides/modules/perspectives/index.md +1 -1
  57. package/dist/agentic/guides/modules/phone_calls/index.md +1 -1
  58. package/dist/agentic/guides/modules/planner/index.md +1 -1
  59. package/dist/agentic/guides/modules/portal/index.md +1 -1
  60. package/dist/agentic/guides/modules/progress/index.md +1 -1
  61. package/dist/agentic/guides/modules/promotions/index.md +1 -1
  62. package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
  63. package/dist/agentic/guides/modules/query_index/index.md +1 -1
  64. package/dist/agentic/guides/modules/record_locks/index.md +1 -1
  65. package/dist/agentic/guides/modules/resources/index.md +1 -1
  66. package/dist/agentic/guides/modules/sales/active-extension-bindings.md +2 -0
  67. package/dist/agentic/guides/modules/sales/incoming-installed-contributions.md +1 -1
  68. package/dist/agentic/guides/modules/sales/index.md +2 -2
  69. package/dist/agentic/guides/modules/sales/umes-hosts.md +4 -2
  70. package/dist/agentic/guides/modules/scheduler/index.md +1 -1
  71. package/dist/agentic/guides/modules/search/index.md +1 -1
  72. package/dist/agentic/guides/modules/security/index.md +1 -1
  73. package/dist/agentic/guides/modules/seeds/index.md +1 -1
  74. package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
  75. package/dist/agentic/guides/modules/sso/index.md +1 -1
  76. package/dist/agentic/guides/modules/staff/index.md +1 -1
  77. package/dist/agentic/guides/modules/staff/umes-contributions.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/telemetry/index.md +1 -1
  83. package/dist/agentic/guides/modules/tillio/index.md +1 -1
  84. package/dist/agentic/guides/modules/translations/index.md +1 -1
  85. package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
  86. package/dist/agentic/guides/modules/webhooks/index.md +1 -1
  87. package/dist/agentic/guides/modules/wms/contribution-resolutions.md +1 -1
  88. package/dist/agentic/guides/modules/wms/index.md +1 -1
  89. package/dist/agentic/guides/modules/wms/umes-contributions.md +1 -1
  90. package/dist/agentic/guides/modules/workflows/index.md +1 -1
  91. package/dist/agentic/guides/reference-module-facts.json +1 -1
  92. package/dist/agentic/guides/upstream/manifest.json +1 -1
  93. package/package.json +7 -7
  94. package/src/lib/generators/__tests__/module-extension-activations.test.ts +42 -18
@@ -34,6 +34,8 @@
34
34
  | data-table:sales.quotes:search-trailing | data-table | render-widget | — | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
35
35
  | data-table:sales.quotes:toolbar | data-table | toolbar-widget | — | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
36
36
  | data-table:sales.order.items:columns | detail | column-widget | — | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
37
+ | detail:sales.{kind}:closure | detail | render-widget | SalesDocumentExtensionContext: kind, documentId, record, formId, resourceKind, resourceId, retryLastMutation, organizationId, tenantId | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
38
+ | detail:sales.{kind}:stage-bar | detail | render-widget | SalesDocumentExtensionContext: kind, documentId, record, formId, resourceKind, resourceId, retryLastMutation, organizationId, tenantId | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
37
39
  | detail:sales.order:shipping | detail | render-widget | — | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
38
40
  | sales.document.detail.{kind}:{surface} | detail | render-widget | — | FROZEN | [extension-points.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/extension-points.ts) |
39
41
  | sales:sales_channel | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_channel |
@@ -47,13 +49,13 @@
47
49
  | sales:sales_invoice | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_invoice |
48
50
  | sales:sales_invoice_line | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_invoice_line |
49
51
  | sales:sales_note | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_note |
50
- | sales:sales_order | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_order |
52
+ | sales:sales_order | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/orders/route.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/api/orders/route.ts) |
51
53
  | sales:sales_order_adjustment | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_order_adjustment |
52
54
  | sales:sales_order_line | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_order_line |
53
55
  | sales:sales_payment | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_payment |
54
56
  | sales:sales_payment_allocation | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_payment_allocation |
55
57
  | sales:sales_payment_method | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_payment_method |
56
- | sales:sales_quote | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_quote |
58
+ | sales:sales_quote | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/quotes/route.ts](../../../../node_modules/@open-mercato/core/src/modules/sales/api/quotes/route.ts) |
57
59
  | sales:sales_quote_adjustment | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_quote_adjustment |
58
60
  | sales:sales_quote_line | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_quote_line |
59
61
  | sales:sales_return | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:sales:sales_return |
@@ -1,5 +1,5 @@
1
1
  # scheduler — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/scheduler 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/scheduler 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/search 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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
  # seeds — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/seeds
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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/staff
4
4
 
5
5
  ## Sections
@@ -27,7 +27,7 @@
27
27
  | staff.timesheets.time_task.status_changed.browser | browser-reaction | staff.timesheets.time_task.status_changed | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useAppEvent,useOperationProgress; transports=client | fact-ref | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/events.ts) |
28
28
  | staff.entity-extension.0:customers:customer_entity->staff:staff_time_entry | entity-extension | customers:customer_entity | — | extensionEntityId=staff:staff_time_entry; hostEntityId=customers:customer_entity; linkId=id:customer_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
29
29
  | staff.entity-extension.1:customers:customer_deal->staff:staff_time_entry | entity-extension | customers:customer_deal | — | extensionEntityId=staff:staff_time_entry; hostEntityId=customers:customer_deal; linkId=id:deal_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
30
- | staff.entity-extension.2:sales:sales_order->staff:staff_time_entry | entity-extension | sales:sales_order | — | extensionEntityId=staff:staff_time_entry; hostEntityId=sales:sales_order; linkId=id:order_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
30
+ | staff.entity-extension.2:sales:sales_order->staff:staff_time_entry | entity-extension | sales:sales_order | — | extensionEntityId=staff:staff_time_entry; hostEntityId=sales:sales_order; linkId=id:order_id; orphanContract=optional; scopeContract=tenant-and-organization | exact | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
31
31
  | staff.entity-extension.3:customers:customer_entity->staff:staff_time_project | entity-extension | customers:customer_entity | — | extensionEntityId=staff:staff_time_project; hostEntityId=customers:customer_entity; linkId=id:customer_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
32
32
  | staff.entity-extension.4:customers:customer_entity->staff:staff_time_task | entity-extension | customers:customer_entity | — | extensionEntityId=staff:staff_time_task; hostEntityId=customers:customer_entity; linkId=id:customer_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/extensions.ts) |
33
33
  | staff.timesheets-projects-portfolio | response-enricher | staff:staff_time_project | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=staff:staff_time_project; timeoutMs=3000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/enrichers.ts) |
@@ -1,5 +1,5 @@
1
1
  # storage_s3 — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/storage-s3 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/storage-s3 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/sync-akeneo 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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
  # telemetry — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/telemetry 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/telemetry 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/telemetry/src/modules/telemetry
4
4
 
5
5
  ## Sections
@@ -1,5 +1,5 @@
1
1
  # tillio — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/tillio 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/tillio 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/tillio/src/modules/tillio
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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/webhooks 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/webhooks/src/modules/webhooks
4
4
 
5
5
  ## Sections
@@ -42,6 +42,6 @@
42
42
  | wms.injection.catalog-inventory-profile@crud-form:catalog.product:fields | widget-spot:crud-form:catalog.product:fields @catalog | bound | widget-spot:crud-form:catalog.product:fields:widget-injection-consumer | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
43
43
  | wms.injection.order-items-stock-column@data-table:sales.order.items:columns | widget-spot:data-table:sales.order.items:columns @sales | bound | widget-spot:data-table:sales.order.items:columns:widget-injection-consumer | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
44
44
  | wms.injection.sales-order-stock-context@sales.document.detail.order:details | widget-spot:sales.document.detail.order:details | wildcard | — | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
45
- | wms.sales-order-inventory | entity:sales:sales_order @sales | capability-only | — | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
45
+ | wms.sales-order-inventory | entity:sales:sales_order @sales | bound | entity:sales:sales_order:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
46
46
 
47
47
  <!-- end module facts section: wms/contribution-resolutions -->
@@ -1,5 +1,5 @@
1
1
  # wms — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — R1 staleness stamp -->
3
3
  Source root: node_modules/@open-mercato/core/src/modules/wms
4
4
 
5
5
  ## Sections
@@ -13,7 +13,7 @@
13
13
  | wms.injection.order-items-stock-column@data-table:sales.order.items:columns | data-table | data-table:sales.order.items:columns | — | executionGuard=host; payload=column; tableId=sales.order.items | exact | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
14
14
  | wms.catalog-product-inventory | response-enricher | catalog:catalog_product | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=catalog:catalog_product; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
15
15
  | wms.catalog-variant-inventory | response-enricher | catalog:catalog_product_variant | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=catalog:catalog_product_variant; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
16
- | wms.sales-order-inventory | response-enricher | sales:sales_order | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=sales:sales_order; timeoutMs=2000 | fact-ref | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
16
+ | wms.sales-order-inventory | response-enricher | sales:sales_order | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=sales:sales_order; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
17
17
  | notification:wms.inventory.low_stock | specialized-registry | wms.inventory.low_stock | — | registry=notification; registryId=wms.inventory.low_stock; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/notifications.ts) |
18
18
  | notification:wms.inventory.reservation_shortfall | specialized-registry | wms.inventory.reservation_shortfall | — | registry=notification; registryId=wms.inventory.reservation_shortfall; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/notifications.ts) |
19
19
  | search:wms:asn | specialized-registry | wms:asn | — | registry=search; registryId=wms:asn; specialistRoute=search | fact-ref | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
@@ -1,5 +1,5 @@
1
1
  # workflows — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.10.1-develop.7773.1.a41b0f6c03; core 0.10.1-develop.7773.1.a41b0f6c03 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.10.1-develop.7774.1.9a13ef7580; core 0.10.1-develop.7774.1.9a13ef7580 — 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.10.1-develop.7773.1.a41b0f6c03",
1188
+ "coreVersion": "0.10.1-develop.7774.1.9a13ef7580",
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": "@open-mercato/cli@0.10.1-develop.7773.1.a41b0f6c03",
3
+ "generator": "@open-mercato/cli@0.10.1-develop.7774.1.9a13ef7580",
4
4
  "files": {
5
5
  "AGENTS.md": "b27342ee5f61e805ba52703fdb7ec822b030490f734b4d80f48dfd1e05fa4cf5",
6
6
  "BACKWARD_COMPATIBILITY.md": "646d89a904efd8498e8d79d5e80fb3ee0931a8cf7da818d8f17b527b62815b68"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cli",
3
- "version": "0.10.1-develop.7773.1.a41b0f6c03",
3
+ "version": "0.10.1-develop.7774.1.9a13ef7580",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -60,10 +60,10 @@
60
60
  "@mikro-orm/decorators": "^7.1.14",
61
61
  "@mikro-orm/migrations": "^7.1.14",
62
62
  "@mikro-orm/postgresql": "^7.1.14",
63
- "@open-mercato/events": "0.10.1-develop.7773.1.a41b0f6c03",
64
- "@open-mercato/queue": "0.10.1-develop.7773.1.a41b0f6c03",
65
- "@open-mercato/shared": "0.10.1-develop.7773.1.a41b0f6c03",
66
- "@open-mercato/telemetry": "0.10.1-develop.7773.1.a41b0f6c03",
63
+ "@open-mercato/events": "0.10.1-develop.7774.1.9a13ef7580",
64
+ "@open-mercato/queue": "0.10.1-develop.7774.1.9a13ef7580",
65
+ "@open-mercato/shared": "0.10.1-develop.7774.1.9a13ef7580",
66
+ "@open-mercato/telemetry": "0.10.1-develop.7774.1.9a13ef7580",
67
67
  "cross-spawn": "^7.0.6",
68
68
  "minisearch": "7.2.0",
69
69
  "pg": "8.23.0",
@@ -75,10 +75,10 @@
75
75
  "typescript-js": "npm:typescript@6.0.3"
76
76
  },
77
77
  "peerDependencies": {
78
- "@open-mercato/shared": "0.10.1-develop.7773.1.a41b0f6c03"
78
+ "@open-mercato/shared": "0.10.1-develop.7774.1.9a13ef7580"
79
79
  },
80
80
  "devDependencies": {
81
- "@open-mercato/shared": "0.10.1-develop.7773.1.a41b0f6c03",
81
+ "@open-mercato/shared": "0.10.1-develop.7774.1.9a13ef7580",
82
82
  "@types/jest": "^30.0.0",
83
83
  "jest": "^30.4.2",
84
84
  "ts-jest": "^29.4.12"
@@ -42,21 +42,21 @@ function runPipeline(
42
42
  const eventIds = new Set<string>()
43
43
  const apiRoutes = new Set<string>()
44
44
  const commandIds = new Set<string>()
45
- for (const module of modules) {
46
- const sourceRoot = `node_modules/pkg/src/modules/${module.id}`
47
- surfacesByModule[module.id] = extractModuleExtensionFacts({
48
- moduleId: module.id,
49
- moduleRoot: roots[module.id],
45
+ for (const moduleSpec of modules) {
46
+ const sourceRoot = `node_modules/pkg/src/modules/${moduleSpec.id}`
47
+ surfacesByModule[moduleSpec.id] = extractModuleExtensionFacts({
48
+ moduleId: moduleSpec.id,
49
+ moduleRoot: roots[moduleSpec.id],
50
50
  sourceRoot,
51
- entities: module.entities ?? [],
52
- events: module.events ?? [],
53
- apiRoutes: module.apiRoutes ?? [],
54
- searchEntities: module.searchEntities ?? [],
55
- notifications: module.notifications,
51
+ entities: moduleSpec.entities ?? [],
52
+ events: moduleSpec.events ?? [],
53
+ apiRoutes: moduleSpec.apiRoutes ?? [],
54
+ searchEntities: moduleSpec.searchEntities ?? [],
55
+ notifications: moduleSpec.notifications,
56
56
  })
57
- for (const entity of module.entities ?? []) entityIds.add(entity.id)
58
- for (const event of module.events ?? []) eventIds.add(event.id)
59
- for (const route of module.apiRoutes ?? []) apiRoutes.add(route.path)
57
+ for (const entity of moduleSpec.entities ?? []) entityIds.add(entity.id)
58
+ for (const event of moduleSpec.events ?? []) eventIds.add(event.id)
59
+ for (const route of moduleSpec.apiRoutes ?? []) apiRoutes.add(route.path)
60
60
  }
61
61
  const apiRouteOwners = new Map<string, {
62
62
  moduleId: string
@@ -64,18 +64,18 @@ function runPipeline(
64
64
  bridges: ApiRouteInterceptorBridge[]
65
65
  }>()
66
66
  const commandOwners = new Map<string, { moduleId: string; source: { sourcePath: string } }>()
67
- for (const module of modules) {
68
- const sourceRoot = `node_modules/pkg/src/modules/${module.id}`
69
- const owners = extractActivationTargetOwners({ moduleId: module.id, moduleRoot: roots[module.id], sourceRoot })
67
+ for (const moduleSpec of modules) {
68
+ const sourceRoot = `node_modules/pkg/src/modules/${moduleSpec.id}`
69
+ const owners = extractActivationTargetOwners({ moduleId: moduleSpec.id, moduleRoot: roots[moduleSpec.id], sourceRoot })
70
70
  for (const route of owners.apiRoutes) {
71
71
  apiRoutes.add(`/${route.id}`)
72
72
  if (!apiRouteOwners.has(route.id)) {
73
- apiRouteOwners.set(route.id, { moduleId: module.id, source: route.source, bridges: route.bridges })
73
+ apiRouteOwners.set(route.id, { moduleId: moduleSpec.id, source: route.source, bridges: route.bridges })
74
74
  }
75
75
  }
76
76
  for (const command of owners.commands) {
77
77
  commandIds.add(command.id)
78
- if (!commandOwners.has(command.id)) commandOwners.set(command.id, { moduleId: module.id, source: command.source })
78
+ if (!commandOwners.has(command.id)) commandOwners.set(command.id, { moduleId: moduleSpec.id, source: command.source })
79
79
  }
80
80
  }
81
81
  const correlated = correlateModuleExtensionFacts({ surfacesByModule, entityIds, eventIds, apiRoutes, commandIds })
@@ -144,6 +144,30 @@ describe('module extension activations and incoming index', () => {
144
144
  expect(resolutions[0].target).toEqual({ kind: 'entity', id: 'host:record', moduleId: 'host' })
145
145
  })
146
146
 
147
+ it.each([
148
+ ['sales:sales_quote', 'quotes'],
149
+ ['sales:sales_order', 'orders'],
150
+ ])('extracts the shipped %s response-enricher activation from its HTTP route', (entityId, route) => {
151
+ const sourceRoot = 'packages/core/src/modules/sales'
152
+ const facts = extractModuleExtensionFacts({
153
+ moduleId: 'sales',
154
+ moduleRoot: path.resolve(__dirname, '../../../../../core/src/modules/sales'),
155
+ sourceRoot,
156
+ entities: [{ id: 'sales:sales_quote' }, { id: 'sales:sales_order' }],
157
+ events: [],
158
+ apiRoutes: [],
159
+ searchEntities: [],
160
+ })
161
+ const activations = (facts.activations ?? []).filter((activation) => (
162
+ activation.kind === 'crud-response-enricher' && activation.host.id === entityId
163
+ ))
164
+
165
+ expect(activations).toHaveLength(1)
166
+ expect(activations[0].host).toEqual({ kind: 'entity', id: entityId, moduleId: 'sales' })
167
+ expect(activations[0].source.sourcePath).toBe(`${sourceRoot}/api/${route}/route.ts`)
168
+ expect(activations[0].source.line).toBeGreaterThan(0)
169
+ })
170
+
147
171
  it('binds the query-enricher stage from a query call site that passes extensions', () => {
148
172
  write(moduleRoot('host'), 'api/records/route.ts', `
149
173
  import { makeCrudRoute } from 'x'