更新角色和资源协议文档,新增提示词开发者和记忆触发机制的定义,优化角色的内容结构,提升文档的清晰度和实用性。同时,删除不再使用的README文档,清理代码库以提高可维护性。
This commit is contained in:
@ -15,5 +15,8 @@
|
||||
| 执行ID | 文件路径 |
|
||||
|--------|---------|
|
||||
| deal-at-reference | @file://PromptX/core/execution/deal-at-reference.execution.md |
|
||||
| prompt-developer | @file://PromptX/domain/prompt/execution/prompt-developer.execution.md |
|
||||
| memory-trigger | @file://PromptX/core/execution/memory-trigger.execution.md |
|
||||
| deal-memory | @file://PromptX/core/execution/deal-memory.execution.md |
|
||||
</registry>
|
||||
</resource>
|
||||
17
core/resource/memory.resource.md
Normal file
17
core/resource/memory.resource.md
Normal file
@ -0,0 +1,17 @@
|
||||
<resource protocol="memory">
|
||||
<location>
|
||||
记忆模式资源位置使用以下格式:
|
||||
|
||||
```ebnf
|
||||
location ::= memory://{memory_id}
|
||||
memory_id ::= [a-zA-Z][a-zA-Z0-9_-]*
|
||||
```
|
||||
</location>
|
||||
|
||||
<registry>
|
||||
<!-- 记忆模式ID到文件路径的映射表 -->
|
||||
| 记忆ID | 文件路径 |
|
||||
|--------|---------|
|
||||
| declarative | @file://PromptX/core/memory/declarative-memory.memory.md |
|
||||
</registry>
|
||||
</resource>
|
||||
@ -12,5 +12,6 @@
|
||||
<!-- 思维模式ID到文件路径的映射表 -->
|
||||
| 思维ID | 文件路径 |
|
||||
|--------|---------|
|
||||
| prompt-developer | @file://PromptX/domain/prompt/thought/prompt-developer.thought.md |
|
||||
</registry>
|
||||
</resource>
|
||||
Reference in New Issue
Block a user