test / unit + widget + golden + a11y (push) Failing after 48s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped
test / dart doc (lib API) (push) Failing after 1m0s
Adds test/terminal/ui/ui_pure_test.dart — 39 unit tests covering the lib/src/terminal/src/ui/ files that don't need a Flutter widget harness. Files at 100%: - palette_builder.dart: 0/52 → 52/52 (named-colour mapping for indices 0..15, RGB cube walk for 16..231 with the 95-then-+40 step pattern, grayscale ramp 232..255, out-of-range clamp). - paragraph_cache.dart: 2/22 → 22/22 (LRU promotion on read, eviction at maxSize, miss returns null, clear empties). - terminal_text_style.dart: 7/19 → 19/19 (default ctor, fromTextStyle fontFamily fallback chain + size/height pass- through, toTextStyle attribute threading, copyWith with override + no-args clone). - input_map.dart: 8/20 → 20/20 (keyToTerminalKey hits + null on unmapped LogicalKeyboardKey id, charToTerminalKey case-fold + multi-char/unknown null). - terminal_size.dart: 4/8 → 8/8 (operator==/hashCode/toString, identity + type-mismatch branches). - pointer_input.dart: 1/3 → 3/3 (default ctor, .none(), .all()). - terminal_theme.dart: 1/1 unchanged. - char_metrics.dart: 0/10 → 10/10 (positive width/height, monotonic text-scaler scaling). - ui/controller.dart: 18/52 → 52/52 (TerminalController default state, setSelection + mode override, attached/detached anchor selection-getter behaviour, prior-anchor disposal on second setSelection, setSelectionMode no-op short-circuit, clearSelection, setPointerInputs / setSuspendPointerInput gating, highlight register/dispose lifecycle, TerminalHighlight.range null on detached anchors). Enums (selection_mode, cursor_type) and themes constants are covered transitively — they have no executable lines that lcov instruments. Coverage delta: - Total project: 67.06% → 68.80%; coverage_floor bumped 66 → 68. Co-Authored-By: Claude <noreply@anthropic.com>
107 lines
2.8 KiB
YAML
107 lines
2.8 KiB
YAML
# clide — IDE for Claude Code CLI.
|
|
#
|
|
# Single source of truth for project metadata and dependencies.
|
|
# The Flutter app hosts everything in-process (D-056); tmux owns
|
|
# session persistence (D-041).
|
|
#
|
|
# Prefer-zero-deps; every third-party entry is exact-pinned and
|
|
# justified. No carets. See D-031.
|
|
|
|
name: clide
|
|
description: >-
|
|
IDE for Claude Code CLI. One Dart package covering the UI,
|
|
subsystem handlers (pane, files, editor, git, pql), and the
|
|
extension framework.
|
|
publish_to: none
|
|
version: 2.0.0
|
|
repository: https://github.com/postmeridiem/clide
|
|
|
|
# Pre-push line-coverage floor. Ratchets up only — see D-66.
|
|
# Reading: `awk -F: '/^coverage_floor:/ {gsub(/ /,"",$2); print $2}' pubspec.yaml`.
|
|
coverage_floor: 68
|
|
|
|
# Project metadata (was project.yaml, folded in per D-056).
|
|
# version: above is the single source of truth. The Makefile reads
|
|
# it for build stamping. Cutting a release bumps version + changelog
|
|
# in one commit.
|
|
#
|
|
# maintainers:
|
|
# Jeroen Schweitzer <jpmschweitzer@gmail.com>
|
|
# license: MIT
|
|
# status: pre-v2.0, interaction model + panel system landed
|
|
# flutter_channel: stable
|
|
|
|
environment:
|
|
sdk: ">=3.5.0 <4.0.0"
|
|
flutter: ">=3.19.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
yaml: 3.1.3
|
|
|
|
ffi: 2.1.3
|
|
|
|
jovial_svg: 1.1.26
|
|
|
|
markdown: 7.2.2
|
|
|
|
flutter_widget_from_html_core: 0.17.2
|
|
|
|
dev_dependencies:
|
|
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/logo.svg
|
|
- assets/logo/logo-192.png
|
|
- assets/logo/appicon.svg
|
|
- assets/logo/appicon-256.png
|
|
- assets/clide.tmux.conf
|
|
- 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
|