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

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.5
File Size Uploaded
aicortex_bridge-0.1.5.tar.gz 14.5 kB Details

Built distribution (wheel)

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

Total release size: 32.4 kB

Release files / aicortex_bridge-0.1.5.tar.gz

Download URL aicortex_bridge-0.1.5.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0db19b6dd5060422cb7eb6546023327184dc3bb5868105245978f1f00868d9e9
BLAKE2b-256 checksum
How to use checksums
aaaf7176a564f21150e3c72154887a8fffc8eb76acd57a53e6f7da32f09e3a90
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.5-py3-none-any.whl

Download URL aicortex_bridge-0.1.5-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31e9359415148a43ff5e48e05f19e25e3c75a9c3f6f5e458bd5a675ca728c597
BLAKE2b-256 checksum
How to use checksums
0cf7bc4828a4d7b7decdc02697539b2fb9343537546cfbfd3e6fc4748b2c168c
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

0.1.6

2 release files

This release

0.1.5 This release

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