Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
claudewheel
command
Command claudewheel launches Claude Code with a chosen profile, version, model, and session, and manages the profiles, sessions, guardrails, and probes behind those launches.
|
Command claudewheel launches Claude Code with a chosen profile, version, model, and session, and manages the profiles, sessions, guardrails, and probes behind those launches. |
|
internal
|
|
|
appconfig
Package appconfig owns claudewheel's own files at the workspace root: config.json, segments.json, options.json, state.json, and the theme files, plus the defaults a new workspace starts with.
|
Package appconfig owns claudewheel's own files at the workspace root: config.json, segments.json, options.json, state.json, and the theme files, plus the defaults a new workspace starts with. |
|
archiver
Package archiver delegates profile deletion to saferm, so a deleted profile can be restored: saferm archives the directory and then removes it, and the handle it reports restores it with one `saferm undelete`.
|
Package archiver delegates profile deletion to saferm, so a deleted profile can be restored: saferm archives the directory and then removes it, and the handle it reports restores it with one `saferm undelete`. |
|
auth
Package auth validates OAuth tokens against the Anthropic API and extracts them from captured terminal output.
|
Package auth validates OAuth tokens against the Anthropic API and extracts them from captured terminal output. |
|
cli
Package cli builds the claudewheel command-line application: one file per command group, each adding its commands to the app NewApp builds.
|
Package cli builds the claudewheel command-line application: one file per command group, each adding its commands to the app NewApp builds. |
|
discover
Package discover finds the options each segment of the launch bar offers: installed and published Claude Code versions, the models the Anthropic API serves, profiles, GitHub accounts, project directories, and values kept in state.json.
|
Package discover finds the options each segment of the launch bar offers: installed and published Claude Code versions, the models the Anthropic API serves, profiles, GitHub accounts, project directories, and values kept in state.json. |
|
effects
Package effects is the one place claudewheel changes the world: every subprocess, filesystem mutation, signal, process replacement, and network request made by the rest of the module goes through an explicit *FX.
|
Package effects is the one place claudewheel changes the world: every subprocess, filesystem mutation, signal, process replacement, and network request made by the rest of the module goes through an explicit *FX. |
|
guardrail
Package guardrail is the canonical guardrail model: which commands are hard-denied, which escalate to the user when a subagent tries them, which merely advise, and which prompt through settings; the allow entries that conflict with them; the tools stripped from every launched session; the hook wiring every profile carries; the bash sources of the blocker and advise hooks; and the canonical settings trees derived from all of it.
|
Package guardrail is the canonical guardrail model: which commands are hard-denied, which escalate to the user when a subagent tries them, which merely advise, and which prompt through settings; the allow entries that conflict with them; the tools stripped from every launched session; the hook wiring every profile carries; the bash sources of the blocker and advise hooks; and the canonical settings trees derived from all of it. |
|
guardrail/gendocs
command
Command gendocs rewrites the tables the guardrails documentation page generates from the guardrail model.
|
Command gendocs rewrites the tables the guardrails documentation page generates from the guardrail model. |
|
health
Package health runs the diagnostic checks of `claudewheel health` and of the launch: /tmp usage, the profiles' shared-store links, hook wiring, settings defaults, permission and hook drift against the canonical guardrail model and shared-settings.json, deployed hook script drift, relocated hook paths, the probe runner's service, stored tokens and their expiry, auth shadowing, orphan profile directories, file permissions, and directory renames recorded in the inode map.
|
Package health runs the diagnostic checks of `claudewheel health` and of the launch: /tmp usage, the profiles' shared-store links, hook wiring, settings defaults, permission and hook drift against the canonical guardrail model and shared-settings.json, deployed hook script drift, relocated hook paths, the probe runner's service, stored tokens and their expiry, auth shadowing, orphan profile directories, file permissions, and directory renames recorded in the inode map. |
|
hookscripts
Package hookscripts is the registry of the scripts claudewheel deploys into its scripts directory: the hook scripts Claude Code runs (the blocker and advise hooks generated from the guardrail model), the heavy wrapper, and the claudewheel-tool-scope shell prefix.
|
Package hookscripts is the registry of the scripts claudewheel deploys into its scripts directory: the hook scripts Claude Code runs (the blocker and advise hooks generated from the guardrail model), the heavy wrapper, and the claudewheel-tool-scope shell prefix. |
|
install
Package install downloads, verifies, and installs Claude Code binaries from Google Cloud Storage into ~/.local/share/claude/versions/<version>, locates the installed binaries and the active claude link, uninstalls a version (never the active one), and orders version names.
|
Package install downloads, verifies, and installs Claude Code binaries from Google Cloud Storage into ~/.local/share/claude/versions/<version>, locates the installed binaries and the active claude link, uninstalls a version (never the active one), and orders version names. |
|
jsonfile
Package jsonfile reads and writes JSON the way claudewheel's Python implementation did.
|
Package jsonfile reads and writes JSON the way claudewheel's Python implementation did. |
|
launch
Package launch starts a Claude Code session, or another client's: it takes the session choice and the segment values given on the command line, shows the launch bar unless they settle every required segment, then runs the health check, the user's pre-launch hooks, and the preflight steps, records the launch, builds the client's argv and environment, and replaces this process with the client started in the session's systemd units.
|
Package launch starts a Claude Code session, or another client's: it takes the session choice and the segment values given on the command line, shows the launch bar unless they settle every required segment, then runs the health check, the user's pre-launch hooks, and the preflight steps, records the launch, builds the client's argv and environment, and replaces this process with the client started in the session's systemd units. |
|
lifecycle
Package lifecycle is the per-session lifecycle store: what happened to one Claude Code session.
|
Package lifecycle is the per-session lifecycle store: what happened to one Claude Code session. |
|
pathstat
Package pathstat answers whether something is at a path.
|
Package pathstat answers whether something is at a path. |
|
probe
Package probe owns the probe store under shared/probes: probes that watch Claude Code sessions for OOM kills and report them to the sessions subscribed, and the reports every session gets of its own commands' kills.
|
Package probe owns the probe store under shared/probes: probes that watch Claude Code sessions for OOM kills and report them to the sessions subscribed, and the reports every session gets of its own commands' kills. |
|
proberunner
Package proberunner is the probe runner: the one long-running process that hosts every probe (claudewheel-probe-runner.service, started as `claudewheel probe run-service`).
|
Package proberunner is the probe runner: the one long-running process that hosts every probe (claudewheel-probe-runner.service, started as `claudewheel probe run-service`). |
|
profiles
Package profiles is the profile store: it enumerates, resolves, creates, deletes, and renames claudewheel profiles, resolves a profile to the environment a launch gives Claude Code, and holds the operations on one profile: auth-shadow repair, plan declaration, the inspection report, the plugin tree, permission rules, and the processes holding it.
|
Package profiles is the profile store: it enumerates, resolves, creates, deletes, and renames claudewheel profiles, resolves a profile to the environment a launch gives Claude Code, and holds the operations on one profile: auth-shadow repair, plan declaration, the inspection report, the plugin tree, permission rules, and the processes holding it. |
|
projecthooks
Package projecthooks reads and fingerprints the Claude Code hooks a target project contributes through .claude/settings.json and .claude/settings.local.json (each file's top-level hooks section).
|
Package projecthooks reads and fingerprints the Claude Code hooks a target project contributes through .claude/settings.json and .claude/settings.local.json (each file's top-level hooks section). |
|
pyrepr
Package pyrepr renders decoded JSON trees as Python renders what json.loads makes of them (None, True, 'text', [a, b], {'k': v}), the spelling the Python implementation's messages and listings used and the Go port keeps.
|
Package pyrepr renders decoded JSON trees as Python renders what json.loads makes of them (None, True, 'text', [a, b], {'k': v}), the spelling the Python implementation's messages and listings used and the Go port keeps. |
|
realpath
Package realpath resolves symbolic links in a path the way Python's non-strict os.path.realpath (and so pathlib's non-strict Path.resolve) does, so every package that ports a Python resolve shares one resolver.
|
Package realpath resolves symbolic links in a path the way Python's non-strict os.path.realpath (and so pathlib's non-strict Path.resolve) does, so every package that ports a Python resolve shares one resolver. |
|
reconcile
Package reconcile makes every managed guardrail target exactly canonical: each managed profile's settings.json and, when every profile is selected, shared-settings.json.
|
Package reconcile makes every managed guardrail target exactly canonical: each managed profile's settings.json and, when every profile is selected, shared-settings.json. |
|
schema/lifecycleevent
Code generated by strictspec.
|
Code generated by strictspec. |
|
schema/oomkillevent
Code generated by strictspec.
|
Code generated by strictspec. |
|
schema/probeevent
Code generated by strictspec.
|
Code generated by strictspec. |
|
schema/probereport
Code generated by strictspec.
|
Code generated by strictspec. |
|
schema/probesessionevent
Code generated by strictspec.
|
Code generated by strictspec. |
|
schema/sessionmovejournal
Code generated by strictspec.
|
Code generated by strictspec. |
|
scratchpad
Package scratchpad scans the per-user Claude Code scratchpad tree under /tmp for stale data and deletes what the user confirms.
|
Package scratchpad scans the per-user Claude Code scratchpad tree under /tmp for stale data and deletes what the user confirms. |
|
sessionmove
Package sessionmove moves Claude Code session data: one session to another project directory's session store (MoveSession, journaled so that an interrupted move finishes when it is run again), every session of a renamed project directory (Mv), session artifacts between two profiles (Migrate), and the sessions of an external Claude Code directory into the shared store (Import).
|
Package sessionmove moves Claude Code session data: one session to another project directory's session store (MoveSession, journaled so that an interrupted move finishes when it is run again), every session of a renamed project directory (Mv), session artifacts between two profiles (Migrate), and the sessions of an external Claude Code directory into the shared store (Import). |
|
sessions
Package sessions reads what Claude Code keeps about its sessions: the transcript JSONL files in a session store (locating a session, its project path, its user-assigned title, and orphaned project directories), the per-process registry under <config dir>/sessions/<pid>.json read into liveness-checked records, and the session stores of every profile.
|
Package sessions reads what Claude Code keeps about its sessions: the transcript JSONL files in a session store (locating a session, its project path, its user-assigned title, and orphaned project directories), the per-process registry under <config dir>/sessions/<pid>.json read into liveness-checked records, and the session stores of every profile. |
|
terminal
Package terminal does raw terminal I/O on /dev/tty: cbreak mode and its restore, key decoding with escape sequences, the alternate screen, the terminal size and its changes, the OSC 11 background and mode 2031 color-scheme queries, and the ANSI sequences the TUI draws with.
|
Package terminal does raw terminal I/O on /dev/tty: cbreak mode and its restore, key decoding with escape sequences, the alternate screen, the terminal size and its changes, the OSC 11 background and mode 2031 color-scheme queries, and the ANSI sequences the TUI draws with. |
|
testkit
Package testkit holds what the test suites share: an isolated environment with a throwaway home, a workspace under it, and stand-in programs on PATH.
|
Package testkit holds what the test suites share: an isolated environment with a throwaway home, a workspace under it, and stand-in programs on PATH. |
|
tokens
Package tokens owns a profile's token entry: the OAuth token claudewheel stores for a profile, its dates, and the plan the profile's account is on.
|
Package tokens owns a profile's token entry: the OAuth token claudewheel stores for a profile, its dates, and the plan the profile's account is on. |
|
tui/bar
Package bar is the launch bar: the row of segments (profile, version, model, directory, and the rest) the user picks a launch from.
|
Package bar is the launch bar: the row of segments (profile, version, model, directory, and the rest) the user picks a launch from. |
|
tui/deletion
Package deletion is the deletion checklist: it presents every live process holding a profile and stops the ones the user ticks.
|
Package deletion is the deletion checklist: it presents every live process holding a profile and stops the ones the user ticks. |
|
tui/sessionsview
Package sessionsview draws Claude Code sessions: the machine-wide sessions overview (every session on one framed, scrolling table, with collapsed and expanded rows), the registry-record row blocks and the scrolling column of them the deletion checklist draws with, and the vertical viewport both scroll by.
|
Package sessionsview draws Claude Code sessions: the machine-wide sessions overview (every session on one framed, scrolling table, with collapsed and expanded rows), the registry-record row blocks and the scrolling column of them the deletion checklist draws with, and the vertical viewport both scroll by. |
|
tui/widgets
Package widgets is the TUI's themed widget layer: a theme turned into terminal escape sequences, fuzzy matching for searches, form fields and the form runner, fullscreen pages, the selection list, and the confirm component that is the one authority for confirmation keys.
|
Package widgets is the TUI's themed widget layer: a theme turned into terminal escape sequences, fuzzy matching for searches, form fields and the form runner, fullscreen pages, the selection list, and the confirm component that is the one authority for confirmation keys. |
|
tui/wizard
Package wizard is the profile creation wizard: the new-profile form, the writing of the profile with its shared-store links, and the auth flow that follows (a browser session login, a long-lived token from `claude setup-token` captured from its output, or a pasted token), with the plan picker and the detection of installed browsers across native, flatpak, and snap installs.
|
Package wizard is the profile creation wizard: the new-profile form, the writing of the profile with its shared-store links, and the auth flow that follows (a browser session login, a long-lived token from `claude setup-token` captured from its output, or a pasted token), with the plan picker and the detection of installed browsers across native, flatpak, and snap installs. |
|
workspace
Package workspace owns every claudewheel filesystem path: the workspace root ($HOME/.claudewheel) and what lies under it, the shared-store layout, and Claude Code's naming of the store directory that holds a project's sessions.
|
Package workspace owns every claudewheel filesystem path: the workspace root ($HOME/.claudewheel) and what lies under it, the shared-store layout, and Claude Code's naming of the store directory that holds a project's sessions. |
Click to show internal directories.
Click to hide internal directories.