Help us shape the future of Go! Take the 2026 Go Developer Survey

celeste

command
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 59 Imported by: 0

Documentation

Overview

Celeste CLI - Interactive AI Assistant with Bubble Tea TUI This file provides the new main entry point using Bubble Tea.

Directories

Path Synopsis
Package acp is celeste's Agent Client Protocol agent (2.0 W4): JSON-RPC 2.0 over newline-delimited JSON on stdio, for editors such as Zed.
Package acp is celeste's Agent Client Protocol agent (2.0 W4): JSON-RPC 2.0 over newline-delimited JSON on stdio, for editors such as Zed.
Package checkpoints keeps backups of the files celeste's write tools change, on disk per session, so a change can be undone later — also from another process (2.0 F4).
Package checkpoints keeps backups of the files celeste's write tools change, on disk per session, so a change can be undone later — also from another process (2.0 F4).
BM25 additive scoring on top of the MinHash codegraph.
BM25 additive scoring on top of the MinHash codegraph.
Package commands handles slash commands for Celeste CLI.
Package commands handles slash commands for Celeste CLI.
Package compact keeps a conversation inside the model's context window (#174).
Package compact keeps a conversation inside the model's context window (#174).
Package config provides configuration management for Celeste CLI.
Package config provides configuration management for Celeste CLI.
Package ctxmgr provides automatic context window management for Celeste CLI.
Package ctxmgr provides automatic context window management for Celeste CLI.
Package costs provides token cost tracking and pricing for LLM models.
Package costs provides token cost tracking and pricing for LLM models.
Package decide asks typed questions about a run (2.0 W3, #175): yes/no, score and choice.
Package decide asks typed questions about a run (2.0 W3, #175): yes/no, score and choice.
Package grimoire provides .grimoire project context file handling.
Package grimoire provides .grimoire project context file handling.
Package hooks loads, trusts and runs Celeste's lifecycle hooks (2.0 F0).
Package hooks loads, trusts and runs Celeste's lifecycle hooks (2.0 F0).
internal
atomicfile
Package atomicfile replaces a file so that a concurrent reader (another celeste process, a new lane's setup) sees either the old content or the new, never a half-written file, and a crash never leaves a truncated one.
Package atomicfile replaces a file so that a concurrent reader (another celeste process, a new lane's setup) sees either the old content or the new, never a half-written file, and a crash never leaves a truncated one.
clock
Package clock is celeste's one process-wide clock that never repeats.
Package clock is celeste's one process-wide clock that never repeats.
fakeprovider
Package fakeprovider serves scripted, streaming LLM provider responses from httptest so tests exercise the real llm backends end to end (2.0 F1).
Package fakeprovider serves scripted, streaming LLM provider responses from httptest so tests exercise the real llm backends end to end (2.0 F1).
filelock
Package filelock serializes a read-modify-write of a small shared file (the trust store) across celeste processes with an advisory lock on a sidecar file.
Package filelock serializes a read-modify-write of a small shared file (the trust store) across celeste processes with an advisory lock on a sidecar file.
gitsafe
Package gitsafe runs celeste's own git commands without the programs a repository's configuration can name.
Package gitsafe runs celeste's own git commands without the programs a repository's configuration can name.
gittest
Package gittest runs git in tests without ever touching a repository the test did not create: variables a parent git may export (git rebase -x exports GIT_DIR) are dropped, and the identity is passed per command, so no test writes user.name or user.email into any config.
Package gittest runs git in tests without ever touching a repository the test did not create: variables a parent git may export (git rebase -x exports GIT_DIR) are dropped, and the identity is passed per command, so no test writes user.name or user.email into any config.
hooktest
Package hooktest runs the test binary itself as a hook command, so hook tests behave the same under sh on Unix and cmd.exe on Windows (2.0 F0).
Package hooktest runs the test binary itself as a hook command, so hook tests behave the same under sh on Unix and cmd.exe on Windows (2.0 F0).
imagefit
Package imagefit makes an image fit a provider's limits (#239): it keeps an image that fits, else downscales and re-encodes it with the standard library, else says which limit it can't meet.
Package imagefit makes an image fit a provider's limits (#239): it keeps an image that fits, else downscales and re-encodes it with the standard library, else says which limit it can't meet.
imagefit/imagefittest
Package imagefittest builds test images: noise that PNG can't compress, so a small size in pixels is still large in bytes.
Package imagefittest builds test images: noise that PNG can't compress, so a small size in pixels is still large in bytes.
pathutil
Package pathutil compares file paths the way the filesystem does.
Package pathutil compares file paths the way the filesystem does.
privfs
Package privfs creates and tightens account-private files and directories: credentials, logs, transcripts and the rest of ~/.celeste.
Package privfs creates and tightens account-private files and directories: credentials, logs, transcripts and the rest of ~/.celeste.
proctree
Package proctree runs a command as the root of its own process tree and kills the whole tree: hooks and the shell tools share it, so a timeout takes down whatever the command started as well.
Package proctree runs a command as the root of its own process tree and kills the whole tree: hooks and the shell tools share it, so a timeout takes down whatever the command started as well.
realroot
Package realroot opens a directory as an os.Root without following a symlink anywhere on its path.
Package realroot opens a directory as an os.Root without following a symlink anywhere on its path.
sandbox
Package sandbox runs model-chosen shell commands under the operating system's sandbox (2.0 W4, #176): a seatbelt profile on macOS, bubblewrap on Linux.
Package sandbox runs model-chosen shell commands under the operating system's sandbox (2.0 W4, #176): a seatbelt profile on macOS, bubblewrap on Linux.
shellparse
Package shellparse reads a shell command line roughly as a shell would: quotes (including $'...' escapes and $"..."), a leading backslash, unquoted $IFS as a word break, operators, subshells, $( ) and backtick substitutions, and the strings run by sh -c, eval and ssh.
Package shellparse reads a shell command line roughly as a shell would: quotes (including $'...' escapes and $"..."), a leading backslash, unquoted $IFS as a word break, operators, subshells, $( ) and backtick substitutions, and the strings run by sh -c, eval and ssh.
shellrun
Package shellrun is the one runner for every sh -c command celeste starts: the bash tool (through builtin.RunShell, which checks the denylist first), user-authored custom tools and the agent's --verify-cmd; Args runs a program directly (the agent's artifact git calls).
Package shellrun is the one runner for every sh -c command celeste starts: the bash tool (through builtin.RunShell, which checks the denylist first), user-authored custom tools and the agent's --verify-cmd; Args runs a program directly (the agent's artifact git calls).
termsafe
Package termsafe is the one rule for showing untrusted text on a terminal: model output, tool results, workspace files and names, provider metadata and hook output.
Package termsafe is the one rule for showing untrusted text on a terminal: model output, tool results, workspace files and names, provider metadata and hook output.
textutil
Package textutil holds the byte-bounded text cut shared by everything that caps text on its way to a model or a user, so no cap can split a UTF-8 character.
Package textutil holds the byte-bounded text cut shared by everything that caps text on its way to a model or a user, so no cap can split a UTF-8 character.
Package jev is a minimal client for TypeSafe's System One API (Jev), used as an optional judge where celeste's own rules are a guess (#175).
Package jev is a minimal client for TypeSafe's System One API (Jev), used as an optional judge where celeste's own rules are a guess (#175).
Package llm provides the LLM client for Celeste CLI.
Package llm provides the LLM client for Celeste CLI.
Package loop is celeste's one tool loop (2.0 F2): every mode streams a request, runs the model's tool calls and feeds the results back through Loop.Run.
Package loop is celeste's one tool loop (2.0 F2): every mode streams a request, runs the model's tool calls and feeds the results back through Loop.Run.
Package memories implements a persistent memory system for project context.
Package memories implements a persistent memory system for project context.
Package monitor provides background wallet security monitoring daemon
Package monitor provides background wallet security monitoring daemon
Package orchestrator coordinates multiple agent runners and model routing.
Package orchestrator coordinates multiple agent runners and model routing.
cmd/celeste/permissions/checker.go
cmd/celeste/permissions/checker.go
Package prompts provides the Celeste persona prompt.
Package prompts provides the Celeste persona prompt.
personacrypt
Package personacrypt seals and opens Celeste's persona profiles (W5 rulings 2, 15, 16).
Package personacrypt seals and opens Celeste's persona profiles (W5 rulings 2, 15, 16).
personacrypt/personacrypttest
Package personacrypttest seals a synthetic persona under a public test key, so tests exercise decryption and realistic profile sizes without the real key or corpus (W5 ruling 19).
Package personacrypttest seals a synthetic persona under a public test key, so tests exercise decryption and realistic profile sizes without the real key or corpus (W5 ruling 19).
promptstest
Package promptstest installs the synthetic test persona for tests outside package prompts (W5 ruling 19): realistic profile sizes (full ~10.5k tokens, spine ~6k, lite ~3k) through the decrypt path, sealed under the public test key.
Package promptstest installs the synthetic test persona for tests outside package prompts (W5 ruling 19): realistic profile sizes (full ~10.5k tokens, spine ~6k, lite ~3k) through the decrypt path, sealed under the public test key.
Package providers handles LLM provider model listing and management.
Package providers handles LLM provider model listing and management.
Package rules holds celeste's stream rules (2.0 W3, #175): a regex condition on the model's streamed text or a tool call's arguments, and a reminder that joins the conversation only when the rule fires.
Package rules holds celeste's stream rules (2.0 W3, #175): a regex condition on the model's streamed text or a tool call's arguments, and a reminder that joins the conversation only when the rule fires.
Package selfupdate turns a `go install` build of celeste into the official release binary of the same version, and backs `celeste update` (W5 rulings 25–30).
Package selfupdate turns a `go install` build of celeste into the official release binary of the same version, and backs `celeste update` (W5 rulings 25–30).
selfupdatetest
Package selfupdatetest builds signed fake releases for the updater's tests (W5 rulings 26, 30): a generated OpenPGP key with a signing subkey, like the real release key, and the release archives.
Package selfupdatetest builds signed fake releases for the updater's tests (W5 rulings 26, 30): a generated OpenPGP key with a signing subkey, like the real release key, and the release archives.
Direct codegraph MCP tools.
Direct codegraph MCP tools.
Package steer is stream rules and the watchdog for one session (2.0 W3, #175): Session implements loop.Steering.
Package steer is stream rules and the watchdog for one session (2.0 W3, #175): Session implements loop.Steering.
Package subagents provides foreground and background subagent spawning for task delegation.
Package subagents provides foreground and background subagent spawning for task delegation.
Package tools provides the unified tool abstraction for Celeste CLI.
Package tools provides the unified tool abstraction for Celeste CLI.
builtin
Package builtin provides Alchemy blockchain API handler implementation
Package builtin provides Alchemy blockchain API handler implementation
mcp
cmd/celeste/tools/mcp/adapter.go
cmd/celeste/tools/mcp/adapter.go
tui
Package tui provides the Bubble Tea-based terminal UI for Celeste CLI.
Package tui provides the Bubble Tea-based terminal UI for Celeste CLI.
theme
Package theme exposes the canonical corrupted-theme color palette, embedded from colors.json.
Package theme exposes the canonical corrupted-theme color palette, embedded from colors.json.
Package venice provides Venice.ai API integration for media generation.
Package venice provides Venice.ai API integration for media generation.

Jump to

Keyboard shortcuts

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