🎯 PromptX v0.0.1 完整实现 - 五大锦囊命令、AI记忆系统、角色系统、PATEOAS状态机、DPML协议全部完成

This commit is contained in:
sean
2025-05-31 16:48:21 +08:00
parent be285f55b8
commit 323c4e569c
50 changed files with 4308 additions and 1947 deletions

View File

@ -49,6 +49,14 @@ class UserProtocol extends ResourceProtocol {
this.dirCache = new Map();
}
/**
* 设置注册表(保持与其他协议的一致性)
*/
setRegistry(registry) {
// User协议不使用注册表但为了一致性提供此方法
this.registry = registry || {};
}
/**
* 获取协议信息
* @returns {object} 协议信息