drift-ml 0.2.8 → 0.2.9

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.
Files changed (2) hide show
  1. package/bin/drift.js +7 -5
  2. package/package.json +1 -1
package/bin/drift.js CHANGED
@@ -13,7 +13,7 @@ const http = require("http");
13
13
  const isWindows = process.platform === "win32";
14
14
  const ENGINE_PORT = process.env.DRIFT_ENGINE_PORT || "8000";
15
15
  const GITHUB_REPO = "lakshitsachdeva/intent2model"; // Engine binaries (same repo)
16
- const ENGINE_TAG = "v0.2.8"; // Pinned — direct URL, no API, no rate limits
16
+ const ENGINE_TAG = "v0.2.9"; // Pinned — direct URL, no API, no rate limits
17
17
  const ENGINE_BASE_URL = `https://github.com/${GITHUB_REPO}/releases/download/${ENGINE_TAG}`;
18
18
  const HEALTH_URL = `http://127.0.0.1:${ENGINE_PORT}/health`;
19
19
  const HEALTH_TIMEOUT_MS = 2000;
@@ -301,10 +301,12 @@ async function main() {
301
301
  }
302
302
  const enginePath = getEnginePath();
303
303
  if (isWindows && enginePath) {
304
- console.error("drift: On Windows (PowerShell), run manually to see the error:");
305
- console.error(" cd $env:USERPROFILE\\.drift\\bin");
306
- console.error(" .\\drift-engine-windows-x64.exe");
307
- console.error("drift: Also install pipx: pip install pipx && pipx ensurepath, then pipx install drift-ml");
304
+ console.error("drift: Engine failed on Windows. Try running the backend manually:");
305
+ console.error(" cd backend");
306
+ console.error(" python -m uvicorn main:app --host 0.0.0.0 --port 8000");
307
+ console.error(" (Create .env in project root with GEMINI_API_KEY=... for LLM)");
308
+ console.error("Then: set DRIFT_BACKEND_URL=http://localhost:8000");
309
+ console.error("Or run the engine manually: cd %USERPROFILE%\\.drift\\bin && drift-engine-windows-x64.exe");
308
310
  }
309
311
  }
310
312
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drift-ml",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "drift — terminal-first, chat-based AutoML. Open source. No tokens. No auth.",
5
5
  "bin": {
6
6
  "drift": "bin/drift.js"