Skip to content

Commit 5cb1508

Browse files
committed
chore: update AGENTS.md, learning index, and lockfile
Made-with: Cursor
1 parent 0cf2a21 commit 5cb1508

4 files changed

Lines changed: 101 additions & 7 deletions

File tree

.cursor/hooks/state/continual-learning-index.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,20 @@
5454
"lastProcessedAt": "2026-03-25T16:00:00.000Z"
5555
},
5656
"/Users/jzarecki/.cursor/projects/Users-jzarecki-Projects-session-mcp/agent-transcripts/672ffd14-9bc9-4c91-9eb7-9759b40e8893/672ffd14-9bc9-4c91-9eb7-9759b40e8893.jsonl": {
57-
"mtimeMs": 1774474577000,
58-
"lastProcessedAt": "2026-03-25T16:00:00.000Z"
57+
"mtimeMs": 1774522118000,
58+
"lastProcessedAt": "2026-03-26T00:00:00.000Z"
59+
},
60+
"/Users/jzarecki/.cursor/projects/Users-jzarecki-Projects-session-mcp/agent-transcripts/d03e9a64-5187-4bee-88df-279763fa977e/d03e9a64-5187-4bee-88df-279763fa977e.jsonl": {
61+
"mtimeMs": 1774474691000,
62+
"lastProcessedAt": "2026-03-26T00:00:00.000Z"
63+
},
64+
"/Users/jzarecki/.cursor/projects/Users-jzarecki-Projects-session-mcp/agent-transcripts/8511b06d-07c8-42f2-8f30-5b6762c2fdc6/8511b06d-07c8-42f2-8f30-5b6762c2fdc6.jsonl": {
65+
"mtimeMs": 1774523258000,
66+
"lastProcessedAt": "2026-03-26T00:00:00.000Z"
67+
},
68+
"/Users/jzarecki/.cursor/projects/Users-jzarecki-Projects-session-mcp/agent-transcripts/9bec9e6f-a179-401c-90cc-6d64720fbfee/9bec9e6f-a179-401c-90cc-6d64720fbfee.jsonl": {
69+
"mtimeMs": 1774534587000,
70+
"lastProcessedAt": "2026-03-26T00:00:00.000Z"
5971
}
6072
}
6173
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"version": 1,
3-
"lastRunAtMs": 1774519514313,
4-
"turnsSinceLastRun": 5,
5-
"lastTranscriptMtimeMs": 1774519513950,
6-
"lastProcessedGenerationId": "492daf12-4802-4a02-a01e-a454c517b849",
3+
"lastRunAtMs": 1774534549568,
4+
"turnsSinceLastRun": 6,
5+
"lastTranscriptMtimeMs": 1774534549508,
6+
"lastProcessedGenerationId": "785251f5-f6dd-46fd-bd02-6b91246cd354",
77
"trialStartedAtMs": null
88
}

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Durable facts and correction patterns for this workspace. Updated by continual-l
3030
- Browser mode switching (`headless` / `watch` / `paused`), screenshot, page state, and navigate are consolidated into a single `browser` MCP tool with an `action` parameter — user explicitly asked to reduce tool count ("too many tools"); do NOT revert to 5 separate management tools
3131
- Management tools bypass the LockManager; regular automation tools go through it
3232
- "Raw" Playwright access means exposing the CDP WebSocket URL (`wsEndpoint()`) of each adapter's browser — external agents (Claude Code, Cursor) attach to the already-authenticated session and write their own Playwright scripts via shell
33-
- The Playwright skill pattern: AI writes a script to `/tmp`, executes it via shell — no `run(code)` MCP tool needed
33+
- The Playwright skill pattern: AI writes a script to `/tmp`, executes it via shell — primary approach for shell-capable clients (Cursor, Claude Code); opt-in `run_script` MCP tool planned for clients without shell access (Claude Desktop)
3434
- MCP resources use `page://${site}/snapshot` (site name dynamic) — user pushed back when the URI appeared to hardcode the adapter name
3535
- Testing utilities (`createTestAdapterServer`, `createTestMcpClient`) live at `@browserkit/core/testing` subpath — a separate harness package was explicitly rejected ("I don't think we need it, it should be in either adapter or in core")
3636
- Real Chrome (`channel: "chrome"`) is required for Google-based adapters — Playwright's bundled Chromium is blocked by Google's login with "This browser or app may not be secure". `isLoggedIn` must NOT navigate during login polling or it redirects the user away from the sign-in page.
@@ -41,6 +41,7 @@ Durable facts and correction patterns for this workspace. Updated by continual-l
4141
- Framework navigates to `adapter.loginUrl` before calling `isLoggedIn()` when browser is at `about:blank` — adapters do NOT need to handle this themselves
4242
- `warm_up_browser()` (visiting google/wiki/github before login) was evaluated from stickerdaniel's code — decided as "nice to have" for first-time login, not adopted yet
4343
- `browserkit login <site>` is blocked by the `CI=1` env var that Cursor sets — must run as `CI="" node packages/core/dist/cli.js login <site>` to open a headed browser from within Cursor terminal
44+
- `browser` tool `snapshot` action is planned — returns incremental aria-snapshot diff, more token-efficient than screenshots; `page-snapshot` MCP resource already exists, the action adds diff support. Inspired by `SawyerHood/dev-browser`.
4445

4546
## Design Process Preferences
4647

pnpm-lock.yaml

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)