local_web 新增 3D 蛋白结构查看器 - #45
Merged
Merged
Conversation
- 3D protein viewer (3Dmol, locally hosted): inline viewer for .pdb/.cif/.mmcif/.mol2/.sdf/.xyz, 6 styles × 5 color schemes, spin/dark-bg/reset/PNG export, bilingual labels - Workspace pane: drawer top-tab toggle [Trace]/[Workspace], full-drawer file tree with type badges, click-to-preview, auto-refresh on run_end - Drawer layout: wider default (900px), image/PDF really fills, resizer works in preview - Agent data integrity: system prompt forbids fabricating PDB/sequence/dataset files; must verify ATOM>100+END after PDB download - Container SSL fix: SSL_CERT_FILE/CERT_DIR/REQUESTS_CA_BUNDLE env vars point Python's OpenSSL at /etc/ssl/certs/ca-certificates.crt — agents can finally HTTPS download from RCSB instead of fabricating - Misc: case-insensitive file URL fallback, page-load trace filters by current chat, welcome card no longer auto-loads, 3Dmol.js local hosting (no CDN dependency), build.sh now chains base+viz so a single command covers everything Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
主要变更
🧬 3D 蛋白结构查看器(新增)
npm install 3dmol+/vendor/3Dmol-min.js),国内网络可用.pdb/.cif/.mmcif/.mol2/.sdf/.xyz→ 右侧抽屉直接 3D 展示🐛 其他修复
1crn.pdb与1CRN.pdb都能打开)