Repository navigation
feat: bring DSH and shared tools into 3.1 beta1 - #2694
Merged
Merged
Conversation
Validate optional workbench config safely and preserve original TGZ bytes with structured errors. Support sequential imports of up to 50 workbench TGZ files, 100 MiB per file, same-version plugin/workbench overwrites, and revision-checked workbench deletion. Fix cached-task overwrite races and confirmation lifecycle handling. Include three-language copy, regression tests, API contracts and 109 deployment evidence. Verified 118 backend tests on frozen Python 3.11, 100 frontend tests, quality gates and production build.
… handling - Parse and validate optional screenshot declarations (dsh.workbench.screenshots) from package.json without disk extraction - Enforce screenshot format validation (PNG, JPEG, WebP), dimension and payload limits - Store and retrieve workbench screenshots by image SHA-256 - Add screenshot HTTP endpoint with caching headers and browser auth token extraction - Add comprehensive test suites for screenshots, browser auth, and deleted equivalent builds - Document enterprise workbench screenshot protocol and verification
Merge codex/custom-web-search after development completed. Adapt the shared client settings to versioned search settings and unified image generation, retaining legacy tool references.
3 of 5 tasks
yaojin3616
added a commit
that referenced
this pull request
Nov 16, 2026
## What
支持在自定义联网搜索中导入包含数组、嵌套对象和 HTTP Bearer 鉴权的 OpenAPI,并配置完整请求模板。
## Why
Responses 搜索接口要求 `tools: [{"type": "web_search"}]`。旧版导入器仅接受标量参数,导致导入时返回
422;模型生成回答也可能超过旧版读取超时。
## How
- 根据 OpenAPI 声明生成并校验请求模板,支持动态搜索词、完整响应和可选引用映射。
- 界面展示参数并允许编辑嵌套 JSON,保留已有搜索配置兼容和平台密钥加密。
- 将读取超时调整为 60 秒,连接超时保持 5 秒。
## Test
- [x] 后端搜索、配置、引用相关回归:59 项通过,包含 Responses 协议导入、请求构造和 6 秒延迟 HTTP 测试。
- [x] 前端搜索表单及参数编辑测试:6 项通过。
- [x] 前端全量 lint、typecheck、platform build;相关 Python Ruff 和 git diff
--check 通过。
- [ ] 114 测试服务器验证:未执行。
- [ ] 109 部署后登录页面、真实搜索及引用展示验收:未执行。
## Related
- 后续补齐 PR #2694 未包含的搜索协议支持。
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.
Summary
Bring the committed DSH and shared tool work from
v3.0.0-fix-dshinto the 3.1 beta release line.This branch contains the DSH market/workbench fixes, usage batching and quota dispatch changes, shared client tool support, custom web search, image generation, and their backend/frontend tests and release documentation.
The PR includes only commits already present on
v3.0.0-fix-dsh; uncommitted files in the local worktree are excluded.Validation
The branch includes focused backend and frontend regression tests and local verification artifacts for the included DSH/tool changes. The release target is
feat/3.1.0-beta1.