Skip to content

Releases

v1.3.3

Choose a tag to compare

@github-actions github-actions released this 29 Nov 12:07
411c62e

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added

  • Add Firefox browser extension packaging and compatibility fixes.
  • Add connector-specific tool enable/disable overrides to the dashboard and MCP registry.

Changed

  • Improve Gemini Web OAuth and MCP interoperability, including discovery, HTTP session handling, and connection timeouts.
  • Cache MCP metadata responses (invalidated when connector profiles or tool switches change) and reuse eligible file reads across sessions of the same connection as merge bases.
  • Improve confirmation dialogs, command previews, and command explanations.
  • Enforce Node test-fixture typechecking in npm run typecheck (tsconfig.coverage.json --noEmit) and attach aevra-extension-firefox.zip in quality/release workflows.

Fixed

  • Fix the integration-test fixtures so strict TypeScript compilation can run before Node coverage.
  • Firefox extensions can pair: the extension socket and pairing accept an exact moz-extension://<uuid> origin, and the Firefox extension pairs with its per-install UUID instead of its gecko id. moz-extension: pages are blocked from agent control, like chrome-extension: pages.
  • A stale write or patch auto-merges again when another session changed the file: writes no longer evict other sessions' read snapshots, which are keyed by content hash. Post-write snapshots skip SENSITIVE and SECRET files, as reads do.
  • Firefox console logs without a documentId are returned only for the current page origin, and never for opaque (null) origins, so a page cannot read logs from an earlier page in the same tab.
  • aevra-extension-firefox.zip carries manifest.json at its root, and npm run build:extension:firefox no longer deletes the Chrome build.
  • CI: retry the transient macOS CDP "Not attached to an active page" error on navigate, history and snapshot, and mock the npm version check in the UI parity tests.
  • The installed-apps collision test checks the merge rule on fixed registry output instead of two live scans that could time out.

Full Changelog: v1.3.2...v1.3.3

v1.3.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 11:19
645fb5a

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added

  • File transfer tools. files_download (agent sends files to this device) and files_upload (agent pulls files from this device) move one to 64 files of any type per call. files_download entries carry inline base64 or a public url with optional headers; URL bodies stream to a temp file in the target folder and are moved into place, overwrite defaults to false, and a declared mimeType that disagrees with the sniffed content is reported per entry (mimeMismatch). files_upload returns small results inline (delivery: auto stays inline up to 4 MB, then switches to links; inline forces inline up to the inline limit; link always mints links). Each batch asks for one HIGH once-scoped files:transfer approval listing every entry (host names and the count of supplied headers, never header values, URL queries or bytes); under YOLO risk do-whatever no approval is asked. Secret and protected paths are refused per entry in every mode.
  • One-time download links for files_upload: GET /files/<secret> on the public MCP origin. The secret is 32 random bytes kept only as a hash, the link lives 5 minutes in memory, serves exactly one successful download (an aborted transfer may retry until it expires), is tied to the connection that minted it and dies when that connection is revoked or disconnects. Unknown, expired, used and revoked links all answer the same 404. A bearer token is optional; when sent it must belong to the same connection. Every fetch is audited as files.link.fetch with the link id, never the secret. Links need a configured public URL (PUBLIC_URL_REQUIRED otherwise).
  • Transfer limits in Settings (files.transfer, GET/PATCH /api/files/transfer-settings): per file 200 MB, per batch 500 MB and inline 50 MB by default, editable in MB (1 to 10240; inline at most 256) and clamped so inline <= file <= batch.
  • Settings > Tools: a global on/off switch per tool, including tools of linked MCP servers, with group switches and search (GET/PUT /api/tool-switches, stored as tools.disabled, audited as tools.switches.update). The core group (workspace_*, operation_*, approval_*, aevra_status, control_access_status) is locked on. A disabled tool is removed from tools/list and refused when called by name, including through a hook rename. Clients see a change on the next tools/list; Aevra does not push tools/list_changed.
  • New error codes: FILE_EXISTS, FILE_CHANGED, URL_NOT_PUBLIC, URL_SCHEME, TOO_MANY_REDIRECTS, SIZE_LIMIT, URL_TIMEOUT, INLINE_TOO_LARGE, BATCH_LIMIT, PUBLIC_URL_REQUIRED.
  • Connector notes: each connection's detail modal has a Notes tab where the user leaves notes (text plus up to 4 png/jpeg/gif/webp images, 2 MiB each) for the AI agent using that connector. Blank titles become note-N. Each note has Visible to AI, AI can delete and Read on connect switches; deletes are permanent. New always-listed MCP tools notes_list, notes_read (images as MCP image content) and notes_delete (only when the user allowed it). Notes are read only when the user mentions them, except visible notes with Read on connect on: when the connector has any, the connect handshake tells the agent to read those notes. There is no connector-wide switch. Admin API under /api/connector-notes/:actor.
  • Requests drawer: Clear history removes finished approvals (including timed-out requests) after confirmation; pending and approved-but-not-run requests and the audit log are kept (DELETE /api/approvals/history). The history filters use a compact one-row layout.
  • First-launch welcome modal: a short friendly greeting that checks whether cloudflared and ngrok are installed (GET /api/system/tunnel-tools; Cloudflare Tunnel is recommended when both are ready, with download links when neither is), points new users to the Guide tab's Copy prompt button, and on any close opens Settings with the remote access section highlighted for 5 seconds. It shows once; the seen flag is the existing server-side onboarding flag, so users who completed onboarding are not shown it.
  • Multi-workspace grants for connectors: connectors can now be granted multiple workspaces simultaneously via a searchable dropdown multi-select in the Connector modal (or default to none granted). Each granted workspace configures an admission profile (full, read-only, custom), admission mode (standard, isolated), and per-workspace external mount capability controls (read-only, read-write, blocked).
  • Dual configuration snippets: connector creation and detail modals display both Local URL and Tunnel URL JSON configuration blocks side-by-side on desktop (and stacked on mobile/tablet) with dedicated top-right icon-only copy buttons.
  • Searchable actor dropdown list: connector creation and detail feature a searchable actor dropdown with profile and admission data consistent with connector permissions.
  • Global confirmation dialog keyboard shortcuts: Primary action triggers on Enter keypress and Cancel triggers on Esc keypress across all modal and confirmation dialogs in the Web UI.
  • Independent toast notification lifecycle: toasts feature isolated entrance and exit CSS animations (toast-in and toast-out) with pointer event management, ensuring toasts persist and dismiss smoothly across tab navigation and modal state changes.

