Commit Graph
19 Commits
Author SHA1 Message Date
Roy Han 8a6be13ae6 define events and support queueing 2026-03-24 17:26:15 -07:00
Roy Han 07c0d34fa4 user message metadata 2026-03-24 17:24:50 -07:00
Roy Han 7141347e82 variant tightening 2026-03-24 15:58:09 -07:00
Roy Han 039a64053c Revert "rebase"
This reverts commit 9ad5c1386f, reversing
changes made to 4b9e6f4383.
2026-03-24 15:21:52 -07:00
Roy Han 086e3dcc50 steer cleanup 2026-03-24 14:56:59 -07:00
Roy Han 903559bd60 remove turn event type 2026-03-24 14:47:27 -07:00
Roy Han 5d7f0e0c83 protocol rename 2026-03-24 14:42:53 -07:00
Roy Han e7a4e25e83 renaming 2026-03-24 14:37:50 -07:00
Roy Han 1ab00f1609 update schema 2026-03-24 14:26:45 -07:00
Roy Han 1d4cee82bf event definitions 2026-03-24 14:04:13 -07:00
Roy Han 2865b096f6 define events and support queueing 2026-03-24 14:03:39 -07:00
Roy Han 69a755c9f6 user message metadata 2026-03-24 11:12:37 -07:00
Roy Han d3a36cc2e6 restore reasoning prefix 2026-03-24 10:00:04 -07:00
Roy Han 852cf6a2a5 turn level metadata 2026-03-23 18:46:43 -07:00
alexsong-oai 1a363d5fcf Add plugin usage telemetry (#14531)
adding metrics including: 
* plugin used
* plugin installed/uninstalled
* plugin enabled/disabled
2026-03-12 19:22:30 -07:00
Michael Bolin 0c8a36676a fix: move inline codex-rs/core unit tests into sibling files (#14444)
## Why
PR #13783 moved the `codex.rs` unit tests into `codex_tests.rs`. This
applies the same extraction pattern across the rest of `codex-rs/core`
so the production modules stay focused on runtime code instead of large
inline test blocks.

Keeping the tests in sibling files also makes follow-up edits easier to
review because product changes no longer have to share a file with
hundreds or thousands of lines of test scaffolding.

## What changed
- replaced each inline `mod tests { ... }` in `codex-rs/core/src/**`
with a path-based module declaration
- moved each extracted unit test module into a sibling `*_tests.rs`
file, using `mod_tests.rs` for `mod.rs` modules
- preserved the existing `cfg(...)` guards and module-local structure so
the refactor remains structural rather than behavioral

## Testing
- `cargo test -p codex-core --lib` (`1653 passed; 0 failed; 5 ignored`)
- `just fix -p codex-core`
- `cargo fmt --check`
- `cargo shear`
2026-03-12 08:16:36 -07:00
alexsong-oai 09a82f364f Support implicit skill invocation analytics events (#12049)
- use `skills_for_cwd` lookup to scope allowed skills and build
invocation context for downstream processing
- add detection in `stream_events_utils` to classify tool calls as
implicit skill invocations per the proposal (script runners, extensions,
`scripts` dirs, and SKILL.md reads)
- deduplicate invocations per turn and emit analytics/OTEL events on the
same background queue as explicit invokes
2026-02-23 21:55:49 -08:00
alexsong-oai e71760fc64 support app usage analytics (#11687)
Emit app mentioned and app used events. Dedup by (turn_id, connector_id)

Example event params:
{
    "event_type": "codex_app_used",
    "connector_id": "asdk_app_xxx",
    "thread_id": "019c5527-36d4-xxx",
    "turn_id": "019c552c-cd17-xxx",
    "app_name": "Slack (OpenAI Internal)",
    "product_client_id": "codex_cli_rs",
    "invoke_type": "explicit",
    "model_slug": "gpt-5.3-codex"
}
2026-02-13 12:00:16 -08:00
alexsong-oai b164ac6d1e feat: fire tracking events for skill invocation (#10120) 2026-01-31 18:06:26 -08:00