@open-mercato/cli 0.6.8-develop.6925.1.cefa200fa4 → 0.6.8-develop.6931.1.4a1e1c786b
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.
- package/.turbo/turbo-build.log +3 -2
- package/dist/agentic/guides/module-facts.json +4970 -111
- package/dist/agentic/guides/modules/ai_assistant.md +1 -1
- package/dist/agentic/guides/modules/api_docs.md +1 -1
- package/dist/agentic/guides/modules/api_keys.md +1 -1
- package/dist/agentic/guides/modules/attachments.md +5 -2
- package/dist/agentic/guides/modules/audit_logs.md +1 -1
- package/dist/agentic/guides/modules/auth.md +1 -1
- package/dist/agentic/guides/modules/business_rules.md +1 -1
- package/dist/agentic/guides/modules/catalog.md +4 -1
- package/dist/agentic/guides/modules/channel_gmail.md +1 -1
- package/dist/agentic/guides/modules/channel_imap.md +1 -1
- package/dist/agentic/guides/modules/checkout.md +1 -1
- package/dist/agentic/guides/modules/communication_channels.md +1 -1
- package/dist/agentic/guides/modules/configs.md +1 -1
- package/dist/agentic/guides/modules/content.md +1 -1
- package/dist/agentic/guides/modules/currencies.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts.md +1 -1
- package/dist/agentic/guides/modules/customers.md +5 -1
- package/dist/agentic/guides/modules/dashboards.md +1 -1
- package/dist/agentic/guides/modules/data_sync.md +1 -1
- package/dist/agentic/guides/modules/design_system.md +1 -1
- package/dist/agentic/guides/modules/dictionaries.md +1 -1
- package/dist/agentic/guides/modules/directory.md +1 -1
- package/dist/agentic/guides/modules/entities.md +1 -1
- package/dist/agentic/guides/modules/eudr.md +363 -0
- package/dist/agentic/guides/modules/events.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe.md +1 -1
- package/dist/agentic/guides/modules/generators.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops.md +1 -1
- package/dist/agentic/guides/modules/integrations.md +1 -1
- package/dist/agentic/guides/modules/messages.md +1 -1
- package/dist/agentic/guides/modules/notifications.md +1 -1
- package/dist/agentic/guides/modules/onboarding.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways.md +1 -1
- package/dist/agentic/guides/modules/perspectives.md +1 -1
- package/dist/agentic/guides/modules/planner.md +1 -1
- package/dist/agentic/guides/modules/portal.md +1 -1
- package/dist/agentic/guides/modules/progress.md +1 -1
- package/dist/agentic/guides/modules/query_index.md +1 -1
- package/dist/agentic/guides/modules/record_locks.md +1 -1
- package/dist/agentic/guides/modules/resources.md +1 -1
- package/dist/agentic/guides/modules/sales.md +1 -1
- package/dist/agentic/guides/modules/scheduler.md +1 -1
- package/dist/agentic/guides/modules/search.md +1 -1
- package/dist/agentic/guides/modules/security.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers.md +1 -1
- package/dist/agentic/guides/modules/sso.md +1 -1
- package/dist/agentic/guides/modules/staff.md +1 -1
- package/dist/agentic/guides/modules/storage_s3.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo.md +1 -1
- package/dist/agentic/guides/modules/sync_excel.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays.md +1 -1
- package/dist/agentic/guides/modules/translations.md +1 -1
- package/dist/agentic/guides/modules/webhooks.md +1 -1
- package/dist/agentic/guides/modules/wms.md +1 -1
- package/dist/agentic/guides/modules/workflows.md +1 -1
- package/dist/agentic/guides/upstream/manifest.json +1 -1
- package/dist/agentic/shared/ai/harness/README.md +2 -2
- package/dist/agentic/shared/ai/harness/RELEASE.md +4 -4
- package/dist/agentic/shared/ai/harness/cases.json +86 -0
- package/dist/agentic/shared/ai/harness/cases.schema.json +3 -3
- package/dist/agentic/shared/ai/harness/validators.json +1 -1
- package/dist/agentic/shared/scripts/check-lessons.mjs +5 -1
- package/dist/lib/testing/integration.js +10 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/package.json +6 -6
- package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +8 -2
- package/src/lib/testing/integration.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/cli",
|
|
3
|
-
"version": "0.6.8-develop.
|
|
3
|
+
"version": "0.6.8-develop.6931.1.4a1e1c786b",
|
|
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.
|
|
64
|
-
"@open-mercato/shared": "0.6.8-develop.
|
|
65
|
-
"@open-mercato/telemetry": "0.6.8-develop.
|
|
63
|
+
"@open-mercato/queue": "0.6.8-develop.6931.1.4a1e1c786b",
|
|
64
|
+
"@open-mercato/shared": "0.6.8-develop.6931.1.4a1e1c786b",
|
|
65
|
+
"@open-mercato/telemetry": "0.6.8-develop.6931.1.4a1e1c786b",
|
|
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.
|
|
76
|
+
"@open-mercato/shared": "0.6.8-develop.6931.1.4a1e1c786b"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@open-mercato/shared": "0.6.8-develop.
|
|
79
|
+
"@open-mercato/shared": "0.6.8-develop.6931.1.4a1e1c786b",
|
|
80
80
|
"@types/jest": "^30.0.0",
|
|
81
81
|
"jest": "^30.4.2",
|
|
82
82
|
"ts-jest": "^29.4.12"
|
|
@@ -82,14 +82,20 @@ describe('module-facts BC resolve guard (T2)', () => {
|
|
|
82
82
|
// pathological regression from ordinary hardware variance and failed
|
|
83
83
|
// unrelated PRs at random. 90s keeps it meaningful — a real blow-up here is
|
|
84
84
|
// multiplicative, not a few percent — while leaving CI roughly 3x headroom.
|
|
85
|
+
//
|
|
86
|
+
// Whole-repo output caps include the additive EUDR module. Measured with the
|
|
87
|
+
// same extractor, EUDR adds 147,395 JSON bytes and 66,037 Markdown bytes for
|
|
88
|
+
// its real routes, ACL, events, entities, and extension surfaces; removing
|
|
89
|
+
// only EUDR leaves 3,486,786 JSON bytes and 1,519,856 Markdown bytes. The
|
|
90
|
+
// extension-only delta remains below its existing 1.8 MB blow-up guard.
|
|
85
91
|
expect(extractionCpuDurationMs).toBeLessThan(90_000)
|
|
86
|
-
expect(Buffer.byteLength(completeJson)).toBeLessThan(
|
|
92
|
+
expect(Buffer.byteLength(completeJson)).toBeLessThan(3_750_000)
|
|
87
93
|
expect(Buffer.byteLength(completeJson) - Buffer.byteLength(legacyJson)).toBeLessThan(1_800_000)
|
|
88
94
|
// Markdown cap raised with the source-link contract: entities, events, ACL
|
|
89
95
|
// features, DI tokens, search entities, notifications, UMES hosts and UMES
|
|
90
96
|
// contributions all render a resolved Source cell, and contribution
|
|
91
97
|
// resolutions render as their own source-linked section.
|
|
92
|
-
expect(markdownBytes).toBeLessThan(
|
|
98
|
+
expect(markdownBytes).toBeLessThan(1_650_000)
|
|
93
99
|
})
|
|
94
100
|
|
|
95
101
|
it('discovers a superset of the historical core modules', () => {
|
|
@@ -1977,6 +1977,12 @@ function buildReusableEnvironment(
|
|
|
1977
1977
|
// not have to call flushPendingCrudAccessLogs() explicitly.
|
|
1978
1978
|
OM_CRUD_ACCESS_LOG_BLOCKING: process.env.OM_CRUD_ACCESS_LOG_BLOCKING ?? '1',
|
|
1979
1979
|
OM_WEBHOOKS_ALLOW_PRIVATE_URLS: process.env.OM_WEBHOOKS_ALLOW_PRIVATE_URLS ?? '1',
|
|
1980
|
+
// TC-ONB-001/002 drive the self-service signup flow, whose routes are not
|
|
1981
|
+
// mounted while the feature is off. `apps/mercato/.env` ships it disabled,
|
|
1982
|
+
// so both specs 404'd on every local run while CI stayed green — it exports
|
|
1983
|
+
// the var at the workflow level, the same gap the MOCK_INBOUND_WEBHOOK_SECRET
|
|
1984
|
+
// note below describes. Keep in sync with the app-server env block.
|
|
1985
|
+
SELF_SERVICE_ONBOARDING_ENABLED: process.env.SELF_SERVICE_ONBOARDING_ENABLED ?? 'true',
|
|
1980
1986
|
// Keep the bus in the Playwright process (used by in-test queue-drain helpers)
|
|
1981
1987
|
// on the same delivery mode as the app server it drives: inline persistent
|
|
1982
1988
|
// delivery so event side effects are deterministic for assertions. See the
|
|
@@ -3329,6 +3335,10 @@ export async function startEphemeralEnvironment(options: EphemeralRuntimeOptions
|
|
|
3329
3335
|
OM_TEST_AUTH_RATE_LIMIT_MODE: 'opt-in',
|
|
3330
3336
|
OM_DISABLE_EMAIL_DELIVERY: '1',
|
|
3331
3337
|
OM_WEBHOOKS_ALLOW_PRIVATE_URLS: process.env.OM_WEBHOOKS_ALLOW_PRIVATE_URLS ?? '1',
|
|
3338
|
+
// Read at build time as well as at runtime, so this block has to carry it:
|
|
3339
|
+
// the app build and `yarn start` both run with this environment. See the
|
|
3340
|
+
// matching note on the Playwright-process env block above.
|
|
3341
|
+
SELF_SERVICE_ONBOARDING_ENABLED: process.env.SELF_SERVICE_ONBOARDING_ENABLED ?? 'true',
|
|
3332
3342
|
ENABLE_CRUD_API_CACHE: 'true',
|
|
3333
3343
|
MOCK_GATEWAY_WEBHOOK_SECRET: 'open-mercato-mock-dev-webhook-secret',
|
|
3334
3344
|
MOCK_CARRIER_WEBHOOK_SECRET: 'open-mercato-mock-dev-carrier-webhook-secret',
|