@maxiaochao/pi-worktree 0.3.1 → 0.3.2
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/CHANGELOG.md +4 -0
- package/extensions/worktree.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/extensions/worktree.ts
CHANGED
|
@@ -165,10 +165,10 @@ export default function worktreeExtension(pi: ExtensionAPI) {
|
|
|
165
165
|
const dirtyNote = prepared.dirty ? "(已有未提交改动)" : "";
|
|
166
166
|
await next.sendMessage({
|
|
167
167
|
customType: "worktree-switch",
|
|
168
|
-
content: `✓ 已进入 worktree:${prepared.path}\nBranch: ${prepared.branch}${dirtyNote}
|
|
168
|
+
content: `✓ 已进入 worktree:${prepared.path}\nBranch: ${prepared.branch}${dirtyNote}\n\n在worktree继续任务`,
|
|
169
169
|
display: true,
|
|
170
170
|
details: prepared,
|
|
171
|
-
}, { triggerTurn:
|
|
171
|
+
}, { triggerTurn: true, deliverAs: "followUp" });
|
|
172
172
|
},
|
|
173
173
|
});
|
|
174
174
|
} catch (error) {
|