Clide is being rebuilt as a Flutter desktop app. The Python Textual implementation moves wholesale into legacy/ rather than being deleted: its pane model, panel set, git skills, and panel communication design are real thought that should remain readable next to the new code while the rebuild finds its shape. Git's rename tracking preserves history, so `git log -- legacy/` still works. The Flutter rebuild lives at the repo root alongside a Go sidecar (the architecture claudian was heading toward, which folds into clide as a core component rather than a separate plugin project). Bootstrap of the new shape lands in subsequent commits. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
66 lines
1.5 KiB
Python
66 lines
1.5 KiB
Python
"""Pydantic models for Clide."""
|
|
|
|
from clide.models.config import ClideSettings, PanelConfig
|
|
from clide.models.db import ConnectionLog, Project, Session, UserPreference
|
|
from clide.models.diff import ChangeType, DiffContent, DiffHunk, DiffLine, DiffViewState
|
|
from clide.models.editor import CursorPosition, EditorState, FileBuffer, Selection
|
|
from clide.models.git import (
|
|
ChangeStatus,
|
|
GitBranch,
|
|
GitChange,
|
|
GitCommit,
|
|
GitGraph,
|
|
GitStatus,
|
|
)
|
|
from clide.models.problems import Problem, ProblemsState, ProblemsSummary, Severity
|
|
from clide.models.theme import ThemeColors, ThemeDefinition, ThemeMetadata
|
|
from clide.models.todos import TodoItem, TodosState, TodosSummary, TodoType
|
|
from clide.models.workspace import TAB_ICONS, TabInfo, TabType
|
|
|
|
__all__ = [
|
|
# Config
|
|
"ClideSettings",
|
|
"PanelConfig",
|
|
# Git
|
|
"ChangeStatus",
|
|
"GitBranch",
|
|
"GitChange",
|
|
"GitCommit",
|
|
"GitGraph",
|
|
"GitStatus",
|
|
# Editor
|
|
"CursorPosition",
|
|
"EditorState",
|
|
"FileBuffer",
|
|
"Selection",
|
|
# Diff
|
|
"ChangeType",
|
|
"DiffContent",
|
|
"DiffHunk",
|
|
"DiffLine",
|
|
"DiffViewState",
|
|
# Problems
|
|
"Problem",
|
|
"ProblemsSummary",
|
|
"ProblemsState",
|
|
"Severity",
|
|
# Todos
|
|
"TodoItem",
|
|
"TodosSummary",
|
|
"TodosState",
|
|
"TodoType",
|
|
# Theme
|
|
"ThemeColors",
|
|
"ThemeDefinition",
|
|
"ThemeMetadata",
|
|
# Workspace
|
|
"TabInfo",
|
|
"TabType",
|
|
"TAB_ICONS",
|
|
# Database (SQLModel)
|
|
"Project",
|
|
"Session",
|
|
"UserPreference",
|
|
"ConnectionLog",
|
|
]
|