free-claude-code/api
Alishahryar1 29e7714337 feat(logging): structured TRACE events and end-to-end request correlation
Add core/trace.py with trace_event, traced_async_stream, and payload snapshots.
Merge TRACE fields into JSON logs; promote claude_session_id, http path/method.
Instrument API, messaging/CLI, and OpenAI-compat/native provider paths.
Harden log sink with enqueue and stdlib intercept re-entrancy guard.
Document behavior in .env.example and README; extend tests.
2026-05-10 18:24:48 -07:00
..
admin_static Improve admin UI setup flow 2026-05-10 15:57:56 -07:00
models fix: accept betas body field from Claude Code clients (#360) 2026-05-05 21:45:15 -07:00
web_tools feat(deepseek): use native Anthropic Messages transport 2026-04-26 12:03:21 -07:00
__init__.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
admin_config.py Improve admin UI setup flow 2026-05-10 15:57:56 -07:00
admin_routes.py Improve admin UI setup flow 2026-05-10 15:57:56 -07:00
admin_urls.py log urls at startup 2026-05-10 01:45:04 -07:00
app.py feat(logging): structured TRACE events and end-to-end request correlation 2026-05-10 18:24:48 -07:00
command_utils.py fix: only strip valid env assignments in command parsing (#229) 2026-04-27 18:34:48 -07:00
dependencies.py fix(security): constant-time comparison for ANTHROPIC_AUTH_TOKEN (#262) 2026-04-29 10:13:21 -07:00
detection.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
gateway_model_ids.py Add no-thinking model picker variants 2026-04-30 21:27:23 -07:00
model_router.py Add no-thinking model picker variants 2026-04-30 21:27:23 -07:00
optimization_handlers.py refactor: remove OpenRouter rollback, shims, and redundant layers 2026-04-24 21:08:38 -07:00
routes.py feat(logging): structured TRACE events and end-to-end request correlation 2026-05-10 18:24:48 -07:00
runtime.py log urls at startup 2026-05-10 01:45:04 -07:00
services.py feat(logging): structured TRACE events and end-to-end request correlation 2026-05-10 18:24:48 -07:00
validation_log.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
web_server_tools.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00