claude-code - 💡(How to fix) Fix [Feature Request] Long-running project context persistence and state management [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55505Fetched 2026-05-03 04:51:36
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different userDataDir or stop the running browser first.\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different userDataDir or stop the running browser first.\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button "Close" (button) - This is the close button for the cookie banner dialog, which matches the query "Close cookie banner button"\n\nactions[1] (form_input) failed: Element type "BUTTON" is not a supported form input (1 completed, 4 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed "$750,000"\n\nactions[2] (form_input) failed: Element type "DIV" is not a supported form input (2 completed, 2 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type "DIV" is not a supported form input (0 completed, 1 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {"name":"APIResponseError","code":"validation_error","status":400,"headers":{},"body":"{\"object\":\"error\",\"status\":400,\"code\":\"validation_error\",\"message\":\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. date:Due:start, optional date:Due:end, and optional date:Due:is_datetime), not a single Due value.\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}","request_id":"694bc336-097f-47b4-af5e-f27c563f057a"}\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200927 tokens > 200000 maximum"},"request_id":"req_011CacR9jVYeyofecLBSG9mo"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200927 tokens > 200000 maximum"},"request_id":"req_011CacRn2qLJgqX3ZoTro3mj"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200927 tokens > 200000 maximum"},"request_id":"req_011CaccCQcbqWDqbeoGHByiB"}\n …

Code Example

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button \"Close\" (button) - This is the close button for the cookie banner dialog, which matches the query \"Close cookie banner button\"\n\nactions[1] (form_input) failed: Element type \"BUTTON\" is not a supported form input (1 completed, 4 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed \"$750,000\"\n\nactions[2] (form_input) failed: Element type \"DIV\" is not a supported form input (2 completed, 2 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type \"DIV\" is not a supported form input (0 completed, 1 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {\"name\":\"APIResponseError\",\"code\":\"validation_error\",\"status\":400,\"headers\":{},\"body\":\"{\\\"object\\\":\\\"error\\\",\\\"status\\\":400,\\\"code\\\":\\\"validation_error\\\",\\\"message\\\":\\\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. `date:Due:start`, optional `date:Due:end`, and optional `date:Due:is_datetime`), not a single `Due` value.\\\",\\\"request_id\\\":\\\"694bc336-097f-47b4-af5e-f27c563f057a\\\"}\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacR9jVYeyofecLBSG9mo\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacRn2qLJgqX3ZoTro3mj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CaccCQcbqWDqbeoGHByiB\"}\n    …
RAW_BUFFERClick to expand / collapse

Bug Description again - working on the same vision for like... 18 months

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.126
  • Feedback ID: af3f516b-b99b-4fbe-832f-773884fb2e0b

Errors

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button \"Close\" (button) - This is the close button for the cookie banner dialog, which matches the query \"Close cookie banner button\"\n\nactions[1] (form_input) failed: Element type \"BUTTON\" is not a supported form input (1 completed, 4 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed \"$750,000\"\n\nactions[2] (form_input) failed: Element type \"DIV\" is not a supported form input (2 completed, 2 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type \"DIV\" is not a supported form input (0 completed, 1 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {\"name\":\"APIResponseError\",\"code\":\"validation_error\",\"status\":400,\"headers\":{},\"body\":\"{\\\"object\\\":\\\"error\\\",\\\"status\\\":400,\\\"code\\\":\\\"validation_error\\\",\\\"message\\\":\\\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. `date:Due:start`, optional `date:Due:end`, and optional `date:Due:is_datetime`), not a single `Due` value.\\\",\\\"request_id\\\":\\\"694bc336-097f-47b4-af5e-f27c563f057a\\\"}\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacR9jVYeyofecLBSG9mo\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacRn2qLJgqX3ZoTro3mj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CaccCQcbqWDqbeoGHByiB\"}\n    …

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to address the "browser is already running" error by stopping the running browser or using a different userDataDir, and to fix the "prompt is too long" error by shortening the prompt to within the 200000 token limit.

Guidance

  • Stop the running browser instance or use the --isolated flag to run multiple browser instances.
  • Verify that the userDataDir is not being used by another process.
  • Shorten the prompt to within the 200000 token limit to fix the "prompt is too long" error.
  • Check the API documentation for any specific requirements for date formats, as the "Date type must be expanded" error suggests a formatting issue.

Example

No code snippet is provided as the issue is related to configuration and API usage.

Notes

The issue seems to be related to multiple errors, including browser instance management, prompt length, and date formatting. The provided solution is a starting point, and further investigation may be required to fully resolve the issue.

Recommendation

Apply the workaround by stopping the running browser instance, shortening the prompt, and verifying the date format. This should help resolve the immediate errors, but further investigation may be required to fully resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING