adds schema view and schema generating command

This commit is contained in:
2026-11-03 09:35:41 +01:00
parent cc41decccb
commit 600d4874d2
62 changed files with 4416 additions and 105 deletions
+21
View File
@@ -76,6 +76,10 @@ public enum Command: Equatable, Sendable {
case toggleGit
/// Esc with the Git view open and no overlay over it.
case closeGitView
/// ⌘D and the title bar's Schema button, in a Laravel app: opens or closes the full-screen Schema view.
case toggleSchemaView
/// Esc with nothing selected in the Schema view, and its Close button.
case closeSchemaView
/// ⌘1–⌘3 and the title-bar pane toggles: shows or hides one column.
case togglePane(Panel)
/// ⌘L
@@ -126,6 +130,23 @@ public enum Command: Equatable, Sendable {
/// ⌘C without a selection, outside a terminal: opens the Git view on its message field.
case focusCommitMessage
// MARK: Schema view
/// The Run button: `php artisan helder:schema`, then the dump is re-read.
case runSchemaDump
/// Closes the view and pastes the prompt that writes `HelderSchemaCommand.php` into the agent, unsent.
case generateSchemaCommand
case copySchemaPrompt
/// The detail panel's Pass on to Claude: `@schema:<table>` into the agent.
case passSchemaTable(String)
case copySchemaTableName(String)
/// The top bar's command path: closes the view and opens the command in the editor.
case openSchemaCommandFile
/// Esc with a table selected.
case clearSchemaSelection
/// Esc in the table search while it holds text.
case clearSchemaSearch
// MARK: Clean copy
/// The clean-copy popup's Copy and ⌘↩: copies its text and closes it.