You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Refactor/Chore] Always export App ifpkg packages as version 2 #45352
I confirm that I am using English to submit this report, otherwise it will be closed.
【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
Please do not modify this template :) and fill in all the required fields.
Description
App (dify.app) .ifpkg exports currently select format version 2 only when workflow tools are bundled; otherwise they emit version 1. Use version 2 for every App package, including nested workflow packages, and allow version 2 manifests without workflow tools. Continue accepting existing version 1 packages and rejecting version 1 packages that bundle workflow tools.
Motivation
Version 2 can represent the same content as version 1. Selecting the export version based on the presence of workflow tools adds an unnecessary distinction and makes the manifest version depend on package contents.
Additional Context
Related: #44597 introduced the need to bundle called workflows. Older builds with the current strict manifest rule reject tool-free version 2 packages, so the reader must be updated alongside the exporter. The separate dify.roster-agent format is outside this change.
Activity