@open-mercato/cli 0.6.8-develop.7057.1.61440fc3bc → 0.6.8-develop.7063.1.664341cf65
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/dist/agentic/guides/module-facts.json +126 -126
- package/dist/agentic/guides/module-facts.v2.json +126 -126
- package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
- package/dist/agentic/guides/modules/api_docs/index.md +1 -1
- package/dist/agentic/guides/modules/api_keys/index.md +1 -1
- package/dist/agentic/guides/modules/attachments/index.md +1 -1
- package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
- package/dist/agentic/guides/modules/auth/index.md +1 -1
- package/dist/agentic/guides/modules/business_rules/index.md +1 -1
- package/dist/agentic/guides/modules/catalog/index.md +1 -1
- package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
- package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
- package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
- package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
- package/dist/agentic/guides/modules/checkout/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
- package/dist/agentic/guides/modules/configs/index.md +1 -1
- package/dist/agentic/guides/modules/content/index.md +1 -1
- package/dist/agentic/guides/modules/currencies/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
- package/dist/agentic/guides/modules/customers/index.md +1 -1
- package/dist/agentic/guides/modules/dashboards/index.md +1 -1
- package/dist/agentic/guides/modules/data_sync/index.md +1 -1
- package/dist/agentic/guides/modules/design_system/index.md +1 -1
- package/dist/agentic/guides/modules/devices/index.md +1 -1
- package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
- package/dist/agentic/guides/modules/directory/index.md +1 -1
- package/dist/agentic/guides/modules/documents/index.md +1 -1
- package/dist/agentic/guides/modules/entities/index.md +1 -1
- package/dist/agentic/guides/modules/eudr/index.md +1 -1
- package/dist/agentic/guides/modules/events/index.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
- package/dist/agentic/guides/modules/generators/index.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
- package/dist/agentic/guides/modules/integrations/index.md +1 -1
- package/dist/agentic/guides/modules/messages/index.md +1 -1
- package/dist/agentic/guides/modules/notifications/index.md +1 -1
- package/dist/agentic/guides/modules/onboarding/index.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
- package/dist/agentic/guides/modules/perspectives/index.md +1 -1
- package/dist/agentic/guides/modules/planner/index.md +1 -1
- package/dist/agentic/guides/modules/portal/index.md +1 -1
- package/dist/agentic/guides/modules/progress/index.md +1 -1
- package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
- package/dist/agentic/guides/modules/query_index/index.md +1 -1
- package/dist/agentic/guides/modules/record_locks/index.md +1 -1
- package/dist/agentic/guides/modules/resources/index.md +1 -1
- package/dist/agentic/guides/modules/sales/index.md +1 -1
- package/dist/agentic/guides/modules/scheduler/index.md +1 -1
- package/dist/agentic/guides/modules/search/index.md +1 -1
- package/dist/agentic/guides/modules/security/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
- package/dist/agentic/guides/modules/sso/index.md +1 -1
- package/dist/agentic/guides/modules/staff/index.md +1 -1
- package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
- package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
- package/dist/agentic/guides/modules/translations/index.md +1 -1
- package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
- package/dist/agentic/guides/modules/webhooks/index.md +1 -1
- package/dist/agentic/guides/modules/wms/index.md +1 -1
- package/dist/agentic/guides/modules/workflows/index.md +1 -1
- package/dist/agentic/guides/reference-module-facts.json +1 -1
- package/dist/agentic/guides/upstream/manifest.json +1 -1
- package/dist/agentic/shared/ai/harness/RELEASE.md +2 -0
- package/dist/agentic/shared/scripts/run-agent-harness-release.mjs +16 -2
- package/package.json +6 -6
|
@@ -41,6 +41,14 @@ const SENSITIVE_AUTH_DATA_FILE = /^(?:auth|credentials?|secrets?|tokens?)(?:\.(?
|
|
|
41
41
|
const SENSITIVE_ENV_KEY = /(?:^|_)(?:api_?key|auth|credential|credentials|password|passwd|private_?key|secret|token)(?:_|$)/i
|
|
42
42
|
const GENERATED_YARN_CONFIG_PATH = '.yarnrc.yml'
|
|
43
43
|
const GENERATED_YARN_CONFIG_LIMIT = 16_384
|
|
44
|
+
// The deterministic step invokes no model, so its ceiling must not ride --case-timeout. Timed on
|
|
45
|
+
// Linux x86_64, the complete 234-case catalog finished in 768-998 ms, and narrowing the selection
|
|
46
|
+
// down to a single case measured 842-890 ms, inside the same spread, so the run is dominated by
|
|
47
|
+
// fixed process and catalog load rather than by case count. A flat allowance is therefore the
|
|
48
|
+
// honest shape, and 120000 ms is both about 120x the slowest observed run and the value this gate
|
|
49
|
+
// already gives its other model-free step, fixture preparation. It bounds a hang; a healthy run
|
|
50
|
+
// never approaches it.
|
|
51
|
+
export const DETERMINISTIC_STEP_TIMEOUT_MS = 120_000
|
|
44
52
|
|
|
45
53
|
function usage() {
|
|
46
54
|
return `Run the complete standalone agent-harness release gate.
|
|
@@ -56,6 +64,7 @@ Options:
|
|
|
56
64
|
--prepare-targets <absolute> Clone this fresh scaffold once per writable case under an empty/new directory
|
|
57
65
|
--writable-targets <absolute> JSON map of every writable case to a fresh disposable app
|
|
58
66
|
--case-timeout <ms> Per-model invocation timeout floor for the routing, writable, and review lanes (default: ${DEFAULT_CASE_TIMEOUT_MS})
|
|
67
|
+
The model-free deterministic and fixture-preparation steps carry their own flat ceilings and do not read it.
|
|
59
68
|
--validation-timeout <ms> Timeout for each yarn validation (default: 1800000)
|
|
60
69
|
--acknowledge-writes Required: fixture preparation and validation commands write files
|
|
61
70
|
--help Show this help
|
|
@@ -123,6 +132,10 @@ export function effectiveCaseTimeout(cases, caseId, fallback) {
|
|
|
123
132
|
return Math.max(fallback, Number.isInteger(declared) ? declared : 0)
|
|
124
133
|
}
|
|
125
134
|
|
|
135
|
+
export function deterministicInvocation({ evaluator, root }) {
|
|
136
|
+
return { args: [evaluator, '--root', root, '--all'], timeout: DETERMINISTIC_STEP_TIMEOUT_MS }
|
|
137
|
+
}
|
|
138
|
+
|
|
126
139
|
export function routingInvocation({ evaluator, root, step, cases, caseTimeout }) {
|
|
127
140
|
const args = [evaluator, '--root', root, '--runner', step.runner]
|
|
128
141
|
if (step.lane === 'primary') args.push('--all')
|
|
@@ -1591,11 +1604,12 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1591
1604
|
const { env: foundationEnv } = createMinimalValidationEnvironment(foundationTempRoot)
|
|
1592
1605
|
let deterministicResult
|
|
1593
1606
|
try {
|
|
1607
|
+
const deterministic = deterministicInvocation({ evaluator, root })
|
|
1594
1608
|
const deterministicExecution = execute(
|
|
1595
1609
|
process.execPath,
|
|
1596
|
-
|
|
1610
|
+
deterministic.args,
|
|
1597
1611
|
root,
|
|
1598
|
-
|
|
1612
|
+
deterministic.timeout,
|
|
1599
1613
|
foundationEnv,
|
|
1600
1614
|
)
|
|
1601
1615
|
const deterministicObserved = sortedUnique((deterministicExecution.stdout ?? '').match(/^PASS (OMH-[0-9]{3})/gm)?.map((entry) => entry.slice('PASS '.length)) ?? [])
|
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.7063.1.664341cf65",
|
|
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.7063.1.664341cf65",
|
|
64
|
+
"@open-mercato/shared": "0.6.8-develop.7063.1.664341cf65",
|
|
65
|
+
"@open-mercato/telemetry": "0.6.8-develop.7063.1.664341cf65",
|
|
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.7063.1.664341cf65"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@open-mercato/shared": "0.6.8-develop.
|
|
79
|
+
"@open-mercato/shared": "0.6.8-develop.7063.1.664341cf65",
|
|
80
80
|
"@types/jest": "^30.0.0",
|
|
81
81
|
"jest": "^30.4.2",
|
|
82
82
|
"ts-jest": "^29.4.12"
|