internal/

directory
v1.0.0-rc.8 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT

Directories

Path Synopsis
Package auth handles credential storage, site login, and chat-JWT minting.
Package auth handles credential storage, site login, and chat-JWT minting.
Package client maintains the NG Chat WebSocket session: mint → dial → authenticate → resolve channel → subscribe, plus the heartbeat the server requires and the reconnect/dedupe logic that makes the hourly JWT-expiry disconnect invisible to the UI.
Package client maintains the NG Chat WebSocket session: mint → dial → authenticate → resolve channel → subscribe, plus the heartbeat the server requires and the reconnect/dedupe logic that makes the hourly JWT-expiry disconnect invisible to the UI.
Package complete is the pure completion engine behind the composer's tab-triggered lists (mentions, commands, emotes, emoji).
Package complete is the pure completion engine behind the composer's tab-triggered lists (mentions, commands, emotes, emoji).
gen command
Command gen writes internal/complete/emotes_gen.go from the upstream ngchat checkout, invoked by the //go:generate directive at the top of internal/complete/complete.go.
Command gen writes internal/complete/emotes_gen.go from the upstream ngchat checkout, invoked by the //go:generate directive at the top of internal/complete/complete.go.
Package protocol hand-ports the NG Chat wire types from the server's Zod schemas (ngchat repo, src/shared/protocol).
Package protocol hand-ports the NG Chat wire types from the server's Zod schemas (ngchat repo, src/shared/protocol).
Package render converts NG Chat's server-rendered message HTML into ANSI-styled terminal text.
Package render converts NG Chat's server-rendered message HTML into ANSI-styled terminal text.
Package run is the one "prepare a run" step shared by cmd/ngchat and cmd/smoke: the environment both read, the site client with its routing cookie, the credential the jar is seeded with, the chat-URL check, and the client.Config that follows.
Package run is the one "prepare a run" step shared by cmd/ngchat and cmd/smoke: the environment both read, the site client with its routing cookie, the credential the jar is seeded with, the chat-URL check, and the client.Config that follows.
Package splash is the opening screen: a piece of pixel art and an Effect that draws it in over time, the way Omarchy plays one Terminal Text Effects run over its logo.
Package splash is the opening screen: a piece of pixel art and an Effect that draws it in over time, the way Omarchy plays one Terminal Text Effects run over its logo.
Package theme is the color vocabulary the UI draws with.
Package theme is the color vocabulary the UI draws with.
Package transcript is the chat log: rows appended in order, drawn on demand, and a reader position that survives every redraw.
Package transcript is the chat log: rows appended in order, drawn on demand, and a reader position that survives every redraw.
Package ui is the fullscreen Bubble Tea interface: status bar, message viewport, input line.
Package ui is the fullscreen Bubble Tea interface: status bar, message viewport, input line.

Jump to

Keyboard shortcuts

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