episoda 0.2.110 → 0.2.111
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.
|
@@ -2815,7 +2815,7 @@ var require_package = __commonJS({
|
|
|
2815
2815
|
"package.json"(exports2, module2) {
|
|
2816
2816
|
module2.exports = {
|
|
2817
2817
|
name: "episoda",
|
|
2818
|
-
version: "0.2.
|
|
2818
|
+
version: "0.2.110",
|
|
2819
2819
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
2820
2820
|
main: "dist/index.js",
|
|
2821
2821
|
types: "dist/index.d.ts",
|
|
@@ -10625,7 +10625,25 @@ var Daemon = class _Daemon {
|
|
|
10625
10625
|
console.log(`[Daemon] EP1205: Worktree requested but not found for ${cmd.moduleUid}, using project root`);
|
|
10626
10626
|
}
|
|
10627
10627
|
} else if (cmd.sessionContext === "project_root") {
|
|
10628
|
-
|
|
10628
|
+
if (cmd.workspaceSlug && cmd.projectSlug) {
|
|
10629
|
+
const resolvedProjectPath = path24.join(
|
|
10630
|
+
process.env.HOME || projectPath,
|
|
10631
|
+
"episoda",
|
|
10632
|
+
cmd.workspaceSlug,
|
|
10633
|
+
cmd.projectSlug
|
|
10634
|
+
);
|
|
10635
|
+
if (resolvedProjectPath !== projectPath) {
|
|
10636
|
+
try {
|
|
10637
|
+
await fs23.promises.access(resolvedProjectPath);
|
|
10638
|
+
agentWorkingDir = resolvedProjectPath;
|
|
10639
|
+
console.log(`[Daemon] EP1227: Agent for ${cmd.moduleUid || "project"} in resolved project path: ${agentWorkingDir}`);
|
|
10640
|
+
} catch {
|
|
10641
|
+
console.log(`[Daemon] EP1227: Resolved project path not found, using projectPath: ${projectPath}`);
|
|
10642
|
+
}
|
|
10643
|
+
}
|
|
10644
|
+
} else {
|
|
10645
|
+
console.log(`[Daemon] EP1205: Agent for ${cmd.moduleUid || "project"} in project root (sessionContext=project_root)`);
|
|
10646
|
+
}
|
|
10629
10647
|
} else {
|
|
10630
10648
|
if (cmd.moduleUid) {
|
|
10631
10649
|
const worktreeInfo = await getWorktreeInfoForModule(cmd.moduleUid);
|