@learnrudi/cli 1.9.9 → 1.9.10

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/index.cjs CHANGED
@@ -18175,6 +18175,7 @@ Total: ${totalCount} package(s) available`);
18175
18175
 
18176
18176
  // src/commands/install.js
18177
18177
  var fs13 = __toESM(require("fs/promises"), 1);
18178
+ var fsSync = __toESM(require("fs"), 1);
18178
18179
  var path13 = __toESM(require("path"), 1);
18179
18180
  var import_child_process4 = require("child_process");
18180
18181
  init_src3();
@@ -18654,13 +18655,13 @@ function getBundledBinary(runtime, binary) {
18654
18655
  const rudiHome = process.env.RUDI_HOME || path13.join(process.env.HOME || process.env.USERPROFILE, ".rudi");
18655
18656
  if (runtime === "node") {
18656
18657
  const npmPath = platform === "win32" ? path13.join(rudiHome, "runtimes", "node", "npm.cmd") : path13.join(rudiHome, "runtimes", "node", "bin", "npm");
18657
- if (require("fs").existsSync(npmPath)) {
18658
+ if (fsSync.existsSync(npmPath)) {
18658
18659
  return npmPath;
18659
18660
  }
18660
18661
  }
18661
18662
  if (runtime === "python") {
18662
18663
  const pipPath = platform === "win32" ? path13.join(rudiHome, "runtimes", "python", "Scripts", "pip.exe") : path13.join(rudiHome, "runtimes", "python", "bin", "pip3");
18663
- if (require("fs").existsSync(pipPath)) {
18664
+ if (fsSync.existsSync(pipPath)) {
18664
18665
  return pipPath;
18665
18666
  }
18666
18667
  }
@@ -18770,8 +18771,8 @@ function validateStackEntryPoint(stackPath, manifest) {
18770
18771
  if (arg.startsWith("-")) continue;
18771
18772
  const looksLikeFile = fileExtensions.some((ext) => arg.endsWith(ext)) || arg.includes("/");
18772
18773
  if (!looksLikeFile) continue;
18773
- const entryPath = require("path").join(stackPath, arg);
18774
- if (!require("fs").existsSync(entryPath)) {
18774
+ const entryPath = path13.join(stackPath, arg);
18775
+ if (!fsSync.existsSync(entryPath)) {
18775
18776
  return { valid: false, error: `Entry point not found: ${arg}` };
18776
18777
  }
18777
18778
  return { valid: true };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generated": "2026-01-09T16:21:26.473Z",
3
+ "generated": "2026-01-09T17:11:22.872Z",
4
4
  "packages": {
5
5
  "runtimes": [
6
6
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learnrudi/cli",
3
- "version": "1.9.9",
3
+ "version": "1.9.10",
4
4
  "description": "RUDI CLI - Install and manage MCP stacks, runtimes, and AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -12,17 +12,25 @@
12
12
  "scripts",
13
13
  "README.md"
14
14
  ],
15
+ "scripts": {
16
+ "start": "node src/index.js",
17
+ "prebuild": "node scripts/generate-manifest.js",
18
+ "build": "esbuild src/index.js --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:better-sqlite3 && cp src/router-mcp.js dist/router-mcp.js && cp src/packages-manifest.json dist/packages-manifest.json",
19
+ "postinstall": "node scripts/postinstall.js",
20
+ "prepublishOnly": "npm run build",
21
+ "test": "node --test src/__tests__/"
22
+ },
15
23
  "dependencies": {
16
- "better-sqlite3": "^12.5.0",
17
- "@learnrudi/core": "1.0.5",
18
- "@learnrudi/db": "1.0.2",
19
- "@learnrudi/mcp": "1.0.0",
20
- "@learnrudi/env": "1.0.1",
21
- "@learnrudi/manifest": "1.0.0",
22
- "@learnrudi/registry-client": "1.0.3",
23
- "@learnrudi/runner": "1.0.1",
24
- "@learnrudi/secrets": "1.0.1",
25
- "@learnrudi/utils": "1.0.0"
24
+ "@learnrudi/core": "workspace:*",
25
+ "@learnrudi/db": "workspace:*",
26
+ "@learnrudi/env": "workspace:*",
27
+ "@learnrudi/manifest": "workspace:*",
28
+ "@learnrudi/mcp": "workspace:*",
29
+ "@learnrudi/registry-client": "workspace:*",
30
+ "@learnrudi/runner": "workspace:*",
31
+ "@learnrudi/secrets": "workspace:*",
32
+ "@learnrudi/utils": "workspace:*",
33
+ "better-sqlite3": "^12.5.0"
26
34
  },
27
35
  "devDependencies": {
28
36
  "esbuild": "^0.27.2"
@@ -48,12 +56,5 @@
48
56
  "publishConfig": {
49
57
  "access": "public"
50
58
  },
51
- "license": "MIT",
52
- "scripts": {
53
- "start": "node src/index.js",
54
- "prebuild": "node scripts/generate-manifest.js",
55
- "build": "esbuild src/index.js --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:better-sqlite3 && cp src/router-mcp.js dist/router-mcp.js && cp src/packages-manifest.json dist/packages-manifest.json",
56
- "postinstall": "node scripts/postinstall.js",
57
- "test": "node --test src/__tests__/"
58
- }
59
- }
59
+ "license": "MIT"
60
+ }