@distributionos/cli 0.1.0 → 0.1.1
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/package.json +1 -1
- package/src/constants.js +7 -3
package/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
2
|
+
|
|
3
|
+
const cliPackageJson = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
|
|
4
|
+
|
|
5
|
+
export const CLI_PACKAGE_NAME = '@distributionos/cli';
|
|
6
|
+
export const CLI_LOCAL_VERSION = typeof cliPackageJson.version === 'string' ? cliPackageJson.version : '0.0.0-local';
|
|
7
|
+
export const DEFAULT_API_BASE = 'https://distributionos.dev';
|
|
4
8
|
export const MCP_SERVER_URL = 'https://distributionos.dev/api/mcp';
|
|
5
9
|
export const CURRENT_BOOTSTRAP_VERSION = '2026.06.13';
|
|
6
10
|
export const CURRENT_ANALYTICS_CONTRACT_VERSION = '2026.06.13';
|