Changed

  • YOLO policy has two independent settings, risk and scope (policy.yolo is now {mode, risk}; PATCH /api/policy/yolo merges and audits as policy.yolo.update). Risk prevent-high-risk (default) still confirms CRITICAL work; do-whatever runs it without confirmation only when scope is unrestricted. With scope workspace, commands outside the workspace or of unknown scope still ask. Non-command tools such as file transfer skip approval under do-whatever in either scope. Scope workspace keeps work inside the workspace; unrestricted now only lifts the scope checks, so remembered denies, network deny, script trust, network approval and unsupported syntax still apply to commands outside the workspace or of unknown scope. Under do-whatever with scope unrestricted they are skipped. A command conclusively inside the workspace is allowed under any YOLO setting before those checks. Secret-path and DLP denial apply in every combination.
  • Dashboard: the Onboarding section is removed; the welcome modal replaces it.
  • Modals and dialogs now isolate the page: while one is open the page behind does not scroll or take clicks and focus, scrolling stays inside the modal, and a dialog opened from a modal keeps the modal inert until it closes (toasts stay visible).
  • Connection detail modal: the Notes tab label shows the note count, for example Notes (11), when the connector has notes.
  • Note editor: the Visible to AI, AI can delete and Read on connect switches sit on the same row as the title.
  • Connection detail modal: Details and Notes tabs, titled sections, and switches instead of checkboxes for the tool surface.
  • Modern server/discover results are now always cacheScope: 'private'. Token usage no longer counts base64 image data in tool results.
  • Server _meta (name, version, description, icon) is now sent only on initialize, server/discover, tools/list and the results of base tools (aevra_status, workspace_*); the description is rewritten. Other responses carry no server _meta.
  • The MCP request body limit is 1 MB except for tools/call of files_download, which may carry the inline limit plus base64 overhead (OAuth routes stay at 1 MB). The advertised tools/list size budget is 56,000 characters.
  • Settings: the Local AI agents section's Add connection button is now Connect; the connect dialog uses switches, lets you pick several workspaces, and shows a compact two-column preview.
  • Settings page layout: swapped order of YOLO policy and Execution sections (YOLO policy placed beneath Keep Awake); eliminated empty void space below Execution card by wrapping Execution and File Transfer into a balanced column stack opposite Tools.
  • Settings > Tools: tool switch categories start collapsed by default (defaultOpen: false) with automatic expansion during search filtering, and scrollable container height reduced to a compact 280px.
  • Settings > Browser Control: redesigned Browser origin policy host lists into 2-column responsive cards with danger ("Refuse") and warning ("Ask every time") tags, monospace input typography, and pixel-perfect header baseline alignment. Segmented SwapControl replaces radio buttons for loopback classification.
  • Settings > Execution & File Transfer: "Advanced execution settings" converted to an outline secondary button; "Save execution" relocated to the top-right card header; "Save transfer limits" relocated into the desktop 2-column control grid alongside "Max inline size (MB)".
  • About page layout: "Support & Community" card relocated to the second row with grid-column: span 2 across the full grid width beneath Aevra and Links & Resources.
  • Mobile viewport polish: New Connector button occupies full width on mobile viewports; reduced modal header heights; standardized red square [x] removal button pattern; replaced bulky "Ready" badges with color-coded status indicators.

Security

  • files_download URL fetches reach public addresses only: loopback, private, link-local, CGNAT, IPv6 equivalents and cloud metadata hosts are refused after DNS resolution and on every redirect (at most 5, http(s) only), the vetted address is pinned for the connection, and the size limit is enforced while streaming.
  • Agent-supplied headers, inline bytes and URL queries live only in the volatile approval slot and the in-flight call; tickets, audit, the activity log, hook payloads and results never hol...
Read more

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 07:29
e52e21c

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added

  • Custom startup listeners: aevra start --ui --basePort=50000 moves gateway, UI/admin and pairing, MCP, and extension WebSocket to 50000–50003. Individual --gateway-port/--gp, --ui-port/--up, --mcp-port/--mp, and --ws-port/--wp flags change any selected listeners. Both --flag=value and --flag value work; mixed modes, duplicate aliases, invalid values, overflowing blocks, and colliding listeners are rejected before binding.
  • User-service install/start/restart accept the same options and retain the selected startup arguments. Foreground overrides remain invocation-only; later UI/status/agent-management commands discover the running instance's actual listener addresses.
  • Document the implemented custom-port contract, service retention rules, extension pairing addresses, and versioned release metadata for the core, dashboard, and owned browser extension.

