episoda 0.2.105 → 0.2.106
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/daemon/daemon-process.js +260 -167
- package/dist/daemon/daemon-process.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3790,7 +3790,13 @@ var WorktreeManager = class _WorktreeManager {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
};
|
|
3792
3792
|
function getEpisodaRoot() {
|
|
3793
|
-
|
|
3793
|
+
if (process.env.EPISODA_ROOT) {
|
|
3794
|
+
return process.env.EPISODA_ROOT;
|
|
3795
|
+
}
|
|
3796
|
+
if (process.env.EPISODA_MODE === "cloud") {
|
|
3797
|
+
return process.env.HOME || "/home/episoda";
|
|
3798
|
+
}
|
|
3799
|
+
return path3.join(require("os").homedir(), "episoda");
|
|
3794
3800
|
}
|
|
3795
3801
|
function getProjectPath(workspaceSlug, projectSlug) {
|
|
3796
3802
|
return path3.join(getEpisodaRoot(), workspaceSlug, projectSlug);
|