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:flutter/widgets.dart';
import '../shared/theme/app_theme.dart' as grid;
import '../state/harness_attachments.dart';
import '../widgets/new_harness_attachments.dart';
import 'controller.dart';
/// The files waiting in a chat box, as chips above its field. The main chat and the
/// thread pane draw them with this, so a change to the chips reaches both.
class SuperTabComposerChips extends StatelessWidget {
const SuperTabComposerChips({
super.key,
required this.controller,
required this.files,
});
final SuperTabController controller;
final HarnessAttachments files;
@override
Widget build(BuildContext context) => ListenableBuilder(
listenable: files,
builder: (context, _) => files.isEmpty
? const SizedBox.shrink()
: Padding(
// The text's edges; the field keeps its own air below them.
padding: const EdgeInsets.fromLTRB(
grid.AppDesktop.composerSide,
grid.AppDesktop.composerTop,
grid.AppDesktop.composerSide,
0,
),
child: NewHarnessAttachmentChips(
attachments: files,
enabled: !controller.saving,
isUploading: controller.isUploading,
progressOf: controller.uploadProgress,
),
),
);
}