picoclaw/web/frontend/src
肆月 f6190b54de
feat(web,api): fetch models and saved catalog support (#2832)
* feat(web,api): add fetch models and saved catalog support

Split from PR #2752 (part 2 of 3).

Backend:
- /api/models/catalog endpoint for browsing remote model catalogs
- /api/models/fetch endpoint for fetching available models from providers
- Credential reuse with provider/API base matching for security
- Default API base resolution for providers without explicit base

Frontend:
- FetchModelsDialog for importing models from remote providers
- CatalogDialog for browsing and importing from model catalogs
- Static import for FetchModelsDialog (replaces dynamic import from PR1)
- Dynamic import retained for TestModelDialog (PR3 territory)

* fix(web,api): support bare-array responses in fetchOpenAICompatibleModels

* fix(web,api): tighten maskAPIKeyValue to match maskAPIKey policy

For 9-12 character keys, maskAPIKeyValue exposed first 4 + last 4
chars (only 1 char masked for a 9-char key). Now uses the same
policy as maskAPIKey: first 3 + last 2 for 9-12 chars, first 3 +
last 4 for longer keys. Adds tests covering all key length boundaries.
2026-05-15 09:49:03 +08:00
..
api feat(providers): add gemini web search provider (#2763) 2026-05-14 09:50:47 +08:00
components feat(web,api): fetch models and saved catalog support (#2832) 2026-05-15 09:49:03 +08:00
features/chat refactor(pico): unify message kind handling of tool_calls and thought (#2680) 2026-04-28 10:17:12 +08:00
hooks feat(web,api): provider selection and model form foundation (#2831) 2026-05-11 16:57:37 +08:00
i18n docs: add evolution config controls (#2852) 2026-05-12 11:23:06 +08:00
lib feat: add config save and restart prompts 2026-04-26 22:09:00 +08:00
routes refactor(web): switch dashboard auth from tokens to passwords (#2608) 2026-04-21 18:04:15 +08:00
store feat: add config save and restart prompts 2026-04-26 22:09:00 +08:00
app-providers.tsx chore(web): move app providers out of main entry 2026-04-15 17:36:22 +08:00
index.css refactor(web): use official highlight themes for markdown 2026-04-15 17:19:48 +08:00
main.tsx chore(web): move app providers out of main entry 2026-04-15 17:36:22 +08:00
routeTree.gen.ts feat(launcher): standard HTTP login/setup/logout flow for dashboard, frontend and backend impl. and fix windows pid lock for ws (#2339) 2026-04-08 21:43:51 +08:00