Commit Graph
1190 Commits
Author SHA1 Message Date
Tam Nhu Tran 8d8f4469b6 fix(websearch): reject blank searxng status urls 2026-04-12 14:46:56 -04:00
Tam Nhu Tran 54791b5cca Merge remote-tracking branch 'origin/dev' into kai/fix/958-searxng-pr-review 2026-04-12 06:32:27 -04:00
Tam Nhu Tran 8b553c35c1 fix(websearch): harden searxng url handling 2026-04-12 06:31:20 -04:00
Tam Nhu Tran 898e7a6321 hotfix: detect bun-owned installs through symlinked ccs path 2026-04-12 01:33:48 -04:00
Tam Nhu Tran 7776715eba fix(docker): delegate restart/install to supervisorctl in Docker deployments
The dashboard restart button and install service used local-mode process
management (stopProxy + ensureCliproxyService) which conflicts with
supervisord in Docker deployments. Killing the CLIProxy binary caused the
bootstrap wrapper to exit, supervisord to attempt a restart, but
ensureCliproxyService already spawned an orphaned process on :8317
resulting in EADDRINUSE and supervisord entering FATAL state.

Detect supervisord via /var/run/supervisor.sock and delegate to
supervisorctl restart, matching the pattern already used by
ccs docker update.

Closes #964
2026-04-11 17:50:11 -04:00
buiducnhat 36d828f99c feat(websearch): add url property to WebSearchProviderConfig interface 2026-04-11 19:35:41 +07:00
buiducnhat eec8c8b4a3 feat(websearch): add SearXNG provider support and configuration
- Updated websearch.md to include SearXNG in the configuration guide.
- Implemented SearXNG JSON API integration in websearch-transformer.cjs.
- Enhanced unified-config-loader.ts to support SearXNG settings.
- Defined SearXNG configuration types in unified-config-types.ts.
- Updated hook-env.ts to manage SearXNG environment variables.
- Modified status.ts to include SearXNG in web search provider checks.
- Added SearXNG routes and validation in websearch-routes.ts.
- Implemented SearXNG provider tests in websearch-transformer.test.ts.
- Updated readiness tests to account for SearXNG in status.test.ts.
- Enhanced websearch routes tests to validate SearXNG settings.
- Added SearXNG configuration fields in the UI settings.
2026-04-11 16:43:59 +07:00
Tam Nhu Tran 94bcad2d1a fix(update): align no-update dependency injection 2026-04-10 23:06:37 -04:00
Tam Nhu Tran a4496ff1d9 fix(update): harden install verification flow 2026-04-10 22:44:46 -04:00
Tam Nhu Tran 59e04cb56f fix(update): isolate updater test dependencies 2026-04-10 22:27:07 -04:00
Tam Nhu Tran 2aaabb2deb fix(update): target the current CCS installation 2026-04-10 21:39:50 -04:00
Kai (Tam Nhu) TranandGitHub dcc584e375 Merge pull request #951 from kaitranntt/kai/feat/765-huggingface-inference-providers
feat: add Hugging Face API profile preset
2026-04-10 18:27:24 -04:00
Tam Nhu Tran 9458c432d8 chore: merge origin/dev into feature branch 2026-04-10 18:07:28 -04:00
Tam Nhu Tran 25dd9ab9e1 fix(cliproxy): align AGY preset aliases 2026-04-10 18:07:22 -04:00
Tam Nhu Tran 0e4677f558 fix: sanitize cliproxy provider model pickers 2026-04-10 18:07:22 -04:00
Tam Nhu Tran 52ac29e7a8 fix(api): constrain preset target defaults
- limit preset default targets to persisted API profile targets

- add regression coverage for preset target resolution and profile target persistence
2026-04-10 17:44:25 -04:00
Tam Nhu Tran e090c8b0d4 fix(image-analysis): preserve default runtime deps 2026-04-10 17:40:27 -04:00
Tam Nhu Tran 83255f4771 feat(api): add Hugging Face provider preset
- add the huggingface preset and hf alias to the shared preset catalog

- default the preset to Factory Droid because the documented path is generic chat completions

- cover the CLI and dialog behavior with preset metadata and UI tests
2026-04-10 17:29:25 -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