@open-mercato/cli 0.6.8-develop.7082.1.f2a845b020 → 0.6.8-develop.7090.1.4dbca7b350

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 (83) hide show
  1. package/.turbo/turbo-build.log +3 -1
  2. package/dist/agentic/guides/module-facts.json +917 -126
  3. package/dist/agentic/guides/module-facts.v2.json +917 -126
  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/acl-features.md +13 -0
  14. package/dist/agentic/guides/modules/channel_discord/ai-agents.md +11 -0
  15. package/dist/agentic/guides/modules/channel_discord/backend-pages.md +11 -0
  16. package/dist/agentic/guides/modules/channel_discord/cli-commands.md +13 -0
  17. package/dist/agentic/guides/modules/channel_discord/contribution-resolutions.md +14 -0
  18. package/dist/agentic/guides/modules/channel_discord/di-registrations-rich.md +12 -0
  19. package/dist/agentic/guides/modules/channel_discord/exact-override-targets.md +26 -0
  20. package/dist/agentic/guides/modules/channel_discord/index.md +22 -0
  21. package/dist/agentic/guides/modules/channel_discord/owned-contract-module-metadata.md +11 -0
  22. package/dist/agentic/guides/modules/channel_discord/setup.md +11 -0
  23. package/dist/agentic/guides/modules/channel_discord/umes-contributions.md +14 -0
  24. package/dist/agentic/guides/modules/channel_discord/workers.md +12 -0
  25. package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
  26. package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
  27. package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
  28. package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
  29. package/dist/agentic/guides/modules/checkout/index.md +1 -1
  30. package/dist/agentic/guides/modules/communication_channels/incoming-installed-contributions.md +2 -0
  31. package/dist/agentic/guides/modules/communication_channels/index.md +2 -2
  32. package/dist/agentic/guides/modules/configs/index.md +1 -1
  33. package/dist/agentic/guides/modules/content/index.md +1 -1
  34. package/dist/agentic/guides/modules/currencies/index.md +1 -1
  35. package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
  36. package/dist/agentic/guides/modules/customers/index.md +1 -1
  37. package/dist/agentic/guides/modules/dashboards/index.md +1 -1
  38. package/dist/agentic/guides/modules/data_sync/index.md +1 -1
  39. package/dist/agentic/guides/modules/design_system/index.md +1 -1
  40. package/dist/agentic/guides/modules/devices/index.md +1 -1
  41. package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
  42. package/dist/agentic/guides/modules/directory/index.md +1 -1
  43. package/dist/agentic/guides/modules/documents/index.md +1 -1
  44. package/dist/agentic/guides/modules/entities/index.md +1 -1
  45. package/dist/agentic/guides/modules/eudr/index.md +1 -1
  46. package/dist/agentic/guides/modules/events/index.md +1 -1
  47. package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
  48. package/dist/agentic/guides/modules/gateway_stripe/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/planner/index.md +1 -1
  58. package/dist/agentic/guides/modules/portal/index.md +1 -1
  59. package/dist/agentic/guides/modules/progress/index.md +1 -1
  60. package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
  61. package/dist/agentic/guides/modules/query_index/index.md +1 -1
  62. package/dist/agentic/guides/modules/record_locks/index.md +1 -1
  63. package/dist/agentic/guides/modules/resources/index.md +1 -1
  64. package/dist/agentic/guides/modules/sales/index.md +1 -1
  65. package/dist/agentic/guides/modules/scheduler/index.md +1 -1
  66. package/dist/agentic/guides/modules/search/index.md +1 -1
  67. package/dist/agentic/guides/modules/security/index.md +1 -1
  68. package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
  69. package/dist/agentic/guides/modules/sso/index.md +1 -1
  70. package/dist/agentic/guides/modules/staff/index.md +1 -1
  71. package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
  72. package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
  73. package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
  74. package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
  75. package/dist/agentic/guides/modules/translations/index.md +1 -1
  76. package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
  77. package/dist/agentic/guides/modules/webhooks/index.md +1 -1
  78. package/dist/agentic/guides/modules/wms/index.md +1 -1
  79. package/dist/agentic/guides/modules/workflows/index.md +1 -1
  80. package/dist/agentic/guides/reference-module-facts.json +1 -1
  81. package/dist/agentic/guides/upstream/manifest.json +1 -1
  82. package/package.json +6 -6
  83. package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +28 -8
@@ -1,5 +1,5 @@
1
1
  # query_index — module facts (generated, do not edit)
