[Feature Request] Scope Insights tool to specific project/directory
Resolved 💬 1 comment Opened Apr 16, 2026 by TwoMoreThings Closed May 25, 2026
Bug Description
I think it owuld be a great addition if the Insights tool could be scoped to a specific project/directory rather than it applying to all sessions
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.104
- Feedback ID: 8cbcb2cc-87e2-4fb8-9f77-907aa5adb0f9
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tommadden/.local/share/claude/versions/2.1.104 (expected in multi-process scenarios)\n at Tc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n at Se6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:20:58.255Z"},{"error":"MaxFileReadTokenExceededError: File content (15721 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:22:08.134Z"},{"error":"MaxFileReadTokenExceededError: File content (15721 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:22:10.856Z"},{"error":"MaxFileReadTokenExceededError: File content (15721 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:36:53.346Z"},{"error":"MaxFileReadTokenExceededError: File content (15721 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:36:56.289Z"},{"error":"MaxFileReadTokenExceededError: File content (15721 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:37:00.616Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n at EU1 (/$bunfs/root/src/entrypoints/cli.js:2834:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:57:16.939Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n at EU1 (/$bunfs/root/src/entrypoints/cli.js:2834:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T21:57:16.939Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n at EU1 (/$bunfs/root/src/entrypoints/cli.js:2834:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T22:06:33.689Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: Request failed with status code 429\n at EU1 (/$bunfs/root/src/entrypoints/cli.js:2834:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T22:06:33.689Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13352)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:19:32.896Z"},{"error":"Error: 1P event logging: 22 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:19:32.898Z"},{"error":"AxiosError: Request failed with status code 404\n at eg (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (…
Note: Content was truncated.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