chore: agents.md
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
## Debugging
|
## Debugging
|
||||||
|
|
||||||
- To test the opencode app, use the playwright MCP server, the app is already
|
|
||||||
running at http://localhost:3000
|
|
||||||
- NEVER try to restart the app, or the server process, EVER.
|
- NEVER try to restart the app, or the server process, EVER.
|
||||||
|
|
||||||
## SolidJS
|
## SolidJS
|
||||||
@@ -11,3 +9,14 @@
|
|||||||
## Tool Calling
|
## Tool Calling
|
||||||
|
|
||||||
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.
|
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.
|
||||||
|
|
||||||
|
## Browser Automation
|
||||||
|
|
||||||
|
Use `agent-browser` for web automation. Run `agent-browser --help` for all commands.
|
||||||
|
|
||||||
|
Core workflow:
|
||||||
|
|
||||||
|
1. `agent-browser open <url>` - Navigate to page
|
||||||
|
2. `agent-browser snapshot -i` - Get interactive elements with refs (@e1, @e2)
|
||||||
|
3. `agent-browser click @e1` / `fill @e2 "text"` - Interact using refs
|
||||||
|
4. Re-snapshot after page changes
|
||||||
|
|||||||
Reference in New Issue
Block a user