Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cpass
command
Command cpass is the ClaudePass CLI: a secret manager for AI coding agents.
|
Command cpass is the ClaudePass CLI: a secret manager for AI coding agents. |
|
internal
|
|
|
atomicfile
Package atomicfile writes a file so a reader — including a crash and restart, not just a concurrent process — only ever sees the old content in full or the new content in full, never a partial write.
|
Package atomicfile writes a file so a reader — including a crash and restart, not just a concurrent process — only ever sees the old content in full or the new content in full, never a partial write. |
|
broker
Package broker resolves Handles into Secret values at the moment a command runs.
|
Package broker resolves Handles into Secret values at the moment a command runs. |
|
cli
Package cli implements the cpass command line.
|
Package cli implements the cpass command line. |
|
detect
Package detect finds Secret-shaped values in arbitrary text: known provider-key prefixes with an inferred Handle, generic PEM private-key blocks, and a entropy check over otherwise-unrecognised long tokens.
|
Package detect finds Secret-shaped values in arbitrary text: known provider-key prefixes with an inferred Handle, generic PEM private-key blocks, and a entropy check over otherwise-unrecognised long tokens. |
|
dotenv
Package dotenv parses dotenv-syntax files (the format `cpass import` reads): KEY=VALUE lines, an optional "export " prefix, single- and double-quoted values, and comments.
|
Package dotenv parses dotenv-syntax files (the format `cpass import` reads): KEY=VALUE lines, an optional "export " prefix, single- and double-quoted values, and comments. |
|
e2e/helper
command
Command helper is the child process e2e tests run under cpass.
|
Command helper is the child process e2e tests run under cpass. |
|
integrate
Package integrate holds the Agent instruction text shared by every integration target (Codex's AGENTS.md today; the Claude Code skill and the MCP server's own docs later) and the logic to write it into a delimited, idempotent section of a text file.
|
Package integrate holds the Agent instruction text shared by every integration target (Codex's AGENTS.md today; the Claude Code skill and the MCP server's own docs later) and the logic to write it into a delimited, idempotent section of a text file. |
|
lockfile
Package lockfile provides a simple, blocking exclusive lock on a sidecar file, used to serialize the whole read-modify-write cycle around one of ClaudePass's on-disk stores (the Vault, the Global Manifest) across concurrent `cpass` processes.
|
Package lockfile provides a simple, blocking exclusive lock on a sidecar file, used to serialize the whole read-modify-write cycle around one of ClaudePass's on-disk stores (the Vault, the Global Manifest) across concurrent `cpass` processes. |
|
manifest
Package manifest reads and writes the committed, per-project declaration of which Handles a project needs and their Bindings.
|
Package manifest reads and writes the committed, per-project declaration of which Handles a project needs and their Bindings. |
|
mcp
Package mcp implements the ClaudePass MCP server: a minimal, hand-written JSON-RPC 2.0 server that speaks the Model Context Protocol over stdio, so a tool-first Agent without a shell can still go through the Broker.
|
Package mcp implements the ClaudePass MCP server: a minimal, hand-written JSON-RPC 2.0 server that speaks the Model Context Protocol over stdio, so a tool-first Agent without a shell can still go through the Broker. |
|
policy
Package policy statically refuses the well-known ways a command an Agent wants to run would reveal a bound Secret or read a Secret-bearing file directly, modeling real shell syntax as far as that stays precise, and fails closed — refuses, not silently runs unchecked — on a shell-invocation shape it cannot parse (see docs/adr/0013).
|
Package policy statically refuses the well-known ways a command an Agent wants to run would reveal a bound Secret or read a Secret-bearing file directly, modeling real shell syntax as far as that stays precise, and fails closed — refuses, not silently runs unchecked — on a shell-invocation shape it cannot parse (see docs/adr/0013). |
|
redact
Package redact replaces Secret values, in every recognisable encoding, with a marker in a byte stream before that stream can reach an Agent.
|
Package redact replaces Secret values, in every recognisable encoding, with a marker in a byte stream before that stream can reach an Agent. |
|
run
Package run executes a command with Secrets injected by the Broker.
|
Package run executes a command with Secrets injected by the Broker. |
|
vault
Package vault implements the encrypted local store where Secrets live.
|
Package vault implements the encrypted local store where Secrets live. |
|
plugins
|
|
|
claude-code
Package pluginfiles embeds the Claude Code plugin's static files — .claude-plugin/plugin.json, hooks/hooks.json, skills/claudepass/SKILL.md — into the cpass binary, so `cpass integrate claude` can materialise them on disk regardless of how cpass itself was installed (a source checkout is not assumed to exist next to the binary).
|
Package pluginfiles embeds the Claude Code plugin's static files — .claude-plugin/plugin.json, hooks/hooks.json, skills/claudepass/SKILL.md — into the cpass binary, so `cpass integrate claude` can materialise them on disk regardless of how cpass itself was installed (a source checkout is not assumed to exist next to the binary). |
Click to show internal directories.
Click to hide internal directories.
