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>
28 lines
729 B
Dart
28 lines
729 B
Dart
import 'package:clide/builtin/graph/src/graph_view.dart';
|
|
import 'package:clide/extension/extension.dart';
|
|
import 'package:clide/kernel/kernel.dart';
|
|
|
|
class GraphExtension extends ClideExtension {
|
|
@override
|
|
String get id => 'builtin.graph';
|
|
@override
|
|
String get title => 'Graph';
|
|
@override
|
|
String get version => '0.1.0';
|
|
@override
|
|
List<String> get dependsOn => const ['builtin.pql'];
|
|
|
|
@override
|
|
List<ContributionPoint> get contributions => [
|
|
TabContribution(
|
|
id: 'graph.view',
|
|
slot: Slots.contextPanel,
|
|
title: 'Graph',
|
|
titleKey: 'tab.graph',
|
|
i18nNamespace: id,
|
|
priority: -80,
|
|
build: (_) => const GraphView(),
|
|
),
|
|
];
|
|
}
|