Skip to content

Releases

amv-cp-bridge v1.4.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:23

amv-cp-bridge v1.4.1

Fixed

  • Session Bloat Prevention & Single-Tab Enforcement: Sets session.restore_on_startup = 5, prunes accumulated Default/Sessions/Tabs_* & Session_* files on launch while preserving M365 cookies, trims extra tabs in connect(), and reuses the cold-boot tab in verify_login().
  • Strict FIFO Queue & Accurate Queue Metrics: Replaced unordered polling in acquire_worker() with a strict FIFO ticket queue (_wait_tickets) and separated queued vs running tracking.
  • MCP Double-Launch Guard & Extended Timeout: Restricts direct local engine fallback strictly to ConnectionRefusedError and increases default gateway timeout via COPILOT_MCP_TIMEOUT_SEC (360s).
  • Login Window Hold & Scalable Verify Timeout: Keeps already signed-in open_login() windows open until user close or timeout, removes offline netstat blocking in brief(), and scales GUI _verify_all() timeout by account count.

Changed

  • English-First README.md & Updated FOR_AI_README.md: Rewrote README.md in clean English (maintaining single-line command compliance) and updated FOR_AI_README.md with a zero-to-working autonomous installation playbook and corrected master branch installer URLs.

Verification

  • pytest tests/ -q: 65/65 passed
  • regression_check.py single-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

Choose a tag to compare

@uno-km uno-km released this 19 Nov 02:23

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 downloads amv-cp-bridge.exe directly from the latest GitHub Release, validates the published .sha256 checksum, spawns a detached PowerShell atomic hot-swap helper with .bak rollback 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 in hot standby mode, reclaiming renderer memory while preserving conversation continuity when reset_chat=False.
  • University & Enterprise SSO Self-Healing + KMSI Auto-Confirm: Added automatic "Stay signed in?" (#idSIButton9) confirmation, configured email matching in accounts.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, selftest verification, .sha256 checksum generation, and browser extension zip publishing on v*.*.* 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-autorun launch flags, and sanitized Default/Preferences (exit_type: "Normal") before launch to prevent orphan msedge.exe accumulation 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

Choose a tag to compare

@uno-km uno-km released this 12 Nov 10:57

Added

  • Standalone Multi-Account Parallel Pool: Released CopilotPool queue lock immediately after atomic worker reservation (_reserved), enabling true concurrent execution across multiple logged-in Copilot worker ports while deprioritizing login_state == "required" workers.
  • Native Image Generation Gateway Endpoint (POST /v1/images/generations): Added CopilotWorker.generate_image and CopilotPool.generate_image with in-page data:/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): Added ReasoningStreamParser, DeepThink directive toggle support, and reasoning_content / content SSE delta separation.
  • Per-Account Browser Preference & Manual Window Control: Added "browser": "chrome" | "edge" fallback preference alongside Last Browser preservation, external status flagging for manually opened sessions, and single-worker shutdown via POST /api/accounts/{port}/close.
  • Generic Telemetry Source Attribution: Supported X-Bridge-Source and X-Client-App headers across REST endpoints cleanly without client-specific coupling.

Changed

  • Removed client-specific file lock env hooks and /api/telemetry/record bypass 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

Choose a tag to compare

@uno-km uno-km released this 08 Nov 09:35

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 (![alt](url)). 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/nameupp and u/kantorcodes1 for 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:

  1. 🎨 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
  2. 👁️ 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 HELLOCOPILOT2026 in 12.6s.
  3. ⚡ 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

v1.2.0

Choose a tag to compare

@uno-km uno-km released this 07 Nov 06:18

Added

  • Multimodal Vision & File Attachment Support: Full OpenAI-compatible multimodal input support for /v1/chat/completions:
    • Accepts content as 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).
  • Direct Local File Path Ingestion: Supports local file paths and file:// URLs in content items ({"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

Choose a tag to compare

@uno-km uno-km released this 04 Nov 16:11

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/settings and POST /api/settings endpoints 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

Choose a tag to compare

@uno-km uno-km released this 02 Nov 04:17

Fixed

  • The account name appeared as :9333 on 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.json with 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.db stopped 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 curl in 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

Choose a tag to compare

@uno-km uno-km released this 02 Nov 03:17

Added

  • One-line installer scripts/setup_all.ps1 (Windows) and scripts/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.zip in 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 mcp dependency 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 mcp 2.x, which removed mcp.server.fastmcp. The dependency is now limited to mcp<2.
  • macOS .command files were committed without the executable bit.
  • scripts/build/build_exe.py resolved 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

v1.0.0

Choose a tag to compare

@uno-km uno-km released this 02 Nov 02:12

Initial release