Commit Graph
441 Commits
Author SHA1 Message Date
Tam Nhu Tran c6d2e71ec2 fix(dashboard): align droid config diagnostics with factory paths
- replace ~/.config/factory/config.json diagnostics with legacy ~/.factory/config.json

- keep ~/.factory/settings.json as the primary BYOK source in UI + API payload

- update droid dashboard tests and frontend typings for legacyConfig
2026-02-25 23:26:23 +07:00
Tam Nhu Tran bc079bc886 feat(dashboard): add dedicated Factory Droid diagnostics page
- add /droid route under a new Compatible CLIs sidebar section

- expose /api/droid/diagnostics and /api/droid/settings/raw for install and BYOK visibility

- include read-only settings.json viewer plus model/provider breakdown

- add unit coverage for droid dashboard service parsing and path logic
2026-02-25 22:59:15 +07:00
Tam Nhu Tran 69378ada3e fix(ui): de-surface updates center from primary navigation
- remove Updates Center from sidebar general nav

- remove updates spotlight banners from home, api, and cliproxy pages

- adjust updates catalog copy to reflect on-demand inbox usage
2026-02-25 20:14:41 +07:00
Tam Nhu Tran ae7ab59746 fix(ui): tighten updates action row type narrowing 2026-02-25 20:07:05 +07:00
Tam Nhu Tran 78eac7d500 feat(ui): redesign updates center into action inbox
- replace release-note-heavy layout with task-first action inbox

- add persistent local notice progress states (new/seen/done/dismissed)

- introduce actionable notice metadata and related integration mapping

- keep full-page shell fixed with internal scrolling only
2026-02-25 20:06:02 +07:00
Tam Nhu Tran 1698eadc94 fix(ui): remove nested sidebar list markup 2026-02-25 18:27:28 +07:00
Tam Nhu Tran 473644564d fix(ui): redesign updates page as changelog-first layout
- shift /updates from support-matrix-heavy view to compact announcement workflow

- reduce top section footprint and align structure with existing dashboard pages

- enforce internal panel scrolling while keeping outer page frame fixed
2026-02-25 18:21:50 +07:00
Tam Nhu Tran d47efc783e fix(ui): align updates page with dashboard layout patterns
- refactor updates route to full-height split layout like API/CLIProxy pages

- move scrolling into internal panels via ScrollArea

- keep announcements and matrix in consistent master-detail structure
2026-02-25 18:14:14 +07:00
Tam Nhu Tran c7c4c87fb4 feat(ui): surface updates center across dashboard
- add /updates route and sidebar navigation entry

- show updates spotlight on Home, API Profiles, and CLIProxy pages

- export Updates page for lazy route loading consistency
2026-02-25 18:05:35 +07:00
Tam Nhu Tran e9d2515a7f feat(ui): add updates center with support matrix
- add data-driven catalog for support notices and CLI compatibility

- introduce Updates Center page with announcements, filtering, and search

- render reusable support cards and status badges for future expansions
2026-02-25 18:05:16 +07:00
Tam Nhu Tran a7db16c129 fix(ui): align cliproxy log polling with existing API routes
- replace non-existent /api/cliproxy/logs calls with /api/cliproxy/error-logs

- map error-log file metadata into polling entries with timestamp filtering
2026-02-25 17:02:13 +07:00
Tam Nhu Tran d385bd19f2 fix(ui): harden target update flows in profile editors
- send strict target-only payloads when cliproxy edit only changes target

- route profile target updates through shared api client error handling

- block concurrent save/target actions in header controls
2026-02-25 17:01:53 +07:00
Tam Nhu Tran 1c7e4e116f fix(ui): align cliproxy target schema typing
- remove zod default() on target fields in cliproxy forms

- keep target defaults via react-hook-form defaultValues

- resolve ci-parity TypeScript resolver mismatch errors
2026-02-25 15:59:33 +07:00
Tam Nhu Tran 6aae3ba998 feat(ui): surface cliproxy target in provider editor
- pass selected variant target into provider editor context

- show target in sidebar badges and info tab metadata

- add target-aware quick usage command snippets
2026-02-25 15:54:03 +07:00
Tam Nhu Tran 543ec5f050 feat(ui): add target controls to cliproxy variants
- add default target selectors in create/edit dialogs

- include target in variant create/update payloads

- display target badge column in variants table
2026-02-25 15:53:40 +07:00
Tam Nhu Tran db38ccc117 feat(ui): support editing profile default target
- add target selector in profile editor header

