Skip to content

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.

refactor(mobile): rename product display name to Harness

Dev jacobd596f08959a1
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
index 74b46c7ed..45e4e68c6 100644
--- a/mobile/android/app/src/main/AndroidManifest.xml
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -24,7 +24,7 @@
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<application
- android:label="OpenHarness"
+ android:label="Harness"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist
index e9ef9fa81..bca31ae23 100644
--- a/mobile/ios/Runner/Info.plist
+++ b/mobile/ios/Runner/Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
- <string>OpenHarness</string>
+ <string>Harness</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
diff --git a/mobile/lib/app_shell.dart b/mobile/lib/app_shell.dart
index 74284b111..6099250eb 100644
--- a/mobile/lib/app_shell.dart
+++ b/mobile/lib/app_shell.dart
@@ -128,7 +128,7 @@ class HarnessApp extends StatelessWidget {
codeSize: grid.AppFont.codeSize,
);
return MaterialApp(
- title: 'OpenHarness',
+ title: 'Harness',
// The corner ribbon stays. A phone carries both builds under one icon and
// one name, and telling them apart otherwise means reading `dumpsys` over
// a cable — by which point a bug has already been reported against the
diff --git a/mobile/lib/bootstrap/environment_provisioner.dart b/mobile/lib/bootstrap/environment_provisioner.dart
index 45e937500..6cf3c33cb 100644
--- a/mobile/lib/bootstrap/environment_provisioner.dart
+++ b/mobile/lib/bootstrap/environment_provisioner.dart
@@ -483,7 +483,7 @@ class EnvironmentProvisioner {
if (!await _hasWritableHome()) {
systemFailure = const EnvironmentFailure(
title: 'Home directory is not writable',
- detail: 'OpenHarness needs to write ~/.harness and ~/.local/bin.',
+ detail: 'Harness needs to write ~/.harness and ~/.local/bin.',
);
} else {
linuxMissingBasePackages = await _missingLinuxBasePackages();
@@ -627,7 +627,7 @@ class EnvironmentProvisioner {
emit(
message: _isLinux && linuxMissingPackages.isNotEmpty
? 'Linux host packages required: ${linuxMissingPackages.join(', ')}.'
- : 'Review what OpenHarness will install before continuing.',
+ : 'Review what Harness will install before continuing.',
phase: EnvironmentSetupPhase.review,
);
return state;
@@ -779,7 +779,7 @@ class EnvironmentProvisioner {
);
}
emit(
- message: 'Complete the visible Linux package prompts in Terminal. OpenHarness never sees your password.',
+ message: 'Complete the visible Linux package prompts in Terminal. Harness never sees your password.',
output: backgroundInstall == null
? 'Terminal opened to install Linux host dependencies.'
: 'Background install was incomplete; Terminal opened to finish Linux host dependencies.',
@@ -836,7 +836,7 @@ class EnvironmentProvisioner {
emit(
step: EnvironmentStep.tmux,
status: EnvironmentStepStatus.needsTerminal,
- message: 'Complete the visible Homebrew prompts in Terminal. OpenHarness never sees your password.',
+ message: 'Complete the visible Homebrew prompts in Terminal. Harness never sees your password.',
output: 'Background install failed; Terminal opened to retry tmux.',
phase: EnvironmentSetupPhase.waitingForTerminal,
terminalLogPath: terminal.log.path,
@@ -855,7 +855,7 @@ class EnvironmentProvisioner {
emit(
step: EnvironmentStep.tmux,
status: EnvironmentStepStatus.needsTerminal,
- message: 'Complete any password or macOS prompts in Terminal. OpenHarness never sees your password.',
+ message: 'Complete any password or macOS prompts in Terminal. Harness never sees your password.',
output: _isMacOS
? 'Terminal opened to install Homebrew and tmux.'
: 'Terminal opened to install tmux.',
@@ -1020,7 +1020,7 @@ class EnvironmentProvisioner {
return EnvironmentFailure(
title: 'Required system tools are missing',
detail: _resultText(base).isEmpty
- ? 'OpenHarness needs curl, tar, sed, awk, checksum tools and a POSIX shell.'
+ ? 'Harness needs curl, tar, sed, awk, checksum tools and a POSIX shell.'
: _resultText(base),
command: _isMacOS
? 'xcode-select --install'
@@ -1030,7 +1030,7 @@ class EnvironmentProvisioner {
if (!await _hasWritableHome()) {
return const EnvironmentFailure(
title: 'Home directory is not writable',
- detail: 'OpenHarness needs to write ~/.harness and ~/.local/bin.',
+ detail: 'Harness needs to write ~/.harness and ~/.local/bin.',
);
}
return null;
@@ -1137,7 +1137,7 @@ class EnvironmentProvisioner {
if (exitCode == _linuxAptUpdateFailureExitCode) {
return const EnvironmentFailure(
title: 'Package repository refresh failed',
- detail: 'Ubuntu could not refresh its package indexes, so OpenHarness stopped instead of retrying with stale package data.',
+ detail: 'Ubuntu could not refresh its package indexes, so Harness stopped instead of retrying with stale package data.',
command: 'sudo apt-get update',
exitCode: _linuxAptUpdateFailureExitCode,
);
@@ -1229,7 +1229,7 @@ refresh_package_indexes() {
return 0
fi
rm -f "\$apt_update_log"
- echo 'Package repository refresh failed. OpenHarness will not retry with stale package indexes.' >&2
+ echo 'Package repository refresh failed. Harness will not retry with stale package indexes.' >&2
return $_linuxAptUpdateFailureExitCode
}
install_linux_packages() {
@@ -1391,7 +1391,7 @@ finish() {
printf '%s\\n' "\$status" > "\$RESULT_FILE"
if [ "\$status" -ne 0 ]; then
echo
- echo 'System setup failed. Review the error above, then return to OpenHarness.'
+ echo 'System setup failed. Review the error above, then return to Harness.'
read -r '?Press Enter to close this window…' || true
fi
return "\$status"
@@ -1428,7 +1428,7 @@ eval "\$(/opt/homebrew/bin/brew shellenv 2>/dev/null || /usr/local/bin/brew shel
if ! command -v tmux >/dev/null 2>&1; then
brew install tmux
fi
-echo 'tmux is ready. Return to OpenHarness.'
+echo 'tmux is ready. Return to Harness.'
''', flush: true);
await _run('/bin/chmod', ['700', script.path]);
return script;
diff --git a/mobile/lib/phone/agent_home.dart b/mobile/lib/phone/agent_home.dart
index c74c7fe1a..81c1652d8 100644
--- a/mobile/lib/phone/agent_home.dart
+++ b/mobile/lib/phone/agent_home.dart
@@ -924,7 +924,7 @@ class _AgentHomeEmpty extends StatelessWidget {
icon: LucideIcons.squareTerminal300,
title: 'No agents yet',
message:
- 'Tap + to start one, or launch an agent from OpenHarness on a '
+ 'Tap + to start one, or launch an agent from Harness on a '
'machine and it will appear here.',
),
),
diff --git a/mobile/lib/phone/agents_list_page.dart b/mobile/lib/phone/agents_list_page.dart
index 01cfc2c34..a0fd5d962 100644
--- a/mobile/lib/phone/agents_list_page.dart
+++ b/mobile/lib/phone/agents_list_page.dart
@@ -201,7 +201,7 @@ class _Body extends StatelessWidget {
message: notifier.machines.isEmpty
? 'Link a machine and its agents will be listed here.'
: 'Agents appear here once a machine is linked and answering. '
- 'Start one from a machine, or from OpenHarness on it.',
+ 'Start one from a machine, or from Harness on it.',
);
/// Opens the agent as a pager over the other rows on screen.
diff --git a/mobile/lib/phone/agents_page.dart b/mobile/lib/phone/agents_page.dart
index 849681c1d..b8c87d788 100644
--- a/mobile/lib/phone/agents_page.dart
+++ b/mobile/lib/phone/agents_page.dart
@@ -220,9 +220,9 @@ class _AgentsBody extends StatelessWidget {
if (status == PhoneMachineStatus.offline) {
return EmptyState(
icon: LucideIcons.cloudOff300,
- title: "OpenHarness isn't running there",
+ title: "Harness isn't running there",
message:
- 'Start OpenHarness on ${machine.machine.displayName} and its agents '
+ 'Start Harness on ${machine.machine.displayName} and its agents '
'will show up here.',
);
}
@@ -245,7 +245,7 @@ class _AgentsBody extends StatelessWidget {
return EmptyState(
icon: LucideIcons.squareTerminal300,
title: 'No agents yet',
- message: 'Start one here, or from OpenHarness on that machine.',
+ message: 'Start one here, or from Harness on that machine.',
action: FilledButton(
onPressed: () => openNewAgent(context, notifier, _machineId),
child: const Text('New agent'),
diff --git a/mobile/lib/phone/machines_tab.dart b/mobile/lib/phone/machines_tab.dart
index 3986b4d28..58cc7ced1 100644
--- a/mobile/lib/phone/machines_tab.dart
+++ b/mobile/lib/phone/machines_tab.dart
@@ -102,7 +102,7 @@ class _Body extends StatelessWidget {
icon: LucideIcons.laptopMinimal300,
title: 'No machines yet',
message:
- 'Run OpenHarness on a computer signed in to this account and it will '
+ 'Run Harness on a computer signed in to this account and it will '
'appear here.',
);
}
diff --git a/mobile/lib/phone/new_agent_page.dart b/mobile/lib/phone/new_agent_page.dart
index 22a76c6cb..3687aa8e7 100644
--- a/mobile/lib/phone/new_agent_page.dart
+++ b/mobile/lib/phone/new_agent_page.dart
@@ -190,7 +190,7 @@ class _NewAgentPageState extends State<NewAgentPage> {
/// Why the two rows are unavailable, or null while they are not.
///
- /// Printed rather than left to a disabled row: "Update OpenHarness on that machine" is something the
+ /// Printed rather than left to a disabled row: "Update Harness on that machine" is something the
/// person can act on, and a row that simply does nothing teaches them nothing.
String? get _projectSourceNote {
final machine = _machine;
@@ -198,7 +198,7 @@ class _NewAgentPageState extends State<NewAgentPage> {
// Said only once the machine has actually answered. Before that, silence — a row must not call
// a machine out of date on the strength of an answer that has not arrived.
if (!machine.terminalCapabilityLoaded) return null;
- return 'Update OpenHarness on ${machine.machine.displayName} to create a '
+ return 'Update Harness on ${machine.machine.displayName} to create a '
'project or clone one there.';
}
diff --git a/mobile/lib/phone/settings_page.dart b/mobile/lib/phone/settings_page.dart
index be85d689c..594280306 100644
--- a/mobile/lib/phone/settings_page.dart
+++ b/mobile/lib/phone/settings_page.dart
@@ -150,7 +150,7 @@ class _Body extends StatelessWidget {
const SettingsCaption('Appearance'),
SettingsGroup(children: [_PaletteRow(), _TextSizeRow()]),
const SettingsNote(
- 'OpenHarness is dark-only, so a palette picks the shade rather than the mode.',
+ 'Harness is dark-only, so a palette picks the shade rather than the mode.',
),
const SettingsCaption('About'),
SettingsGroup(children: const [_VersionRow(), _BuildRow()]),
diff --git a/mobile/lib/phone/voice_notice.dart b/mobile/lib/phone/voice_notice.dart
index 1830fcec0..cd278fcfe 100644
--- a/mobile/lib/phone/voice_notice.dart
+++ b/mobile/lib/phone/voice_notice.dart
@@ -1,7 +1,7 @@
/// The one line voice input shows when it cannot do what was asked.
abstract final class VoiceNotice {
static const unavailable =
- 'Voice input is off. Allow OpenHarness the microphone in Settings, or use the keyboard.';
+ 'Voice input is off. Allow Harness the microphone in Settings, or use the keyboard.';
static const couldNotStart =
"The microphone couldn't start. Tap the mic to try again.";
@@ -12,7 +12,7 @@ abstract final class VoiceNotice {
/// simulator the Mac has not given its microphone to. Speaking again will not
/// help, so the notice does not suggest it.
static const noSound =
- 'No sound reached the microphone. Check the input OpenHarness is using.';
+ 'No sound reached the microphone. Check the input Harness is using.';
static const notTranscribed =
"Couldn't turn that into text. Tap the mic to try again.";
diff --git a/mobile/lib/shortcuts/shortcuts_list.dart b/mobile/lib/shortcuts/shortcuts_list.dart
index 6ca4d2ce4..a0598204e 100644
--- a/mobile/lib/shortcuts/shortcuts_list.dart
+++ b/mobile/lib/shortcuts/shortcuts_list.dart
@@ -264,7 +264,7 @@ class ShortcutsNote extends StatelessWidget {
Widget build(BuildContext context) {
grid.AppTheme.watch(context);
final text = Text(
- 'OpenHarness shortcuts control your workspace. Other input goes to the '
+ 'Harness shortcuts control your workspace. Other input goes to the '
'focused agent, where prompt editing and cancellation follow that '
'coding agent’s behavior.',
style: TextStyle(
diff --git a/mobile/lib/state/app_state.dart b/mobile/lib/state/app_state.dart
index 548e33140..cc70d97a8 100644
--- a/mobile/lib/state/app_state.dart
+++ b/mobile/lib/state/app_state.dart
@@ -2554,18 +2554,18 @@ class AppNotifier extends ChangeNotifier {
final staged = await updater.downloadAndStage(info);
if (staged == null) {
updateError =
- 'Could not download and verify OpenHarness ${info.version}.';
+ 'Could not download and verify Harness ${info.version}.';
return false;
}
final applied = await updater.applyStaged(staged, selfPid: pid);
if (!applied) {
updateError =
- 'This copy of OpenHarness cannot install updates automatically.';
+ 'This copy of Harness cannot install updates automatically.';
return false;
}
exit(0);
} catch (error) {
- updateError = 'Could not install OpenHarness ${info.version}: $error';
+ updateError = 'Could not install Harness ${info.version}: $error';
return false;
} finally {
isInstallingUpdate = false;
diff --git a/mobile/lib/update/desktop_updater.dart b/mobile/lib/update/desktop_updater.dart
index 852d9452e..75be84a0d 100644
--- a/mobile/lib/update/desktop_updater.dart
+++ b/mobile/lib/update/desktop_updater.dart
@@ -36,7 +36,7 @@ String _currentArchitecture() => switch (Abi.current()) {
Abi.linuxArm64 || Abi.macosArm64 || Abi.windowsArm64 => 'arm64',
Abi.linuxX64 || Abi.macosX64 || Abi.windowsX64 => 'x64',
_ => throw UnsupportedError(
- 'OpenHarness updates do not support ${Abi.current()}',
+ 'Harness updates do not support ${Abi.current()}',
),
};
diff --git a/mobile/lib/viewer/direct_login.dart b/mobile/lib/viewer/direct_login.dart
index 313874b41..43a592f1f 100644
--- a/mobile/lib/viewer/direct_login.dart
+++ b/mobile/lib/viewer/direct_login.dart
@@ -84,7 +84,7 @@ class _LoopbackCallback {
..headers.contentType = ContentType.html
..write(
_page(
- signedIn ? 'Signed in to OpenHarness' : 'OpenHarness sign-in failed',
+ signedIn ? 'Signed in to Harness' : 'Harness sign-in failed',
),
);
await response.close();
@@ -110,4 +110,4 @@ String _page(String title) =>
'<!doctype html><meta charset="utf-8"><title>$title</title>'
'<body style="font:16px system-ui,sans-serif;text-align:center;padding:4em 1em">'
'<h1 style="font-weight:600">$title</h1>'
- '<p>You can close this window and go back to OpenHarness.</p></body>';
+ '<p>You can close this window and go back to Harness.</p></body>';
diff --git a/mobile/lib/widgets/bootstrapping_screen.dart b/mobile/lib/widgets/bootstrapping_screen.dart
index 012692aad..791bdf2b5 100644
--- a/mobile/lib/widgets/bootstrapping_screen.dart
+++ b/mobile/lib/widgets/bootstrapping_screen.dart
@@ -15,7 +15,7 @@ class BootstrappingScreen extends StatelessWidget {
final String? statusMessage;
static const double _cardWidth = 420;
- static const String _fallbackStatus = 'Opening OpenHarness…';
+ static const String _fallbackStatus = 'Opening Harness…';
@override
Widget build(BuildContext context) {
@@ -47,7 +47,7 @@ class BootstrappingScreen extends StatelessWidget {
const _BootAppMark(),
const SizedBox(height: 20),
Text(
- 'Getting OpenHarness ready',
+ 'Getting Harness ready',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleLarge,
),
@@ -62,7 +62,7 @@ class BootstrappingScreen extends StatelessWidget {
key: const Key('boot-status'),
container: true,
liveRegion: true,
- label: 'OpenHarness startup status',
+ label: 'Harness startup status',
value: status,
child: ExcludeSemantics(
child: Container(
diff --git a/mobile/lib/widgets/environment_preflight_screen.dart b/mobile/lib/widgets/environment_preflight_screen.dart
index 1875871d8..8180c9884 100644
--- a/mobile/lib/widgets/environment_preflight_screen.dart
+++ b/mobile/lib/widgets/environment_preflight_screen.dart
@@ -78,7 +78,7 @@ class _CheckingContent extends StatelessWidget {
),
const SizedBox(height: 8),
Text(
- 'Verifying the tools OpenHarness needs. This check is read-only and nothing is being installed.',
+ 'Verifying the tools Harness needs. This check is read-only and nothing is being installed.',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.bodySmall,
),
diff --git a/mobile/lib/widgets/environment_setup_screen.dart b/mobile/lib/widgets/environment_setup_screen.dart
index 81e8bf4a3..d374f4fa5 100644
--- a/mobile/lib/widgets/environment_setup_screen.dart
+++ b/mobile/lib/widgets/environment_setup_screen.dart
@@ -162,7 +162,7 @@ class _EnvironmentSetupScreenState extends State<EnvironmentSetupScreen> {
_heading(
'Getting started',
'Checking this computer',
- 'Checking the tools OpenHarness needs to run your harnesses.',
+ 'Checking the tools Harness needs to run your harnesses.',
),
_checkList(state, checking: true),
],
@@ -215,7 +215,7 @@ class _EnvironmentSetupScreenState extends State<EnvironmentSetupScreen> {
_notice(
Icons.terminal,
'Admin prompts stay in Terminal',
- 'Complete any installation prompts there, then return to OpenHarness.',
+ 'Complete any installation prompts there, then return to Harness.',
),
const SizedBox(height: 16),
],
@@ -241,8 +241,8 @@ class _EnvironmentSetupScreenState extends State<EnvironmentSetupScreen> {
if (state.phase == EnvironmentSetupPhase.waitingForTerminal)
_notice(
Icons.lock_outline,
- 'OpenHarness cannot see your password',
- 'Finish the prompts in Terminal, then return here. OpenHarness checks progress automatically.',
+ 'Harness cannot see your password',
+ 'Finish the prompts in Terminal, then return here. Harness checks progress automatically.',
),
const SizedBox(height: 18),
_checkList(state, checking: true),
@@ -280,7 +280,7 @@ class _EnvironmentSetupScreenState extends State<EnvironmentSetupScreen> {
_heading(
'Setup complete',
'This computer is ready',
- 'Every required command passed. Continue to OpenHarness sign-in.',
+ 'Every required command passed. Continue to Harness sign-in.',
),
_checkList(state),
],
@@ -313,7 +313,7 @@ class _EnvironmentSetupScreenState extends State<EnvironmentSetupScreen> {
detail: _linuxClipboardDetail,
status: state.steps[EnvironmentStep.clipboard],
),
- const _CheckSectionLabel('OpenHarness components'),
+ const _CheckSectionLabel('Harness components'),
_CheckRow(
label: 'Managed Node 20+ & Harness CLI',
detail: '~/.harness/runtime · harness version',
diff --git a/mobile/lib/widgets/update_notice.dart b/mobile/lib/widgets/update_notice.dart
index e90b4e726..85f9d49fc 100644
--- a/mobile/lib/widgets/update_notice.dart
+++ b/mobile/lib/widgets/update_notice.dart
@@ -67,9 +67,9 @@ class UpdateNotice extends StatelessWidget {
if (failed) {
message = error;
} else if (installing) {
- message = 'Installing OpenHarness ${update.version}…';
+ message = 'Installing Harness ${update.version}…';
} else {
- message = 'OpenHarness ${update.version} is available';
+ message = 'Harness ${update.version} is available';
}
return Material(
@@ -255,7 +255,7 @@ Future<void> showUpdateCheckDialog(
icon: LucideIcons.circleCheck300,
tone: _DialogTone.ok,
title: 'You’re up to date',
- body: 'This copy of OpenHarness already has the latest version.',
+ body: 'This copy of Harness already has the latest version.',
),
);
}
@@ -268,13 +268,13 @@ Future<void> showUpdateCheckDialog(
builder: (context, setState) => _UpdateDialog(
icon: LucideIcons.arrowDownToLine300,
title: installing
- ? 'Installing OpenHarness ${update.version}…'
- : 'OpenHarness ${update.version} is available',
+ ? 'Installing Harness ${update.version}…'
+ : 'Harness ${update.version} is available',
body: installing
- ? 'Don’t quit OpenHarness. It will restart on its own.'
+ ? 'Don’t quit Harness. It will restart on its own.'
: result.isSkipped
? 'You skipped this version earlier. You can still install it.'
- : 'Download and install it now? OpenHarness will restart when it '
+ : 'Download and install it now? Harness will restart when it '
'finishes.',
busy: installing,
update: installing ? null : update,