The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
import 'cli_link.dart';
/// Linking to another machine by its remote password: `harness link connect/list/unlink` through
/// [CliLink], or the same exchange run by the app itself in a viewer build
/// (`viewer/direct_link.dart`).
abstract interface class PeerLinkClient {
/// [onProgress] gets the CLI's stage names (`connecting`, `deriving_key`, `exchanging`,
/// `verifying`) — best-effort feedback, never needed for correctness. [displayName] is how an
/// error names the machine; without it, all an error has to go on is the raw [machineId].
Future<CliLinkConnectResult> connect(
String machineId,
String password, {
void Function(String stage)? onProgress,
String? displayName,
});
Future<CliLinkListResult> list();
/// Null on success.
Future<String?> unlink(String machineId);
}