- call profile update API to persist target changes

- update info panel usage snippets for target-aware commands
2026-02-25 15:53:22 +07:00
Tam Nhu Tran ca78e63205 feat(ui): add target support to API profile dashboard
- extend API client types with claude|droid target fields

- add default target selector in API profile create dialog

- show target badges in API profile list
2026-02-25 15:53:02 +07:00
Kai (Tam Nhu) TranandGitHub ed8d352391 Merge pull request #626 from kaitranntt/kai/fix/agy-model-reset-sonnet46
fix(cliproxy): prevent agy model reset and add sonnet 4.6 models
2026-02-24 12:23:35 -05:00
Tam Nhu Tran bebb7582cf fix(cliproxy): prevent agy model reset and add sonnet 4.6 models 2026-02-25 00:12:49 +07:00
Tam Nhu Tran 4fed74c64b feat(auth): add opt-in shared context groups across accounts 2026-02-24 23:54:03 +07:00
Tam Nhu Tran 00495b6675 fix(cliproxy): strengthen account safety warning and redesign alert UI 2026-02-24 12:01:07 +07:00
Tam Nhu Tran 4eb2be79fc fix(cliproxy): prevent blank page in remote mode 2026-02-24 00:47:40 +07:00
Tam Nhu Tran be96b84e61 fix(codex): canonicalize dashboard presets and migrate suffixed settings 2026-02-23 22:52:44 +07:00
Tam Nhu Tran ca58cb5a08 fix(cliproxy): harden quota guards and review follow-ups 2026-02-22 02:35:07 +07:00
Tam Nhu Tran 8c790f41ff fix(cliproxy): close remaining quota edge-case gaps 2026-02-22 02:12:40 +07:00
Tam Nhu Tran d47620592d Merge remote-tracking branch 'origin/dev' into fix/548-claude-quota-balance
# Conflicts:
#	src/commands/cliproxy/help-subcommand.ts
#	src/commands/cliproxy/index.ts
#	src/commands/cliproxy/quota-subcommand.ts
2026-02-22 01:24:44 +07:00
Tam Nhu Tran 2385d9028a feat(cliproxy): add Claude quota windows and account failover 2026-02-22 01:19:02 +07:00
Tam Nhu Tran 6074fcb0b6 fix(refactor): address PR review follow-up findings 2026-02-21 01:44:44 +07:00
Tam Nhu Tran 8d2ec86155 refactor(core): centralize claude paths and command parsing 2026-02-21 01:31:16 +07:00
Tam Nhu Tran b3177179b1 fix(ui): harden provider preset/icon typing
- replace unsafe provider asset/color index lookups with typed helpers

- explicitly type UI preset override map to satisfy ProviderPresetId indexing

- resolves TS7053 failures seen in validate CI after dev merges
2026-02-20 23:24:11 +07:00
Tam Nhu Tran 14242b5681 fix(profiles): reset form state on preset transitions
- resolve presets through canonical alias-aware lookup

- reset all tier model fields when switching presets/custom

- derive quick templates from non-recommended categories
2026-02-20 23:24:11 +07:00
Tam Nhu Tran 9ad8e64e85 refactor(ui): centralize provider metadata and fallbacks
- move logo, label, and device-code copy into provider-config

- handle unknown or non-string providers without UI crashes

- replace duplicated hardcoded mappings in cliproxy table/logo
2026-02-20 23:24:11 +07:00
Tam Nhu Tran 21d6754ec6 refactor(presets): centralize shared provider preset catalog
- add shared preset catalog used by CLI and Dashboard

- enforce alias/id integrity and canonical normalization

- replace duplicated preset definitions in service and UI layers

