Commit Graph
1722 Commits
Author SHA1 Message Date
zyssyz123 a69a8fa067 fix(tokener): version credits access checks for migration inventories
Keep original App/provider configuration and historical AppModelConfig rows while excluding model references that normal hosted credits access never permits. Opt-in saved_system_dependencies_v3 matches exact-name and empty-list access semantics, freezes explicit policy exclusions and rechecks all classified provider-selection digests against a fresh snapshot, including BYOK changes. Historical v1/v2 payloads, hashes, revisions and prepared/active state stay unchanged. No database schema, Stripe, grant, source identity, credential trust, Tokener routing or runtime access change. Dev-first consumer deployment only; new revision configuration and real original-provider migration E2E remain separate gates.
2026-11-12 18:44:32 +08:00
zyssyz123 ad0f3d3a49 fix(plugins): preserve admitted Marketplace package identifiers
Reject a downloaded or cached Marketplace package whose decoded immutable UID differs from the application-admitted request before any tenant installation or cache invalidation. Keep signature, scope, Marketplace provenance and source-admission policy unchanged.

This closes a source-version identity gap found while preparing transparent legacy credits forwarding. It prevents validating one provider package and silently installing another; original provider/App identities remain authoritative.

Reviewed local candidate 0aa5d04e72a641d7e9cc8e08d3c31701fb23f816; identical tree a2420679f4. Independent Gateway and neighboring admission tests passed (89), Ruff/type checks passed. Dev first; promote into the existing migration PR after live regression.
2026-11-12 14:42:59 +08:00
zyssyz123 a688a4ac7e fix(tokener): preserve exact signed OpenAI 1.1.0 source identities
Admit the independently verified README-only 1ded artifact using finite source contracts. Preserve historical 042/95f profiles, protocols, codecs, BYOK authority and reprepare guards. This removes a Dify Core admission blocker for transparent legacy SYSTEM forwarding without changing original provider or App configuration.

