sean
071138ef57
refactor: 完成domain到role目录结构统一和硬编码清理
## 核心变更
1. **女娲角色知识更新**
- dpml-authoring.execution.md: 更新镜像结构约束为.promptx/resource/role/
- role-generation.execution.md: 4处domain路径更新为role
- role-creation.thought.md: 文件组织思维从domain改为role
2. **命令类硬编码清理**
- InitCommand.js: 移除domain目录创建,改为按需创建
- RegisterCommand.js: 使用ResourceManager协议查找替代硬编码路径
- WelcomeCommand.js: 简化loadRoleRegistry()方法,直接使用注册表
3. **包注册表同步**
- 重新生成package.registry.json确保资源发现一致性
## 技术价值
- ✅ 统一目录语义:role比domain更准确描述AI角色
- ✅ 清理边角料代码:移除不必要的硬编码路径依赖
- ✅ 增强系统架构:基于注册表的资源发现更稳定
- ✅ 女娲知识同步:包含最新的role目录结构认知
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 19:59:28 +08:00
..
2025-06-28 15:02:34 +08:00
2025-06-28 19:42:16 +08:00
2025-06-28 19:59:28 +08:00
2025-06-28 19:59:28 +08:00