momo-ai 1.0.89 → 1.0.90

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "momo-ai",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "Rachel Momo ( OpenSpec )",
5
5
  "main": "src/momo.js",
6
6
  "bin": {
@@ -187,8 +187,8 @@ const _selectReplacementSlot = async (slots, taskSlots) => {
187
187
  require('colors');
188
188
  const { selectSingle } = require('../utils/momo-menu');
189
189
  const menuItems = slots.map((item) => ({
190
- name: item.name,
191
- description: item.hasBody ? (item.title || '任务') : `${item.title || '任务'}(空)`,
190
+ name: item.name.replace(/\.md$/, ''),
191
+ description: item.title || '任务',
192
192
  slot: item.slot
193
193
  }));
194
194
  return selectSingle(menuItems, `${taskSlots} 个槽位已满,请选择要转入历史的 task`);