Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
scriptscat
sctl
Repository navigation
Code
Issues
Pull requests
2
(2)
Actions
Projects
Security and quality
Insights
More
items
✨ sctl Browser 第 4 期调试
- #6
#6
Merged
CodFrm
merged 14 commits into
main
scriptscat/sctl:main
from
feat/browser-debugging
scriptscat/sctl:feat/browser-debugging
Copy head branch name to clipboard
Oct 8, 2026
Conversation
Commits
14
(14)
Checks
Files changed
Merged
✨ sctl Browser 第 4 期调试
#6
CodFrm
merged 14 commits into
main
scriptscat/sctl:main
from
feat/browser-debugging
scriptscat/sctl:feat/browser-debugging
Copy head branch name to clipboard
Commits
Commits on Oct 4, 2026
📝 sctl Browser 第 4 期调试 spec
CodFrm
committed
435b4d3
View commit details
Copy full SHA for 435b4d3
Browse repository at this point
✨ 录制中的标签页不受扩展兜底空闲断开:新增 internal 方法 debugger.record(录制状态存 storage.session,断开即清除,停止录制后重新计时),page.CDP 增加 Record
CodFrm
committed
ded3f17
View commit details
Copy full SHA for ded3f17
Browse repository at this point
📝 第 4 期 spec 修订:写入真机探针结论;请求体与响应体由扩展取回并截断到 1 MiB 再回传;附加期间新出现的跨进程 iframe 先暂停、开启记录后放行;browser 来源不含废弃 API 警告;单条超过 4 MiB 的事件整条丢失
CodFrm
committed
7ae7770
View commit details
Copy full SHA for 7ae7770
Browse repository at this point
✨ sctl debug console/clear 与 debug_console/debug_clear:附加时在顶层与跨进程 iframe 子会话开启 Runtime/Log(新 iframe 先暂停、开启后一定放行),控制台/异常/浏览器消息转成记录存入每个标签页 1000 条的环形缓存,支持筛选、不透明游标与 cursorReset、limit/hasMore,断开即清空
CodFrm
committed
d902438
View commit details
Copy full SHA for d902438
Browse repository at this point
Commits on Oct 5, 2026
✨ sctl debug network/request 与 debug_network/debug_request:附加时在顶层与跨进程 iframe 子会话开启 Network(maxPostDataSize 限制内联请求体,networkidle 语义不变),每个请求与每跳重定向一条记录(指向上一跳,进行中/失败/来自缓存),按 url/方法/状态类/类型/失败筛选;请求详情给出未打码…
Show description for 1b86afa
CodFrm
committed
1b86afa
View commit details
Copy full SHA for 1b86afa
Browse repository at this point
✨ sctl debug start/stop/status 与 debug_start/debug_stop/debug_status:录制中的标签页保持附加(finish 不布置 5 分钟空闲断开,经 debugger.record 让扩展也不兜底断开),stop 为不附加的浏览器级动作(--all 作用于全部录制中的标签页)并恢复空闲计时;60 分钟没有 debug 命令自动结束录制(…
Show description for 8898dfc
CodFrm
committed
8898dfc
View commit details
Copy full SHA for 8898dfc
Browse repository at this point
✅ networkidle 测试先让请求开始再等待:原先等待的首次检查可能早于请求到达,那一刻确实空闲而立即返回,测试因顺序竞争而不稳定
CodFrm
committed
bd9ce09
View commit details
Copy full SHA for bd9ce09
Browse repository at this point
✅ debugger.body 二进制截断测试改为比较 base64 原文:toEqual 逐元素比较两个 1 MiB 的 Buffer 要约 1.3 s(生产截断仅 1 ms),满载跑全套时超出 5 s 而偶发超时;比较规范 base64 字符串更严格且只需 1 ms
CodFrm
committed
91a7eb0
View commit details
Copy full SHA for 91a7eb0
Browse repository at this point
🐛 debug status 也为录制中的标签页重新计时:spec 要求每条 debug 命令都重新计时,剩余时间从这次 status 起算;architecture.md 补上网络记录缓存与按需取体,AGENTS.md 概述写明 sctl debug 也读网络请求
CodFrm
committed
837d217
View commit details
Copy full SHA for 837d217
Browse repository at this point
🐛 调试记录按字节数限额:网页控制的记录(超长 URL/sourceURL、头)单条可近 4 MiB,只限 1000 条时一个标签页可占数 GB;每种缓存另限 32 MiB(含等待请求的 ExtraInfo 头),记录后来变大时重新计入,超出丢弃最旧的;debug request 截断时写出实际返回的字节数;合并 cutRunes/truncateRunes 与控制台事件解码;不认识的体不可…
Show description for 630f4a9
CodFrm
committed
630f4a9
View commit details
Copy full SHA for 630f4a9
Browse repository at this point
Commits on Oct 8, 2026
📝 第 4 期 spec 修订(修正轮):新增「JS 弹框」一节——弹框期间 debug request 不等待、请求体与响应体写明弹框原因;sctl 自己断开前先关闭已知弹框以免留下孤儿弹框(改变第 3 期不自动处理的规则);附加命令 5 秒无回应返回 PAGE_UNRESPONSIVE 并提示用 page reload/goto 恢复
CodFrm
committed
7a1fd00
View commit details
Copy full SHA for 7a1fd00
Browse repository at this point
🐛 JS 弹框修正轮:弹框期间 debug request 不再等待,请求体与响应体写明「页面有未处理的 JS 弹框」并照常返回(真机探针:getResponseBody/getRequestPostData 一直阻塞到弹框关闭,取体途中弹框打开也立即放弃);sctl 自己断开调试器前先 dismiss 已知弹框(page detach、--all、5 分钟空闲断开、放弃的附加,扩展的兜底空…
Show description for 8509cbc
CodFrm
committed
8509cbc
View commit details
Copy full SHA for 8509cbc
Browse repository at this point
📝 page dialog 帮助与 page_dialog 描述补上扩展释放标签页前也关闭弹框:spec §JS 弹框 的覆盖范围包括扩展的兜底空闲断开与断线释放,原括号只列 page detach 与 5 分钟空闲断开,与两份 README 和 mcp.md 不一致
CodFrm
committed
a55bafc
View commit details
Copy full SHA for a55bafc
Browse repository at this point
🐛 代码复审修正:附加途中调试器被动分离(用户关掉提示条)后放弃附加时不再关闭弹框——此时再发 handleJavaScriptDialog 会让扩展悄悄重新附加,page detach --all 也已关闭过它;page goto/reload 恢复用的导航被浏览器拒绝(不合法的 URL、不可调试的页面)时返回拒绝的原因而不是让调用方再用同一个导航恢复的 PAGE_UNRESPONSIVE…
Show description for e2f77e4
CodFrm
committed
e2f77e4
View commit details
Copy full SHA for e2f77e4
Browse repository at this point
You can’t perform that action at this time.