Commit Graph
3547 Commits
Author SHA1 Message Date
Tam Nhu Tran b3d9dce6e1 fix(codex): reduce quota timeout flakes in dashboard 2026-02-14 06:23:31 +07:00
Tam Nhu Tran be9d7cf73e feat(cursor): complete daemon wiring and add dedicated dashboard page 2026-02-14 06:22:28 +07:00
Tam Nhu Tran 164d195367 fix(codex): preserve xhigh default effort for gpt-5.3 2026-02-14 06:21:56 +07:00
Tam Nhu Tran d6aa1d90a6 feat(codex): keep gpt-5.2 catalog entry 2026-02-14 06:15:31 +07:00
Tam Nhu Tran 7fddb63ab9 feat(codex): add gpt-5.3 preset defaults 2026-02-14 06:14:19 +07:00
Tam Nhu Tran 1d2ee827fe fix(codex): infer code review cadence from reset window 2026-02-14 06:09:36 +07:00
Tam Nhu Tran f8af5a8c3c fix(codex): align quota display to 5h and weekly windows 2026-02-14 05:57:06 +07:00
github-actions[bot] 6f1c8e348d chore(release): 7.43.0-dev.10 [skip ci] 2026-02-13 13:27:52 +00:00
Tam Nhu Tran 6c2083949f fix(cliproxy): mark Kiro as device_code flow for dashboard auth
CLIProxyAPIPlus uses device code flow for Kiro authentication, returning
{method: "device_code", state, status} without an immediate URL. The URL
is provided via polling the /get-auth-status endpoint.

Previously, Kiro was configured as authorization_code flow, causing
dashboard auth to fail with "No authorization URL received from CLIProxyAPI"
because the web-server routes expected synchronous URL response.

Changes:
- provider-capabilities.ts: kiro.oauthFlow = 'device_code', callbackPort = null
- provider-config.ts: Add 'kiro' to DEVICE_CODE_PROVIDERS array
- provider-capabilities.test.ts: Update test expectations

This routes Kiro through /start endpoint which properly handles device code
flow via WebSocket events (deviceCodeReceived, deviceCodeCompleted, etc).

Closes #552
2026-02-13 19:33:33 +07:00
github-actions[bot] 33a48f2c76 chore(release): 7.43.0-dev.9 [skip ci] 2026-02-13 01:46:02 +00:00
Kai (Tam Nhu) TranandGitHub bdfd59dc53 Merge pull request #537 from kaitranntt/feat/506-composite-provider-variant
feat(cliproxy): composite provider variants — mix providers per tier
2026-02-13 08:44:41 +07:00
Tam Nhu Tran bdec15f2fd chore(merge): resolve dev conflicts for pr 537
- merge latest origin/dev into feat/506-composite-provider-variant

- keep path-stable test assertions for update-checker and GLMT debug logs
2026-02-13 08:36:10 +07:00
Tam Nhu Tran c9faf6cdc9 test(cliproxy): stabilize path-sensitive CI test assertions
- infer update cache paths from runtime module behavior instead of hardcoded ~/.ccs

- assert GLMT default log path via getCcsDir to avoid cross-suite env leakage
2026-02-13 06:47:32 +07:00
Tam Nhu Tran edd2a354eb chore(metrics): refresh maintainability baseline
- align tracked maintainability counters with current source tree

- unblock validate gate after composite-provider changes increased metrics
2026-02-13 06:47:16 +07:00
github-actions[bot] c403ef7920 chore(release): 7.43.0-dev.8 [skip ci] 2026-02-12 23:41:44 +00:00
Tam Nhu Tran fca5ca203f docs(guidelines): add AGENTS symlink and neutral wording 2026-02-13 06:40:28 +07:00
github-actions[bot] 9aca2290c0 chore(release): 7.43.0-dev.7 [skip ci] 2026-02-12 23:34:32 +00:00
Kai (Tam Nhu) TranandGitHub 359e4c6c5d Merge pull request #551 from kaitranntt/kai/fix-analytics-responsive-alignment
fix(analytics): stabilize responsive row alignment
2026-02-13 06:33:21 +07:00
Tam Nhu Tran 0cc1f111f7 fix(analytics): stabilize responsive row alignment 2026-02-13 06:28:46 +07:00
Tam Nhu Tran 7dd4ce5453 test(cliproxy): add regression coverage for update consistency
- verify provider change requires model and rewrites provider-specific env

- verify composite updates preserve custom settings path and fields
2026-02-13 06:19:46 +07:00
Tam Nhu Tran 7bb9ceb4af fix(cliproxy): keep variant updates atomic and persisted
- require model when changing single-variant provider to avoid mixed config

- rewrite provider-specific core env when provider changes while preserving custom fields

