Commit Graph
284 Commits
Author SHA1 Message Date
Tam Nhu Tran 031dcd99c3 feat(dashboard): enrich droid docs and quick settings controls
- add reusable compatible-CLI docs registry with external provider fact-check links

- render docs links in Droid notes panel and keep future CLI extension points

- add left-column quick controls for key settings.json fields (reasoning/autonomy/diff/automation)
2026-02-26 00:03:58 +07:00
Tam Nhu Tran e9eab712b3 refactor(dashboard): reuse compatible CLI settings editor stack
- add shared backend JSON file probe/write utilities for compatible CLI settings

- add shared frontend raw JSON editor panel and wire Droid page to it

- support PUT save flow with validation and mtime conflict handling
2026-02-25 23:39:39 +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 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 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
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 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 2385d9028a feat(cliproxy): add Claude quota windows and account failover 2026-02-22 01:19:02 +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 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
Tam Nhu Tran faa610f843 fix(ui): make api profile dialog scrollable on small screens 2026-02-20 12:31:19 +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 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 70116cb3a1 refactor(ui): replace remaining hardcoded port defaults
- use shared cliproxy default in control panel embed

- use shared cursor default port in cursor page fallbacks
2026-02-18 03:10:10 +07:00
Tam Nhu Tran a53e6cbd25 refactor(ui): centralize provider metadata for setup wizard
- define provider display names and descriptions in provider-config

- consume shared metadata helpers in setup wizard constants
2026-02-18 03:10:09 +07:00
Tam Nhu Tran 6961fb0ec3 feat(ui): add Kimi provider logo with dark background
- Add kimi.svg (Moonshot brand logo, white on dark)
- Add kimi to provider-logo.tsx PROVIDER_IMAGES and PROVIDER_CONFIG
- Dark background for kimi logo container (bg-gray-900)
2026-02-17 20:13:34 +07:00
Tam Nhu Tran ddd5b159d2 fix(cliproxy): add kimi to wizard constants and image analysis config
- add kimi entry to PROVIDER_INFO and WIZARD_PROVIDER_ORDER in setup wizard
- add kimi to DEFAULT_IMAGE_ANALYSIS_CONFIG.provider_models
2026-02-17 17:16:52 +07:00
Tam Nhu Tran 7d7054e2c0 feat(targets): add multi-target CLI adapter system (Droid support)
Implement target adapter pattern enabling CCS CLI to support multiple backend targets
(Claude, Droid) via pluggable adapters. Core additions:

- TargetAdapter interface for pluggable target implementations
- ClaudeAdapter and DroidAdapter concrete implementations
- Target registry (singleton Map-based storage)
- Target resolver with precedence: --target flag > per-profile config > busybox detection
- Droid config manager with atomic writes and file locking to ~/.factory/settings.json
- Droid binary detector to validate runtime environment
- Adapter dispatch integrated into ccs.ts main execution flow
- ccsd busybox alias for seamless Droid invocation
- --target flag documentation in help
- Session tracking enriched with target metadata
- Dashboard target badge for visual identification

Testing:
- 43 unit tests covering resolver, registry, config manager, and adapters
- Full coverage of target detection logic and edge cases

Documentation:
- Refactored system-architecture.md into modular docs/system-architecture/ subdirectory
- Updated code-standards.md with target adapter guidelines
- Updated codebase-summary.md with architecture overview
- Updated maintainability baseline (33.8% → 35.2%)

This establishes extensible foundation for multi-target support without breaking
existing Claude workflows. Droid adapter is production-ready but defaults to Claude
for backward compatibility.
2026-02-16 10:49:09 +07:00
Tam Nhu Tran 4fc19c4390 feat(cliproxy): expose codex weekly reset schedule in quota views 2026-02-15 09:48:39 +07:00
Kai (Tam Nhu) TranandGitHub 16aeddfb11 Merge pull request #568 from kaitranntt/fix/555-cursor-e2e-recovery
feat(cursor): recover lost Cursor dashboard and model-mapping work
2026-02-14 17:50:57 +07:00
Tam Nhu Tran 7ab7a156eb feat(cursor-ui): restore Cursor dashboard UX and icon assets
- rebuild /cursor page with model tiers, presets, and save-all flow

- validate raw JSON edits via RawEditorSection before save operations

- add sidebar image icon rendering and restore cursor.svg asset

- include risk warning copy and OpenAI-first GPT-5.3 Codex preset

Refs #555
2026-02-14 16:57:27 +07:00
Kai (Tam Nhu) TranandGitHub c9b4a9ccba Merge pull request #561 from kaitranntt/fix/552-review-followups
fix(cliproxy): harden Kiro device-code auth flow consistency
2026-02-14 13:38:00 +07:00
Tam Nhu Tran e3f0860750 fix(ui): use type-only import for KiroAuthMethod
- satisfy verbatimModuleSyntax during ui build in CI
2026-02-14 13:36:13 +07:00
Tam Nhu Tran 6a21f3921b fix(ui): add method-aware kiro auth flow parity
- add Kiro auth-method selector with AWS device-code default

- route start requests by method-specific flow and endpoint

- support auth_url status polling and delayed URL UX state

Refs #552

Refs #233
2026-02-14 13:33:57 +07:00
Tam Nhu Tran 945db1d690 feat(cliproxy): clarify codex effort mapping and preset UX 2026-02-14 11:31:18 +07:00
Tam Nhu Tran 826a42d8d6 fix(cliproxy): harden kiro device-code auth flow consistency 2026-02-14 10:55:14 +07:00
Kai (Tam Nhu) TranandGitHub 174a4c2777 Merge pull request #558 from kaitranntt/kai/fix/555-cursor-e2e
feat(cursor): complete end-to-end integration and dedicated dashboard UX
2026-02-14 09:03:09 +07:00
Tam Nhu Tran 40512fe338 fix(codex): stabilize code review window labeling 2026-02-14 06:28:48 +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 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
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