Skip to content

feat: bring DSH and shared tools into 3.1 beta1 - #2694

Merged
yaojin3616 merged 22 commits into
feat/3.1.0-beta1from
v3.0.0-fix-dsh
Nov 16, 2026
Merged

yaojin3616 merged 22 commits into
feat/3.1.0-beta1from
v3.0.0-fix-dsh

Conversation

@yaojin3616

Copy link
Copy Markdown
Collaborator

Summary

Bring the committed DSH and shared tool work from v3.0.0-fix-dsh into 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.

yaojin3616 and others added 22 commits November 8, 2026 00:55
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.
@yaojin3616
yaojin3616 merged commit f0adcf1 into feat/3.1.0-beta1 Nov 16, 2026
5 checks passed
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 未包含的搜索协议支持。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant