Skip to content

feat: HTML 生成后自动启动本地 HTTP 预览服务 - #2

Open
ThendCN wants to merge 1 commit into
andyhuo520:masterfrom
ThendCN:feat/auto-http-preview
Open

feat: HTML 生成后自动启动本地 HTTP 预览服务#2
ThendCN wants to merge 1 commit into
andyhuo520:masterfrom
ThendCN:feat/auto-http-preview

Conversation

@ThendCN

@ThendCN ThendCN commented Feb 27, 2026

Copy link
Copy Markdown

Summary

  • 在 SKILL.md 执行流程中新增第 5 步:HTML 文件生成后自动启动 python3 -m http.server 本地预览服务
  • 自动清理旧进程、端口冲突自动递增、输出预览地址供浏览器直接访问

Test plan

  • 触发 AetherViz skill 生成 HTML 文件,验证本地 HTTP 服务自动启动
  • 验证浏览器可通过输出的地址正常访问生成的页面
  • 验证重复生成时旧服务进程被正确清理

🤖 Generated with Claude Code

在执行流程中新增第 5 步,HTML 文件写入后自动启动 python3 http.server,
方便用户直接在浏览器中预览生成的教学页面。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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