更新资源协议文档,新增registry子标签的定义与示例,明确资源注册与抽象引用机制,提升文档的清晰度和实用性。同时,删除不再使用的执行流程部分,优化文档结构。

This commit is contained in:
sean
2025-05-19 22:42:09 +08:00
parent e7aa2c7a60
commit 9bc0af574f
5 changed files with 123 additions and 52 deletions

View File

@ -0,0 +1,16 @@
<resource protocol="thought">
<location>
思维模式资源位置使用以下格式:
```ebnf
location ::= thought://{thought_id}
thought_id ::= [a-zA-Z][a-zA-Z0-9_-]*
```
</location>
<registry>
<!-- 思维模式ID到文件路径的映射表 -->
| 思维ID | 文件路径 |
|--------|---------|
</registry>
</resource>