Commit Graph

  • e83c836200 * Wildcard identifiers cannot start with underscore. * Fix cleaning constructs with only whitespace. * Logging supports saving to file (used optionally in tests). * Fix en refresh wildcards. v2.13.0 Antonio Cordero Balcazar 2025-12-08 20:04:23 +01:00
  • 4bd8a4d71a * implemented proper support for variable echoing inside wildcard names. Antonio Cordero Balcazar 2025-12-08 13:11:43 +01:00
  • b2e30a6b02 * Commands without content can be ended with "/>" instead of a full "<ppp:/command>". This applies to "stn i", "echo" and "ext" commands. * Fix and better logging on evaluating final user variables. * Variables can be used inside a wildcard identifier, as in __wildcard${x:1}__. Antonio Cordero Balcazar 2025-12-08 10:57:12 +01:00
  • 22c5c77904 * Choice commands: include wildcard choices allowing composability in wildcards. * Detection of circular references in wildcards. * Cache for extranetwork mappings. Antonio Cordero Balcazar 2025-10-05 16:08:27 +02:00
  • db43d409f8 * removed unnecessary processing of variables. * error control when reading wildcard or mapping files, and second chance for files with incorrect encoding. * fix processing inside extranetwork tag. v2.12.1 Antonio Cordero Balcazar 2025-09-27 13:22:19 +02:00
  • 8769c21ee5 * new "optional" parameter for choices/wildcard. * added "$$" to end of parameters as first choice in a wildcard, to avoid confusion with a choice that could be considered parameters. * additional fixes in the parser. v2.12.0 Antonio Cordero Balcazar 2025-09-02 17:42:48 +02:00
  • 54a20117ce * New extranetworks command to group the triggers with the extranetwork. * Mapping of extranetworks through the new command. This allows you to use a "virtual" extranetwork that is converted to a real one depending on conditions, like the model kind/variant. * Fixed a parsing bug with the if command. * Some refactoring and additional checks. Antonio Cordero Balcazar 2025-09-01 16:50:46 +02:00
  • fe61e54f41 * Selection of prompt parser based on heuristics to improve parsing time on simpler cases. * Improved timing logging. * Refactor application support handling. * Enhanced regex patterns in ppp.py for wildcard and choice detection to ensure proper escaping. * Included icon source files. Antonio Cordero Balcazar 2025-06-08 19:10:51 +02:00
  • c03339a618 * Better processing of interruptions using an exception. * New option on_warning to stop on invalid content. * New option cleanup_extra_separators_include_eol to choose whether to also remove adjacent EOLs when removing extra separators or not. Default is not to do it. In previous versions it was forced. * Refactoring of the cleanup method. * Only simplify attention modifiers when the merge attention option is set. * A1111: avoid logging about HR prompts and avoid saving them in extra metadata when not different. * A1111: consider options and environment info in the caching of results. * Some refactorings. v2.11.0 Antonio Cordero Balcazar 2025-05-13 21:38:02 +02:00
  • bfc47d0d53 * A1111: add prompts to metadata only if they change v2.10.0 Antonio Cordero Balcazar 2025-05-03 12:01:14 +02:00
  • b837f38422 * if_wildcards option defaults now to stop. * ComfyUI: new wildcards_input. * removed json import since yaml can read them. * more models detected in ComfyUI. * ComfyUI: example workflow. Antonio Cordero Balcazar 2025-04-19 17:10:36 +02:00
  • 5e3c8cbc44 * ComfyUI: updates to the ComfyUI registry workflow. * A1111: option to add original prompts to metadata. * fixed some bogus import error shenanigans. * warn when a model name detects multiple variants. Antonio Cordero Balcazar 2025-04-11 17:49:10 +02:00
  • a1958db81f * Improved conditions with bool operations. * Enhance PromptPostProcessorComfyUINode to return variables. * New PromptPostProcessorSelectVariableComfyUINode for selecting variables. * Fixed detection of Flux Schnell in Forge. * Improved documentation. v2.9.0 Antonio Cordero Balcazar 2025-02-09 18:34:53 +01:00
  • ce7b76f200 * refactoring * additional tests Antonio Cordero Balcazar 2025-01-25 16:42:56 +01:00
  • e059a6d821 * add ifundefined modifier when setting variables. * ComfyUI: better flux detection. * Saving of UI settings and prompt/negative prompt to metadata. Antonio Cordero Balcazar 2024-12-30 14:20:45 +01:00
  • b06bcfa677 * Turned pony detection into detection of any kind of variant models based on filename. Added illustrious. Breaking change: the setting is different and changed pony substrings are not imported. * Fixed and refactored some UI settings. Slight change in the generation of batched seeds. * Detection of reforge. * Small refactoring when getting choices. Antonio Cordero Balcazar 2024-12-15 13:32:05 +01:00
  • ee7ba94a30 * fix error in i2i detection. * check for lingering special character sequences. * small refactorings. v2.8.1 Antonio Cordero Balcazar 2024-11-23 14:00:43 +01:00
  • 3810320f6e * Simpler versioning * Cache now takes wildcard definitions into consideration. * ComfyUI: node is not cached if wildcard processing is active. * Add a space with prefix and suffix if needed. * Checks requirements before installing them. v2.8.0 Antonio Cordero Balcazar 2024-10-20 13:39:52 +02:00
  • c87c24924e * Support anonymous wildcards. Antonio Cordero Balcazar 2024-10-19 16:05:21 +02:00
  • e9092b877c * Improved wildcard definition support. Antonio Cordero Balcazar 2024-10-19 12:45:48 +02:00
  • a18e5e659c * Improved processing of wildcards and choices. * Support for prefix and suffix in wildcard options and object format of the options in json/yaml files. Antonio Cordero Balcazar 2024-10-12 16:48:24 +02:00
  • 93f0102897 * Fix a bug with the variable echo command. * Fix a bug obtaining random seed. * Reading version number from pyproject file. * A1111: Support for forcing the same seed/variation seed to all images in a batch. * A1111: Support for unlinking the seed from the image seed and specifying one for the prompt. * ComfyUI: Warning on use of invalid constructs. Related settings kept but default to False. Antonio Cordero Balcazar 2024-10-06 18:49:09 +02:00
  • 0b03e1773f * Added pyproject.toml to publish to ComfyUI registry. * ComfyUI: optional modelname and model, and allowed sending a classname string instead of a model (#12) v2.7.0 Antonio Cordero Balcazar 2024-10-05 11:30:33 +02:00
  • 830bd4f785 Add Github Action for Publishing to Comfy Registry (#14) Antonio Cordero Balcazar 2024-10-05 11:03:28 +02:00
  • b019c5604b chore(publish): Add Github Action for Publishing to Comfy Registry snomiao 2024-10-01 16:01:06 +00:00
  • 42f7fc65cc * Fixed "dictionary changed size during iteration" error. * Support for choice labels and their use for filtering wildcard choices. * New system variable _modelclass and renaming of _sd->_model, _sdname->_modelname and _sdfullname->_modelfullname. * Support for auraflow models with _is_auraflow. * Option to "join attention" when sending to negative replaced and generalized as "merge attention". * Improved processing of extranetwork tags. v2.6.0 Antonio Cordero Balcazar 2024-09-21 16:50:29 +02:00
  • 956a47adbc * Fix process wildcards setting. v2.5.2 Antonio Cordero Balcazar 2024-09-05 19:26:54 +02:00
  • faa55704cc * Fix problem with seed property in ComfyUI, and allow a value of -1 to get a random one. v2.5.1 Antonio Cordero Balcazar 2024-09-04 22:22:01 +02:00
  • 8a960df0aa * Add support for wildcards. * Better debug log. * Set commands support lazy evaluation and content addition. * Unified in one tree and processing phase. * Supports Flux. * Fix evaluation of string variable as truthy. * Show invalid wildcards. * Better detection of installed UI. * Improved cache of results. * Works as a ComfyUI node. * Debug setting changed to debug level. * Fixes in variable use. * Added timing reporting. * Detection of more model types. * Installation script for requirements. * Extension metadata for A1111. * Lark grammar in separate file and cached. * Improved conditions for if command. * Avoid repeats in the processing of prompts. * Fix multiple loading of settings. v2.5.0 Antonio Cordero Balcazar 2024-06-09 15:31:50 +02:00
  • bad0d24fbe * New cleanup options: Remove additional extra separators, Use EOL instead of Space before BREAKs, Use EOL instead of Space before ANDs * New format for commands * New commands: "set", "echo" and "if/elif/else" * Option to Remove extra network tags. v2.4.0 Antonio Cordero Balcazar 2024-03-31 13:20:04 +02:00
  • e8643680f9 * Support for prompt composition (AND) and cleaning around it. * Option to cleanup around extra network tags. * Improved cleanup. * Some refactoring. v2.3.0 Antonio Cordero Balcazar 2023-12-17 17:58:23 +01:00
  • 3fc61c8dd1 * Improved documentation. * New options to choose whether to process in img2img. * Option to detect and do something with unwanted wildcards. * Cleanup processing rewritten and separated in multiple options. v2.2.0 Antonio Cordero Balcazar 2023-12-07 23:13:29 +01:00
  • 77a74a8088 * Renamed the extension to "Prompt Post-Processor". * Improved logging. * Fix compatibility with A1111 hiresfix. v2.1.5 Antonio Cordero Balcazar 2023-11-17 17:03:20 +01:00
  • f59b3e51a5 Fix processing with A1111 hires fix. (#4) v2.1.4 Antonio Cordero Balcazar 2023-10-14 14:29:26 +02:00
  • 496117e004 * Fix processing with A1111 hires fix. * Remove version from title. Antonio Cordero Balcazar 2023-10-14 13:51:09 +02:00
  • 5a87292a18 * Fix processing of weights/steps with spaces around. v2.1.3 Antonio Cordero Balcazar 2023-08-24 18:22:40 +02:00
  • a0d22862ca Fix weight calculation. v2.1.2 Antonio Cordero Balcazar 2023-08-20 23:49:09 +02:00
  • 72d3866d65 Fix [Issue] 'Options' object has no attribute 'prompt_attention' #2 v2.1.1 Antonio Cordero Balcazar 2023-08-18 10:40:50 +02:00
  • ac4a8e79f5 * Forgot to commit file. v2.1.0 Antonio Cordero Balcazar 2023-08-15 18:40:16 +02:00
  • 6224adde0f * Logging and documentation improvements Antonio Cordero Balcazar 2023-08-15 18:01:39 +02:00
  • c8a7b6c815 * New parser, which now supports the attention, alternation and scheduling modifiers and replicates them in the negative prompt when necessary. Implements issue #1. * Removed configuration of tag format since it cannot be done with the new parser. v2.0.0 Antonio Cordero Balcazar 2023-08-12 19:09:39 +02:00
  • 7f36587bfd update gitignore and readme Antonio Cordero Balcazar 2023-05-17 20:33:10 +02:00
  • 46d5100e7e * added pull request template and updated issues templates * updated readme Antonio Cordero Balcazar 2023-05-17 19:14:14 +02:00
  • d31736187b Updated readme. Antonio Cordero Balcazar 2023-05-16 10:29:03 +02:00
  • 7ccae56ce0 refactoring and linting removed unneeded code for logging v1.1.0 Antonio Cordero Balcazar 2023-05-14 21:26:43 +02:00
  • 782c8f76c2 Improved github templates Antonio Cordero Balcazar 2023-05-14 12:58:42 +02:00
  • 6ddfc184c0 Improve bug report template Antonio Cordero Balcazar 2023-05-14 09:35:00 +02:00
  • 31e7822499 added vscode test settings Antonio Cordero Balcazar 2023-05-13 22:25:27 +02:00
  • d86b997cb6 Update issue templates Antonio Cordero Balcazar 2023-05-13 21:38:30 +02:00
  • 18d9023177 bump version for release v1.0.0 Antonio Cordero Balcazar 2023-05-13 21:18:09 +02:00
  • ad8c40205a improved readme Antonio Cordero Balcazar 2023-05-13 21:10:03 +02:00
  • f23ad8fbd1 refactoring better readme Antonio Cordero Balcazar 2023-05-13 20:53:00 +02:00
  • ce64906850 refactoring Antonio Cordero Balcazar 2023-05-13 17:08:13 +02:00
  • 432f6bab76 fix Antonio Cordero Balcazar 2023-05-13 15:29:22 +02:00
  • c2ced311ba improved refactoring added tests Antonio Cordero Balcazar 2023-05-13 15:10:14 +02:00
  • f2159d3df8 improved added license Antonio Cordero Balcazar 2023-05-11 21:37:42 +02:00
  • 0b7589225a Initial version Antonio Cordero Balcazar 2023-05-11 16:12:40 +02:00