Fixed

  • Pass the configured WebSocket port into the execution worker, pairing replies, and origin protection. A failed WebSocket bind now fails startup and releases the other listeners instead of announcing an unusable port block.

Full Changelog: v1.3.0...v1.3.1

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 01:49
280aadb

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added - Local AI agents and browser packaging

  • Safety for agent changes and purges: agent install/uninstall keeps a write-ahead journal in <folder>/<product>.pending.json and a cross-process lock shared with Aevra Browser, so an interrupted run is undone (or finished, when its manifest already landed) by the next agent command; agent status reports a pending journal. The journal may hold the previous contents of an agent config, which can include a token, until the operation completes; a journal naming files outside agent configs, the manifest, the skill or credential files is refused. uninstall --purge removes only what the product marked as its own (.aevra-state-owner.json): a custom AEVRA_STATE_DIR that was not empty when first marked keeps its pre-existing entries, and a folder moved to a new path keeps its ownership. An extension the user edited is kept, not fatal. Uninstall dry runs list what a purge would remove and keep.

  • Add shared port-selected browser extension packaging, local stdio MCP bridging, managed Codex/Claude Code/OpenCode/Antigravity registration, canonical skill links and ownership-aware removal. Add standalone Browser settings UI/CLI and durable per-agent HTTP credentials.

  • Add local AI agent management: aevra agent list|status; aevra agent install with no target acts on the detected agents after a Proceed? [y/N] confirmation (--yes skips it, a run without a terminal and without --yes prints the list and exits 1, install all with nothing detected exits 1); --scope user|workspace; --workspace <name> (implies workspace scope, resolved through registered Aevra workspaces); the claude alias; and --json (one JSON document on stdout; credential file paths and hashes are never printed). Workspace scope is stdio only, installs no skill and creates no skill links; the entry goes to <root>/.codex/config.toml (Codex, trusted projects only), ~/.claude.json (or $CLAUDE_CONFIG_DIR/.claude.json) under projects[<root>] (Claude Code, nothing written into the project), <root>/opencode.json or an existing .jsonc (OpenCode) or <root>/.agents/mcp_config.json (Antigravity). The install refuses with AGENT_PROJECT_FILE_TRACKED when git tracks the target file and otherwise adds it to the repository info/exclude. It also refuses a symbolic link or junction on the way to the file inside the project (AGENT_PATH_CONFLICT), a workspace folder that is the home folder or a filesystem root, and a project file that is the agent's global file (AGENT_OPTIONS_INVALID); git runs only from an absolute PATH entry outside the project. Detection uses PATH names or config homes and never spawns a process. Settings now shows a connections table with Last used and an Add connection dialog (detect agents, global or one workspace, dry-run preview, per-agent results).

  • Breaking: aevra agent serve --credential-file <file> replaces aevra mcp serve --stdio with no alias. Configurations written by earlier local builds are refreshed by running aevra agent install <agent> again: an existing stdio connection whose entry differs is rewritten in place and keeps its credential.

  • Change: root aevra uninstall now prints a human summary instead of raw JSON (it has no --json) and runs product cleanup only after agent removal succeeded: a managed entry or skill modified since install refuses the uninstall, and cleanup and --purge are then skipped. A hand-written aevra entry of an agent Aevra never registered no longer blocks uninstall. aevra agent uninstall all without --scope removes every connection, including orphaned workspace ones.

  • Change: agent uninstall scopes are explicit. POST /api/agents forwards scope as sent; scope: 'user' removes global connections only, also for target: 'all'; new scope: 'all' (uninstall only) removes every connection; a single-call target: 'all' uninstall without a scope means all, runs agent by agent and reports per-agent results instead of failing as a whole. aevra agent uninstall all and aevra uninstall send scope: 'all' (an older core refuses it as an unknown scope: restart aevra start).

  • Add aevra agent uninstall --id <id> and credentialId on POST /api/agents (uninstall only): removes exactly one connection by its connection id, also when its workspace folder was deleted or is not a registered Aevra workspace; agent list prints the id of such connections and Settings now removes them with Remove (Update stays disabled).

  • Fix: aevra agent install <agent> again after an MCP port or TLS CA change rewrites the stdio credential file's endpoint and CA file (same credential) and an HTTP entry's endpoint with the stored credential, instead of reporting no change. A workspace install in a git repository whose git cannot be found outside the project now notes that tracking was not checked; device-path and 8.3 short-name PATH entries into the project are refused as git candidates. Claude project keys are matched case-insensitively only on Windows and macOS. uninstall all with only workspace connections no longer touches the user skill.

  • Change: admin audit records of agent dry runs carry dryRun: true; aevra agent list and install against an older core without GET /api/agents/detect print the version hint and exit 1.

  • Enlarge Web UI token summary values, remove card detail rows, and show the saved percentage inline with the saved count in daily and all-time statistics.

  • Fix macOS native build/test setup: explicitly select installed Xcode 26+ and verify Metal SDK declarations, persist its SDK path, and link Rust consumers with the system Swift runtime search path. Apply the same prerequisite to Desktop release builds and the root helper matrix.

  • Repair desktop security regression fixture types so the full Node coverage compiler checks authorized read arguments, nullable capture results and the current input gate direction without casts that hide interface drift.

  • Enforce Rust format and strict Clippy in root desktop-helper CI, and explicitly select Node.js 24 in native/helper and changed-area jobs. Limit Markdown text-file formatting to llm.txt so CMake and generated text caches retain their native syntax.

  • Fix GNOME 46 keyboard input refusal by distinguishing the stage fallback from Shell-owned focus; keep modal, overview and Shell actor guards, with a cross-version policy regression.

  • Fix strict Rust 1.99 Clippy failures across desktop platforms using fixed-size pixel chunks, platform-specific compilation and simpler native bindings. Regenerate the shared helper overlay without weakening CI checks.

  • Standardize current runtime/build CI on Node.js 24 and GitHub-maintained Actions @v6; add local .node-version files and keep independently versioned Rust cache support.

