Skip to content

适配插件接口 1 定稿,改用宿主的可复用工作流 - #3

Merged
LEN5010 merged 4 commits into
mainfrom
interface-1
Oct 7, 2026
Merged

LEN5010 merged 4 commits into
mainfrom
interface-1

Conversation

@LEN5010

@LEN5010 LEN5010 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

插件接口 1 定稿后的适配:

  • 从 len_bot.plugin 导入公开接口(宿主已把公开接口移到这里)。
  • CI 和发行改为调用 LenBot 提供的可复用工作流 plugin-ci.yml、plugin-release.yml,跟随宿主 master 测试,不再写死宿主提交;删除本仓库的 scripts/package.py,打包统一用宿主的 scripts/package_plugin.py。发行时核对标签与 plugin.toml 版本一致,发行说明只取 CHANGELOG 中当前版本一节。
  • README 的 CI 说明随之更新;CHANGELOG 去掉重复套话。

核对:本机用当前宿主跑插件测试全部通过,打包和发行说明试跑通过。

注意:本 PR 的 CI 引用 lendevs/LenBot master 上的 plugin-ci.yml,宿主 PR 合并前这个文件还不存在,所以这次 CI 会失败;宿主合并后会重新运行确认。

len_bot.next is internal to the host. Plugins and tests now import len_bot.plugin,
len_bot.plugin_testing, len_bot.image_assets and len_bot.text_cards only.
Requires the LenBot development commit that moved these modules; the CI host
pin still needs updating once it is pushed.
CI 和发行改为调用 lendevs/LenBot 的 plugin-ci.yml 与 plugin-release.yml,
跟随宿主 master 测试,不再写死宿主提交;删除本仓库的 scripts/package.py,
打包统一使用宿主的 scripts/package_plugin.py。发行时核对标签与 plugin.toml
版本一致,发行说明只取 CHANGELOG 中当前版本一节。
发行说明直接取自本版本一节,删去未发行开发版本之类只适用于开发期的说明。
@LEN5010
LEN5010 merged commit e18e2dc into main Oct 7, 2026
@LEN5010
LEN5010 deleted the interface-1 branch October 7, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant