episoda 0.2.30 → 0.2.32
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 +238 -4
- package/dist/daemon/daemon-process.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3258,6 +3258,13 @@ var WorktreeManager = class _WorktreeManager {
|
|
|
3258
3258
|
worktreeInfo: existing
|
|
3259
3259
|
};
|
|
3260
3260
|
}
|
|
3261
|
+
const fetchResult = await this.gitExecutor.execute({
|
|
3262
|
+
action: "fetch",
|
|
3263
|
+
remote: "origin"
|
|
3264
|
+
}, { cwd: this.bareRepoPath });
|
|
3265
|
+
if (!fetchResult.success) {
|
|
3266
|
+
console.warn("[worktree-manager] Failed to fetch from origin:", fetchResult.output);
|
|
3267
|
+
}
|
|
3261
3268
|
const result = await this.gitExecutor.execute({
|
|
3262
3269
|
action: "worktree_add",
|
|
3263
3270
|
path: worktreePath,
|