New:Socket for Asana Is Now Available.Learn more
Sign In

@cortexkit/aft-bridge

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cortexkit/aft-bridge

Shared NDJSON bridge transport, binary resolution, and ONNX runtime helpers for AFT agent-host plugins (OpenCode, Pi)

Source
npmnpm
Version
0.50.1
Version published
Weekly downloads
2.8K
-24.41%
Maintainers
1
Weekly downloads
 
Created
Source

@cortexkit/aft-bridge

Shared NDJSON transport, binary resolution, and ONNX runtime helpers used by AFT agent-host plugins (OpenCode, Pi, and future MCP-based hosts).

This package is not intended for direct end-user consumption — it powers @cortexkit/aft-opencode and @cortexkit/aft-pi.

What it owns

  • TransportBinaryBridge (one persistent aft child process), BridgePool (one bridge per canonical project root), wire envelope and push-frame types.
  • Binary resolution — versioned cache, npm platform package lookup, PATH / cargo fallback, GitHub release download with SHA-256 verification.
  • ONNX runtime — auto-download for supported targets, install detection and version probing, manual-install hints for unsupported platforms.

What it does not own

Host-specific behaviour stays in the plugin packages:

  • Configuration loading (each host has its own conventions and config paths).
  • Permission UX (ctx.ask() and prompt rendering belong to the host SDK).
  • Tool registration and rendering.
  • Notifications, slash commands, and TUI integration.
  • Session-ID lookup and per-request session injection.

Versioning

Released in lock-step with @cortexkit/aft-opencode and @cortexkit/aft-pi. The bridge protocol is versioned end-to-end: a plugin running an older bridge package will detect a newer aft binary and refuse to talk to it.

FAQs

Package last updated on 14 Aug 2026

Related posts