Skip to content

Releases: aiden-guan/AntiAgent

AntiAgent v0.4.6

Choose a tag to compare

@github-actions github-actions released this 02 Oct 22:30

Summary

Fixed agents taking noticeably longer to finish tasks since the v0.4.x flow-state hooks were installed. Antigravity runs every hook synchronously in the agent loop, and the antiagent-flow-state hook spawned a Python process (~40 ms) on every tool call and model invocation, roughly doubling AntiAgent's hook overhead. Flow tracking is now nearly free unless an antiagent agy session is actually running, and queued prompts / Smart Enter no longer get stuck behind stale state.

Architectural & Functional Highlights

Area / Component Improvement
Fewer Lifecycle Hooks (cli.py, plugin/hooks.json) Flow-state hook now registers only PreInvocation and Stop. PostToolUse and PostInvocation were redundant (every tool step is followed by PreInvocation or Stop). Legacy handlers remain for older hooks.json files and perform no I/O unless something must be cleared.
Pay-Only-When-Used Flow Tracking (engine/flow_presence.py, cli.py) antiagent agy registers a per-PID marker while running. Installed flow hook commands check for it with shell builtins and answer {} without starting Python when no wrapper is active (~4 ms instead of ~40 ms). Not installed on Windows (no PTY bridge) or when all flow features are disabled. Existing installs are migrated automatically on antiagent agy launch.
Lighter State Persistence (engine/interaction_state.py, hook.py) Ephemeral interaction state no longer fsyncs (atomic replace kept; prompt queue durability unchanged). Updates that only change informational fields skip disk writes. The guard hook skips flow-state writes when no wrapper is active; security evaluation is unchanged.
State-Machine Fixes (engine/pty_bridge.py) Terminal surface detection no longer re-matches stale "Allow once" text after Stop, which held queued prompts and made Smart Enter queue instead of send (and rewrote state on every output chunk). A BACKGROUND_BUSY state older than 30 s lets an explicit Enter through on a clean prompt surface; queued prompts are never dispatched on a timer, and approval/preview/question surfaces stay protected. State recorded before a wrapper session started is ignored.
Hook Profiling & Benchmarks (engine/hook_profiler.py, benchmarks/hook_latency.py) Opt-in ANTIAGENT_PROFILE_HOOKS=1 writes per-hook timings to ~/.antiagent/runtime/hook_profile.jsonl without touching hook stdout. Benchmark harness reproduces Antigravity's synchronous sh -c hook execution with A/B configurations.

Verification Proof

  • All 411 tests passed (pytest), including new suites tests/test_flow_state_machine.py, tests/test_flow_hook_performance.py, and tests/test_flow_presence.py.
  • Simulated 20-invocation / 100-tool run: flow overhead +6.8 s → within noise without a wrapper session (+0.9 s with one); single flow hook ~40 ms → ~4 ms when idle.


📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.
*.whl / *.tar.gz Cross-Platform Official Python package distribution archives.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install https://github.com/aiden-guan/AntiAgent/archive/refs/tags/v0.4.6.tar.gz && antiagent install --global

AntiAgent v0.4.4

Choose a tag to compare

@github-actions github-actions released this 01 Oct 16:05

Summary

End-to-end overhaul of the AntiAgent updater and in-app restart architecture (closes #4). Resolves unreliable pip upgrades and false-positive dashboard reloads by introducing an authoritative installation mode detection layer, version-pinned GitHub release tarball installations with PEP 668 managed-environment handling, staged atomic macOS desktop bundle replacements with automatic rollback, normalized CLI restart orchestration, and a unified restart API with process-instance verification.

Architectural & Functional Highlights

Area / Component Improvement
Runtime Install Mode Detection (runtime.py) Introduced InstallMode enum (MACOS_BUNDLE, PIP, EDITABLE_SOURCE, WINDOWS_PORTABLE). Identifies the active running bundle context rather than guessing based on disk directory presence. Isolates /Applications from ~/Applications to update only the active instance.
Version-Pinned Pip Upgrades (updater.py) Replaced bare unpinned PyPI pip invocations with authoritative, version-pinned GitHub release tarball targets (sys.executable -m pip install --upgrade <tarball>). Added live stdout/stderr log streaming (subprocess.Popen), safe PEP 668 handling (no default --break-system-packages), and fresh-interpreter post-install verification.
Staged macOS Bundle Updates (relauncher.py) Replaced live ditto bundle overwrites with staged extraction, pre-swap bundle validation (verifying bundle ID com.antiagent.desktop, version, and executable), detached process termination, atomic bundle swap, and automatic rollback on failure. Fixed permissions, cleared quarantine, and signed ad-hoc.
Normalized Restart Coordinator (runtime.py, dashboard/server.py) Replaced brittle raw sys.argv string reconstruction with DashboardLaunchContext.to_argv(). Eliminates duplicate dashboard arguments while reliably preserving --host, --port, --workspace, and --no-open, releasing the listening socket cleanly prior to spawn.
Unified Restart API (dashboard/server.py) Unified /api/update/restart and /api/update/relaunch_app to return structured plans containing server_instance_id, mode, target_version, and desktop_relaunch. Added random startup server_instance_id (UUID4) to /api/status.
Deterministic Client-Side Verification (index.html) Rewrote restartAndReloadDashboard() and evaluateRestartState(). Removed the arbitrary 12-poll false-positive reload; requires server_instance_id != initial_id AND version == target_version before refreshing. Shows actionable manual recovery diagnostics with exact commands upon timeout.
Wheel Packaging & CI Automation (pyproject.toml, workflows) Configured dynamic = ["version"] referencing antiagent.__version__, ensured dashboard HTML assets are packaged in wheels, added build-python artifact build and clean venv smoke test in release.yml, and added macOS test runners in tests.yml.

Verification Proof

  • All 345 unit and integration tests passed (python3 -m unittest discover tests) with 0 failures and 0 errors.
  • Added comprehensive test suites: tests/test_runtime.py, tests/test_relauncher.py, tests/test_restart_integration.py, and tests/test_restart_verification_js.py.
  • Closes GitHub Issue #4.


📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.
*.whl / *.tar.gz Cross-Platform Official Python package distribution archives.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install https://github.com/aiden-guan/AntiAgent/archive/refs/tags/v0.4.4.tar.gz && antiagent install --global

AntiAgent v0.4.3

Choose a tag to compare

@github-actions github-actions released this 01 Oct 02:02

Summary

Security hardening and test correctness patch: enforces monotonic workspace configuration merging to prevent untrusted repositories from re-enabling globally disabled artifact writes, corrects the supervisor bypass verification to mock the live evaluator.supervisor.review() method, and introduces automated GitHub Actions CI testing across Python versions.

Architectural & Functional Highlights

Area / Component Improvement
Monotonic Workspace Config Merging (config.py) Strictly blocks untrusted workspace .antiagent.json files from re-enabling auto_approve_artifact_writes when globally disabled by the user. Enforces strict boolean type validation (isinstance(v, bool)) to reject malformed values ("true", 1, null).
Supervisor Review Bypass Verification (tests/test_artifact_directory.py) Corrected mock target from stale review_tool_call to live AntiAgentEvaluator.supervisor.review(), with a fail-loud assertion ensuring artifact mutations never reach the LLM review path.
Automated CI Workflow (.github/workflows/tests.yml) Added GitHub Actions CI test suite running automatically on push and pull requests to main across Python 3.9 and 3.12 matrices.

Verification Proof

  • All 331 unit tests passed (python3 -m unittest discover tests) with 0 failures and 0 errors.
  • Added comprehensive regression tests in tests/test_artifact_directory.py (TestArtifactConfigMonotonicSecurity, 7 tests) and tests/test_security_audit.py (test_workspace_config_cannot_re_enable_artifact_writes).


📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

AntiAgent v0.4.2

Choose a tag to compare

@github-actions github-actions released this 01 Oct 01:42

Summary

Introduced Antigravity Conversation Artifact & Brain Directory Auto-Approval (Closes #3). AntiAgent now treats Antigravity's current per-conversation artifactDirectoryPath as an agent-owned write area. Routine file mutations (write_to_file, replace_file_content, delete_file) targeting inside that directory are deterministically auto-approved with zero confirmation prompts and without disrupting prompt queue interaction states. Sibling conversations, sensitive files (.env, credentials, system roots), and external filesystem paths remain strictly protected under workspace boundary guards.

Architectural & Functional Highlights

Area / Component Improvement
Runtime Trusted Artifact Containment (engine/heuristics/fs_guard.py) Added canonical-path containment verification (_is_inside_roots, _is_path_contained) for trusted artifact paths distinct from workspace roots. Correctly rejects path traversal (conv-a/../conv-b), prefix collisions (conv-a-malicious), and POSIX symlink escapes while preserving Windows case-insensitivity.
Deterministic Heuristic Auto-Approval (engine/heuristics/fs_guard.py) Evaluates file mutation tools (write_to_file, replace_file_content, delete_file) targeting inside trusted_artifact_paths immediately after sensitive target checks, returning DECISION_ALLOW deterministically before outside-workspace rules and before LLM supervisor invocation.
Antigravity PreToolUse Hook Integration (hook.py) Authoritatively passes artifactDirectoryPath from Antigravity's runtime payload into AntiAgentEvaluator and FSGuard. Ensures interaction state machine stays in RUNNING with pending_approval = False on auto-approved artifact mutations.
Safety Invariant Prioritization Strict evaluation hierarchy guarantees that credential files (.env, SSH keys, SAM, registry hives) and protected system paths (/etc, /System, /Windows) are checked FIRST and always flagged for confirmation, even if placed inside an artifact directory.
User & Environment Control (config.py) Added auto_approve_artifact_writes: bool = True with environment override ANTIAGENT_AUTO_APPROVE_ARTIFACT_WRITES. Untrusted repositories cannot declare arbitrary write roots via .antiagent.json.

Verification Proof

  • All 323 unit tests passed (python3 -m unittest discover tests) with 0 failures and 0 errors.
  • Added comprehensive unit, evaluator, hook contract, and Windows path containment test suite in tests/test_artifact_directory.py (18 tests).
  • Verified sensitive target check precedence, traversal rejection, sibling conversation isolation, and symlink escape rejection.
  • Closes GitHub Issue #3.


📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

AntiAgent v0.4.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 00:50

Summary

Comprehensive Dashboard UI Revamp, High-Telemetry System HUD, View Mode Workspace Navigation, Card Accordion / Focus Engine, Dynamic Release Notes Resolution, and Layout Customization. Solves excessive vertical scrolling and visual clutter by transforming the AntiAgent Dashboard into an organized, responsive mission control center. Resolves the update dialog showing generic installer boilerplate instead of actual release notes by automatically extracting feature highlights from the changelog locally or remotely.

Architectural & Functional Highlights

Area / Component Improvement
Telemetry HUD Strip (telemetry-hud) 5-tile responsive glassmorphic telemetry bar providing instant bird's-eye metrics without vertical scrolling: Safety Stance & Hooks, Real-Time Audit Intercepts & Denied count, Agent Sessions count, PR & CI Guard status, and Remote Fleet machine count. Clicking any tile jumps directly to its dedicated view.
Workspace View Navigation (view-tabs) High-performance segmented tab navigation dividing tools into 7 focused workspaces: Overview [1], Live Audit [2], Agent Sessions [3], Security & Rules [4], Safety Sandbox [5], Fleet & PRs [6], and All Cards [7]. Includes URL hash synchronization (#overview, #audit, etc.) and instant keyboard navigation (1-7).
Standardized Card Accordion & Collapse System Every dashboard card features an interactive header bar with one-click accordion collapsing. When collapsed, cards compress to a 44px compact bar displaying a dynamic summary badge (e.g. Balanced • Active, 24 events • 0 blocked, 0 machines), saving 80% vertical space while retaining live state awareness. Card collapse states are permanently remembered via localStorage.
Distraction-Free Fullscreen Focus Mode (⛶) Maximize any card into an immersive, viewport-filling Focus Mode with blurred glass backdrop, generous spacing, dedicated top exit ribbon, and full keyboard control (Esc to dismiss). Ideal for reading deep conversation transcripts, inspecting live audit JSON payloads, or running threat simulations.
Global Layout & Card Customization Modal Added #customizeLayoutModal allowing users to toggle individual card visibility (e.g. hide SSH remotes or GitHub PRs when not needed), select default landing views, choose UI spacing density (Comfortable vs Compact for laptops), and reset to defaults. Persisted across sessions via localStorage.
Overview Quick Actions Ribbon Sleek action ribbon on the Overview tab providing instant one-click shortcuts to Run System Doctor, Test Threat Simulation, Inspect Live Tool Calls Sidebar, and Check for Updates.
Instant Search & Jump Filter (Cmd+K) Dedicated search box filtering cards and expanding matching content in real time. Bound to Cmd+K / Ctrl+K.
Dynamic "What's New in Update" Resolution Fixed updater dialog displaying generic download instructions instead of actual version changes. antiagent.updater now detects generic installer bodies and extracts true feature notes from CHANGELOG.md (both locally and via GitHub raw API). Enhanced CI release workflow to automatically embed release notes into GitHub releases.

Verification Proof

  • All 300 unit tests passed (python3 -m unittest discover tests) with 0 failures and 0 errors.
  • Added comprehensive unit test in tests/test_dashboard.py (test_revamped_ui_structure) verifying Telemetry HUD, View Tabs (1-7), Layout Toolbar, Card Focus & Collapse actions across all 9 cards, and Customization Modal.
  • Added unit tests in tests/test_updater.py (test_get_best_release_notes_replaces_installer_boilerplate, test_get_best_release_notes_keeps_custom_notes) verifying release notes resolution.
  • Validated complete HTML well-formedness with zero unclosed or mismatched tags using custom Python HTML parser.
  • Validated JavaScript syntax and execution with Node.js (node --check).
  • Verified 100% preservation of all 213 pre-existing element IDs and interactive APIs.


📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

AntiAgent v0.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 00:30

📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

Full Changelog: v0.3.0...v0.4.0

AntiAgent v0.3.0: Unified Antigravity Conversation Browser & Native Context Management

Choose a tag to compare

@github-actions github-actions released this 28 Sep 21:21

Summary

Introduced the Unified Antigravity Conversation Browser + Native agy Context Management Integration. AntiAgent now discovers, indexes, inspects, and manages conversations across all Antigravity runtimes—Desktop, IDE, and CLI/agy. Rather than duplicating LLM context compression, AntiAgent deeply integrates with Antigravity's native compaction engine: detecting checkpoints, compactions, and resets while exposing rich context telemetry. Includes robust security isolation (blocking path traversal, symlink escapes, and credential leakage), strict chain-of-thought protection (never exposing internal thinking), high-performance bounded indexing with SQLite summary caching, full CLI commands, and a sleek dashboard interface.

Architectural & Functional Highlights

Area / Component Improvement
Unified Multi-Source Discovery (engine/conversations.py) Centralized session discovery across Desktop (~/.gemini/antigravity), IDE (~/.gemini/antigravity-ide), and CLI (~/.gemini/antigravity-cli, ~/.gemini/agy) using canonical (source, conversation_id) identity with environment variable isolation (ANTIAGENT_DESKTOP_DIR, ANTIAGENT_IDE_DIR, ANTIAGENT_CLI_DIR).
Native Context & Compaction State Inspector Exposes native Antigravity auto-compaction and transcript lifecycle events (CHECKPOINT, COMPACTION, CONTEXT_RESET, SESSION_RESET). Computes turn counts, tool executions, transcript byte size, and extracts the latest compaction checkpoint summary directly from transcripts.
Strict Security & Privacy Enforcement Rejects directory traversal (../, absolute paths) and verifies path containment preventing symlink escapes. Automatically redacts sensitive credentials in tool arguments (password, token, secret, api_key, authorization, Bearer tokens, GitHub PATs, OpenAI keys, PEM private keys).
Chain-of-Thought (CoT) Protection Strips internal agent reasoning (thinking) across normalized message streams, dashboard UI, and Markdown/JSON transcript exports. Only user requests, assistant responses, and sanitized tool calls are rendered.
High-Performance Bounded Indexing Optimized for massive histories using bounded head/tail byte inspections (<8KB head for first prompt and model, <16KB tail for latest prompt and compactions) combined with read-only SQLite conversation_summaries.db caching and in-memory mtime/size checks.
Transcript Path Forwarding (hook.py & context_extractor.py) Hook payloads now capture and forward transcriptPath, enabling instant context resolution without redundant filesystem scans.
CLI Conversation Management (antiagent/cli.py) Added full CLI suite: antiagent conversations list (with --source, --search, --limit, --json), antiagent conversations show <id>, `antiagent conversations export [--format markdown
REST API Suite (antiagent/dashboard/server.py) Added 6 secure endpoints: GET /api/conversations, GET /api/conversations/detail, GET /api/conversations/context, POST /api/conversations/resume, POST /api/conversations/open, and POST /api/conversations/export.
Unified Dashboard UI (index.html) Added glassmorphic Conversations card with real-time source tabs (All, Desktop, IDE, CLI), 300ms debounced search, native context telemetry banner, conversation detail & context modal, transcript viewer, and resume/export actions.
Doctor Diagnostics (engine/doctor.py) Enhanced run_doctor_check to report structured session breakdowns across Desktop, IDE, and CLI sources with direct jump actions in the dashboard.

📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer disk image with automatic application bundle placement.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Standalone portable package with native application launcher.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM deployment.
AntiAgent.zip macOS Standalone portable .app bundle without disk image mounting.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!

AntiAgent v0.2.1

Choose a tag to compare

@github-actions github-actions released this 28 Sep 09:42

📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

Full Changelog: v0.2.0...v0.2.1

v0.2.0: Remote Sessions via SSH for Google Antigravity

Choose a tag to compare

@github-actions github-actions released this 28 Sep 09:09

Summary

Introduced Remote Sessions via SSH, enabling developers and operators to seamlessly configure remote machines, probe Antigravity and AntiAgent runtime status, manage background agy --remote-control daemons, and launch interactive PTY sessions directly from AntiAgent. Built with zero external dependencies, strict standard OpenSSH client delegation, and robust security guarantees (zero password/key storage, no StrictHostKeyChecking=no, atomic config persistence, and comprehensive input validation).

Architectural & Functional Highlights

Area / Component Improvement
Native SSH Engine (antiagent/engine/remote_sessions.py) Implemented stdlib-only SSH engine utilizing system ssh and scp binaries. Features deterministic argument assembly (build_ssh_argv), OpenSSH batch mode execution, cached probing with configurable TTL, intelligent SSH error classification (auth failure, host verification failure, unreachable, timeout), and structured remote status parsing.
Interactive Terminal Proxy (launch_interactive_ssh) Full pseudo-terminal (PTY) proxy with POSIX raw mode restoration, automatic terminal window resize synchronization (SIGWINCH), and real-time Antigravity web UI URL detection. Gracefully falls back to direct subprocess execution on Windows and non-TTY environments.
Atomic Host Registry (~/.antiagent/remotes.json) Secure, multi-host configuration store with atomic write-replace (tempfile.NamedTemporaryFile + os.replace), strict POSIX file permissions (0600), and robust input validation preventing argument and command injection.
Comprehensive CLI Suite (antiagent remote) Added 12 complete subcommands: list, add, remove, show, test, doctor, login, status, start, stop, connect, and protect with rich tabular terminal formatting and actionable diagnostic advice.
Dashboard Integration & REST Endpoints Added 9 secure REST endpoints under /api/remotes/* (GET /api/remotes, GET /api/remotes/status, GET /api/remotes/doctor, POST /api/remotes/add, POST /api/remotes/remove, POST /api/remotes/test, POST /api/remotes/start, POST /api/remotes/stop, POST /api/remotes/protect) protected by origin verification and host header checks.
Modern Dashboard UI (index.html) Added dark glassmorphic Remote Sessions management card, real-time status badges, machine addition/editing modal with connection testing, diagnostics doctor modal, and one-click interactive connect instructions.
Automated Verification Suite Added 43 comprehensive unit tests across tests/test_remote_sessions.py, tests/test_cli.py, and tests/test_dashboard.py, verifying validation, injection prevention, atomic file operations, CLI execution, error classification, and API handlers.

📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer with native menu bar launcher.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows. Standalone native app launcher with pre-bundled assets.
AntiAgent.pkg macOS Standard auto-launching installer package for macOS.
AntiAgent.zip macOS Standalone portable .app bundle for manual extraction.

AntiAgent v0.1.9

Choose a tag to compare

@github-actions github-actions released this 22 Sep 18:17

📥 Which download is right for you?

Package Operating System Description
AntiAgent.dmg macOS Recommended for Mac. Drag-and-drop installer to /Applications.
AntiAgent-Windows.zip Windows (Public Beta) Recommended for Windows (Beta). Extract and double-click AntiAgent.bat.
AntiAgent.pkg macOS Standard auto-launching installer package for enterprise / MDM.
AntiAgent.zip macOS Standalone portable .app bundle archive.

ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!


⚡ 1-Line Terminal Installs

  • macOS: curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash
  • Windows (PowerShell): irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex
  • Cross-Platform CLI: pip install antiagent && antiagent install --global

Full Changelog: v0.1.8...v0.1.9