Commit Graph
250 Commits
Author SHA1 Message Date
Tam Nhu Tran 7e471e663c fix(cliproxy): normalize iflow aliases for explicit routing 2026-03-03 23:34:38 +07:00
Tam Nhu Tran 546c4ee4ee fix(cliproxy): normalize stale iflow model aliases 2026-03-03 23:26:07 +07:00
Kai (Tam Nhu) TranandGitHub 947ba3dfb6 Merge pull request #666 from theoDep/fix/claude-4-6-models-pricing
feat(pricing): fix claude sonnet 4.6 and claude opus 4.6 pricing
2026-03-03 11:16:47 -05:00
Tam Nhu Tran d31f85b0d4 fix(pricing): handle date-stamped 4.6 thinking model IDs 2026-03-03 23:08:04 +07:00
Tam Nhu Tran 09ce1a9379 fix(usage): coalesce refresh and force live sync on refresh
- share one full-refresh promise across usage loaders to avoid duplicate work

- sync CLIProxy snapshot before source refresh and start sync lazily

- make refresh handler execute full refresh with proper error response

- reset pending cache state and guard sync interval double-start
2026-03-03 23:05:24 +07:00
Tam Nhu Tran e8519b6ac3 fix(web-server): run usage cleanup during dashboard shutdown
- pass server cleanup callback into graceful shutdown wiring

- stop usage aggregator background sync when config server exits

- prevent orphaned sync intervals across dashboard restarts
2026-03-03 23:05:24 +07:00
theodep 9a7ca3f1c0 feat(pricing): fix claude sonnet 4.6 and claude opus 4.6 pricing 2026-03-03 16:27:06 +01:00
Tam Nhu Tran f63e2cd5a3 fix(cliproxy): denylist deprecated agy 4.5 models 2026-03-03 03:10:53 +07:00
Tam Nhu Tran c5124a9cee feat(analytics): integrate CLIProxy multi-provider usage into dashboard
Add unified analytics tracking for all CLIProxy-routed providers
(Gemini/Droid, Codex, OpenCode, Antigravity, Qwen) alongside
existing Claude JSONL data.

- New transformer converts CLIProxy usage API response to
  DailyUsage/HourlyUsage/MonthlyUsage types
- New syncer periodically fetches CLIProxy data (5min interval)
  and persists snapshots to ~/.ccs/cache/cliproxy-usage/
- Aggregator treats CLIProxy as 3rd data source alongside
  default Claude config and CCS instances
- Charts automatically show multi-provider data in unified view
- Graceful degradation when CLIProxy is unavailable
2026-03-03 01:12:12 +07:00
Tam Nhu Tran 747c706369 fix(agy): harden preset canonicalization and migration coverage 2026-03-03 00:39:16 +07:00
Tam Nhu Tran 0b57e41b3a fix(cliproxy): harden agy model canonicalization and migration paths 2026-03-02 21:43:33 +07:00
Tam Nhu Tran b6475baab3 feat(accounts): add advanced deeper continuity mode and claude pool discoverability 2026-02-26 19:01:13 +07:00
Tam Nhu Tran 10c08b9be8 fix(accounts): focus dashboard on auth profiles and legacy context onboarding 2026-02-26 18:20:07 +07:00
Tam Nhu Tran 5c6fe20d3f fix(accounts): improve shared-context editing and discoverability 2026-02-26 18:10:06 +07:00
Tam Nhu Tran f9f063ca01 fix(shared): polish shared data UX and route persistence 2026-02-26 17:46:35 +07:00
Tam Nhu Tran 46b4f9c1cf fix(shared): harden markdown traversal and parsing 2026-02-26 14:57:57 +07:00
Tam Nhu Tran 346fa5fcda fix(shared): support file-based agents and recursive commands 2026-02-26 14:57:57 +07:00
Kai (Tam Nhu) TranandGitHub 267bd4c187 Merge pull request #631 from GeorgeDong32/main
feat(pricing): add MiniMax M2.5 and Qwen3 series model pricing
2026-02-26 02:48:07 -05:00
Tam Nhu Tran 7ac5e3edab fix(pricing): normalize model aliases for MiniMax and Qwen 2026-02-26 14:15:32 +07:00
Kai (Tam Nhu) TranandGitHub a30d55777f Merge pull request #627 from kaitranntt/kai/feat/624-share-context
fix(auth): harden shared-context isolation edge cases
2026-02-26 01:47:39 -05:00
Kai (Tam Nhu) TranandGitHub 4f1aa69d01 Merge pull request #623 from kaitranntt/kai/fix/agy-responsibility-gate
fix(agy): enforce multi-step responsibility acknowledgement for antigravity oauth
2026-02-26 01:44:43 -05:00
Tam Nhu Tran eedb53b49e feat(droid): sync reasoning effort across CLI and dashboard 2026-02-26 12:27:50 +07:00
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 20e48b3dc0 refactor(dashboard): switch droid settings I/O to async fs
- replace sync fs calls in compatible CLI JSON helper with fs.promises