Desktop authorization and architecture

  • Bind window capture/describe to the authorized native identity and recheck read attribution/current policy before publishing; refuse native-ID reuse and mid-read allowlist revocation.

  • Invalidate connection generations on disconnect/reconnect; reject cancelled connect completions and prevent older reads from returning data or reinstalling foreground refs after session changes.

  • Refuse GNOME Shell keyboard/modal grabs, correct decorated frame/buffer capture and click geometry, preserve KDE fractional wheel coordinates, and invalidate stale native mappings/refs on explicit reconnect.

  • Extract the canonical native helper library and shared prepared-action executor, removing mirrored standalone module/dependency wiring and broad lint suppression. Add behavioral host/native regressions and library-boundary checks.

  • Add the KDE KWin 6.6 native plugin, explicit executable-path grants with persisted nonce consumption, pinned kernel/compositor identity, isolated window-item capture and guarded virtual input. Include reproducible source packaging and required KDE CI.

  • Add real held-button disconnect regression; flush KWin pointer teardown and avoid forced GNOME device disposal while queued release events still reference the devices.

Desktop capture and input

  • Implement native GNOME Wayland window capture and foreground input in the shared helper, with an explicit-install GNOME Shell companion, approved helper path, visible pause control, lock/peer revocation and compositor-native window/occlusion checks. Preserve independent AT-SPI semantic access.

  • Add required private GNOME/GTK target-and-sentinel acceptance for both hosts: actual button/wheel events, Unicode input, Ctrl+A replacement, protected fields, focus changes, isolated window pixels and paused-access refusal. Package the companion with Linux helper/desktop artifacts.

  • Document GNOME and KDE setup, the canonical helper library and shared input executor, authorized read publication and reconnect recovery. Keep runtime evidence separate from configured CI and remaining platform acceptance.

  • Bind every foreground request to the process/window/executable/host identity authorized by the worker or standalone host; refuse changed targets before new native effects and preserve held-key cleanup.

  • Prepare portable input once, refresh only bound process/field paths per effect, and stop after a 7.5-second native input budget with explicit partial-outcome errors. Add private X11 focus-switch and 280-character Unicode regressions.

  • Resolve macOS foreground windows through the active AX window rather than the active PID; cover two editors and a non-key palette in shared tests and the opt-in native fixture.

  • Reconcile canonical overlay reverts and file removals with drift protection and clean-apply regression tests, including empty files and missing final newlines.

  • Add macOS 13+ ScreenCaptureKit isolated-wind...

Read more

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 01:09
da24d72

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Fixed - Web UI

  • Modal footer hidden when zoomed in: Create/Edit modals are now a flex column with a fixed head and foot and a scrolling body, so the footer actions stay reachable at high zoom.
  • Secret reference names missing from the table: The name resolves from ref, id, keyRef, or key, so newly created references show their name.

Added - Web UI

  • Edit secret reference: Each reference has an Edit button that opens the modal with the name read-only so its value can be replaced.

Changed - Web UI

  • Toasts instead of inline hints: Action results and validation errors across Settings, Data, Permissions, Remote access, workspace and connector modals, and the approval modal now use the shared toast through a new useToast hook over the existing .toast-stack markup. Login panel errors stay inline. Dead inline-hint CSS was removed.

Security - Admin login lockout

  • Escalating lockout on failed Admin logins: Failures are counted per client address and per (address, username) in a 15 minute sliding window. Five failures lock that pair and twenty lock the whole address, for 1 minute, doubling on each further lockout up to 1 hour. The level decays after a quiet window, the lock is temporary so a known username cannot be locked out permanently, and a successful login clears the pair counter. Locked requests return 429 with Retry-After and the same body for every username; attempts still in flight count toward the threshold so parallel guesses cannot slip past the check.
  • Real client address behind the gateway: The Admin plane now keys the throttle on the forwarded client address (cf-connecting-ip, true-client-ip, x-real-ip) only when the request came through the trusted gateway and the operator enabled trustedProxyClientIp, and only if the value parses as an IP. Otherwise it keeps using the peer address.
  • Audit and notification: Every lockout is written to the audit log as a security event (admin.login.lockout) and raises a desktop notification, at most one a minute.
  • Login panel countdown: A 429 shows an inline countdown from Retry-After and disables sign-in until it ends.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 01:34
f4df1eb

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added - Token Usage Accounting & Storage

  • Lightweight token estimator (heuristic-v1): Protocol-level estimator (packages/protocol/src/token-estimate.ts) calculates non-negative integer token estimates across request arguments, responses, and saved characters: ASCII ceil(length / 4), CJK/Hangul/kana/full-width/emoji 1.0, and other Unicode characters 0.5.
  • SQLite token storage (migration 25): Added token_usage table (WITHOUT ROWID, PK (granularity, bucket, connector, tool)) in migration 025_token_usage. Tracks calls, errors, input_tokens, output_tokens, saved_tokens, and duration_ms without storing command arguments, outputs, or file paths.
  • In-memory accumulator & automated roll-up: UsageMeter accumulates live request counters in memory, flushing to SQLite every 30 seconds and on runtime shutdown. Hourly records (UTC YYYY-MM-DDTHH) older than 7 days are automatically rolled into host-local day records (YYYY-MM-DD) and pruned, keeping storage under ~1.5 MB/year.
  • Admin Usage API: New endpoint GET /api/usage/tokens?range=24h|7d|30d|90d|all returns zero-filled timeseries, today totals, range totals, top 10 tools by output tokens, and per-connector breakdowns. Invalid ranges return 400 INVALID_RANGE.
  • Runtime Overview analytics: Added TokenUsageStats cards in the dashboard overview grid (Tokens out today, Tokens in today, Saved today with percentage, Avg tokens per call, Top tool today) seamlessly unified into a 7×2 flow layout with identical 1-column spans, 10px uppercase labels, 16px values, and subtle 11px context notes. Placed interactive SVG history chart legend and heuristic note on a single row with space-between alignment.

