Commit Graph
1182 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 5f7ba924ac test(api): keep Tokener coverage in mirrored owner suites 2026-10-30 12:22:39 +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 ca087b9fb8 test: follow shared helper locations for Tokener coverage 2026-10-30 11:56:41 +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
非法操作 2626b79e9e fix(api): avoid duplicate streaming app concurrency admission (#45038) 2026-10-29 07:00:50 +00:00
wangxiaolei 4eef080524 feat: add miss index (#44982) 2026-10-29 05:41:47 +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
Felix ShiandFelix Shi 876ba3a93f refactor(api): enable strict typing for app/service test files (#44816)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-10-29 04:20:36 +00:00
Felix ShiandFelix Shi 1fc2ed94b6 refactor(api): enable strict typing for variable truncator and plugin error test files (#44889)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-10-29 03:19:41 +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
Winoren 81ffe63e77 test(agent): persist classic tool log ownership fixtures (#44986) 2026-10-28 15:29:04 +00:00
非法操作 430d9aff99 fix: honor file input defaults across app execution (#44780) 2026-10-28 14:33:27 +00:00
Winoren 52b15b8824 test(tools): exercise MCP provider lookups with SQLite (#44981) 2026-10-28 14:16:21 +00:00
Muhammad Muzammil e3d4280e09 test: ingest workflow agent knowledge snapshots from SQLite (#44978) 2026-10-28 13:34:37 +00:00
Ganondorf b336b67945 fix(workflow): preserve caller identity for scheduled Agent files (#44796) 2026-10-28 13:13:21 +00:00
Winoren d08d4e2d82 test(knowledge): persist query image fixtures in SQLite (#44980) 2026-10-28 12:56:27 +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