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.

11.3 KB
Raw Blame
name: harness
description: "Harness desktop terminal client."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1

environment:
  sdk: ^3.13.0

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  web: ^1.1.1
  archive: ^4.0.9
  flutter:
    sdk: flutter
  flutter_web_plugins:
    sdk: flutter
  # Natural ordering for numbered agents, projects, and completion candidates.
  collection: ^1.19.1
  # A wall clock tests can move: the Finder tells a double click by time.
  clock: ^1.1.2

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.8
  lucide_icons_flutter: ^3.1.15
  flutter_svg: ^2.3.0
  # Selectable agent messages, code and tables. Pure Flutter/Dart; no native
  # plugin. Super Tab disables automatic images and permits only web links.
  flutter_markdown_plus: ^1.0.12
  markdown: ^7.3.1
  dio: ^5.11.0
  web_socket_channel: ^3.0.3
  flutter_riverpod: ^2.6.1
  go_router: ^17.5.0
  url_launcher: ^6.3.2
  cryptography: ^2.9.0
  # Unicode normalisation for the viewer's password-linking PAKE: the same
  # password must hash identically whatever form the keyboard produced it in.
  # Pure Dart, so it registers no native plugin and leaves the macOS SPM
  # package list untouched — see CLAUDE.md on what a plugin costs here.
  unorm_dart: ^0.3.2
  # The QR in Harness ▸ Add Phone… (`widgets/add_phone_dialog.dart`). The bare
  # encoder, NOT `qr_flutter`: the dialog paints the modules itself in a few
  # lines, and pure Dart registers no native plugin — see CLAUDE.md on what a
  # plugin costs here.
  qr: ^3.0.2
  # Keep the terminal core in-tree until the upstream circular-buffer ownership
  # fix is released. See third_party/xterm/lib/src/core/buffer/buffer.dart.
  xterm:
    path: third_party/xterm
  package_info_plus: ^10.2.1
  window_manager: ^0.5.2
  # The system folder panel: NSOpenPanel on macOS, IFileDialog on Windows, the
  # XDG portal on Linux. Used ONLY for a machine that is this computer — see
  # `widgets/new_agent_dialog.dart`.
  file_selector: ^1.0.3
  # `core/process_responsibility.dart`: a native buffer for `proc_pidpath`. Pure Dart, no plugin.
  ffi: ^2.2.0
  # Reads OpenCode's own database for the usage ledger — `usage/ledger/`. The
  # Dart-only FFI package on purpose, NOT `sqlite3_flutter_libs`: this dlopens
  # the sqlite the OS already ships (every macOS has one, every Ubuntu desktop
  # has one), so it registers no native plugin and leaves the macOS SPM package
  # list untouched — see CLAUDE.md on what a plugin costs here. A machine
  # without the library reports `OpenCodeUnavailable` rather than failing to
  # build, which is the same shape the other two scanners use for "nothing to
  # read".
  sqlite3: ^2.4.0
  desktop_drop: ^0.8.4
  path: ^1.9.1
  # The web pane: a domain harness's viewer (Circuit's board, Workshop's part)
  # drawn beside its agent's terminal. THE one native plugin this feature adds
  # — WKWebView via the endorsed `webview_flutter_wkwebview`, which lands in
  # the macOS SPM package list and GeneratedPluginRegistrant. Linux support
  # is added separately below; it falls back to the URL when WebKitGTK is
  # unavailable. See CLAUDE.md on what a plugin costs.
  webview_flutter: ^4.14.1
  # Named directly for the WebKit creation params (muted autoplay in viewer panes).
  webview_flutter_platform_interface: ^2.15.1
  webview_flutter_wkwebview: ^3.26.1
  # Keep exact: 1.3+ uses a different platform interface. This pin controls
  # plugin updates, not the host WebKitGTK engine. See RELEASE.md.
  webview_all_linux: 1.2.1
  # The Finder tile's code editor and its highlighter (lib/finder/): pure
  # Dart, no native plugin, so the macOS SPM package list is unchanged.
  re_editor: ^0.10.0
  re_highlight: ^0.0.3
  # The Dart team's IANA zone table: the local time on a person's card in the
  # Swarm chat (super_tabs/zone_time.dart), daylight saving included. Pure
  # Dart; its 10-year data is a deferred import, out of the web's first load.
  timezone: ^0.11.2
  # Plays a chat's voice messages (`super_tabs/voice_bubble.dart`), from a
  # local copy of the file. A native plugin, first-party Flutter: AVPlayer on
  # macOS, through its Swift package, so it lands in the macOS SPM package list
  # and GeneratedPluginRegistrant; the browser's own media element on the web.
  # It has no Linux implementation, so there the bubble's play opens the file
  # as a file chip does. See CLAUDE.md on what a plugin costs.
  video_player: ^2.14.0
  # The composer's mic on macOS and the web, as the phone records (#2665):
  # 16 kHz mono PCM16 streamed into a WAV. Windows too. Linux draws no mic.
  record: ^7.1.1
  # video_player on Windows, through Media Foundation, which plays a voice
  # message's WAV with no extra codec. BSD-3-Clause. Keep exact: see RELEASE.md.
  video_player_win: 3.3.1
  # The web pane on Windows, through WebView2, behind the same webview_flutter
  # protocol as the Mac. Keep exact: 3.x registers on Linux as well, where it
  # would replace webview_all_linux. BSD-3-Clause. See RELEASE.md.
  webview_win_floating: 2.3.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  # Only for the test that stands in for the OS folder panel, which a widget
  # test cannot open — see `test/new_agent_codex_profile_test.dart`.
  file_selector_platform_interface: ^2.7.0
  integration_test:
    sdk: flutter

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^6.0.0
  fake_async: ^1.3.3

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
dependency_overrides:
  # 2.12.2 rewrote the macOS player in Swift against the macOS 26 SDK
  # (`AVAsset.load(_:isolation:)`); the release runner's Xcode 16 cannot build
  # it, which failed every Desktop build since #2887. 2.12.1 is the last
  # Objective-C release. Lift this once release-desktop.yml builds on Xcode 26.
  video_player_avfoundation: 2.12.1

