Directories
¶
| Path | Synopsis |
|---|---|
|
Celeste CLI - Interactive AI Assistant with Bubble Tea TUI This file provides the new main entry point using Bubble Tea.
|
Celeste CLI - Interactive AI Assistant with Bubble Tea TUI This file provides the new main entry point using Bubble Tea. |
|
acp
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. |
|
checkpoints
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). |
|
codegraph
BM25 additive scoring on top of the MinHash codegraph.
|
BM25 additive scoring on top of the MinHash codegraph. |
|
commands
Package commands handles slash commands for Celeste CLI.
|
Package commands handles slash commands for Celeste CLI. |
|
compact
Package compact keeps a conversation inside the model's context window (#174).
|
Package compact keeps a conversation inside the model's context window (#174). |
|
config
Package config provides configuration management for Celeste CLI.
|
Package config provides configuration management for Celeste CLI. |
|
context
Package ctxmgr provides automatic context window management for Celeste CLI.
|
Package ctxmgr provides automatic context window management for Celeste CLI. |
|
costs
Package costs provides token cost tracking and pricing for LLM models.
|
Package costs provides token cost tracking and pricing for LLM models. |
|
decide
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. |
|
grimoire
Package grimoire provides .grimoire project context file handling.
|
Package grimoire provides .grimoire project context file handling. |
|
hooks
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. |
|
internal/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. |
|
internal/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). |
|
internal/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. |
|
internal/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. |
|
internal/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. |
|
internal/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). |
|
internal/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. |
|
internal/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. |
|
internal/pathutil
Package pathutil compares file paths the way the filesystem does.
|
Package pathutil compares file paths the way the filesystem does. |
|
internal/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. |
|
internal/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. |
|
internal/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. |
|
internal/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. |
|
internal/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. |
|
internal/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). |
|
internal/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. |
|
internal/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. |
|
jev
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). |
|
llm
Package llm provides the LLM client for Celeste CLI.
|
Package llm provides the LLM client for Celeste CLI. |
|
loop
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. |
|
memories
Package memories implements a persistent memory system for project context.
|
Package memories implements a persistent memory system for project context. |
|
monitor
Package monitor provides background wallet security monitoring daemon
|
Package monitor provides background wallet security monitoring daemon |
|
orchestrator
Package orchestrator coordinates multiple agent runners and model routing.
|
Package orchestrator coordinates multiple agent runners and model routing. |
|
permissions
cmd/celeste/permissions/checker.go
|
cmd/celeste/permissions/checker.go |
|
prompts
Package prompts provides the Celeste persona prompt.
|
Package prompts provides the Celeste persona prompt. |
|
prompts/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). |
|
prompts/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). |
|
prompts/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. |
|
providers
Package providers handles LLM provider model listing and management.
|
Package providers handles LLM provider model listing and management. |
|
rules
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. |
|
selfupdate
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). |
|
selfupdate/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. |
|
server
Direct codegraph MCP tools.
|
Direct codegraph MCP tools. |
|
steer
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. |
|
subagents
Package subagents provides foreground and background subagent spawning for task delegation.
|
Package subagents provides foreground and background subagent spawning for task delegation. |
|
tools
Package tools provides the unified tool abstraction for Celeste CLI.
|
Package tools provides the unified tool abstraction for Celeste CLI. |
|
tools/builtin
Package builtin provides Alchemy blockchain API handler implementation
|
Package builtin provides Alchemy blockchain API handler implementation |
|
tools/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. |
|
tui/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. |
|
venice
Package venice provides Venice.ai API integration for media generation.
|
Package venice provides Venice.ai API integration for media generation. |
|
celeste-bench-bm25: throwaway benchmark tool for Task 20 BM25 A/B. Builds a fresh codegraph over a target directory and runs the 5 SPEC §5.1 benchmark queries through SemanticSearchWithOptions, writing results in the same format used by prior ab_test_TASK*.txt archives.
|
celeste-bench-bm25: throwaway benchmark tool for Task 20 BM25 A/B. Builds a fresh codegraph over a target directory and runs the 5 SPEC §5.1 benchmark queries through SemanticSearchWithOptions, writing results in the same format used by prior ab_test_TASK*.txt archives. |
Click to show internal directories.
Click to hide internal directories.