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>
38 lines
1.0 KiB
Dart
38 lines
1.0 KiB
Dart
import 'package:clide/builtin/pql/src/backlinks_view.dart';
|
|
import 'package:clide/builtin/pql/src/pql_panel_view.dart';
|
|
import 'package:clide/extension/extension.dart';
|
|
import 'package:clide/kernel/kernel.dart';
|
|
|
|
class PqlExtension extends ClideExtension {
|
|
@override
|
|
String get id => 'builtin.pql';
|
|
@override
|
|
String get title => 'pql';
|
|
@override
|
|
String get version => '0.1.0';
|
|
@override
|
|
List<String> get dependsOn => const [];
|
|
|
|
@override
|
|
List<ContributionPoint> get contributions => [
|
|
TabContribution(
|
|
id: 'pql.panel',
|
|
slot: Slots.sidebar,
|
|
title: 'pql',
|
|
titleKey: 'tab.title',
|
|
i18nNamespace: id,
|
|
priority: -60,
|
|
build: (_) => const PqlPanelView(),
|
|
),
|
|
TabContribution(
|
|
id: 'pql.backlinks',
|
|
slot: Slots.contextPanel,
|
|
title: 'Links',
|
|
titleKey: 'tab.links',
|
|
i18nNamespace: id,
|
|
priority: -80,
|
|
build: (_) => const BacklinksView(),
|
|
),
|
|
];
|
|
}
|