picoclaw/web/backend
肆月 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(web,api): fetch models and saved catalog support (#2832) 2026-05-15 09:49:03 +08:00
dashboardauth fix(launcher): fall back to token auth on unsupported platforms (#2466) 2026-04-10 11:12:54 +08:00
dist refactor Config to add Version and migratable 2026-03-12 13:52:55 +08:00
launcherconfig refactor(web): switch dashboard auth from tokens to passwords (#2608) 2026-04-21 18:04:15 +08:00
middleware refactor(web): switch dashboard auth from tokens to passwords (#2608) 2026-04-21 18:04:15 +08:00
model feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
utils fix(launcher): refine console host display 2026-04-14 14:04:37 +08:00
winres feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
.gitignore feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
app_runtime.go fix(web): address latest Copilot review points 2026-04-14 23:39:59 +08:00
embed.go feat(web): implement macOS app feature and file logger (#1723) 2026-03-18 14:43:58 +08:00
embed_test.go feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
i18n.go 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
icon.ico feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
icon.png add systray ui for all platform (#1649) 2026-03-17 14:12:32 +08:00
main.go Keep launcher locale changes from mutating shared web-search routing (#2573) 2026-04-24 13:45:25 +08:00
main_test.go refactor(web): switch dashboard auth from tokens to passwords (#2608) 2026-04-21 18:04:15 +08:00
systray.go build: address PR review — fix Android launcher flags, systray tag, rename target 2026-04-12 18:50:52 +08:00
systray_icon_nonwindows.go refactor(web): clean up systray platform build files 2026-03-25 11:44:57 +08:00
systray_icon_windows.go refactor(web): clean up systray platform build files 2026-03-25 11:44:57 +08:00
systray_stub_nocgo.go build: add Android arm64 cross-compile support 2026-04-12 17:41:10 +08:00