Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
authcfg
Package authcfg keeps the login token of each CXTHub server in ~/.cxt/auth.json, readable only by its owner.
|
Package authcfg keeps the login token of each CXTHub server in ~/.cxt/auth.json, readable only by its owner. |
|
backendclient
Package backendclient is the HTTP client cxt uses to call a CXTHub server's REST API.
|
Package backendclient is the HTTP client cxt uses to call a CXTHub server's REST API. |
|
capture
Package capture masks secrets in session content before cxt uploads it.
|
Package capture masks secrets in session content before cxt uploads it. |
|
chunkcas
Package chunkcas splits a conversation document into content-addressed chunks at the same byte offsets as the server.
|
Package chunkcas splits a conversation document into content-addressed chunks at the same byte offsets as the server. |
|
codec
Package codec converts Claude Code and Codex session files to and from CIR, cxt's tool-neutral conversation format (schemas/cir.schema.json).
|
Package codec converts Claude Code and Codex session files to and from CIR, cxt's tool-neutral conversation format (schemas/cir.schema.json). |
|
delivery
Package delivery holds the two entry points of cxt: the commands (package cli) and the handler of the agent tools' hooks (package hook).
|
Package delivery holds the two entry points of cxt: the commands (package cli) and the handler of the agent tools' hooks (package hook). |
|
delivery/cli
Package cli implements the cxt commands: it parses the arguments, prints the help and runs each command.
|
Package cli implements the cxt commands: it parses the arguments, prints the help and runs each command. |
|
delivery/hook
Package hook contains the handler of `cxt hook`, which the agent tools run at the events of a session.
|
Package hook contains the handler of `cxt hook`, which the agent tools run at the events of a session. |
|
gitctx
Package gitctx reads Git for cxt by running the git command: repository roots, branches, commits, the remote cxt follows and what was pushed to it.
|
Package gitctx reads Git for cxt by running the git command: repository roots, branches, commits, the remote cxt follows and what was pushed to it. |
|
githooks
Package githooks installs the Git hooks of cxt.
|
Package githooks installs the Git hooks of cxt. |
|
memory
Package memory writes the summaries cxt gives a session: the agent's own compaction summary in the conversation followed by what was said after it, else the tool's memory files followed by a digest of the conversation, else a digest of the conversation alone.
|
Package memory writes the summaries cxt gives a session: the agent's own compaction summary in the conversation followed by what was said after it, else the tool's memory files followed by a digest of the conversation, else a digest of the conversation alone. |
|
providerfs
Package providerfs finds the session and memory files of Claude Code and Codex, and reads and writes files under a repository's .cxt directory safely.
|
Package providerfs finds the session and memory files of Claude Code and Codex, and reads and writes files under a repository's .cxt directory safely. |
|
remotecfg
Package remotecfg keeps a repository's cxt remotes, like git remote, and its cxt config settings in .cxt/config.
|
Package remotecfg keeps a repository's cxt remotes, like git remote, and its cxt config settings in .cxt/config. |
|
secretscrypto
Package secretscrypto encrypts .cxtsecrets with a team passphrase, so that the server stores only ciphertext, and the web app can decrypt it with the same passphrase.
|
Package secretscrypto encrypts .cxtsecrets with a team passphrase, so that the server stores only ciphertext, and the web app can decrypt it with the same passphrase. |
|
selfupdate
Package selfupdate replaces the cxt program with a newer signed release.
|
Package selfupdate replaces the cxt program with a newer signed release. |
|
session
Package session writes a conversation as a new Claude Code or Codex session file, so that `cxt fork` can continue it in that tool.
|
Package session writes a conversation as a new Claude Code or Codex session file, so that `cxt fork` can continue it in that tool. |
|
sessionrecords
Package sessionrecords reads the session records coding agents keep on this computer and turns them into tool-neutral records.
|
Package sessionrecords reads the session records coding agents keep on this computer and turns them into tool-neutral records. |
|
storage
Package storage keeps the files cxt writes in the repository's .cxt directory, at the root of the working tree.
|
Package storage keeps the files cxt writes in the repository's .cxt directory, at the root of the working tree. |
|
Package app implements what each cxt command does, independent of how files are read or the server is reached.
|
Package app implements what each cxt command does, independent of how files are read or the server is reached. |
|
Package domain holds the rules of cxt that need no files, network or tool: sessions and their conversation documents, how a session is cut at the commits it made, branch IDs, summaries and what is uploaded.
|
Package domain holds the rules of cxt that need no files, network or tool: sessions and their conversation documents, how a session is cut at the commits it made, branch IDs, summaries and what is uploaded. |
|
ports
|
|
|
inbound
Package inbound declares the interfaces of the cxt commands that the command driver (package cli) calls and package app implements, with their inputs and outputs.
|
Package inbound declares the interfaces of the cxt commands that the command driver (package cli) calls and package app implements, with their inputs and outputs. |
|
outbound
Package outbound declares what package app needs from outside it: reading the agent tools' records and Git, keeping files under .cxt and calling the server.
|
Package outbound declares what package app needs from outside it: reading the agent tools' records and Git, keeping files under .cxt and calling the server. |
|
Package testutil finds the repository files that tests read, in both the monorepo and the exported CLI repository.
|
Package testutil finds the repository files that tests read, in both the monorepo and the exported CLI repository. |
Click to show internal directories.
Click to hide internal directories.