Tam Nhu Tran
33a1553431
test: include colocated cliproxy tests in buckets
2026-04-30 12:49:57 -04:00
Tam Nhu Tran
d9ace607e5
fix(proxy): shape direct OpenAI reasoning chat payloads
2026-04-30 12:33:02 -04:00
Tam Nhu Tran
31dc18657c
fix(cliproxy): fix base-config-loader __dirname path and stale mock.module paths
...
- base-config-loader.ts moved from src/cliproxy/ to src/cliproxy/config/,
so __dirname relative path needs one more .. to reach config/ dir
- Update mock.module paths for proxy-detector and routing-strategy
in non-colocated test files
2026-04-29 17:40:33 -04:00
Tam Nhu Tran
2c817fae48
fix(cliproxy): update remaining stale imports in non-colocated tests
...
Fix auth-token-manager, quota-response-cache, stats-fetcher,
and proxy-detector import paths in tests/ outside cliproxy.
2026-04-29 17:26:51 -04:00
Tam Nhu Tran
1c72b4b8d5
refactor(cliproxy): flatten module structure and colocate tests ( #1135 )
...
- Split types.ts (331 LOC) into 4 concern-based files under types/:
platform-types, binary-types, provider-types, config-types
- Preserve backward compat via barrel re-export (types.ts → types/index)
- Reorganize 53 root-level files into 8 subdirectories:
accounts/, ai-providers/, auth/, binary/, config/, executor/,
management/, proxy/, quota/, routing/, services/, sync/
- Reduce src/cliproxy/ root from 65 to 8 files (target: ≤10)
- Colocate 87 unit tests from tests/unit/cliproxy/ into
src/cliproxy/*/__tests__/ (13 colocated test directories)
- Update import paths across 40+ consumer files
- Add TDD backward-compat test for types split
Refs #1135
2026-04-29 17:06:39 -04:00
Kai (Tam Nhu) Tran and GitHub
561189efe6
Merge pull request #1136 from kaitranntt/kai/refactor/1135-plugin-path-normalizer
...
refactor: extract plugin path normalizer
2026-04-29 15:02:51 -04:00
Kai (Tam Nhu) Tran and GitHub
a35824f28d
Merge pull request #1133 from seilk/fix/tool-result-image-placeholders
...
fix(proxy): stringify tool_result images for OpenAI upstreams
2026-04-29 14:48:57 -04:00
Tam Nhu Tran
3330229686
refactor: extract plugin path normalizer
2026-04-29 14:42:39 -04:00
seilk
2c0f9c41ff
test(proxy): assert tool_result image URLs stay redacted
2026-04-30 02:22:49 +09:00
seilk
83c16e216a
fix(proxy): avoid leaking tool_result image URLs
2026-04-30 02:18:22 +09:00
seilk
f6bb31c956
fix(proxy): stringify tool_result images for OpenAI upstreams
2026-04-30 00:55:45 +09:00
Tam Nhu Tran
4458774d5c
fix(ci): align stable release runner
2026-04-28 23:30:33 -04:00
Tam Nhu Tran
0381fa9b52
fix(ci): align release sync with protected dev checks
2026-04-28 23:14:25 -04:00
Kai (Tam Nhu) Tran and GitHub
8d4a7761b1
fix(ci): guard generated dev release commits
2026-04-28 22:33:14 -04:00
Kai (Tam Nhu) Tran and GitHub
fea7f18687
fix(ci): keep dev release commits visible to PR checks
2026-04-28 22:18:45 -04:00
Tam Nhu Tran
5013d411a7
feat(cliproxy): self-pause exhausted quota accounts
2026-04-28 20:35:15 -04:00
Tam Nhu Tran
30f350a74f
fix(usage): preserve pricing overrides and legacy merges
2026-04-28 16:51:06 -04:00
Tam Nhu Tran
42fc5281a1
fix(usage): clarify static pricing fallback
2026-04-28 16:26:27 -04:00
Tam Nhu Tran
c7141b3d3a
fix(usage): honor provider-aware pricing precedence
2026-04-28 16:11:07 -04:00
Tam Nhu Tran
f736190196
fix(usage): avoid cross-provider pricing fallback
2026-04-28 15:55:35 -04:00
Tam Nhu Tran
fc90b6f473
fix(usage): normalize provider aliases in aggregation
2026-04-28 15:43:13 -04:00
Tam Nhu Tran
a538627933
fix(usage): harden models.dev analytics integration
2026-04-28 15:25:58 -04:00
Tam Nhu Tran
a38c1a75ba
feat: integrate models.dev pricing metadata
2026-04-28 14:50:26 -04:00
Tam Nhu Tran
fe297142da
test(cliproxy): isolate routing HTTP module test
2026-04-28 14:34:27 -04:00
Tam Nhu Tran
73c82b3567
Merge remote-tracking branch 'origin/dev' into kai/fix/1118-ai-provider-model-rules
2026-04-28 14:27:53 -04:00
Tam Nhu Tran
9a28ca55d8
fix(cliproxy): tolerate plain AI provider model rules
2026-04-28 14:19:21 -04:00
Tam Nhu Tran
aa7f155161
test(cliproxy): stabilize routing endpoint coverage
2026-04-28 14:07:15 -04:00
Tam Nhu Tran
8ef703024b
fix(cliproxy): probe routing via management endpoint
2026-04-28 14:02:58 -04:00
Kai (Tam Nhu) Tran and GitHub
b6432f783e
Merge pull request #1114 from yousiki/fix/claude-utilization-percent-unit
...
fix(cliproxy): use explicit utilization unit per Claude payload form
2026-04-28 13:41:31 -04:00
Kai (Tam Nhu) Tran and GitHub
a8e0d95bc8
Merge pull request #1117 from kaitranntt/kai/feat/1115-session-affinity
...
feat: add local CLIProxy session affinity controls
2026-04-28 13:37:37 -04:00
Tam Nhu Tran
5267c421ca
fix(cliproxy): harden session affinity behavior
2026-04-28 13:27:05 -04:00
Kai (Tam Nhu) Tran and GitHub
f328cff870
Merge pull request #1113 from yousiki/fix/codex-additional-rate-limits
...
fix(cliproxy): parse Codex additional_rate_limits for Spark quota
2026-04-28 13:04:16 -04:00
Kai (Tam Nhu) Tran and GitHub
b0331e3b70
Merge pull request #1112 from fatjester/fix-azure-openai-proxy
...
fix(proxy): avoid settings override and nested reasoning for openai-compat
2026-04-28 12:41:17 -04:00
Tam Nhu Tran
c277955762
fix(cliproxy): tighten session affinity review issues
2026-04-28 12:33:12 -04:00
Tam Nhu Tran
4309db89c3
feat(cliproxy): add local session affinity controls
2026-04-28 12:17:26 -04:00
Tam Nhu Tran
47fbe8bb3a
fix(proxy): clean up temp launch settings
2026-04-28 11:59:37 -04:00
Tam Nhu Tran
3dcf150978
fix(proxy): preserve settings-profile launches for openai bridge
2026-04-28 11:42:56 -04:00
Tam Nhu Tran
119aa3be98
fix: keep config dashboard alive when interface detection fails
2026-04-28 11:39:40 -04:00
Tam Nhu Tran
b2e4be310d
fix(ui): tighten analytics session and query contracts
2026-04-27 12:30:56 -04:00
yousiki
942a8ce12d
fix(cliproxy): parse Codex additional_rate_limits for Spark quota
...
The Codex wham/usage API moved GPT-5.3 Codex Spark quota out of
code_review_rate_limit (now null) into a new additional_rate_limits[]
array. Parse the new field and surface it as Spark windows in the quota
view. Adds explicit category/cadence/featureLabel metadata on
CodexQuotaWindow so display logic does not depend on label sniffing.
The legacy label-sniffing path is preserved as a fallback so cached
windows from older versions still render correctly.
2026-04-27 15:07:44 +09:00
yousiki
9808ebfe36
fix(cliproxy): use explicit utilization unit per Claude payload form
...
Anthropic OAuth usage returns utilization as a percent (0-100) while the
older policy-limits restrictions payload returns a 0-1 ratio. The shared
heuristic "value <= 1 means ratio" misinterpreted percent values like
1.0, rendering 1% Sonnet usage as 100% used. Pass the unit explicitly
from each payload branch so the same boundary value is interpreted
correctly in either format.
2026-04-27 15:06:04 +09:00
Tam Nhu Tran
e95b354297
fix(analytics): avoid bridge double counting in native collectors
2026-04-26 18:19:41 -04:00
Tam Nhu Tran
fe7cc6f9ba
fix(analytics): add native codex and droid collectors
2026-04-26 18:13:33 -04:00
Chris Weller
1c91c46326
fix(proxy): avoid settings override and nested reasoning for openai-compat
2026-04-26 14:53:25 -06:00
Tam Nhu Tran
01fcd77573
fix(cli-proxy): preserve historical analytics across syncs
2026-04-26 16:52:12 -04:00
Tam Nhu Tran
69b75c0449
fix(cli-proxy): durable analytics history persistence and dedupe migration
2026-04-26 16:44:39 -04:00
Tam Nhu Tran
286b5781a7
fix: address analytics review follow-ups
2026-04-26 15:31:32 -04:00
Tam Nhu Tran
e2f1363708
fix(analytics): correct token accounting and usage aggregation
...
Align snapshot handling and UI contracts with the current analytics payloads.
2026-04-26 15:21:52 -04:00
Tam Nhu Tran
cd941195d1
fix(codex): resolve ccsxp argv alias as codex
2026-04-26 13:19:58 -04:00
Tam Nhu Tran
82c92aa940
feat(codex): align ccsxp with native cliproxy shortcut
2026-04-26 11:09:54 -04:00