945 Commits
Author SHA1 Message Date
linshen b96f2d06e7 fix(ui): keep evaluation popover open on apply actions
Prevent the analysis popover from closing when applying improvements/patches and align the iterate button style with replace.
2026-02-10 17:26:46 +08:00
linshen df8c2c0bdc fix(core): improve evaluation result parsing robustness 2026-02-10 17:03:23 +08:00
linshen 37c4137363 fix(ci): use packageManager pnpm version 2026-02-10 16:12:38 +08:00
linshen b2a5391d0c feat(core): prioritize user feedback in evaluation templates 2026-02-10 10:42:11 +08:00
linshen df97e1976e feat(ui): merge focus input into analyze button
Keep one-click analysis while allowing optional focus notes before the first score.
2026-02-09 23:48:55 +08:00
linshen 7a9fd7c01d fix(e2e): stabilize storage init and cap workers 2026-02-09 23:48:55 +08:00
linshen 64e1650607 feat(ui): add evaluation feedback editor and analyze flow 2026-02-09 23:48:55 +08:00
linshen 1a45e86b5e feat(core): support user feedback in evaluation templates 2026-02-09 23:48:55 +08:00
Salman Chishti bc3475f9f7 Upgrade GitHub Actions to latest versions (#250)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-07 18:47:38 +08:00
Salman Chishti 1662bd401c Upgrade GitHub Actions for Node 24 compatibility (#249)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-07 18:47:11 +08:00
linshen 290e99f910 chore(release): bump version to 2.5.3 2026-02-04 22:12:48 +08:00
linshen 7b8e005a2e fix(ui): align VariableAwareInput with NInput textarea 2026-02-04 21:37:12 +08:00
KanTakahiro ef2303a545 fix(core): 修复 Anthropic adapter 动态模型获取和 max_tokens 必需参数问题 (#246)
- 启用动态模型获取功能 (supportsDynamicModels: true)
- 实现 getModelsAsync 方法调用 Anthropic API
- 修复 max_tokens 必需参数问题(强制设置默认值 8192)
- 更新测试以匹配新行为
2026-02-05 14:59:57 +08:00
linshen 7e205124c5 fix(ui): warn on model list fallback
Show a warning and fall back to static models when dynamic model retrieval fails.
2026-02-04 22:43:00 +08:00
linshen f52b60bb37 fix(core): stop silent fallback in fetchModelList
Propagate dynamic model fetch errors so callers can handle fallback explicitly.
2026-02-04 21:28:00 +08:00
linshen 9610e7931f fix(ui): close CORS warning dialog
Run the connection test asynchronously so confirm closes the dialog immediately.
2026-02-04 20:56:00 +08:00
linshen 038a2d5343 feat(core): add Ollama adapters
Ollama can be deployed with proper CORS/reverse-proxy, so we avoid hard-marking it as browser-blocked and backfill legacy metadata.
2026-02-04 20:17:00 +08:00
linshen a6500ab775 fix(ui): auto-generate text model ids
- Remove manual model key input for new text models
- Generate unique ids with collision retries
- Add i18n message for id generation failures
2026-02-03 23:56:00 +08:00
linshen 0f33e9cf8d fix(core): allow testing disabled text models
- Allow testConnection to bypass the enabled check
- Keep sendMessage rejecting disabled models
2026-02-03 22:43:00 +08:00
linshen 81b8dcda20 fix(core): backfill provider CORS metadata
- Mark ModelScope provider as CORS-restricted
- Backfill missing providerMeta.corsRestricted on read
- Avoid eager adapter registry load unless needed
2026-02-03 21:17:00 +08:00
linshen 01ff1435f6 docs(user): add context mode guides 2026-02-02 20:12:51 +08:00
linshen 0b094a07f3 chore(release): 更新版本号到 2.5.2 2026-02-01 11:58:30 +08:00
linshen 5927aebf10 fix(ui): sync updater modal with theme 2026-02-01 11:52:03 +08:00
linshen 69f9115ffd fix(desktop): add localized right-click edit menu 2026-02-01 10:34:02 +08:00
linshen b034b56ff6 feat(integrations): import prompt-garden examples 2026-01-31 23:14:01 +08:00
linshen 23f54d7a13 fix(integrations): reset temp vars on prompt-garden import 2026-01-31 21:05:37 +08:00
linshen 138ed49672 chore(release): 更新版本号到 2.5.1
- 更新主包版本号从 2.5.0 到 2.5.1
- 更新桌面应用包版本号从 2.5.0 到 2.5.1
- 更新浏览器扩展版本号从 2.5.0 到 2.5.1
2026-01-31 17:54:43 +08:00
linshen 117de3b2ea fix(ui): store pro-multi messages in session 2026-01-31 17:25:57 +08:00
linshen fb48b3664e fix(integrations): unify prompt-garden env resolution 2026-01-31 16:48:51 +08:00
linshen 61b396d595 feat(ui): localize default pro-multi context example
Use i18n-backed sample system/user messages when pro-multi initializes with an empty context.
2026-01-30 21:12:49 +08:00
linshen 11289a7b21 fix(ui): stabilize pro-multi context actions and empty state
Route message updates into injected optimizationContext and use app-level open* handlers to prevent no-op clicks.

Avoid selecting a message on initial mount so the empty hint renders until the user picks one; add a regression test.
2026-01-29 21:45:00 +08:00
linshen 89a6f0de9c feat(ui): require prompt-garden v1 import schema
Require v1-only response schema (no legacy content/title), support text/messages prompts, import variables into submode temporary variables, and document Mustache-only placeholders.
2026-01-29 21:30:00 +08:00
linshen 1b0fb64939 fix(e2e): stabilize VCR replay for multi-column tests 2026-01-28 21:00:00 +08:00
linshen 752d5bbbde fix(ui): clarify temporary variable placeholder 2026-01-28 21:56:29 +08:00
linshen a49868a03f feat(ui): local prompt preview in submodes 2026-01-28 21:23:47 +08:00
linshen 361b133f94 fix(ui): unify pro-variable input variables 2026-01-28 21:08:13 +08:00
linshen 3d234e1f2f fix(ui): avoid selecting empty generated values 2026-01-27 23:40:28 +08:00
linshen f98f46e7bb feat(ui): support per-variable smart fill 2026-01-27 23:34:12 +08:00
linshen 97ea44af4e fix(ui): collapse predefined variables by default 2026-01-27 22:45:12 +08:00
linshen 7c13cc2173 refactor(ui): drop global vars button in ContextModeActions 2026-01-27 22:33:19 +08:00
linshen 6e495c0468 refactor(ui): remove global vars prop in image mode 2026-01-27 22:24:54 +08:00
linshen c9df28d42d refactor(ui): remove global vars wiring in context mode 2026-01-27 22:18:31 +08:00
linshen 80a1ba80df refactor(ui): drop global vars action in variables panel 2026-01-27 22:11:07 +08:00
linshen 1352125e5a fix(ui): polish variables panel labels and a11y 2026-01-27 23:59:12 +08:00
linshen 837702e769 fix(core): switch OpenRouter image default to gemini-2.5-flash-image 2026-01-27 23:57:38 +08:00
linshen e014db2b5e fix(ui): unify variable name validation and sanitize variables 2026-01-27 23:45:00 +08:00
linshen 99f4815c53 fix(ui): keep source view after optimize in variable modes
Avoid forceExitEditing flipping Pro/Image outputs back to Markdown render so variable highlighting remains the default.
2026-01-27 22:52:46 +08:00
linshen 3a28783326 feat(ui): persist temp vars per pro/image submode
Store temporary variables in each Pro/Image submode session and route useTemporaryVariables accordingly (Basic remains in-memory).
2026-01-27 22:16:52 +08:00
linshen 623c7c09ff feat(ui): add smart variable value generation
Provide smart fill for missing temp variables in Pro/Image and centralize the generation glue in a composable.
2026-01-27 22:07:14 +08:00
linshen 239e55d53a fix(ui): resolve model key for variable value generation
Ensure smart variable value generation always uses a non-empty evaluation model key (FunctionModelManager + fallbacks).
2026-01-27 21:52:23 +08:00