Added - Connector Tool Surfaces & Result Formats

  • Per-connector tool groups: Configure enabled tool surfaces per client in setting mcp.connectorProfiles: files, commands, git, changes, skills, browser, desktop, control, and upstream. The core group (aevra_status, control_access_status, workspace_*, operation_*, approval_*) is always on.
  • Fail-closed group enforcement: Calling a tool in a disabled group immediately returns error code TOOL_GROUP_DISABLED naming the group and Settings path.
  • Per-connector result format: Choose both (dual text + structuredContent, default), text (text only), or structured (structuredContent only) to eliminate duplicate payload transmission for capable clients.
  • Admin Connector Profiles API: GET /api/connector-profiles lists known actors with group token estimates; PUT /api/connector-profiles/:actor updates settings and appends a connector.profile.update audit event.
  • Connection modal UI: Added "Tool surface" controls to the Connection Detail Modal with live token savings estimations per group.

Changed - Result Shaping & Output Budgets

  • Edge result shaper: Automatically shapes tool results at the MCP ingress edge (handleJsonRpc):
    • S1 (Unwrap): Unwraps { ok: true, value: X } -> X on shell_run, command_run, and command_run_many items.
    • S2 (Batch flattening): Drops redundant array index, duplicate inner path, and default sensitivity: NORMAL in file_read_many, file_write_many, and command_run_many. Hoists untrusted notices once to the root envelope.
    • S3 (Summary cleanup): Omits failed: 0 and skipped: 0 from batch summaries.
    • S4 (Command defaults): Drops signal: null and empty stderr: "" from command execution records.
    • S5 (Command output & budget): Strips ANSI sequences, normalizes CRLF to LF, keeps the final state of carriage-return redrawn lines, collapses 3+ consecutive duplicate lines, and enforces maxOutputChars budget.
    • S6 (Approval summaries): approval_status and approval_wait return concise summaries by default unless detail: "full", preventing multikilobyte payload consumption on approval polling loops.
    • Content preservation: Underlying file content in file_read* operations is strictly preserved byte-for-byte.
  • Configurable command budgets: maxOutputChars input (integer 256–200,000, default 16,000) on shell_run, command_run, and command_run_many. Over-budget streams retain the first 25% and last 75% joined by \n… [N chars omitted] …\n and set truncated: true.

Changed - Advertised Schema Compaction & Transport

  • Compact tools/list: Stripped deprecated compatibility fields from host tools (browser_*, desktop_*, control_*), omitted default-false hints (readOnlyHint, idempotentHint), removed bare { type: 'object' } output schemas, and shortened repeated workspace descriptions. Serialized default definition catalog is guarded at ≤ 54,000 characters (~20% reduction).
  • Transport optimizations: Serializes responses once via sendJsonBody, memoizes serialized tool lists per enabled group set, and bounds in-memory activity log object depth and length before serialization.
  • HTTP response compression: Automatically gzip-compresses MCP JSON responses of 1,024 bytes or larger when the client sends Accept-Encoding: gzip (Vary: Accept-Encoding). SSE event streams remain uncompressed.

