42 Commits

Author SHA1 Message Date
zhouxiao.shaw
4de7fd81f7 feat(record): improve session management and code quality
- Optimize session creation to use timestamp naming by default without requiring modal input
     - Improve UI layout to display titles and descriptions more effectively in both list and
     detail views
     - Apply code formatting improvements across the codebase for better readability
     - Fix linting issues in scripts and component files
2025-06-01 11:30:06 +08:00
zhouxiao.shaw
84fb598233 fix(core): align dependency versions across workspace
- Update React to ^19.1.0 and React DOM to >=19.1.0 in all packages
- Update @types/react to ^19.1.4 and @types/react-dom to ^19.1.3
- Update TypeScript to ^5.8.3 across all packages
- Update dayjs to use caret version ^1.11.11
- Align all rsbuild and rslib plugin versions
- Fix dependency version inconsistencies to pass CI checks
2025-05-28 12:31:58 +08:00
github-actions[bot]
049d9f6565 release: v0.17.1 2025-05-20 09:11:17 +00:00
github-actions[bot]
39ddc57df3 release: v0.17.0 2025-05-16 14:32:01 +00:00
github-actions[bot]
571ec07829 release: v0.16.10 2025-05-09 09:00:22 +00:00
github-actions[bot]
7f982f7cb7 release: v0.16.9 2025-05-09 03:44:51 +00:00
yuyutaotao
73188fa43f
fix(core): bundle template content into core package (#699)
* fix(core): bundle template content into core package

* fix(core): lint

* docs: add bundler mode error msg

* fix(core): ci

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2025-05-09 11:41:16 +08:00
github-actions[bot]
c5a88931f0 release: v0.16.8 2025-04-30 14:31:14 +00:00
yuyutaotao
80b4e7b609
fix(mcp): mcp error connection (#676)
* fix(mcp): mcp error connection

* fix(mcp): lint

* fix(core): add kill signal for server

* chore(core): force close conflict port in bridge

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>

* chore(core): merge main
2025-04-30 16:07:59 +08:00
github-actions[bot]
7ce8225369 release: v0.16.7 2025-04-29 08:36:53 +00:00
github-actions[bot]
aa2e767b79 release: v0.16.6 2025-04-29 05:54:48 +00:00
2e738f71cd
feat(mcp): make mcp navigated faster (#672)
* Revert "feat(mcp): make mcp navigated faster (#671)"

This reverts commit 81bcc5ec1a6338123ee87dfee76f41bdc97d578d.

* chore: use fkill replace kill-port
2025-04-29 13:51:04 +08:00
Leyang
4718066bb1
feat(web-integration): add support for new agent method(aiBoolean, aiString, aiNumber, aiLocate) (#658)
* feat(web-integration): add support for new agent method(aiBoolean, aiString, aiNumber, aiLocate)

* fix(core, web-integration): update data extraction logic and refine return types for agent methods

* feat(site): add detailed descriptions and examples

* fix(web-integration): remove unused properties from aiLocate return type and update UI titles

* fix(core): enhance agent methods for better extraction and querying

* fix(core): update test scripts and refine data extraction prompts

* fix(core): refine return type in ExecutionTaskApply and remove unused import in inspect

* fix(core): update data extraction logic and enhance type handling in Insight class

* fix(web-integration): update import path for puppeteerAgentForTarget in player test file

* fix(core): tests fix

* fix(core): fix tests

* fix(shared): enhance imageInfo tests by validating individual properties and updating snapshots

* fix(site): remove waitForNavigationTimeout from Playwright integration examples

* fix(site): update timeout configuration examples in FAQ for clarity

* test(web-integration): remove unused client-extractor test and related snapshots

* chore(core): fix query implementation

* fix(report): improve data handling in DetailSide component and enhance output display

* fix(core): refine data extraction prompts and improve error handling in PageTaskExecutor

* fix(core): update data extraction prompt for clarity and type validation

---------

Co-authored-by: yutao <yutao.tao@bytedance.com>
2025-04-29 13:36:49 +08:00
github-actions[bot]
9c5d22a57e release: v0.16.5 2025-04-29 05:17:39 +00:00
81bcc5ec1a
feat(mcp): make mcp navigated faster (#671) 2025-04-29 13:14:03 +08:00
github-actions[bot]
061ff92c69 release: v0.16.4 2025-04-29 04:25:49 +00:00
7c9ab2ce48
fix(mcp): resolve mcp bridge server connect timeout (#670)
* fix(mcp): Resolve MCP Bridge server connection timeout, then shut down MCP server

* chore: optimize retry logic

* chore: merge main branch

* chore: optimize retry logic

* fix(mcp): optimize bridgeServer reconnect logic

* fix(mcp): add opts for close repeat port

* fix: lint error
2025-04-29 12:21:40 +08:00
github-actions[bot]
4f41e99ddc release: v0.16.3 2025-04-28 15:14:58 +00:00
16902c10ca
fix(mcp): resolve MCP Bridge server connection timeout, then shut down MCP server (#667) 2025-04-28 23:11:06 +08:00
yuyutaotao
df3cad7140
feat(bridge): enhance agent and server listening functionality (#668) 2025-04-28 22:57:00 +08:00
4746240cba
feat(mcp): bundle all mcp deps and resolve bundle mode can't generate report (#663)
* feat(mcp): bundle all mcp deps

* fix(report): resolve bundle mode can't generate report

* chore: inject report

* chore: update lock file

* chore: add command for mcp

* chore: add command for mcp

* fix(mcp): add node env line
2025-04-28 21:45:27 +08:00
github-actions[bot]
c4112adb51 release: v0.16.2 2025-04-28 06:22:02 +00:00
cd358bdac3
docs(mcp): optimize mcp showcase and add how to get report (#662)
* docs(mcp): optimize mcp showcase and add how to get report

* docs: optimize docs
2025-04-28 14:18:09 +08:00
762b602940
feat(mcp): add playwright example tool to help generate playwright test code (#660)
* fix(mcp): resolve server close logic

* feat(mcp): add playwright example tools
2025-04-28 13:33:21 +08:00
github-actions[bot]
33d2733c77 release: v0.16.1 2025-04-28 02:58:31 +00:00
github-actions[bot]
8acbb6a32f release: v0.16.0 2025-04-28 00:26:25 +00:00
a5fb21e74c
docs(mcp): optimize playwright example (#652)
* docs(mcp): optimize playwright example

* docs(mcp): optimize playwright example
2025-04-27 15:00:26 +08:00
github-actions[bot]
ee3821f7f9 release: v0.15.5 2025-04-26 07:42:06 +00:00
e00f1467c3
feat(mcp): optimize mcp tools args and add resource mimeType (#648)
* feat(mcp): optimize mcp tools args and add resource mimeType

* fix(mcp): resolve chrome devtools  reconnect error
2025-04-26 15:07:01 +08:00
github-actions[bot]
767b3e3a8c release: v0.15.4 2025-04-25 09:18:44 +00:00
Leyang
ca644d8914
feat(core): allow custom midscene_run dir (#631)
* feat(core): support custom midscene_run dir

* feat(report): add search functionality to PlaywrightCaseSelector component

* refactor(shared): simplify base directory resolution and remove unused environment variable

* feat(shared): integrate shared environment variables across multiple packages

* refactor(shared): update base directory resolution to use dynamic midscene_run directory

* fix(puppeteer): increase screenshot timeout from 3s to 10s for improved reliability
2025-04-24 22:54:52 +08:00
github-actions[bot]
bd104a8afa release: v0.15.3 2025-04-24 08:04:27 +00:00
c0aea8f3fe
feat(mcp): add playwright-example and midscene api prompts (#630) 2025-04-24 14:41:19 +08:00
1d8ac2875d
refactor(mcp): use bridge mode replace puppeteer (#618)
* refactor(mcp): use bridge mode replace puppeteer

* refactor(mcp): use bridge mode replace puppeteer

* chore: delete unless code

* chore: use getAIConfigInBoolean replace getAiConfig

* chore: upgrade lock file
2025-04-23 19:44:01 +08:00
ab51c5b40d
feat(mcp): add report to response (#625) 2025-04-23 19:03:35 +08:00
github-actions[bot]
ec3fd040d4 release: v0.15.2 2025-04-23 01:51:12 +00:00
5c6e3e3b66
fix(mcp): optimize mcp navigate to new page (#617)
* fix(mcp): optimize navigate new page

* fix(mcp): add google as default page
2025-04-22 20:57:23 +08:00
d033c98387
feat(mcp): add puppeteer mode and refactor mcp register tools logic (#609) 2025-04-22 15:53:31 +08:00
github-actions[bot]
385f3eb639 release: v0.15.1 2025-04-21 12:13:32 +00:00
daf308b1d0
fix(mcp): resolve mcp server log error (#599)
* fix(mcp): resolve mcp server log error

* chore(shared): delete unless code

* chore(workflow): fix lint error
2025-04-19 12:00:39 +08:00
github-actions[bot]
0a3bc1e230 release: v0.15.0 2025-04-18 11:26:30 +00:00
Zhou Xiao
2cc12dad12
feat(mcp): provide midscene mcp server (#562) 2025-04-18 10:47:48 +08:00