- allow Vite dev fs access to repo root for shared catalog imports
2026-02-20 23:24:11 +07:00
Tam Nhu Tran 8201204380 fix(quota): address ghcp review follow-ups 2026-02-20 22:53:49 +07:00
Tam Nhu Tran 2c5b2af55a fix(ui): normalize ghcp quota tooltip and labels 2026-02-20 22:40:22 +07:00
Tam Nhu Tran 8d9d4987dc feat(quota): add GitHub Copilot quota checks for ghcp and copilot 2026-02-20 22:32:27 +07:00
Kai (Tam Nhu) TranandGitHub 2eddd5c773 Merge pull request #590 from kaitranntt/fix/api-profiles-mobile-scroll
fix(ui): make API profile dialog scrollable on small screens
2026-02-20 12:36:18 +07:00
Tam Nhu Tran faa610f843 fix(ui): make api profile dialog scrollable on small screens 2026-02-20 12:31:19 +07:00
Kai (Tam Nhu) TranandGitHub e63292c793 Merge pull request #587 from kaitranntt/kai/feat/583-thinking-ux-dx
feat(thinking): complete thinking UX/DX for all providers
2026-02-19 16:32:05 +07:00
Tam Nhu Tran 92e2ec111d fix(thinking): harden codex reasoning controls across cli and dashboard 2026-02-19 14:13:41 +07:00
Tam Nhu Tran 0bf00b23d9 fix(profile): close km legacy kimi compatibility gaps 2026-02-19 13:02:56 +07:00
Tam Nhu Tran c48ed2ea7f feat(thinking): complete thinking UX/DX for all providers
- Fix codex off-mode bug: add disableEffort to CodexReasoningProxy
  so mode=off actually skips reasoning injection
- Add CCS_THINKING env var (priority: flag > env > config)
- Add startup feedback: [i] Thinking: <level> (<source>)
- Add ccs config thinking CLI subcommand with --mode, --override,
  --tier, --provider-override, --clear-override
- Dashboard: add manual override selector when mode=manual
- Dashboard: add provider overrides collapsible section
- Dashboard: update info box with CCS_THINKING env var docs
- Update help-command.ts with CCS_THINKING and config thinking

Closes #583
2026-02-19 12:45:23 +07:00
Kai (Tam Nhu) TranandGitHub 10c15dab3d Merge pull request #585 from kaitranntt/kai/fix/kimi-missing-models
fix(cliproxy): add Kimi model catalog, sync, and pricing to dashboard
2026-02-19 10:49:00 +07:00
Tam Nhu Tran 3767b95735 fix(cliproxy): add Kimi model catalog, sync, and pricing to dashboard
- Add kimi entry to UI model-catalogs.ts with K2.5, K2 Thinking, K2
  models and preset mappings so dashboard shows available models
- Add kimi to CHANNEL_TO_PROVIDER and SYNCABLE_PROVIDERS in
  catalog-cache.ts so models sync from upstream CLIProxyAPI
- Add kimi/moonshot to provider-editor ownerMap for model filtering
- Update Kimi model pricing to match official Kimi Platform rates:
  kimi-k2.5 ($0.60/$3.00), kimi-k2-thinking ($0.60/$2.50),
  kimi-k2-turbo-preview ($1.15/$8.00)
- Add missing kimi-k2.5 pricing entry

Closes #581
2026-02-19 10:28:40 +07:00
Tam Nhu Tran 476eabe08f fix(cliproxy): warn gemini and agy users about issue 509 2026-02-19 10:12:57 +07:00
Tam Nhu Tran ecc4a3fe58 fix(cliproxy): normalize codex model and provider routing 2026-02-18 21:27:58 +07:00
Tam Nhu Tran c18adc90c3 fix(ui): harden cliproxy panel and proxy edge handling
- make iframe auto-login/reload flow race-safe and lint-compliant

- normalize API base joins and replace conflict sentinels with typed errors

- tighten proxy port validation and defer cursor preset apply until models load

- add ui api-client unit coverage for path and conflict helpers
2026-02-18 04:18:57 +07:00
Tam Nhu Tran 7e527af777 refactor(cliproxy): resolve remaining review parity and cleanup nits
- export buildProviderMap from provider capabilities and reuse in auth-types

- add provider descriptions to backend capabilities and sync display names

- remove ui CLIPROXY_PORT alias and use CLIPROXY_DEFAULT_PORT directly

- return stable string from getProviderDescription

- extend backend/ui parity tests for display name and description values
2026-02-18 03:35:08 +07:00
Tam Nhu Tran 39593c161b refactor(cliproxy): address review feedback on parity and refresh flow
- make refresh ownership handling exhaustive in provider refresher

- extend backend/ui sync test to provider IDs and device-code providers

- remove DEFAULT_CURSOR_PORT re-export from use-cursor hook

- import cursor default port directly from shared defaults module
2026-02-18 03:24:28 +07:00
Tam Nhu Tran 5a786263bc fix(ui): replace stale BASE_URL references in api client
- use withApiBase for config yaml, auth file, and error log endpoints

- resolve UI build/typecheck failure in CI validate job
2026-02-18 03:15:03 +07:00