Repository navigation
Releases
v1.3.3
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded
- 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 attachaevra-extension-firefox.zipin 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, likechrome-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
SENSITIVEandSECRETfiles, as reads do. - Firefox console logs without a
documentIdare 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.zipcarriesmanifest.jsonat its root, andnpm run build:extension:firefoxno 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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded
- File transfer tools.
files_download(agent sends files to this device) andfiles_upload(agent pulls files from this device) move one to 64 files of any type per call.files_downloadentries carry inline base64 or a publicurlwith optionalheaders; URL bodies stream to a temp file in the target folder and are moved into place,overwritedefaults to false, and a declaredmimeTypethat disagrees with the sniffed content is reported per entry (mimeMismatch).files_uploadreturns small results inline (delivery: autostays inline up to 4 MB, then switches to links;inlineforces inline up to the inline limit;linkalways mints links). Each batch asks for one HIGH once-scopedfiles:transferapproval listing every entry (host names and the count of supplied headers, never header values, URL queries or bytes); under YOLO riskdo-whateverno 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 asfiles.link.fetchwith the link id, never the secret. Links need a configured public URL (PUBLIC_URL_REQUIREDotherwise). - 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 astools.disabled, audited astools.switches.update). The core group (workspace_*,operation_*,approval_*,aevra_status,control_access_status) is locked on. A disabled tool is removed fromtools/listand refused when called by name, including through a hook rename. Clients see a change on the nexttools/list; Aevra does not pushtools/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 toolsnotes_list,notes_read(images as MCP image content) andnotes_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
cloudflaredandngrokare 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
Enterkeypress and Cancel triggers onEsckeypress across all modal and confirmation dialogs in the Web UI. - Independent toast notification lifecycle: toasts feature isolated entrance and exit CSS animations (
toast-inandtoast-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.yolois now{mode, risk};PATCH /api/policy/yolomerges and audits aspolicy.yolo.update). Riskprevent-high-risk(default) still confirms CRITICAL work;do-whateverruns it without confirmation only when scope isunrestricted. With scopeworkspace, commands outside the workspace or of unknown scope still ask. Non-command tools such as file transfer skip approval underdo-whateverin either scope. Scopeworkspacekeeps work inside the workspace;unrestrictednow 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. Underdo-whateverwith scopeunrestrictedthey 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/discoverresults are now alwayscacheScope: 'private'. Token usage no longer counts base64 image data in tool results. - Server
_meta(name, version, description, icon) is now sent only oninitialize,server/discover,tools/listand 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/calloffiles_download, which may carry the inline limit plus base64 overhead (OAuth routes stay at 1 MB). The advertisedtools/listsize 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") andwarning("Ask every time") tags, monospace input typography, and pixel-perfect header baseline alignment. SegmentedSwapControlreplaces 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 2across 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_downloadURL 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...
v1.3.1
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded
- Custom startup listeners:
aevra start --ui --basePort=50000moves gateway, UI/admin and pairing, MCP, and extension WebSocket to50000–50003. Individual--gateway-port/--gp,--ui-port/--up,--mcp-port/--mp, and--ws-port/--wpflags change any selected listeners. Both--flag=valueand--flag valuework; 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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded - Local AI agents and browser packaging
-
Safety for agent changes and purges: agent install/uninstall keeps a write-ahead journal in
<folder>/<product>.pending.jsonand 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 statusreports 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 --purgeremoves only what the product marked as its own (.aevra-state-owner.json): a customAEVRA_STATE_DIRthat 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 installwith no target acts on the detected agents after aProceed? [y/N]confirmation (--yesskips it, a run without a terminal and without--yesprints the list and exits 1,install allwith nothing detected exits 1);--scope user|workspace;--workspace <name>(implies workspace scope, resolved through registered Aevra workspaces); theclaudealias; 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) underprojects[<root>](Claude Code, nothing written into the project),<root>/opencode.jsonor an existing.jsonc(OpenCode) or<root>/.agents/mcp_config.json(Antigravity). The install refuses withAGENT_PROJECT_FILE_TRACKEDwhen git tracks the target file and otherwise adds it to the repositoryinfo/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 absolutePATHentry outside the project. Detection usesPATHnames 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>replacesaevra mcp serve --stdiowith no alias. Configurations written by earlier local builds are refreshed by runningaevra agent install <agent>again: an existing stdio connection whose entry differs is rewritten in place and keeps its credential. -
Change: root
aevra uninstallnow 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--purgeare then skipped. A hand-writtenaevraentry of an agent Aevra never registered no longer blocks uninstall.aevra agent uninstall allwithout--scoperemoves every connection, including orphaned workspace ones. -
Change: agent uninstall scopes are explicit.
POST /api/agentsforwardsscopeas sent;scope: 'user'removes global connections only, also fortarget: 'all'; newscope: 'all'(uninstall only) removes every connection; a single-calltarget: 'all'uninstall without a scope meansall, runs agent by agent and reports per-agent results instead of failing as a whole.aevra agent uninstall allandaevra uninstallsendscope: 'all'(an older core refuses it as an unknown scope: restartaevra start). -
Add
aevra agent uninstall --id <id>andcredentialIdonPOST /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 listprints 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 reportingno 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-namePATHentries into the project are refused as git candidates. Claude project keys are matched case-insensitively only on Windows and macOS.uninstall allwith only workspace connections no longer touches the user skill. -
Change: admin audit records of agent dry runs carry
dryRun: true;aevra agent listandinstallagainst an older core withoutGET /api/agents/detectprint 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.txtso 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-versionfiles 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...
v1.2.1
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestFixed - 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, orkey, 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
useToasthook over the existing.toast-stackmarkup. 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
429withRetry-Afterand 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 enabledtrustedProxyClientIp, 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
securityevent (admin.login.lockout) and raises a desktop notification, at most one a minute. - Login panel countdown: A
429shows an inline countdown fromRetry-Afterand disables sign-in until it ends.
Full Changelog: v1.2.0...v1.2.1
v1.2.0
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded - 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: ASCIIceil(length / 4), CJK/Hangul/kana/full-width/emoji 1.0, and other Unicode characters 0.5. - SQLite token storage (migration 25): Added
token_usagetable (WITHOUT ROWID, PK(granularity, bucket, connector, tool)) in migration025_token_usage. Trackscalls,errors,input_tokens,output_tokens,saved_tokens, andduration_mswithout storing command arguments, outputs, or file paths. - In-memory accumulator & automated roll-up:
UsageMeteraccumulates live request counters in memory, flushing to SQLite every 30 seconds and on runtime shutdown. Hourly records (UTCYYYY-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|allreturns zero-filled timeseries, today totals, range totals, top 10 tools by output tokens, and per-connector breakdowns. Invalid ranges return 400INVALID_RANGE. - Runtime Overview analytics: Added
TokenUsageStatscards 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, andupstream. Thecoregroup (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_DISABLEDnaming the group and Settings path. - Per-connector result format: Choose
both(dual text + structuredContent, default),text(text only), orstructured(structuredContentonly) to eliminate duplicate payload transmission for capable clients. - Admin Connector Profiles API:
GET /api/connector-profileslists known actors with group token estimates;PUT /api/connector-profiles/:actorupdates settings and appends aconnector.profile.updateaudit 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 }->Xonshell_run,command_run, andcommand_run_manyitems. - S2 (Batch flattening): Drops redundant array
index, duplicate innerpath, and defaultsensitivity: NORMALinfile_read_many,file_write_many, andcommand_run_many. Hoistsuntrustednotices once to the root envelope. - S3 (Summary cleanup): Omits
failed: 0andskipped: 0from batch summaries. - S4 (Command defaults): Drops
signal: nulland emptystderr: ""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
maxOutputCharsbudget. - S6 (Approval summaries):
approval_statusandapproval_waitreturn concise summaries by default unlessdetail: "full", preventing multikilobyte payload consumption on approval polling loops. - Content preservation: Underlying file content in
file_read*operations is strictly preserved byte-for-byte.
- S1 (Unwrap): Unwraps
- Configurable command budgets:
maxOutputCharsinput (integer 256–200,000, default 16,000) onshell_run,command_run, andcommand_run_many. Over-budget streams retain the first 25% and last 75% joined by\n… [N chars omitted] …\nand settruncated: 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
stripAnsiSequencesinpackages/security/src/untrusted.ts, stripping complete CSI and OSC sequences so command outputs and approval previews no longer contain orphaned formatting artifacts such as[90mor[2K. - Browser CDP navigation retry: Automatically retries transient
Not attached to an active pageCDP 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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestChanged - 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_manyaccepts 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 returnINVALID_REQUEST
with the action index before dispatch.- Coordinate
dragpresses, 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_statusnow marks a paired, authenticated socket as
ready_to_connectand returns the exactbrowser_connectcall. 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 withBROWSER_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 answers426) 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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestFixed - 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_FOUNDwhen starting the npm-installed CLI. - Package artifact verification: add
npm run test:packageto pack and
install the built artifact, check its relative JavaScript imports, and run
the installed CLI's--versioncommand. 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/TMPDIRroot
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
/tmpwith 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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded - Guarded Control Plans & Cross-Platform Shared Desktop Semantics
- Bounded local control plans: added
control_observe,control_execute,
control_plan_status,control_plan_cancel, anddesktop_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, andmaxConcurrencyup 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 becomeunknownon 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
pinnedxa11y0.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, stagesdist/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
tabIdattaches/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-indexattributes. 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_TABrather 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 returnsCONTROL_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
npm: https://www.npmjs.com/package/@the-long-ride/aevra
Update aevra
npm install -g @the-long-ride/aevra@latestAdded - 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 (
pwshand Windows PowerShell 5.1), CMD, Bash,sh, andzsh, 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_LIMITrather than truncating into an allowed command. - Transparent nested shell recursion recognizing
-Command,-c,-lc, and CMD/cwith 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).
- Replaced legacy string-based wildcard collapsing (
-
Application & Wrapper Semantic Adapters:
- Git adapter (
applications/git.ts): extracts global options before subcommands, repeated-Ctransitions,--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,branchlist). - Node Packages adapter (
applications/node-packages.ts): supportsnpm,pnpm,yarn, andbun, differentiating exact named scripts (run <script>), audit inspection vsaudit --fixmutation, 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).
- Git adapter (
-
CWD Flow & Canonical Workspace Scope Enforcement:
- Full propagation of optional
cwdLogicalthrough 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.
- Full propagation of optional
-
Typed Command Rules (V2) & Migration 016:
- Schema migration
016_command_rule_v2_predicates: addedversion,predicate_json, andstatuscolumns topermission_rules. - Automatic migration of narrow legacy permissions (
git:status:*,npm:run:<script>:*) into typedCommandRuleV2predicates with application, operation, scriptName, allowed modifiers, positional constraints, dialects, and backends. - Broad legacy wildcards (such as
shell:*) remain preserved withstatus: 'needs-review', preventing unintended broad V2 unattended execution authority. - Conservative preservation of legacy DENY coverage.
- Schema migration
-
Unified Command Decision Engine & Exact Approval Binding:
- Pure
decideCommandpolicy 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).
- Pure
-
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 throughpackages/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
windowsShimCommandacross both managed processes and direct commands (runCommand), preventing CVE-2024-27980 command injection risks without falling back to genericshell: true. - Added RTK to logical tool catalog in
capability-detector.ts.
- System capability detection now includes GitHub CLI (
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
429with 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 startandrestartnow preflight service installation and direct the operator toaevra service installwhen 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, andaevra aboutmetadata output formatted as an aligned table with an updated capabilities description and no note line.
- Successful Admin logins no longer consume failed-login rate-limit capacity. Rejected login bursts still return
-
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 paginatedDataTablesupporting search, status/transport/risk filters, configurable page size (5 to 100), and integrated server actions. - Corrected author note from
make by <3tomade by <3across@aevra/admin-contractsand 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/explainendpoint for non-executing preview and policy explanation. - Added
CommandExplanationUI component inRequestApprovalModalshowing visual breakdown of application, operation, shell dialect, effective CWD, outside targets, and reason codes. - Added
CommandRuleEditorfor authoring and previewing typedCommandRuleV2rules. - Added
Statuscolumn inPermissionsPage...