# easytouch-plugin-hello-uischema **Repository Path**: easytouchplugins/easytouch-plugin-hello-uischema ## Basic Information - **Project Name**: easytouch-plugin-hello-uischema - **Description**: easytouch-plugin-hello-uischema - **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-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EasyTouch Plugin: Hello UISchema Plugin ![build](https://img.shields.io/badge/build-passing-brightgreen) ![plugin_id](https://img.shields.io/badge/plugin%5Fid-server.com.easytouch.hello%5Fschema-blue) ![category](https://img.shields.io/badge/category-business-orange) ![version](https://img.shields.io/badge/version-0.2.0-lightgrey) Hello UISchema 示例插件 - 演示 schema 驱动 UI 架构(client lib 内打包)。 ## 插件信息 | 属性 | 值 | |------|-----| | plugin_id (Rust) | `server.com.easytouch.hello_uischema` | | 版本 | 0.1.0 | | 分类 | business | | UI 渲染模式 | schema | ## 目录结构 ``` ├── rust/ # Rust 服务端逻辑 │ ├── src/ │ ├── Cargo.toml │ └── manifest.json └── README.md ``` ## Rust API | 方法 | 说明 | |------|------| | `get_ui_schema` | 获取 Schema UI 描述 | | `get_ui_schema_version` | 获取 Schema 版本号 | | `get_config` | 获取配置 | | `save_config` | 保存配置 | | `greet` | 问候方法 | | `add` | 加法示例 | | `ping` | Ping 探活 | ## Manifest 管理 > **禁止手工编辑 manifest.json**。manifest.json 由 `etk` 工具自动生成和更新。 ### 生成 manifest.json ```bash # 在 rust/ 目录下执行,扫描源码 #[plugin_method] 标注,生成 manifest.json cd rust && etk build ``` ### 验证 manifest.json ```bash # 校验 manifest.json schema 完整性 cd rust && etk validate ``` ### 打包发布 ```bash # 生成市场压缩包 cd rust && etk pack ``` ## 依赖 - **SDK**: easytouch-sdk ## 开发 ```bash # Rust 端构建 cd rust && cargo build ``` ## 许可证 MIT