Reviewed content tree: 40855d6b51ed98f9f75040770987e07bfa03af48; local candidate dfd394097c41aee108973aa7fb786a18295fa691. Independent 2296 unit tests, Ruff check/format and production type checks passed. Dev-first publication; main PR promotion follows live regression.
2026-11-12 13:30:39 +08:00
Yansong Zhang c0992a2ff0 fix(tokener): preserve exact Gemini 0.9.15 credit source contracts 2026-11-11 09:41:49 +08:00
Yansong Zhang 49c41b3af1 feat: support exact Gemini 0.9.13 credit source variants 2026-11-10 21:28:36 +08:00
zyssyz123 c9d28519b8 feat(billing): preserve Gemini and Tongyi source contracts for Tokener forwarding
Add closed V6/V7 source profiles and typed routing/inventory support so legacy SYSTEM-credit Apps can retain their original provider, model and parameter semantics when redirected to Tokener. Preserve old registry revisions, hashes and BYOK behavior. Consumer support only: no database-schema or business-data writes, no registry publication, default-plugin switch, migration enablement, funding or production operation. Verified 4005 related tests, 97 import contracts, Ruff and strict type checks. Original-provider user E2E remains a separate deployment gate.
2026-11-09 10:59:38 +08:00
Yansong Zhang 6bf1d17cfd feat(tokener): route credit audio and xai with safe source contracts 2026-11-03 13:33:43 +08:00
Yansong Zhang df32de07a9 feat(tokener): preserve credit OpenAI LLM source contracts 2026-11-03 11:25:08 +08:00
Yansong Zhang fd36f33e97 fix(tokener): bind legacy schemas at the daemon wire boundary 2026-11-03 02:10:47 +08:00
Yansong Zhang fe92061c6c fix(tokener): preserve legacy OpenAI GPT-5.5 and embedding semantics 2026-11-03 01:17:09 +08:00
Yansong Zhang e818f7cecc fix(tokener): preserve official OpenAI source endpoint semantics 2026-11-02 23:29:25 +08:00
Yansong Zhang a5235f98b3 fix(tokener): accept unenriched verified migration source catalogs 2026-11-02 20:54:10 +08:00
Yansong Zhang f94baa5d80 fix(tokener): trust verified installation bindings for migration sources 2026-11-02 20:26:00 +08:00
Yansong Zhang 8346f2fcc2 fix(tokener): bind source protocol variants to migration revisions 2026-11-02 18:15:19 +08:00
Yansong Zhang 5570cb08f5 fix(tokener): bind migration to saved source dependencies
Add revision-scoped stable saved-model inventory and source plugin admission. Preserve independent and BYOK owners, frozen contracts, actual schema RPC boundaries and non-secret source protocol facts.
2026-11-02 16:48:12 +08:00
Yansong Zhang 3a03040c18 fix(tokener): preserve reviewed source provider invocation contracts 2026-11-02 10:50:17 +08:00
Yansong Zhang 5655027f77 fix(tokener): attest source runtime endpoint exclusions 2026-11-02 09:45:19 +08:00
Yansong Zhang 5adea02040 fix(workspace): tolerate unavailable plan display in cloud lists 2026-10-30 14:50:15 +08:00
Yansong Zhang 7f77483bd3 fix(billing): authorize published migrations by Tokener balance 2026-10-30 14:34:55 +08:00
Yansong Zhang 2937feeb1e fix(tokener): preserve reviewed source TTS voice defaults 2026-10-30 14:27:17 +08:00
Yansong Zhang d66d94ba91 fix(billing): bind unavailable source evidence to immutable plugin catalogs 2026-10-30 13:38:35 +08:00
Yansong Zhang 2687d76951 feat(billing): claim and activate one-time legacy free migrations 2026-10-30 13:14:55 +08:00
Yansong Zhang 02f3fde1db feat(billing): admit empty source inventory for explicit free migrations 2026-10-30 12:53:51 +08:00
Yansong Zhang 58f220ea3d feat(billing): scope retired-model readiness policy by migration revision 2026-10-30 12:14:40 +08:00
Yansong Zhang c4d869282e fix(dev): retain deployed migration history during Tokener restoration 2026-10-30 12:00:12 +08:00
Yansong Zhang b13952e430 Merge Tokener integration into current agent deployment 2026-10-30 11:54:19 +08:00
yyhandClaude f1739f12d7 fix: expose KnowledgeFS availability in workspace features (#45073)
Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 12:04:18 +00:00
Tianyu Cai a709c29669 perf(api): batch segment list child chunks and attachments (#45050) 2026-10-29 08:04:31 +00:00
wangxiaolei e3d2711d1e fix: fix agent owner can not edit agent (#45040) 2026-10-29 07:08:41 +00:00
非法操作 2626b79e9e fix(api): avoid duplicate streaming app concurrency admission (#45038) 2026-10-29 07:00:50 +00:00
9e978defde feat(agent): support batch config file uploads (SNP-997) (#44947)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-10-29 04:42:35 +00:00
MindOfqcandautofix-ci[bot] 668c73ca53 fix(api): decode complete suggested question arrays (#44916)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-29 03:05:50 +00:00
Tianyu Caiandautofix-ci[bot] ac1502185c fix(api): use keyword search for economy datasets in hit testing (#44895)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-29 02:31:08 +00:00
非法操作 ac0bdd24db refactor(api): share conversation variable queries and updates (#43997) 2026-10-29 02:00:06 +00:00
非法操作 430d9aff99 fix: honor file input defaults across app execution (#44780) 2026-10-28 14:33:27 +00:00
Ganondorf b336b67945 fix(workflow): preserve caller identity for scheduled Agent files (#44796) 2026-10-28 13:13:21 +00:00
wangxiaolei e8b0bb9b72 fix: fix user create app not display in app list (#44929) 2026-10-28 12:48:18 +00:00
非法操作 1f500e52cc refactor(api): share conversation list queries (#43996) 2026-10-28 03:26:06 +00:00
wangxiaolei 85ae1eb164 fix: fix skill search not escape (#44922) 2026-10-28 03:21:34 +00:00
Xiyuan Chen c01cb5d119 fix(openapi): stop runs by run id and publish each op's effect (#44587) 2026-10-28 02:46:42 +00:00
XiaoBa 24e4037144 fix(api): inherit web app access mode when converting apps (#44857) 2026-10-28 02:35:16 +00:00
Tianyu Cai 0e92c72ad9 fix(api): escape LIKE wildcards in snippet keyword search (#44708) 2026-10-28 02:14:51 +00:00
Temitope KadriandClaude Opus 5.5 2a99ac015e fix(trigger): keep webhook form/query integers exact and reject non-finite numbers (#44706)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 02:12:05 +00:00
Yansong Zhang 86a283b479 fix(api): preserve versioned Tokener routes and source model types 2026-10-27 18:30:20 +08:00
Stephen Zhouandautofix-ci[bot] e8b9a3c7fa fix(web): search all New RAG documents and restore scrolling (#44818)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 08:24:39 +00:00
-LAN- 2fc0a67125 feat(api): bundle called workflow tools in app packages (#44592) 2026-10-27 07:53:21 +00:00
非法操作 55b5265424 refactor(api): share conversation deletion and pin commands (#43992) 2026-10-27 07:38:42 +00:00
Jyong b5d3f5600f fix(knowledge-fs): allow shared members to use spaces in apps (#44866) 2026-10-27 07:01:29 +00:00
非法操作 55501cf62b refactor(api): share conversation rename service and repository (#43991) 2026-10-27 06:59:24 +00:00
非法操作andautofix-ci[bot] 092526a504 refactor(api): migrate Service API annotation management (#43809)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 06:20:08 +00:00