dissolve app/ into repo root (D-056)
Single Flutter package at the repo root. All code, tests, assets, and platform directories moved from app/ to root. Package renamed from clide_app to clide — all imports rewritten. Merged pubspec combines core (ffi) and app (flutter, yaml, xterm) dependencies. Makefile simplified: no APP_PRESENT conditionals, no cd, no daemon lifecycle. 317 tests pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+74
-28
@@ -1,44 +1,90 @@
|
||||
# clide — Dart core package.
|
||||
# clide — Flutter desktop IDE for Claude Code.
|
||||
#
|
||||
# This is the repo-root package: the `clide` CLI (one-shot subcommand
|
||||
# mode) and the `clide --daemon` long-running process both compile from
|
||||
# `bin/clide.dart` against `lib/`. It has NO Flutter dependency so
|
||||
# `dart compile exe` produces a lean static binary.
|
||||
# Single package: UI, core subsystems (IPC, PTY, git, pql), and
|
||||
# extensions all live here. The Flutter app hosts the IPC server
|
||||
# in-process (D-056); tmux owns session persistence (D-041).
|
||||
#
|
||||
# The Flutter desktop UI lives under `app/` as a separate package that
|
||||
# depends on this one via a path: dependency. See D-005 for the
|
||||
# layout rationale.
|
||||
#
|
||||
# Version is mirrored from project.yaml on every bump. project.yaml is
|
||||
# the single source of truth — if you change one without the other,
|
||||
# `make build`'s ldflag stamping will reveal the drift.
|
||||
# Prefer-zero-deps; every third-party entry is exact-pinned and
|
||||
# justified. No carets. See D-031.
|
||||
|
||||
name: clide
|
||||
description: >-
|
||||
Flutter desktop IDE for Claude Code — Dart core (CLI + daemon + shared
|
||||
library). The Flutter UI lives under app/.
|
||||
version: 2.0.0-dev
|
||||
Flutter desktop IDE for Claude Code. One Dart package covering the
|
||||
UI, subsystem handlers (pane, files, editor, git, pql), and the
|
||||
extension framework.
|
||||
publish_to: none
|
||||
version: 2.0.0-dev
|
||||
repository: https://git.schweitz.net/jpmschweitzer/clide
|
||||
|
||||
environment:
|
||||
sdk: ">=3.5.0 <4.0.0"
|
||||
flutter: ">=3.19.0"
|
||||
|
||||
# Prefer-zero-deps. Anything added here must be justified against the
|
||||
# "write it yourself" default (see memory:
|
||||
# feedback_dart_deps_minimal_locked_cve_checked.md). Exact-pin; never
|
||||
# carets.
|
||||
dependencies:
|
||||
# Dart-team-maintained allocator (`calloc`) + type helpers on top of
|
||||
# dart:ffi. Saves ~50 LOC of malloc/free boilerplate for the PTY
|
||||
# wrapper's libc bindings (socketpair, recvmsg with SCM_RIGHTS,
|
||||
# ioctl). Tiny, zero transitive deps. Listed in
|
||||
# app/assets/licenses.yaml per D-042.
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
yaml: 3.1.3
|
||||
|
||||
xterm: 4.0.0
|
||||
|
||||
ffi: 2.1.3
|
||||
|
||||
dev_dependencies:
|
||||
lints: 5.0.0
|
||||
test: 1.25.8
|
||||
# Mocks at IO boundaries (daemon subprocess, socket). Null-safe,
|
||||
# no codegen. Hand-rolled fakes for ChangeNotifier-style services.
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: 6.0.0
|
||||
|
||||
integration_test:
|
||||
sdk: flutter
|
||||
|
||||
test: 1.30.0
|
||||
mocktail: 1.0.4
|
||||
alchemist: 0.12.1
|
||||
|
||||
flutter:
|
||||
uses-material-design: false
|
||||
|
||||
assets:
|
||||
- lib/kernel/src/theme/themes/
|
||||
- lib/kernel/src/i18n/catalog/
|
||||
- assets/licenses.yaml
|
||||
- assets/LICENSE
|
||||
- assets/fonts/jetbrains_mono/OFL.txt
|
||||
- assets/fonts/josefin_sans/OFL.txt
|
||||
- assets/fonts/phosphor/LICENSE
|
||||
- assets/logo/clide-logo.svg
|
||||
- assets/logo/clide-logo-16.png
|
||||
- assets/logo/clide-logo-32.png
|
||||
- assets/logo/clide-logo-48.png
|
||||
- assets/logo/clide-logo-192.png
|
||||
- assets/logo/clide-logo-256.png
|
||||
- assets/logo/clide-logo-512.png
|
||||
- assets/logo/clide-logo-1024.png
|
||||
- assets/grammars/
|
||||
- assets/queries/
|
||||
|
||||
fonts:
|
||||
- family: JosefinSans
|
||||
fonts:
|
||||
- asset: assets/fonts/josefin_sans/JosefinSans-VariableFont.ttf
|
||||
- asset: assets/fonts/josefin_sans/JosefinSans-Italic-VariableFont.ttf
|
||||
style: italic
|
||||
|
||||
- family: Phosphor
|
||||
fonts:
|
||||
- asset: assets/fonts/phosphor/Phosphor.ttf
|
||||
- asset: assets/fonts/phosphor/Phosphor-Bold.ttf
|
||||
weight: 700
|
||||
- asset: assets/fonts/phosphor/Phosphor-Fill.ttf
|
||||
|
||||
- family: JetBrainsMono
|
||||
fonts:
|
||||
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Regular.ttf
|
||||
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Italic.ttf
|
||||
style: italic
|
||||
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Bold.ttf
|
||||
weight: 700
|
||||
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-BoldItalic.ttf
|
||||
weight: 700
|
||||
style: italic
|
||||
|
||||
Reference in New Issue
Block a user