增加角色记忆

This commit is contained in:
史悦
2025-09-26 18:05:28 +08:00
parent 75b90e9d57
commit 6b7672854e
16 changed files with 872 additions and 92 deletions

View File

@@ -4,9 +4,9 @@
"metadata": {
"version": "2.0.0",
"description": "project 级资源注册表",
"createdAt": "2025-09-26T08:35:02.241Z",
"updatedAt": "2025-09-26T08:35:02.915Z",
"resourceCount": 12
"createdAt": "2025-09-26T09:46:25.704Z",
"updatedAt": "2025-09-26T09:46:25.730Z",
"resourceCount": 14
},
"resources": [
{
@@ -17,9 +17,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@project://.promptx/resource/role/creative-director/creative-director.role.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.384Z",
"updatedAt": "2025-09-26T08:35:02.384Z",
"scannedAt": "2025-09-26T08:35:02.384Z",
"createdAt": "2025-09-26T09:46:25.712Z",
"updatedAt": "2025-09-26T09:46:25.712Z",
"scannedAt": "2025-09-26T09:46:25.711Z",
"path": "role/creative-director/creative-director.role.md"
}
},
@@ -31,9 +31,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@project://.promptx/resource/role/creative-director/execution/creative-workflow.execution.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.428Z",
"updatedAt": "2025-09-26T08:35:02.428Z",
"scannedAt": "2025-09-26T08:35:02.428Z",
"createdAt": "2025-09-26T09:46:25.713Z",
"updatedAt": "2025-09-26T09:46:25.713Z",
"scannedAt": "2025-09-26T09:46:25.713Z",
"path": "role/creative-director/execution/creative-workflow.execution.md"
}
},
@@ -45,9 +45,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@project://.promptx/resource/role/creative-director/thought/directorial-mindset.thought.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.472Z",
"updatedAt": "2025-09-26T08:35:02.472Z",
"scannedAt": "2025-09-26T08:35:02.472Z",
"createdAt": "2025-09-26T09:46:25.714Z",
"updatedAt": "2025-09-26T09:46:25.714Z",
"scannedAt": "2025-09-26T09:46:25.714Z",
"path": "role/creative-director/thought/directorial-mindset.thought.md"
}
},
@@ -59,9 +59,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@project://.promptx/resource/role/novel-planner/execution/planning-workflow.execution.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.572Z",
"updatedAt": "2025-09-26T08:35:02.572Z",
"scannedAt": "2025-09-26T08:35:02.572Z",
"createdAt": "2025-09-26T09:46:25.716Z",
"updatedAt": "2025-09-26T09:46:25.716Z",
"scannedAt": "2025-09-26T09:46:25.716Z",
"path": "role/novel-planner/execution/planning-workflow.execution.md"
}
},
@@ -73,9 +73,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@project://.promptx/resource/role/novel-planner/novel-planner.role.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.614Z",
"updatedAt": "2025-09-26T08:35:02.614Z",
"scannedAt": "2025-09-26T08:35:02.614Z",
"createdAt": "2025-09-26T09:46:25.717Z",
"updatedAt": "2025-09-26T09:46:25.717Z",
"scannedAt": "2025-09-26T09:46:25.717Z",
"path": "role/novel-planner/novel-planner.role.md"
}
},
@@ -87,9 +87,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@project://.promptx/resource/role/novel-planner/thought/planning-mindset.thought.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.654Z",
"updatedAt": "2025-09-26T08:35:02.654Z",
"scannedAt": "2025-09-26T08:35:02.654Z",
"createdAt": "2025-09-26T09:46:25.718Z",
"updatedAt": "2025-09-26T09:46:25.718Z",
"scannedAt": "2025-09-26T09:46:25.718Z",
"path": "role/novel-planner/thought/planning-mindset.thought.md"
}
},
@@ -101,12 +101,40 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@project://.promptx/resource/role/novel-writer/execution/writing-workflow.execution.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.800Z",
"updatedAt": "2025-09-26T08:35:02.800Z",
"scannedAt": "2025-09-26T08:35:02.800Z",
"createdAt": "2025-09-26T09:46:25.721Z",
"updatedAt": "2025-09-26T09:46:25.721Z",
"scannedAt": "2025-09-26T09:46:25.721Z",
"path": "role/novel-writer/execution/writing-workflow.execution.md"
}
},
{
"id": "core-knowledge",
"source": "project",
"protocol": "knowledge",
"name": "Core Knowledge 知识库",
"description": "知识库,提供专业知识和信息",
"reference": "@project://.promptx/resource/role/novel-writer/knowledge/core-knowledge.knowledge.md",
"metadata": {
"createdAt": "2025-09-26T09:46:25.722Z",
"updatedAt": "2025-09-26T09:46:25.722Z",
"scannedAt": "2025-09-26T09:46:25.722Z",
"path": "role/novel-writer/knowledge/core-knowledge.knowledge.md"
}
},
{
"id": "writing-style-example",
"source": "project",
"protocol": "knowledge",
"name": "Writing Style Example 知识库",
"description": "知识库,提供专业知识和信息",
"reference": "@project://.promptx/resource/role/novel-writer/knowledge/writing-style-example.knowledge.md",
"metadata": {
"createdAt": "2025-09-26T09:46:25.723Z",
"updatedAt": "2025-09-26T09:46:25.723Z",
"scannedAt": "2025-09-26T09:46:25.723Z",
"path": "role/novel-writer/knowledge/writing-style-example.knowledge.md"
}
},
{
"id": "novel-writer",
"source": "project",
@@ -115,9 +143,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@project://.promptx/resource/role/novel-writer/novel-writer.role.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.809Z",
"updatedAt": "2025-09-26T08:35:02.809Z",
"scannedAt": "2025-09-26T08:35:02.808Z",
"createdAt": "2025-09-26T09:46:25.723Z",
"updatedAt": "2025-09-26T09:46:25.723Z",
"scannedAt": "2025-09-26T09:46:25.723Z",
"path": "role/novel-writer/novel-writer.role.md"
}
},
@@ -129,9 +157,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@project://.promptx/resource/role/novel-writer/thought/writing-mindset.thought.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.816Z",
"updatedAt": "2025-09-26T08:35:02.816Z",
"scannedAt": "2025-09-26T08:35:02.816Z",
"createdAt": "2025-09-26T09:46:25.725Z",
"updatedAt": "2025-09-26T09:46:25.725Z",
"scannedAt": "2025-09-26T09:46:25.725Z",
"path": "role/novel-writer/thought/writing-mindset.thought.md"
}
},
@@ -143,9 +171,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@project://.promptx/resource/role/story-architect/execution/architect-workflow.execution.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.827Z",
"updatedAt": "2025-09-26T08:35:02.827Z",
"scannedAt": "2025-09-26T08:35:02.827Z",
"createdAt": "2025-09-26T09:46:25.727Z",
"updatedAt": "2025-09-26T09:46:25.727Z",
"scannedAt": "2025-09-26T09:46:25.727Z",
"path": "role/story-architect/execution/architect-workflow.execution.md"
}
},
@@ -157,9 +185,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@project://.promptx/resource/role/story-architect/story-architect.role.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.831Z",
"updatedAt": "2025-09-26T08:35:02.831Z",
"scannedAt": "2025-09-26T08:35:02.831Z",
"createdAt": "2025-09-26T09:46:25.728Z",
"updatedAt": "2025-09-26T09:46:25.728Z",
"scannedAt": "2025-09-26T09:46:25.728Z",
"path": "role/story-architect/story-architect.role.md"
}
},
@@ -171,22 +199,23 @@
"description": "思维模式指导AI的思考方式",
"reference": "@project://.promptx/resource/role/story-architect/thought/architect-mindset.thought.md",
"metadata": {
"createdAt": "2025-09-26T08:35:02.911Z",
"updatedAt": "2025-09-26T08:35:02.911Z",
"scannedAt": "2025-09-26T08:35:02.911Z",
"createdAt": "2025-09-26T09:46:25.729Z",
"updatedAt": "2025-09-26T09:46:25.729Z",
"scannedAt": "2025-09-26T09:46:25.729Z",
"path": "role/story-architect/thought/architect-mindset.thought.md"
}
}
],
"stats": {
"totalResources": 12,
"totalResources": 14,
"byProtocol": {
"role": 4,
"execution": 4,
"thought": 4
"thought": 4,
"knowledge": 2
},
"bySource": {
"project": 12
"project": 14
}
}
}