10 Commits
Author SHA1 Message Date
MythEclipseandClaude Sonnet 4.6 db281c5175 fix: unwrap double-nested opencode.ai responses in proxy
opencode.ai returns the real OpenAI-compatible response as a JSON string
inside choices[0].message.content instead of an object. Added an
adaptResponse handler that detects and unwraps this double-nesting,
merging inner usage/token counts and reasoning_content into the
standard envelope.

Also added build/ to .gitignore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 22:19:12 +07:00
MythEclipseandClaude Fable 5 f58a92e2aa feat: migrate from Next.js to pure Bun relay proxy
- Replace Next.js app router with standalone Bun.serve() entry point
- Add middleware stack: rate limiter, body limiter, structured logger, SSRF protection
- Add WebSocket bidirectional relay via x-relay-target header
- Implement error classification (DNS→502, timeouts→504, SSRF→403, rate→429)
- Remove all Next.js dependencies and config files
- Update deploy workflow, tsconfig, wrangler config for Bun deployment

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 19:54:55 +07:00
MythEclipseandClaude Opus 4.7 765bcdca44 Add Cloudflare Workers deploy config via OpenNext
- Fix build:worker script to use opennextjs-cloudflare build
- Add open-next.config.ts required by OpenNext Cloudflare
- Update wrangler.toml main entry to .open-next/worker.js
- Ignore .open-next/ and .wrangler/ build artifacts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 17:27:06 +07:00
MythEclipse 3fdbaf3ced fix: update .gitignore and tsconfig for Next.js compatibility 2026-05-07 21:09:09 +07:00
MythEclipse 9e2f4d39b1 feat: implement API handler for edge runtime with method validation and target normalization 2026-05-07 20:35:18 +07:00
MythEclipse a6333750e4 feat: update project structure and enhance UI for Edge Proxy Test
- Add .gitignore to exclude api directory
- Remove deprecated api/index.ts file
- Create new public/index.html with improved UI and functionality
- Update package.json build script to copy index.html to dist
- Enhance request handling in index.html with custom headers and presets
- Improve response display with status, time, and size metrics
2026-05-07 20:26:51 +07:00
MythEclipse 212ce32480 feat: implement Edge Proxy Relay with request handling and header filtering 2026-05-07 19:49:52 +07:00
MythEclipse 098eabe5bf feat: add 'api' directory to .gitignore and update build script in package.json 2026-05-07 19:32:04 +07:00
MythEclipse 9448a9cc7a feat: add code-review-graph integration and update project configuration 2026-05-07 19:13:00 +07:00
MythEclipse a4fcbbcca9 initial commit for proxy-bun 2026-05-07 18:42:09 +07:00