feat: Replace SQLite with JSON logging for macOS sandbox compatibility

- Removes the sqlite3 dependency and refactors the logging mechanism to use a JSON file (logs.json) instead of a database.
- This change is a temporary workaround to address issues with macOS sandboxing that were caused by the SQLite native module.
- Storing all logs in a single JSON file may introduce scalability concerns in the future.

Fixes https://github.com/google-gemini/gemini-cli/issues/522
This commit is contained in:
Taylor Mullen
2025-05-26 15:59:19 -07:00
committed by N. Taylor Mullen
parent 9e1cfca53f
commit b3f52e215a
5 changed files with 589 additions and 1475 deletions

View File

@@ -27,8 +27,7 @@
"diff": "^7.0.0",
"dotenv": "^16.4.7",
"fast-glob": "^3.3.3",
"shell-quote": "^1.8.2",
"sqlite3": "^5.1.7"
"shell-quote": "^1.8.2"
},
"devDependencies": {
"@types/diff": "^7.0.2",