911 Commits

Author SHA1 Message Date
linshen
ce6d1cfc59 chore(release): bump version to 2.11.7 v2.11.7 2026-06-22 22:18:54 +08:00
linshen
1554e8a4a0 fix(desktop): support page zoom shortcuts 2026-06-22 21:47:36 +08:00
linshen
c08c329b5d fix(docker): add dedicated healthz endpoint 2026-06-21 14:05:55 +08:00
且炼时光
14bb18974c Merge pull request #315 from Neclode/fix/mcp-server-pnpm-verify-deps-crash
fix(docker): launch mcp-server via node directly to avoid pnpm verify-deps crash
2026-06-22 13:43:39 +08:00
Neclode
2358b0a05f fix(docker): launch mcp-server via node directly to avoid pnpm verify-deps crash
The Docker image's mcp-server process crashes on boot with
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND (#314). supervisord starts it via
`pnpm start`, and pnpm 10 runs a dependency-sync check before the script.
From the isolated /app/mcp-server dir it tries to resolve
`@prompt-optimizer/core@workspace:*`, can't find the workspace sibling,
and aborts before node ever runs.

The built artifact is self-contained (deps bundled, NODE_PATH=/app), so the
pnpm wrapper is unnecessary. Call node directly, matching the `start` script:

  node -r ./preload-env.cjs dist/start.cjs --transport=http --port=3000

Verified: mcp-server reaches RUNNING state and serves /mcp on a fresh build
from develop.

Fixes #314
2026-06-18 23:34:54 -07:00
linshen
971d007de7 chore(release): prepare v2.11.6 v2.11.6 2026-06-08 21:37:26 +08:00
且炼时光
d7cde6c2fc Merge pull request #308 from chaozai0304/develop
Fixed the OpenAI error when calling large image models: Unknown param…
2026-06-08 14:00:56 +08:00
linshen
ecbe788909 fix(evaluation): format provider error details 2026-06-07 10:28:39 +08:00
linshen
e039257871 fix(ui): allow unicode variable names in manager 2026-06-06 15:42:17 +08:00
李超
9ed01ce237 Fixed the OpenAI error when calling large image models: Unknown parameter: 'response_format'. (request id: 202606030925559064897917EvHxr7G) 2026-06-03 10:12:58 +08:00
Octopus
74b06cea72 feat: upgrade MiniMax default model to M3 (#307)
- Add MiniMax-M3 to the model selection list and set as the new default
- Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives
- Remove deprecated MiniMax-M2.5 and MiniMax-M2.5-highspeed from the list
- Update unit tests to match the new model lineup
2026-06-02 09:53:48 +08:00
linshen
d0f97e9463 chore(release): prepare v2.11.5 v2.11.5 2026-05-27 23:48:29 +08:00
linshen
c7d97d5018 docs: refine deployment guidance
- Align Cloudflare Workers setup across README and user docs
- Clarify build command cleanup and deployment context notes
- Keep frontend API key exposure warnings concise across providers
2026-05-27 23:17:46 +08:00
linshen
9119876b3e feat: add Xiaomi MiMo Token Plan provider 2026-05-27 21:28:37 +08:00
linshen
2e52c0b680 chore: slim deployment contexts 2026-05-19 23:48:05 +08:00
linshen
c06cf8adf6 docs: clarify docker compose env file usage 2026-05-18 22:54:46 +08:00
linshen
5d3b7ada92 fix(model): tolerate malformed stored text configs 2026-05-18 21:38:27 +08:00
linshen
ce73ae0c8c chore: tidy root project files 2026-05-17 15:36:52 +08:00
linshen
74c229a8f5 refactor(model): normalize model config identity 2026-05-16 16:47:18 +08:00
linshen
2c08e28ade docs: add cloudflare pages deployment guide 2026-05-16 11:23:41 +08:00
linshen
72b253565b chore(release): prepare v2.11.4 v2.11.4 2026-05-16 23:23:39 +08:00
linshen
c718d78ed4 fix(provider): pass Chrome Prompt API language options 2026-05-16 22:00:33 +08:00
linshen
75aeb5ba66 fix(web): restore root env loading
- Restore root .env loading for web Vite builds.
- Keep extension release env isolation intact.
- Cover package script behavior with node tests.
2026-05-16 13:31:18 +08:00
linshen
4340f1bf28 feat(provider): add Chrome built-in AI support
- Register Chrome built-in AI as a local text provider with availability checks.
- Add explicit setup/download gating and auto-enable safeguards.
- Preserve structured prompt roles through initialPrompts and stream tests.
2026-05-16 11:29:46 +08:00
linshen
b691f4f2c1 fix(core): keep local providers disabled by default
- Keep no-key and local model sources disabled until explicit user configuration exists.
- Tighten default text and image model enablement checks.
- Cover environment-driven defaults for local providers.
2026-05-16 09:47:21 +08:00
linshen
269df1dcf7 fix(release): isolate extension build env
- Split extension release builds from web env loading.
- Add a release secret guard for extension packaging.
- Keep web and extension Vite configs from leaking incompatible env.
2026-05-15 23:38:52 +08:00
linshen
7f04dcc52c fix(ui): soften themed tooltip surfaces
- Lighten themed tooltip backgrounds and borders.
- Add reusable theme composable coverage for readable contrast.
- Keep short tooltip styling aligned with UI theme tokens.
2026-05-15 22:14:33 +08:00
linshen
b5fbbc411f ci: run repository test gate on develop
- Use the repo test script in the develop workflow.
- Keep CI coverage aligned with local package verification.
2026-05-15 21:26:47 +08:00
linshen
684a7bf4c1 feat(provider): add Grok text and image support
- Add first-class xAI/Grok text and image adapters with dynamic model fallback.
- Register defaults, env mapping, docs, locale labels, and legacy converter handling.
- Cover Grok request payloads, image defaults, registry behavior, and input image limit checks.
2026-05-15 20:43:18 +08:00
linshen
0fbc25a6eb chore(release): prepare v2.11.3 v2.11.3 2026-05-14 21:39:46 +08:00
linshen
c12c55893a feat: add analytics and support links
- Inject Vercel Analytics for the landing site and documentation

- Add Ko-fi funding metadata and README support link
2026-05-14 21:29:17 +08:00
linshen
5e942ca945 feat: polish provider controls and themed UI
- Add provider pill selection and normalized provider display copy

- Adopt themed tooltips, confirmation dialogs, and Naive UI surface styles

- Enable Prompt Garden thumbnail previews through shared image preview components
2026-05-14 21:18:43 +08:00
linshen
d08494f6b6 refactor: clarify built-in template labels 2026-05-13 21:37:24 +08:00
linshen
b252168e04 chore(release): prepare v2.11.2 v2.11.2 2026-05-13 23:07:36 +08:00
linshen
f7a8c36303 test(e2e): stabilize image text2image vcr gate 2026-05-13 22:20:26 +08:00
linshen
95a030ebe0 fix(model): preserve literal strings in Python JSON normalization
Normalize Python-style JSON literals only outside quoted strings.

Preserve values like "False" and escaped literal words inside JSON strings.

Cover mixed string and unquoted literal custom parameter values.
2026-05-13 21:05:46 +08:00
SamCheng0717
1df08bc2e5 fix(model): support JSON custom parameter values
- Parse Python-style JSON literals for custom model parameters

- Add JSON/string format controls for custom parameter inputs

- Add model parameter docs and locale strings
2026-05-13 21:03:26 +08:00
linshen
ce26772cad fix(template): preserve variables in prompt templates
- Instruct default templates to keep variable placeholders intact

- Apply the guardrail across text, context, image, and iteration templates

- Extend preservation coverage for JSON-structure image prompts
2026-05-13 19:47:33 +08:00
linshen
5c111d0d86 fix(session): persist optimization sessions reliably
- Commit basic and context optimization session updates

- Persist image and pro conversation optimization results

- Restore sessions safely after history reload
2026-05-12 22:58:09 +08:00
linshen
f25837b6cb feat(ui): polish workspace controls and source cues
- Link test source cues back to prompt panel areas

- Add source-linked cards, variant tags, and feedback composables

- Add image model quick switching and workspace control polish
2026-05-12 21:36:52 +08:00
linshen
69db225a1a feat(model): support headers and text quick switching
- Add custom request header parsing and provider metadata resolution

- Add quick switching controls for text model workspaces

- Keep model UI labels and custom header output tidy
2026-05-10 23:08:14 +08:00
linshen
3f6c460154 feat(garden): add inspiration and import polish
- Add prompt garden inspiration suggestions for image workspaces

- Use public API paths and locale-aware suggestion loading

- Preserve category paths when importing favorites from Prompt Garden
2026-05-10 21:23:37 +08:00
linshen
b34ca68898 chore(release): move macOS note to release body footer 2026-05-10 15:57:12 +08:00
linshen
54cffb301c fix(ui): store favorite share PNG metadata as iTXt 2026-05-10 15:49:37 +08:00
linshen
b73454a613 test(ui): update text2image analysis guard v2.11.1 2026-05-10 15:45:00 +08:00
linshen
e5414d7b7a chore(release): bump version to 2.11.1 2026-05-10 15:40:00 +08:00
linshen
79e0ddf191 docs: update favorite sharing and backup guides 2026-05-10 15:35:00 +08:00
linshen
afba143962 feat(ui): support favorite share HTML and PNG files 2026-05-10 15:30:00 +08:00
linshen
efda7828b8 fix(ui): wire image workspace analysis actions 2026-05-10 15:20:00 +08:00
linshen
68adf69036 docs: add release notes for 2.11.0 v2.11.0 2026-05-10 13:36:18 +08:00