flutter:
  fonts:
    - family: Roboto Mono
      fonts:
        - asset: assets/fonts/roboto-mono/RobotoMono.ttf
        - asset: assets/fonts/roboto-mono/RobotoMono-Italic.ttf
          style: italic
    # Icons only (Nerd Fonts v3.5.1: MIT, plus the glyph-set licenses listed in
    # its NOTICE). Claude Code prints these from the private-use area;
    # the text faces above do not carry them. One em wide, so the terminal
    # scales them down to the cell measured from the text face.
    - family: Symbols Nerd Font Mono
      fonts:
        - asset: assets/fonts/symbols-nerd-font-mono/SymbolsNerdFontMono-Regular.ttf

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  assets:
    - assets/daemon-art/alignment.json
    - assets/daemon-art/styles.json
    - assets/daemon-art/slot/
    - assets/daemon-art/portrait/
    - assets/fonts/roboto-mono/OFL.txt
    - assets/fonts/symbols-nerd-font-mono/LICENSE
    - assets/fonts/symbols-nerd-font-mono/NOTICE
    - assets/fonts/symbols-nerd-font-mono/CC-BY-4.0.txt
    - assets/fonts/symbols-nerd-font-mono/Apache-2.0.txt
    - assets/fonts/symbols-nerd-font-mono/OFL.txt
    - assets/machines.svg
    - assets/models.svg
    - assets/harnesses.svg
    - assets/engine-icons/
    # Settings ▸ Connectors' service icons, copied from the CLI's
    # (cli/scripts/connector-assets.mjs, with lib/connectors/connector_icons.dart).
    - assets/connector-icons/
    - assets/store/
    - assets/store/projects/
    - assets/store/covers/
    # The real app icon, shown in Settings ▸ About. Copied from the macOS
    # icon set (`macos/Runner/Assets.xcassets/AppIcon.appiconset`) rather than
    # loaded from the bundle: Flutter can't read an .icns, and About should show
    # the mark the Dock shows, not a stand-in drawn in Dart.
    - assets/app_icon.png
    # Original stacked-terminal logo, retained for Harness Monitor.
    - assets/harnesses.png
    - assets/models.png
    - assets/model-icons/
    - assets/octicons/
    # The marks on the login screen's two buttons (`widgets/sign_in_provider_button.dart`).
    - assets/sign-in/
    # The App Store's and Google Play's marks under Add Phone's download codes
    # (`widgets/add_phone_dialog.dart`).
    - assets/stores/
    - assets/harness_device_studio.jpg
    - assets/devices/
    - assets/harness_store_card.jpg
    - assets/swarm-wallpapers/

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/to/resolution-aware-images

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/to/asset-from-package

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/to/font-from-package