Repository navigation
Releases
amv-cp-bridge v1.4.1
amv-cp-bridge v1.4.1
Fixed
- Session Bloat Prevention & Single-Tab Enforcement: Sets
session.restore_on_startup = 5, prunes accumulatedDefault/Sessions/Tabs_*&Session_*files on launch while preserving M365 cookies, trims extra tabs inconnect(), and reuses the cold-boot tab inverify_login(). - Strict FIFO Queue & Accurate Queue Metrics: Replaced unordered polling in
acquire_worker()with a strict FIFO ticket queue (_wait_tickets) and separatedqueuedvsrunningtracking. - MCP Double-Launch Guard & Extended Timeout: Restricts direct local
enginefallback strictly toConnectionRefusedErrorand increases default gateway timeout viaCOPILOT_MCP_TIMEOUT_SEC(360s). - Login Window Hold & Scalable Verify Timeout: Keeps already signed-in
open_login()windows open until user close or timeout, removes offlinenetstatblocking inbrief(), and scales GUI_verify_all()timeout by account count.
Changed
- English-First
README.md& UpdatedFOR_AI_README.md: RewroteREADME.mdin clean English (maintaining single-line command compliance) and updatedFOR_AI_README.mdwith a zero-to-working autonomous installation playbook and correctedmasterbranch installer URLs.
Verification
pytest tests/ -q: 65/65 passedregression_check.pysingle-line README & version sync checks: passed- Windows EXE CI build &
selftest: passed (v1.4.1)
Full Changelog: v1.4.0...v1.4.1
v1.4.0
Added
- Dynamic GitHub Release Hot-Swap Auto-Updater (
amv_cp_bridge.updater,/api/update/check,/api/update/apply): Added periodic 30-minute background release polling in both the native desktop GUI and the web dashboard (/dashboard). In frozen Windows EXE mode, clicking the update banner downloadsamv-cp-bridge.exedirectly from the latest GitHub Release, validates the published.sha256checksum, spawns a detached PowerShell atomic hot-swap helper with.bakrollback safety, and automatically relaunches the updated executable. - Hot-Mode Renderer Memory Tab Recycling (
CopilotWorker._recycle_tab): Automatically opens a fresh Copilot tab before closing accumulated old tabs every 15 requests (COPILOT_TAB_RECYCLE_INTERVAL) or after a timeout/DOM error inhotstandby mode, reclaiming renderer memory while preserving conversation continuity whenreset_chat=False. - University & Enterprise SSO Self-Healing + KMSI Auto-Confirm: Added automatic
"Stay signed in?"(#idSIButton9) confirmation, configured email matching inaccounts.json, and full timeout allowance during live verification and prompt submission for multi-hop SAML/ADFS SSO redirects. - GitHub Actions Automated Release Pipeline (
.github/workflows/release.yml): Automated Windows test execution, PyInstaller EXE packaging,selftestverification,.sha256checksum generation, and browser extension zip publishing onv*.*.*tag pushes.
Fixed
- Zero-Orphan Process Tree Teardown (
_teardown_browser): Tracked direct browser spawn PID (_browser_pid), snapshot listening PIDs prior to Playwright socket disconnect, added--disable-background-mode/--disable-background-networking/--disable-sync/--no-service-autorunlaunch flags, and sanitizedDefault/Preferences(exit_type: "Normal") before launch to prevent orphanmsedge.exeaccumulation and session crash-restore popups.
Package size
| Item | Size |
|---|---|
| Payload before compression | 182.3 MB |
| Final EXE | 53.8 MB |
| Compression | 70.5% |
| Previous EXE (v1.3.0) | 53.7 MB |
| Change from v1.3.0 | +0.1% |
SHA-256: 72763ac293ada6426a47e1cde487a57fa78948cf70ae95ed0d848cf46012b54e
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Added
- Standalone Multi-Account Parallel Pool: Released
CopilotPoolqueue lock immediately after atomic worker reservation (_reserved), enabling true concurrent execution across multiple logged-in Copilot worker ports while deprioritizinglogin_state == "required"workers. - Native Image Generation Gateway Endpoint (
POST /v1/images/generations): AddedCopilotWorker.generate_imageandCopilotPool.generate_imagewith in-pagedata:/blob:/https:image byte extraction, reference SHA-256/dimension filtering, structured error classification (HTTP 422 policy refusal, HTTP 429 quota/transient limit), and cross-worker buffered failover. - Structured Reasoning & DeepThink Stream Separation (
amv_cp_bridge.reasoning): AddedReasoningStreamParser, DeepThink directive toggle support, andreasoning_content/contentSSE delta separation. - Per-Account Browser Preference & Manual Window Control: Added
"browser": "chrome" | "edge"fallback preference alongsideLast Browserpreservation,externalstatus flagging for manually opened sessions, and single-worker shutdown viaPOST /api/accounts/{port}/close. - Generic Telemetry Source Attribution: Supported
X-Bridge-SourceandX-Client-Appheaders across REST endpoints cleanly without client-specific coupling.
Changed
- Removed client-specific file lock env hooks and
/api/telemetry/recordbypass endpoint so all usage is recorded centrally by the bridge server. - Buffered non-streaming
CopilotPool.query()per attempt so mid-stream worker failures discard partial output before failing over to another worker.
Package size
| Item | Size |
|---|---|
| Payload before compression | 182.1 MB |
| Final EXE | 53.7 MB |
| Compression | 70.5% |
| Previous EXE (v1.2.1) | 50.7 MB |
| Change from v1.2.1 | +5.9% |
SHA-256: e706dcce7a4e9912ec3c90ec9f2ea4a1b463753bd84b8f81ec436dad15b6a8e1
v1.2.1
amv-cp-bridge v1.2.1
🚀 What's New in v1.2.1
- Entra ID Conditional Access Fast-Fail: Sub-1.5s detection of login gate URLs (
login.microsoftonline.com,/kmsi,/oauth2/v2.0/authorize), eliminating the previous 45-second composer timeout when enterprise sessions expire. - OpenAI Standard HTTP 401 Unauthorized: Automatically maps session expiration to a clean
401 Unauthorized({"error": {"type": "authentication_error", "code": "session_expired"}}) across both streaming SSE and standard REST endpoints. Cursor, Cline, and Continue.dev instantly recognize the re-auth state without hanging. - Native OS Desktop Tray Toast Notifications: Automatically dispatches a system tray alert / OS toast notification when session expiration is detected.
- Copilot Designer (DALL-E 3) Markdown Image Streaming: High-resolution image synthesis payloads (up to 3.4 MB Base64) are now parsed in the live DOM and streamed directly as standard Markdown images (
). Tested live with high-resolution image generation in 41s without streaming timeouts. - FastMCP Concurrency & Shared Standby Multiplexing: Formally documented that FastMCP stdio connections route through the centralized gateway (
127.0.0.1:11500), sharing the exact same authenticated browser session, warm standby countdown timer, and 0MB memory reclamation lifecycle with/v1/chat/completions. - Autonomous AI Delegation Manual (
FOR_AI_README.md): Comprehensive operating manual and failure encyclopedia for autonomous AI coding agents (Claude Code, Cursor, Windsurf, Devin, Antigravity) to install, diagnose, and run this bridge with 100% reliability. - Community Shout-Out: Special thanks to Reddit users
u/nameuppandu/kantorcodes1for highlighting enterprise Entra ID session revocation edge cases and FastMCP multiplexing behavior!
📸 Live Ground Truth Evidence
v1.2.1 was battle-tested under live corporate M365 Copilot sessions:
- 🎨 Copilot Designer Image Synthesis:
- Prompt: "Generate an image of an emerald crystal floating in deep cosmic space."
- Result: Received 3.38 MB high-res Base64 image in 41.3s formatted as clean Markdown.
- Evidence:
docs/evidence/02_copilot_designer_generated.png
- 👁️ Multimodal Vision & Document Ingestion:
- Input:
docs/evidence/01_multimodal_vision_input.png - Result: 100% accurate extraction of geometric shapes (blue square, orange circle, purple star) and raw text
HELLOCOPILOT2026in 12.6s.
- Input:
- ⚡ Entra ID Fast-Fail:
- Sub-1.5s detection upon session expiration, returning HTTP 401 and firing an OS toast alert.
💡 Don't feel like configuring it manually? Delegate it to your AI!
Pass this repository link to your autonomous AI agent (Claude Code, Cursor, Windsurf, Devin, Antigravity) and say:
"Setup and connect amv-cp-bridge for me."
Our FOR_AI_README.md guides the agent step-by-step with zero guesswork!
🏛️ Links & AMEVA Foundation
- Official Portal: https://uno-km.vercel.app/foundation/index.html
- AMEVA Labs & Open-Source Projects: https://uno-km.vercel.app/
- Standalone Binary:
amv-cp-bridge.exe(50.7 MB UPX-compressed, SHA-256:dfb7f9aea5fa70ecda20b55d8e83866a646fb28435a302b2ad3a0a0b3804f9f7)
v1.2.0
Added
- Multimodal Vision & File Attachment Support: Full OpenAI-compatible multimodal input support for
/v1/chat/completions:- Accepts
contentas an array of items ({"type": "text", "text": "..."}and{"type": "image_url", "image_url": {"url": "data:image/...;base64,..."}}). - Supports Base64 data URLs for PNG, JPEG, GIF, WEBP images and PDF documents.
- Automatically decodes and persists payloads into secure local temporary files (
~/.amv_cp_bridge/temp_uploads/). - Automates file attachment via Playwright CDP file injection (
page.set_input_files('input[type="file"]')) directly into the active Copilot web session. - Automatic post-query cleanup guarantees zero disk leakage (
cleanup_temp_files).
- Accepts
- Direct Local File Path Ingestion: Supports local file paths and
file://URLs incontentitems ({"type": "file_path", "path": "..."}).
Package size
| Item | Size |
|---|---|
| Payload before compression | 174.5 MB |
| Final EXE | 50.7 MB |
| Compression | 70.9% |
| Previous EXE (v1.1.0) | 50.7 MB |
| Change from v1.1.0 | +0.0% |
SHA-256: 492cbd9b424cd07b747e5db3b23f843ca325f744cfc87b50db79008dc19a5bea
v1.1.0
Added
- Operation Mode Configuration: Added user-selectable engine lifecycle modes in native GUI, web dashboard, and persistent
~/.amv_cp_bridge/settings.json:- Cold Launch (콜드 유지 / Ephemeral 0MB): Forcibly terminates the Edge browser immediately after query completion to guarantee 0MB idle memory footprint (default).
- Hot Standby (핫로딩 / 웜 스탠바이): Keeps Edge browser running in background for a configurable standby window for ultra-fast consecutive responses (<5s) and session context retention.
- Configurable Standby Timeout (초 단위): Customizable countdown timer (10s ~ 86400s, with quick 60s, 300s, 600s, 1800s presets) that automatically shuts down Edge and reclaims memory to 0MB when idle.
- Dynamic Settings REST API: Added
GET /api/settingsandPOST /api/settingsendpoints for runtime configuration persistence. - Dedicated Settings Tab: Added "⚙️ 설정" (Settings) tab in both the native CustomTkinter GUI and the web dashboard (
/dashboard) with real-time feedback, detailed descriptions, and instant engine synchronization. - Live Standby Countdown Display: The account status cards in the GUI and web dashboard now display remaining seconds (
⏱️ XXs) during warm standby.
Package size
| Item | Size |
|---|---|
| Payload before compression | 174.5 MB |
| Final EXE | 50.7 MB |
| Compression | 70.9% |
| Previous EXE (v1.0.2) | 50.7 MB |
| Change from v1.0.2 | +0.0% |
SHA-256: e27f002bfdcd72ef83018704651a0eda7aaf13b95ab27d90d905b2f40aadd153
v1.0.2
Fixed
- The account name appeared as
:9333on the main window, and Korean text disappeared from the request queue. The native GUI decoded the live event stream one byte at a time, which discarded multi-byte characters. - Words such as
복사,공유, and편집were removed from answers wherever they appeared. Only status text before the answer and button labels on their own line are now removed. - The Copilot status text
진행 중…could appear at the start of an answer. - On macOS, closing the window could leave no way to reopen it, because the tray library requires the main thread. The window now minimizes to the Dock. This change has not been run on macOS.
- The uninstaller wrote
claude_desktop_config.jsonwith a UTF-8 byte order mark. The file is now written without one. - The uninstaller reported a path error when the Desktop folder could not be resolved.
- A damaged
telemetry.dbstopped the application with a raw SQLite error. The error now names the file and how to recover.
Changed
- README commands are one line each, joined with
&&so that a later step does not run after an earlier step fails. The Windows script list is now a table because those files are not terminal commands. - PowerShell examples were added for the REST API because
curlin Windows PowerShell 5.1 is an alias with different arguments. - The release regression check fails when a README shell block has more than one line.
- The README no longer describes multi-account load balancing. Requests run one at a time, and the first free account in the list handles them. The behavior did not change in this release.
Package size
| Item | Size |
|---|---|
| Payload before compression | 174.5 MB |
| Final EXE | 50.7 MB |
| Compression | 70.9% |
| Previous EXE (v1.0.1) | 50.7 MB |
| Change from v1.0.1 | +0.0% |
SHA-256: e6bff2ab7cc9c5b6ba94cfcc952f74f403461cf6f5a2b220fa5fcad627d0d73a
v1.0.1
Added
-
One-line installer
scripts/setup_all.ps1(Windows) andscripts/setup_all.sh(macOS). Installs Python when absent, Microsoft Edge when absent, all Python packages, and the application. -
Update check in the loading window against GitHub Releases, with a live progress log.
-
Update prompt with
업데이트and다음에 하기buttons.업데이트runs the reinstall command. -
Release notes dialog on the first launch after an install.
-
Build pipeline with an isolated build environment, UPX compression, and an automated self-test. The compression result is recorded in each release.
-
Browser extension package
amv-cp-bridge-extension.zipin each release. -
One-line uninstall command that does not require the repository.
Changed
- The uninstaller now removes the dedicated Edge profile and stops only the Edge processes that use it. It previously could stop regular Edge processes.
- Minimum Python version corrected to 3.10, which the
mcpdependency requires. - Application version now has a single source,
amv_cp_bridge/_version.py. - macOS install no longer downloads Playwright Chromium. The application uses the installed Microsoft Edge.
Fixed
- Requests could wait with no response on a freshly opened Edge profile. Copilot displays a server-rendered input before the page is active, and the Enter key was ignored. The engine now retries until the message is confirmed as sent.
- An empty Copilot result was reported as success. The request now returns an error.
- Accounts were shown as available without any check. Accounts now show
연결됨,연결 확인 전, or로그인 필요, with a계정 연결button. - New installs no longer create a second default account on port 9334.
- The loading window appeared only after the heavy startup work. A boot screen now appears while the EXE unpacks, followed by the loading window and the main window.
- A first run no longer marks the account step as failed.
- New installs received
mcp2.x, which removedmcp.server.fastmcp. The dependency is now limited tomcp<2. - macOS
.commandfiles were committed without the executable bit. scripts/build/build_exe.pyresolved the repository root incorrectly after the scripts moved.- The published EXE included unrelated packages from the build machine, such as
botocore. - The README macOS install URL pointed to a branch that does not exist.
Package size
| Item | Size |
|---|---|
| Payload before compression | 174.5 MB |
| Final EXE | 50.7 MB |
| Compression | 70.9% |
| Previous EXE (v1.0.0) | 88.6 MB |
| Change from v1.0.0 | -42.8% |
SHA-256: 72cb90f132dfec37d16a4625a896a47041bbbd3fd2e060322c12f68349664a72