2
- <!-- generated from @open-mercato/core 0.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/scheduler 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/search 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/storage-s3 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/sync-akeneo 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/enterprise 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/webhooks 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020; core 0.6.8-develop.7082.1.f2a845b020 — R1 staleness stamp -->
2
+ <!-- generated from @open-mercato/core 0.6.8-develop.7090.1.4dbca7b350; core 0.6.8-develop.7090.1.4dbca7b350 — 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.6.8-develop.7082.1.f2a845b020",
1188
+ "coreVersion": "0.6.8-develop.7090.1.4dbca7b350",
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.6.8-develop.7082.1.f2a845b020",
3
+ "generator": "@open-mercato/cli@0.6.8-develop.7090.1.4dbca7b350",
4
4
  "files": {
5
5
  "AGENTS.md": "1f54610cebc4fd7e42b56d1c18859edc7ed7d3165c9af72c4530b6feaf76e457",
6
6
  "BACKWARD_COMPATIBILITY.md": "d2fdc675a9c86cab32ab024dae29f45717f441ddc305329c056fb66c5b498c27"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cli",
3
- "version": "0.6.8-develop.7082.1.f2a845b020",
3
+ "version": "0.6.8-develop.7090.1.4dbca7b350",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -60,9 +60,9 @@
60
60
  "@mikro-orm/decorators": "^7.1.8",
61
61
  "@mikro-orm/migrations": "^7.1.8",
62
62
  "@mikro-orm/postgresql": "^7.1.8",
63
- "@open-mercato/queue": "0.6.8-develop.7082.1.f2a845b020",
64
- "@open-mercato/shared": "0.6.8-develop.7082.1.f2a845b020",
65
- "@open-mercato/telemetry": "0.6.8-develop.7082.1.f2a845b020",
63
+ "@open-mercato/queue": "0.6.8-develop.7090.1.4dbca7b350",
64
+ "@open-mercato/shared": "0.6.8-develop.7090.1.4dbca7b350",
65
+ "@open-mercato/telemetry": "0.6.8-develop.7090.1.4dbca7b350",
66
66
  "cross-spawn": "^7.0.6",
67
67
  "pg": "8.22.0",
68
68
  "semver": "^7.8.5",
@@ -73,10 +73,10 @@
73
73
  "typescript-js": "npm:typescript@6.0.3"
74
74
  },
75
75
  "peerDependencies": {
76
- "@open-mercato/shared": "0.6.8-develop.7082.1.f2a845b020"
76
+ "@open-mercato/shared": "0.6.8-develop.7090.1.4dbca7b350"
77
77
  },
78
78
  "devDependencies": {
79
- "@open-mercato/shared": "0.6.8-develop.7082.1.f2a845b020",
79
+ "@open-mercato/shared": "0.6.8-develop.7090.1.4dbca7b350",
80
80
  "@types/jest": "^30.0.0",
81
81
  "jest": "^30.4.2",
82
82
  "ts-jest": "^29.4.12"
@@ -158,17 +158,37 @@ describe('module-facts BC resolve guard (T2)', () => {
158
158
  // `channel-apns` and `channel-expo` provider packages add their own facts,
159
159
  // provenance entries and override targets to every render. The
160
160
  // `warranty_claims` module (see above) and the additive Documents module
161
- // land alongside it, so the cap absorbs all three additions. Both sides of
162
- // that merge had raised the cap independently (3_950_000 for Documents,
163
- // 4_000_000 for the rest); neither number covers the union, which measures
164
- // ~4.09MB. Keep bounded headroom over the measured size only.
165
- expect(Buffer.byteLength(completeJson)).toBeLessThan(4_150_000)
166
- expect(Buffer.byteLength(completeJson) - Buffer.byteLength(legacyJson)).toBeLessThan(1_800_000)
161
+ // land alongside it.
162
+ //
163
+ // Raised again here for a reason unlike every raise above: those all tracked
164
+ // a schema or extraction change, this one tracks ordinary repo growth. The
165
+ // additive `channel_discord` module costs ~15.9KB JSON and ~9.2KB markdown
166
+ // (`channel_gmail` costs 6,886 / `channel_imap` 6,798; the difference is a
167
+ // gateway worker, a CLI command, a signed route and a subscriber, spread
168
+ // proportionally across overrideTargets, extensionSurfaces, factSources and
169
+ // ownedContracts — no duplicated payloads).
170
+ //
171
+ // The numbers below are MEASURED ON THE MERGED TREE, not transcribed from
172
+ // either side of the merge: neither side's cap covers the union. A cap that
173
+ // sits a fraction of a percent above the current measurement has stopped
174
+ // detecting blow-ups and started rejecting the next additive module of any
175
+ // size, whichever PR happens to add it — so keep bounded headroom over the
176
+ // measured size. A real blow-up here is multiplicative (a duplicated
177
+ // provenance payload, a contribution body copied per resolution), not one
178
+ // provider's worth of references.
179
+ expect(Buffer.byteLength(completeJson)).toBeLessThan(4_700_000)
180
+ // Measured on the merged tree (`yarn jest module-facts.bc-guard`):
181
+ // completeJson 4,120,374 · legacy delta 1,795,214 · markdown 1,558,590 ·
182
+ // directory markdown 1,709,511.
183
+ // The delta cap is raised alongside the JSON one for the same reason: at
184
+ // 1,800,000 it sat 0.27% above the measurement, which is not a guard.
185
+ expect(Buffer.byteLength(completeJson) - Buffer.byteLength(legacyJson)).toBeLessThan(2_050_000)
167
186
  // Markdown cap raised with the source-link contract: entities, events, ACL
168
187
  // features, DI tokens, search entities, notifications, UMES hosts and UMES
169
188
  // contributions all render a resolved Source cell, and contribution
170
- // resolutions render as their own source-linked section.
171
- expect(markdownBytes).toBeLessThan(1_750_000)
189
+ // resolutions render as their own source-linked section — plus the additive
190
+ // `channel_discord` module's own render, per the growth note above.
191
+ expect(markdownBytes).toBeLessThan(1_800_000)
172
192
  expect(directoryMarkdownBytes).toBeLessThan(2_050_000)
173
193
  })
174
194