Files
clide/app/lib/builtin/graph/src/extension.dart
T
jpmschweitzerandClaude Opus 4.6 8a94fd07a7 wire decisions, tickets, markdown viewer, and graph extensions
Four stub extensions now contribute real tabs with views:

- Decisions panel (sidebar, priority -20): lists confirmed D-records
  from pql decisions list with ID, title, and domain.
- Tickets panel (sidebar, priority -10): lists tickets with status
  dot color-coded by state (done=green, in_progress=blue,
  cancelled=red).
- Markdown viewer (context, priority -100): shows raw content of
  the active .md file, listens for editor.buffer_activated events.
- Graph view (context, priority -80): lists files with inbound and
  outbound link counts from pql search --connections.

All four fetch data via the daemon's pql.exec IPC surface.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 23:17:03 +02:00

28 lines
741 B
Dart

import 'package:clide_app/builtin/graph/src/graph_view.dart';
import 'package:clide_app/extension/extension.dart';
import 'package:clide_app/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(),
),
];
}