Update docx_generator to 0.0.9 - #3040
Merged
Merged
Conversation
Restore independent tolerant JSON parsing in the four tools introduced during 0.0.8 development. Put literal-newline guidance before JSON input and include seven complete copy-ready examples in both READMEs. Preserve existing document layouts, fonts, attachments, tutorials and previously released packages.
crazywoola
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin Submission
Plugin information
Submission type
What changed
This update fixes a JSON-input regression in the four tools introduced during 0.0.8 development and improves their instructions and Marketplace documentation. It also includes that earlier letter-template work; this description does not assume that 0.0.8 was published to Marketplace.
Restore tolerant JSON input
letter_double_rule,letter_office,letter_compositeandsimple_notice_table. Each tool owns its dedicated implementation.\n.Make the instructions visible before input
\nnotice in all seven tools' JSON parameter labels and preceding help text, with English and Chinese labels/help.letter_jsonandnotice_jsonparameters.README.mdentirely in English, with zero CJK characters. Its examples use valid JSON Unicode escapes; the Chinese README displays the corresponding Chinese text.Retain the templates and existing tools
generate_docx,simple_telegramandsimple_redheadavailable. Their document-generation behavior is unchanged in this update.Risk level
The existing plugin processes files, writes temporary rendering artifacts, can retrieve user-specified image URLs and uses fixed Python rendering workers in its general-purpose tool paths. These existing capabilities are disclosed below; this update does not add arbitrary user-code or shell-command execution.
Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.Security and privacy notes
evalto execute input.PRIVACY.mddocuments processing, temporary files, URL retrieval and the platform's responsibility for storage and logs. No new credentials or external service integrations are required by this release.Local validation
Built with the official Dify CLI 0.6.10. The runtime dependency remains pinned to
dify-plugin==0.9.1; dependencies were installed in the isolated Dify validation environment.Packaging commands, run from the build workspace:
Results:
Submitted package:
Reviewer notes
zhangyuqz/docx_generator/zhangyu-docx_generator_0.0.9.difypkg. It does not delete or replace any previously published package, change another plugin, or include the intranet package, development environment or test outputs.zhangyu/docx_generator; the GitHub account/directory namezhangyuqzis not a plugin-author rename. Existing tool identifiers and input parameter names remain unchanged.readme/README_zh_Hans.md. Detailed recovery errors in the four Chinese-document tools currently use Chinese wording, so the blanket English-facing-text checkbox is left unchecked for review.