Repository navigation
供应链组件扫描中文描述上页 + 灰件样例(补齐 approve 档) - #135
Open
leileiverse wants to merge 2 commits into
Open
leileiverse wants to merge 2 commits into
leileiverse wants to merge 2 commits into
Conversation
added 2 commits
September 7, 2026 22:51
manifest 的 description 字段(组件获取时自带的中文可读描述)原先在 DTO 环被丢弃,页面只见英文名@版本难以识别。现打通全链路:DTO 加 description 字段、扫描路由折叠多行后透传、组件列表与详情页展示, openapi.json 同步重导。演示/评审时可按中文名快速识别各组件。
外联裸 IP 端点(high)但权限克制 → 预期评级 approve(转人工), 补齐 block/approve/allow 三档演示的中间档。脱敏构造,IP 用内网段, 注释标明非真实组件、仅用于演示分级处置。
There was a problem hiding this comment.
Hi @leilehuimieba! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
供应链页此前只显示英文名@版本(如 super-helper-plugin@0.0.7),演示与评审时难以识别组件用途;manifest 的 description 字段本就是组件自带的中中文可读描述,在 DTO 环被丢弃。
改动(两个提交)
feat(supply): 中文描述上页(49bd1d4)
SupplyScanReportDTO加description字段,扫描路由折叠多行后透传;docs/api/openapi.json同步重导(仅含本变更,已在途彩排改动未混入)。exp(samples): 灰件样例 ops-metrics-reporter(95407c5)
验证
GET /supply/scans实测四组件均返回中文描述;npm run build通过;CLIpython -m fulcrum.scan输出不变。