100 Commits
Author SHA1 Message Date
linshen 1ee326fc89 fix(desktop): define Linux executable name 2026-09-11 09:16:02 +08:00
linshen c80c70a738 chore(release): prepare v2.11.10 2026-09-11 08:52:55 +08:00
linshen f089c9cbf3 ci: upgrade Docker actions for Node 24 2026-09-10 22:10:32 +08:00
linshen 0c23a18293 ci: use Node 24 pnpm setup action 2026-09-10 21:55:02 +08:00
linshen cc223808f5 fix: harden model UI and desktop packaging 2026-09-10 21:47:36 +08:00
linshen 5b995b94ea fix(security): update Vite and patch esbuild 2026-09-10 20:09:56 +08:00
linshen e5bab3a6a3 fix: restore model tabs and adopt Node 24 2026-09-10 19:31:41 +08:00
linshen a61e255072 fix(ci): disable unsupported image attestations 2026-09-10 17:30:26 +08:00
linshen 7f1909b06d fix: stabilize prompt panel action keys 2026-09-10 17:01:29 +08:00
linshen bfd1543110 feat: refresh built-in model catalog 2026-09-10 16:42:28 +08:00
linshen e4a281f42d fix: restore model setup access and update dependencies 2026-09-10 15:49:53 +08:00
linshen 8a7f9e7f64 fix(security): require exact auth endpoint bypass 2026-09-10 14:13:32 +08:00
linshen 3e677b1d9f chore(release): prepare v2.11.9 2026-08-26 15:56:54 +08:00
linshen bb79051a88 fix: add gpt-image-2 high-resolution sizes 2026-08-13 22:22:58 +08:00
linshen 69a636921e feat: refresh built-in provider models 2026-08-13 22:13:54 +08:00
linshen 08b5531b39 chore(release): bump version to 2.11.8 2026-07-25 20:00:00 +08:00
linshen 0c3679511d fix(test): complete Basic/System image attachment support (#196) 2026-07-18 18:13:41 +08:00
linshen 3126ae4530 feat(test): support image attachments in Basic/System tests (#196) 2026-07-17 23:25:52 +08:00
linshen 0e4f58292a fix(desktop): route unsigned macOS updates to releases (#313)
Refs #313
2026-07-16 22:49:54 +08:00
linshen 272238dd6c docs: correct SSRF issue reference 2026-07-15 21:37:42 +08:00
linshen ce6d1cfc59 chore(release): bump version to 2.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
linshen 971d007de7 chore(release): prepare v2.11.6 2026-06-08 21:37:26 +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
linshen d0f97e9463 chore(release): prepare 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 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 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 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
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 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 2026-05-10 13:36:18 +08:00
linshen 3bb36df21e chore: bump version to 2.11.0 2026-05-10 13:08:47 +08:00
linshen bf675c3cdd feat(ui): add prompt garden guide for image-to-image 2026-05-10 12:58:33 +08:00
linshen e1e9e9a8d4 fix(ui): harden remote backup restore settings
- Auto-connect saved remote backup settings in the data manager
- Add WebDAV restore safety integration coverage
- Expand snapshot restore assertions around remote backup resources
- Keep remote backup metadata handling covered by unit tests
2026-05-10 10:36:27 +08:00
linshen 8e337b28c6 fix(ui): surface copy open failures 2026-05-09 23:41:52 +08:00
linshen 8d2c024794 fix(ui): harden resource restore and links
- Restore image resources when metadata exists but bytes are missing
- Limit remote restore scope and sanitize external link handling
- Reuse image resource backup helpers across restore packages
- Extend restore safety coverage for data manager and snapshots
2026-05-09 22:16:11 +08:00
linshen 9711acb424 feat(image): support OpenAI multi-image edits 2026-05-09 20:47:39 +08:00
linshen be5bffa582 fix(ui): harden backup asset restore safety 2026-05-09 19:18:24 +08:00
linshen f765a4fd39 feat(ui): improve output actions and link handling
- Clear stale history chain metadata when workspace state changes
- Centralize external URL opening behind a shared helper
- Add copy-and-open AI platform actions with localized labels
- Cover workspace and output action behavior with unit tests
2026-05-08 22:46:41 +08:00
linshen b0680cda7e feat: add deployment-aware remote backups 2026-05-08 21:17:23 +08:00
linshen b8de75b46c build(release): prepare v2.10.3 2026-05-06 23:39:49 +08:00
linshen 50b05a0868 fix: normalize LLM image inputs 2026-05-06 23:37:23 +08:00
linshen d2d48fb328 build(release): prepare v2.10.2 2026-05-05 21:35:00 +08:00
linshen 1390a24e13 fix(ui): honor optional prompt asset variables 2026-05-05 21:20:00 +08:00
linshen f96ed83a54 docs: add prompt garden image workflow tutorial 2026-05-05 18:42:49 +08:00
linshen 55b9acc866 docs: clarify optimizer and prompt library positioning 2026-05-05 15:43:49 +08:00
linshen 43d6e0698f docs(release): update v2.10.1 release notes to cover full tag range 2026-05-04 21:55:50 +08:00
linshen 4034b535db docs(release): add v2.10.1 release notes 2026-05-04 21:43:01 +08:00
linshen 13c903df45 build(release): bump version to 2.10.1 2026-05-04 21:29:45 +08:00
linshen d92ec4483b fix(ui): restore variable manager event and update site copy
Add @open-variable-manager handler via provide/inject in ContextUserWorkspace.

Update landing page copy: 5 scenarios -> 4 workspace types, remove standalone Prompt Garden and Smart Favorites scenario cards.
2026-05-04 21:24:38 +08:00
linshen 1a79fd243e fix(mkdocs): correct prompt-garden nav path and dev config
Fix link path from /basic/garden to /basic/prompt-garden in index pages.

Update mkdocs-dev.yml nav to split optimization into system and user workspaces.
2026-05-04 21:23:40 +08:00
linshen debb11fd31 docs(mkdocs): add v2.10.0 feature documentation
Add documentation for new v2.10.0 features in both English and Chinese:

- Favorites: example application to workspaces

- Models: provider-specific request details and capability tags

- Prompt Garden: direct use vs favorite saving guide

- Testing: Run All parallel execution说明

- Desktop: localhost/private network direct routing
2026-05-04 21:22:36 +08:00
linshen 063d1c1cc3 docs(mkdocs): fix Chinese text mixed in English docs
Replace残留中文词汇 with proper English translations in auxiliary feature docs: replicate, smart-fill, and style-learn pages.
2026-05-04 21:22:00 +08:00
linshen 1187716942 fix: resolve review findings (P1/P2/P3)
P1: Remove unused injects and functions
- Remove unused appOpenPromptPreview inject from ContextSystemWorkspace
- Remove unused appOpenPromptPreview inject from ContextUserWorkspace
- Remove unused handleOpenToolManager/handleOpenVariableManager from ContextUserWorkspace

P2: Fix saveToGlobal bypassing persistence
- Use variableManager.addVariable() instead of direct customVariables.value assignment
- This ensures proper validation and saveToStorage() is called

P3: Fix trailing whitespace in docs
- Remove trailing whitespace from replicate.md
- Remove trailing whitespace from style-learn.md
2026-05-04 16:41:16 +08:00
linshen 96f2f23aa9 fix(mkdocs): sync dev config nav and fix link paths 2026-05-04 13:35:44 +08:00
linshen 78398eba4b fix(pro-workspace): restore tool/variable/favorite actions via provide/inject
Migrate Pro workspace event handlers from emit to provide/inject pattern
to fix broken event chain introduced by RouterView refactoring (2b669b9d).

Fixed actions:
- openToolManager: tool management modal not opening (#293)
- openVariableManager: variable manager not accessible
- handleSaveFavorite: save-to-favorite not working in Pro mode
- saveToGlobal: save temporary variable to global failing
- openPromptPreview: prompt preview panel not opening

Pattern: provide('key', handler) in PromptOptimizerApp, inject with
emit fallback in ContextSystemWorkspace and ContextUserWorkspace.
2026-05-04 13:35:06 +08:00
linshen 31ef76718a docs(mkdocs): add prompt garden and auxiliary features documentation
- Add Prompt Garden page (import codes, usage, examples)
- Add Smart Variable Fill page (batch fill, single fill, workflow)
- Add Text-to-Image Replicate page (reverse-engineer prompts from images)
- Add Style Learning page (learn style while preserving subject)
- Update favorites page with v2.10.0 features (resource-aware assets, source binding, complete backup)
- Update data management page with complete backup documentation
- Update mkdocs.yml navigation with new sections
- Update index pages with auxiliary features section
2026-05-04 11:48:08 +08:00
linshen 9e4d60fc9c docs: sync documentation with v2.10.0 features
- Update site/src/main.js with image generation, Prompt Garden, Smart Favorites
- Update README.md and README.zh-CN.md with new features
- Update docs/project/ to v2.10.0 (project-status, prd, README)
- Update docs/README.md timestamp
2026-05-03 21:08:50 +08:00
linshen 0fb7db9c7f docs(release): simplify macos note 2026-05-03 15:12:57 +08:00
linshen e40fc249ff build(release): prepare v2.10.0 2026-05-03 14:42:38 +08:00
linshen 8e226f6015 ci: ignore docs-only workflow changes 2026-05-03 13:52:53 +08:00
linshen b1ac36e962 fix(prompt-garden): improve import link handling 2026-05-03 13:46:39 +08:00
linshen 61f4fe4af2 fix(desktop): register preference IPC handlers
Register the desktop preference IPC bridge, add coverage for preload/main handler parity, and keep the favorite preview extension host props aligned.
2026-05-03 13:15:19 +08:00
linshen 0c9ddd5063 fix(data): include image model configs in backups
Include image model configuration data in app-wide export/import flows and initialize the image model manager before wiring backup services.
2026-05-03 13:15:18 +08:00
linshen 2d8720247f fix(electron): serialize IPC payloads safely
Sanitize Electron IPC payloads for data, image, and Garden favorite import paths so reactive objects do not cross the process boundary.
2026-05-03 13:15:17 +08:00
linshen 6d75528793 feat(prompt-garden): integrate import and favorite flow
Wire Prompt Garden imports into workspace and favorite flows, add the import dialog/panel affordances, persist Garden metadata/media into favorites, and document the external import contract.
2026-05-03 13:15:16 +08:00
linshen 98c85c64bc fix(favorites): refine detail panel layout and sections
Rework favorite detail layout for text and image variants, keep reproducibility/version/extra sections expanded consistently, and update the detail-panel tests around the refined section behavior.
2026-05-03 13:15:15 +08:00