- preserve custom composite settings path and return persisted composite PUT state
2026-02-13 06:19:12 +07:00
github-actions[bot] 43d441ce23 chore(release): 7.43.0-dev.6 [skip ci] 2026-02-12 22:39:25 +00:00
Kai (Tam Nhu) TranandGitHub 3db78450ae Merge pull request #550 from kaitranntt/kai/feat/531-535-cursor-streaming-schema
feat(cursor): namespace FIELD constants and implement true streaming SSE (#531, #535)
2026-02-13 05:38:17 +07:00
Tam Nhu Tran 1a23f912a4 fix(cliproxy): harden composite validation and runtime safeguards 2026-02-13 05:34:30 +07:00
Tam Nhu Tran 36a67c4837 fix(cursor): close ReadableStream controller on abort to prevent consumer hangs
When abort fires after streaming begins, onAbort closed HTTP/2 handles
but never closed the ReadableStream controller. Consumers waiting on
reader.read() could hang indefinitely since end/error handlers were
gated by streamClosed flag.

Hoist controller reference to outer scope so abort handler can close it.
2026-02-13 05:33:56 +07:00
Tam Nhu Tran ca7bb23970 test: use getCcsDir() instead of os.homedir() for test isolation
GlmtTransformer and Beta Channel tests used hardcoded os.homedir()
paths which fail when CCS_HOME is set by other tests in full suite.
2026-02-13 05:23:23 +07:00
Tam Nhu Tran 27badb2584 fix(cursor): validate fetch status before streaming fallback and register abort early
- Check response.status before calling transformProtobufToSSE in fetch fallback
- Move abort signal registration before response headers to handle early cancellation
2026-02-13 04:21:13 +07:00
Tam Nhu Tran 4e5b502fc9 feat(cursor): namespace FIELD constants and implement true streaming SSE (#531, #535) 2026-02-13 04:12:29 +07:00
Tam Nhu Tran 2816c6652d chore(merge): resolve conflicts with origin/dev 2026-02-12 16:25:25 +07:00
github-actions[bot] 52e04f5cf3 chore(release): 7.43.0-dev.5 [skip ci] 2026-02-12 09:22:23 +00:00
Kai (Tam Nhu) TranandGitHub a2520d2ed8 Merge pull request #543 from kaitranntt/kai/feat/538-stream-d-hardening
chore(hardening): add debt inventory and async I/O kickoff (stream D)
2026-02-12 16:21:18 +07:00
Kai (Tam Nhu) TranandGitHub db94e7223a Merge pull request #544 from kaitranntt/kai/feat/538-stream-c-provider-cliproxy-web
refactor(cliproxy): centralize provider capability registry (stream C)
2026-02-12 16:21:05 +07:00
Kai (Tam Nhu) TranandGitHub b8352a2a79 Merge pull request #546 from kaitranntt/kai/feat/538-stream-b-command-config
refactor(commands): add command contract and migrate shell-completion (stream B)
2026-02-12 16:20:50 +07:00
Kai (Tam Nhu) TranandGitHub e0190c3993 Merge pull request #545 from kaitranntt/kai/feat/538-stream-a-foundation
chore(maintainability): add baseline metrics gate (stream A)
2026-02-12 16:20:36 +07:00
Tam Nhu Tran 851f870fa8 fix(test): avoid global ui mock leakage in shell completion tests 2026-02-12 15:52:52 +07:00
Tam Nhu Tran ae83be1590 fix(format): align image analysis check with pinned prettier 2026-02-12 15:22:37 +07:00
Tam Nhu Tran 65a1d8ae2c fix(hardening): handle regex literals after else/do 2026-02-12 15:20:22 +07:00
Tam Nhu Tran 9585f0664d chore(format): apply prettier fixes for validate gate 2026-02-12 15:20:09 +07:00
Tam Nhu Tran 0a8adb22fc fix(cliproxy): harden composite variant routing and validation 2026-02-12 15:18:33 +07:00
Tam Nhu Tran 33e9a88494 fix(maintainability): harden tracked scan and baseline checks 2026-02-12 15:01:33 +07:00
Tam Nhu Tran bb9d846a54 fix(hardening): handle regex literals in sync-call scanner 2026-02-12 15:01:33 +07:00
Tam Nhu Tran b7481cf346 fix(maintainability): require git-tracked scan for gate 2026-02-12 14:50:54 +07:00
Tam Nhu Tran 8193e9d67f fix(hardening): ignore literal text in sync-call metrics 2026-02-12 14:45:24 +07:00
Tam Nhu Tran 8f0ba481ed fix(maintainability): scan tracked src files for stable gate 2026-02-12 14:40:45 +07:00
Tam Nhu Tran d21b5c44ee fix(hardening): count executable sync fs call sites 2026-02-12 14:40:45 +07:00
Tam Nhu Tran b98335c162 fix(commands): await async command validation 2026-02-12 14:18:48 +07:00
Tam Nhu Tran 2610971d2e fix(maintainability): enforce gate and correct loc metric 2026-02-12 14:18:48 +07:00
Tam Nhu Tran e914fe9778 fix(cliproxy): fix thinking off regression and composite error handling
- P1: Thinking "off" now fully disables all tier thinking
  When thinkingValue === 'off' AND no per-tier config, return early
  Preserves behavior for "off" with per-tier config (skips main, processes tiers)
  Fixes regression where tier defaults were applied despite explicit off setting

- P2: Handle composite-create thrown errors in POST route
  Wrap createCompositeVariant() in try/catch
  Returns 400 instead of generic 500 when function throws (e.g., legacy mode)
2026-02-12 13:34:17 +07:00
Tam Nhu Tran 924e3686c8 refactor(cliproxy): centralize provider capability registry 2026-02-12 12:59:17 +07:00
Tam Nhu Tran fc4b77bc52 refactor(commands): add command contract and migrate shell completion 2026-02-12 12:59:17 +07:00