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
Address coderabbitai review feedback: add Safari distribution artifacts, cross-references, remove specific file sizes, update AI provider list, and improve consistency
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Always reference these instructions first and fall back to search or bash comman
11
11
- Install dependencies: `npm ci` -- npm audit warnings may appear; for development-only dependencies they generally do not affect the shipped extension. Review and address runtime-impacting advisories separately.
12
12
- Development build: `npm run dev` -- runs webpack in watch mode. Do not kill mid-compilation, but stop gracefully when switching branches or after dependency/config changes, then restart to avoid stale watchers and inconsistent state.
13
13
- Production build: `npm run build` -- Avoid force-killing mid-bundle; stop, fix, then rebuild.
14
+
See "Time Expectations" and "Build Issues" for the hung-build policy and recovery steps.
14
15
- Format code: `npm run pretty` -- uses Prettier to format all JS/JSX/CSS files. Run this before linting.
15
16
- Lint code: `npm run lint` -- uses ESLint.
16
17
- Safari build: `npm run build:safari` -- macOS with Xcode required.
@@ -26,6 +27,7 @@ Production build creates multiple variants in `build/` directory:
-**Custom/self-hosted**: Alternative endpoints and self-hosted backends
160
164
161
165
## Troubleshooting
162
166
@@ -183,11 +187,11 @@ The extension supports multiple AI providers:
183
187
184
188
- Do not interrupt builds or long-running commands unless they appear hung or unresponsive.
185
189
-`npm ci`: ~30 seconds
186
-
-`npm run build`: ~33 seconds (measured). Set timeout to 5–10 minutes to allow for slowdowns; if it exceeds this window and appears hung, use troubleshooting steps from Build Issues section.
190
+
-`npm run build`: ~33 seconds (measured). Set timeout to 5–10 minutes; if it exceeds this and appears hung, see "Build Issues" for recovery steps.
187
191
-`npm run dev`: ~13 seconds initial build, then watches for changes; use Ctrl+C to stop when switching branches or after config/dependency changes.
188
192
-`npm run lint`: ~3–5 seconds
189
-
- Manual extension testing: 5-10 minutes for thorough validation
190
-
- Safari build: 2-5 minutes (macOS only)
193
+
- Manual extension testing: 5–10 minutes for thorough validation
0 commit comments