commit 0d38ef295949900bf08bee2488d966359fbfc996 Author: render Date: Tue Sep 8 15:48:26 2026 +0800 chore: initialize first-party Curio repository diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f97a84a --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +dist/ +target/ +.trove/ +.env +.env.* +*.curio +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..db862a3 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# Trove Curios + +第一方 Curio 与官方软件源仓库。当前尚无已发布插件,不把 SDK 教学示例当作正式产品。 + +## 目录 + +- `curios//`:各插件独立的 curio.json、UI 和可选后端。 +- `source/index.json`:官方源的初始空索引。 +- `tools/`:后续构建、打包与索引生成脚本(Bun/Rust)。 + +项目依赖使用 pnpm;SDK 通过版本化的 @trove/plugin-sdk 引用,不通过 ../app 引用源文件。App 仓库保留协议规范和教学模板。 + +## 发布约定 + +1. 各插件独立声明版本、平台、依赖与权限。 +2. 构建并执行 trove curio check / pack。macOS 原生后端使用 Mac Runner 构建。 +3. 先上传不可变的版本包,再更新索引中的下载 URL、大小和 SHA-256。 +4. 最后原子发布 index.json。私有 Git 仓库不等于私有下载源;下载地址应符合分发对象的访问权限。 + +官网:https://trove.render.ink diff --git a/curios/.gitkeep b/curios/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/source/index.json b/source/index.json new file mode 100644 index 0000000..8ec7e26 --- /dev/null +++ b/source/index.json @@ -0,0 +1,7 @@ +{ + "schemaVersion": 1, + "id": "trove-official", + "name": "Trove 官方软件源", + "generatedAt": "2026-09-08T07:48:26.789Z", + "curios": [] +} diff --git a/tools/.gitkeep b/tools/.gitkeep new file mode 100644 index 0000000..e69de29