Fixed

  • Source-level ANSI sequence stripping: Replaced partial control character stripping with stripAnsiSequences in packages/security/src/untrusted.ts, stripping complete CSI and OSC sequences so command outputs and approval previews no longer contain orphaned formatting artifacts such as [90m or [2K.
  • Browser CDP navigation retry: Automatically retries transient Not attached to an active page CDP errors during navigation commits on Chromium, preventing intermittent page snapshot failures during fast navigation sequences.

Full Changelog: v1.1.4...v1.2.0

v1.1.3

Choose a tag to compare

@github-actions github-actions released this 27 Sep 22:57
1e0d94a

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Changed - Host Browser and Desktop Access

  • Browser and desktop control now use grants on the exact AI connection, independent
    of workspace selection. A workspace grant alone cannot authorize host control;
    legacy workspace arguments on these tools are accepted but ignored for access.
  • Browser control settings list paired profiles individually. Unpair revokes one
    profile while Disconnect all browsers revokes every profile and drops both
    browser transports.

Added - Browser Actions

  • browser_act_many accepts both flat actions such as
    { "op": "click", "x": 355, "y": 550 } and single-key nested actions such as
    { "click": { "x": 355, "y": 550 } }. Invalid forms return INVALID_REQUEST
    with the action index before dispatch.
  • Coordinate drag presses, moves with the left button held, and releases in one
    action on both extension and CDP transports. It works on canvas and ordinary
    pages; a failed move attempts release before returning an error.
  • Model-facing browser guidance prefers accessibility refs, then stable CSS
    selectors. Vision and coordinate actions are the fallback for canvas controls
    without semantic targets or failed semantic actions.

Fixed - Browser Pairing Status

  • browser_status now marks a paired, authenticated socket as
    ready_to_connect and returns the exact browser_connect call. The Admin UI
    shows that next step when a browser session has not yet been attached.
  • A missing live extension socket now reports that state accurately instead of
    saying the saved pairing was lost.
  • When an authenticated extension socket closes, browser status now clears the
    stale attached session and tab list instead of continuing to report connected.

Fixed - Browser Tab Focus

  • browser_tabs {action:'focus'} now selects the requested extension tab and
    brings its window forward. Tab listings report only the selected tab in the
    last focused window as active.

Fixed - Vision Snapshots on Canvas and HiDPI Pages

  • Vision snapshot timeout: the extension returned the viewport as a
    device-pixel PNG. On a large or HiDPI canvas page that PNG exceeded the 8 MiB
    extension frame, and the socket was dropped. The caller then waited for
    BROWSER_TIMEOUT: snapshot exceeded 15000ms. Both transports now capture a
    bounded JPEG of the visible viewport through a shared budget (1280 px longest
    edge, with quality and then size stepped down as needed), which fits the
    worker's 1 MiB IPC frame.
  • Fail fast on lost replies: an oversized reply fails with
    BROWSER_REPLY_TOO_LARGE, and a disconnect fails with BROWSER_UNAVAILABLE,
    both immediately instead of after the RPC timeout. The extension refuses to
    send a frame the worker would reject.
  • Keep the extension alive during capture: an authenticated socket sends a
    small keepalive every 20 seconds so Chromium does not suspend its MV3 service
    worker while a slow vision request is running. A capture error returns on that
    request and leaves the socket available for later browser commands.
  • Coordinate clicks on canvas apps: extension coordinate clicks use a
    temporary Chrome debugger attachment for browser-native press and release
    events rather than page-generated events. Both transports convert {x, y}
    using the ratio of the tab's last vision capture. Extension vision capture
    uses the same temporary debugger viewport so the notice does not shift click
    positions relative to the screenshot. Ref and selector clicks keep their DOM
    action path.
  • Snapshot diagnostics: capture stages and extension socket-close causes are
    retained for a pending vision request, making disconnects and timeouts easier
    to distinguish without exposing image or page content.
  • No extension error while Aevra is stopped: Chrome logs every refused
    WebSocket as an extension error that cannot be caught. The extension now
    probes the listener over plain HTTP (the worker answers 426) and dials only
    when the listener may be up. While Aevra is not running it logs one warning per
    outage and keeps retrying on the existing backoff.

Full Changelog: v1.1.2...v1.1.3

v1.1.2

Choose a tag to compare

@github-actions github-actions released this 23 Sep 22:35

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Fixed - npm Runtime Packaging

  • Global CLI startup: include the compiled browser, command-analysis, control,
    desktop, and MCP upstream modules required by the shipped runtime. This fixes
    ERR_MODULE_NOT_FOUND when starting the npm-installed CLI.
  • Package artifact verification: add npm run test:package to pack and
    install the built artifact, check its relative JavaScript imports, and run
    the installed CLI's --version command. The full and portability gates run
    this check after building.

Changed - Node Test Runner Isolation

  • Give each normal and coverage test run a private TEMP/TMP/TMPDIR root
    and remove only that root after completion. Preserve the runner's original
    result if a test fails or cleanup itself encounters an error.
  • On macOS, create the root under /tmp with a short name so nested Unix
    socket fixtures stay within the platform's socket path limit.

Changed - Release CI

  • Run the Quality gate for pushes to every branch. Release jobs wait up to two
    hours for that exact commit's push-triggered gate to succeed, then reuse its
    build artifacts. Code review approval is not a release gate.

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 11:44

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added - Guarded Control Plans & Cross-Platform Shared Desktop Semantics

  • Bounded local control plans: added control_observe, control_execute,
    control_plan_status, control_plan_cancel, and desktop_act_many.
    Schema-version-1 plans support at most 32 typed steps, explicit dependencies,
    exact refs or unique exact locators, finite pre/postconditions, bounded output,
    a 60-second plan deadline, and maxConcurrency up to four. Independent
    surfaces can execute concurrently; same-surface work remains serialized.
  • Observation and context cache: added owner/surface-scoped observations,
    immutable baseline IDs, event/validation epochs, generation invalidation,
    bounded history/bytes/images, delta continuations, compact full fallback, and
    deterministic context projection. Foreign owners cannot read another owner's
    cached observations or deltas.
  • Durable plan recovery: migrations 017/018 add owner+request idempotency,
    a persisted keyed plan digest, redacted per-step dispatch records, and
    sanitized terminal step summaries. Raw set/type values and UI observations
    are not persisted. Incomplete plans become unknown on restart and are
    never blindly replayed; matching completed requests can reattach safely.
  • Cross-platform semantic desktop helper: Windows keeps the existing UIA
    backend; macOS and Linux now have shared-semantic AX/AT-SPI2 providers through
    pinned xa11y 0.15.0. Portable mode supports accessibility-tree reads and
    provider invoke/value/select/toggle actions without host cursor, keyboard, or
    clipboard synthesis. Permission/provider failures are explicit rather than
    empty successful trees.
  • Native helper packaging: quality-gate CI builds/tests release helpers on
    Windows, macOS, and Ubuntu. Release publishing downloads those exact validated
    artifacts, stages dist/helper/<platform>-<arch>, preserves executable bits,
    includes helpers in npm, and attaches native binaries to GitHub releases.
  • Shared desktop app catalog and access review: added bounded Windows app
    discovery, host-stored custom app metadata, exact-path grants, and
    desktop_request_access. Requests are owner/window/process bound, expire after
    ten minutes, and require administrator review before a session or persistent
    grant is created. WebView2 grants require a verified native host relationship.

Changed - Browser Target Isolation & Faster Actions

  • Browser script fast lane: added browser_execute_script, a bounded
    Playwright-like CSS action grammar that compiles up to 32 statements into the
    existing typed browser action path. It never evaluates arbitrary JavaScript;
    navigation remains separate so URL DLP and origin policy cannot be bypassed.
  • Target-pinned CDP sessions: CDP now holds a session per target. An explicit
    tabId attaches/acts on that target without bringing it to the foreground,
    and refs cannot cross target/snapshot boundaries.
  • Extension ref hardening: extension snapshots/actions now use opaque element
    identities stored in Chrome's isolated world instead of page-writable
    data-aevra-index attributes. Credential-shaped field values are omitted
    from snapshots as well as remaining unwritable.
  • Non-activating extension capture: a named inactive tab now returns
    BROWSER_CAPTURE_REQUIRES_ACTIVE_TAB rather than silently selecting it.
  • Policy ordering: script/action parsing, bounds, and outbound DLP validation
    happen before MEDIUM/HIGH approval construction, keeping invalid or
    secret-bearing values out of approval payloads.
  • Strict isolation stays fail-closed: mode:"isolated" never downgrades to
    the ordinary host worker. v1.1.1 returns CONTROL_ISOLATION_UNAVAILABLE
    until a separately provisioned runner has passed containment qualification.

Changed - Activity and Approval Details

  • Structured activity and approval details: added readable, expandable views
    for tool inputs/results and approval payloads, with raw-text mode and exact-value
    copy support for long or nested content.

Fixed - Approval & Management UI

  • Long approval commands: approval dialogs now cap themselves to the viewport,
    scroll the body, keep the action row reachable, and ellipsize long
    command/preview/matcher text. The full value remains available through the
    native title tooltip.
  • Runtime table scrollbar spacing: contained management tables reserve a
    stable scrollbar gutter and right padding so filters and pagination are not
    covered by the vertical scrollbar.
  • Portable desktop outcome honesty: AX/AT-SPI semantic actions revalidate
    focused-window identity after dispatch and do not report stale pre-action
    toggle state as a postcondition.

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

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

npm: https://www.npmjs.com/package/@the-long-ride/aevra

Update aevra

npm install -g @the-long-ride/aevra@latest

Added - Structured Command Understanding, Workspace Scope & Typed Rules

  • Keep-awake reliability: Windows now reasserts the system-required execution state every 30 seconds and treats a zero API result as failure; Linux now inhibits both idle and sleep through logind so active keep-awake policy cannot silently allow suspension.

  • Structured Command Analysis & Graph Generation (packages/command-analysis):

    • Replaced legacy string-based wildcard collapsing (shell:<kind>:*) with versioned, structured semantic command analysis (CommandAnalysis, CommandNode).
    • Added bounded shell parsing adapters for PowerShell (pwsh and Windows PowerShell 5.1), CMD, Bash, sh, and zsh, emitting explicit nodes, source spans, and graph edges (sequence, success, failure, pipe, subshell) without executing script text.
    • Safe analysis bounds: max 64 KiB script text, 256 nodes, 4 nested shell depth, 32 cwd alternatives, and 1500 ms parse budget returning ANALYSIS_LIMIT rather than truncating into an allowed command.
    • Transparent nested shell recursion recognizing -Command, -c, -lc, and CMD /c with dialect-specific parsing.
    • Explicit diagnostic reasons (PARSE_INVALID, UNSUPPORTED_SYNTAX, DYNAMIC_SCOPE, OUTSIDE_WORKSPACE, TOOL_NOT_FOUND, EXECUTABLE_CHANGED, SCRIPT_CHANGED, UNKNOWN_OPTION, CONTEXT_CHANGED).
  • Application & Wrapper Semantic Adapters:

    • Git adapter (applications/git.ts): extracts global options before subcommands, repeated -C transitions, --git-dir, --work-tree, and distinguishes mutations (branch -D, hard reset, push force/force-with-lease, clean) from read-only operations (status, diff, log, show, branch list).
    • Node Packages adapter (applications/node-packages.ts): supports npm, pnpm, yarn, and bun, differentiating exact named scripts (run <script>), audit inspection vs audit --fix mutation, and target directories via --prefix, --dir, and -C.
    • RTK Wrapper adapter (applications/rtk.ts): recognizes documented RTK command mappings (rtk git ..., rtk npm ..., rtk tsc, rtk lint, rtk prettier, rtk jest, rtk vitest, rtk cargo ..., rtk dotnet ..., rtk deps, rtk env), retaining wrapper identity and mapping version while delegating to underlying application semantics. Unknown RTK mappings remain explicit and unprivileged.
    • Generic & Builtin adapter (applications/generic.ts): tracks directory change builtins (cd, chdir, Set-Location, pushd), standard read utilities (cat, ls, grep, rg), and filesystem mutation tools (rm, rmdir, mkdir, cp, mv).
  • CWD Flow & Canonical Workspace Scope Enforcement:

    • Full propagation of optional cwdLogical through command and process inputs, resolving logical paths against authorized capability roots instead of hardcoding root /.
    • Tracks branching working directory changes across success (&&) and sequential (;) execution paths.
    • Detects targets from options, redirects (>, >>), operands, and environment overrides.
    • Canonicalizes paths in backend namespace, enforcing containment boundaries against sibling-prefix attacks and symlink escapes (OUTSIDE_WORKSPACE).
    • Identifies dynamic or unresolvable scope (DYNAMIC_SCOPE) requiring explicit human approval.
  • Typed Command Rules (V2) & Migration 016:

    • Schema migration 016_command_rule_v2_predicates: added version, predicate_json, and status columns to permission_rules.
    • Automatic migration of narrow legacy permissions (git:status:*, npm:run:<script>:*) into typed CommandRuleV2 predicates with application, operation, scriptName, allowed modifiers, positional constraints, dialects, and backends.
    • Broad legacy wildcards (such as shell:*) remain preserved with status: 'needs-review', preventing unintended broad V2 unattended execution authority.
    • Conservative preservation of legacy DENY coverage.
  • Unified Command Decision Engine & Exact Approval Binding:

    • Pure decideCommand policy implementation evaluating authority, selected DENY, critical policy (policy.critical.alwaysConfirm), scope status, script trust, network authority, and typed predicates.
    • Enforced policy table: workspace YOLO auto-allows every non-critical command whose analysis stays inside the workspace; unrestricted YOLO removes the Aevra workspace authorization boundary for non-critical commands. Active in-scope YOLO overrides remembered command/network DENY rules, while invalid authority/requests remain blocked and CRITICAL commands always require fresh local confirmation.
    • Atomic approval binding (apps/core/src/approvals/command-binding.ts): binds pending tickets to exact request fingerprints and evidence fingerprints, preventing ticket reuse across arguments or stale contexts (APPROVAL_ALREADY_CONSUMED, CONTEXT_CHANGED).
    • Project script trust evaluation (script-trust.ts): fingerprints named script definitions and lifecycle hooks; changes to script definitions invalidate remembered approval (SCRIPT_CHANGED).
  • Executable Identity Binding & Windows Batch Shim Safety:

    • System capability detection now includes GitHub CLI (gh) and GitLab CLI (glab) in the Source control group alongside Git.
    • Host policy analysis resolves the actual invocation through packages/command-analysis/src/executable-resolver.ts, including explicit paths, request PATH/PATHEXT overrides, canonical identity, wrapper fingerprints, and provenance. Execution prepares Windows launch targets through packages/executor/src/spawn-target.ts; sandbox analysis fails closed when backend-native executable identity is unavailable rather than reusing host evidence.
    • Safe Windows batch shim execution with windowsShimCommand across both managed processes and direct commands (runCommand), preventing CVE-2024-27980 command injection risks without falling back to generic shell: true.
    • Added RTK to logical tool catalog in capability-detector.ts.

Fixed - Authorization Freshness, Shell Scope & Local CLI Reliability

  • Command scope and parser hardening:

    • Logical command working directories are now mapped through capability roots independently from native absolute command operands, preventing the workspace logical root from being confused with the host filesystem root.
    • Nested shell analysis preserves the outer launcher identity and its redirections; Bash background lists using single & expose both commands to policy evaluation; malformed quoting and unsupported value-bearing filesystem options fail closed.
    • Filesystem scope extraction now includes path-bearing options such as copy/move target directories, grep/ripgrep pattern files, touch reference files, and find input lists.
    • Package-script evidence resolves the canonical package working directory once, including mounted roots and --prefix/--dir/-C, so script fingerprints describe the package actually executed.
  • Approval and network freshness:

    • Exact command approval bindings now include canonical cwd/target identities, executable and wrapper canonical paths, root/backend/policy/environment/resolver revisions, and script evidence.
    • Approval resume re-evaluates the current network destination policy and rejects newly denied destinations rather than replaying stale network authority.
    • Runtime-session command explain/evaluation now carries the same classified risk floor and live network decision used by execution, including CRITICAL risk.
  • Local Admin CLI and service reliability:

    • Successful Admin logins no longer consume failed-login rate-limit capacity. Rejected login bursts still return 429 with retry timing.
    • CLI Admin failures now distinguish authentication/rate-limit failures from transport failures instead of always suggesting the Core is stopped.
    • Windows aevra service start and restart now preflight service installation and direct the operator to aevra service install when the Scheduled Task is absent.
    • Added CLI coverage for durable OAuth connections (aevra connections list|revoke), live session maintenance (aevra sessions list|revoke|revoke-others), upstream MCP management with aligned table output (aevra mcp list), audit clearing, and aevra about metadata output formatted as an aligned table with an updated capabilities description and no note line.
  • Admin API & Web UI Enhancements:

    • Reworked data-table controls so search, filters, row count, and toolbar pagination form a compact responsive control strip; Live MCP activity now keeps pagination with its filters, and mobile health chips align to the right.
    • Replaced the static MCP upstream list in Settings (McpUpstreamsSettings) with a full-featured paginated DataTable supporting search, status/transport/risk filters, configurable page size (5 to 100), and integrated server actions.
    • Corrected author note from make by <3 to made by <3 across @aevra/admin-contracts and the Web UI About page, while removing the redundant standalone Note row.
    • Fixed the dashboard request-activity chart to render every integer request-count level on the same Y transform as the activity line, and start authenticated realtime activity streaming immediately after Web UI login without requiring a page refresh.
    • Added authenticated POST /api/policy/commands/explain endpoint for non-executing preview and policy explanation.
    • Added CommandExplanation UI component in RequestApprovalModal showing visual breakdown of application, operation, shell dialect, effective CWD, outside targets, and reason codes.
    • Added CommandRuleEditor for authoring and previewing typed CommandRuleV2 rules.
    • Added Status column in PermissionsPage...
Read more