cmd/

directory
v0.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: MIT

Directories

Path Synopsis
Package main is the glyph CLI entry point.
Package main is the glyph CLI entry point.
Command nook is a terminal-native AI IDE built from glyph components.
Command nook is a terminal-native AI IDE built from glyph components.
internal/ai
Package ai drives the AI wedges in nook by spawning the user's existing Claude Code CLI as a subprocess.
Package ai drives the AI wedges in nook by spawning the user's existing Claude Code CLI as a subprocess.
internal/aihistory
Package aihistory keeps a small per-file conversation buffer for the composer wedge.
Package aihistory keeps a small per-file conversation buffer for the composer wedge.
internal/airules
Package airules loads repo-level AI instructions from a conventional dotfile at the workspace root.
Package airules loads repo-level AI instructions from a conventional dotfile at the workspace root.
internal/breakpoints
Package breakpoints stores per-file breakpoint state — a set of 0-based line indices keyed by absolute file path.
Package breakpoints stores per-file breakpoint state — a set of 0-based line indices keyed by absolute file path.
internal/bufman
Package bufman owns the open-buffer collection.
Package bufman owns the open-buffer collection.
internal/callhierarchy
Package callhierarchy maps LSP call-hierarchy results into multibuffer fragments for the overlay pane.
Package callhierarchy maps LSP call-hierarchy results into multibuffer fragments for the overlay pane.
internal/clip
Package clip is nook's minimal clipboard.
Package clip is nook's minimal clipboard.
internal/codeaction
Package codeaction renders nook's LSP code-action picker — a small bordered menu listing the actions the language server proposed at the cursor.
Package codeaction renders nook's LSP code-action picker — a small bordered menu listing the actions the language server proposed at the cursor.
internal/complete
Package complete renders nook's LSP completion popup — a small menu that lists labeled completion items, lets the user move through them with the arrow keys, and surfaces the chosen item on Enter.
Package complete renders nook's LSP completion popup — a small menu that lists labeled completion items, lets the user move through them with the arrow keys, and surfaces the chosen item on Enter.
internal/completedoc
Package completedoc renders nook's LSP completion documentation side-panel — a small bordered box that sits beside the completion popup and shows the resolved documentation for whichever item is highlighted.
Package completedoc renders nook's LSP completion documentation side-panel — a small bordered box that sits beside the completion popup and shows the resolved documentation for whichever item is highlighted.
internal/composer
Package composer is the multi-file Cursor-Composer-style side panel.
Package composer is the multi-file Cursor-Composer-style side panel.
internal/config
Package config loads nook's user configuration from ~/.config/nook/config.toml.
Package config loads nook's user configuration from ~/.config/nook/config.toml.
internal/configwatch
Package configwatch polls a single file path for content changes and emits a tea.Msg every poll.
Package configwatch polls a single file path for content changes and emits a tea.Msg every poll.
internal/dap
Package dap drives a debug-adapter subprocess (delve via `dlv dap` by default) over stdio using the Debug Adapter Protocol.
Package dap drives a debug-adapter subprocess (delve via `dlv dap` by default) over stdio using the Debug Adapter Protocol.
internal/diagnostics
Package diagnostics renders nook's workspace-wide problems panel.
Package diagnostics renders nook's workspace-wide problems panel.
internal/dochi
Package dochi turns LSP textDocument/documentHighlight responses into a shape the editor can paint without re-importing the protocol package.
Package dochi turns LSP textDocument/documentHighlight responses into a shape the editor can paint without re-importing the protocol package.
internal/edit
Package edit implements Cmd-K-style inline AI edits.
Package edit implements Cmd-K-style inline AI edits.
internal/editor
Package editor is nook's minimal file viewer/editor pane.
Package editor is nook's minimal file viewer/editor pane.
internal/filetree
Package filetree is nook's left-side file-tree pane.
Package filetree is nook's left-side file-tree pane.
internal/finder
Package finder is nook's in-file find/replace overlay.
Package finder is nook's in-file find/replace overlay.
internal/findrefs
Package findrefs maps LSP textDocument/references results into a multibuffer fragment list.
Package findrefs maps LSP textDocument/references results into a multibuffer fragment list.
internal/ghost
Package ghost owns nook's inline autocomplete state: idle-trigger debouncing, AI request lifecycle, and the rendered "ghost" text that floats after the cursor until accepted or dismissed.
Package ghost owns nook's inline autocomplete state: idle-trigger debouncing, AI request lifecycle, and the rendered "ghost" text that floats after the cursor until accepted or dismissed.
internal/git
Package git wraps the local git CLI for nook's git pane.
Package git wraps the local git CLI for nook's git pane.
internal/gitgutter
Package gitgutter computes per-line diff markers (added / modified / deleted) for a file by shelling out to `git diff` against the index.
Package gitgutter computes per-line diff markers (added / modified / deleted) for a file by shelling out to `git diff` against the index.
internal/help
Package help renders nook's full-keymap overlay.
Package help renders nook's full-keymap overlay.
internal/highlight
Package highlight tokenizes source files into per-row styled spans for the editor pane.
Package highlight tokenizes source files into per-row styled spans for the editor pane.
internal/hover
Package hover renders nook's LSP hover overlay — a small rounded-border box that displays whatever the language server returned for the symbol under the cursor.
Package hover renders nook's LSP hover overlay — a small rounded-border box that displays whatever the language server returned for the symbol under the cursor.
internal/inlayhint
Package inlayhint defines the on-the-wire representation of LSP inlay hints and the message types the host uses to ferry hint results to the editor pane.
Package inlayhint defines the on-the-wire representation of LSP inlay hints and the message types the host uses to ferry hint results to the editor pane.
internal/inlineblame
Package inlineblame computes per-line git blame for a file by shelling out to `git blame --porcelain`.
Package inlineblame computes per-line git blame for a file by shelling out to `git blame --porcelain`.
internal/lookup
Package lookup turns LSP textDocument lookups (hover, definition) into async tea.Cmd factories.
Package lookup turns LSP textDocument lookups (hover, definition) into async tea.Cmd factories.
internal/lsp
Package lsp drives a language-server subprocess (gopls by default) over stdio and surfaces textDocument/publishDiagnostics notifications as events the host can render.
Package lsp drives a language-server subprocess (gopls by default) over stdio and surfaces textDocument/publishDiagnostics notifications as events the host can render.
internal/mdpreview
Package mdpreview is the nook side of the markdown preview pane.
Package mdpreview is the nook side of the markdown preview pane.
internal/multibuffer
Package multibuffer renders fragments stitched from multiple files into one scrollable surface.
Package multibuffer renders fragments stitched from multiple files into one scrollable surface.
internal/navhistory
Package navhistory implements a vim-style jump list for nook.
Package navhistory implements a vim-style jump list for nook.
internal/outline
Package outline is the single-file document-symbol modal that nook opens on Ctrl+\.
Package outline is the single-file document-symbol modal that nook opens on Ctrl+\.
internal/picker
Package picker is a fuzzy-filtered selection overlay for nook.
Package picker is a fuzzy-filtered selection overlay for nook.
internal/rename
Package rename renders nook's symbol-rename prompt — a small modal that asks for the new identifier name and emits the value back to the host on Enter.
Package rename renders nook's symbol-rename prompt — a small modal that asks for the new identifier name and emits the value back to the host on Enter.
internal/search
Package search runs ripgrep as a subprocess and streams matches back to the host model.
Package search runs ripgrep as a subprocess and streams matches back to the host model.
internal/semtok
Package semtok decodes LSP textDocument/semanticTokens/full responses.
Package semtok decodes LSP textDocument/semanticTokens/full responses.
internal/signature
Package signature renders nook's LSP signature-help overlay: a small floating box that shows the call signature of the function the cursor is inside, with the parameter that would receive the next argument highlighted.
Package signature renders nook's LSP signature-help overlay: a small floating box that shows the call signature of the function the cursor is inside, with the parameter that would receive the next argument highlighted.
internal/snippets
Package snippets is nook's VSCode-compatible snippet engine.
Package snippets is nook's VSCode-compatible snippet engine.
internal/symbolsearch
Package symbolsearch maps LSP workspace/symbol results into a multibuffer fragment list.
Package symbolsearch maps LSP workspace/symbol results into a multibuffer fragment list.
internal/tabbar
Package tabbar renders the open-buffer strip above the editor surface.
Package tabbar renders the open-buffer strip above the editor surface.
internal/tasks
Package tasks owns nook's project-task surface: the TOML loader at `.nook/tasks.toml`, the default task set inferred from a Go project's go.mod, the process supervisor that streams a running task's stdout and stderr into Bubble Tea messages, and the overlay pane that lets a user pick a task, watch its output, and kill it.
Package tasks owns nook's project-task surface: the TOML loader at `.nook/tasks.toml`, the default task set inferred from a Go project's go.mod, the process supervisor that streams a running task's stdout and stderr into Bubble Tea messages, and the overlay pane that lets a user pick a task, watch its output, and kill it.
internal/term
Package term embeds a PTY-backed shell pane inside nook.
Package term embeds a PTY-backed shell pane inside nook.
internal/welcome
Package welcome renders nook's first-run / empty-editor surface.
Package welcome renders nook's first-run / empty-editor surface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL