Commit Graph

16 Commits

Author SHA1 Message Date
Tyler James Leonhardt
c8d90ab45f Get rid of dependency on playwright-mcp (#292432) 2026-02-02 23:16:17 -08:00
Peng Lyu
5366853409 Support multi window scenarios in vscode mcp server (#289250)
* Add window management tools for multi-window support

* Refactor window management tools to remove title references and simplify responses

* Refactor PlaywrightDriver to use readonly page property and remove _currentPage references

* Update test/mcp/src/automationTools/windows.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix URL matching and CDP session handling in multi-window support (#289261)

* Initial plan

* Address code review feedback: improve URL matching and CDP session handling

- Improve URL matching in switchToWindow to prefer exact matches before substring matches
- Clear CDP session when switching windows to prevent using stale sessions
- Add comprehensive documentation explaining the matching strategy and CDP session behavior

Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>

* Add automation tools for window interactions and update multiplex server configuration

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
2026-02-02 16:11:12 -08:00
Copilot
0b53fd0e1d Fix Playwright MCP invalid JSON schema for tuple parameters (#288464)
* Initial plan

* Fix invalid JSON schema for settings tool using z.tuple()

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2026-01-16 21:14:29 +00:00
Peng Lyu
e64d58389d vscode mcp: support custom workspace path; enable restart tool (#286297)
* vscode mcp: support specifying workspace path; enable restart tool

* fix: include workspace path in launch options for browser

* fix: ensure workspace path is set for tests requiring a workspace

* Address PR review comments: support optional workspace path

* fix: standardize workspace path variable naming in tests

* fix: fallback to rootPath for workspacePath in CI environments
2026-01-13 16:38:31 -08:00
Tyler James Leonhardt
b01211dec2 Add tool for searching settings UI (#274920)
* Add tool for searching settings UI

Since the input box is a monaco editor, it struggles.

* push
2025-11-04 00:28:26 +00:00
Tyler James Leonhardt
bc5f6481a5 Enable tracing (#274203)
* Enable tracing

So that we can upload traces instead of just videos.

* feedback
2025-10-30 23:19:54 +00:00
Tyler James Leonhardt
c40db410b9 Add a send message tool for automation & mcp (#273306)
* Add a send message tool for automation & mcp

This also sents up the posibility of smoke tests.

* Add demonstrate.md and remove prompt

* add simple notification util

* notif
2025-10-26 14:35:03 +08:00
Tyler James Leonhardt
41d5f1ce55 Disable tracing for now due to Playwright MCP behavior (#273171)
Haven't been able to figure out how to get tracing working without issues... so reverting the change.

Opened an issue here:
https://github.com/microsoft/playwright-mcp/issues/1166
2025-10-24 19:32:08 +00:00
Tyler James Leonhardt
90460f61a7 Have playwright MCP always trace (#273145)
Have MCP always trace

so that traces can be looked at easily.
2025-10-24 16:56:50 +00:00
Tyler James Leonhardt
af1cbea727 Add --video and --autostart (#271849)
This enables:
* Playwright video recording
* Starting the Code OSS on server start (for clients like Copilot CLI that don't react to tool list changes)
2025-10-16 23:18:23 +00:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Logan Ramos
02a22c8d39 Update MCP schema to be more conscise (#268499)
* Update MCP schema to be more conscise

* Remove debug string
2025-09-26 16:52:18 +00:00
Tyler James Leonhardt
8f97965f31 Allow excluding tools from sub servers and allow the command palette to be kept open if a command is run (#267812) 2025-09-22 18:14:06 +00:00
Tyler James Leonhardt
f1a5fb082b Go all in on stdio and gate all the tools behind the launch tool (#264088)
* Removes HTTP logic
* enable/disables automation tools based on if app is opened
* kill and re-create the playwright server based on if app is opened
2025-08-29 21:41:01 +00:00
Tyler James Leonhardt
7a46ac4d80 First pass at disabling tools that aren't useful for this MCP flow (#263298)
* First pass at disabling tools that aren't useful for this MCP flow

And enable the multiplexer server

* revert that

* revert that

* revert that

* disable a couple more

* add a start to improve model behavior & rewrite prompt file
2025-08-25 11:46:20 -07:00
Tyler James Leonhardt
a7cdeedd57 Add another server built on top of our own automation framework (#262984)
* Add another server built on top of our own automation framework

It's a big PR but a lot of this is boiler plate. It's just essentially wrapping our Automation framework in a bunch of tools.

* Lay the foundation for multiplexing
2025-08-22 17:20:22 -07:00