internal/

directory
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package api is the HTTP adapter for Waniis's public /v1 API: base URL, bearer and workspace headers, timeouts, retries, idempotency keys and error mapping to exit codes.
Package api is the HTTP adapter for Waniis's public /v1 API: base URL, bearer and workspace headers, timeouts, retries, idempotency keys and error mapping to exit codes.
Package auth holds the CLI's credentials: where they are kept (OS keychain, with a 0600 file as the fallback), how the bearer token is chosen for a request, and the device login flow.
Package auth holds the CLI's credentials: where they are kept (OS keychain, with a 0600 file as the fallback), how the bearer token is chosen for a request, and the device login flow.
Package chart reads the ```chart blocks that Waniis writes into its answers (DEC-156) and draws them for a terminal: always a table, and, on a wide enough terminal, a bar or line plot.
Package chart reads the ```chart blocks that Waniis writes into its answers (DEC-156) and draws them for a terminal: always a table, and, on a wide enough terminal, a bar or line plot.
Package chat is the terminal side of the interactive mode: the slash-command table and its menu, a small line editor with key decoding, and a console that keeps the input line intact while session events print above it.
Package chat is the terminal side of the interactive mode: the slash-command table and its menu, a small line editor with key decoding, and a console that keeps the input line intact while session events print above it.
Package commands holds the Cobra commands.
Package commands holds the Cobra commands.
Package config resolves where the CLI talks to and which workspace it acts in.
Package config resolves where the CLI talks to and which workspace it acts in.
Package exitcode holds the CLI's stable exit codes (CLT-15/FR-17) and the typed error that carries one, so every layer can say what went wrong without knowing how the process exits.
Package exitcode holds the CLI's stable exit codes (CLT-15/FR-17) and the typed error that carries one, so every layer can say what went wrong without knowing how the process exits.
Package export writes tabular data as CSV (RFC 4180, guarded against formula injection) or XLSX.
Package export writes tabular data as CSV (RFC 4180, guarded against formula injection) or XLSX.
Package mark draws the Waniis mark (the W, its loop and the dot) turning in 3D, in Braille characters, for a terminal's status line.
Package mark draws the Waniis mark (the W, its loop and the dot) turning in 3D, in Braille characters, for a terminal's status line.
Package output renders results: aligned tables for people, JSON for machines.
Package output renders results: aligned tables for people, JSON for machines.
Package render turns session events into readable terminal lines: one event becomes one or a few lines, streamed agent text is joined, and charts and tables in answers are drawn.
Package render turns session events into readable terminal lines: one event becomes one or a few lines, streamed agent text is joined, and charts and tables in answers are drawn.
Package sessionstate folds a session's events into what a person asks about: is a run going, what is queued, how did the last one end, which pull requests exist, what waits for a person.
Package sessionstate folds a session's events into what a person asks about: is a run going, what is queued, how did the last one end, which pull requests exist, what waits for a person.
Package stream follows a session's events live: the WebSocket with the bearer token, resumed from the last sequence number after a drop, with a fall back to polling the events endpoint when WebSockets are blocked.
Package stream follows a session's events live: the WebSocket with the bearer token, resumed from the last sequence number after a drop, with a fall back to polling the events endpoint when WebSockets are blocked.
Package style holds the terminal's colors and aligned tables.
Package style holds the terminal's colors and aligned tables.
Package termtest is a tiny terminal emulator for tests: it plays the bytes the chat writes (carriage returns, newlines, cursor up and right, clearing, colors) onto a screen of rows, so a test can assert what a person would see, and where the cursor is.
Package termtest is a tiny terminal emulator for tests: it plays the bytes the chat writes (carriage returns, newlines, cursor up and right, clearing, colors) onto a screen of rows, so a test can assert what a person would see, and where the cursor is.
Package upgrade finds the newest waniis release on GitHub and installs it: through Homebrew when Homebrew installed this copy, otherwise by downloading the archive for this system, checking it against the release's checksums.txt and replacing the running binary.
Package upgrade finds the newest waniis release on GitHub and installs it: through Homebrew when Homebrew installed this copy, otherwise by downloading the archive for this system, checking it against the release's checksums.txt and replacing the running binary.

Jump to

Keyboard shortcuts

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