Commit Graph
118 Commits
Author SHA1 Message Date
FranckyB 3750c0dd2f feat: add PromptManagerV2 for managing prompts with LoRA stacks and trigger words
- Implemented a new prompt management system that allows users to save and manage prompts along with their associated LoRA stacks and trigger words.
- Introduced a user interface that mimics the legacy node's look, featuring a prompt bar, buttons for saving and creating new prompts, and a display for LoRA stacks.
- Added functionality to load, save, import, and delete prompts from a library, including handling of NSFW content.
- Implemented state management for edits to LoRAs and trigger words, ensuring changes are saved with prompts.
- Enhanced user experience with tooltips, context menus, and a responsive layout for managing LoRAs and trigger words.
2026-11-24 10:32:42 -05:00
FranckyBandClaude Opus 5.5 a81d2a9ff9 Add Multi LoRA Relay; Multi LoRA Combine and Splitter become legacy
Multi LoRA Relay takes lora_stacks (a MULTI_LORA_STACK, or a LORA_STACK as
slot A) and lora_stack_a..d, appends each slot input to its slot, and
outputs the set both ways, like Recipe Relay. Same results as Combine
followed by Splitter. Changelog: an Unreleased section for this and the
recent fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:33:02 -05:00
FranckyBandClaude Opus 5.5 5a55a69cd1 Serve the prompt library routes once, under both prefixes
- nodes/prompt_library_routes.py: get-prompts, category and prompt create,
  rename, delete, thumbnail, NSFW, import and the library file routes, each
  answered at /prompt-manager/... and /prompt-manager-advanced/..., with one
  error handler. Basic and Advanced had a copy each; the Basic node keeps
  only its save route, Advanced its save and LoRA routes.
- Prompt rename finds the prompt whatever its case on both prefixes.
- py/prompt_metadata.py: the prompt a node output, recorded in the workflow
  and API prompt save nodes embed; Basic now drops its llm_input link there
  too, as Advanced does with its prompt link.
- Removed routes nothing calls: save-category-base-prompt,
  save-category-prompt-prefix, get-prompt-data, list-checkpoints,
  resolve-loras, and log-thumbnail with the browser call that only printed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:00:18 -05:00
FranckyBandClaude Opus 5.5 23cc2c63dc Load the prompt library once per read from one shared store
- py/prompt_store.py: the one place prompt_manager_data.json is loaded,
  seeded, sorted and saved, and the hidden category keys; Basic, Advanced,
  Library Manager and startup use it instead of two class copies.
- Each load parsed the file about four times (the daily backup check ran on
  every load); now once. The backup stays daily, at startup.
- An unreadable library with no readable backup loads empty instead of
  being overwritten with the default prompts.
