Compare commits

..
35 Commits
Author SHA1 Message Date
千川白浪 471c4d1c8c ci: reduce publish schedule to daily and skip no-op dist force-push 2026-12-05 00:28:58 -07:00
千川白浪 108dd9f9c1 Merge pull request #13 from reiasu2/add-reims-coherence
feat(registry): add reims.coherence (macOS Coherence) alpha plugin
2026-12-05 13:44:34 +08:00
棠渚听潮 2e73b36219 feat(registry): add reims.coherence (macOS Coherence) alpha plugin 2026-12-05 03:15:56 +09:00
Nwflower 7acb1ef50a Merge pull request #11 from reiasu2/feat/register-reims-goldengate
登记社区实验插件 Golden Gate (macOS 27) 0.1.0-alpha.1(Alpha 测试版)

model: tencent/hunyuan-hy
tool: Codex CLI
2026-12-04 08:36:23 -07:00
Xiaochi You 910aa71c05 Merge pull request #12 from yxc0915/codex/register-native-usb-redir
登记社区原生 USB 直通插件 0.1.0-alpha.1
2026-12-04 23:03:08 +08:00
YXC0915 ffc3ae6087 Register the native USB passthrough plugin 2026-12-04 22:57:25 +08:00
千川白浪 8a8118fa5f feat: publish multi-version releases list and verify GitHub asset digest 2026-12-04 07:55:49 -07:00
棠渚听潮 628aa21630 feat: register reims.goldengate (experimental macOS 27 alpha) 2026-12-04 22:51:43 +08:00
千川白浪 1be15e1ab6 feat: auto-track GitHub Releases, extract icons/stars/downloads, purge CDN, simplify README 2026-12-04 07:12:04 -07:00
千川白浪 56dd35276f Merge pull request #10 from mango6i/add-usb-passthrough
登记社区 USB 直通插件 0.1.0-beta.6(Alpha)
2026-12-04 21:48:15 +08:00
千川白浪 1161a2bc2b Merge pull request #9 from Eng-Novel/update-ar-sa-1.1.2
Update Arabic language pack to v1.1.4
2026-12-04 21:47:38 +08:00
千川白浪 9358add941 Merge pull request #6 from bvzrays/ci/use-host-go-version
ci: derive market workflow Go version from host
2026-12-04 21:47:19 +08:00
Xiaochi You 94956b6847 Merge pull request #8 from cosimawei/feat/capture-shortcut-market
Register Capture Shortcut in the alpha market
2026-12-04 16:16:52 +08:00
ENG-Novel ebc333ef6c Update Arabic language pack to 1.1.4 2026-12-03 08:08:58 +03:00
ENG-Novel 3c23418086 Update Arabic language pack to 1.1.3 2026-12-03 07:53:30 +03:00
ENG-Novel 49b9640dff Update Arabic language pack to 1.1.2 2026-12-03 07:12:36 +03:00
mango6i 8c138d284a Register community USB passthrough plugin 0.1.0-beta.6 2026-12-03 10:16:54 +08:00
hanyewei 51176817cf Update Capture Shortcut market entry to 0.2.2 2026-12-03 09:33:02 +08:00
hanyewei 9c6581757a Register Capture Shortcut in the alpha market 2026-12-03 08:58:27 +08:00
千川白浪 90d3cac381 ci: set REIMS_GO_PLATFORM=windows-x64 for cross-platform plugin gate 2026-12-02 08:18:06 -07:00
千川白浪 a3cf5f36d6 feat(registry): register official reims.agent@0.1.0 MCP plugin 2026-12-02 08:10:24 -07:00
Dnyo666 382ab725e8 Merge PR #5: Add Wallpaper Studio interactive theme (yfl520.theme.wallpaper-studio)
feat(theme): 上架社区动态壁纸交互主题 yfl520.theme.wallpaper-studio v1.1.0
2026-12-02 05:32:07 -08:00
事事休 fc31f0d6f4 feat(registry): bump yfl520.theme.wallpaper-studio to v1.1.0 (review fixes) 2026-12-02 20:56:21 +08:00
Dnyo666 c6c36b204d Merge pull request #7 from reims-go/docs/sync-plugin-guidelines
docs: sync plugin submission guide with host compatibility and ui:script approval rules
2026-12-02 02:06:08 -08:00
Dnyo666 1ef05dcf6f docs: sync plugin submission guide with host compatibility and ui:script approval rules 2026-12-02 18:03:09 +08:00
bvz rays a31ecdaf8f ci: skip PR comment when a fork token is read-only 2026-12-02 14:20:10 +08:00
bvzrays d879bdcdc4 ci: follow host Go version in market workflows 2026-12-02 14:06:20 +08:00
事事休 3be68dd863 feat(registry): add community theme yfl520.theme.wallpaper-studio v1.0.1 2026-12-02 13:35:03 +08:00
千川白浪 55bc8f7631 Merge PR #4: Add Arabic (ar-SA) community language pack 2026-12-01 20:30:56 -07:00
千川白浪 76be5e46d2 Merge PR #2: Add Spanish language pack (abadx.lang.es-es) 2026-12-01 20:28:31 -07:00
ENG-Novel 4e269df5e1 Point Arabic pack to published release repository 2026-12-02 05:10:31 +03:00
ENG-Novel 47a8d7cd30 Add Arabic (ar-SA) community language pack 2026-12-02 05:10:31 +03:00
AbadXDev 0f36d42058 Add Spanish language pack (abadx.lang.es-es) 2026-12-01 09:37:24 -04:00
jinhyeok694andjinhyeok694 554f6e5922 feat: add community.lang.ko-kr v1.0.0 Korean language pack (#1)
Co-authored-by: jinhyeok694 <314126748+jinhyeok694@users.noreply.github.com>
2026-11-30 03:09:54 -08:00
千川白浪 7ad21f30cd chore: initialize Reims-Go plugin market and add official.lang.zh-tw v1.0.0 2026-11-30 01:57:13 -07:00
12 changed files with 1368 additions and 835 deletions

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
## 变更类型 / Submission Type
- [ ] 新插件上架 / New plugin
- [ ] 插件版本更新 / Version update
- [ ] 插件软撤回 / Soft withdrawal (`withdrawn.json`)
## 插件信息 / Plugin Info
- **Plugin ID**: `...`
- **Version**: `...`
- **Tier**: `L1` / `L4` / `L3` / `runtime`
- **Source Repository**: `https://github.com/...`
- **License**: `...`
## 自检清单 / Checklist
- [ ] 已在本地通过 `reims-go plugin doctor ./dir` 零硬拦截
- [ ] 已使用 `reims-go plugin pack ./dir` 打包并核对 `SHA-256`
- [ ] 不包含任何 Apple 专有文件、OSK、真实 SMBIOS 序列号或闭源固件
- [ ] (仅 L3 / `ui:script`)源码仓库公开且 Release 产物由公开 CI 工作流构建
+108
View File
@@ -0,0 +1,108 @@
name: PR Plugin Gate
on:
pull_request:
paths:
- '.github/workflows/**'
- 'registry.json'
- 'withdrawn.json'
- 'scripts/**'
- 'keys/**'
permissions:
contents: read
pull-requests: write
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout plugins repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Check if registry has active plugins
id: reg
run: |
count=$(node -e "const r = JSON.parse(require('fs').readFileSync('registry.json','utf8')); console.log((r.plugins||[]).length)")
echo "count=$count" >> "$GITHUB_OUTPUT"
- name: Checkout Reims-Go CLI source
if: steps.reg.outputs.count != '0'
uses: actions/checkout@v4
with:
repository: Nwflower/Reims-Go
ref: main
path: reims-go
- name: Setup Go from Reims-Go go.mod
if: steps.reg.outputs.count != '0'
uses: actions/setup-go@v5
with:
go-version-file: reims-go/go.mod
- name: Build headless reims-go CLI
if: steps.reg.outputs.count != '0'
run: |
cd reims-go
mkdir -p cmd/reims-doctor
cat <<'EOF' > cmd/reims-doctor/main.go
package main
import (
"os"
"github.com/Nwflower/reims-go/internal/cli"
)
func main() {
os.Exit(cli.Main(os.Args[1:]))
}
EOF
CGO_ENABLED=0 go build -o "$GITHUB_WORKSPACE/reims-go-cli" ./cmd/reims-doctor
- name: Validate registry & run static security gate
id: gate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REIMS_GO_PLATFORM: windows-x64
run: |
extra=""
if [ -x "./reims-go-cli" ]; then
extra="--reims-bin ./reims-go-cli"
fi
node scripts/build-index.mjs --check $extra --report pr-report.md
- name: Post gate report comment on PR
if: always() && hashFiles('pr-report.md') != '' && github.event.pull_request.head.repo.full_name == github.repository
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
const body = fs.readFileSync('pr-report.md', 'utf8');
const marker = '<!-- reims-go-plugin-gate -->';
const fullBody = `${marker}\n${body}`;
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
});
const existing = comments.find((c) => c.body && c.body.includes(marker));
if (existing) {
await github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: existing.id,
body: fullBody,
});
} else {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: fullBody,
});
}
+127
View File
@@ -0,0 +1,127 @@
name: Publish Market Index
on:
push:
branches: ['main']
paths:
- 'registry.json'
- 'withdrawn.json'
- 'scripts/**'
schedule:
- cron: '17 4 * * *'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: publish-dist
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout plugins repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Check if registry has active plugins
id: reg
run: |
count=$(node -e "const r = JSON.parse(require('fs').readFileSync('registry.json','utf8')); console.log((r.plugins||[]).length)")
echo "count=$count" >> "$GITHUB_OUTPUT"
- name: Checkout Reims-Go CLI source
if: steps.reg.outputs.count != '0'
uses: actions/checkout@v4
with:
repository: Nwflower/Reims-Go
ref: main
path: reims-go
- name: Setup Go from Reims-Go go.mod
if: steps.reg.outputs.count != '0'
uses: actions/setup-go@v5
with:
go-version-file: reims-go/go.mod
- name: Build headless reims-go CLI
if: steps.reg.outputs.count != '0'
run: |
cd reims-go
mkdir -p cmd/reims-doctor
cat <<'EOF' > cmd/reims-doctor/main.go
package main
import (
"os"
"github.com/Nwflower/reims-go/internal/cli"
)
func main() {
os.Exit(cli.Main(os.Args[1:]))
}
EOF
CGO_ENABLED=0 go build -o "$GITHUB_WORKSPACE/reims-go-cli" ./cmd/reims-doctor
- name: Build dist/index.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REIMS_GO_PLATFORM: windows-x64
run: |
extra=""
if [ -x "./reims-go-cli" ]; then
extra="--reims-bin ./reims-go-cli"
fi
node scripts/build-index.mjs $extra --out-dir dist
- name: Check if dist content changed
id: diff
run: |
if git fetch --depth 1 origin dist 2>/dev/null; then
mkdir -p prev-dist
git show origin/dist:index.json > prev-dist/index.json 2>/dev/null || true
git show origin/dist:changes.json > prev-dist/changes.json 2>/dev/null || true
changed=$(node -e "
const fs = require('fs');
const norm = (p) => {
if (!fs.existsSync(p)) return '';
const obj = JSON.parse(fs.readFileSync(p, 'utf8'));
delete obj.updated_at;
return JSON.stringify(obj);
};
const same = norm('prev-dist/index.json') === norm('dist/index.json')
&& norm('prev-dist/changes.json') === norm('dist/changes.json');
console.log(same ? 'false' : 'true');
")
else
changed="true"
fi
echo "changed=$changed" >> "$GITHUB_OUTPUT"
echo "Dist content changed: $changed"
- name: Publish dist orphan branch
if: steps.diff.outputs.changed == 'true'
run: |
cd dist
git init -b dist
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add index.json changes.json
git commit -m "chore(dist): publish market index $(date -u +%Y-%m-%dT%H:%M:%SZ)"
git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git push --force origin dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Purge jsDelivr CDN cache
if: steps.diff.outputs.changed == 'true'
run: |
curl -fsS "https://purge.jsdelivr.net/gh/${GITHUB_REPOSITORY}@dist/index.json" || true
curl -fsS "https://purge.jsdelivr.net/gh/${GITHUB_REPOSITORY}@dist/changes.json" || true
+7
View File
@@ -0,0 +1,7 @@
dist/
pr-report.md
reims-go-cli
reims-go-cli.exe
node_modules/
.DS_Store
Thumbs.db
+200
View File
@@ -0,0 +1,200 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate acts) or agreed
to in writing, shall any Contributor be liable to You for damages,
including any direct, indirect, special, incidental, or consequential
damages of any character arising as a result of this License or out of
the use or inability to use the Work (including but not limited to damages
for loss of goodwill, work stoppage, computer failure or malfunction, or
any and all other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2026 Reims-Go contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+60
View File
@@ -0,0 +1,60 @@
# Reims-Go 插件市场
本仓库维护 [Reims-Go](https://github.com/Nwflower/Reims-Go) 的官方与社区插件市场目录。插件压缩包由作者托管在各自仓库的 GitHub Releases 中,本仓库只登记仓库链接,并定时自动同步最新版本与安全校验结果。
## 如何上架插件
只需提交一次 Pull Request 登记插件仓库,后续你在自己仓库发布新的 GitHub Release 时,市场会自动拉取最新版本、执行安全检查并更新索引,无需每次发版都重新提 PR。
### 第一步:打包并检查插件
使用最新版 Reims-Go 命令行工具对插件目录做体检并打包:
```powershell
reims-go plugin doctor ./my-plugin
reims-go plugin pack ./my-plugin
```
打包完成后会生成一个标准插件压缩包。
### 第二步:发布到 GitHub Releases
在你的开源插件仓库新建一个 Release,并将上一步生成的 `.zip` 压缩包上传为 Release 附件:
- 面向普通用户的正式版本发布为普通 Release(对应 `stable` 通道)。
- 仍在测试中的预览版本勾选「Pre-release」(对应 `alpha` 通道)。
### 第三步:登记到本仓库
在 [registry.json](registry.json) 的 `plugins` 列表中新增一条登记记录并提交 PR:
```json
{
"id": "yourname.theme.example",
"repo": "your-name/reims-theme-example",
"kind": "theme",
"trust": "community",
"channel": "stable",
"tags": ["theme", "dark"]
}
```
如果同一个仓库还发布了其他用途的 Release,可额外加上 `tag_prefix` 来限定只同步特定前缀的标签。插件名称、简介、版本号、图标、许可证、兼容范围与校验哈希均由市场自动从压缩包提取,无需手动填写。
## 编写建议
- **插件图标**:在插件清单中声明背景色令牌(支持 `indigo`、`purple`、`sky`、`rose`、`emerald`、`amber`、`teal`、`slate`)和包内的单色 SVG 前景图标,市场与客户端会统一使用你声明的图标。
- **语言包**:标题和简介直接用对应语言书写即可,无需额外适配中英文,简介保持精炼的一句话(例如繁体中文语言包:「為 Reims-Go 提供繁體中文介面。」)。
## 安全审核与红线
市场会在 PR 审核与每次自动同步时运行静态安全检查,以下内容会被直接拦截:
- 包含任何 Apple 专有系统文件、闭源固件、SMC OSK 或真实硬件序列号。
- 在 SVG 图标中嵌入脚本、内联事件或外部链接。
- 夹带未声明的可执行程序、系统脚本或未纳入校验清单的文件。
- 含原生可执行程序或交互脚本的插件必须开源,且客户端在安装和更新导致文件哈希变化时都会向用户披露风险并要求重新确认。
## 软撤回
若插件停止维护、发现安全问题或已有替代品,维护者会将其移入 [withdrawn.json](withdrawn.json)。新用户将无法继续安装并会看到替代提示,已安装用户的本地插件不会被静默删除。
-74
View File
@@ -1,74 +0,0 @@
{
"schema": 1,
"updated_at": "2026-12-05T06:01:15.000Z",
"plugin_count": 11,
"withdrawn_count": 0,
"entries": [
{
"id": "local.capture-shortcut",
"version": "0.2.2",
"channel": "alpha",
"sha256": "796949f8caf76ebafa4116c4ca03643b3b87a893d833171e138aa23a55255aff"
},
{
"id": "reims.agent",
"version": "0.1.0",
"channel": "stable",
"sha256": "0c662804508b1b6b06e10f80f395b28814cc4e280907f833c5e629d3293dac79"
},
{
"id": "official.lang.zh-tw",
"version": "1.0.1",
"channel": "stable",
"sha256": "96b4261b3d15ecb3723391b8ca46c4b8e1cf975d8a60f269a595d47a4e824d89"
},
{
"id": "community.lang.ko-kr",
"version": "1.0.0",
"channel": "stable",
"sha256": "9e4dca0c87afd550e4988c33043d1437c4031ed0da279ac26d98425a76bb2157"
},
{
"id": "abadx.lang.es-es",
"version": "1.0.1",
"channel": "stable",
"sha256": "0cc657e11f93999de0c50fa96530582631dbbcc88481e5897d27eeb7d745da45"
},
{
"id": "community.lang.ar-sa",
"version": "1.1.4",
"channel": "stable",
"sha256": "db58f2c3a820b9bc20665f02f3f4d72b067cfaddffb849b9d17c60e95899f883"
},
{
"id": "yfl520.theme.wallpaper-studio",
"version": "1.1.0",
"channel": "stable",
"sha256": "f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d"
},
{
"id": "reimscommunity.usb-passthrough",
"version": "0.1.0-beta.6",
"channel": "alpha",
"sha256": "23987e25408f6ffbf9ec645818836fcf770971e29be4790e38efad8e94d4818d"
},
{
"id": "reimscommunity.usb-redir",
"version": "0.1.0-alpha.1",
"channel": "alpha",
"sha256": "807a7d01ca6dd8690a14b4c75c92c9fec649818ccd0aab63c10d8170ac8a564c"
},
{
"id": "reims.goldengate",
"version": "0.1.0-alpha.2",
"channel": "alpha",
"sha256": "8d7b75c4b6f365e05443128eb018b2ec16b5084c24cb1a0d00648647dc0c737f"
},
{
"id": "reims.coherence",
"version": "0.1.0-alpha.23",
"channel": "alpha",
"sha256": "d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd"
}
]
}
-761
View File
@@ -1,761 +0,0 @@
{
"schema": 1,
"updated_at": "2026-12-05T06:01:15.000Z",
"plugins": [
{
"id": "local.capture-shortcut",
"version": "0.2.2",
"name": {
"zh-CN": "释放虚拟机输入快捷键",
"en-US": "Release VM input shortcut"
},
"description": {
"zh-CN": "使用支持自定义快捷键的 Reims vGPU 运行时释放键盘和鼠标。",
"en-US": "Release the keyboard and mouse with a shortcut supported by the Reims vGPU runtime."
},
"publisher": "cosimawei",
"license": "Apache-2.0",
"channel": "alpha",
"trust": "community",
"kind": "tool",
"tier": "L1",
"homepage": "https://github.com/cosimawei/reims-capture-shortcut",
"readme_url": "https://github.com/cosimawei/reims-capture-shortcut#readme",
"engines": {
"reims-go": ">=0.2.12",
"pluginApi": ">=1.2.0 <2.0.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"vm:intent"
],
"download_url": "https://github.com/cosimawei/reims-capture-shortcut/releases/download/v0.2.2/local.capture-shortcut-0.2.2.zip",
"sha256": "796949f8caf76ebafa4116c4ca03643b3b87a893d833171e138aa23a55255aff",
"size_bytes": 6379,
"changelog": {
"zh-CN": "Built for Reims-Go v0.2.12 with the changes in Nwflower/Reims-Go#123. Requires Plugin API 1.2 and a runtime advertising window-release-shortcut.",
"en-US": "Built for Reims-Go v0.2.12 with the changes in Nwflower/Reims-Go#123. Requires Plugin API 1.2 and a runtime advertising window-release-shortcut."
},
"releases": [
{
"version": "0.2.2",
"channel": "alpha",
"download_url": "https://github.com/cosimawei/reims-capture-shortcut/releases/download/v0.2.2/local.capture-shortcut-0.2.2.zip",
"sha256": "796949f8caf76ebafa4116c4ca03643b3b87a893d833171e138aa23a55255aff",
"size_bytes": 6379,
"published_at": "2026-12-03T01:30:15Z",
"changelog": {
"zh-CN": "Built for Reims-Go v0.2.12 with the changes in Nwflower/Reims-Go#123. Requires Plugin API 1.2 and a runtime advertising window-release-shortcut.",
"en-US": "Built for Reims-Go v0.2.12 with the changes in Nwflower/Reims-Go#123. Requires Plugin API 1.2 and a runtime advertising window-release-shortcut."
}
},
{
"version": "0.2.1",
"channel": "alpha",
"download_url": "https://github.com/cosimawei/reims-capture-shortcut/releases/download/v0.2.1/local.capture-shortcut-0.2.1.zip",
"sha256": "8eaca9e695b979e01bd0d0748cf3e2f117e13fb1c44854ee88fbfa8b8179a013",
"size_bytes": 6374,
"published_at": "2026-12-03T00:54:47Z",
"changelog": {
"zh-CN": "Includes a configurable release shortcut and mouse-leave release. Requires Reims-Go Plugin API 1.2 and a vGPU runtime advertising window-release-shortcut.",
"en-US": "Includes a configurable release shortcut and mouse-leave release. Requires Reims-Go Plugin API 1.2 and a vGPU runtime advertising window-release-shortcut."
}
}
],
"tags": [
"keyboard",
"mouse",
"input"
],
"downloads": 22,
"updated_at": "2026-12-03T01:30:15Z"
},
{
"id": "reims.agent",
"version": "0.1.0",
"name": {
"zh-CN": "MCP服务",
"en-US": "MCP Service"
},
"description": {
"zh-CN": "通过宿主授权的控制通道向 MCP 客户端提供虚拟机交互工具",
"en-US": "Provides VM interaction tools to MCP clients through host-authorized channels"
},
"publisher": "Reims-Go",
"license": "Apache-2.0",
"channel": "stable",
"trust": "official",
"kind": "tool",
"tier": "L3",
"homepage": "https://github.com/reims-go/reims-agent",
"readme_url": "https://github.com/reims-go/reims-agent#readme",
"engines": {
"pluginApi": "^1.1.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"vm:read",
"vm:control",
"vm:screen",
"qmp:write"
],
"download_url": "https://github.com/reims-go/reims-agent/releases/download/v0.1.0/reims.agent-0.1.0.zip",
"sha256": "0c662804508b1b6b06e10f80f395b28814cc4e280907f833c5e629d3293dac79",
"size_bytes": 4510547,
"changelog": {
"zh-CN": "* ci: normalize Go source line endings for Windows by @bvzrays in https://github.com/reims-go/reims-agent/pull/1 * feat(mcp): harden cancellation and guest operations by @bvzrays in https://github.com/reims-go/reims-agent/pull/2 * feat(m...",
"en-US": "* ci: normalize Go source line endings for Windows by @bvzrays in https://github.com/reims-go/reims-agent/pull/1 * feat(mcp): harden cancellation and guest operations by @bvzrays in https://github.com/reims-go/reims-agent/pull/2 * feat(m..."
},
"releases": [
{
"version": "0.1.0",
"channel": "stable",
"download_url": "https://github.com/reims-go/reims-agent/releases/download/v0.1.0/reims.agent-0.1.0.zip",
"sha256": "0c662804508b1b6b06e10f80f395b28814cc4e280907f833c5e629d3293dac79",
"size_bytes": 4510547,
"published_at": "2026-12-02T15:08:25Z",
"changelog": {
"zh-CN": "* ci: normalize Go source line endings for Windows by @bvzrays in https://github.com/reims-go/reims-agent/pull/1 * feat(mcp): harden cancellation and guest operations by @bvzrays in https://github.com/reims-go/reims-agent/pull/2 * feat(m...",
"en-US": "* ci: normalize Go source line endings for Windows by @bvzrays in https://github.com/reims-go/reims-agent/pull/1 * feat(mcp): harden cancellation and guest operations by @bvzrays in https://github.com/reims-go/reims-agent/pull/2 * feat(m..."
}
}
],
"tags": [
"mcp",
"agent",
"computer-use",
"ssh",
"automation"
],
"downloads": 224,
"updated_at": "2026-12-02T15:08:25Z"
},
{
"id": "official.lang.zh-tw",
"version": "1.0.1",
"name": {
"zh-TW": "繁體中文語言包"
},
"description": {
"zh-TW": "為 Reims-Go 提供繁體中文介面。"
},
"publisher": "Reims-Go",
"license": "Apache-2.0",
"channel": "stable",
"trust": "official",
"kind": "locale",
"tier": "L1",
"icon": {
"tone": "sky",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9\"/><ellipse cx=\"12\" cy=\"12\" rx=\"4\" ry=\"9\"/><line x1=\"3\" y1=\"12\" x2=\"21\" y2=\"12\"/></svg>"
},
"homepage": "https://github.com/reims-go/lang-zh-tw",
"readme_url": "https://github.com/reims-go/lang-zh-tw#readme",
"engines": {
"reims-go": ">=0.2.9",
"pluginApi": "^1.0.0"
},
"download_url": "https://github.com/reims-go/lang-zh-tw/releases/download/v1.0.1/official.lang.zh-tw-1.0.1.zip",
"sha256": "96b4261b3d15ecb3723391b8ca46c4b8e1cf975d8a60f269a595d47a4e824d89",
"size_bytes": 37995,
"changelog": {
"zh-CN": "為 Reims-Go 提供繁體中文介面。新增自訂 SVG 圖示並精簡標題與描述。",
"en-US": "為 Reims-Go 提供繁體中文介面。新增自訂 SVG 圖示並精簡標題與描述。"
},
"releases": [
{
"version": "1.0.1",
"channel": "stable",
"download_url": "https://github.com/reims-go/lang-zh-tw/releases/download/v1.0.1/official.lang.zh-tw-1.0.1.zip",
"sha256": "96b4261b3d15ecb3723391b8ca46c4b8e1cf975d8a60f269a595d47a4e824d89",
"size_bytes": 37995,
"published_at": "2026-12-04T14:11:37Z",
"changelog": {
"zh-CN": "為 Reims-Go 提供繁體中文介面。新增自訂 SVG 圖示並精簡標題與描述。",
"en-US": "為 Reims-Go 提供繁體中文介面。新增自訂 SVG 圖示並精簡標題與描述。"
}
},
{
"version": "1.0.0",
"channel": "stable",
"download_url": "https://github.com/reims-go/lang-zh-tw/releases/download/v1.0.0/official.lang.zh-tw-1.0.0.zip",
"sha256": "2ff6ad79357035d68bbebe0e3700e8ef2b30d4d9ef44181532959a4525cbfbc6",
"size_bytes": 37805,
"published_at": "2026-11-30T08:57:10Z",
"changelog": {
"zh-CN": "Initial official Traditional Chinese language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). SHA-256: `2ff6ad79357035d68bbebe0e3700e8ef2b30d4d9ef44181532959a4525cbfbc6`",
"en-US": "Initial official Traditional Chinese language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). SHA-256: `2ff6ad79357035d68bbebe0e3700e8ef2b30d4d9ef44181532959a4525cbfbc6`"
}
}
],
"tags": [
"locale",
"i18n",
"zh-TW",
"traditional-chinese",
"繁體中文"
],
"downloads": 470,
"updated_at": "2026-12-04T14:11:37Z"
},
{
"id": "community.lang.ko-kr",
"version": "1.0.0",
"name": {
"zh-CN": "韩语语言包",
"en-US": "Korean Language Pack",
"ko-KR": "한국어 언어팩"
},
"description": {
"zh-CN": "为 Reims-Go 提供完整的韩语界面、安装引导、系统托盘与命令行本地化",
"en-US": "Complete Korean UI, install guide, system tray, and CLI localization for Reims-Go",
"ko-KR": "Reims-Go의 화면, 설치 가이드, 시스템 트레이, 명령줄을 한국어로 표시합니다"
},
"publisher": "jinhyeok694",
"license": "Apache-2.0",
"channel": "stable",
"trust": "community",
"kind": "locale",
"tier": "L1",
"homepage": "https://github.com/jinhyeok694/reims-go-lang-ko-kr",
"readme_url": "https://github.com/jinhyeok694/reims-go-lang-ko-kr#readme",
"engines": {
"reims-go": ">=0.2.9",
"pluginApi": "^1.0.0"
},
"download_url": "https://github.com/jinhyeok694/reims-go-lang-ko-kr/releases/download/v1.0.0/community.lang.ko-kr-1.0.0.zip",
"sha256": "9e4dca0c87afd550e4988c33043d1437c4031ed0da279ac26d98425a76bb2157",
"size_bytes": 38451,
"changelog": {
"zh-CN": "Initial Korean (ko-KR) community language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). - Desktop UI (`core`, `vm`, `wizard`, `settings`, `plugins`), system tray, Win32 install guide overlay and CLI (`native`) -...",
"en-US": "Initial Korean (ko-KR) community language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). - Desktop UI (`core`, `vm`, `wizard`, `settings`, `plugins`), system tray, Win32 install guide overlay and CLI (`native`) -..."
},
"releases": [
{
"version": "1.0.0",
"channel": "stable",
"download_url": "https://github.com/jinhyeok694/reims-go-lang-ko-kr/releases/download/v1.0.0/community.lang.ko-kr-1.0.0.zip",
"sha256": "9e4dca0c87afd550e4988c33043d1437c4031ed0da279ac26d98425a76bb2157",
"size_bytes": 38451,
"published_at": "2026-11-30T09:22:24Z",
"changelog": {
"zh-CN": "Initial Korean (ko-KR) community language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). - Desktop UI (`core`, `vm`, `wizard`, `settings`, `plugins`), system tray, Win32 install guide overlay and CLI (`native`) -...",
"en-US": "Initial Korean (ko-KR) community language pack for Reims-Go (1183/1183 keys, 100% coverage across all 7 domains). - Desktop UI (`core`, `vm`, `wizard`, `settings`, `plugins`), system tray, Win32 install guide overlay and CLI (`native`) -..."
}
}
],
"tags": [
"locale",
"i18n",
"ko-KR",
"korean",
"한국어"
],
"downloads": 74,
"updated_at": "2026-11-30T09:22:24Z"
},
{
"id": "abadx.lang.es-es",
"version": "1.0.1",
"name": {
"zh-CN": "西班牙语语言包",
"en-US": "Spanish Language Pack",
"es-ES": "Paquete de idioma español"
},
"description": {
"zh-CN": "为 Reims-Go 提供西班牙语界面、Win32 安装引导、系统托盘与命令行本地化",
"en-US": "Provides Spanish UI, Win32 install guide, system tray, and CLI localization for Reims-Go",
"es-ES": "Añade la interfaz en español a Reims-Go, con guía de instalación Win32, bandeja del sistema y línea de comandos"
},
"publisher": "AbadXDev",
"license": "Apache-2.0",
"channel": "stable",
"trust": "community",
"kind": "locale",
"tier": "L1",
"homepage": "https://github.com/AbadXDev/reims-go-lang-es-es",
"readme_url": "https://github.com/AbadXDev/reims-go-lang-es-es#readme",
"engines": {
"pluginApi": "^1.0.0"
},
"download_url": "https://github.com/AbadXDev/reims-go-lang-es-es/releases/download/v1.0.1/abadx.lang.es-es-1.0.1.zip",
"sha256": "0cc657e11f93999de0c50fa96530582631dbbcc88481e5897d27eeb7d745da45",
"size_bytes": 34952,
"changelog": {
"zh-CN": "Primera versión estable: cobertura completa de los 7 dominios (1.264 de 1.264 claves), con glosario de macOS en español y traducciones de los plugins integrados.",
"en-US": "Primera versión estable: cobertura completa de los 7 dominios (1.264 de 1.264 claves), con glosario de macOS en español y traducciones de los plugins integrados."
},
"releases": [
{
"version": "1.0.1",
"channel": "stable",
"download_url": "https://github.com/AbadXDev/reims-go-lang-es-es/releases/download/v1.0.1/abadx.lang.es-es-1.0.1.zip",
"sha256": "0cc657e11f93999de0c50fa96530582631dbbcc88481e5897d27eeb7d745da45",
"size_bytes": 34952,
"published_at": "2026-12-01T13:37:21Z",
"changelog": {
"zh-CN": "Primera versión estable: cobertura completa de los 7 dominios (1.264 de 1.264 claves), con glosario de macOS en español y traducciones de los plugins integrados.",
"en-US": "Primera versión estable: cobertura completa de los 7 dominios (1.264 de 1.264 claves), con glosario de macOS en español y traducciones de los plugins integrados."
}
}
],
"tags": [
"locale",
"i18n",
"es-ES",
"spanish",
"español"
],
"downloads": 64,
"updated_at": "2026-12-01T13:37:21Z"
},
{
"id": "community.lang.ar-sa",
"version": "1.1.4",
"name": {
"zh-CN": "阿拉伯语语言包",
"en-US": "Arabic Language Pack",
"ar-SA": "حزمة اللغة العربية"
},
"description": {
"zh-CN": "为 Reims-Go 提供完整的阿拉伯语界面、系统托盘与命令行本地化",
"en-US": "Provides full Arabic UI, system tray, Windows install guide, and CLI localization for Reims-Go",
"ar-SA": "يوفر واجهة عربية كاملة لـ Reims-Go، بما يشمل شريط النظام ودليل التثبيت وأوامر الطرفية."
},
"publisher": "Eng-Novel",
"license": "Apache-2.0",
"channel": "stable",
"trust": "community",
"kind": "locale",
"tier": "L1",
"homepage": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release",
"readme_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release#readme",
"engines": {
"pluginApi": "^1.0.0"
},
"download_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release/releases/download/v1.1.4/community.lang.ar-sa-1.1.4.zip",
"sha256": "db58f2c3a820b9bc20665f02f3f4d72b067cfaddffb849b9d17c60e95899f883",
"size_bytes": 50207,
"changelog": {
"zh-CN": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Fixes Arabic line wrapping and mixed-script RTL ordering in the Windows Install Guide.",
"en-US": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Fixes Arabic line wrapping and mixed-script RTL ordering in the Windows Install Guide."
},
"releases": [
{
"version": "1.1.4",
"channel": "stable",
"download_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release/releases/download/v1.1.4/community.lang.ar-sa-1.1.4.zip",
"sha256": "db58f2c3a820b9bc20665f02f3f4d72b067cfaddffb849b9d17c60e95899f883",
"size_bytes": 50207,
"published_at": "2026-12-03T05:08:24Z",
"changelog": {
"zh-CN": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Fixes Arabic line wrapping and mixed-script RTL ordering in the Windows Install Guide.",
"en-US": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Fixes Arabic line wrapping and mixed-script RTL ordering in the Windows Install Guide."
}
},
{
"version": "1.1.3",
"channel": "stable",
"download_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release/releases/download/v1.1.3/community.lang.ar-sa-1.1.3.zip",
"sha256": "8222ea4a4f14b335ccc7c4b72056b89ca3364f5911e412aaa55ffd78c47bb0e7",
"size_bytes": 50411,
"published_at": "2026-12-03T04:52:35Z",
"changelog": {
"zh-CN": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Includes terminology improvements, Windows guide and system tray fixes, and overrides for current marketplace plugins.",
"en-US": "Arabic (ar-SA) localization update for Reims-Go v0.2.12. - Publisher: Eng-Novel. - Includes terminology improvements, Windows guide and system tray fixes, and overrides for current marketplace plugins."
}
},
{
"version": "1.1.2",
"channel": "stable",
"download_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release/releases/download/v1.1.2/community.lang.ar-sa-1.1.2.zip",
"sha256": "3a068974f0d5d39524187ba8458a8b87a0ee4620e3486c5b4a06502035743ae9",
"size_bytes": 51084,
"published_at": "2026-12-03T03:50:47Z",
"changelog": {
"zh-CN": "Arabic (ar-SA) language pack v1.1.2 for Reims-Go v0.2.12. Publisher: Eng-Novel. Includes revised Arabic terminology and built-in plugin settings localization. Full bilingual README is attached.",
"en-US": "Arabic (ar-SA) language pack v1.1.2 for Reims-Go v0.2.12. Publisher: Eng-Novel. Includes revised Arabic terminology and built-in plugin settings localization. Full bilingual README is attached."
}
},
{
"version": "1.0.0",
"channel": "stable",
"download_url": "https://github.com/Eng-Novel/reims-go-lang-ar-sa-release/releases/download/v1.0.0/community.lang.ar-sa-1.0.0.zip",
"sha256": "b952dbf59588e0560402b57cfde8e47ed9e69f7a2090d64e96c431fb75056b39",
"size_bytes": 37122,
"published_at": "2026-12-02T01:56:43Z",
"changelog": {
"zh-CN": "Initial stable release: full Arabic (ar-SA) localization covering all 1,183 keys.",
"en-US": "Initial stable release: full Arabic (ar-SA) localization covering all 1,183 keys."
}
}
],
"tags": [
"locale",
"i18n",
"ar-SA",
"arabic",
"العربية"
],
"downloads": 55,
"updated_at": "2026-12-03T05:08:24Z"
},
{
"id": "yfl520.theme.wallpaper-studio",
"version": "1.1.0",
"name": {
"zh-CN": "动态壁纸工坊",
"en-US": "Wallpaper Studio"
},
"description": {
"zh-CN": "可交互的动态壁纸主题:导入本机图片、GIF 与 MP4/WebM 视频作为窗口背景,支持定时轮播、实时调节背景遮罩与卡片不透明度,虚拟机运行时自动暂停视频以节省资源",
"en-US": "Interactive wallpaper theme: use local images, GIFs, and MP4/WebM videos as the window background, with slideshow, live dimming and card opacity controls, and automatic video pause while a VM is running"
},
"publisher": "yfl520",
"license": "Apache-2.0",
"channel": "stable",
"trust": "community",
"kind": "theme",
"tier": "L1",
"homepage": "https://github.com/yfl520/reims-theme-wallpaper-studio",
"readme_url": "https://github.com/yfl520/reims-theme-wallpaper-studio#readme",
"engines": {
"pluginApi": "^1.0.0",
"uiApi": "^2.0.0"
},
"permissions": [
"ui:script"
],
"download_url": "https://github.com/yfl520/reims-theme-wallpaper-studio/releases/download/v1.1.0/yfl520.theme.wallpaper-studio-1.1.0.zip",
"sha256": "f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d",
"size_bytes": 29496,
"changelog": {
"zh-CN": "SHA-256: `f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d`",
"en-US": "SHA-256: `f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d`"
},
"releases": [
{
"version": "1.1.0",
"channel": "stable",
"download_url": "https://github.com/yfl520/reims-theme-wallpaper-studio/releases/download/v1.1.0/yfl520.theme.wallpaper-studio-1.1.0.zip",
"sha256": "f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d",
"size_bytes": 29496,
"published_at": "2026-12-02T12:55:04Z",
"changelog": {
"zh-CN": "SHA-256: `f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d`",
"en-US": "SHA-256: `f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d`"
}
},
{
"version": "1.0.1",
"channel": "stable",
"download_url": "https://github.com/yfl520/reims-theme-wallpaper-studio/releases/download/v1.0.1/yfl520.theme.wallpaper-studio-1.0.1.zip",
"sha256": "8df835e33d293559c1b9a3a5cf8690f835671b85b0071cd63e3ea879caf49358",
"size_bytes": 1286683,
"published_at": "2026-12-02T05:33:23Z",
"changelog": {
"zh-CN": "SHA-256: `8df835e33d293559c1b9a3a5cf8690f835671b85b0071cd63e3ea879caf49358`",
"en-US": "SHA-256: `8df835e33d293559c1b9a3a5cf8690f835671b85b0071cd63e3ea879caf49358`"
}
}
],
"tags": [
"theme",
"wallpaper",
"video",
"glass",
"动态壁纸",
"交互主题"
],
"downloads": 113,
"updated_at": "2026-12-02T12:55:04Z"
},
{
"id": "reimscommunity.usb-passthrough",
"version": "0.1.0-beta.6",
"name": {
"zh-CN": "USB 直通",
"en-US": "USB Passthrough"
},
"description": {
"zh-CN": "查看 Windows 共享的 USB 设备,将所选设备连接到正在运行的 Reims 虚拟机。",
"en-US": "List USB devices exported by Windows and connect the selected device to a running Reims VM."
},
"publisher": "mango6i",
"license": "Apache-2.0",
"channel": "alpha",
"trust": "community",
"kind": "tool",
"tier": "L3",
"homepage": "https://github.com/mango6i/reims-go-usb-passthrough",
"readme_url": "https://github.com/mango6i/reims-go-usb-passthrough#readme",
"engines": {
"reims-go": "=0.2.10-bridge-test.10 || >=0.2.10",
"pluginApi": "^1.0.0",
"uiApi": "^1.0.0 || ^2.0.0",
"bridgeApi": "^1.0.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"vm:read",
"ui:slot",
"qmp:write",
"fs:plugin_data",
"process:spawn"
],
"download_url": "https://github.com/mango6i/reims-go-usb-passthrough/releases/download/usb-plugin-v0.1.0-beta.6/reimscommunity.usb-passthrough-0.1.0-beta.6.zip",
"sha256": "23987e25408f6ffbf9ec645818836fcf770971e29be4790e38efad8e94d4818d",
"size_bytes": 1477332,
"changelog": {
"zh-CN": "Reims-Go 的 Windows USB 直通插件测试版。已在 Reims-Go v0.2.12 验证插件加载和 macOS 助手发起连接请求。 1. 下载 `reimscommunity.usb-passthrough-0.1.0-beta.6.zip`,用本页的 `SHA256SUMS.txt` 校验,在 Reims-Go 的「插件 → 导入插件」中启用。`plugin-doctor.json` 记录静态检查和权限。 2. 使用基于官方 `2df30ff` 重编...",
"en-US": "Reims-Go 的 Windows USB 直通插件测试版。已在 Reims-Go v0.2.12 验证插件加载和 macOS 助手发起连接请求。 1. 下载 `reimscommunity.usb-passthrough-0.1.0-beta.6.zip`,用本页的 `SHA256SUMS.txt` 校验,在 Reims-Go 的「插件 → 导入插件」中启用。`plugin-doctor.json` 记录静态检查和权限。 2. 使用基于官方 `2df30ff` 重编..."
},
"releases": [
{
"version": "0.1.0-beta.6",
"channel": "alpha",
"download_url": "https://github.com/mango6i/reims-go-usb-passthrough/releases/download/usb-plugin-v0.1.0-beta.6/reimscommunity.usb-passthrough-0.1.0-beta.6.zip",
"sha256": "23987e25408f6ffbf9ec645818836fcf770971e29be4790e38efad8e94d4818d",
"size_bytes": 1477332,
"published_at": "2026-12-03T02:10:00Z",
"changelog": {
"zh-CN": "Reims-Go 的 Windows USB 直通插件测试版。已在 Reims-Go v0.2.12 验证插件加载和 macOS 助手发起连接请求。 1. 下载 `reimscommunity.usb-passthrough-0.1.0-beta.6.zip`,用本页的 `SHA256SUMS.txt` 校验,在 Reims-Go 的「插件 → 导入插件」中启用。`plugin-doctor.json` 记录静态检查和权限。 2. 使用基于官方 `2df30ff` 重编...",
"en-US": "Reims-Go 的 Windows USB 直通插件测试版。已在 Reims-Go v0.2.12 验证插件加载和 macOS 助手发起连接请求。 1. 下载 `reimscommunity.usb-passthrough-0.1.0-beta.6.zip`,用本页的 `SHA256SUMS.txt` 校验,在 Reims-Go 的「插件 → 导入插件」中启用。`plugin-doctor.json` 记录静态检查和权限。 2. 使用基于官方 `2df30ff` 重编..."
}
}
],
"tags": [
"usb",
"usbip",
"iphone",
"macos"
],
"stars": 1,
"downloads": 41,
"updated_at": "2026-12-03T02:10:00Z"
},
{
"id": "reimscommunity.usb-redir",
"version": "0.1.0-alpha.1",
"name": {
"zh-CN": "USB 直通(原生)",
"en-US": "Native USB Passthrough"
},
"description": {
"zh-CN": "将可用的 Windows USB 设备连接到运行中的 Reims 虚拟机。",
"en-US": "Connect available Windows USB devices to a running Reims virtual machine."
},
"publisher": "yxc0915",
"license": "Apache-2.0",
"channel": "alpha",
"trust": "community",
"kind": "tool",
"tier": "L3",
"homepage": "https://github.com/yxc0915/Reims-Go",
"readme_url": "https://github.com/yxc0915/Reims-Go#readme",
"engines": {
"reims-go": ">=0.2.12",
"pluginApi": "^1.0.0",
"uiApi": "^1.0.0 || ^2.0.0",
"bridgeApi": "^1.0.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"vm:read",
"ui:slot",
"fs:plugin_data",
"process:spawn"
],
"download_url": "https://github.com/yxc0915/Reims-Go/releases/download/usb-redir-v0.1.0-alpha.1/reimscommunity.usb-redir-0.1.0-alpha.1.zip",
"sha256": "807a7d01ca6dd8690a14b4c75c92c9fec649818ccd0aab63c10d8170ac8a564c",
"size_bytes": 1404799,
"changelog": {
"zh-CN": "**USB 直通(原生)0.1.0-alpha.1** 是面向 Windows x64 的社区预览插件。启动支持 QEMU `usb-redir` 的虚拟机后,可在插件面板选择实际连接的 USB 设备,勾选接入,取消勾选释放。 1. 下载完整测试包并解压,导入其中的 `reimscommunity.usb-redir-0.1.0-alpha.1.zip`。也可以从支持 Alpha 的插件市场安装同一个 ZIP。 2. 在插件面板把辅助工具目录设为解压后的 `Window...",
"en-US": "**USB 直通(原生)0.1.0-alpha.1** 是面向 Windows x64 的社区预览插件。启动支持 QEMU `usb-redir` 的虚拟机后,可在插件面板选择实际连接的 USB 设备,勾选接入,取消勾选释放。 1. 下载完整测试包并解压,导入其中的 `reimscommunity.usb-redir-0.1.0-alpha.1.zip`。也可以从支持 Alpha 的插件市场安装同一个 ZIP。 2. 在插件面板把辅助工具目录设为解压后的 `Window..."
},
"releases": [
{
"version": "0.1.0-alpha.1",
"channel": "alpha",
"download_url": "https://github.com/yxc0915/Reims-Go/releases/download/usb-redir-v0.1.0-alpha.1/reimscommunity.usb-redir-0.1.0-alpha.1.zip",
"sha256": "807a7d01ca6dd8690a14b4c75c92c9fec649818ccd0aab63c10d8170ac8a564c",
"size_bytes": 1404799,
"published_at": "2026-12-04T15:01:41Z",
"changelog": {
"zh-CN": "**USB 直通(原生)0.1.0-alpha.1** 是面向 Windows x64 的社区预览插件。启动支持 QEMU `usb-redir` 的虚拟机后,可在插件面板选择实际连接的 USB 设备,勾选接入,取消勾选释放。 1. 下载完整测试包并解压,导入其中的 `reimscommunity.usb-redir-0.1.0-alpha.1.zip`。也可以从支持 Alpha 的插件市场安装同一个 ZIP。 2. 在插件面板把辅助工具目录设为解压后的 `Window...",
"en-US": "**USB 直通(原生)0.1.0-alpha.1** 是面向 Windows x64 的社区预览插件。启动支持 QEMU `usb-redir` 的虚拟机后,可在插件面板选择实际连接的 USB 设备,勾选接入,取消勾选释放。 1. 下载完整测试包并解压,导入其中的 `reimscommunity.usb-redir-0.1.0-alpha.1.zip`。也可以从支持 Alpha 的插件市场安装同一个 ZIP。 2. 在插件面板把辅助工具目录设为解压后的 `Window..."
}
}
],
"tags": [
"usb",
"usbredir",
"windows",
"macos"
],
"downloads": 25,
"updated_at": "2026-12-04T15:01:41Z"
},
{
"id": "reims.goldengate",
"version": "0.1.0-alpha.2",
"name": {
"en-US": "Golden Gate (macOS 27)",
"zh-CN": "Golden Gate (macOS 27)"
},
"description": {
"en-US": "[Experimental Alpha · Low Usability] Build, import, and safely launch experimental x86-64 macOS 27 (Golden Gate) VMs. For testing only; not recommended for daily use.",
"zh-CN": "【实验测试版 · 可用性较低】构建、导入并安全启动实验性 x86-64 macOS 27 (Golden Gate) 虚拟机,仅供尝鲜与测试,暂不建议日常使用。"
},
"publisher": "reiasu2",
"license": "Apache-2.0",
"channel": "alpha",
"trust": "community",
"kind": "tool",
"tier": "L3",
"homepage": "https://github.com/reiasu2/reims-goldengate",
"readme_url": "https://github.com/reiasu2/reims-goldengate#readme",
"engines": {
"pluginApi": "^1.2.0",
"uiApi": "^2.1.0",
"bridgeApi": "^1.0.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"ui:slot"
],
"download_url": "https://github.com/reiasu2/reims-goldengate/releases/download/v0.1.0-alpha.2/reims.goldengate-0.1.0-alpha.2.zip",
"sha256": "8d7b75c4b6f365e05443128eb018b2ec16b5084c24cb1a0d00648647dc0c737f",
"size_bytes": 7407765,
"changelog": {
"zh-CN": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**",
"en-US": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**"
},
"releases": [
{
"version": "0.1.0-alpha.2",
"channel": "alpha",
"download_url": "https://github.com/reiasu2/reims-goldengate/releases/download/v0.1.0-alpha.2/reims.goldengate-0.1.0-alpha.2.zip",
"sha256": "8d7b75c4b6f365e05443128eb018b2ec16b5084c24cb1a0d00648647dc0c737f",
"size_bytes": 7407765,
"published_at": "2026-12-04T17:36:58Z",
"changelog": {
"zh-CN": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**",
"en-US": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**"
}
},
{
"version": "0.1.0-alpha.1",
"channel": "alpha",
"download_url": "https://github.com/reiasu2/reims-goldengate/releases/download/v0.1.0-alpha.1/reims.goldengate-0.1.0-alpha.1.zip",
"sha256": "34eedebab3a1df0c7b309d1573b552a52693a756b879c7a35fb9ddc33c46fc63",
"size_bytes": 7400364,
"published_at": "2026-12-04T14:50:42Z",
"changelog": {
"zh-CN": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**",
"en-US": "> ⚠️ **实验测试版(Alpha)· 当前可用性较低,仅供尝鲜与开发者测试,暂不建议用于日常使用或生产环境。** > > ⚠️ **Experimental Alpha · Low Usability — for testing and tinkering only; not recommended for daily or production use.**"
}
}
],
"tags": [
"macos",
"macos-27",
"goldengate",
"opencore",
"experimental"
],
"downloads": 19,
"updated_at": "2026-12-04T17:36:58Z"
},
{
"id": "reims.coherence",
"version": "0.1.0-alpha.23",
"name": {
"en-US": "macOS Coherence",
"zh-CN": "macOS 应用融合"
},
"description": {
"en-US": "Open and control individual macOS app windows on the Windows desktop.",
"zh-CN": "在 Windows 桌面打开并操作独立的 macOS 应用窗口。"
},
"publisher": "reiasu2",
"license": "MIT",
"channel": "alpha",
"trust": "community",
"kind": "tool",
"tier": "L3",
"icon": {
"tone": "indigo",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"12\" height=\"10\" rx=\"2\"/>\n <path d=\"M3 8h12\"/>\n <rect x=\"9\" y=\"10\" width=\"12\" height=\"10\" rx=\"2\"/>\n <path d=\"M9 14h12\"/>\n</svg>"
},
"homepage": "https://github.com/reiasu2/reims-coherence",
"readme_url": "https://github.com/reiasu2/reims-coherence#readme",
"engines": {
"pluginApi": "^1.2.0",
"uiApi": "^2.1.0",
"bridgeApi": "^1.0.0"
},
"platforms": [
"windows-x64"
],
"permissions": [
"ui:slot",
"vm:read",
"qmp:write"
],
"download_url": "https://github.com/reiasu2/reims-coherence/releases/download/v0.1.0-alpha.23/reims.coherence-0.1.0-alpha.23.zip",
"sha256": "d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd",
"size_bytes": 7473747,
"changelog": {
"zh-CN": "内置 macOS 助手版本:`0.1.17`(build `18`) 插件包:`reims.coherence-0.1.0-alpha.23.zip`(SHA-256:`d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd`) - **双 WebSocket 通道(`/ws` + `/ws/frames`)**:控制/输入/焦点/菜单/心跳与二进制视频帧完全分通道传输,彻底消除多窗口大帧造成的队...",
"en-US": "内置 macOS 助手版本:`0.1.17`(build `18`) 插件包:`reims.coherence-0.1.0-alpha.23.zip`(SHA-256:`d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd`) - **双 WebSocket 通道(`/ws` + `/ws/frames`)**:控制/输入/焦点/菜单/心跳与二进制视频帧完全分通道传输,彻底消除多窗口大帧造成的队..."
},
"releases": [
{
"version": "0.1.0-alpha.23",
"channel": "alpha",
"download_url": "https://github.com/reiasu2/reims-coherence/releases/download/v0.1.0-alpha.23/reims.coherence-0.1.0-alpha.23.zip",
"sha256": "d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd",
"size_bytes": 7473747,
"published_at": "2026-12-05T04:31:22Z",
"changelog": {
"zh-CN": "内置 macOS 助手版本:`0.1.17`(build `18`) 插件包:`reims.coherence-0.1.0-alpha.23.zip`(SHA-256:`d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd`) - **双 WebSocket 通道(`/ws` + `/ws/frames`)**:控制/输入/焦点/菜单/心跳与二进制视频帧完全分通道传输,彻底消除多窗口大帧造成的队...",
"en-US": "内置 macOS 助手版本:`0.1.17`(build `18`) 插件包:`reims.coherence-0.1.0-alpha.23.zip`(SHA-256:`d4872b97446190a1fd7671bf5d07ce7f7bc7b0ef006cab6a088f599060a4ffcd`) - **双 WebSocket 通道(`/ws` + `/ws/frames`)**:控制/输入/焦点/菜单/心跳与二进制视频帧完全分通道传输,彻底消除多窗口大帧造成的队..."
}
},
{
"version": "0.1.0-alpha.17",
"channel": "alpha",
"download_url": "https://github.com/reiasu2/reims-coherence/releases/download/v0.1.0-alpha.17/reims.coherence-0.1.0-alpha.17.zip",
"sha256": "9ac87743c43afa298d5e1f2451e50ab2060474099795dfbd942d848be5afbe49",
"size_bytes": 6730920,
"published_at": "2026-12-04T18:14:22Z",
"changelog": {
"zh-CN": "Reims-Go L3 Sidecar plugin for popping out and controlling multiple individual macOS VM app windows on the Windows desktop. - **Multi-window pop-out**: Uses macOS `ScreenCaptureKit` to capture independent onscreen windows without overlap...",
"en-US": "Reims-Go L3 Sidecar plugin for popping out and controlling multiple individual macOS VM app windows on the Windows desktop. - **Multi-window pop-out**: Uses macOS `ScreenCaptureKit` to capture independent onscreen windows without overlap..."
}
}
],
"tags": [
"coherence",
"macos",
"window",
"multi-window",
"desktop"
],
"downloads": 8,
"updated_at": "2026-12-05T04:31:22Z"
}
],
"withdrawn": []
}
+7
View File
@@ -0,0 +1,7 @@
# Signing Keys / 签名公钥目录
本目录保存由 `reims-go` 组织发布的 `ed25519` 公钥(用于验证插件包内的 `SHA256SUMS.sig`,对应客户端的 `official` 与 `verified` 信任徽章)。
- **严禁提交任何私钥**:私钥仅托管在受保护的维护者离线环境或组织 GitHub Actions Secrets 中。
- 公钥格式与主程序 `internal/plugin/keyring.go` 保持一致(32 字节 ed25519 公钥,hex 或 base64 编码)。
- 新增或轮换公钥时,同步更新 `Nwflower/Reims-Go` 中的 `builtinTrustedKeys`。
+158
View File
@@ -0,0 +1,158 @@
{
"schema": 1,
"plugins": [
{
"id": "local.capture-shortcut",
"repo": "cosimawei/reims-capture-shortcut",
"kind": "tool",
"trust": "community",
"channel": "alpha",
"tags": [
"keyboard",
"mouse",
"input"
]
},
{
"id": "reims.agent",
"repo": "reims-go/reims-agent",
"kind": "tool",
"trust": "official",
"channel": "stable",
"tags": [
"mcp",
"agent",
"computer-use",
"ssh",
"automation"
]
},
{
"id": "official.lang.zh-tw",
"repo": "reims-go/lang-zh-tw",
"kind": "locale",
"trust": "official",
"channel": "stable",
"tags": [
"locale",
"i18n",
"zh-TW",
"traditional-chinese",
"繁體中文"
]
},
{
"id": "community.lang.ko-kr",
"repo": "jinhyeok694/reims-go-lang-ko-kr",
"kind": "locale",
"trust": "community",
"channel": "stable",
"tags": [
"locale",
"i18n",
"ko-KR",
"korean",
"한국어"
]
},
{
"id": "abadx.lang.es-es",
"repo": "AbadXDev/reims-go-lang-es-es",
"kind": "locale",
"trust": "community",
"channel": "stable",
"tags": [
"locale",
"i18n",
"es-ES",
"spanish",
"español"
]
},
{
"id": "community.lang.ar-sa",
"repo": "Eng-Novel/reims-go-lang-ar-sa-release",
"kind": "locale",
"trust": "community",
"channel": "stable",
"tags": [
"locale",
"i18n",
"ar-SA",
"arabic",
"العربية"
]
},
{
"id": "yfl520.theme.wallpaper-studio",
"repo": "yfl520/reims-theme-wallpaper-studio",
"kind": "theme",
"trust": "community",
"channel": "stable",
"tags": [
"theme",
"wallpaper",
"video",
"glass",
"动态壁纸",
"交互主题"
]
},
{
"id": "reimscommunity.usb-passthrough",
"repo": "mango6i/reims-go-usb-passthrough",
"kind": "tool",
"trust": "community",
"channel": "alpha",
"tag_prefix": "usb-plugin-v",
"tags": [
"usb",
"usbip",
"iphone",
"macos"
]
},
{
"id": "reimscommunity.usb-redir",
"repo": "yxc0915/Reims-Go",
"kind": "tool",
"trust": "community",
"channel": "alpha",
"tag_prefix": "usb-redir-v",
"tags": [
"usb",
"usbredir",
"windows",
"macos"
]
},
{
"id": "reims.goldengate",
"repo": "reiasu2/reims-goldengate",
"kind": "tool",
"trust": "community",
"channel": "alpha",
"tags": [
"macos",
"macos-27",
"goldengate",
"opencore",
"experimental"
]
},
{
"id": "reims.coherence",
"repo": "reiasu2/reims-coherence",
"kind": "tool",
"trust": "community",
"channel": "alpha",
"tags": [
"coherence",
"macos",
"window",
"multi-window",
"desktop"
]
}
]
}
+680
View File
@@ -0,0 +1,680 @@
#!/usr/bin/env node
/**
* Reims-Go Plugin Market validator & index builder.
*
* Supports both:
* - Continuous GitHub Release tracking ("soft-link" mode): registry entry only
* declares id, repo, kind, trust, channel (and optional tag_prefix / asset).
* - Pinned mode (backward compatible): registry entry pins version, sha256,
* and download_url or (repo + tag + asset).
*
* Usage:
* node scripts/build-index.mjs [--check] [--out-dir dist] [--reims-bin ./reims-go] [--report pr-report.md]
*
* Zero third-party npm dependencies (Node 20+).
*/
import crypto from 'node:crypto'
import { spawnSync } from 'node:child_process'
import fs from 'node:fs'
import os from 'node:os'
import path from 'node:path'
import zlib from 'node:zlib'
const RE_ID = /^[a-z0-9][a-z0-9_-]*(\.[a-z0-9][a-z0-9_-]*)+$/
const RE_SHA256 = /^[0-9a-f]{64}$/
const ALLOWED_CHANNELS = new Set(['stable', 'alpha'])
const ALLOWED_TRUST = new Set(['official', 'verified', 'community'])
const ALLOWED_KINDS = new Set(['theme', 'locale', 'driver', 'tool', 'template', 'runtime'])
const ALLOWED_ICON_TONES = new Set(['indigo', 'purple', 'sky', 'rose', 'emerald', 'amber', 'teal', 'slate'])
const MAX_ZIP_BYTES = 256 * 1024 * 1024 // 256 MiB
const MAX_ICON_SVG_BYTES = 32 * 1024 // 32 KiB
function parseArgs(argv) {
const opts = {
checkOnly: false,
outDir: 'dist',
reimsBin: '',
reportPath: '',
}
for (let i = 0; i < argv.length; i++) {
const a = argv[i]
if (a === '--check') opts.checkOnly = true
else if (a === '--out-dir' && i + 1 < argv.length) opts.outDir = argv[++i]
else if (a === '--reims-bin' && i + 1 < argv.length) opts.reimsBin = argv[++i]
else if (a === '--report' && i + 1 < argv.length) opts.reportPath = argv[++i]
else throw new Error(`Unknown argument: ${a}`)
}
return opts
}
function readJSON(filePath) {
return JSON.parse(fs.readFileSync(filePath, 'utf8'))
}
function normalizeLocalized(val) {
if (!val) return undefined
if (typeof val === 'string') {
const s = val.trim()
return s ? { 'zh-CN': s, 'en-US': s } : undefined
}
if (typeof val === 'object') {
const out = {}
for (const [k, v] of Object.entries(val)) {
if (k === 'extra' && v && typeof v === 'object') {
for (const [ek, ev] of Object.entries(v)) {
if (typeof ev === 'string' && ev.trim()) out[ek] = ev.trim()
}
continue
}
if (typeof v === 'string' && v.trim()) out[k] = v.trim()
}
return Object.keys(out).length > 0 ? out : undefined
}
return undefined
}
function extractSafeSvg(rawText) {
const text = String(rawText || '').trim()
if (!text) return ''
if (Buffer.byteLength(text, 'utf8') > MAX_ICON_SVG_BYTES) return ''
if (/<script\b|\bon[a-z]+\s*=|javascript:|<foreignobject\b/i.test(text)) return ''
const lower = text.toLowerCase()
const start = lower.indexOf('<svg')
const end = lower.lastIndexOf('</svg>')
if (start < 0 || end < start) return ''
return text.slice(start, end + '</svg>'.length).trim()
}
function extractPluginIcon(buf, manifest) {
if (!manifest?.icon || typeof manifest.icon !== 'object') return undefined
const out = {}
const tone = String(manifest.icon.tone || '').trim().toLowerCase()
if (ALLOWED_ICON_TONES.has(tone)) out.tone = tone
const svgRef = String(manifest.icon.svg || '').trim()
if (svgRef && !svgRef.startsWith('<')) {
const cleanRel = svgRef.replace(/^\.\//, '').replace(/\\/g, '/')
if (!cleanRel.startsWith('/') && !cleanRel.includes('..') && cleanRel.toLowerCase().endsWith('.svg')) {
try {
const raw = readFileFromZipBuffer(buf, cleanRel)
const safe = extractSafeSvg(raw.toString('utf8'))
if (safe) out.svg = safe
} catch {
// Ignore missing/unreadable icon SVG; doctor gate handles hard errors.
}
}
}
return Object.keys(out).length > 0 ? out : undefined
}
/**
* Pure-Node ZIP reader to extract a single entry without external tools.
*/
function readFileFromZipBuffer(buf, targetName) {
let eocdOffset = -1
const minPos = Math.max(0, buf.length - 65557)
for (let pos = buf.length - 22; pos >= minPos; pos--) {
if (buf.readUInt32LE(pos) === 0x06054b50) {
eocdOffset = pos
break
}
}
if (eocdOffset < 0) throw new Error('Invalid ZIP archive: EOCD not found')
const totalEntries = buf.readUInt16LE(eocdOffset + 10)
let cdOffset = buf.readUInt32LE(eocdOffset + 16)
for (let i = 0; i < totalEntries; i++) {
if (buf.readUInt32LE(cdOffset) !== 0x02014b50) {
throw new Error('Invalid ZIP central directory header')
}
const method = buf.readUInt16LE(cdOffset + 10)
const compSize = buf.readUInt32LE(cdOffset + 20)
const nameLen = buf.readUInt16LE(cdOffset + 28)
const extraLen = buf.readUInt16LE(cdOffset + 30)
const commentLen = buf.readUInt16LE(cdOffset + 32)
const localHeaderOffset = buf.readUInt32LE(cdOffset + 42)
const name = buf.subarray(cdOffset + 46, cdOffset + 46 + nameLen).toString('utf8')
if (name === targetName || name === `./${targetName}`) {
if (buf.readUInt32LE(localHeaderOffset) !== 0x04034b50) {
throw new Error('Invalid ZIP local file header')
}
const lNameLen = buf.readUInt16LE(localHeaderOffset + 26)
const lExtraLen = buf.readUInt16LE(localHeaderOffset + 28)
const dataStart = localHeaderOffset + 30 + lNameLen + lExtraLen
const compData = buf.subarray(dataStart, dataStart + compSize)
if (method === 0) return compData
if (method === 8) return zlib.inflateRawSync(compData)
throw new Error(`Unsupported ZIP compression method ${method} for ${targetName}`)
}
cdOffset += 46 + nameLen + extraLen + commentLen
}
throw new Error(`ZIP archive is missing ${targetName}`)
}
function githubHeaders(extra = {}) {
const headers = { 'User-Agent': 'reims-go-plugins-ci', ...extra }
if (process.env.GITHUB_TOKEN) {
headers.Authorization = `Bearer ${process.env.GITHUB_TOKEN}`
}
return headers
}
async function fetchGitHubRepoStats(repo) {
if (!repo) return { stars: 0 }
try {
const resp = await fetch(`https://api.github.com/repos/${repo}`, {
headers: githubHeaders({ Accept: 'application/vnd.github+json' }),
redirect: 'follow',
})
if (!resp.ok) return { stars: 0 }
const data = await resp.json()
return { stars: Number.isFinite(data?.stargazers_count) ? data.stargazers_count : 0 }
} catch {
return { stars: 0 }
}
}
async function fetchGitHubReleases(repo) {
const url = `https://api.github.com/repos/${repo}/releases?per_page=30`
const resp = await fetch(url, {
headers: githubHeaders({ Accept: 'application/vnd.github+json' }),
redirect: 'follow',
})
if (!resp.ok) {
throw new Error(`HTTP ${resp.status} listing GitHub releases for ${repo}`)
}
const data = await resp.json()
if (!Array.isArray(data)) {
throw new Error(`Unexpected GitHub releases payload for ${repo}`)
}
return data
}
function selectReleaseAsset(release, entry) {
const assets = Array.isArray(release.assets) ? release.assets : []
const zips = assets.filter((a) => typeof a?.name === 'string' && a.name.toLowerCase().endsWith('.zip'))
if (zips.length === 0) return null
if (entry.asset) {
return zips.find((a) => a.name === entry.asset) || null
}
const idPrefix = `${entry.id.toLowerCase()}-`
const byID = zips.find((a) => a.name.toLowerCase().startsWith(idPrefix))
if (byID) return byID
if (zips.length === 1) return zips[0]
return null
}
function summarizeReleaseBody(body) {
if (typeof body !== 'string') return undefined
const lines = body
.replace(/\r\n/g, '\n')
.split('\n')
.map((l) => l.trim())
.filter((l) => l && !l.startsWith('#') && !l.startsWith('```') && !l.startsWith('|'))
if (lines.length === 0) return undefined
const text = lines.slice(0, 3).join(' ').replace(/\s+/g, ' ').trim()
if (!text) return undefined
const clipped = text.length > 240 ? `${text.slice(0, 237)}...` : text
return { 'zh-CN': clipped, 'en-US': clipped }
}
function parseDigestSha256(digest) {
if (typeof digest !== 'string') return ''
const s = digest.trim().toLowerCase()
if (!s.startsWith('sha256:')) return ''
const hex = s.slice('sha256:'.length)
return RE_SHA256.test(hex) ? hex : ''
}
function inferVersionFromTag(tagName, tagPrefix) {
let s = String(tagName || '').trim()
if (tagPrefix && s.startsWith(tagPrefix)) {
s = s.slice(tagPrefix.length)
}
s = s.replace(/^v/i, '').trim()
return s
}
async function resolveLatestReleaseCandidates(entry, channel) {
if (!entry.repo) {
throw new Error('auto-tracked plugin entry must specify repo (owner/name)')
}
const releases = await fetchGitHubReleases(entry.repo)
const tagPrefix = typeof entry.tag_prefix === 'string' ? entry.tag_prefix : ''
const candidates = []
const allReleases = []
let totalDownloads = 0
for (const rel of releases) {
if (!rel || rel.draft) continue
if (tagPrefix && !String(rel.tag_name || '').startsWith(tagPrefix)) continue
const asset = selectReleaseAsset(rel, entry)
if (!asset || !asset.browser_download_url) continue
if (Number.isFinite(asset.download_count)) totalDownloads += asset.download_count
const relChannel = rel.prerelease ? 'alpha' : 'stable'
const digestSha256 = parseDigestSha256(asset.digest)
const publishedAt = rel.published_at || rel.created_at || new Date().toISOString()
const cand = {
tag: rel.tag_name,
version: inferVersionFromTag(rel.tag_name, tagPrefix),
channel: relChannel,
downloadURL: asset.browser_download_url,
digestSha256,
sizeBytes: Number.isFinite(asset.size) ? asset.size : 0,
publishedAt,
body: rel.body || '',
}
allReleases.push(cand)
if (channel === 'stable' && rel.prerelease) continue
candidates.push(cand)
}
if (candidates.length === 0) {
// Fall back to all matching releases (e.g. if repo only has prereleases).
if (allReleases.length > 0) {
candidates.push(...allReleases)
} else {
throw new Error(`no matching ${channel} GitHub Release with a .zip plugin asset found in ${entry.repo}`)
}
}
return { candidates, allReleases, totalDownloads }
}
async function downloadBuffer(url) {
const headers = { 'User-Agent': 'reims-go-plugins-ci' }
if (process.env.GITHUB_TOKEN && url.includes('github.com')) {
headers.Authorization = `Bearer ${process.env.GITHUB_TOKEN}`
}
const resp = await fetch(url, { headers, redirect: 'follow' })
if (!resp.ok) {
throw new Error(`HTTP ${resp.status} downloading ${url}`)
}
const chunks = []
let total = 0
for await (const chunk of resp.body) {
total += chunk.length
if (total > MAX_ZIP_BYTES) {
throw new Error(`Archive exceeds ${MAX_ZIP_BYTES} byte limit`)
}
chunks.push(chunk)
}
return Buffer.concat(chunks)
}
function runDoctor(reimsBin, zipPath) {
const proc = spawnSync(reimsBin, ['plugin', 'doctor', '--json', zipPath], {
encoding: 'utf8',
maxBuffer: 8 * 1024 * 1024,
})
if (proc.error) {
throw new Error(`Failed to execute ${reimsBin}: ${proc.error.message}`)
}
const raw = (proc.stdout || '').trim()
if (!raw) {
throw new Error(`reims-go plugin doctor produced empty output (exit=${proc.status}): ${proc.stderr}`)
}
const report = JSON.parse(raw)
return { exitCode: proc.status, report }
}
function validateWithdrawn(withdrawnDoc) {
if (!withdrawnDoc || withdrawnDoc.schema !== 1 || !Array.isArray(withdrawnDoc.withdrawn)) {
throw new Error('withdrawn.json must have {"schema": 1, "withdrawn": [...]}')
}
const ids = new Set()
const out = []
for (const w of withdrawnDoc.withdrawn) {
if (!w || typeof w.id !== 'string' || !RE_ID.test(w.id)) {
throw new Error(`Invalid withdrawn plugin id: ${JSON.stringify(w?.id)}`)
}
if (ids.has(w.id)) throw new Error(`Duplicate withdrawn id: ${w.id}`)
ids.add(w.id)
const reason = normalizeLocalized(w.reason)
if (!reason) throw new Error(`Withdrawn entry ${w.id} is missing reason`)
const item = { id: w.id, reason }
if (w.instead_id) {
if (!RE_ID.test(w.instead_id)) throw new Error(`Invalid instead_id for ${w.id}: ${w.instead_id}`)
item.instead_id = w.instead_id
}
if (w.instead_name) item.instead_name = String(w.instead_name)
if (w.withdrawn_at) item.withdrawn_at = String(w.withdrawn_at)
out.push(item)
}
return { ids, list: out }
}
async function verifyAndBuildCandidate({ entry, channel, kind, trust, candidate, allReleases, pinnedVersion, pinnedSHA256, stats, opts, tmpRoot }) {
const parsedURL = new URL(candidate.downloadURL)
if (parsedURL.protocol !== 'https:') {
throw new Error(`download_url must use https:// (got ${candidate.downloadURL})`)
}
const buf = await downloadBuffer(candidate.downloadURL)
const gotSum = crypto.createHash('sha256').update(buf).digest('hex')
if (pinnedSHA256 && gotSum !== pinnedSHA256) {
throw new Error(`SHA-256 mismatch: registry=${pinnedSHA256}, actual=${gotSum}`)
}
if (candidate.digestSha256 && gotSum !== candidate.digestSha256) {
throw new Error(`SHA-256 mismatch: github_digest=${candidate.digestSha256}, actual=${gotSum}`)
}
const manifestRaw = readFileFromZipBuffer(buf, 'plugin.json')
const manifest = JSON.parse(manifestRaw.toString('utf8'))
if (manifest.id !== entry.id) {
throw new Error(`anti-swap id mismatch: registry=${entry.id}, plugin.json=${manifest.id}`)
}
const version = String(manifest.version || '').trim()
if (!version) {
throw new Error('plugin.json is missing version')
}
if (pinnedVersion && version !== pinnedVersion) {
throw new Error(`anti-swap version mismatch: registry=${pinnedVersion}, plugin.json=${version}`)
}
let scanReport = null
if (opts.reimsBin) {
const zipPath = path.join(tmpRoot, `${entry.id}-${version}-${gotSum.slice(0, 8)}.zip`)
fs.writeFileSync(zipPath, buf)
const { report } = runDoctor(opts.reimsBin, zipPath)
scanReport = report
if (report.hard_blocked) {
const reasons = (report.hard_findings || [])
.map((f) => `[${f.check}] ${f.target ? `${f.target}: ` : ''}${f.message}`)
.join('; ')
throw new Error(`static security gate blocked: ${reasons}`)
}
}
const tier = scanReport?.tier || (manifest.entry?.sidecar ? 'L3' : manifest.entry?.panelDir ? 'L4' : 'L1')
const effectiveTrust = trust === 'official' || trust === 'verified' ? trust : 'community'
const icon = extractPluginIcon(buf, manifest)
const primaryChannel = candidate.channel || channel
const primaryChangelog = normalizeLocalized(entry.changelog) || summarizeReleaseBody(candidate.body)
const primaryPublished = entry.updated_at || candidate.publishedAt || new Date().toISOString()
const releaseList = []
const seenVersions = new Set()
const addRelease = (r) => {
if (!r.version || !RE_SHA256.test(r.sha256) || seenVersions.has(r.version)) return
seenVersions.add(r.version)
const clean = {
version: r.version,
channel: r.channel || 'stable',
download_url: r.download_url,
sha256: r.sha256,
size_bytes: r.size_bytes > 0 ? r.size_bytes : undefined,
published_at: r.published_at || undefined,
changelog: r.changelog || undefined,
}
for (const k of Object.keys(clean)) {
if (clean[k] === undefined) delete clean[k]
}
releaseList.push(clean)
}
addRelease({
version,
channel: primaryChannel,
download_url: candidate.downloadURL,
sha256: gotSum,
size_bytes: buf.length,
published_at: primaryPublished,
changelog: primaryChangelog,
})
if (Array.isArray(allReleases)) {
for (const rel of allReleases) {
if (releaseList.length >= 10) break
if (!rel.version || !rel.digestSha256) continue
addRelease({
version: rel.version,
channel: rel.channel,
download_url: rel.downloadURL,
sha256: rel.digestSha256,
size_bytes: rel.sizeBytes,
published_at: rel.publishedAt,
changelog: summarizeReleaseBody(rel.body),
})
}
}
const marketItem = {
id: manifest.id,
version,
name: normalizeLocalized(manifest.name) || { 'en-US': manifest.id },
description: normalizeLocalized(manifest.description) || { 'en-US': '' },
publisher: manifest.publisher || (entry.repo ? entry.repo.split('/')[0] : 'community'),
license: manifest.license || '',
channel: primaryChannel,
trust: effectiveTrust,
kind,
tier,
icon,
homepage: manifest.homepage || (entry.repo ? `https://github.com/${entry.repo}` : undefined),
readme_url: entry.readme_url || (entry.repo ? `https://github.com/${entry.repo}#readme` : undefined),
engines: manifest.engines || {},
platforms: Array.isArray(manifest.platforms) ? manifest.platforms : undefined,
permissions: Array.isArray(manifest.permissions) ? manifest.permissions : undefined,
download_url: candidate.downloadURL,
sha256: gotSum,
size_bytes: buf.length,
changelog: primaryChangelog,
releases: releaseList.length > 0 ? releaseList : undefined,
tags: Array.isArray(entry.tags) ? entry.tags : undefined,
stars: stats?.stars > 0 ? stats.stars : undefined,
downloads: stats?.downloads > 0 ? stats.downloads : undefined,
updated_at: primaryPublished,
}
for (const k of Object.keys(marketItem)) {
if (marketItem[k] === undefined) delete marketItem[k]
}
return {
marketItem,
reportRow: {
status: 'PASS',
id: marketItem.id,
version: marketItem.version,
tier,
trust: effectiveTrust,
sizeBytes: buf.length,
sha256: gotSum,
capabilities: scanReport?.capabilities || [],
executables: scanReport?.executables || [],
pending: scanReport?.pending_findings || [],
},
}
}
async function main() {
const opts = parseArgs(process.argv.slice(2))
const rootDir = process.cwd()
const registryDoc = readJSON(path.join(rootDir, 'registry.json'))
const withdrawnDoc = readJSON(path.join(rootDir, 'withdrawn.json'))
if (!registryDoc || registryDoc.schema !== 1 || !Array.isArray(registryDoc.plugins)) {
throw new Error('registry.json must have {"schema": 1, "plugins": [...]}')
}
const { ids: withdrawnIDs, list: withdrawnList } = validateWithdrawn(withdrawnDoc)
const seenKey = new Set()
const marketPlugins = []
const reportRows = []
const errors = []
const tmpRoot = fs.mkdtempSync(path.join(os.tmpdir(), 'reims-plugins-build-'))
try {
for (const entry of registryDoc.plugins) {
const label = `${entry?.id || '<missing-id>'}@${entry?.version || 'latest'}`
try {
if (!entry || typeof entry.id !== 'string' || !RE_ID.test(entry.id)) {
throw new Error(`invalid plugin id ${JSON.stringify(entry?.id)}`)
}
if (withdrawnIDs.has(entry.id)) {
throw new Error(`plugin ${entry.id} is listed in withdrawn.json and must be removed from registry.json`)
}
const channel = (entry.channel || 'stable').toLowerCase()
if (!ALLOWED_CHANNELS.has(channel)) throw new Error(`invalid channel ${JSON.stringify(channel)}`)
const key = `${entry.id}:${channel}`
if (seenKey.has(key)) throw new Error(`duplicate registry entry for ${key}`)
seenKey.add(key)
const kind = (entry.kind || '').toLowerCase()
if (!ALLOWED_KINDS.has(kind)) throw new Error(`invalid kind ${JSON.stringify(kind)}`)
const trust = (entry.trust || 'community').toLowerCase()
if (!ALLOWED_TRUST.has(trust)) throw new Error(`invalid trust ${JSON.stringify(trust)}`)
const isPinned = Boolean(entry.version || entry.sha256 || entry.download_url)
const repoStats = entry.repo ? await fetchGitHubRepoStats(entry.repo) : { stars: 0 }
if (isPinned) {
if (typeof entry.version !== 'string' || !entry.version.trim()) {
throw new Error('pinned entry must specify version')
}
const sha256 = String(entry.sha256 || '').toLowerCase().trim()
if (!RE_SHA256.test(sha256)) throw new Error('sha256 must be a 64-character lowercase hex string')
let downloadURL = String(entry.download_url || '').trim()
if (!downloadURL) {
if (!entry.repo || !entry.asset) {
throw new Error('either download_url or (repo + asset) must be specified')
}
const tag = entry.tag || `v${entry.version}`
downloadURL = `https://github.com/${entry.repo}/releases/download/${tag}/${entry.asset}`
}
const built = await verifyAndBuildCandidate({
entry,
channel,
kind,
trust,
candidate: { downloadURL, publishedAt: entry.updated_at || new Date().toISOString(), body: '' },
pinnedVersion: entry.version.trim(),
pinnedSHA256: sha256,
stats: { stars: repoStats.stars, downloads: 0 },
opts,
tmpRoot,
})
marketPlugins.push(built.marketItem)
reportRows.push(built.reportRow)
} else {
const { candidates, allReleases, totalDownloads } = await resolveLatestReleaseCandidates(entry, channel)
let built = null
let lastErr = null
// In PR --check mode, only accept the latest release; in scheduled publish mode,
// fall back to an earlier passing release if the newest one fails the gate.
const maxAttempts = opts.checkOnly ? 1 : Math.min(candidates.length, 5)
for (let i = 0; i < maxAttempts; i++) {
try {
built = await verifyAndBuildCandidate({
entry,
channel,
kind,
trust,
candidate: candidates[i],
allReleases,
pinnedVersion: '',
pinnedSHA256: '',
stats: { stars: repoStats.stars, downloads: totalDownloads },
opts,
tmpRoot,
})
if (i > 0) {
console.warn(`WARN ${entry.id}: latest release ${candidates[0].tag} failed (${lastErr?.message}); fell back to ${candidates[i].tag}`)
}
break
} catch (err) {
lastErr = err
}
}
if (!built) {
throw lastErr || new Error('no valid release passed verification')
}
marketPlugins.push(built.marketItem)
reportRows.push(built.reportRow)
}
} catch (err) {
errors.push(`${label}: ${err.message}`)
reportRows.push({
status: 'FAIL',
id: entry?.id || 'unknown',
version: entry?.version || 'latest',
error: err.message,
})
}
}
} finally {
fs.rmSync(tmpRoot, { recursive: true, force: true })
}
const mdLines = [
'## Reims-Go Plugin Market Gate Report',
'',
`- **Entries checked**: ${registryDoc.plugins.length}`,
`- **Withdrawn entries**: ${withdrawnList.length}`,
`- **Result**: ${errors.length === 0 ? 'PASS' : `BLOCKED (${errors.length} error(s))`}`,
'',
]
if (reportRows.length === 0) {
mdLines.push('_No active plugins in `registry.json` yet — schema and `withdrawn.json` validated cleanly._')
} else {
for (const r of reportRows) {
if (r.status === 'FAIL') {
mdLines.push(`### ❌ \`${r.id}@${r.version}\``)
mdLines.push(`- **Error**: ${r.error}`)
mdLines.push('')
continue
}
mdLines.push(`### ✅ \`${r.id}@${r.version}\` (\`${r.tier}\` · \`${r.trust}\`)`)
mdLines.push(`- Archive: \`${r.sizeBytes}\` bytes · SHA-256: \`${r.sha256}\``)
if (r.capabilities.length > 0) {
mdLines.push('- **Capabilities**:')
for (const c of r.capabilities) {
mdLines.push(` - \`[${String(c.level || '').toUpperCase()}]\` \`${c.id}\`: ${c.summary?.['zh-CN'] || c.summary?.['en-US'] || ''}`)
}
}
if (r.executables.length > 0) {
mdLines.push('- **Executables (SHA-256)**:')
for (const ex of r.executables) {
mdLines.push(` - \`${ex.path}\` — \`${ex.sha256}\``)
}
}
mdLines.push('')
}
}
const reportMarkdown = mdLines.join('\n') + '\n'
if (opts.reportPath) {
fs.mkdirSync(path.dirname(path.resolve(opts.reportPath)), { recursive: true })
fs.writeFileSync(opts.reportPath, reportMarkdown, 'utf8')
}
if (errors.length > 0) {
console.error(reportMarkdown)
for (const e of errors) console.error('ERROR:', e)
process.exit(1)
}
if (!opts.checkOnly) {
const now = new Date().toISOString()
const indexObj = {
schema: 1,
updated_at: now,
plugins: marketPlugins,
withdrawn: withdrawnList,
}
fs.mkdirSync(opts.outDir, { recursive: true })
fs.writeFileSync(path.join(opts.outDir, 'index.json'), JSON.stringify(indexObj, null, 2) + '\n', 'utf8')
const changesObj = {
schema: 1,
updated_at: now,
plugin_count: marketPlugins.length,
withdrawn_count: withdrawnList.length,
entries: marketPlugins.map((p) => ({ id: p.id, version: p.version, channel: p.channel, sha256: p.sha256 })),
}
fs.writeFileSync(path.join(opts.outDir, 'changes.json'), JSON.stringify(changesObj, null, 2) + '\n', 'utf8')
console.log(`Built ${path.join(opts.outDir, 'index.json')} (${marketPlugins.length} plugin(s), ${withdrawnList.length} withdrawn)`)
} else {
console.log(`Validated registry cleanly (${marketPlugins.length} plugin(s), ${withdrawnList.length} withdrawn)`)
}
}
main().catch((err) => {
console.error('Fatal:', err)
process.exit(1)
})
+4
View File
@@ -0,0 +1,4 @@
{
"schema": 1,
"withdrawn": []
}