@unity-china/codely-cli 1.0.0-rc.36 → 1.0.0-rc.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/bundle/gemini.js +1666 -1582
- package/bundle/gemini.js.LEGAL.txt +52 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -327,6 +327,40 @@ If you encounter issues, please check the error messages and ensure:
|
|
|
327
327
|
- All dependencies are properly installed
|
|
328
328
|
- API keys are correctly configured in settings
|
|
329
329
|
|
|
330
|
+
### Crash Logs
|
|
331
|
+
|
|
332
|
+
When Codely CLI exits unexpectedly, it writes a best-effort crash report to:
|
|
333
|
+
|
|
334
|
+
```text
|
|
335
|
+
~/.codely-cli/crash-logs/crash-YYYYMMDD-HHmmss-<pid>.log
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
On Windows, this usually expands to:
|
|
339
|
+
|
|
340
|
+
```text
|
|
341
|
+
%USERPROFILE%\.codely-cli\crash-logs\crash-YYYYMMDD-HHmmss-<pid>.log
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
To inspect the newest crash log in PowerShell:
|
|
345
|
+
|
|
346
|
+
```powershell
|
|
347
|
+
Get-ChildItem "$env:USERPROFILE\.codely-cli\crash-logs" -Filter "*.log" |
|
|
348
|
+
Sort-Object LastWriteTime -Descending |
|
|
349
|
+
Select-Object -First 1 |
|
|
350
|
+
Get-Content
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
Set `CODELY_CRASH_LOG_DIR` to redirect crash reports for reproduction:
|
|
354
|
+
|
|
355
|
+
```powershell
|
|
356
|
+
$env:CODELY_CRASH_LOG_DIR="C:\Temp\codely-crash-logs"
|
|
357
|
+
codely
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Crash reports include the crash type, error message, stack trace, platform,
|
|
361
|
+
Node.js version, memory usage, and current working directory. Review paths before
|
|
362
|
+
sharing logs externally and redact sensitive information if needed.
|
|
363
|
+
|
|
330
364
|
## License
|
|
331
365
|
|
|
332
366
|
[LICENSE](./LICENSE)
|