pipely-ai 1.4.3 → 1.4.4

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/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -690,6 +690,11 @@ async function runLocal() {
690
690
 
691
691
  const childEnv = { ...process.env, ...envVars };
692
692
 
693
+ // Copy .env to bundle subdirs so dotenv/config finds it
694
+ const envRaw = readFileSync(envPath, "utf-8");
695
+ try { writeFileSync(join(bundleDir, "server", ".env"), envRaw); } catch {}
696
+ try { writeFileSync(join(bundleDir, "agent", ".env"), envRaw); } catch {}
697
+
693
698
  // Start server (serves frontend via SERVE_FRONTEND env)
694
699
  const server = fork(join(bundleDir, "server/dist/index.js"), [], {
695
700
  cwd: join(bundleDir, "server"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipely-ai",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Pipely AI — Instale, gerencie e atualize com um unico comando",
5
5
  "type": "module",
6
6
  "bin": {