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 'package:harness/measurement/product_measurement.dart';
/// Records the Add Phone card's observation and each way Add Phone opened,
/// instead of reporting them.
class AddPhoneRecorder extends ProductMeasurement {
AddPhoneRecorder()
: super(surface: 'desktop', automatic: false, sendSetup: (_) async => {});
/// Each flow begun, by its enum name.
final started = <String>[];
/// Each flow's end, as `flow:outcome`.
final ended = <String>[];
final openings = <AddPhoneOpening>[];
final skipped = <String>[];
final pairings = <AddPhoneOpening>[];
@override
void addPhonePaired(AddPhoneOpening from) => pairings.add(from);
@override
void phoneOfferSkipped(String reason) => skipped.add(reason);
@override
void Function(ProductOutcome) begin(ProductFlow flow) {
started.add(flow.name);
return (outcome) => ended.add('${flow.name}:${outcome.name}');
}
@override
void addPhoneOpened(AddPhoneOpening from) => openings.add(from);
}