diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-12 09:33:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-12 09:33:49 +0200 |
| commit | da160fbdfb30a55a4d617553baeb5b0a5a9d5fb8 (patch) | |
| tree | 8c8c184d3947211c82f10b198c7b366a01cd4780 /docs/custom-code-actions.md | |
| parent | cfd02d2874992f7e293d5098bd328a495825a8d4 (diff) | |
Rename hexai-lsp command to hexai-lsp-server
Amp-Thread-ID: https://ampcode.com/threads/T-019c50bc-2906-77db-a31e-0d553338d99b
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'docs/custom-code-actions.md')
| -rw-r--r-- | docs/custom-code-actions.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/custom-code-actions.md b/docs/custom-code-actions.md index 9f5b132..2da534f 100644 --- a/docs/custom-code-actions.md +++ b/docs/custom-code-actions.md @@ -1,6 +1,6 @@ # Custom Code Actions Design -This document proposes how Hexai can support user-defined code actions via the config file, and surface them in both hexai-lsp and hexai-tmux-action. +This document proposes how Hexai can support user-defined code actions via the config file, and surface them in both hexai-lsp-server and hexai-tmux-action. ## Goals @@ -65,7 +65,7 @@ Notes: ### Validation -Implement `func (a App) Validate() error` and call it on startup in hexai-lsp and hexai-tmux-action. Fail fast with a descriptive error if any rule is violated: +Implement `func (a App) Validate() error` and call it on startup in hexai-lsp-server and hexai-tmux-action. Fail fast with a descriptive error if any rule is violated: - Duplicate `id` among custom actions (case-insensitive): "config: duplicate custom action id: <id>" - Duplicate custom action `hotkey` (case-insensitive, non-empty): "config: duplicate custom action hotkey: <hotkey>" - `tmux.custom_menu_hotkey` collides with built-in tmux top-level hotkeys (`r,i,c,t,p,s`) or is not a single character: "config: invalid tmux.custom_menu_hotkey: <value>" @@ -76,7 +76,7 @@ Implement `func (a App) Validate() error` and call it on startup in hexai-lsp an - Invalid `scope` value: "config: custom action <id> has invalid scope: <value>" If validation fails: -- hexai-lsp: log the error and exit the server (do not serve requests). +- hexai-lsp-server: log the error and exit the server (do not serve requests). - hexai-tmux-action: print the error on stderr and exit non-zero. ## LSP Integration |
