Skip to content

把工具栏设置弹窗与媒体地址复用补进 0.0.2 - #6

Merged
InfinityPacer merged 3 commits into
mainfrom
feat/popup-and-url-cache
Sep 29, 2026
Merged

InfinityPacer merged 3 commits into
mainfrom
feat/popup-and-url-cache

Conversation

@InfinityPacer

Copy link
Copy Markdown
Owner

问题

0.0.2 发布时只包含 main 上的内容,本地开发并验收过的两项改动没有合入,所以没有进入发布包。

  • 工具栏图标打开设置(feat/action-popup)
  • control-v1 媒体地址在媒体服务允许的有效期内复用(feat/control-url-cache)。Cirvel 0.1.12 已经会发送 X-ShimWeave-Media-Url-Max-Age,但这个响应头只有该改动会读取。

改动

  • feat: open the settings from the toolbar icon。点击工具栏图标弹出设置页,扩展详情里的选项页不变。
  • perf: reuse the control-v1 media URL for the period the media service allows。控制端点给出 X-ShimWeave-Media-Url-Max-Age(上限 600 秒)时,有效期内的 Range 直接复用媒体地址。CDN 拒绝或连接失败时丢弃该地址重新换取,没有这个响应头时仍按块换取。文档与注释统一称「媒体服务」。
  • CHANGELOG 的 0.0.2 段补上这两条,版本号和日期不变。

合入后在 main 上手动重跑 release.yml,重新发布 0.0.2。

验证

在本分支上执行

  • corepack pnpm install、CI=true pnpm build 通过
  • pnpm test:50 个测试文件、373 个用例全部通过
  • CI=true pnpm typecheck、pnpm lint(biome,151 个文件)通过
  • pnpm package:extension 生成 shimweave-0.0.2.zip,包内 manifest 含 default_popup: options.html
  • git diff --check 无问题

与本地验收分支对比,apps/ 与 packages/ 的剩余差异都来自 main 上已有的提交,分别是版本号、播放中断提示和中性措辞。

🤖 Generated with Claude Code

@InfinityPacer
InfinityPacer merged commit 32c2223 into main Sep 29, 2026
1 check passed
@InfinityPacer
InfinityPacer deleted the feat/popup-and-url-cache branch September 29, 2026 06:49
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