fix: 修复InitCommand项目路径识别问题,优化角色发现机制
主要修改: • 修复InitCommand.js中AI提供路径优先级配置问题 • 重构Luban角色思维模式文件结构,提升代码组织 • 优化工具执行系统,清理技术债务 • 更新package.registry.json反映最新资源结构 影响:解决了technical-product-manager等角色无法发现的关键问题 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -86,8 +86,9 @@ class InitCommand extends BasePouchCommand {
|
||||
startDir: projectPath,
|
||||
platform: process.platform,
|
||||
avoidUserHome: true,
|
||||
// init命令特有:优先当前目录,不查找现有.promptx
|
||||
// init命令特有:AI提供的路径优先级最高,然后是当前目录
|
||||
strategies: [
|
||||
'aiProvidedProjectPath', // 最高优先级:AI提供的项目路径
|
||||
'currentWorkingDirectoryIfHasMarkers',
|
||||
'currentWorkingDirectory'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user