Repository navigation
chore: release 0.16.1 - #754
Conversation
机械部分已由 scripts/release-prep.mjs 完成。合并前还需要人来写: - [ ] dsh-mneme/CHANGELOG.md 新节里的条目(现在只有一条「- (待填)」) - [ ] 两个 README 里新占位行的主题描述 - [ ] 根 README 的「📰 最近更新」/「📰 Recent updates」段落的头条(现在是标题式散文,不是表格) - [ ] 跨 minor 时确认 README 路线图上新 minor 行的主题(占位行只写了「(待填)」) - [ ] 跨 minor 时把 SECURITY.md 中英两张支持版本表挪一格(活跃开发 / 尽力维护 / 不支持三段一起挪,含停止维护那段通知)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
发布 0.16.1:宿主 HTTP 路由现在先问宿主再决定放不放行。
版本内容
createRouteRegistrar(dsh-mneme/src/api.js:166)此前只做 apiToken 判定,而open策略的路由永不鉴权——/api/dsh-mneme、/info、/version-check、/list、/recall-stats、/search、/profile等同机任何进程、浏览器里打开的任意网页都能直接读。现在 handler 最开头先问一次ctx.connection.requestRejection(req):403/401直接结束响应,undefined才继续走原有 policy。门控收在 registrar 里一次(gate(req, res)),新增路由自动带上。connection(headless / 旧宿主 / 测试)时跳过检查,行为逐字退回改动之前——缺一个宿主服务不能让面板 401。inject不加connection(cordis_refresh()全或无,列进去会让插件在没 provide connection 的环境整个起不来),改为请求时惰性读取。代码改动已在 #753 合并(
818b1537)。详情见dsh-mneme/CHANGELOG.md的## [0.16.1]。这份 PR 是什么
release-prep.yml(run 44189883212)已经跑完并把机器产出推到release-prep/0.16.1(e8188992),只有最后一步gh pr create因仓库开关失败——即 Settings → Actions → General 的 "Allow GitHub Actions to create and approve pull requests"。按CONTRIBUTING.md的既定做法,不重跑工作流,直接从这条分支补开 PR。机器产出
dsh-mneme/package.json/package-lock.json:0.16.0 → 0.16.1dsh-mneme/README.md里两条重复行同改)dsh-mneme/CHANGELOG.md:## [Unreleased]下开## [0.16.1] - 2026-11-18,把[Unreleased]里攒的三条整段搬入,[Unreleased]留空人工部分
SECURITY.md支持版本表:0.16.0 → 0.16.1 是同 minor,0.16.x行无需改动验证
npm test:3,657 tests / 3,656 pass / 0 fail / 1 skipped(test/runtime-model-fetch.test.js单独跑 10/10 通过,全量里偶发并行超时抖动)下一步
合并后跑
release.yml发 npm 与 GitHub Release;随后向 awesome-dsh-plugin 提交 PR,删掉条目描述末尾那句「它的 HTTP 路由没有 DSH 的访问检查」。