feat: add Midscene report analysis skill - #44
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0dc7799bbd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const openingMatch = /^\s*<script\b/i.exec(segment); | ||
| if (!openingMatch) return; |
There was a problem hiding this comment.
Scan dump tags beyond the start of each line
For a complete report whose HTML is minified or otherwise places markup before the dump tag on the same line, such as <html><script type="midscene_web_dump">…, this anchored match never discovers the dump and returns unknown as unparseable. Search each segment for the opening tag rather than requiring it to be the first non-whitespace content on the line.
Useful? React with 👍 / 👎.
2c9f0d8 to
d2813a2
Compare
Co-Authored-By: Riff
d2813a2 to
a8bcbac
Compare
Co-Authored-By: Riff