feat: add core AI MITM proxy daemon#21296
Conversation
f095630 to
a6abd82
Compare
dannykopping
left a comment
There was a problem hiding this comment.
Looking good 👍
Needs some basic test coverage please, and the renaming that we discussed offline.
cbbdad6 to
637bf69
Compare
637bf69 to
c90790f
Compare
5a6ab75 to
fdd4a44
Compare
e4d1ca1 to
ca7e3a6
Compare
|
Currently, tests are flaky because of multiple test calls to A possible fix would be to use a shared global CA for all tests so they don't overwrite each other. |
Fixed by wrapping |
206d7fc to
fa9f710
Compare
fa9f710 to
1134e49
Compare
1134e49 to
910edbc
Compare
Merge activity
|
* upstream/main: docs: update VS Code Web subpath comment to reflect current support (coder#21375) feat: add boundary log forwarding from agent to coderd (coder#21345) chore: add airflow icon (coder#21401) refactor: add aiproxy test helpers to reduce boilerplate (coder#21404) chore: bump github.com/zclconf/go-cty-yaml from 1.1.0 to 1.2.0 (coder#21366) perf: increase bridge pool cache size limit (coder#21399) feat: add API to serve proxy certificate (coder#21391) chore: remove experimental endpoints (coder#21390) feat: add certificate caching for AI Bridge Proxy (coder#21344) feat: reroute AI provider requests to aibridged (coder#21343) feat: add proxy authorization to aibridgeproxyd (coder#21342) feat: add core AI MITM proxy daemon (coder#21296) test: use deterministic time to avoid time-based flake (coder#21396) ci: bump the github-actions group with 3 updates (coder#21394) chore: bump google.golang.org/grpc from 1.77.0 to 1.78.0 (coder#21393) chore: bump github.com/brianvoe/gofakeit/v7 from 7.12.1 to 7.14.0 (coder#21392) feat(dogfood): use coder exp sync to synchronize scripts (coder#21384) chore: bump the coder-modules group across 3 directories with 4 updates (coder#21388) chore: add playwright MCP in proper place feat(coderd): support deleting dev containers (coder#21248)

Description
Adds the core AI Bridge MITM proxy daemon. This proxy intercepts HTTPS traffic, decrypts it using a configured CA certificate, and forwards requests to AIBridge for processing.
Changes
aibridgeproxydpackage with the core proxy server implementationCODER_AIBRIDGE_PROXY_ENABLED,CODER_AIBRIDGE_PROXY_LISTEN_ADDR,CODER_AIBRIDGE_PROXY_CERT_FILE,CODER_AIBRIDGE_PROXY_KEY_FILECloses coder/internal#1180