# easytouch-plugin-memory **Repository Path**: easytouchplugins/easytouch-plugin-memory ## Basic Information - **Project Name**: easytouch-plugin-memory - **Description**: easytouch-plugin-memory - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-05 - **Last Updated**: 2026-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EasyTouch Plugin: 分层记忆管理插件 分层记忆管理插件,提供短期/长期记忆存储与召回能力。 ## 插件信息 | 属性 | 值 | |------|-----| | plugin_id (Flutter) | `client.com.easytouch.memory` | | plugin_id (Rust) | `server.com.easytouch.memory` | | 版本 | 0.1.0 | | 分类 | general (Flutter) / business (Rust) | | UI 渲染模式 | custom | ## 目录结构 ``` ├── client/ # Client 端资源包(manifest + ui-schema + web) │ ├── lib/ │ ├── pubspec.yaml │ └── manifest.json ├── server/ # Server 端(Rust dylib) │ ├── src/ │ ├── Cargo.toml │ └── manifest.json └── README.md ``` ## Rust API | 方法 | 说明 | |------|------| | `store_memory` | 存储记忆 | | `recall_memory` | 召回记忆 | | `forget_memory` | 遗忘记忆 | | `get_memory_stats` | 获取记忆统计 | ## Flutter 端 提供记忆列表、记忆详情与记忆可视化界面。 ## Manifest 管理 > **禁止手工编辑 manifest.json**。manifest.json 由 `etk` 工具自动生成和更新。 ### Rust 端 ```bash cd rust && etk build # 扫描 #[plugin_method] 标注,生成 manifest.json cd rust && etk validate # 校验 manifest.json schema cd rust && etk pack # 生成市场压缩包 ``` ### Flutter 端 ```bash cd flutter && etk build # 生成 manifest.json cd flutter && etk validate # 校验 manifest.json ``` ## 依赖 - **SDK**: easytouch-sdk ## 开发 ```bash # Rust 端构建 cd rust && cargo build # Flutter 端构建 cd flutter && flutter build ``` ## 许可证 MIT