Commit graph

11 commits

Author SHA1 Message Date
Hannes Rudolph
00ddd926b8
refactor: rename ROO_CODE_LOGGING to ROO_CODE_API_LOGGING and restore VSCODE_DEBUG_MODE
- Renamed environment variable to ROO_CODE_API_LOGGING for clarity
- Restored VSCODE_DEBUG_MODE in launch.json env section
- This preserves existing behavior (debug mode enabled, API logging opt-in)
2025-12-19 17:17:35 -05:00
Hannes Rudolph
6abacbe59f
feat(api): add centralized API logging module
- Add new logging module at src/api/core/logging/ with:
  - ApiLogger singleton for structured request/response/error logging
  - withLogging() wrapper for automatic stream metrics tracking
  - createLoggingFetch() HTTP interceptor for raw request/response logging
  - env-config for reading ROO_CODE_LOGGING from workspace .env.local

- Integrate logging into all 20+ providers via BaseProvider.getLogContext()
- Add protected providerName getter pattern to all provider classes
- Enable HTTP-level logging in OpenRouter provider as reference implementation

- Configuration: Set ROO_CODE_LOGGING=true in workspace .env.local to enable
- Logs include: provider name, model, operation, tokens, latency, errors

Test coverage: 67 tests passing for logging module and providers
2025-12-19 17:17:35 -05:00
Chris Estreich
57249a0881
PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
cte
5c55515959 Re-apply part of 00ec57a, npm script changes omitted 2025-02-06 08:51:34 -08:00
Matt Rubens
c0306e3e8e Revert "Merge pull request #799 from RooVetGit/cte/package-json-cleanup"
This reverts commit 00ec57afee, reversing
changes made to b83442e899.
2025-02-06 09:48:06 -05:00
Roo Code
f913d567fa Better organize package.json, optimize tasks.json, split extension and webview linting 2025-02-05 12:15:18 -08:00
sam hoang
0b17a5f3fb feat: make easy to run debug mode 2025-02-04 00:39:03 +07:00
vincentsong
f6f7b51583 fix: make watch non-default task and stress sourcemap true 2025-01-18 19:22:31 +11:00
vincentsong
95b6326ca0 feat: Added VS Code debugging support with webview build 2025-01-18 09:41:54 +11:00
Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting (#794)
* Chore: Pretier for consistant formatting

- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.

* Revert prettier config

* Run npm install

* Fix prettier config and ignore package lock

* Run format

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
9f169b7e4b Initial commit 2024-07-05 20:51:41 -04:00