feat: noface角色重命名及file://协议路径转换优化
## 主要变更 - **角色重命名**: wumian → noface,更符合英文命名规范 - **file://协议优化**: 新增FileProtocol.js支持本地文件访问 - **路径转换修复**: 智能处理Shell反斜杠转义问题 - **ResourceManager增强**: 支持基础协议直接处理 ## 技术改进 - 修复复杂路径格式兼容性(如WeChat路径、中文字符、特殊符号) - 自动清理反斜杠转义符(Application\ Support → Application Support) - 完善错误处理机制和用户提示 ## 文件变更 - 新增: noface角色完整文件结构(role + 2个execution文件) - 新增: FileProtocol.js协议处理器 - 更新: ResourceManager.js基础协议支持 - 更新: package.registry.json角色注册信息 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
187
src/lib/core/resource/protocols/FileProtocol.js
Normal file
187
src/lib/core/resource/protocols/FileProtocol.js
Normal file
@ -0,0 +1,187 @@
|
||||
const ResourceProtocol = require('./ResourceProtocol')
|
||||
const path = require('path')
|
||||
const fs = require('fs').promises
|
||||
|
||||
/**
|
||||
* 文件协议实现
|
||||
* 实现@file://协议,用于访问本地文件系统中的文件
|
||||
*/
|
||||
class FileProtocol extends ResourceProtocol {
|
||||
constructor (options = {}) {
|
||||
super('file', options)
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置注册表(保持与其他协议的一致性)
|
||||
*/
|
||||
setRegistry (registry) {
|
||||
// File协议不使用注册表,但为了一致性提供此方法
|
||||
this.registry = registry || {}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取协议信息
|
||||
* @returns {object} 协议信息
|
||||
*/
|
||||
getProtocolInfo () {
|
||||
return {
|
||||
name: 'file',
|
||||
description: '文件系统协议,提供本地文件访问',
|
||||
location: 'file://{path}',
|
||||
examples: [
|
||||
'file://package.json',
|
||||
'file:///absolute/path/to/file.txt',
|
||||
'file://./relative/path/file.md',
|
||||
'file://../parent/file.json'
|
||||
],
|
||||
params: this.getSupportedParams()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 支持的查询参数
|
||||
* @returns {object} 参数说明
|
||||
*/
|
||||
getSupportedParams () {
|
||||
return {
|
||||
...super.getSupportedParams(),
|
||||
encoding: 'string - 文件编码 (utf8, ascii, binary等)',
|
||||
exists: 'boolean - 仅返回存在的文件'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证文件协议路径
|
||||
* @param {string} resourcePath - 资源路径
|
||||
* @returns {boolean} 是否有效
|
||||
*/
|
||||
validatePath (resourcePath) {
|
||||
if (!super.validatePath(resourcePath)) {
|
||||
return false
|
||||
}
|
||||
|
||||
// 基本路径验证 - 允许相对路径和绝对路径
|
||||
return typeof resourcePath === 'string' && resourcePath.length > 0
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析文件路径
|
||||
* @param {string} resourcePath - 原始资源路径
|
||||
* @param {QueryParams} queryParams - 查询参数
|
||||
* @returns {Promise<string>} 解析后的绝对路径
|
||||
*/
|
||||
async resolvePath (resourcePath, queryParams) {
|
||||
let resolvedPath
|
||||
|
||||
if (path.isAbsolute(resourcePath)) {
|
||||
// 绝对路径直接使用
|
||||
resolvedPath = resourcePath
|
||||
} else {
|
||||
// 相对路径相对于当前工作目录解析
|
||||
resolvedPath = path.resolve(process.cwd(), resourcePath)
|
||||
}
|
||||
|
||||
// 规范化路径
|
||||
resolvedPath = path.normalize(resolvedPath)
|
||||
|
||||
return resolvedPath
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载资源内容
|
||||
* @param {string} resolvedPath - 解析后的路径
|
||||
* @param {QueryParams} queryParams - 查询参数
|
||||
* @returns {Promise<string>} 资源内容
|
||||
*/
|
||||
async loadContent (resolvedPath, queryParams) {
|
||||
try {
|
||||
// 检查路径是否存在
|
||||
const stats = await fs.stat(resolvedPath)
|
||||
|
||||
if (stats.isDirectory()) {
|
||||
return await this.loadDirectoryContent(resolvedPath, queryParams)
|
||||
} else if (stats.isFile()) {
|
||||
return await this.loadFileContent(resolvedPath, queryParams)
|
||||
} else {
|
||||
throw new Error(`不支持的文件类型: ${resolvedPath}`)
|
||||
}
|
||||
} catch (error) {
|
||||
if (error.code === 'ENOENT') {
|
||||
// 如果设置了exists参数为false,返回空内容而不是错误
|
||||
if (queryParams && queryParams.get('exists') === 'false') {
|
||||
return ''
|
||||
}
|
||||
throw new Error(`文件或目录不存在: ${resolvedPath}`)
|
||||
}
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载文件内容
|
||||
* @param {string} filePath - 文件路径
|
||||
* @param {QueryParams} queryParams - 查询参数
|
||||
* @returns {Promise<string>} 文件内容
|
||||
*/
|
||||
async loadFileContent (filePath, queryParams) {
|
||||
const encoding = queryParams?.get('encoding') || 'utf8'
|
||||
return await fs.readFile(filePath, encoding)
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载目录内容
|
||||
* @param {string} dirPath - 目录路径
|
||||
* @param {QueryParams} queryParams - 查询参数
|
||||
* @returns {Promise<string>} 目录内容列表
|
||||
*/
|
||||
async loadDirectoryContent (dirPath, queryParams) {
|
||||
const entries = await fs.readdir(dirPath, { withFileTypes: true })
|
||||
|
||||
// 应用类型过滤
|
||||
const typeFilter = queryParams?.get('type')
|
||||
let filteredEntries = entries
|
||||
|
||||
if (typeFilter) {
|
||||
filteredEntries = entries.filter(entry => {
|
||||
switch (typeFilter) {
|
||||
case 'file': return entry.isFile()
|
||||
case 'dir': return entry.isDirectory()
|
||||
case 'both': return true
|
||||
default: return true
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 格式化输出
|
||||
const format = queryParams?.get('format') || 'list'
|
||||
|
||||
switch (format) {
|
||||
case 'json':
|
||||
return JSON.stringify(
|
||||
filteredEntries.map(entry => ({
|
||||
name: entry.name,
|
||||
type: entry.isDirectory() ? 'directory' : 'file',
|
||||
path: path.join(dirPath, entry.name)
|
||||
})),
|
||||
null,
|
||||
2
|
||||
)
|
||||
|
||||
case 'paths':
|
||||
return filteredEntries
|
||||
.map(entry => path.join(dirPath, entry.name))
|
||||
.join('\n')
|
||||
|
||||
case 'list':
|
||||
default:
|
||||
return filteredEntries
|
||||
.map(entry => {
|
||||
const type = entry.isDirectory() ? '[DIR]' : '[FILE]'
|
||||
return `${type} ${entry.name}`
|
||||
})
|
||||
.join('\n')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = FileProtocol
|
||||
@ -11,6 +11,8 @@ const RoleProtocol = require('./protocols/RoleProtocol')
|
||||
const ThoughtProtocol = require('./protocols/ThoughtProtocol')
|
||||
const ExecutionProtocol = require('./protocols/ExecutionProtocol')
|
||||
const KnowledgeProtocol = require('./protocols/KnowledgeProtocol')
|
||||
const UserProtocol = require('./protocols/UserProtocol')
|
||||
const FileProtocol = require('./protocols/FileProtocol')
|
||||
|
||||
class ResourceManager {
|
||||
constructor() {
|
||||
@ -36,6 +38,8 @@ class ResourceManager {
|
||||
// 基础协议 - 直接文件系统映射
|
||||
this.protocols.set('package', new PackageProtocol())
|
||||
this.protocols.set('project', new ProjectProtocol())
|
||||
this.protocols.set('file', new FileProtocol())
|
||||
this.protocols.set('user', new UserProtocol())
|
||||
|
||||
// 逻辑协议 - 需要注册表查询
|
||||
this.protocols.set('role', new RoleProtocol())
|
||||
@ -158,11 +162,23 @@ class ResourceManager {
|
||||
await this.initializeWithNewArchitecture()
|
||||
}
|
||||
|
||||
// 处理@!开头的DPML格式(如 @!role://java-developer)
|
||||
if (resourceId.startsWith('@!')) {
|
||||
// 处理@开头的DPML格式(如 @file://path, @!role://java-developer)
|
||||
if (resourceId.startsWith('@')) {
|
||||
const parsed = this.protocolParser.parse(resourceId)
|
||||
|
||||
// 从RegistryData查找资源
|
||||
// 对于基础协议(file, user, package, project),直接通过协议处理器加载
|
||||
const basicProtocols = ['file', 'user', 'package', 'project']
|
||||
if (basicProtocols.includes(parsed.protocol)) {
|
||||
const content = await this.loadResourceByProtocol(resourceId)
|
||||
return {
|
||||
success: true,
|
||||
content,
|
||||
resourceId,
|
||||
reference: resourceId
|
||||
}
|
||||
}
|
||||
|
||||
// 对于逻辑协议,从RegistryData查找资源
|
||||
const resourceData = this.registryData.findResourceById(parsed.path, parsed.protocol)
|
||||
if (!resourceData) {
|
||||
throw new Error(`Resource not found: ${parsed.protocol}:${parsed.path}`)
|
||||
|
||||
@ -4,22 +4,22 @@
|
||||
"metadata": {
|
||||
"version": "2.0.0",
|
||||
"description": "package 级资源注册表",
|
||||
"createdAt": "2025-06-22T07:24:56.208Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.756Z",
|
||||
"resourceCount": 51
|
||||
"createdAt": "2025-06-26T08:44:24.849Z",
|
||||
"updatedAt": "2025-06-26T08:44:47.497Z",
|
||||
"resourceCount": 58
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "assistant",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "总经理秘书",
|
||||
"description": "高效执行与协调沟通专家,具备前瞻性服务能力",
|
||||
"name": "Assistant 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/assistant/assistant.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.209Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.753Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.209Z"
|
||||
"createdAt": "2025-06-26T08:44:24.853Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.853Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.853Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -30,9 +30,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/assistant/thought/assistant.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -43,22 +43,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/assistant/execution/assistant.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "frontend-developer",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "前端开发工程师",
|
||||
"description": "用户体验与前端技术专家,注重代码质量",
|
||||
"name": "Frontend Developer 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/frontend-developer/frontend-developer.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.755Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -69,9 +69,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/frontend-developer/thought/frontend-developer.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -82,9 +82,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/execution/code-quality.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -95,9 +95,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/frontend-developer/execution/frontend-developer.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -108,9 +108,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/frontend-developer/execution/technical-architecture.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -121,9 +121,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/frontend-developer/execution/user-experience.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -134,22 +134,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "java-backend-developer",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "Java后端开发工程师",
|
||||
"description": "系统架构与后端开发专家,精通Spring生态",
|
||||
"name": "Java Backend Developer 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/java-backend-developer.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.755Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -160,9 +160,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/thought/java-backend-developer.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -173,9 +173,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/execution/database-design.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -186,9 +186,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/execution/java-backend-developer.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -199,9 +199,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/execution/spring-ecosystem.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -212,22 +212,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/java-backend-developer/execution/system-architecture.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.210Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.210Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.210Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "nuwa",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "女娲",
|
||||
"description": "AI角色创造专家,精通PromptX角色系统设计",
|
||||
"name": "Nuwa 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/nuwa/nuwa.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.756Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -238,9 +238,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/nuwa/thought/role-creation.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -251,9 +251,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/nuwa/execution/dpml-authoring.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -264,9 +264,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/nuwa/execution/role-design-patterns.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -277,9 +277,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/nuwa/execution/role-generation.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -290,22 +290,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/nuwa/execution/visualization-enhancement.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.854Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.854Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.854Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "product-manager",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "产品经理",
|
||||
"description": "用户价值与商业价值平衡专家,具备全面产品管理能力",
|
||||
"name": "Product Manager 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/product-manager/product-manager.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.756Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -316,9 +316,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/product-manager/thought/product-manager.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -329,9 +329,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/product-manager/execution/market-analysis.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -342,9 +342,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/product-manager/execution/product-manager.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -355,22 +355,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/product-manager/execution/user-research.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.211Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sean",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "Sean",
|
||||
"description": "deepractice.ai创始人&CEO,专注AI产品创新",
|
||||
"name": "Sean 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/sean/sean.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.211Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.756Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.211Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -381,9 +381,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/sean/thought/contradiction-methodology.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -394,9 +394,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/sean/thought/sean.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -407,9 +407,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/sean/execution/contradiction-analysis.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -420,9 +420,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/sean/execution/contradiction-management-methodology.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -433,9 +433,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/sean/execution/sean-decision-framework.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -446,22 +446,61 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/sean/execution/template-adherence.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "noface",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "无面",
|
||||
"description": "万能学习助手,通过学习用户提示词获得专业能力",
|
||||
"reference": "@package://prompt/domain/noface/noface.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:47.495Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "adaptive-learning",
|
||||
"source": "package",
|
||||
"protocol": "execution",
|
||||
"name": "Adaptive Learning 执行模式",
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/noface/execution/adaptive-learning.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "content-preservation",
|
||||
"source": "package",
|
||||
"protocol": "execution",
|
||||
"name": "Content Preservation 执行模式",
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/noface/execution/content-preservation.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "xiaohongshu-marketer",
|
||||
"source": "package",
|
||||
"protocol": "role",
|
||||
"name": "小红书营销专家",
|
||||
"description": "内容营销与用户增长专家,精通小红书平台运营",
|
||||
"name": "Xiaohongshu Marketer 角色",
|
||||
"description": "专业角色,提供特定领域的专业能力",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-26T08:15:31.756Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -472,9 +511,9 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -485,9 +524,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -498,9 +537,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/community-building.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -511,9 +550,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-creation.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -524,9 +563,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-optimization.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -537,9 +576,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/data-analytics.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -550,9 +589,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -563,9 +602,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -576,9 +615,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -589,9 +628,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -602,9 +641,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/user-operation.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -615,9 +654,35 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "recall_v1",
|
||||
"source": "package",
|
||||
"protocol": "thought",
|
||||
"name": "Recall_v1 思维模式",
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/_deprecated/recall_v1.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "remember_v1",
|
||||
"source": "package",
|
||||
"protocol": "thought",
|
||||
"name": "Remember_v1 思维模式",
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/_deprecated/remember_v1.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -628,9 +693,9 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/core/dacp-email-sending.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -641,9 +706,22 @@
|
||||
"description": "执行模式,定义具体的行为模式",
|
||||
"reference": "@package://prompt/core/dacp-service-calling.execution.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "recall-xml",
|
||||
"source": "package",
|
||||
"protocol": "thought",
|
||||
"name": "Recall Xml 思维模式",
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/recall-xml.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.855Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.855Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.855Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -654,9 +732,22 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/recall.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.856Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.856Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.856Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "remember-xml",
|
||||
"source": "package",
|
||||
"protocol": "thought",
|
||||
"name": "Remember Xml 思维模式",
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/remember-xml.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-26T08:44:24.856Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.856Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.856Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -667,21 +758,21 @@
|
||||
"description": "思维模式,指导AI的思考方式",
|
||||
"reference": "@package://prompt/core/remember.thought.md",
|
||||
"metadata": {
|
||||
"createdAt": "2025-06-22T07:24:56.212Z",
|
||||
"updatedAt": "2025-06-22T07:24:56.212Z",
|
||||
"scannedAt": "2025-06-22T07:24:56.212Z"
|
||||
"createdAt": "2025-06-26T08:44:24.856Z",
|
||||
"updatedAt": "2025-06-26T08:44:24.856Z",
|
||||
"scannedAt": "2025-06-26T08:44:24.856Z"
|
||||
}
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"totalResources": 51,
|
||||
"totalResources": 58,
|
||||
"byProtocol": {
|
||||
"role": 7,
|
||||
"thought": 10,
|
||||
"execution": 34
|
||||
"role": 8,
|
||||
"thought": 14,
|
||||
"execution": 36
|
||||
},
|
||||
"bySource": {
|
||||
"package": 51
|
||||
"package": 58
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user