Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@zhoushaw zhoushaw released this 10 Feb 11:50
· 6 commits to main since this release

What's Changed

New Features πŸŽ‰

  • feat(web-extract): extract web content as a tree by @yuyutaotao in #337
  • feat(cache): supports ui-tars model caching capability by @zhoushaw in #361

playwright

- playwright test --config=playwright.config.ts
+ MIDSCENE_CACHE=true playwright test --config=playwright.config.ts

puppeteer

- tsx demo.ts 
+ MIDSCENE_CACHE=true tsx demo.ts
const mid = new PuppeteerAgent(originPage, {
  cacheId: 'puppeteer-swag-sab)', // Add cache id
});

Bridge Mode

- tsx demo.ts
+ MIDSCENE_CACHE=true tsx demo.ts
const agent = new AgentOverChromeBridge({
  cacheId: 'star-midscene-github', // Add cache id
});

Effect

After enabling the cache, the execution time is significantly reduced, for example, from 1m16s to 23s.

before

image

after

image

Bug Fixes 🐞

Other Changes

New Contributors

Full Changelog: v0.10.5...v0.11.0