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

PATH 上的 aicortex-bridge 是 aicortex-bridge.cmd → python -m aicortex_bridge(不生成 .exe)。也可:

python -m aicortex_bridge serve

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.7

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.7
File Size Uploaded
aicortex_bridge-0.1.7.tar.gz 17.0 kB Details

Built distribution (wheel)

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

Total release size: 35.7 kB

Release files / aicortex_bridge-0.1.7.tar.gz

Download URL aicortex_bridge-0.1.7.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
38bde58e1c9ac1cd320f640cc77a2b928806e91ccb36c7ba16974322cbe671eb
BLAKE2b-256 checksum
How to use checksums
8990d6cedcc5b2d649bc41c8ffb28d6a47e4f78ba3ff868d26f886f80525dafb
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.7-py3-none-any.whl

Download URL aicortex_bridge-0.1.7-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e01e75304ffd31b3744860476b9f4f87855922c999d07b2d6a6f94daade658f
BLAKE2b-256 checksum
How to use checksums
ad0f9d142b4512e9085f247b916ff10b16d2539fe4110752f8cdc4ebbfa619f2
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

This release

0.1.7 This release

2 release files

0.1.6

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