Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
rexec
command
Command rexec is the remote-exec controller CLI that Claude Code drives: enroll with an agent, ask its identity, and run or deploy commands over the secure mTLS channel.
|
Command rexec is the remote-exec controller CLI that Claude Code drives: enroll with an agent, ask its identity, and run or deploy commands over the secure mTLS channel. |
|
rexec-agentd
command
Command rexec-agentd is the remote-exec agent daemon: it manages the agent CA and join tokens, terminates mTLS, serves the rexec.v1.Agent gRPC API, and enforces the destructive-op policy.
|
Command rexec-agentd is the remote-exec agent daemon: it manages the agent CA and join tokens, terminates mTLS, serves the rexec.v1.Agent gRPC API, and enforces the destructive-op policy. |
|
rexec-agentd/internal/app
Package app holds the remote-exec configuration and construction.
|
Package app holds the remote-exec configuration and construction. |
|
rexec-agentd/internal/db
Package db opens the agent's local SQLite store (pure-Go modernc driver).
|
Package db opens the agent's local SQLite store (pure-Go modernc driver). |
|
rexec-agentd/internal/platform
Package platform aggregates the agent's shared infrastructure (currently the SQLite store), constructed at startup and closed on shutdown.
|
Package platform aggregates the agent's shared infrastructure (currently the SQLite store), constructed at startup and closed on shutdown. |
|
rexec/internal/app
Package app holds the rexec configuration and construction.
|
Package app holds the rexec configuration and construction. |
|
internal
|
|
|
agentserver
Package agentserver implements the rexec.v1.Agent gRPC service on top of the enrollment service and the agent's identity.
|
Package agentserver implements the rexec.v1.Agent gRPC service on top of the enrollment service and the agent's identity. |
|
authz
Package authz enforces the destructive-op gate: it reads the caller's role from the client certificate's Subject Organization (O=) and authorizes each gRPC method against a per-method minimum-role table.
|
Package authz enforces the destructive-op gate: it reads the caller's role from the client certificate's Subject Organization (O=) and authorizes each gRPC method against a per-method minimum-role table. |
|
clientconfig
Package clientconfig models the talosconfig-style controller credential — the agent CA, the controller's client cert+key, target endpoints, and the pinned agent identity — persisted to ~/.rexec/config.yaml and turned into an mTLS dialing config.
|
Package clientconfig models the talosconfig-style controller credential — the agent CA, the controller's client cert+key, target endpoints, and the pinned agent identity — persisted to ~/.rexec/config.yaml and turned into an mTLS dialing config. |
|
enroll
Package enroll implements the token-bootstrapped controller enrollment flow.
|
Package enroll implements the token-bootstrapped controller enrollment flow. |
|
execute
Package execute runs a command and streams its stdout/stderr live through an emit callback, returning the process exit code.
|
Package execute runs a command and streams its stdout/stderr live through an emit callback, returning the process exit code. |
|
identity
Package identity derives a stable per-agent identifier.
|
Package identity derives a stable per-agent identifier. |
|
pki
Package pki mints and manages the remote-exec agent certificate authority: an Ed25519 CA that signs short-lived client and server leaf certificates from CSRs, plus helpers to generate CSRs and fingerprint certificates.
|
Package pki mints and manages the remote-exec agent certificate authority: an Ed25519 CA that signs short-lived client and server leaf certificates from CSRs, plus helpers to generate CSRs and fingerprint certificates. |
|
policy
Package policy is the agent-side half of the destructive-op gate.
|
Package policy is the agent-side half of the destructive-op gate. |
|
token
Package token issues and consumes short-lived, single-use join tokens that bootstrap controller enrollment (the Talos trustd pattern).
|
Package token issues and consumes short-lived, single-use join tokens that bootstrap controller enrollment (the Talos trustd pattern). |
|
transport
Package transport wires the Agent gRPC service onto mTLS.
|
Package transport wires the Agent gRPC service onto mTLS. |
Click to show internal directories.
Click to hide internal directories.