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
Align New Agent choices and simplify its primary action
deeb29e2ddcbcd5
diff --git a/desktop/lib/shared/widgets/app_choice_picker.dart b/desktop/lib/shared/widgets/app_choice_picker.dartindex a6db8e41c..8a7accfbc 100644--- a/desktop/lib/shared/widgets/app_choice_picker.dart+++ b/desktop/lib/shared/widgets/app_choice_picker.dart@@ -20,7 +20,7 @@ class AppChoicePicker<T> extends StatefulWidget {this.showDetails = false,this.wrap = true,this.compact = false,- this.quiet = false,+ this.tileSize,this.allVisible = false,});@@ -34,7 +34,7 @@ class AppChoicePicker<T> extends StatefulWidget {final bool showDetails;final bool wrap;final bool compact;- final bool quiet;+ final Size? tileSize;final bool allVisible;@override@@ -91,7 +91,7 @@ class _AppChoicePickerState<T> extends State<AppChoicePicker<T>> {@overrideWidget build(BuildContext context) {AppTheme.watch(context);- if (widget.quiet) return _quietChoices();+ if (widget.tileSize != null) return _tileChoices();final candidates = _visibleOptions;if (candidates.isEmpty) return const SizedBox.shrink();final textStyle = TextStyle(@@ -218,7 +218,7 @@ class _AppChoicePickerState<T> extends State<AppChoicePicker<T>> {);}- Widget _quietChoices() {+ Widget _tileChoices() {final visible = widget.allVisible? _orderedOptions: [@@ -227,71 +227,97 @@ class _AppChoicePickerState<T> extends State<AppChoicePicker<T>> {.skip(3).where((option) => option.value == widget.value),];+ final size = widget.tileSize!;return Wrap(- spacing: 8,- runSpacing: 8,- crossAxisAlignment: WrapCrossAlignment.center,+ spacing: 10,+ runSpacing: 10,children: [for (final option in visible)- Semantics(- selected: widget.value == option.value,- inMutuallyExclusiveGroup: true,- child: TextButton(- key: widget.optionKey(option.value),- onPressed: () => _choose(option.value),- style: TextButton.styleFrom(- foregroundColor: widget.value == option.value- ? AppPalette.textPrimary- : AppPalette.textSecondary,- backgroundColor: widget.value == option.value- ? AppPalette.swarmAccent.withValues(alpha: .13)- : Colors.transparent,- minimumSize: const Size(0, 44),- padding: const EdgeInsets.symmetric(- horizontal: 15,- vertical: 12,- ),- shape: RoundedRectangleBorder(- borderRadius: BorderRadius.circular(12),- ),- ),- child: Row(- mainAxisSize: MainAxisSize.min,- children: [- if (option.leading != null) ...[- option.leading!(),- const SizedBox(width: 9),- ],- Flexible(- child: Text(- option.label,- maxLines: 2,- overflow: TextOverflow.ellipsis,- style: const TextStyle(- fontSize: 14,- fontWeight: FontWeight.w500,- ),+ SizedBox(+ width: size.width,+ height: size.height,+ child: Semantics(+ selected: widget.value == option.value,+ inMutuallyExclusiveGroup: true,+ child: Tooltip(+ message: [+ option.label,+ option.detail,+ option.note,+ ].nonNulls.join(' · '),+ child: TextButton(+ key: widget.optionKey(option.value),+ onPressed: () => _choose(option.value),+ style: TextButton.styleFrom(+ foregroundColor: AppPalette.textPrimary,+ backgroundColor: widget.value == option.value+ ? AppPalette.swarmAccent.withValues(alpha: .16)+ : AppSurface.recess,+ padding: const EdgeInsets.symmetric(+ horizontal: 12,+ vertical: 10,+ ),+ shape: RoundedRectangleBorder(+ borderRadius: BorderRadius.circular(AppControl.radius),+ ),+ side: BorderSide(+ color: widget.value == option.value+ ? AppPalette.swarmAccent.withValues(alpha: .7)+ : Colors.transparent,),),- if (option.note != null) ...[- const SizedBox(width: 8),- Text(- option.note!,- style: TextStyle(- fontSize: 12,- color: AppPalette.textFaint,+ child: Row(+ children: [+ if (option.leading != null) ...[+ option.leading!(),+ const SizedBox(width: 10),+ ],+ Expanded(+ child: Column(+ mainAxisSize: MainAxisSize.min,+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Text(+ option.label,+ maxLines: 2,+ overflow: TextOverflow.ellipsis,+ style: const TextStyle(+ fontSize: 14,+ height: 1.25,+ fontWeight: FontWeight.w500,+ ),+ ),+ if (option.detail != null ||+ option.note != null) ...[+ const SizedBox(height: 2),+ Text(+ [+ option.detail,+ option.note,+ ].nonNulls.join(' · '),+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: TextStyle(+ fontSize: 12,+ height: 1.25,+ color: AppPalette.textSecondary,+ ),+ ),+ ],+ ],+ ),),- ),- ],- const SizedBox(width: 10),- Visibility(- visible: widget.value == option.value,- maintainSize: true,- maintainState: true,- maintainAnimation: true,- child: const Icon(Icons.check, size: 16),+ const SizedBox(width: 8),+ Visibility(+ visible: widget.value == option.value,+ maintainSize: true,+ maintainState: true,+ maintainAnimation: true,+ child: const Icon(Icons.check, size: 16),+ ),+ ],),- ],+ ),),),),@@ -301,28 +327,19 @@ class _AppChoicePickerState<T> extends State<AppChoicePicker<T>> {value: widget.value,options: widget.options,onChanged: _choose,- width: math.max(- 104,- MediaQuery.textScalerOf(context).scale(14) * 4.2 + 32,- ),- height: math.max(- 44,- MediaQuery.textScalerOf(context).scale(14) * 1.5 + 24,- ),- fillColor: Colors.transparent,- trigger: Padding(- padding: const EdgeInsets.only(left: 5),- child: Align(- alignment: Alignment.centerLeft,- child: Text(- 'More…',- maxLines: 1,- style: TextStyle(- fontSize: 14,- color: AppPalette.textSecondary,- ),+ width: size.width,+ height: size.height,+ fillColor: AppSurface.recess,+ trigger: Row(+ mainAxisAlignment: MainAxisAlignment.center,+ children: [+ const Icon(Icons.more_horiz, size: 20),+ const SizedBox(width: 8),+ Text(+ 'More',+ style: TextStyle(fontSize: 14, color: AppPalette.textPrimary),),- ),+ ],),),],diff --git a/desktop/lib/widgets/agent_picker.dart b/desktop/lib/widgets/agent_picker.dartindex ca7ef3489..649a00f00 100644--- a/desktop/lib/widgets/agent_picker.dart+++ b/desktop/lib/widgets/agent_picker.dart@@ -11,20 +11,20 @@ class AgentPicker extends StatelessWidget {required this.options,required this.onChanged,this.compact = false,- this.quiet = false,+ this.tileSize,});final String value;final List<SelectOption<String>> options;final ValueChanged<String> onChanged;final bool compact;- final bool quiet;+ final Size? tileSize;static const quickAgents = ['codex', 'claude', 'cursor'];@overrideWidget build(BuildContext context) => AppChoicePicker<String>(value: value,compact: compact,- quiet: quiet,+ tileSize: tileSize,options: [for (final option in options)SelectOption(@@ -36,8 +36,8 @@ class AgentPicker extends StatelessWidget {trailing: option.trailing,),],- preferredValues: quiet- ? const ['codex', 'claude', 'opencode']+ preferredValues: tileSize != null+ ? const ['claude', 'codex', 'opencode']: quickAgents,onChanged: onChanged,optionKey: (id) => ValueKey('new-agent-quick-$id'),diff --git a/desktop/lib/widgets/new_agent_dialog.dart b/desktop/lib/widgets/new_agent_dialog.dartindex 143b77ff6..a7563e060 100644--- a/desktop/lib/widgets/new_agent_dialog.dart+++ b/desktop/lib/widgets/new_agent_dialog.dart@@ -492,166 +492,107 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {),),actions: [- Row(- crossAxisAlignment: CrossAxisAlignment.end,- children: [- TextButton(- key: const Key('new-agent-advanced'),- style: TextButton.styleFrom(- foregroundColor: grid.AppPalette.textSecondary,- ),- onPressed: _choicesLocked ? null : _toggleAdvanced,- child: Text(- _bypassPermission ? 'Options · Approvals off' : 'Options',- ),+ if (_confirmationPending)+ TextButton(+ onPressed: _submitting ? null : () => Navigator.of(context).pop(),+ style: TextButton.styleFrom(+ foregroundColor: grid.AppPalette.textSecondary,),- const SizedBox(width: 16),- Expanded(- child: OverflowBar(- alignment: MainAxisAlignment.end,- spacing: 8,- overflowSpacing: 8,- children: [- if (!_confirmationPending && !widget.offerBackToSearch)- TextButton(- onPressed: _submitting- ? null- : () => Navigator.of(context).pop(),- style: TextButton.styleFrom(- foregroundColor: grid.AppPalette.textSecondary,- ),- child: const Text('Cancel'),- ),- if (_confirmationPending || widget.offerBackToSearch)- TextButton(- onPressed: _submitting- ? null- : () => Navigator.of(context).pop(- widget.offerBackToSearch &&- !_confirmationPending- ? NewAgentDialogResult.backToSearch- : null,- ),- style: TextButton.styleFrom(- foregroundColor: grid.AppPalette.textSecondary,- ),- child: Text(- _confirmationPending ? 'Close' : 'Back to Search',+ child: const Text('Close'),+ ),+ if (widget.offerFindExisting &&+ _confirmationPending &&+ (!_submitting || _checkingCreation))+ TextButton.icon(+ onPressed: _submitting+ ? null+ : () =>+ Navigator.of(context)+ .pop(NewAgentDialogResult.findExisting),+ icon: const Icon(LucideIcons.search, size: 16),+ label: const Text('Find an agent'),+ ),+ FilledButton(+ key: const ValueKey('create-agent-submit'),+ focusNode: _actionFocus,+ onPressed: canCreate ? _submit : null,+ style: FilledButton.styleFrom(+ minimumSize: const Size(144, 48),+ padding: const EdgeInsets.symmetric(horizontal: 26, vertical: 14),+ backgroundColor: grid.AppPalette.accent,+ foregroundColor: Colors.white,+ textStyle: TextStyle(+ fontFamily: grid.AppFont.sans,+ fontFamilyFallback: grid.AppFont.sansFallback,+ fontSize: 15,+ fontWeight: FontWeight.w600,+ ),+ shape: const StadiumBorder(),+ disabledForegroundColor: _submitting+ ? grid.AppPalette.textPrimary+ : null,+ ),+ child: _submitting+ ? Semantics(+ liveRegion: true,+ child: Row(+ mainAxisSize: MainAxisSize.min,+ children: [+ const SizedBox(+ width: 14,+ height: 14,+ child: CircularProgressIndicator(+ color: Colors.white,+ strokeWidth: 2,+ ),),- ),- if (widget.offerFindExisting &&- _confirmationPending &&- (!_submitting || _checkingCreation))- TextButton.icon(- onPressed: _submitting- ? null- : () =>- Navigator.of(context)- .pop(NewAgentDialogResult.findExisting),- icon: const Icon(LucideIcons.search, size: 16),- label: const Text('Find an agent'),- ),- FilledButton(- key: const ValueKey('create-agent-submit'),- focusNode: _actionFocus,- onPressed: canCreate ? _submit : null,- style: FilledButton.styleFrom(- minimumSize: const Size(136, 42),- padding: const EdgeInsets.symmetric(- horizontal: 22,- vertical: 12,+ const SizedBox(width: 8),+ Text(+ _checkingCreation+ ? 'Checking status…'+ : _folderSource == _FolderSource.remote &&+ _preparedFolder == null+ ? 'Cloning and starting…'+ : 'Creating agent…',),- backgroundColor: grid.AppPalette.swarmAccent,- foregroundColor: grid.AppPalette.swarmTabBar,- shape: const StadiumBorder(),- disabledForegroundColor: _submitting- ? grid.AppPalette.textPrimary- : null,- ),- child: _submitting- ? Semantics(- liveRegion: true,- child: Row(- mainAxisSize: MainAxisSize.min,- children: [- const SizedBox(- width: 14,- height: 14,- child: CircularProgressIndicator(- strokeWidth: 2,- ),- ),- const SizedBox(width: 8),- Text(- _checkingCreation- ? 'Checking status…'- : _folderSource ==- _FolderSource.remote &&- _preparedFolder == null- ? 'Cloning and starting…'- : 'Creating agent…',- ),- ],- ),- )- : Text(- _confirmationPending- ? 'Check status'- : 'Create Agent',- ),+ ],),- ],- ),- ),- ],+ )+ : Text(_confirmationPending ? 'Check status' : 'Create'),),],),);}- Widget _choiceRow(String label, Widget choices) => LayoutBuilder(+ Widget _sectionLabel(String label) => Padding(+ padding: const EdgeInsets.only(bottom: 10),+ child: Text(+ label,+ style: TextStyle(+ fontSize: 14,+ fontWeight: FontWeight.w500,+ color: grid.AppPalette.textSecondary,+ ),+ ),+ );++ Widget _choices(String? bypassFlag) => LayoutBuilder(builder: (context, constraints) {- if (constraints.maxWidth <- 700 *- math.min(1.3, MediaQuery.textScalerOf(context).scale(14) / 14)) {- return Column(- crossAxisAlignment: CrossAxisAlignment.start,- children: [FieldLabel(label), choices],- );- }- return Row(+ final columns = ((constraints.maxWidth + 10) / 190).floor().clamp(1, 5);+ final scaler = MediaQuery.textScalerOf(context);+ final tileSize = Size(+ (constraints.maxWidth - 10 * (columns - 1)) / columns,+ math.max(76, scaler.scale(14) * 2.5 + scaler.scale(12) * 1.25 + 24),+ );+ return Column(+ mainAxisSize: MainAxisSize.min,crossAxisAlignment: CrossAxisAlignment.start,children: [- SizedBox(- width: 76,- child: Padding(- padding: const EdgeInsets.only(top: 13),- child: Text(- label,- style: TextStyle(- fontSize: 13,- color: grid.AppPalette.textSecondary,- ),- ),- ),- ),- Expanded(child: choices),- ],- );- },- );-- Widget _choices(String? bypassFlag) {- return Column(- mainAxisSize: MainAxisSize.min,- crossAxisAlignment: CrossAxisAlignment.start,- children: [- _choiceRow(- 'Agent',+ _sectionLabel('Choose an engine'),AgentPicker(compact: true,- quiet: true,+ tileSize: tileSize,value: _engine,options: [for (final identity in allEngines)@@ -676,134 +617,160 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {});},),- ),- if (!_confirmationPending && _engineCheckFailed) ...[- const SizedBox(height: 6),- Row(- crossAxisAlignment: CrossAxisAlignment.start,- children: [- Expanded(- child: Text(- 'Couldn’t check whether ${engineIdentity(_engine).label} is installed. '- 'You can still try creating an agent.',- style: Theme.of(context).textTheme.bodySmall- ?.copyWith(color: grid.AppPalette.textSecondary),+ if (!_confirmationPending && _engineCheckFailed) ...[+ const SizedBox(height: 6),+ Row(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Expanded(+ child: Text(+ 'Couldn’t check whether ${engineIdentity(_engine).label} is installed. '+ 'You can still try creating an agent.',+ style: Theme.of(context).textTheme.bodySmall+ ?.copyWith(color: grid.AppPalette.textSecondary),+ ),+ ),+ const SizedBox(width: 12),+ TextButton(+ key: const Key('new-agent-retry-check'),+ onPressed: _checkingEngines ? null : _retryEngineCheck,+ child: Text(_checkingEngines ? 'Checking…' : 'Retry'),+ ),+ ],+ ),+ ],+ const SizedBox(height: _gapField),+ _sectionLabel('Select a machine'),+ _machineOptions(tileSize),+ const SizedBox(height: _gapField),+ _sectionLabel('Which project will this agent work in?'),+ NewAgentProjectPicker(+ key: ValueKey('new-agent-projects-$_machineId'),+ notifier: widget.notifier,+ machineId: _machineId,+ initialFolder: _folder,+ focusNode: _folderFocus,+ locked: _choicesLocked,+ onCreate: _picking || _waitingForCodexProfile || _choicesLocked+ ? null+ : _submit,+ onBrowse: _browse,+ onSelected: (folder, repository) {+ if (_choicesLocked) return;+ setState(() {+ _folder = folder;+ _repository = repository;+ _folderSource = repository != null+ ? _FolderSource.remote+ : folder != null+ ? _FolderSource.local+ : _FolderSource.newProject;+ _preparedFolder = null;+ _error = null;+ });+ },+ ),+ const SizedBox(height: 12),+ Align(+ alignment: Alignment.centerLeft,+ child: TextButton.icon(+ key: const Key('new-agent-advanced'),+ onPressed: _choicesLocked ? null : _toggleAdvanced,+ style: TextButton.styleFrom(+ foregroundColor: grid.AppPalette.textSecondary,+ padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 8),+ textStyle: TextStyle(+ fontFamily: grid.AppFont.sans,+ fontFamilyFallback: grid.AppFont.sansFallback,+ fontSize: 12,),),- const SizedBox(width: 12),- TextButton(- key: const Key('new-agent-retry-check'),- onPressed: _checkingEngines ? null : _retryEngineCheck,- child: Text(_checkingEngines ? 'Checking…' : 'Retry'),+ icon: Icon(+ _advancedOpen+ ? LucideIcons.chevronDown+ : LucideIcons.chevronRight,+ size: 14,),+ label: Text(+ _bypassPermission ? 'Advanced · Approvals off' : 'Advanced',+ ),+ ),+ ),+ _Advanced(+ key: _advancedKey,+ open: _advancedOpen,+ children: [+ if (_engine == 'codex') _profileOptions(),+ _permissionOptions(bypassFlag),],),],- const SizedBox(height: _gapField),- _choiceRow('Machine', _machineOptions()),- const SizedBox(height: _gapField),- const FieldLabel('Project'),- NewAgentProjectPicker(- key: ValueKey('new-agent-projects-$_machineId'),+ );+ },+ );++ Widget _profileOptions() => Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ mainAxisSize: MainAxisSize.min,+ children: [+ if (_availability('codex')?.supportsCodexHome == true)+ CodexProfileField(notifier: widget.notifier,machineId: _machineId,- initialFolder: _folder,- focusNode: _folderFocus,- locked: _choicesLocked,- onCreate: _picking || _waitingForCodexProfile || _choicesLocked- ? null- : _submit,- onBrowse: _browse,- onSelected: (folder, repository) {- if (_choicesLocked) return;- setState(() {- _folder = folder;- _repository = repository;- _folderSource = repository != null- ? _FolderSource.remote- : folder != null- ? _FolderSource.local- : _FolderSource.newProject;- _preparedFolder = null;- _error = null;- });+ machineIsThisComputer: _machineIsThisComputer,+ value: _codexProfile,+ observedPaths: {+ for (final agent in widget.notifier.stateOf(_machineId)!.agents)+ if (agent.engine == 'codex' && agent.codexHome != null)+ agent.codexHome!,+ },+ onChanged: (profile) {+ if (!_choicesLocked) {+ setState(() => _codexProfile = profile);+ }},+ onBusyChanged: (busy) {+ if (_codexProfilesBusy != busy) {+ setState(() => _codexProfilesBusy = busy);+ }+ },+ )+ else+ Text(+ _availability('codex') == null+ ? _engineCheckFailed && !_checkingEngines+ ? 'Retry the agent check above to load Codex profiles.'+ : 'Checking whether $_machineName supports Codex profiles…'+ : 'Update Harness CLI on $_machineName to choose a Codex profile.',+ style: Theme.of(context).textTheme.bodySmall,),- const SizedBox(height: 16),- _Advanced(- key: _advancedKey,- open: _advancedOpen,- children: [- if (_engineCheckFailed) ...[- Text(- 'If $_machineName uses an older Harness CLI, update it to enable engine checks.',- style: Theme.of(context).textTheme.bodySmall- ?.copyWith(color: grid.AppPalette.textSecondary),- ),- const SizedBox(height: 10),- ],- if (_engine == 'codex') ...[- if (_availability('codex')?.supportsCodexHome == true)- CodexProfileField(- notifier: widget.notifier,- machineId: _machineId,- machineIsThisComputer: _machineIsThisComputer,- value: _codexProfile,- observedPaths: {- for (final agent- in widget.notifier.stateOf(_machineId)!.agents)- if (agent.engine == 'codex' && agent.codexHome != null)- agent.codexHome!,- },- onChanged: (profile) {- if (!_choicesLocked) {- setState(() => _codexProfile = profile);- }- },- onBusyChanged: (busy) {- if (_codexProfilesBusy != busy) {- setState(() => _codexProfilesBusy = busy);- }- },- )- else- Text(- _availability('codex') == null- ? _engineCheckFailed && !_checkingEngines- ? 'Retry the agent check above to load Codex profiles.'- : 'Checking whether $_machineName supports Codex profiles…'- : 'Update Harness CLI on $_machineName to choose a Codex profile.',- style: Theme.of(context).textTheme.bodySmall,- ),- ],- if (_engine == 'codex') ...[- const SizedBox(height: 12),- Divider(height: 1, color: grid.AppGlass.hair),- const SizedBox(height: 16),- ],- const FieldLabel('Permissions'),- if (bypassFlag != null)- _BypassCheck(- value: _bypassPermission,- flag: bypassFlag,- hovered: _bypassHovered,- onHover: (value) => setState(() => _bypassHovered = value),- onChanged: (value) => setState(() => _bypassPermission = value),- )- else- // Not silence: an engine with no checkbox looks identical to one whose- // checkbox the user simply missed.- Text(- 'Managed by ${engineIdentity(_engine).label}.',- style: Theme.of(context).textTheme.bodySmall,- ),- ],+ ],+ );++ Widget _permissionOptions(String? bypassFlag) => Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ mainAxisSize: MainAxisSize.min,+ children: [+ const FieldLabel('Permissions'),+ if (bypassFlag != null)+ _BypassCheck(+ value: _bypassPermission,+ flag: bypassFlag,+ hovered: _bypassHovered,+ onHover: (value) => setState(() => _bypassHovered = value),+ onChanged: (value) => setState(() => _bypassPermission = value),+ )+ else+ // Not silence: an engine with no checkbox looks identical to one whose+ // checkbox the user simply missed.+ Text(+ 'Managed by ${engineIdentity(_engine).label}.',+ style: Theme.of(context).textTheme.bodySmall,),- ],- );- }+ ],+ );- Widget _machineOptions() => AppChoicePicker<String>(+ Widget _machineOptions(Size tileSize) => AppChoicePicker<String>(key: const Key('new-agent-machine-field'),value: _machineId,moreKey: const Key('new-agent-machine-more'),@@ -812,7 +779,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {showDetails: true,compact: true,wrap: true,- quiet: true,+ tileSize: tileSize,allVisible: true,preferredValues: [for (final machine in widget.notifier.machineStates.values)@@ -823,6 +790,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {SelectOption(value: machine.machine.machineId,label: machine.machine.displayName,+ detail: machine.isLocalMachine ? 'This machine' : null,note: machine.nodeOnline == false? 'Offline': machine.needsLink@@ -856,13 +824,11 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {/// The project picker shares Open Agent’s generous reading space.const double _dialogWidth = 1080;-const double _gapTight = 4;-/// Blocks inside one card: the command, the facts, the reason.const double _gapBlock = 12;/// One field and the next, down the choices column.-const double _gapField = 20;+const double _gapField = 24;class _Advanced extends StatelessWidget {const _Advanced({super.key, required this.open, required this.children});@@ -874,20 +840,32 @@ class _Advanced extends StatelessWidget {offstage: !open,child: ExcludeFocus(excluding: !open,- child: Align(- alignment: Alignment.centerLeft,- child: Container(- constraints: const BoxConstraints(maxWidth: 560),- padding: const EdgeInsets.all(20),- decoration: BoxDecoration(- color: grid.AppSurface.hoverFill,- borderRadius: BorderRadius.circular(16),- ),- child: Column(- crossAxisAlignment: CrossAxisAlignment.stretch,- mainAxisSize: MainAxisSize.min,- children: children,- ),+ child: Padding(+ padding: const EdgeInsets.fromLTRB(4, 14, 4, 12),+ child: LayoutBuilder(+ builder: (context, constraints) {+ if (constraints.maxWidth >= 640 && children.length > 1) {+ return Row(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ for (var i = 0; i < children.length; i++) ...[+ if (i > 0) const SizedBox(width: 32),+ Expanded(child: children[i]),+ ],+ ],+ );+ }+ return Column(+ crossAxisAlignment: CrossAxisAlignment.stretch,+ mainAxisSize: MainAxisSize.min,+ children: [+ for (var i = 0; i < children.length; i++) ...[+ if (i > 0) const SizedBox(height: 20),+ children[i],+ ],+ ],+ );+ },),),),@@ -902,7 +880,6 @@ class _BypassCheck extends StatelessWidget {required this.onHover,required this.onChanged,});-final bool value;final String flag;final bool hovered;@@ -912,7 +889,6 @@ class _BypassCheck extends StatelessWidget {@overrideWidget build(BuildContext context) {grid.AppTheme.watch(context);- final theme = Theme.of(context);return MouseRegion(cursor: SystemMouseCursors.click,onEnter: (_) => onHover(true),@@ -920,69 +896,28 @@ class _BypassCheck extends StatelessWidget {child: GestureDetector(onTap: () => onChanged(!value),behavior: HitTestBehavior.opaque,- child: AnimatedContainer(- duration: grid.AppMotion.hover,- curve: grid.AppMotion.curve,- // Bled out to the left so the row's fill lines up with the fields- // above it, and the text still starts on their left edge once the- // box and its gap are counted.- // NO SIDE PADDING. Ten pixels of it pushed the box in from the- // margin every other control on this dialog starts at, so the one row- // that is not a labelled field was also the one row that did not line- // up with them. The hover fill simply spans the row instead.- padding: const EdgeInsets.symmetric(vertical: 8),- decoration: BoxDecoration(- color: hovered ? grid.AppSurface.hoverFill : Colors.transparent,- borderRadius: BorderRadius.circular(grid.AppControl.radius),- ),+ child: Padding(+ padding: const EdgeInsets.symmetric(vertical: 10),child: Row(- crossAxisAlignment: CrossAxisAlignment.start,children: [- // Nudged down onto the label's own line: the row is top-aligned- // so the two-line block reads from its title, and a 16px box- // centred on a 13pt cap sits a hair proud of it.- Padding(- padding: const EdgeInsets.only(top: 1),- child: AppCheckbox(- value: value,- hovered: hovered,- onChanged: onChanged,- ),- ),+ AppCheckbox(value: value, hovered: hovered, onChanged: onChanged),const SizedBox(width: 10),Expanded(- child: Column(- crossAxisAlignment: CrossAxisAlignment.start,- mainAxisSize: MainAxisSize.min,- children: [- Row(- children: [- Expanded(- child: Text(- 'Bypass permission prompts',- style: theme.textTheme.labelMedium?.copyWith(- color: grid.AppPalette.textPrimary,- ),- ),- ),- Tooltip(- message: flag,- child: Icon(- LucideIcons.info,- size: 14,- color: grid.AppPalette.textSecondary,- ),- ),- ],- ),- const SizedBox(height: _gapTight),- Text(- 'Allow this agent to act without asking for approval.',- style: theme.textTheme.bodySmall?.copyWith(- color: grid.AppPalette.textSecondary,- ),- ),- ],+ child: Text(+ 'Bypass approvals',+ style: TextStyle(+ fontSize: 14,+ color: grid.AppPalette.textPrimary,+ ),+ ),+ ),+ Tooltip(+ message:+ 'Allow this agent to act without asking for approval.\n$flag',+ child: Icon(+ LucideIcons.info,+ size: 14,+ color: grid.AppPalette.textSecondary,),),],diff --git a/desktop/test/agent_creation_recovery_test.dart b/desktop/test/agent_creation_recovery_test.dartindex a3ce46959..3b5c9bace 100644--- a/desktop/test/agent_creation_recovery_test.dart+++ b/desktop/test/agent_creation_recovery_test.dart@@ -122,7 +122,7 @@ void main() {}await tester.pumpAndSettle();expect(find.byType(AlertDialog), findsOneWidget);- expect(find.text('Cancel'), findsOneWidget);+ expect(find.text('Cancel'), findsNothing);expect(find.text('Back to Search'), findsNothing);if (dismissal == 'outside') {await tester.tapAt(const Offset(12, 72));@@ -629,7 +629,7 @@ void main() {);await tester.pumpAndSettle();expect(find.text('/work'), findsOneWidget);- expect(find.widgetWithText(FilledButton, 'Create Agent'), findsNothing);+ expect(find.widgetWithText(FilledButton, 'Create'), findsNothing);final action = tester.widget<FilledButton>(find.widgetWithText(FilledButton, 'Check status'),);diff --git a/desktop/test/agent_events_test.dart b/desktop/test/agent_events_test.dartindex cd8c39475..7c002ff95 100644--- a/desktop/test/agent_events_test.dart+++ b/desktop/test/agent_events_test.dart@@ -165,14 +165,19 @@ void main() {);await tester.tap(find.text('open'));await tester.pumpAndSettle();- // Create stays dead until a folder is chosen. This machine is not- // `thisComputer`, so Browse… opens the in-app remote picker rather than- // a native panel this agent has no plugin for.- await tester.tap(find.text('Browse…'));+ // Browse on a remote machine uses the in-app folder picker.+ final project = find.byKey(const Key('new-agent-project-bar'));+ await tester.ensureVisible(project);+ await tester.tap(project);+ await tester.pumpAndSettle();+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-project-browse')),+ );+ await tester.tap(find.byKey(const Key('new-agent-project-browse')));await tester.pumpAndSettle();await tester.tap(find.widgetWithText(FilledButton, 'Select this folder'));await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();}diff --git a/desktop/test/new_agent_choices_layout_test.dart b/desktop/test/new_agent_choices_layout_test.dartindex 5daa1be5f..612687432 100644--- a/desktop/test/new_agent_choices_layout_test.dart+++ b/desktop/test/new_agent_choices_layout_test.dart@@ -22,6 +22,7 @@ class _ChoicesApp extends AppNotifier {('office', 'M2'),('home', 'T480 - Omarchy'),('studio', 'Studio'),+ ('laptop', 'dees-MacBook-Pro.local'),]) {final machine = Machine(machineId: id,@@ -168,12 +169,40 @@ void main() {}await capture('initial');- for (final id in ['local', 'office', 'home', 'studio']) {+ for (final id in ['local', 'office', 'home', 'studio', 'laptop']) {expect(find.byKey(ValueKey('new-agent-machine-$id')), findsOneWidget);}for (final id in ['codex', 'claude', 'opencode']) {expect(find.byKey(ValueKey('new-agent-quick-$id')), findsOneWidget);}+ void expectUniformTiles({bool withKilo = false}) {+ final tile = tester.getSize(+ find.byKey(const ValueKey('new-agent-quick-codex')),+ );+ for (final key in [+ for (final id in ['claude', 'opencode', if (withKilo) 'kilo'])+ 'new-agent-quick-$id',+ for (final id in ['local', 'office', 'home', 'studio', 'laptop'])+ 'new-agent-machine-$id',+ 'new-agent-engine-field',+ ]) {+ expect(tester.getSize(find.byKey(ValueKey(key))), tile, reason: key);+ }+ }++ expectUniformTiles();+ expect(find.text('This machine'), findsOneWidget);+ expect(find.text('Cancel'), findsNothing);+ expect(find.widgetWithText(FilledButton, 'Create'), findsOneWidget);+ final advanced = find.byKey(const Key('new-agent-advanced'));+ await tester.ensureVisible(advanced);+ await tester.tap(advanced);+ await tester.pumpAndSettle();+ await tester.ensureVisible(find.text('Bypass approvals'));+ await capture('advanced');+ await tester.ensureVisible(advanced);+ await tester.tap(advanced);+ await tester.pumpAndSettle();final bar = find.byKey(const Key('new-agent-project-bar'));await tester.ensureVisible(bar);await tester.tap(bar);@@ -215,6 +244,7 @@ void main() {findsOneWidget,);expect(find.text('Kilo'), findsOneWidget);+ expectUniformTiles(withKilo: true);expect(find.text('Harness will install Kilo before starting.'),findsNothing,diff --git a/desktop/test/new_agent_codex_profile_test.dart b/desktop/test/new_agent_codex_profile_test.dartindex 5659e9886..b18cf5396 100644--- a/desktop/test/new_agent_codex_profile_test.dart+++ b/desktop/test/new_agent_codex_profile_test.dart@@ -200,12 +200,16 @@ void main() {// settings most people never touch, so they are off the path of somebody who// wants neither. Every test below is about the profile, so every one of them// opens it.+ await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();return n;}Future<void> selectSecond(WidgetTester tester) async {+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));await tester.pumpAndSettle();await tester.tap(find.text('codex2').last);@@ -254,7 +258,7 @@ void main() {expect(find.text('Link a profile folder…'), findsOneWidget);await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], isNull);});@@ -275,7 +279,7 @@ void main() {expect(find.text('Link a profile folder…'), findsOneWidget);await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], '/custom/work-login');expect(tester.takeException(), isNull);@@ -295,7 +299,7 @@ void main() {);expect(machineField.options.single.label, 'This Mac');expect(machineField.options.single.detail, isNull);- expect(find.widgetWithText(FilledButton, 'Create Agent'), findsOneWidget);+ expect(find.widgetWithText(FilledButton, 'Create'), findsOneWidget);expect(find.byKey(const Key('new-agent-project-bar')), findsOneWidget);expect(find.byKey(const Key('new-agent-codex-profile-field')),@@ -352,7 +356,7 @@ void main() {final searchFocus = tester.widget<TextField>(find.byKey(const Key('new-agent-project-search'))).focusNode!;- final createButton = find.widgetWithText(FilledButton, 'Create Agent');+ final createButton = find.widgetWithText(FilledButton, 'Create');expect(tester.widget<FilledButton>(createButton).onPressed, isNull);expect(searchFocus.hasPrimaryFocus, isTrue);expect(notifier.calls, isEmpty);@@ -383,6 +387,9 @@ void main() {findsOneWidget,);expectProfile(tester, 'codex2');+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));await tester.pumpAndSettle();await tester.tap(find.text('codex1').last);@@ -390,7 +397,7 @@ void main() {expectProfile(tester, 'codex1');await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], '/accounts/codex1');});@@ -400,6 +407,9 @@ void main() {) async {final notifier = await open(tester);await selectSecond(tester);+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));await tester.pumpAndSettle();await tester.tap(find.text('Default profile').last);@@ -414,7 +424,7 @@ void main() {expectProfile(tester, 'Default profile');await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], isNull);});@@ -427,7 +437,7 @@ void main() {expectProfile(tester, 'codex2');await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls, [{'engine': 'codex', 'codexHome': '/accounts/codex2', 'folder': '/work'},@@ -465,6 +475,9 @@ void main() {await tester.ensureVisible(find.byKey(const Key('new-agent-codex-profile-field')),);+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));await tester.pumpAndSettle();expect(find.text('work-login'), findsOneWidget);@@ -484,6 +497,9 @@ void main() {await tester.tap(find.byTooltip('Refresh profiles'));await tester.pumpAndSettle();expectProfile(tester, 'codex2');+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));await tester.pumpAndSettle();await tester.tap(find.text('new-profile'));@@ -508,7 +524,7 @@ void main() {);await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], isNull);expect(notifier.calls.single['engine'], 'claude');@@ -528,7 +544,7 @@ void main() {);await browseNewAgentProject(tester);await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(notifier.calls.single['codexHome'], isNull);},diff --git a/desktop/test/new_agent_engine_check_test.dart b/desktop/test/new_agent_engine_check_test.dartindex 778380cd5..3251f65ba 100644--- a/desktop/test/new_agent_engine_check_test.dart+++ b/desktop/test/new_agent_engine_check_test.dart@@ -103,7 +103,7 @@ void main() {await tester.pump();expect(find.textContaining('If harness-remote-box uses an older Harness CLI'),- findsOneWidget,+ findsNothing,);});@@ -137,12 +137,15 @@ void main() {(engines) => engines.error = 'Check failed',app: app,);+ await tester.ensureVisible(+ find.byKey(const ValueKey('new-agent-quick-codex')),+ );await tester.tap(find.byKey(const ValueKey('new-agent-quick-codex')));await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();- await tester.ensureVisible(find.text('Bypass permission prompts'));- await tester.tap(find.text('Bypass permission prompts'));+ await tester.ensureVisible(find.text('Bypass approvals'));+ await tester.tap(find.text('Bypass approvals'));await tester.pump();final retry = find.byKey(const Key('new-agent-retry-check'));await tester.ensureVisible(retry);@@ -190,7 +193,7 @@ void main() {findsOneWidget,);expect(app.launches, isEmpty);- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pump();expect(app.launches.single, {'machine': 'machine-1',@@ -223,6 +226,9 @@ void main() {await tester.pump();await tester.tap(find.byKey(const ValueKey('new-agent-machine-machine-2')));await tester.pumpAndSettle();+ await tester.ensureVisible(+ find.byKey(const ValueKey('new-agent-quick-codex')),+ );await tester.tap(find.byKey(const ValueKey('new-agent-quick-codex')));await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));diff --git a/desktop/test/new_agent_project_folder_test.dart b/desktop/test/new_agent_project_folder_test.dartindex b490962a5..e6067fe90 100644--- a/desktop/test/new_agent_project_folder_test.dart+++ b/desktop/test/new_agent_project_folder_test.dart@@ -104,6 +104,9 @@ void main() {await _mount(tester, app);expect(app.prepared, isEmpty);expect(connection.calls, isEmpty);+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-project-bar')),+ );await tester.tap(find.byKey(const Key('new-agent-project-bar')));await tester.pumpAndSettle();await tester.tap(@@ -162,6 +165,9 @@ void main() {app.dispose();});await _mount(tester, app);+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-project-bar')),+ );await tester.tap(find.byKey(const Key('new-agent-project-bar')));await tester.pumpAndSettle();final field = find.byKey(const Key('new-agent-project-search'));diff --git a/desktop/test/remote_folder_picker_test.dart b/desktop/test/remote_folder_picker_test.dartindex 6709172ae..429a34e99 100644--- a/desktop/test/remote_folder_picker_test.dart+++ b/desktop/test/remote_folder_picker_test.dart@@ -388,16 +388,29 @@ void main() {);await tester.tap(find.text('Open'));await tester.pumpAndSettle();+ await tester.ensureVisible(+ find.byKey(const ValueKey('new-agent-quick-codex')),+ );await tester.tap(find.byKey(const ValueKey('new-agent-quick-codex')));- await tester.tap(find.text('Change'));+ final project = find.byKey(const Key('new-agent-project-bar'));+ await tester.ensureVisible(project);+ await tester.tap(project);+ await tester.pumpAndSettle();+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-project-browse')),+ );+ await tester.tap(find.byKey(const Key('new-agent-project-browse')));await tester.pump();app.requests.single.reply.complete(_listing('/home/dev/old'));await tester.pumpAndSettle();await tester.sendKeyEvent(LogicalKeyboardKey.escape);await tester.pumpAndSettle();- expect(find.text('/home/dev/old'), findsOneWidget);+ expect(find.text('/home/dev/old'), findsWidgets);expect(app.launches, isEmpty);- await tester.tap(find.text('Change'));+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-project-browse')),+ );+ await tester.tap(find.byKey(const Key('new-agent-project-browse')));await tester.pump();app.requests.last.reply.complete(_listing('/home/dev/old'));await tester.pumpAndSettle();@@ -416,7 +429,7 @@ void main() {expect(find.byType(AlertDialog), findsOneWidget);expect(find.text('/home/dev/target'), findsOneWidget);expect(app.launches, isEmpty);- await tester.tap(find.widgetWithText(FilledButton, 'Create Agent'));+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();expect(app.launches, [(machine: 'remote', engine: 'codex', folder: '/home/dev/target'),diff --git a/desktop/test/swarm_entry_picker_test.dart b/desktop/test/swarm_entry_picker_test.dartindex 06bbb07f3..8f55f9352 100644--- a/desktop/test/swarm_entry_picker_test.dart+++ b/desktop/test/swarm_entry_picker_test.dart@@ -155,12 +155,12 @@ void main() {expect(find.descendant(of: find.byType(AlertDialog),- matching: find.widgetWithText(FilledButton, 'Create Agent'),+ matching: find.widgetWithText(FilledButton, 'Create'),),findsOneWidget,);expect(find.text('Back to Search'), findsNothing);- expect(find.text('Cancel'), findsOneWidget);+ expect(find.text('Cancel'), findsNothing);expect(_results, findsNothing);await tester.tapAt(const Offset(20, 200));await tester.pump(const Duration(milliseconds: 200));diff --git a/desktop/test/swarm_picker_activation_test.dart b/desktop/test/swarm_picker_activation_test.dartindex b5ddb7853..ad12a3aeb 100644--- a/desktop/test/swarm_picker_activation_test.dart+++ b/desktop/test/swarm_picker_activation_test.dart@@ -24,11 +24,11 @@ void main() {expect(find.byKey(const ValueKey('swarm-search-new-agent')), findsNothing);final panelRect = tester.getRect(results);final fieldRect = tester.getRect(field);- expect(fieldRect.left, panelRect.left + 28);- expect(fieldRect.right, panelRect.right - 28);+ expect(fieldRect.left, panelRect.left);+ expect(fieldRect.right, panelRect.right);await chord(tester, LogicalKeyboardKey.keyN);expect(find.byType(AlertDialog), findsOneWidget);- expect(find.widgetWithText(FilledButton, 'Create Agent'), findsOneWidget);+ expect(find.widgetWithText(FilledButton, 'Create'), findsOneWidget);expect(results, findsNothing);expect(find.text('Back to Search'), findsNothing);expect(app.panes, [pane]);diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.mdindex 272683b0d..286295094 100644--- a/docs/harness-agent-first-tabs.md+++ b/docs/harness-agent-first-tabs.md@@ -96,19 +96,23 @@ the preview without taking typing focus. Page Up/Down scrolls the preview whileretaining the query and selection. Native menus and the titlebar retain normalcolors while modal actions are blocked.-New Agent uses a focused 600-pixel form: compact **Agent** choices first,-**Project** in the center, then a quiet **Run on** machine disclosure. The-machine row expands to direct choices when requested. Machine and agent pickers-show up to three choices and an overflow control; a selected overflow choice-replaces the third visible choice. **New / Local / Remote** are small project-tabs and mean-create a folder, choose an existing folder and clone a GitHub repository onto-the selected machine. Local is initially selected. New and Remote prepare a-unique folder under `~/Harness Projects` only on submission. The footer keeps-**Cancel / Create Agent** accessible while tall content scrolls. Advanced retains-profiles and permissions, hides the default profile summary, and scrolls its-controls into view when opened. A late saved preference equal to the selected engine-preserves loaded profile readiness. Failure keeps the choices and prepared folder;+New Agent uses the same generous width as Open Agent. Three stacked sections+lead through **Choose an engine**, **Select a machine**, and **Which project will+this agent work in?** Engines and machines share one tile width and height;+Claude Code, Codex, and OpenCode stay visible, with More for other engines.+All machines stay visible, with **This machine** identifying the local computer.+Tiles wrap and the body scrolls on smaller windows or with larger text.++The project bar opens **Search projects or paste a Git URL**, with pinned+**New project**, machine-scoped recent folders, Browse, and existing GitHub+cloning. Arrows preview existing README/Git/files content; Enter selects into+the bar, and clicking it reopens search. Each machine remembers its last choice;+first use selects New. New folders use `~/harnesses/agent-1`, `agent-2`, ….+The sole ordinary footer action is a bright **Create** button. Escape or an+outside click dismisses. A quiet **Advanced** disclosure groups Codex profiles+and permissions, side by side when space permits; these stay out of the usual+creation path. A late saved preference equal to the selected engine preserves+loaded profile readiness. Failure keeps the choices and prepared folder;an uncertain launch retains its receipt and offers **Check status** and **Close**without cloning or starting again. Success focuses the new agent.diff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.mdindex c4d0e4bfa..7299f1959 100644--- a/docs/harness-v2-handoff.md+++ b/docs/harness-v2-handoff.md@@ -48,9 +48,11 @@ Logs: `/private/tmp/harness-friendly-names-tests.log` and### Project picker in New AgentAgent → Machine → Project now replaces the old New / Local / Remote form.-Codex, Claude Code and OpenCode stay visible in stable order; all machines are-visible. Wide windows use quiet horizontal choice rows; small windows and large-text wrap and scroll. Options retains Codex profiles and permission controls.+Claude Code, Codex and OpenCode stay visible in stable order; all machines are+visible. Engine and machine tiles share one width and height beneath stacked+section labels. Small windows and large text wrap and scroll. A quiet Advanced+disclosure groups Codex profiles and permissions. The normal footer has one+bright Create action; Escape and outside click dismiss.Project combines a pinned New project, machine-scoped recent folders, search,existing GitHub HTTPS/SSH/owner-repo cloning, and Browse. Arrows update the@@ -73,6 +75,17 @@ CLI typechecking passes. Logs: `/private/tmp/harness-launcher-final-tests.log`,`/private/tmp/harness-launcher-full-analyze.log`. Render captures:`/private/tmp/harness-project-launcher-captures`.+The uniform-tile refinement passes 108 affected desktop checks across the+initial suite and focused reruns, with no static-analysis issues. Captures at+1280, 900, 880, and 600 pixels include project search, selection, and Advanced;+600 pixels also uses double-size text. Logs:+`/private/tmp/harness-uniform-choices-tests.log`,+`/private/tmp/harness-uniform-choices-rerun.log`,+`/private/tmp/harness-uniform-choices-browse-tests.log`,+`/private/tmp/harness-uniform-choices-remote-tests.log`, and+`/private/tmp/harness-uniform-choices-analyze.log`. Final captures:+`/private/tmp/harness-uniform-choices-captures`.+The user has renewed authorization to push each completed feature separately.The latest installed preview is **2b332f2**, at the supported checkout path.Release build: `/private/tmp/harness-project-picker-release-build.log`.