-
Couldn't load subscription status.
- Fork 776
feat(rr): M2 增量:断言(attribute)执行 + 脚本after钩子 + 录制keyup #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
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
…/network tools - Add utils/cdp-session-manager with refcount + owner tracking - Migrate dialog.ts to use session manager - Migrate computer.ts to use session manager - Migrate network-capture-debugger.ts to use session manager - Lint + vue-tsc clean; wxt build passes
- Implement UserscriptTool with create/list/get/enable/disable/update/remove/send_command/export - Auto strategy selection (insertCSS, persistent ISOLATED/MAIN) with CSP-aware fallback - Persistence via chrome.storage; tab re-injection on navigation - Register tool and schema; add USERSCRIPTS storage key - Add Vue SFC typings (env.d.ts); fix lint/typecheck
- Add emergency global switch (USERSCRIPTS_DISABLED) - Implement CSP probe and fallback (MAIN -> ISOLATED) - Support mode=once via CDP Runtime.evaluate - Add SHA-256 hashing, metrics (injectMs), and status flags - Add webNavigation + declarativeNetRequest permissions - Enhance list filtering (query/status/domain)
Register options page via manifest (wxt.config.ts). Add options page (index.html, main.ts, App.vue). Support create/list/toggle/delete/export userscripts. Bridge UI to tools: handle 'call_tool' in background. Lint/typecheck/build passed.
Use chrome.i18n in App.vue and add locale messages
…backoff; eslint/type fixes
- assert(attribute): equals/matches 校验,支持模板变量 - script 钩子:when=after 延后到下一步(末尾 flush) - helper:accessibility-tree-helper 新增 getAttributeForSelector - recorder:新增 keyup 录制 - editor:一并提交已有改动 BREAKING CHANGE: 断言 attribute 失败将中断执行。
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.
本 PR 为 Droid-assisted。\n\n增量内容:\n- Assert 执行:attribute 支持 equals / matches(含模板变量解析),找不到元素或校验失败将中断\n- Script 钩子:when=after 支持延后到下一步执行,并在末尾 flush 兜底\n- Helper:accessibility-tree-helper 新增 getAttributeForSelector 动作,供断言读取属性/文本\n- Recorder:新增 keyup 事件录制(composition 后续补)\n\n质量校验:\n- Lint:通过(仅警告)\n- Typecheck:chrome-mcp-server / mcp-chrome-bridge 通过(wasm 包跳过)\n- Build(extension/native):均通过\n\n后续计划(不在本 PR 内):\n- 录制 compositionstart/end 与刷新/标签切换/全局录制\n- 统一自动滚动到可见 + 可见性校验、Focus/IME 处理、参数收集弹窗、回放实时日志 UI\n- MCP 工具绑定入口、详情/克隆、Schema 迁移与版本检查