Skip to content

feat: support Anthropic vision providers and sync upstream transport fixes - #24

Merged
Anionex merged 14 commits into
mainfrom
fix/vision-provider-transport
Aug 14, 2026
Merged

feat: support Anthropic vision providers and sync upstream transport fixes#24
Anionex merged 14 commits into
mainfrom
fix/vision-provider-transport

Conversation

@Anionex

@Anionex Anionex commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Vendor agent-vision-toolkit commit bc9803d, which adds native Anthropic Messages requests while retaining OpenAI Chat/Responses behavior and the browser-compatible User-Agent fix.
  • Add provider.protocol, provider.userAgent, and provider.anthropicThinking to config, runtime environment forwarding, connection health checks, and the bilingual Web Settings UI.
  • Keep VISION_ENV_FILE authoritative so ignored ambient .env files cannot override the DSH Credential, endpoint, protocol, thinking mode, or User-Agent.
  • Add Anthropic image conversion, x-api-key / anthropic-version authentication, thinking-block filtering, 529 retry handling, and bounded Retry-After support.
  • Merge the current v0.1.5 / DSH 0.1.0-rc.6 packaging foundation and clean generated output before every build so stale committed lib/ files are detected by CI.

Issue coverage

The upstream transport implementation is proposed in Anionex/agent-vision-toolkit#22, and this bundle vendors that exact tested commit.

Verification

  • DSH_VISION_REQUIRE_PROFILE_E2E=1 pnpm test — 19 files, 163 tests passed, including the clean Profile install/boot/tool-call/disable/re-enable/uninstall acceptance path.
  • pnpm run build — host, client, and public-export compiler faces passed; a seeded stale lib/stale.js file was removed by the clean build.
  • git diff --exit-code -- lib — committed generated artifacts exactly match a fresh build.
  • pnpm run verify:portable — 28 required files, 24 JavaScript files, and 24 images passed.
  • PYTHONDONTWRITEBYTECODE=1 python vendor/agent-vision-toolkit/tests/test_vision_client.py — passed OpenAI/Anthropic request, retry, and environment-isolation cases.
  • Parsed all 9 vendored Python files with ast.parse.
  • Focused post-merge suite: 36 tests passed across client, package layout, Web, tool lifecycle, and runtime installation.
  • git diff --cached --check / git diff --check — passed.

The Settings UI and transport configuration are exercised by React client tests; provider HTTP behavior uses local deterministic HTTP fixtures and requires no real API key.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Anionex added 13 commits August 14, 2026 17:28
…rovider-transport

# Conflicts:
#	.github/workflows/ci.yml
#	CHANGELOG.md
#	README.md
#	README.zh.md
#	lib/client.js.map
#	lib/types/client/index.d.ts.map
#	lib/types/client/paste-images.d.ts
#	lib/types/client/paste-images.d.ts.map
#	lib/types/runtime.d.ts.map
#	lib/types/upstream.d.ts.map
#	lib/types/web.d.ts.map
#	package.json
#	scripts/verify-portable.mjs
#	src/client/paste-images.tsx
#	tests/package-layout.spec.ts
#	tests/profile-install.e2e.spec.ts
#	tests/runtime-install.spec.ts
#	tests/web.spec.ts
#	tsconfig.client.json
#	tsconfig.json
#	vitest.config.ts
…rovider-transport

# Conflicts:
#	lib/client.js.map
#	tests/package-layout.spec.ts
@Anionex
Anionex merged commit d32f7d2 into main Aug 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant