format the tree to current dart format spec

Mechanical `dart format` sweep across files that drifted from the
formatter's output (mostly trailing-comma and line-wrap differences
from a Dart SDK / formatter version bump). No semantic changes.

Caught because the pre-push gate now actually fires.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-06 22:28:51 +02:00
co-authored by Claude
parent 301322a6b0
commit f0bb2ffcce
29 changed files with 77 additions and 171 deletions
+14 -14
View File
@@ -129,9 +129,7 @@ class _ClaudePaneState extends State<ClaudePane> {
repoRoot = (rootResp.data['path'] as String?) ?? repoRoot;
}
_sessionName = widget.isPrimary
? primarySessionName(repoRoot)
: secondarySessionName(repoRoot, widget.secondaryIndex!);
_sessionName = widget.isPrimary ? primarySessionName(repoRoot) : secondarySessionName(repoRoot, widget.secondaryIndex!);
final tmuxConf = await _ensureTmuxConf();
final cols = _terminal.viewWidth;
@@ -139,7 +137,8 @@ class _ClaudePaneState extends State<ClaudePane> {
var argv = <String>[
'tmux',
'-L', 'clide',
'-L',
'clide',
if (tmuxConf != null) ...['-f', tmuxConf],
'new-session',
'-A',
@@ -220,9 +219,7 @@ class _ClaudePaneState extends State<ClaudePane> {
}
}
case 'pane.exit':
setState(() => _statusLine = widget.isPrimary
? 'session exited — restart clide to retry'
: 'session exited');
setState(() => _statusLine = widget.isPrimary ? 'session exited — restart clide to retry' : 'session exited');
case 'pane.closed':
_paneId = null;
}
@@ -252,10 +249,15 @@ class _ClaudePaneState extends State<ClaudePane> {
_ipc()?.request('pane.resize', args: {'id': id, 'cols': cols, 'rows': rows});
if (_sessionName != null) {
Process.run('tmux', [
'-L', 'clide', 'resize-window',
'-t', _sessionName!,
'-x', '$cols',
'-y', '$rows',
'-L',
'clide',
'resize-window',
'-t',
_sessionName!,
'-x',
'$cols',
'-y',
'$rows',
]);
}
});
@@ -277,9 +279,7 @@ class _ClaudePaneState extends State<ClaudePane> {
@override
Widget build(BuildContext context) {
final title = widget.isPrimary
? 'claude — primary'
: 'claude — secondary ${widget.secondaryIndex}';
final title = widget.isPrimary ? 'claude — primary' : 'claude — secondary ${widget.secondaryIndex}';
final body = _error != null
? Padding(
+2 -7
View File
@@ -14,8 +14,7 @@ typedef TmuxRunner = Future<ProcessResult> Function(List<String> args);
TmuxRunner tmuxRunner = _defaultRunner;
Future<ProcessResult> _defaultRunner(List<String> args) =>
Process.run('tmux', args);
Future<ProcessResult> _defaultRunner(List<String> args) => Process.run('tmux', args);
const _socket = ['-L', 'clide'];
@@ -30,11 +29,7 @@ Future<void> killSession(String name) async {
Future<List<String>> listClideSessions() async {
final r = await tmuxRunner([..._socket, 'list-sessions', '-F', '#{session_name}']);
if (r.exitCode != 0) return const [];
return (r.stdout as String)
.split('\n')
.map((s) => s.trim())
.where((s) => s.isNotEmpty)
.toList();
return (r.stdout as String).split('\n').map((s) => s.trim()).where((s) => s.isNotEmpty).toList();
}
/// Kill every secondary clide-claude session whose name begins with