+5
-3
@@ -14,5 +14,6 @@ #!/usr/bin/env node | ||
| } | ||
| if (args[0] !== "setup") { | ||
| const command = args[0]; | ||
| if (command !== "setup" && command !== "upgrade") { | ||
| process.stderr.write( | ||
| "The npm package is the setup bootstrap. Run `npx flameox setup`.\n" + | ||
| "The npm package is the setup bootstrap. Run `npx flameox setup` or `npx flameox upgrade`.\n" + | ||
| "After setup, use flameox through a connected MCP client or the Python CLI.\n", | ||
@@ -30,2 +31,3 @@ ); | ||
| const pythonPackage = `flameox==${packageJson.version}`; | ||
| const pythonArgs = command === "upgrade" ? ["setup", "--refresh", "--yes", ...args.slice(1)] : args; | ||
| process.stderr.write( | ||
@@ -46,3 +48,3 @@ "Preparing flameox's cached managed Python runtime; this does not add packages to your project.\n", | ||
| "flameox", | ||
| ...args, | ||
| ...pythonArgs, | ||
| ], | ||
@@ -49,0 +51,0 @@ { env: environment, stdio: "inherit" }, |
+1
-1
| { | ||
| "name": "flameox", | ||
| "version": "0.1.4", | ||
| "version": "0.1.5", | ||
| "description": "Bootstrap the local flameox MCP setup wizard", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/morluto/flameox#readme", |
+7
-0
@@ -9,2 +9,9 @@ # flameox | ||
| For a non-interactive update of the detected MCP clients and their managed | ||
| runtime, run: | ||
| ```console | ||
| npx flameox upgrade | ||
| ``` | ||
| It launches the matching `flameox` Python package with `uvx`. The | ||
@@ -11,0 +18,0 @@ wizard installs a persistent, versioned local runtime and writes only the MCP |
5005
6.56%120
1.69%20
53.85%