The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
Dart — LSP setup
- Builtin server:
dart—dart language-server --lsp - Extensions:
.dart - Install hint:
Included with the Dart/Flutter SDK
Install
The language server ships inside the Dart SDK (and the Flutter SDK, which bundles Dart). There is no separate package to install — just put dart (or flutter) on PATH.
- macOS:
brew install dart(or install Flutter and use its bundleddart) - Linux: install the Dart SDK from your package manager /
https://dart.dev/get-dart, or install Flutter - Windows: install the Dart SDK or Flutter SDK and add its
binto PATH
Confirm it resolves:
command -v dart
Configure
Builtin — usually NO config needed (auto-resolved by extension). Configure only to set priority, init options, override extensions, or disable. Same JSON shape in every harness's project config (per-harness paths: the Configure step in SKILL.md):
{ "lsp": { "dart": { "priority": 100 } } }
For builtin ids in a PROJECT config, command is supplied automatically — only set priority/initialization/extensions/disabled (a project entry drops env). env, and a fully custom (non-builtin) server with its own command, must go in your harness's USER config (see the Configure step in SKILL.md).
Initialization options (only if commonly needed)
None commonly required.
Alternatives
None.
Troubleshooting
- PATH:
dartmust be on PATH; reopen the shell after installing the SDK. Flutter users: ensure<flutter>/bin/cache/dart-sdk/binor the Flutterbinis exported. - Flutter vs Dart: if you only have Flutter installed, the bundled
dartworks — make sure Flutter'sbinis on PATH rather than relying on a separate Dart install. - SDK out of date: run
dart --version/flutter upgradeif analysis behaves oddly on newer language features.
Verify
bun ../../scripts/verify-lsp.ts path/to/file.dart