511 Commits
Author SHA1 Message Date
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 7f1909b06d fix: stabilize prompt panel action keys 2026-09-10 17:01:29 +08:00
linshen e4a281f42d fix: restore model setup access and update dependencies 2026-09-10 15:49:53 +08:00
arkcia 390377932b fix(template): preserve advanced template imports 2026-08-25 21:45:37 +08:00
Iams4kura 470a2985f6 fix(ui): preserve standard prompt imports 2026-08-10 17:27:30 +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
vitalii.semianchuk 7acb7618e3 fix: invalid CSS border value, broken class attribute, passive scroll listener
- hr had border: 1 which is invalid CSS — changed to border: none
- OutputDisplayCore had max-height: 100% in the class attribute instead
  of a style property — removed it
- scroll listener in useAutoScroll was missing { passive: true }
- removed unused onMounted import from useLazyLoad
- removed shadowed loading prop in FavoriteButton
2026-07-01 18:21:29 +01: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 9119876b3e feat: add Xiaomi MiMo Token Plan provider 2026-05-27 21:28:37 +08:00
linshen 5d3b7ada92 fix(model): tolerate malformed stored text configs 2026-05-18 21:38:27 +08:00
linshen 74c229a8f5 refactor(model): normalize model config identity 2026-05-16 16:47:18 +08:00
linshen c718d78ed4 fix(provider): pass Chrome Prompt API language options 2026-05-16 22:00:33 +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 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 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 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 f7a8c36303 test(e2e): stabilize image text2image vcr gate 2026-05-13 22:20:26 +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 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 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 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 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 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 1390a24e13 fix(ui): honor optional prompt asset variables 2026-05-05 21:20:00 +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 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 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 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
linshen 0129ba4c7d feat(ui): compact data manager layout 2026-05-03 13:15:14 +08:00
linshen 70bfbeac72 refactor(ui): clarify favorite example save flow 2026-05-03 13:15:14 +08:00