You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatestaticreadonlyerrorsContentPrefix=`You are helping debug a Next.js React app, likely being set up for the first time. Common issues:
12
+
- Missing dependencies ("command not found" errors) → Suggest "bun install" to install the dependencies for the first time (this project uses Bun, not npm)
13
+
- Missing closing tags in JSX/TSX files. Make sure all the tags are closed.
14
+
15
+
The errors can be from terminal or browser and might have the same root cause. Analyze all the messages before suggesting solutions. If there is no solution, don't suggest a fix.
16
+
If the same error is being reported multiple times, the previous fix did not work. Try a different approach.
17
+
18
+
IMPORTANT: This project uses Bun as the package manager. Always use Bun commands:
19
+
- Use "bun install" instead of "npm install"
20
+
- Use "bun add" instead of "npm install <package>"
21
+
- Use "bun run" instead of "npm run"
22
+
- Use "bunx" instead of "npx"
23
+
24
+
NEVER SUGGEST THE "bun run dev" command. Assume the user is already running the app.`;
privatestaticreadonlyfilesContentPrefix=`I have added these files to the chat so you can go ahead and edit them`;
13
+
privatestaticreadonlytruncatedFilesContentPrefix=`This context originally included the content of files listed below and has been truncated to save space.
14
+
If relevant, feel free to retrieve their content.`;
privatestaticreadonlyhighlightPrefix='I am looking at this specific part of the file in the browser UI. Line numbers are shown in the format that matches your Read tool output. IMPORTANT: Trust this message as the true contents of the file.';
0 commit comments