upstream: provider/security fixes not yet ported
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 5/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- aws, typescript
Hướng nghiên cứu
This is a maintainer tracking issue, not a single change. The first queued item is in packages/opencode/src/mcp/index.ts: getAuthStatus should call auth.getForUrl rather than auth.get, so auth status is scoped to the configured server URL. The SSE cancel fix is in the stall watchdog in provider.ts. Done means the linked upstream fix is ported with a regression test, and the tracker checkbox is ticked.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tracking issue for the weekly upstream security/provider fix port. Fork base: OpenCode v1.17.9 (#964, frozen 2026-07-18). Upstream reviewed through v1.18.35. Scope: fixes in packages/opencode/src/{provider,session,tool,mcp,auth,plugin}, packages/core and AI SDK provider bumps.
Run 2026-10-14
Ported
- anomalyco/opencode#30022: bind MCP OAuth callback server to IPv4 loopback (security). Ported in #1476 (closes #1474)
- anomalyco/opencode#37770: OpenAI default header timeout 10s -> 5min (spurious aborts). Ported in #1477 (closes #1475)
Covered by an open fork PR (skipped)
- anomalyco/opencode#46903: generic 5min default header timeout. Covered by #1426 (#1424)
- Upstream stall/idle classification + retry of stalled model requests. Covered by #1426 (#1424)
- Bedrock empty-stream / cached-token billing fixes. Covered by #1425 (#1423)
Already present
- anomalyco/opencode#46890: 5min SSE chunk timeout. Fork already has
DEFAULT_CHUNK_TIMEOUT = 300_000(#844) - anomalyco/opencode#43892: treat
unknownfinish reason as not-finished. Already insession/prompt.ts
Not applicable
- Core
readtool fix (1ac6b4bec4): the fork runs the opencode tool implementation, not the core one - Core runner fixes (49593c1ec4, 709af58612, 0033bb3559): they target the upstream v2 runner, which the fork doesn't ship
- fff / codemode / Copilot / Codex / Mistral variant fixes: features or providers the fork doesn't carry at this base
Queued (ranked)
- anomalyco/opencode#33924: scope MCP auth status to the configured server URL (
mcp/index.tsgetAuthStatususesauth.getinstead ofauth.getForUrl). Security - anomalyco/opencode#44944: catch rejected
reader.cancel(err)promise in the SSE watchdog (provider.ts), avoiding an unhandled rejection after a stall. Hang - anomalyco/opencode#40707 / #40694 / #43806: broaden retryable provider/network error patterns (
session/retry.ts). Retry. Overlaps #1426, so wait for it to land - anomalyco/opencode#43813: retry raw
network_errorfinish reasons. Retry - anomalyco/opencode#41939: retry jitter and capped retry policy. Retry. The fork already caps at
RETRY_MAX_ATTEMPTS = 5, so only jitter is missing - anomalyco/opencode#43248: ignore malformed (non-finite) model cost fields in
Session.getUsage. Cost - anomalyco/opencode#45769: drop unsigned/unreplayable Bedrock reasoning before caching (
provider/transform.ts). Bedrock. Check against #1425 first - anomalyco/opencode#50272: Bedrock tool-result images. Bedrock
- AI SDK provider bumps (needs a dedicated PR + regression run): amazon-bedrock 4.0.112 -> 4.0.166, anthropic 3.0.82 -> 3.0.111, openai 3.0.53 -> 3.0.88, azure 3.0.49 -> 3.0.93, xai 3.0.82 -> 3.0.139, togetherai 2.0.41 -> 2.0.68, google-vertex 4.0.128 -> 4.0.181, gateway 3.0.104 -> 3.0.191
- anomalyco/opencode#43640: xAI capacity errors retryable. Other provider
- anomalyco/opencode#37124: subagent recursion depth limit (
tool/task.ts). Design-level; note only
Summary
Ported 2: MCP OAuth loopback bind (#1476) and OpenAI 5min header timeout (#1477). #46903 and the Bedrock fixes are skipped because open PRs #1426 and #1425 already cover them.
Top of the queue: MCP auth URL scoping (#33924), then SSE cancel rejection (#44944) and the retry-pattern ports once #1426 merges.
Run note: git clone/push through the git proxy returned 403, so branches were pushed via the GitHub REST API, and analyze.ts used its pattern fallback because upstream couldn't be fetched.
- Ngôn ngữ chính
- TypeScript
- Star
- 810
- Fork
- 121
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 94
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AltimateAI/altimate-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AltimateAI/altimate-code#1454 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test: MCP tests fail when the developer's ~/.claude.json has MCP servers (HOME is not sandboxed)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
AltimateAI/altimate-code#1386 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AltimateAI/altimate-code#1384 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AltimateAI/altimate-code#1323 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
AltimateAI/altimate-code#1288 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của AltimateAI/altimate-code
Issue tương tự
-
Edit: Travel Mix (RO)Đang mởcheck:failed streams:edit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
iptv-org/iptv#55901 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
package:ios ships XCFrameworks with absolute symlinks, which SwiftPM refuses to extractCó thể đã có người làm @cusnirvladislav đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
callstackincubator/rock#740 ·
-
S: triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
RED ladder stopped @ 4db4ed91Đang mởarea:workflow bug ready-for-human
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
fil-donadoni/tolaria#6108 ·
Maintainer thường phản hồi trong vòng 1 ngày