momo-ai 1.0.14 → 1.0.15
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/package.json +1 -1
- package/src/executor/executeRun.js +14 -0
package/package.json
CHANGED
|
@@ -511,6 +511,20 @@ module.exports = async (options) => {
|
|
|
511
511
|
ROOT: selectedWorkspace ? selectedWorkspace.path : 'source/<WORKSPACE_PATH>'
|
|
512
512
|
});
|
|
513
513
|
|
|
514
|
+
// 打印额外信息
|
|
515
|
+
Ec.waiting(`[Momo AI] 执行任务: ${selectedTask.name} - ${selectedTask.title}`);
|
|
516
|
+
Ec.waiting(`[Momo AI] 使用工作空间: ${selectedWorkspace.path}`);
|
|
517
|
+
Ec.waiting('[Momo AI] 提示词内容:');
|
|
518
|
+
Ec.waiting('--------------------------------------------------');
|
|
519
|
+
|
|
520
|
+
// 按行打印提示词内容,保持原有格式
|
|
521
|
+
const lines = renderedContent.split('\n');
|
|
522
|
+
lines.forEach(line => {
|
|
523
|
+
Ec.waiting(`[Momo AI] ${line}`);
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
Ec.waiting('--------------------------------------------------');
|
|
527
|
+
|
|
514
528
|
// 将提示词复制到剪贴板
|
|
515
529
|
await _copyToClipboard(renderedContent, requirementName, selectedTask.name);
|
|
516
530
|
Ec.info(`✅ 任务 ${selectedTask.name} 准备完成,请查看剪切板中的提示词`);
|