852 Commits

Author SHA1 Message Date
linshen
b8de75b46c build(release): prepare v2.10.3 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 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 v2.10.1 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 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
linshen
0129ba4c7d feat(ui): compact data manager layout 2026-05-03 13:15:14 +08:00
linshen
0b9cd227d9 docs(prompt-model): consolidate standardization status 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
linshen
4accdf1417 feat(prompt-garden): add discovery import entry
- Add environment defaults and Vite proxy configuration for Prompt Garden discovery
- Expose discovery import controls from workspace utility surfaces
- Wire image text-to-image import affordances and localized copy
- Document configuration and cover environment/UI behavior with tests
2026-05-02 22:20:01 +08:00
linshen
743e622f6c feat(ui): use filled variables as generation context
- Pass existing filled variable values into smart value generation
- Update generation templates and service contracts for context-aware output
- Cover service runtime and UI composable behavior with targeted tests
2026-05-02 22:20:00 +08:00
linshen
11a817f833 feat(favorites): manage prompt asset versions
- Store and expose prompt-asset version history through core and desktop bridges
- Add version browsing and preview surfaces to the favorite editor/detail UI
- Simplify version navigation around a dedicated preview modal
- Cover version persistence and UI behavior with focused regressions
2026-05-01 19:18:33 +08:00
linshen
4bd19a76b9 feat(data): support resource-complete backup imports
- Export favorite and data-manager backup packages with referenced resources
- Normalize backup resource metadata during package creation and import
- Add selective package import controls in the data manager UI
- Cover package normalization and selective import behavior with focused tests
2026-05-01 16:22:41 +08:00
linshen
23848a840d feat(favorites): refine prompt asset workspace flows
- Bind favorites to source assets and save targets throughout workspace actions
- Share the favorite editor/detail surfaces across dialogs and workspace panels
- Add provenance badges, utility-menu apply actions, and themed favorite panels
- Expand unit and integration coverage for favorite source and editor flows
2026-05-01 14:36:12 +08:00
linshen
213aa76af4 chore(repo): ignore local agent instructions
- Remove the repo-local AGENTS.md guidance file from the tracked tree
- Keep local agent instruction files ignored by default
2026-05-01 11:08:47 +08:00
linshen
93377e1b70 feat(favorites): standardize prompt asset sessions
- Add prompt-model services for content, examples, modes, sessions, and history
- Persist richer favorite prompt-asset metadata and session projections
- Wire favorite save/apply paths across supported workspaces
- Cover the new prompt-asset contract with core and UI regressions
2026-05-01 10:24:18 +08:00
linshen
3824b64609 build(release): add v2.9.6 changelog entry v2.9.6 2026-04-27 22:22:01 +08:00
linshen
2e30e6d3eb build(release): bump version to 2.9.6 2026-04-27 22:08:37 +08:00
linshen
81674ea9ce fix(ui): update favorite use assertions for optional options param 2026-04-27 22:00:27 +08:00
linshen
f034bde2d4 feat(ui): enhance favorites with example editing, media management, and workspace apply
- Add reproducibility example editing with media support in favorite editor
- Add example apply to workspace sessions (pro-variable, image modes)
- Harden favorites page routing, guards, and garden deduplication
- Consolidate FavoriteCard into editor form with full test coverage
2026-04-27 21:28:00 +08:00
linshen
2dc0b99e78 test(e2e): refresh image generation replay fixture 2026-04-26 23:53:11 +08:00
linshen
d7b35709a7 test(ui): update favorite editor guard targets 2026-04-26 23:24:38 +08:00
linshen
51df8086bf feat(ui): expose favorite variables and examples 2026-04-26 23:20:30 +08:00
linshen
4910e03d1f fix(ui): clarify minimax api endpoint guidance 2026-04-26 23:06:50 +08:00
linshen
d2e1473658 feat(core): refresh openai image provider models 2026-04-26 22:47:54 +08:00
linshen
219af33de0 feat(ui): add routed favorites page 2026-04-26 22:11:18 +08:00
linshen
a1caf48b79 refactor(ui): extract favorite library workspace 2026-04-26 22:09:37 +08:00
linshen
d315c4da22 fix(core): clarify image prompt JSON wrapper handling
Avoid treating placeholder-based natural language prompts as structured JSON so image prompt templates preserve the intended output format.
2026-04-26 18:47:13 +08:00
linshen
6506c5436a fix(ui): preserve Garden favorite media fallback 2026-04-26 16:29:37 +08:00