- make droid diagnostics/raw-settings service + routes async

- update unit tests for async save/read paths
2026-02-25 23:42:17 +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 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 60b1c043c7 feat(droid): align BYOK provider mapping for ccsd
- add Droid provider resolver aligned with Factory BYOK schema

- persist and normalize CCS_DROID_PROVIDER across CLI and dashboard flows

- use Droid managed selector aliases with safe legacy fallback

- add unit coverage for provider inference and selector usage

Closes #632
2026-02-25 20:58:35 +07:00
Tam Nhu Tran 2e8c7a3691 test(web-server): cover profile and variant target parsing
- export route target parsers for direct unit coverage

- verify accepted and rejected target payloads for both route modules
2026-02-25 17:01:06 +07:00
Tam Nhu Tran 5b60784eb8 feat(cliproxy): accept target in variant routes
- validate target request payloads for create and update APIs

- pass target into single/composite service operations

- include target in variant API responses
2026-02-25 15:52:18 +07:00
Tam Nhu Tran e833054642 feat(api): support profile target in routes
- validate target payloads for profile create/update

- return target in profile list and create responses

- allow updating target independently from settings values
2026-02-25 15:51:43 +07:00
George·Dong 089aa08136 feat(pricing): add MiniMax M2.5/M2.5-lightning and Qwen3 series (max/plus/flash/coder) model pricing
- Add MiniMax M2.5 and M2.5-lightning pricing
- Fix MiniMax M2.1-lightning input price (0.3 -> 0.6)
- Add Qwen3 series: qwen3-max, qwen3.5-plus, qwen3.5-flash, qwen3-coder-plus, qwen3-coder-flash
- Include date-stamped and preview variants for qwen3-max
2026-02-25 14:24:20 +08:00
Tam Nhu Tran 0309630193 fix(auth): harden shared-context isolation and config safety 2026-02-25 04:19:28 +07:00
Tam Nhu Tran 0b070a3f34 fix(auth): close shared-context isolation edge cases 2026-02-25 04:09:46 +07:00
Tam Nhu Tran 7d5e604e53 fix(auth): harden shared-context isolation edge cases 2026-02-25 04:09:46 +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 36d5cb723e fix(proxy): harden AGY risk persistence and confirm UX
- add lock-held mutateUnifiedConfig read-modify-write path for config.yaml

- use atomic mutation in /api/settings/auth/antigravity-risk to prevent stale overwrites

- replace browser confirm with in-app 2-step banner + typed phrase validation

- verify saved AGY power-user value with post-save read before showing success

Refs #509
2026-02-24 18:45:41 +07:00
Tam Nhu Tran b602ab99ab fix(auth): harden agy safety endpoints and config writes
- add safer error responses for settings/auth routes to avoid leaking internals

- guard sensitive AGY settings endpoints to localhost when dashboard auth is off

- validate start-route bodies and reject OAuth start in remote mode for consistency

- preserve cliproxy.kiro_no_incognito and token_refresh during config merges

- enforce AGY acknowledgement in remote auth-token run/auth command paths
2026-02-24 18:09:36 +07:00
Tam Nhu Tran d3c271ab2c feat(agy): add power-user bypass for responsibility acknowledgement 2026-02-24 17:42:57 +07:00
Tam Nhu Tran 3b1271b5e4 fix(agy): enforce multi-step responsibility acknowledgement for antigravity oauth 2026-02-24 17:23:02 +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 c98e58383c Merge remote-tracking branch 'origin/dev' into pr-612-review
# Conflicts:
#	src/utils/claude-config-path.ts
#	src/web-server/shared-routes.ts
2026-02-23 23:30:03 +07:00
Tam Nhu Tran 498b66d9cc fix(web-server): harden shared route symlink scanning 2026-02-23 23:22:29 +07:00
Tam Nhu Tran be96b84e61 fix(codex): canonicalize dashboard presets and migrate suffixed settings 2026-02-23 22:52:44 +07:00
innovatiasandClaude Opus 4.6 e3dbc67634 fix(web-server): detect symlinked shared entries
Handle shared skills and agents when entries are symlinked directories.
Also avoid classifying root markdown files in skills/agents as commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 22:08:53 +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 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 343ec959fc fix(core): resolve edge cases and hardcoded drift 2026-02-21 10:32:19 +07:00
Tam Nhu Tran 8d2ec86155 refactor(core): centralize claude paths and command parsing 2026-02-21 01:31:16 +07:00