Complete three overdue cleanups discovered during macOS health check: D-56 daemon dissolution: delete bin/clide.dart, DaemonServer, and orphaned tests (test/cli/, subprocess_test, in_process_test). Update stale "clide --daemon" references in i18n catalogs, error messages, editor_commands, CI scripts, and decision records. ptyc retirement: delete ptyc/ source tree, PtySession, scm_rights. Remove from Toolchain resolution, ToolCheck gate, backend serialization, testmode harness, Makefile, CI, and sandbox entitlements. PTY spawning uses NativePty (Dart FFI forkpty) since the terminal was absorbed in-tree. D-5 amended. Golden tests: wire the existing but never-applied clideGoldenConfig via flutter_test_config.dart. Disable CI goldens (Skia anti-aliasing differs between macOS/Linux even with Ahem). Keep platform-keyed goldens only — goldens/linux/ and goldens/macos/ each run on their own OS. Test suite: 826 pass, 0 fail on macOS (was 829 pass, 11 fail). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
1.6 KiB
Dart
49 lines
1.6 KiB
Dart
/// clide — Dart core library.
|
|
///
|
|
/// See:
|
|
/// * `decisions/architecture.md` `D-005` — layout + language rationale.
|
|
/// * `decisions/architecture.md` `D-006` — CLI + event contract.
|
|
library;
|
|
|
|
// Flutter-app-visible surface. Deliberately **does not** export the
|
|
// `pty/` or `panes/registry.dart` modules — those import `dart:ffi`
|
|
// and pull in the PTY machinery that only runs on desktop.
|
|
//
|
|
// `Pane` + `PaneKind` + the event-sink interfaces travel here because
|
|
// they're pure data types referenced throughout the app.
|
|
|
|
export 'src/daemon/dispatcher.dart';
|
|
export 'src/editor/buffer.dart';
|
|
export 'src/files/ignore.dart';
|
|
export 'src/files/listing.dart' show FileEntry, listDir;
|
|
export 'src/git/diff.dart' show GitDiff, GitHunk, DiffLine, DiffLineKind;
|
|
export 'src/git/client.dart' show GitClient;
|
|
export 'src/git/operations.dart' show GitLogEntry, GitException;
|
|
export 'src/git/status.dart' show GitStatus, GitFileStatus, GitFileState, GitConflictType;
|
|
export 'src/pql/client.dart' show PqlClient, PqlException;
|
|
export 'src/ipc/envelope.dart';
|
|
export 'src/ipc/paths.dart';
|
|
export 'src/ipc/schema_v1.dart';
|
|
export 'src/panes/event_sink.dart';
|
|
export 'src/panes/pane.dart' show Pane, PaneKind;
|
|
|
|
/// Build-time-stamped version string.
|
|
///
|
|
/// The Makefile's `build` target passes `--define=clideVersion=…`,
|
|
/// stamping `pubspec.yaml`'s `version:` plus the git short SHA and
|
|
/// dirty marker.
|
|
const clideVersion = String.fromEnvironment(
|
|
'clideVersion',
|
|
defaultValue: '2.0.0-dev',
|
|
);
|
|
|
|
const clideCommit = String.fromEnvironment(
|
|
'clideCommit',
|
|
defaultValue: 'unknown',
|
|
);
|
|
|
|
const clideDate = String.fromEnvironment(
|
|
'clideDate',
|
|
defaultValue: 'unknown',
|
|
);
|