From 559c146af1d9ff979dd557a9237a3c0f0ffd7a39 Mon Sep 17 00:00:00 2001 From: sean Date: Sat, 28 Jun 2025 15:24:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84resource/domain?= =?UTF-8?q?=E4=B8=BAresource/role=20-=20=E6=8F=90=E5=8D=87=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E8=AF=AD=E4=B9=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 核心改进 - 将resource/domain重命名为resource/role,语义更清晰直观 - 统一更新所有硬编码路径引用,确保系统完整性 - 重新生成注册表,所有61个资源引用路径完全更新 ## 目录结构优化 - resource/role (原domain) - 角色定义和专家能力 - resource/tool - JavaScript工具资源 - resource/protocol - 协议规范文档 - resource/core - 核心思维和执行模式 ## 技术实现 ### 发现器更新 - ProjectDiscovery.js: _scanDomainDirectory → _scanRoleDirectory - PackageDiscovery.js: 同步更新函数名和路径引用 - 所有@project://.promptx/resource/domain/ → @project://.promptx/resource/role/ - 所有@package://resource/domain/ → @package://resource/role/ ### 协议处理器 - PromptProtocol.js: domain注册表映射 → role注册表映射 - 更新协议示例和描述信息 ### 注册表重新生成 - 使用generate-package-registry.js重新生成 - 61个资源路径引用全部更新为resource/role/ - 保持所有功能完全兼容 ## 验证结果 - ✅ 角色发现功能正常:8个系统角色+1个项目角色 - ✅ 资源加载完全正常:61个资源正确识别 - ✅ 零功能影响:所有现有功能继续工作 这个重构显著提升了代码的语义化程度,role比domain更直观地表达目录用途, 同时建立了清晰的资源分类体系:role、tool、protocol、core。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../assistant/assistant.role.md | 0 .../execution/assistant.execution.md | 0 .../assistant/thought/assistant.thought.md | 0 .../execution/code-quality.execution.md | 0 .../execution/frontend-developer.execution.md | 0 .../technical-architecture.execution.md | 0 .../execution/user-experience.execution.md | 0 ...echat-miniprogram-development.execution.md | 0 .../frontend-developer.role.md | 0 .../thought/frontend-developer.thought.md | 0 .../execution/code-quality.execution.md | 0 .../execution/database-design.execution.md | 0 .../java-backend-developer.execution.md | 0 .../execution/spring-ecosystem.execution.md | 0 .../system-architecture.execution.md | 0 .../java-backend-developer.role.md | 0 .../thought/java-backend-developer.thought.md | 0 .../execution/adaptive-learning.execution.md | 0 .../content-preservation.execution.md | 0 .../{domain => role}/noface/noface.role.md | 0 .../execution/dpml-authoring.execution.md | 0 .../role-design-patterns.execution.md | 0 .../execution/role-generation.execution.md | 0 .../visualization-enhancement.execution.md | 0 resource/{domain => role}/nuwa/nuwa.role.md | 0 .../nuwa/thought/role-creation.thought.md | 0 .../execution/market-analysis.execution.md | 0 .../execution/product-manager.execution.md | 0 .../execution/user-research.execution.md | 0 .../product-manager/product-manager.role.md | 0 .../thought/product-manager.thought.md | 0 .../contradiction-analysis.execution.md | 0 ...iction-management-methodology.execution.md | 0 .../sean-decision-framework.execution.md | 0 .../execution/template-adherence.execution.md | 0 .../contradiction-methodology.knowledge.md | 0 .../knowledge/product-philosophy.knowledge.md | 0 .../knowledge/promptx-evolution.knowledge.md | 0 resource/{domain => role}/sean/sean.role.md | 0 .../contradiction-methodology.thought.md | 0 .../sean/thought/sean.thought.md | 0 .../execution/brand-marketing.execution.md | 0 .../execution/community-building.execution.md | 0 .../execution/content-creation.execution.md | 0 .../content-optimization.execution.md | 0 .../execution/data-analytics.execution.md | 0 .../ecommerce-conversion.execution.md | 0 .../performance-optimization.execution.md | 0 .../platform-compliance.execution.md | 0 .../execution/team-collaboration.execution.md | 0 .../execution/user-operation.execution.md | 0 .../xiaohongshu-marketer.execution.md | 0 .../thought/xiaohongshu-marketer.thought.md | 0 .../xiaohongshu-marketer.role.md | 0 .../resource/discovery/PackageDiscovery.js | 20 +- .../resource/discovery/ProjectDiscovery.js | 26 +- .../core/resource/protocols/PromptProtocol.js | 6 +- src/package.registry.json | 476 +++++++++--------- 58 files changed, 264 insertions(+), 264 deletions(-) rename resource/{domain => role}/assistant/assistant.role.md (100%) rename resource/{domain => role}/assistant/execution/assistant.execution.md (100%) rename resource/{domain => role}/assistant/thought/assistant.thought.md (100%) rename resource/{domain => role}/frontend-developer/execution/code-quality.execution.md (100%) rename resource/{domain => role}/frontend-developer/execution/frontend-developer.execution.md (100%) rename resource/{domain => role}/frontend-developer/execution/technical-architecture.execution.md (100%) rename resource/{domain => role}/frontend-developer/execution/user-experience.execution.md (100%) rename resource/{domain => role}/frontend-developer/execution/wechat-miniprogram-development.execution.md (100%) rename resource/{domain => role}/frontend-developer/frontend-developer.role.md (100%) rename resource/{domain => role}/frontend-developer/thought/frontend-developer.thought.md (100%) rename resource/{domain => role}/java-backend-developer/execution/code-quality.execution.md (100%) rename resource/{domain => role}/java-backend-developer/execution/database-design.execution.md (100%) rename resource/{domain => role}/java-backend-developer/execution/java-backend-developer.execution.md (100%) rename resource/{domain => role}/java-backend-developer/execution/spring-ecosystem.execution.md (100%) rename resource/{domain => role}/java-backend-developer/execution/system-architecture.execution.md (100%) rename resource/{domain => role}/java-backend-developer/java-backend-developer.role.md (100%) rename resource/{domain => role}/java-backend-developer/thought/java-backend-developer.thought.md (100%) rename resource/{domain => role}/noface/execution/adaptive-learning.execution.md (100%) rename resource/{domain => role}/noface/execution/content-preservation.execution.md (100%) rename resource/{domain => role}/noface/noface.role.md (100%) rename resource/{domain => role}/nuwa/execution/dpml-authoring.execution.md (100%) rename resource/{domain => role}/nuwa/execution/role-design-patterns.execution.md (100%) rename resource/{domain => role}/nuwa/execution/role-generation.execution.md (100%) rename resource/{domain => role}/nuwa/execution/visualization-enhancement.execution.md (100%) rename resource/{domain => role}/nuwa/nuwa.role.md (100%) rename resource/{domain => role}/nuwa/thought/role-creation.thought.md (100%) rename resource/{domain => role}/product-manager/execution/market-analysis.execution.md (100%) rename resource/{domain => role}/product-manager/execution/product-manager.execution.md (100%) rename resource/{domain => role}/product-manager/execution/user-research.execution.md (100%) rename resource/{domain => role}/product-manager/product-manager.role.md (100%) rename resource/{domain => role}/product-manager/thought/product-manager.thought.md (100%) rename resource/{domain => role}/sean/execution/contradiction-analysis.execution.md (100%) rename resource/{domain => role}/sean/execution/contradiction-management-methodology.execution.md (100%) rename resource/{domain => role}/sean/execution/sean-decision-framework.execution.md (100%) rename resource/{domain => role}/sean/execution/template-adherence.execution.md (100%) rename resource/{domain => role}/sean/knowledge/contradiction-methodology.knowledge.md (100%) rename resource/{domain => role}/sean/knowledge/product-philosophy.knowledge.md (100%) rename resource/{domain => role}/sean/knowledge/promptx-evolution.knowledge.md (100%) rename resource/{domain => role}/sean/sean.role.md (100%) rename resource/{domain => role}/sean/thought/contradiction-methodology.thought.md (100%) rename resource/{domain => role}/sean/thought/sean.thought.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/brand-marketing.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/community-building.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/content-creation.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/content-optimization.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/data-analytics.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/performance-optimization.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/platform-compliance.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/team-collaboration.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/user-operation.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md (100%) rename resource/{domain => role}/xiaohongshu-marketer/xiaohongshu-marketer.role.md (100%) diff --git a/resource/domain/assistant/assistant.role.md b/resource/role/assistant/assistant.role.md similarity index 100% rename from resource/domain/assistant/assistant.role.md rename to resource/role/assistant/assistant.role.md diff --git a/resource/domain/assistant/execution/assistant.execution.md b/resource/role/assistant/execution/assistant.execution.md similarity index 100% rename from resource/domain/assistant/execution/assistant.execution.md rename to resource/role/assistant/execution/assistant.execution.md diff --git a/resource/domain/assistant/thought/assistant.thought.md b/resource/role/assistant/thought/assistant.thought.md similarity index 100% rename from resource/domain/assistant/thought/assistant.thought.md rename to resource/role/assistant/thought/assistant.thought.md diff --git a/resource/domain/frontend-developer/execution/code-quality.execution.md b/resource/role/frontend-developer/execution/code-quality.execution.md similarity index 100% rename from resource/domain/frontend-developer/execution/code-quality.execution.md rename to resource/role/frontend-developer/execution/code-quality.execution.md diff --git a/resource/domain/frontend-developer/execution/frontend-developer.execution.md b/resource/role/frontend-developer/execution/frontend-developer.execution.md similarity index 100% rename from resource/domain/frontend-developer/execution/frontend-developer.execution.md rename to resource/role/frontend-developer/execution/frontend-developer.execution.md diff --git a/resource/domain/frontend-developer/execution/technical-architecture.execution.md b/resource/role/frontend-developer/execution/technical-architecture.execution.md similarity index 100% rename from resource/domain/frontend-developer/execution/technical-architecture.execution.md rename to resource/role/frontend-developer/execution/technical-architecture.execution.md diff --git a/resource/domain/frontend-developer/execution/user-experience.execution.md b/resource/role/frontend-developer/execution/user-experience.execution.md similarity index 100% rename from resource/domain/frontend-developer/execution/user-experience.execution.md rename to resource/role/frontend-developer/execution/user-experience.execution.md diff --git a/resource/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md b/resource/role/frontend-developer/execution/wechat-miniprogram-development.execution.md similarity index 100% rename from resource/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md rename to resource/role/frontend-developer/execution/wechat-miniprogram-development.execution.md diff --git a/resource/domain/frontend-developer/frontend-developer.role.md b/resource/role/frontend-developer/frontend-developer.role.md similarity index 100% rename from resource/domain/frontend-developer/frontend-developer.role.md rename to resource/role/frontend-developer/frontend-developer.role.md diff --git a/resource/domain/frontend-developer/thought/frontend-developer.thought.md b/resource/role/frontend-developer/thought/frontend-developer.thought.md similarity index 100% rename from resource/domain/frontend-developer/thought/frontend-developer.thought.md rename to resource/role/frontend-developer/thought/frontend-developer.thought.md diff --git a/resource/domain/java-backend-developer/execution/code-quality.execution.md b/resource/role/java-backend-developer/execution/code-quality.execution.md similarity index 100% rename from resource/domain/java-backend-developer/execution/code-quality.execution.md rename to resource/role/java-backend-developer/execution/code-quality.execution.md diff --git a/resource/domain/java-backend-developer/execution/database-design.execution.md b/resource/role/java-backend-developer/execution/database-design.execution.md similarity index 100% rename from resource/domain/java-backend-developer/execution/database-design.execution.md rename to resource/role/java-backend-developer/execution/database-design.execution.md diff --git a/resource/domain/java-backend-developer/execution/java-backend-developer.execution.md b/resource/role/java-backend-developer/execution/java-backend-developer.execution.md similarity index 100% rename from resource/domain/java-backend-developer/execution/java-backend-developer.execution.md rename to resource/role/java-backend-developer/execution/java-backend-developer.execution.md diff --git a/resource/domain/java-backend-developer/execution/spring-ecosystem.execution.md b/resource/role/java-backend-developer/execution/spring-ecosystem.execution.md similarity index 100% rename from resource/domain/java-backend-developer/execution/spring-ecosystem.execution.md rename to resource/role/java-backend-developer/execution/spring-ecosystem.execution.md diff --git a/resource/domain/java-backend-developer/execution/system-architecture.execution.md b/resource/role/java-backend-developer/execution/system-architecture.execution.md similarity index 100% rename from resource/domain/java-backend-developer/execution/system-architecture.execution.md rename to resource/role/java-backend-developer/execution/system-architecture.execution.md diff --git a/resource/domain/java-backend-developer/java-backend-developer.role.md b/resource/role/java-backend-developer/java-backend-developer.role.md similarity index 100% rename from resource/domain/java-backend-developer/java-backend-developer.role.md rename to resource/role/java-backend-developer/java-backend-developer.role.md diff --git a/resource/domain/java-backend-developer/thought/java-backend-developer.thought.md b/resource/role/java-backend-developer/thought/java-backend-developer.thought.md similarity index 100% rename from resource/domain/java-backend-developer/thought/java-backend-developer.thought.md rename to resource/role/java-backend-developer/thought/java-backend-developer.thought.md diff --git a/resource/domain/noface/execution/adaptive-learning.execution.md b/resource/role/noface/execution/adaptive-learning.execution.md similarity index 100% rename from resource/domain/noface/execution/adaptive-learning.execution.md rename to resource/role/noface/execution/adaptive-learning.execution.md diff --git a/resource/domain/noface/execution/content-preservation.execution.md b/resource/role/noface/execution/content-preservation.execution.md similarity index 100% rename from resource/domain/noface/execution/content-preservation.execution.md rename to resource/role/noface/execution/content-preservation.execution.md diff --git a/resource/domain/noface/noface.role.md b/resource/role/noface/noface.role.md similarity index 100% rename from resource/domain/noface/noface.role.md rename to resource/role/noface/noface.role.md diff --git a/resource/domain/nuwa/execution/dpml-authoring.execution.md b/resource/role/nuwa/execution/dpml-authoring.execution.md similarity index 100% rename from resource/domain/nuwa/execution/dpml-authoring.execution.md rename to resource/role/nuwa/execution/dpml-authoring.execution.md diff --git a/resource/domain/nuwa/execution/role-design-patterns.execution.md b/resource/role/nuwa/execution/role-design-patterns.execution.md similarity index 100% rename from resource/domain/nuwa/execution/role-design-patterns.execution.md rename to resource/role/nuwa/execution/role-design-patterns.execution.md diff --git a/resource/domain/nuwa/execution/role-generation.execution.md b/resource/role/nuwa/execution/role-generation.execution.md similarity index 100% rename from resource/domain/nuwa/execution/role-generation.execution.md rename to resource/role/nuwa/execution/role-generation.execution.md diff --git a/resource/domain/nuwa/execution/visualization-enhancement.execution.md b/resource/role/nuwa/execution/visualization-enhancement.execution.md similarity index 100% rename from resource/domain/nuwa/execution/visualization-enhancement.execution.md rename to resource/role/nuwa/execution/visualization-enhancement.execution.md diff --git a/resource/domain/nuwa/nuwa.role.md b/resource/role/nuwa/nuwa.role.md similarity index 100% rename from resource/domain/nuwa/nuwa.role.md rename to resource/role/nuwa/nuwa.role.md diff --git a/resource/domain/nuwa/thought/role-creation.thought.md b/resource/role/nuwa/thought/role-creation.thought.md similarity index 100% rename from resource/domain/nuwa/thought/role-creation.thought.md rename to resource/role/nuwa/thought/role-creation.thought.md diff --git a/resource/domain/product-manager/execution/market-analysis.execution.md b/resource/role/product-manager/execution/market-analysis.execution.md similarity index 100% rename from resource/domain/product-manager/execution/market-analysis.execution.md rename to resource/role/product-manager/execution/market-analysis.execution.md diff --git a/resource/domain/product-manager/execution/product-manager.execution.md b/resource/role/product-manager/execution/product-manager.execution.md similarity index 100% rename from resource/domain/product-manager/execution/product-manager.execution.md rename to resource/role/product-manager/execution/product-manager.execution.md diff --git a/resource/domain/product-manager/execution/user-research.execution.md b/resource/role/product-manager/execution/user-research.execution.md similarity index 100% rename from resource/domain/product-manager/execution/user-research.execution.md rename to resource/role/product-manager/execution/user-research.execution.md diff --git a/resource/domain/product-manager/product-manager.role.md b/resource/role/product-manager/product-manager.role.md similarity index 100% rename from resource/domain/product-manager/product-manager.role.md rename to resource/role/product-manager/product-manager.role.md diff --git a/resource/domain/product-manager/thought/product-manager.thought.md b/resource/role/product-manager/thought/product-manager.thought.md similarity index 100% rename from resource/domain/product-manager/thought/product-manager.thought.md rename to resource/role/product-manager/thought/product-manager.thought.md diff --git a/resource/domain/sean/execution/contradiction-analysis.execution.md b/resource/role/sean/execution/contradiction-analysis.execution.md similarity index 100% rename from resource/domain/sean/execution/contradiction-analysis.execution.md rename to resource/role/sean/execution/contradiction-analysis.execution.md diff --git a/resource/domain/sean/execution/contradiction-management-methodology.execution.md b/resource/role/sean/execution/contradiction-management-methodology.execution.md similarity index 100% rename from resource/domain/sean/execution/contradiction-management-methodology.execution.md rename to resource/role/sean/execution/contradiction-management-methodology.execution.md diff --git a/resource/domain/sean/execution/sean-decision-framework.execution.md b/resource/role/sean/execution/sean-decision-framework.execution.md similarity index 100% rename from resource/domain/sean/execution/sean-decision-framework.execution.md rename to resource/role/sean/execution/sean-decision-framework.execution.md diff --git a/resource/domain/sean/execution/template-adherence.execution.md b/resource/role/sean/execution/template-adherence.execution.md similarity index 100% rename from resource/domain/sean/execution/template-adherence.execution.md rename to resource/role/sean/execution/template-adherence.execution.md diff --git a/resource/domain/sean/knowledge/contradiction-methodology.knowledge.md b/resource/role/sean/knowledge/contradiction-methodology.knowledge.md similarity index 100% rename from resource/domain/sean/knowledge/contradiction-methodology.knowledge.md rename to resource/role/sean/knowledge/contradiction-methodology.knowledge.md diff --git a/resource/domain/sean/knowledge/product-philosophy.knowledge.md b/resource/role/sean/knowledge/product-philosophy.knowledge.md similarity index 100% rename from resource/domain/sean/knowledge/product-philosophy.knowledge.md rename to resource/role/sean/knowledge/product-philosophy.knowledge.md diff --git a/resource/domain/sean/knowledge/promptx-evolution.knowledge.md b/resource/role/sean/knowledge/promptx-evolution.knowledge.md similarity index 100% rename from resource/domain/sean/knowledge/promptx-evolution.knowledge.md rename to resource/role/sean/knowledge/promptx-evolution.knowledge.md diff --git a/resource/domain/sean/sean.role.md b/resource/role/sean/sean.role.md similarity index 100% rename from resource/domain/sean/sean.role.md rename to resource/role/sean/sean.role.md diff --git a/resource/domain/sean/thought/contradiction-methodology.thought.md b/resource/role/sean/thought/contradiction-methodology.thought.md similarity index 100% rename from resource/domain/sean/thought/contradiction-methodology.thought.md rename to resource/role/sean/thought/contradiction-methodology.thought.md diff --git a/resource/domain/sean/thought/sean.thought.md b/resource/role/sean/thought/sean.thought.md similarity index 100% rename from resource/domain/sean/thought/sean.thought.md rename to resource/role/sean/thought/sean.thought.md diff --git a/resource/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md b/resource/role/xiaohongshu-marketer/execution/brand-marketing.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md rename to resource/role/xiaohongshu-marketer/execution/brand-marketing.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/community-building.execution.md b/resource/role/xiaohongshu-marketer/execution/community-building.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/community-building.execution.md rename to resource/role/xiaohongshu-marketer/execution/community-building.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/content-creation.execution.md b/resource/role/xiaohongshu-marketer/execution/content-creation.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/content-creation.execution.md rename to resource/role/xiaohongshu-marketer/execution/content-creation.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/content-optimization.execution.md b/resource/role/xiaohongshu-marketer/execution/content-optimization.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/content-optimization.execution.md rename to resource/role/xiaohongshu-marketer/execution/content-optimization.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/data-analytics.execution.md b/resource/role/xiaohongshu-marketer/execution/data-analytics.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/data-analytics.execution.md rename to resource/role/xiaohongshu-marketer/execution/data-analytics.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md b/resource/role/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md rename to resource/role/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md b/resource/role/xiaohongshu-marketer/execution/performance-optimization.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md rename to resource/role/xiaohongshu-marketer/execution/performance-optimization.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md b/resource/role/xiaohongshu-marketer/execution/platform-compliance.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md rename to resource/role/xiaohongshu-marketer/execution/platform-compliance.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md b/resource/role/xiaohongshu-marketer/execution/team-collaboration.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md rename to resource/role/xiaohongshu-marketer/execution/team-collaboration.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/user-operation.execution.md b/resource/role/xiaohongshu-marketer/execution/user-operation.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/user-operation.execution.md rename to resource/role/xiaohongshu-marketer/execution/user-operation.execution.md diff --git a/resource/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md b/resource/role/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md rename to resource/role/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md diff --git a/resource/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md b/resource/role/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md rename to resource/role/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md diff --git a/resource/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md b/resource/role/xiaohongshu-marketer/xiaohongshu-marketer.role.md similarity index 100% rename from resource/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md rename to resource/role/xiaohongshu-marketer/xiaohongshu-marketer.role.md diff --git a/src/lib/core/resource/discovery/PackageDiscovery.js b/src/lib/core/resource/discovery/PackageDiscovery.js index d4cf042..2193ed0 100644 --- a/src/lib/core/resource/discovery/PackageDiscovery.js +++ b/src/lib/core/resource/discovery/PackageDiscovery.js @@ -143,8 +143,8 @@ class PackageDiscovery extends BaseDiscovery { // 这里可以实现动态扫描逻辑,或者返回空Map // 为了简化,我们返回一个基础的assistant角色 const fallbackRegistry = new Map() - fallbackRegistry.set('assistant', '@package://resource/domain/assistant/assistant.role.md') - fallbackRegistry.set('package:assistant', '@package://resource/domain/assistant/assistant.role.md') + fallbackRegistry.set('assistant', '@package://resource/role/assistant/assistant.role.md') + fallbackRegistry.set('package:assistant', '@package://resource/role/assistant/assistant.role.md') logger.warn(`[PackageDiscovery] 🆘 使用回退资源: assistant`) return fallbackRegistry @@ -292,23 +292,23 @@ class PackageDiscovery extends BaseDiscovery { } /** - * 扫描domain目录(角色资源) - * @param {string} domainDir - domain目录路径 + * 扫描role目录(角色资源) + * @param {string} roleDir - role目录路径 * @param {RegistryData} registryData - 注册表数据 * @private */ - async _scanDomainDirectory(domainDir, registryData) { - const items = await fs.readdir(domainDir) + async _scanRoleDirectory(roleDir, registryData) { + const items = await fs.readdir(roleDir) for (const item of items) { - const itemPath = path.join(domainDir, item) + const itemPath = path.join(roleDir, item) const stat = await fs.stat(itemPath) if (stat.isDirectory()) { // 查找角色文件 const roleFile = path.join(itemPath, `${item}.role.md`) if (await fs.pathExists(roleFile)) { - const reference = `@package://resource/domain/${item}/${item}.role.md` + const reference = `@package://resource/role/${item}/${item}.role.md` const resourceData = new ResourceData({ id: item, @@ -334,7 +334,7 @@ class PackageDiscovery extends BaseDiscovery { const thoughtId = ResourceFileNaming.extractResourceId(thoughtFile, 'thought') if (thoughtId) { const fileName = path.basename(thoughtFile) - const reference = `@package://resource/domain/${item}/thought/${fileName}` + const reference = `@package://resource/role/${item}/thought/${fileName}` const resourceData = new ResourceData({ id: thoughtId, @@ -360,7 +360,7 @@ class PackageDiscovery extends BaseDiscovery { for (const execFile of executionFiles) { if (execFile.endsWith('.execution.md')) { const execId = path.basename(execFile, '.execution.md') - const reference = `@package://resource/domain/${item}/execution/${execFile}` + const reference = `@package://resource/role/${item}/execution/${execFile}` const resourceData = new ResourceData({ id: execId, diff --git a/src/lib/core/resource/discovery/ProjectDiscovery.js b/src/lib/core/resource/discovery/ProjectDiscovery.js index 07aa980..57def70 100644 --- a/src/lib/core/resource/discovery/ProjectDiscovery.js +++ b/src/lib/core/resource/discovery/ProjectDiscovery.js @@ -353,31 +353,31 @@ class ProjectDiscovery extends BaseDiscovery { * @private */ async _scanDirectory(resourcesDir, registryData) { - // 扫描domain目录 - const domainDir = path.join(resourcesDir, 'domain') - if (await this._fsExists(domainDir)) { - await this._scanDomainDirectory(domainDir, registryData) + // 扫描role目录 + const roleDir = path.join(resourcesDir, 'role') + if (await this._fsExists(roleDir)) { + await this._scanRoleDirectory(roleDir, registryData) } } /** - * 扫描domain目录(项目角色资源) - * @param {string} domainDir - domain目录路径 + * 扫描role目录(项目角色资源) + * @param {string} roleDir - role目录路径 * @param {RegistryData} registryData - 注册表数据 * @private */ - async _scanDomainDirectory(domainDir, registryData) { - const items = await fs.readdir(domainDir) + async _scanRoleDirectory(roleDir, registryData) { + const items = await fs.readdir(roleDir) for (const item of items) { - const itemPath = path.join(domainDir, item) + const itemPath = path.join(roleDir, item) const stat = await fs.stat(itemPath) if (stat.isDirectory()) { // 查找role文件 const roleFile = path.join(itemPath, `${item}.role.md`) if (await this._fsExists(roleFile)) { - const reference = `@project://.promptx/resource/domain/${item}/${item}.role.md` + const reference = `@project://.promptx/resource/role/${item}/${item}.role.md` const resourceData = new ResourceData({ id: item, @@ -401,7 +401,7 @@ class ProjectDiscovery extends BaseDiscovery { for (const thoughtFile of thoughtFiles) { if (thoughtFile.endsWith('.thought.md')) { const thoughtId = path.basename(thoughtFile, '.thought.md') - const reference = `@project://.promptx/resource/domain/${item}/thought/${thoughtFile}` + const reference = `@project://.promptx/resource/role/${item}/thought/${thoughtFile}` const resourceData = new ResourceData({ id: thoughtId, @@ -427,7 +427,7 @@ class ProjectDiscovery extends BaseDiscovery { for (const execFile of executionFiles) { if (execFile.endsWith('.execution.md')) { const execId = path.basename(execFile, '.execution.md') - const reference = `@project://.promptx/resource/domain/${item}/execution/${execFile}` + const reference = `@project://.promptx/resource/role/${item}/execution/${execFile}` const resourceData = new ResourceData({ id: execId, @@ -453,7 +453,7 @@ class ProjectDiscovery extends BaseDiscovery { for (const knowledgeFile of knowledgeFiles) { if (knowledgeFile.endsWith('.knowledge.md')) { const knowledgeId = path.basename(knowledgeFile, '.knowledge.md') - const reference = `@project://.promptx/resource/domain/${item}/knowledge/${knowledgeFile}` + const reference = `@project://.promptx/resource/role/${item}/knowledge/${knowledgeFile}` const resourceData = new ResourceData({ id: knowledgeId, diff --git a/src/lib/core/resource/protocols/PromptProtocol.js b/src/lib/core/resource/protocols/PromptProtocol.js index 0482e7f..3393fc2 100644 --- a/src/lib/core/resource/protocols/PromptProtocol.js +++ b/src/lib/core/resource/protocols/PromptProtocol.js @@ -16,7 +16,7 @@ class PromptProtocol extends ResourceProtocol { this.registry = new Map([ ['protocols', '@package://resource/protocol/**/*.md'], ['core', '@package://resource/core/**/*.md'], - ['domain', '@package://resource/domain/**/*.md'], + ['role', '@package://resource/role/**/*.md'], ['resource', '@package://resource/resource/**/*.md'], ['bootstrap', '@package://bootstrap.md'] ]) @@ -62,7 +62,7 @@ class PromptProtocol extends ResourceProtocol { examples: [ 'prompt://protocols', 'prompt://core', - 'prompt://domain', + 'prompt://role', 'prompt://bootstrap' ], availableResources: Array.from(this.registry.keys()), @@ -257,7 +257,7 @@ class PromptProtocol extends ResourceProtocol { const descriptions = { protocols: 'DPML协议规范文档', core: '核心思维和执行模式', - domain: '领域专家角色定义', + role: '角色定义和专家能力', resource: '资源管理和路径解析', bootstrap: 'PromptX启动引导文件' } diff --git a/src/package.registry.json b/src/package.registry.json index 382c047..83a8a14 100644 --- a/src/package.registry.json +++ b/src/package.registry.json @@ -4,8 +4,8 @@ "metadata": { "version": "2.0.0", "description": "package 级资源注册表", - "createdAt": "2025-06-28T07:01:07.318Z", - "updatedAt": "2025-06-28T07:01:07.327Z", + "createdAt": "2025-06-28T07:23:26.055Z", + "updatedAt": "2025-06-28T07:23:26.066Z", "resourceCount": 61 }, "resources": [ @@ -15,11 +15,11 @@ "protocol": "role", "name": "Assistant 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/assistant/assistant.role.md", + "reference": "@package://resource/role/assistant/assistant.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -28,11 +28,11 @@ "protocol": "role", "name": "Frontend Developer 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/frontend-developer/frontend-developer.role.md", + "reference": "@package://resource/role/frontend-developer/frontend-developer.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -41,11 +41,11 @@ "protocol": "role", "name": "Java Backend Developer 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/java-backend-developer/java-backend-developer.role.md", + "reference": "@package://resource/role/java-backend-developer/java-backend-developer.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -54,11 +54,11 @@ "protocol": "role", "name": "Noface 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/noface/noface.role.md", + "reference": "@package://resource/role/noface/noface.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -67,11 +67,11 @@ "protocol": "role", "name": "Nuwa 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/nuwa/nuwa.role.md", + "reference": "@package://resource/role/nuwa/nuwa.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -80,11 +80,11 @@ "protocol": "role", "name": "Product Manager 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/product-manager/product-manager.role.md", + "reference": "@package://resource/role/product-manager/product-manager.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -93,11 +93,11 @@ "protocol": "role", "name": "Sean 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/sean/sean.role.md", + "reference": "@package://resource/role/sean/sean.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -106,11 +106,11 @@ "protocol": "role", "name": "Xiaohongshu Marketer 角色", "description": "专业角色,提供特定领域的专业能力", - "reference": "@package://resource/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md", + "reference": "@package://resource/role/xiaohongshu-marketer/xiaohongshu-marketer.role.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.322Z", - "updatedAt": "2025-06-28T07:01:07.322Z", - "scannedAt": "2025-06-28T07:01:07.322Z" + "createdAt": "2025-06-28T07:23:26.060Z", + "updatedAt": "2025-06-28T07:23:26.060Z", + "scannedAt": "2025-06-28T07:23:26.060Z" } }, { @@ -119,11 +119,11 @@ "protocol": "execution", "name": "Assistant 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/assistant/execution/assistant.execution.md", + "reference": "@package://resource/role/assistant/execution/assistant.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -132,11 +132,11 @@ "protocol": "execution", "name": "Code Quality 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/java-backend-developer/execution/code-quality.execution.md", + "reference": "@package://resource/role/java-backend-developer/execution/code-quality.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -145,11 +145,11 @@ "protocol": "execution", "name": "Frontend Developer 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/frontend-developer/execution/frontend-developer.execution.md", + "reference": "@package://resource/role/frontend-developer/execution/frontend-developer.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -158,11 +158,11 @@ "protocol": "execution", "name": "Technical Architecture 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/frontend-developer/execution/technical-architecture.execution.md", + "reference": "@package://resource/role/frontend-developer/execution/technical-architecture.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -171,11 +171,11 @@ "protocol": "execution", "name": "User Experience 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/frontend-developer/execution/user-experience.execution.md", + "reference": "@package://resource/role/frontend-developer/execution/user-experience.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -184,11 +184,11 @@ "protocol": "execution", "name": "Wechat Miniprogram Development 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md", + "reference": "@package://resource/role/frontend-developer/execution/wechat-miniprogram-development.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -197,11 +197,11 @@ "protocol": "execution", "name": "Database Design 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/java-backend-developer/execution/database-design.execution.md", + "reference": "@package://resource/role/java-backend-developer/execution/database-design.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -210,11 +210,11 @@ "protocol": "execution", "name": "Java Backend Developer 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/java-backend-developer/execution/java-backend-developer.execution.md", + "reference": "@package://resource/role/java-backend-developer/execution/java-backend-developer.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -223,11 +223,11 @@ "protocol": "execution", "name": "Spring Ecosystem 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/java-backend-developer/execution/spring-ecosystem.execution.md", + "reference": "@package://resource/role/java-backend-developer/execution/spring-ecosystem.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -236,11 +236,11 @@ "protocol": "execution", "name": "System Architecture 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/java-backend-developer/execution/system-architecture.execution.md", + "reference": "@package://resource/role/java-backend-developer/execution/system-architecture.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -249,11 +249,11 @@ "protocol": "execution", "name": "Adaptive Learning 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/noface/execution/adaptive-learning.execution.md", + "reference": "@package://resource/role/noface/execution/adaptive-learning.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -262,11 +262,11 @@ "protocol": "execution", "name": "Content Preservation 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/noface/execution/content-preservation.execution.md", + "reference": "@package://resource/role/noface/execution/content-preservation.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -275,11 +275,11 @@ "protocol": "execution", "name": "Dpml Authoring 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/nuwa/execution/dpml-authoring.execution.md", + "reference": "@package://resource/role/nuwa/execution/dpml-authoring.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -288,11 +288,11 @@ "protocol": "execution", "name": "Role Design Patterns 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/nuwa/execution/role-design-patterns.execution.md", + "reference": "@package://resource/role/nuwa/execution/role-design-patterns.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -301,11 +301,11 @@ "protocol": "execution", "name": "Role Generation 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/nuwa/execution/role-generation.execution.md", + "reference": "@package://resource/role/nuwa/execution/role-generation.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -314,11 +314,11 @@ "protocol": "execution", "name": "Visualization Enhancement 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/nuwa/execution/visualization-enhancement.execution.md", + "reference": "@package://resource/role/nuwa/execution/visualization-enhancement.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -327,11 +327,11 @@ "protocol": "execution", "name": "Market Analysis 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/product-manager/execution/market-analysis.execution.md", + "reference": "@package://resource/role/product-manager/execution/market-analysis.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -340,11 +340,11 @@ "protocol": "execution", "name": "Product Manager 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/product-manager/execution/product-manager.execution.md", + "reference": "@package://resource/role/product-manager/execution/product-manager.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -353,11 +353,11 @@ "protocol": "execution", "name": "User Research 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/product-manager/execution/user-research.execution.md", + "reference": "@package://resource/role/product-manager/execution/user-research.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -366,11 +366,11 @@ "protocol": "execution", "name": "Contradiction Analysis 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/sean/execution/contradiction-analysis.execution.md", + "reference": "@package://resource/role/sean/execution/contradiction-analysis.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -379,11 +379,11 @@ "protocol": "execution", "name": "Contradiction Management Methodology 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/sean/execution/contradiction-management-methodology.execution.md", + "reference": "@package://resource/role/sean/execution/contradiction-management-methodology.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -392,11 +392,11 @@ "protocol": "execution", "name": "Sean Decision Framework 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/sean/execution/sean-decision-framework.execution.md", + "reference": "@package://resource/role/sean/execution/sean-decision-framework.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -405,11 +405,11 @@ "protocol": "execution", "name": "Template Adherence 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/sean/execution/template-adherence.execution.md", + "reference": "@package://resource/role/sean/execution/template-adherence.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -418,11 +418,11 @@ "protocol": "execution", "name": "Brand Marketing 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/brand-marketing.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -431,11 +431,11 @@ "protocol": "execution", "name": "Community Building 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/community-building.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/community-building.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -444,11 +444,11 @@ "protocol": "execution", "name": "Content Creation 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/content-creation.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/content-creation.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -457,11 +457,11 @@ "protocol": "execution", "name": "Content Optimization 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/content-optimization.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/content-optimization.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -470,11 +470,11 @@ "protocol": "execution", "name": "Data Analytics 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/data-analytics.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/data-analytics.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -483,11 +483,11 @@ "protocol": "execution", "name": "Ecommerce Conversion 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -496,11 +496,11 @@ "protocol": "execution", "name": "Performance Optimization 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/performance-optimization.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -509,11 +509,11 @@ "protocol": "execution", "name": "Platform Compliance 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/platform-compliance.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -522,11 +522,11 @@ "protocol": "execution", "name": "Team Collaboration 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/team-collaboration.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -535,11 +535,11 @@ "protocol": "execution", "name": "User Operation 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/user-operation.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/user-operation.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -548,11 +548,11 @@ "protocol": "execution", "name": "Xiaohongshu Marketer 执行模式", "description": "执行模式,定义具体的行为模式", - "reference": "@package://resource/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md", + "reference": "@package://resource/role/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.323Z", - "updatedAt": "2025-06-28T07:01:07.323Z", - "scannedAt": "2025-06-28T07:01:07.323Z" + "createdAt": "2025-06-28T07:23:26.061Z", + "updatedAt": "2025-06-28T07:23:26.061Z", + "scannedAt": "2025-06-28T07:23:26.061Z" } }, { @@ -563,9 +563,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/_deprecated/recall_v1.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -576,9 +576,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/_deprecated/remember_v1.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -589,9 +589,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/recall-xml.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -602,9 +602,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/recall.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -615,9 +615,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/remember-xml.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -628,9 +628,9 @@ "description": "思维模式,指导AI的思考方式", "reference": "@package://resource/core/remember.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -639,11 +639,11 @@ "protocol": "thought", "name": "Assistant 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/assistant/thought/assistant.thought.md", + "reference": "@package://resource/role/assistant/thought/assistant.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -652,11 +652,11 @@ "protocol": "thought", "name": "Frontend Developer 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/frontend-developer/thought/frontend-developer.thought.md", + "reference": "@package://resource/role/frontend-developer/thought/frontend-developer.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -665,11 +665,11 @@ "protocol": "thought", "name": "Java Backend Developer 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/java-backend-developer/thought/java-backend-developer.thought.md", + "reference": "@package://resource/role/java-backend-developer/thought/java-backend-developer.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -678,11 +678,11 @@ "protocol": "thought", "name": "Role Creation 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/nuwa/thought/role-creation.thought.md", + "reference": "@package://resource/role/nuwa/thought/role-creation.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -691,11 +691,11 @@ "protocol": "thought", "name": "Product Manager 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/product-manager/thought/product-manager.thought.md", + "reference": "@package://resource/role/product-manager/thought/product-manager.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -704,11 +704,11 @@ "protocol": "thought", "name": "Contradiction Methodology 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/sean/thought/contradiction-methodology.thought.md", + "reference": "@package://resource/role/sean/thought/contradiction-methodology.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -717,11 +717,11 @@ "protocol": "thought", "name": "Sean 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/sean/thought/sean.thought.md", + "reference": "@package://resource/role/sean/thought/sean.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -730,11 +730,11 @@ "protocol": "thought", "name": "Xiaohongshu Marketer 思维模式", "description": "思维模式,指导AI的思考方式", - "reference": "@package://resource/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md", + "reference": "@package://resource/role/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.324Z", - "updatedAt": "2025-06-28T07:01:07.324Z", - "scannedAt": "2025-06-28T07:01:07.324Z" + "createdAt": "2025-06-28T07:23:26.062Z", + "updatedAt": "2025-06-28T07:23:26.062Z", + "scannedAt": "2025-06-28T07:23:26.062Z" } }, { @@ -743,11 +743,11 @@ "protocol": "knowledge", "name": "Contradiction Methodology 知识库", "description": "知识库,提供专业知识和信息", - "reference": "@package://resource/domain/sean/knowledge/contradiction-methodology.knowledge.md", + "reference": "@package://resource/role/sean/knowledge/contradiction-methodology.knowledge.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.325Z", - "updatedAt": "2025-06-28T07:01:07.325Z", - "scannedAt": "2025-06-28T07:01:07.325Z" + "createdAt": "2025-06-28T07:23:26.064Z", + "updatedAt": "2025-06-28T07:23:26.064Z", + "scannedAt": "2025-06-28T07:23:26.064Z" } }, { @@ -756,11 +756,11 @@ "protocol": "knowledge", "name": "Product Philosophy 知识库", "description": "知识库,提供专业知识和信息", - "reference": "@package://resource/domain/sean/knowledge/product-philosophy.knowledge.md", + "reference": "@package://resource/role/sean/knowledge/product-philosophy.knowledge.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.325Z", - "updatedAt": "2025-06-28T07:01:07.325Z", - "scannedAt": "2025-06-28T07:01:07.325Z" + "createdAt": "2025-06-28T07:23:26.064Z", + "updatedAt": "2025-06-28T07:23:26.064Z", + "scannedAt": "2025-06-28T07:23:26.064Z" } }, { @@ -769,11 +769,11 @@ "protocol": "knowledge", "name": "Promptx Evolution 知识库", "description": "知识库,提供专业知识和信息", - "reference": "@package://resource/domain/sean/knowledge/promptx-evolution.knowledge.md", + "reference": "@package://resource/role/sean/knowledge/promptx-evolution.knowledge.md", "metadata": { - "createdAt": "2025-06-28T07:01:07.325Z", - "updatedAt": "2025-06-28T07:01:07.325Z", - "scannedAt": "2025-06-28T07:01:07.325Z" + "createdAt": "2025-06-28T07:23:26.064Z", + "updatedAt": "2025-06-28T07:23:26.064Z", + "scannedAt": "2025-06-28T07:23:26.064Z" } }, { @@ -784,9 +784,9 @@ "description": "tool类型的资源", "reference": "@package://resource/tool/calculator.tool.js", "metadata": { - "createdAt": "2025-06-28T07:01:07.326Z", - "updatedAt": "2025-06-28T07:01:07.326Z", - "scannedAt": "2025-06-28T07:01:07.326Z" + "createdAt": "2025-06-28T07:23:26.064Z", + "updatedAt": "2025-06-28T07:23:26.064Z", + "scannedAt": "2025-06-28T07:23:26.064Z" } }, { @@ -797,9 +797,9 @@ "description": "tool类型的资源", "reference": "@package://resource/tool/send-email.tool.js", "metadata": { - "createdAt": "2025-06-28T07:01:07.326Z", - "updatedAt": "2025-06-28T07:01:07.326Z", - "scannedAt": "2025-06-28T07:01:07.326Z" + "createdAt": "2025-06-28T07:23:26.065Z", + "updatedAt": "2025-06-28T07:23:26.065Z", + "scannedAt": "2025-06-28T07:23:26.065Z" } } ],