- First run no longer reports the file as missing or corrupt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:55:10 -05:00
FranckyB 3a182253eb Removed, now redundant Prompt Browser Node, sidebar adds same features 2026-10-28 02:01:09 -04:00
FranckyB b6b243c130 feat: update version to 3.0.0 in __init__.py and pyproject.toml 2026-10-28 01:30:34 -04:00
FranckyB fe5f1080df Add Krea layout workflow from image with prompt generation and image loading 2026-10-28 00:49:48 -04:00
FranckyB e258bd0c47 feat: Update Prompt Manager to use MANAGER_DATA instead of RECIPE_DATA
- Refactored PromptManagerAdvanced to introduce _PROMPT_MANAGER_RECIPE_KEY for better data handling.
- Changed input and output types in RecipeBuilder, WorkflowBuilder, and related classes to use MANAGER_DATA.
- Updated recipe_model_loader, recipe_relay, and recipe_renderer to accept and return MANAGER_DATA.
- Added new JavaScript file for Prompt Library Hub, enabling better management and interaction with saved prompts.
- Enhanced UI components for browsing, importing, and exporting prompts in the library hub.
2026-10-26 21:46:42 -04:00
FranckyB 433f0ef95c feat: rename Compose Manager to Composition Manager and enhance layout handling in prompt components 2026-10-26 04:02:47 -04:00
FranckyB d9b496df33 feat: add Prompt Layout Builder for MOSS-Image layouts
- Implemented a new node to create and manage MOSS-Image layouts.
- Added functionality to import and export layouts in various formats (JSON, percent, 0-1000).
- Introduced methods for cleaning and validating box data, converting between bounding boxes and layout formats.
- Integrated image background fitting and preview rendering capabilities.
- Enhanced user interface elements for layout management and visualization.
2026-10-26 03:22:36 -04:00
FranckyB 435e7b1d4c Add advanced prompt composer workflow JSON file with image saving and management features 2026-09-27 18:36:21 -04:00
FranckyB 45d9979eec feat: Add PromptComposerManager for enhanced recipe_data management and thumbnail support 2026-09-27 02:56:14 -04:00
FranckyB bc0f700c81 feat: Enhance Prompt Manager with Composer Manager integration
- Updated `prompt_manager_advanced.js` to support ComposerManager alongside existing managers.
- Modified node definitions to include ComposerManager and its specific functionalities.
- Enhanced workflow management to handle thumbnail images for ComposerManager.
- Introduced new `composer_manager.py` to manage recipe_data for Prompt Composer with thumbnail support.
- Updated `prompt_composer.py` to handle recipe_data payloads and synchronization modes.
- Improved `prompt_manager_adv.py` to accommodate recipe_data inputs and ensure compatibility with ComposerManager.
2026-09-27 02:33:36 -04:00
FranckyB b3ccc25cd7 Bump version to 2.7.2 and add system prompt storage format converter
- Updated version number in pyproject.toml to 2.7.2.
- Introduced a new module `system_prompt_converter.py` for converting legacy system prompt formats to a new category-based structure.
- The converter supports in-place JSON file conversion with optional backup creation.
- Ensured that all system prompt categories are present in the converted data.
2026-08-23 17:05:32 -04:00
FranckyB 8a73f906b6 chore: Bump version to 2.7.1 and update README with latest features 2026-08-18 12:54:53 -04:00
FranckyB 11f1f6b798 feat: Update version to 2.7.0 and enhance README with Prompt Browser details 2026-08-12 09:09:07 -04:00
FranckyB 0133804a7b feat: Implement centralized backup manager for prompt data files with rotating backups 2026-08-04 02:33:49 -04:00
FranckyB 34a6c1a8f3 Add Prompt Mixer Selector and Store for managing prompt fragments
- Implemented PromptMixerSelector to select and format prompt fragments with adjustable strength.
- Created PromptMixerStore for isolated JSON storage of prompt fragments, including loading, saving, and managing categories and prompts.
- Added API endpoints for retrieving, saving, renaming, and deleting prompts and categories.
- Introduced functionality for handling NSFW flags and thumbnail management for prompts.
2026-08-02 13:03:39 -04:00
FranckyB 4e8e47f8f4 Refactor Prompt Mixer to Prompt Composer
- Renamed `PromptMixerStore` to `PromptComposerStore` in `prompt_composer_store.py` for consistency.
- Updated method names and comments to reflect the new naming convention.
- Added new JavaScript files: `prompt_composer_common.js` and `prompt_composer_manager.js` to handle prompt composer functionality.
- Implemented functions for loading, saving, deleting, and managing prompts in the composer.
- Enhanced UI components for prompt selection and management, including buttons for saving, creating, and deleting prompts.
- Integrated thumbnail preview functionality for prompts.
- Added JSON import/export capabilities for prompt data.
2026-08-01 21:56:34 -04:00
FranckyB 229d7291ee feat: Implement Prompt Composer for building prompts from multiple parts
- Added a new PromptComposer node to compose prompt fragments from multiple selectable parts.
- Each part can store category, selected prompt names (multi-select), and strength.
- Introduced functions to normalize strength, format fragments, and resolve prompt prefixes.
- Enhanced prompt mixing functionality by allowing dynamic prompt selection based on user-defined parts.
- Added API endpoints for saving base prompts and prompt prefixes for categories.
- Updated UI components to support the new prompt composer features, including thumbnail zoom and context menus.
- Refactored existing code to improve handling of hidden category entries and prompt selection logic.
2026-08-01 16:00:04 -04:00
FranckyB 99c05514da Refactor Prompt Mixer to Prompt Composer
- Updated `prompt_mixer_manager.js` to handle both PromptMixerManager and PromptComposerManager.
- Changed export filename from `prompt_mixer_data.json` to `prompt_composer_data.json`.
- Modified `prompt_mixer_selector.js` to include a preview box in the mixer preview.
- Removed `prompt_mixer_manager.py` as it is no longer needed.
- Renamed `prompt_mixer_store.py` to `prompt_composer_store.py` and updated its functionality to support the new Prompt Composer structure.
- Added new `default_composer_prompts.json` for default prompts.
- Created `prompt_composer_manager.py` to manage Prompt Composer fragments.
- Updated server routes to handle Prompt Composer requests.
2026-08-01 12:51:49 -04:00
FranckyB 16405ceb17 Add Prompt Mixer functionality with isolated storage and selection capabilities
- Implemented PromptMixerManager for saving, loading, and editing prompt fragments.
- Created PromptMixerSelector for selecting prompt fragments with support for strength and random selection.
- Developed PromptMixerStore for managing isolated JSON storage of prompt fragments, including backup and restore functionality.
- Added API endpoints for managing prompt categories and fragments, including save, delete, rename, and toggle NSFW status.
2026-08-01 02:16:12 -04:00
FranckyB ac358436fe feat: - Added support for direct Clip (text encoders in Prompt Generator)
- Update README and documentation for improved clarity on prompt generation options and workflows; bump version to 2.6.0
2026-07-31 00:53:50 -04:00
FranckyB 0b72ad0c65 chore: Bump version to 2.5.5 in __init__.py and pyproject.toml 2026-07-26 00:02:35 -04:00
FranckyB e00f57a5d0 feat: add Expression Selector extension for managing expressions in prompts
- Implemented a new JavaScript module for the Expression Selector UI, allowing users to select and preview expressions stored in the Prompt Manager.
- Created a corresponding Python node to handle expression selection and substitution in prompts, including gender adaptations for pronouns.
- Integrated the expression selection functionality into the existing prompt management system, ensuring compatibility with current workflows.
- Added UI components for expression selection and preview, enhancing user experience and interaction.
2026-07-25 10:10:58 -04:00
FranckyB 65504b8263 feat: Rename PromptGeneratorKillRelay to PromptGeneratorKillSwitch and remove unused mappings 2026-07-14 00:27:42 -04:00
FranckyB 5ce3408cfc feat: Enhance media path handling and preview functionality
- Introduced new utility functions in `path_browser.js` for media path classification and URL generation.
- Updated `prompt_extractor.js` to utilize new path handling functions for building preview URLs and resolving media sources.
- Improved image and video preview modals to use the new URL structure.
- Added support for browsing files from custom paths, including enhanced metadata extraction for media files.
- Refactored file listing and directory browsing in `prompt_extractor.py` to support new media types and improved error handling.
- Updated version to 2.5.3 in `pyproject.toml`.
2026-07-07 08:35:16 -04:00
FranckyB ea88616f81 feat: Add LoraStackCombine class to merge multiple LORA_STACK inputs into a single output 2026-07-04 08:56:52 -04:00
FranckyB 7b0e59a502 feat: Add MultiLoraSplitter class to split MULTI_LORA_STACK payload into A/B/C/D outputs 2026-07-03 13:39:49 -04:00
FranckyB 782aa7c63b feat: Add PromptGeneratorKillRelay node to manage server shutdown and model unloading, fixed issue with multi lora stack and added that it can be used as a standard Lora Stacker, with sections... 2026-07-03 09:30:50 -04:00
THE_BEAST\me 22facf075b feat: Bump version to 2.5.2 and update changelog with new features 2026-05-14 21:18:35 -04:00
THE_BEAST\meandCopilot 6931d4811f refactor: Rename WorkflowBuilderMulti to RecipeBuilder for consistency and clarity
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 18:42:30 -04:00
THE_BEAST\me cc2a66c74a feat: Update version to 2.5.1 and enhance recipe relay with improved handling of EXTRA_1 and EXTRA_2 fields 2026-05-01 17:33:25 -04:00
THE_BEAST\me ecf7472ff5 feat: Update version to 2.5.0 and add MultiLoraCombine class for enhanced LoRA stack management 2026-04-29 10:11:08 -04:00
THE_BEAST\meandCopilot cfb85445fa feat: Refactor multi-prompt handling and replace RecipeBuilderPromptBundle with RecipeBuilderMultiPrompts; update MultiLoraStackerLM to new structure and improve input normalization
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 00:55:30 -04:00
THE_BEAST\meandCopilot 39b688403d feat: Replace RecipeBuilderDataBundle with RecipeBuilderPromptBundle and update references for multi-prompt integration
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 00:03:06 -04:00
THE_BEAST\meandCopilot 58b9305a02 First wip of multi Lora Stacker
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 20:34:56 -04:00
THE_BEAST\meandCopilot 15587a5d56 feat: Refactor RecipeBuilder to integrate builder_data input and streamline multi-slot handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 17:58:25 -04:00
THE_BEAST\meandCopilot 75c2ccc562 feat: Simplify RecipeBuilder by removing WAN and Multi variants, streamlining node interactions
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 17:15:00 -04:00
THE_BEAST\meandCopilot 8417d42ff6 feat: Add multi-slot support with new helper nodes for prompts, seeds, and LoRA stacks in Recipe Builder
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 14:39:02 -04:00
THE_BEAST\meandCopilot f62ff73d2c feat: Add multi-slot support in Recipe Builder for enhanced model management
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 12:10:46 -04:00
THE_BEAST\meandCopilot f2ad940d32 feat: Add RecipeModelPicker node and integrate model data handling in WorkflowRelay
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 22:33:16 -04:00
THE_BEAST\meandCopilot 2b3a3bfe45 feat: Update version to 2.2.0 and enhance changelog with new features and improvements
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 17:58:05 -04:00
THE_BEAST\meandCopilot 32f653e18d Refactor recipe management to support v2 model blocks
- Introduced functions to ensure v2 recipe data structure and retrieve model blocks.
- Updated WorkflowManager to utilize new v2 model block structure for handling model_a and model_b.
- Refactored WorkflowRelay to accommodate model slot selection and improved handling of sampler and resolution settings.
- Enhanced RecipeRenderer to support rendering from specified model slots in v2 recipe data.
- Updated workflow_data_utils to normalize legacy recipe data into the new v2 format, preserving necessary fields.
- Improved handling of LoRA stacks and sampler configurations across different recipe data versions.

Co-authored-by: Copilot <copilot@github.com>
2026-04-24 01:45:38 -04:00
THE_BEAST\meandCopilot 7812a98ddc feat: Bump version to 2.1.1 and update changelog; remove unused check_loaders.py
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 13:16:15 -04:00
THE_BEAST\me 7135b9e721 bump: update version to 2.1.0 in __init__.py and pyproject.toml 2026-04-21 23:53:44 -04:00
THE_BEAST\me d92fcf436c Refactor code structure for improved readability and maintainability, updated Workflows with new naming 2026-04-21 13:12:33 -04:00
THE_BEAST\me f7789930c1 feat: rename workflow terminology to recipe across documentation and codebase 2026-04-21 02:14:17 -04:00
THE_BEAST\me df8f2b57d3 chore: Bump version to 2.0.2 and update README with Ernie support details
feat: Add Ernie family support in workflow components and update model handling
fix: Improve handling of missing injections in select rows and align family defaults
2026-04-20 00:52:03 -04:00
THE_BEAST\me 39ade25cc2 chore: Bump version to 2.0.1 and update changelog with denoise options for workflow pipeline 2026-04-19 15:37:19 -04:00