@exellix/graph-engine 7.2.0 → 7.2.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.3
4
+
5
+ ### Fixed
6
+
7
+ - **Windows publish/build:** `scripts/clean-dist.mjs` replaces fragile inline `dist/` removal (fixes `ENOTEMPTY` on `npm publish` prebuild).
8
+ - **Profile resolution tests:** Assert bundled `@x12i/ai-profiles` model ids dynamically (avoids breakage when registry updates, e.g. `deep` → `anthropic/claude-sonnet-4.6`).
9
+
10
+ ### Changed
11
+
12
+ - **Dependencies:** `@exellix/ai-tasks` ^8.0.9, `@x12i/activix` ^8.0.5, `@x12i/ai-profiles` ^1.2.0.
13
+ - **Removed** `postinstall` patch for `@exellix/ai-tasks@8.0.7` `MODEL_CAPABILITIES` re-export (fixed upstream in ≥8.0.9).
14
+ - **Live script:** `run-pre-synthesis-graph.mjs` no longer requires `runtime.aliasConfig`; PRE summary uses `metadata.synthesisEnabled`.
15
+
3
16
  ## 7.1.2
4
17
 
5
18
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exellix/graph-engine",
3
- "version": "7.2.0",
3
+ "version": "7.2.4",
4
4
  "type": "module",
5
5
  "description": "Graph executor SDK",
6
6
  "main": "dist/src/index.js",
@@ -18,20 +18,19 @@
18
18
  },
19
19
  "files": [
20
20
  "dist/**",
21
- "scripts/patch-ai-tasks-xynthesis-export.mjs",
22
21
  ".env.example",
23
22
  "CHANGELOG.md",
24
23
  "README.md"
25
24
  ],
26
25
  "scripts": {
27
- "prebuild": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true, maxRetries: 10, retryDelay: 100 })\"",
26
+ "prebuild": "node scripts/clean-dist.mjs",
28
27
  "build": "tsc",
29
- "test": "npm run build && npm run check:no-legacy && node scripts/patch-ai-tasks-xynthesis-export.mjs && node --test --test-force-exit tests/model-alias-contract.test.ts tests/reports-fixtures-pre-synthesis.test.ts tests/passthrough-parity.test.ts tests/step-retry-llm-call.test.ts",
30
- "test:full": "npm run build && npm run check:no-legacy && node scripts/patch-ai-tasks-xynthesis-export.mjs && tsx --test --test-force-exit tests/graph-engine.test.ts tests/passthrough-parity.test.ts tests/task-node-run-task-preflight.test.ts tests/reports-fixtures-pre-synthesis.test.ts tests/model-alias-contract.test.ts tests/step-retry-llm-call.test.ts",
28
+ "test": "npm run build && npm run check:no-legacy && tsx --test --test-force-exit tests/model-alias-contract.test.ts tests/reports-fixtures-pre-synthesis.test.ts tests/passthrough-parity.test.ts tests/step-retry-llm-call.test.ts",
29
+ "test:full": "npm run build && npm run check:no-legacy && tsx --test --test-force-exit tests/graph-engine.test.ts tests/passthrough-parity.test.ts tests/task-node-run-task-preflight.test.ts tests/reports-fixtures-pre-synthesis.test.ts tests/model-alias-contract.test.ts tests/step-retry-llm-call.test.ts",
30
+ "test:live": "npm run run:pre-synthesis",
31
31
  "run:pre-synthesis": "npm run build && node --env-file=.env scripts/run-pre-synthesis-graph.mjs",
32
32
  "check:no-legacy": "node scripts/check-no-legacy.mjs",
33
33
  "lint": "eslint src testkit --ext .ts",
34
- "postinstall": "node scripts/patch-ai-tasks-xynthesis-export.mjs",
35
34
  "prepublishOnly": "npm run build"
36
35
  },
37
36
  "keywords": [
@@ -51,9 +50,9 @@
51
50
  "access": "public"
52
51
  },
53
52
  "dependencies": {
54
- "@exellix/ai-tasks": "^8.0.7",
55
- "@x12i/activix": "^8.0.0",
56
- "@x12i/ai-profiles": "^1.2.0",
53
+ "@exellix/ai-tasks": "^8.1.0",
54
+ "@x12i/activix": "^8.0.7",
55
+ "@x12i/ai-profiles": "^1.2.3",
57
56
  "@x12i/catalox": "^5.1.1",
58
57
  "@x12i/env": "^4.0.1",
59
58
  "@x12i/funcx": "^4.2.0",
@@ -63,6 +62,7 @@
63
62
  "@x12i/memorix-descriptors": "^1.6.0",
64
63
  "@x12i/memorix-retrieval": "^1.10.0",
65
64
  "@x12i/memorix-writer": "^1.0.0",
65
+ "@x12i/optimixer": "^2.0.1",
66
66
  "@x12i/rendrix": "^4.3.0",
67
67
  "@x12i/runx": "^1.3.0"
68
68
  },
@@ -1,22 +0,0 @@
1
- /**
2
- * Workaround: @exellix/ai-tasks@8.0.7 re-exports MODEL_CAPABILITIES from @exellix/xynthesis,
3
- * but xynthesis 4.0.x removed that export (capabilities come from getModelCapabilities / ai-profiles).
4
- * Remove the broken re-export so graph-engine and tests can import @exellix/ai-tasks.
5
- */
6
- import { readFileSync, writeFileSync, existsSync } from 'node:fs';
7
- import { join } from 'node:path';
8
-
9
- const aiTasksRoot = join(process.cwd(), 'node_modules', '@exellix', 'ai-tasks', 'dist');
10
- const broken =
11
- 'export { buildInvokeAttemptSummary, ACTION_OUTPUT_DEFAULTS, MODEL_CAPABILITIES } from "@exellix/xynthesis";';
12
- const fixed =
13
- 'export { buildInvokeAttemptSummary, ACTION_OUTPUT_DEFAULTS } from "@exellix/xynthesis";';
14
-
15
- for (const file of ['index.js', 'index.d.ts']) {
16
- const path = join(aiTasksRoot, file);
17
- if (!existsSync(path)) continue;
18
- const text = readFileSync(path, 'utf8');
19
- if (!text.includes(broken)) continue;
20
- writeFileSync(path, text.replace(broken, fixed), 'utf8');
21
- console.log(`[patch-ai-tasks-xynthesis-export] patched ${file}`);
22
- }