Skip to content

plugin-devkit: check rejects package-relative theme assets that the installer accepts (ADR 0288) #2020

Closed as not planned

Description

@zszz3

在 #2000 的 P1 manifest 审计(#2019)中发现:pi-plugin check 和宿主安装器对包内相对路径的 theme asset 判断相反。

现状

影响

按 ADR 0288 写的、安装器能接受的插件,过不了 pi-plugin check;如果发布流程依赖 check,作者只能改用绝对路径或运行时 pi.themes.upsert。

建议

pi-plugin check 改为与宿主一致:接受包内相对路径(并检查文件存在、不越出包根),同时更新 #944 留下的测试与提示文案。属于代码问题,不在 #2000 文档范围内,所以单独开 issue。

Activity

  1. zszz3 commented on Nov 1, 2026

    @zszz3
    ContributorAuthor

    关闭:问题本身仍在(证据见正文的文件与行号),先不处理,留作记录。需要时可直接按正文里的位置复现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions