@olonjs/cli 3.0.106 → 3.0.108

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.
@@ -1646,7 +1646,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1646
1646
  "@tiptap/extension-link": "^2.11.5",
1647
1647
  "@tiptap/react": "^2.11.5",
1648
1648
  "@tiptap/starter-kit": "^2.11.5",
1649
- "@olonjs/core": "^1.0.93",
1649
+ "@olonjs/core": "^1.0.95",
1650
1650
  "class-variance-authority": "^0.7.1",
1651
1651
  "clsx": "^2.1.1",
1652
1652
  "lucide-react": "^0.474.0",
@@ -1960,12 +1960,18 @@ import { build } from 'vite';
1960
1960
  import path from 'path';
1961
1961
  import { fileURLToPath, pathToFileURL } from 'url';
1962
1962
  import fs from 'fs/promises';
1963
- import {
1963
+ import { createRequire } from 'module';
1964
+
1965
+ const require = createRequire(import.meta.url);
1966
+ const corePkgPath = require.resolve('@olonjs/core/package.json');
1967
+ const contractsUrl = pathToFileURL(corePkgPath.replace('package.json', 'src/lib/webmcp-contracts.mjs')).href;
1968
+
1969
+ const {
1964
1970
  buildPageContract,
1965
1971
  buildPageManifest,
1966
1972
  buildPageManifestHref,
1967
1973
  buildSiteManifest,
1968
- } from '../../../packages/core/src/lib/webmcp-contracts.mjs';
1974
+ } = await import(contractsUrl);
1969
1975
 
1970
1976
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
1971
1977
  const root = path.resolve(__dirname, '..');
@@ -596,7 +596,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
596
596
  "@tiptap/extension-link": "^2.11.5",
597
597
  "@tiptap/react": "^2.11.5",
598
598
  "@tiptap/starter-kit": "^2.11.5",
599
- "@olonjs/core": "^1.0.93",
599
+ "@olonjs/core": "^1.0.95",
600
600
  "clsx": "^2.1.1",
601
601
  "lucide-react": "^0.474.0",
602
602
  "react": "^19.0.0",
@@ -1646,7 +1646,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1646
1646
  "@tiptap/extension-link": "^2.11.5",
1647
1647
  "@tiptap/react": "^2.11.5",
1648
1648
  "@tiptap/starter-kit": "^2.11.5",
1649
- "@olonjs/core": "^1.0.93",
1649
+ "@olonjs/core": "^1.0.95",
1650
1650
  "class-variance-authority": "^0.7.1",
1651
1651
  "clsx": "^2.1.1",
1652
1652
  "lucide-react": "^0.474.0",
@@ -1960,12 +1960,18 @@ import { build } from 'vite';
1960
1960
  import path from 'path';
1961
1961
  import { fileURLToPath, pathToFileURL } from 'url';
1962
1962
  import fs from 'fs/promises';
1963
- import {
1963
+ import { createRequire } from 'module';
1964
+
1965
+ const require = createRequire(import.meta.url);
1966
+ const corePkgPath = require.resolve('@olonjs/core/package.json');
1967
+ const contractsUrl = pathToFileURL(corePkgPath.replace('package.json', 'src/lib/webmcp-contracts.mjs')).href;
1968
+
1969
+ const {
1964
1970
  buildPageContract,
1965
1971
  buildPageManifest,
1966
1972
  buildPageManifestHref,
1967
1973
  buildSiteManifest,
1968
- } from '../../../packages/core/src/lib/webmcp-contracts.mjs';
1974
+ } = await import(contractsUrl);
1969
1975
 
1970
1976
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
1971
1977
  const root = path.resolve(__dirname, '..');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olonjs/cli",
3
- "version": "3.0.106",
3
+ "version": "3.0.108",
4
4
  "description": "The Sovereign CLI Engine for OlonJS.",
5
5
  "type": "module",
6
6
  "bin": {