Repository navigation
Expand file tree
/
Copy pathNOTICE.codex-proxy-rs
More file actions
76 lines (66 loc) · 4.26 KB
/
Copy pathNOTICE.codex-proxy-rs
File metadata and controls
76 lines (66 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Third-party source attribution: codex-proxy-rs
Project: https://github.com/zyycn/codex-proxy-rs
Reference revision: 7f320797a06226d01ca77d1ff73980a843ee3efb
Additional usage-column reference: 6659d0c1f9992c690883f07197c7d36b173d6f19
Upstream license: Apache License, Version 2.0
License text: LICENSE.codex-proxy-rs (copied without modification)
CPA's usage overview, filtered/paginated usage queries, request detail
presentation, and diagnostic export work reference the usage and observability
behavior and interface organization of this project. The CPA implementation is
adapted to Go, existing CPA storage and accounting contracts, and its separate
React management center; it is not the original Rust/Vue implementation.
Primary source areas:
frontend/src/views/usage/
frontend/src/api/modules/usage.ts
backend/crates/gateway-api/src/admin/observability/
backend/crates/gateway-admin/src/model/observability.rs
backend/crates/gateway-admin/src/use_case/observability.rs
backend/crates/gateway-store/src/postgres/observability/
See docs/CODEX_PROXY_USAGE_SYNC_CN.md and
.github/upstream/codex-proxy-usage.json for the scope, local changes, validation
status, and per-feature upstream baselines. Referenced features are not all
necessarily implemented; the tracking manifest records completion separately.
No separate upstream NOTICE file was present in either referenced source snapshot.
This attribution was written by CPA maintainers and is not an upstream NOTICE.
The original CPA MIT license remains in LICENSE. This attribution does not
relicense the upstream work or remove any terms applicable to adapted material.
Additional quota-refresh reference: d0180b74b3eed06073a65528cbca502f0e1ca6bc
Source area: backend/crates/providers/openai/src/credential/quota/mod.rs
CPA selectively adapts reset grace, periodic refresh reservation, and observed
usage preservation to its Go auth manager, cooldown persistence, and existing
exclusive account leases. See docs/CODEX_QUOTA_REFRESH_CN.md for the scope.
Additional transport, interruption and capacity references:
ca90f2b586fe075f5ccb5e8d0fee865b0fcd5411
e830b2ef482a5426db3102f1e5f7ef70d51c4b77
ea4e3059db5d2e744518fec5dd8df10b5905b867
Source areas: backend/crates/providers/openai/src/transport/,
backend/crates/gateway-api/src/openai/responses/websocket/,
frontend/src/views/accounts/components/AccountCapacityIndicator.vue
CPA selectively adapts these behaviors to its Go execution and request-scoped
replay contracts, preserving existing pool permissions, leases and accounting.
See docs/CODEX_PROXY_SEP28_CN.md for the precise adaptation boundaries.
Additional stream-buffer observation reference:
3bf7030fba6273553cfbd021fd7d3390b81d0308
Source area: backend/crates/providers/openai/src/provider/execution.rs
CPA adds a local 1 MiB converted-output budget and bounded release-reason events;
it does not import the upstream replay-grace timeout or retry strategy wholesale.
Additional October 5 usage and account-fact references:
ab3a2e30c5941801bc553bab35bd2074047d3270 (explicit usage timezone)
d37dc3273147e5d472c4894578a7e0269445fbc9 (Fast billing presentation)
0490e28cfc14f08232a84c52e8c3f8693285b994 (Codex credit balance)
318f8a748e0ec389ce1e3ae6fca1c1d0819272f2 (modal exit content)
71c3b03878c36931eab71f4a7bd841202e7dfbdb (GPT-6.1 Sol pricing)
9c5fbdba70eed5575cb102922e29bf221e3c9c7d (shared usage component paths)
Source areas: frontend/src/views/usage/, frontend/src/components/usage/,
frontend/src/views/accounts/, backend/crates/gateway-host/src/pricing/.
CPA implements these behaviors in its existing Go/React contracts. Timezone is
per usage query; credit balance does not replace manual quota resets. Pricing
was independently checked against official OpenAI documentation on 2026-10-05.
The paired backend docs/CODEX_PROXY_OCT05_CN.md records the precise scope.
Additional November 17 behavior references:
3e33e84a45e740aaf15650c2ab26af5c3d3db88b (service health outcomes)
9f0d712671c66a3c6a2ea91f016c4f9c1eda4d95 (connection-advertised message limit)
914c00785c4000b83a3319edddc0fea387660ec9 (structured retry metadata)
CPA preserves its own retained-record accounting, Go executor, account-pool
admission, leases, cooling and no-replay delivery boundaries.
See docs/CODEX_PROXY_NOV17_CN.md for the selective adaptation.