Commit Graph
1173 Commits
Author SHA1 Message Date
Tam Nhu Tran e090c8b0d4 fix(image-analysis): preserve default runtime deps 2026-04-10 17:40:27 -04:00
Tam Nhu Tran 2f02ddfb74 fix(image-analysis): tolerate missing auth init dependency 2026-04-10 17:21:26 -04:00
Tam Nhu Tran 92a24786d6 fix(cliproxy): use type-only account provider import 2026-04-10 14:32:45 -04:00
Tam Nhu Tran b56b58c067 fix(cliproxy): preserve entitlement evidence on agy failures 2026-04-10 14:28:32 -04:00
Tam Nhu Tran 506b61eca6 fix(cliproxy): propagate agy entitlement failure metadata 2026-04-10 14:19:02 -04:00
Tam Nhu Tran 7c4545eb1b fix(cliproxy): attach entitlement evidence to agy failures 2026-04-10 13:42:51 -04:00
Tam Nhu Tran bb331ff5d8 feat(cliproxy): add entitlement evidence for gemini and agy 2026-04-10 13:17:50 -04:00
Tam Nhu Tran 5f9bafe9cd fix(ui): address provider lane review notes 2026-04-10 06:31:58 -04:00
Tam Nhu Tran 63b67f1c1c feat(profiles): add local runtime readiness checks 2026-04-10 05:49:38 -04:00
Tam Nhu Tran eaddfc467f fix(cliproxy): dedupe variant prefix sync 2026-04-10 01:16:31 -04:00
Tam Nhu Tran 40c4816acf fix(cliproxy): harden pinned routing follow-up 2026-04-10 01:16:31 -04:00
Tam Nhu Tran b6aa6fb0d4 fix(cliproxy): cover managed prefix review follow-up 2026-04-10 01:16:31 -04:00
Tam Nhu Tran 0c10cb6f47 fix(cliproxy): harden routing prefix sync and UI pinning 2026-04-10 01:16:31 -04:00
Tam Nhu Tran 4d5e52828b feat(cliproxy): add pinned model routing prefixes 2026-04-10 01:16:31 -04:00
Tam Nhu Tran 7ac6d0a4d4 fix(review): harden quota retry and tooltip edge cases 2026-04-09 00:14:51 -04:00
Tam Nhu Tran b6fb443f57 fix(cliproxy): refresh non-default gemini quota tokens 2026-04-08 23:55:55 -04:00
Tam Nhu Tran 7bbf32ae9a feat(cliproxy): source model pickers from upstream catalogs
- fetch live provider model definitions through /api/cliproxy/catalog

- overlay CCS preset metadata without keeping UI dropdowns as the source of truth

- wire /cliproxy and quick setup to the upstream-backed catalog path
2026-04-08 17:23:35 -04:00
Tam Nhu Tran 1923fce2ed fix(logging): harden log storage and cleanup 2026-04-08 16:34:36 -04:00
Tam Nhu Tran 42481c0bb9 fix(logging): address review feedback on cleanup and log reader 2026-04-08 15:57:15 -04:00
Tam Nhu Tran 6c799b2e58 feat(logging): unify CCS runtime logs and dashboard viewer
- add a shared structured logging service with bounded retention

- expose native /api/logs endpoints and the dashboard /logs route

- wire focused runtime emitters, cleanup support, and feature tests

Refs #926
2026-04-08 15:57:15 -04:00
Tam Nhu Tran 64ecd8b3dc feat(image-analysis): make MCP-first provisioning self-healing 2026-04-08 13:36:05 -04:00
Tam Nhu Tran 103f0547c9 fix(recovery): harden shared commands startup recovery 2026-04-08 11:00:18 -04:00
Kai (Tam Nhu) TranandGitHub a6beb7d531 Merge pull request #925 from kaitranntt/kai/feat/cliproxy-routing-guidance
feat(cliproxy): add routing guidance and strategy controls
2026-04-07 19:59:44 -04:00
Tam Nhu Tran 6393249111 feat(cliproxy): add routing guidance and strategy controls 2026-04-07 18:17:06 -04:00
Tam Nhu Tran c1d4294708 fix(cliproxy): remove dead codex reconcile settings arg 2026-04-07 17:59:56 -04:00
Tam Nhu Tran a39ded0b1a fix(cliproxy): preserve saved codex model selections
- stop the Codex free-plan compatibility guard from rewriting codex.settings.json
- keep saved dashboard selections intact and rely on runtime fallback when needed
- update reconcile coverage to lock the non-mutating behavior in place
2026-04-07 16:56:07 -04:00
Tam Nhu Tran d4f434a0e7 refactor(dashboard): use shared token fingerprinting for auth detection
Replace local mtime-only ProviderTokenSnapshot type and
listProviderTokenSnapshots/findNewTokenSnapshotForPendingAuth in
cliproxy-auth-routes with shared implementations from token-manager.
Ensures dashboard parity with CLI-side SHA-256 fingerprint detection.
2026-04-07 09:44:59 -04:00
Tam Nhu Tran 5b1754a320 fix(kiro): prefer scored URL extraction for stderr manual callback
Use extractLikelyOAuthAuthorizationUrl before falling back to naive
regex when detecting auth URLs in stderr for manual callback replay.
Prevents prompting with non-OAuth URLs when stderr emits multiple URLs.
2026-04-07 09:15:36 -04:00
Tam Nhu Tran d95cee1e84 fix(kiro): eliminate TOCTOU in token fingerprinting and harden tests
Cache file content in RawTokenCandidate to avoid double-reading token
files (TOCTOU race between metadata extraction and fingerprinting).
Rename stale test description and add fingerprint fields to test
snapshots so they exercise the same comparison path as production.
2026-04-07 08:47:22 -04:00
Tam Nhu Tran 25bcee2fa1 fix(kiro): require fresh token before auth success 2026-04-07 08:27:52 -04:00
Tam Nhu Tran 1603f19388 fix(usage): block remote refresh without auth 2026-04-07 07:04:57 -04:00
Tam Nhu Tran 5fbe731341 fix(web-server): block remote dashboard writes 2026-04-07 06:10:41 -04:00
Tam Nhu Tran 431c22a16a fix(dashboard): gate remote read-only auth 2026-04-07 05:19:44 -04:00
Tam Nhu Tran d130972916 feat(dashboard-auth): clarify remote dashboard login flow
- add explicit access modes so remote users see setup guidance instead of an ambiguous login

- redesign the login page with remote setup messaging, password visibility, and light/dark controls

- cover the access-state contract and login UI with focused tests
2026-04-06 17:01:49 -04:00
Tam Nhu Tran 1434c3d1e0 fix(kiro): harden callback replay and auth detection 2026-04-05 18:41:23 -04:00
Tam Nhu Tran 325d8d861d fix(kiro): parse Builder ID selector dynamically 2026-04-05 02:27:17 -04:00
Tam Nhu Tran bf5fcfc034 docs(help): add kiro idc flag guidance
- add a dedicated 'ccs help kiro' topic with IDC and paste-callback examples

- link the providers help topic to the new Kiro-specific help surface
2026-04-05 02:17:50 -04:00
Tam Nhu Tran f40d435a92 fix(kiro): harden idc and callback auth paths
- keep headless paste routing aligned with the selected Kiro auth method

- validate local callback replay targets and add prompt cancellation safeguards

- wire IDC params through the dashboard start route and support equals-form CLI flags
2026-04-05 02:04:11 -04:00
Tam Nhu Tran 0fbea0f335 fix(kiro): align auth flows with CLIProxyAPIPlus
- auto-select Builder ID for the default Kiro AWS auth flow

- support IDC auth flags and callback-based Kiro paste replay

- update regression coverage for Kiro auth routing
2026-04-05 02:04:11 -04:00
Tam Nhu Tran 1b3528f61a fix(auth): keep resume lane warning non-blocking
- extract account resume lane guidance into a dedicated auth helper

- swallow diagnostic failures so account launches still reach execClaude

- add focused tests for the warning success and failure paths
2026-04-04 12:31:19 -04:00
Tam Nhu Tran 2830c2ae9e feat(auth): add resume lane diagnostics and recovery
- add runtime-aware resume lane diagnostics and auth backup flows

- warn when account resume uses a different plain ccs continuity lane

- surface lane mismatch guidance in the accounts dashboard, docs, and tests
2026-04-04 12:17:32 -04:00
Tam Nhu Tran 01313a5a8e fix(auth): harden delayed oauth token registration 2026-04-04 00:37:04 -04:00
Tam Nhu Tran e2e5d99465 fix(auth): wait for polled oauth token persistence 2026-04-04 00:08:46 -04:00
Tam Nhu Tran c9bbc58dd4 perf(cliproxy): overlap gemini quota metadata fetches 2026-04-03 19:56:31 -04:00
Tam Nhu Tran a762d8dda0 feat(cliproxy): enrich gemini quota metadata 2026-04-03 19:43:17 -04:00
Tam Nhu Tran ffe3082528 fix(completion): fail closed on backend errors
- silence unexpected completion backend exceptions so TAB completion does not emit stack traces
2026-04-03 01:20:50 -04:00
Tam Nhu Tran e3074ae60e fix(cursor): tear down oversized daemon model responses
- destroy the response stream when /v1/models exceeds the body limit

- prevent the oversized-response fallback test from hanging during server shutdown
2026-04-03 01:09:46 -04:00
Tam Nhu Tran 3dcf879c9f refactor(cli): slim cursor completion imports
- extract cursor subcommand constants into a lightweight module

- remove redundant copilot token concatenation from the command catalog
2026-04-03 00:53:10 -04:00
Tam Nhu Tran 24ba2abe10 feat(cli): refresh help and shell completion UX
- add a shared command catalog for root help and completion routing

- replace shell-local completion logic with a hidden __complete backend

- add topic help and parity tests for router, help, and completion coverage
2026-04-03 00:53:10 -04:00
Tam Nhu Tran 748fde6599 fix(ci): restore cursor image analyzer hook import 2026-04-03 00:40:43 -04:00