Adapt the KnowledgeFS branch to main's refactors:
- Move KnowledgeFS membership hooks from the removed account_service into
WorkspaceRepository/WorkspaceMemberService within the same transaction.
- Route Classic-to-Agent upgrade endpoints through a new
KnowledgeUpgradeApplicationService behind console_account_admission, and
carry creator_ids and knowledge_fs_upgrade through the dataset list service.
- Adopt main's data-source credential repository/gateways in KnowledgeFS
initial-source preview, tasks, and datasource backwards invocation.
- Take main's catalog-driven difyctl v2; the hand-written KnowledgeFS CLI
commands are dropped since the server catalog now drives commands.
- Port dify-ui API renames (AlertDialogFooter, DrawerClose + IconButton),
the lazy workflow panel map, the dataset card inline menu, and the new
date picker into the reorganized knowledge UI.
- Restore main's external knowledge endpoint JSON probe and missing oxlint
suppressions lost in earlier merges; regenerate contracts and OpenAPI docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>