Skip to main content

aicortex-bridge

Windows host HTTP service for Outlook COM and Chrome DevTools (CDP). Lives in the aicorkit repo alongside the aicorkit package.

Install (Windows)

pip install aicorkit aicortex-bridge
aicortex-bridge serve
aicortex-bridge status
# aicortex-bridge stop
# aicortex-bridge serve --foreground

From source (repo root):

pip install .
pip install ./bridge
aicortex-bridge serve

Requires Outlook desktop signed in for mail/calendar. serve also starts a dedicated Chrome on 127.0.0.1:9333 and proxies CDP on the same port as the bridge. Default listen: 0.0.0.0:8766.

Release (publish both packages)

cd D:\CODE\aicorkit
python -m pip install build
python -m build
python -m build bridge
# twine upload dist/* bridge/dist/*

Pod usage

Windows host(默认后台守护,日志 ~/.aicorkit/logs/bridge.log):

aicortex-bridge serve

Pod env:

AICORTEX_BRIDGE_URL=http://host.docker.internal:8766

Pod Agent / Playwright 连宿主机 Chrome(不要直连 9333,走 bridge 反代):

curl -s http://host.docker.internal:8766/json/version
# Playwright: connectOverCDP('http://host.docker.internal:8766')

CDP 控制:GET /v1/cdp/status、POST /v1/cdp/start、POST /v1/cdp/stop。
--no-cdp 或 AICORTEX_CDP_AUTOSTART=0 可关闭自动拉起 Chrome。
可选:AICORTEX_CDP_PORT、AICORTEX_CDP_USER_DATA、AICORTEX_CDP_CHROME。

aicorkit auto-routes outlook * and graph ingest email --from outlook when the URL is set (aicorkit/outlook_bridge.py).

HTTP API

aicorkit CLI Bridge
outlook list-emails GET /v1/outlook/list-emails
outlook read-email GET /v1/outlook/read-email?q=...
outlook send-email POST /v1/outlook/send-email
outlook list-calendar GET /v1/outlook/list-calendar?d=14
outlook create-meeting POST /v1/outlook/create-meeting
outlook free-busy -e ... GET /v1/outlook/free-busy?email=...
outlook list-rooms GET /v1/outlook/list-rooms
graph ingest (full body) GET /v1/outlook/list-emails-full

Also: GET /v1/outlook/new, POST /v1/outlook/download-attachments, GET /health, GET /v1/outlook/ping.

CDP: GET /json/version, GET /json/list, WebSocket /devtools/browser/...(反代到本机 Chrome)。

Config

Shared with aicorkit: ~/.aicorkit/config.yaml (email.whitelist), ~/.aicorkit/state/outlook.json.

Optional auth: AICORTEX_BRIDGE_TOKEN / AICORKIT_OUTLOOK_BRIDGE_TOKEN.

Not via bridge: aicorkit meeting *, resolve_contact (COM-only).

Metadata

Release files for aicortex-bridge 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aicortex-bridge 0.1.6
File Size Uploaded
aicortex_bridge-0.1.6.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aicortex-bridge 0.1.6
File Interpreter ABI Platform
aicortex_bridge-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / aicortex_bridge-0.1.6.tar.gz

Download URL aicortex_bridge-0.1.6.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b833b1d4af27de63c6c976771c14b1a93d949e0b87854038d639b82d6df4e0e
BLAKE2b-256 checksum
How to use checksums
1c1e3273efb5d9334c077e1a4ff28bf646e38fd99a0e164c2b2fbe46478cd2f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / aicortex_bridge-0.1.6-py3-none-any.whl

Download URL aicortex_bridge-0.1.6-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee665c19f26c155aa2a2dd041ec516fed736b125a2febc44b0043e79eab5018d
BLAKE2b-256 checksum
How to use checksums
4b5c21eab42a400730f960e84e93a18301fe9793dcbb02f29a832de4599f25a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

0.1.7

2 release files

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page