Documentation
ยถ
There is no documentation for this package.
Directories
ยถ
| Path | Synopsis |
|---|---|
|
internal
|
|
|
audit
Package audit implements the read-only workspace scanners promoted from the shell helpers: area-tag counting and badge-color duplicate detection.
|
Package audit implements the read-only workspace scanners promoted from the shell helpers: area-tag counting and badge-color duplicate detection. |
|
autoupdate
Package autoupdate implements cg's binary self-update subsystem: discovering newer releases on GitHub, replacing the running binary in place, a detached background freshness check, and a warn-only gate for major (breaking) bumps.
|
Package autoupdate implements cg's binary self-update subsystem: discovering newer releases on GitHub, replacing the running binary in place, a detached background freshness check, and a warn-only gate for major (breaking) bumps. |
|
cgerr
Package cgerr provides errors that carry a process exit code, so command handlers can preserve the exit-code contract the shell helpers established (callers such as the wrap skill branch on these codes).
|
Package cgerr provides errors that carry a process exit code, so command handlers can preserve the exit-code contract the shell helpers established (callers such as the wrap skill branch on these codes). |
|
extension
Package extension implements the cg extension system: the cg-extension.json manifest, the per-workspace install ledger, the on-disk install layout, and the logic backing the `cg extension` subcommands.
|
Package extension implements the cg extension system: the cg-extension.json manifest, the per-workspace install ledger, the on-disk install layout, and the logic backing the `cg extension` subcommands. |
|
gitbash
Package gitbash finds Git Bash, the bash that Claude Code runs cg's hooks and status line with on Windows.
|
Package gitbash finds Git Bash, the bash that Claude Code runs cg's hooks and status line with on Windows. |
|
githooks
Package githooks installs the git hooks that extensions contribute.
|
Package githooks installs the git hooks that extensions contribute. |
|
gitx
Package gitx is a thin, cross-platform wrapper around the git CLI.
|
Package gitx is a thin, cross-platform wrapper around the git CLI. |
|
manifest
Package manifest tracks the framework-managed artifacts in a Consigliere workspace โ the CLAUDE.md sections, framework notes and .claude/ files that `cg` owns โ so `cg sync` can distinguish what `cg` last wrote from what the user has since changed.
|
Package manifest tracks the framework-managed artifacts in a Consigliere workspace โ the CLAUDE.md sections, framework notes and .claude/ files that `cg` owns โ so `cg sync` can distinguish what `cg` last wrote from what the user has since changed. |
|
meta
Package meta reads the structured metadata attached to a workspace item.
|
Package meta reads the structured metadata attached to a workspace item. |
|
migrate
Package migrate converts workspace items from a `## Meta` bullet block to YAML frontmatter.
|
Package migrate converts workspace items from a `## Meta` bullet block to YAML frontmatter. |
|
pushpolicy
Package pushpolicy implements the external-repo push-policy lookup and the PreToolUse gate promoted from lookup-push-policy.sh and external-repo-push-policy.sh.
|
Package pushpolicy implements the external-repo push-policy lookup and the PreToolUse gate promoted from lookup-push-policy.sh and external-repo-push-policy.sh. |
|
session
Package session implements the Claude Code hook bodies promoted from the personal-workspace shell hooks: the session-start gate, the dirty-flag marker, the pull-latest-main refresh, and the status-line renderer.
|
Package session implements the Claude Code hook bodies promoted from the personal-workspace shell hooks: the session-start gate, the dirty-flag marker, the pull-latest-main refresh, and the status-line renderer. |
|
share
Package share implements the export core for read-only project sharing: it renders one workspace project into a self-contained copy that can leave the workspace.
|
Package share implements the export core for read-only project sharing: it renders one workspace project into a self-contained copy that can leave the workspace. |
|
sync
Package sync implements the deterministic half of workspace-content reconciliation (`cg sync`): given the content hashes of the framework-managed artifacts as they are on disk, as the manifest last recorded them, and as the current binary's embedded framework ships them, it classifies each artifact so the caller can decide what to do.
|
Package sync implements the deterministic half of workspace-content reconciliation (`cg sync`): given the content hashes of the framework-managed artifacts as they are on disk, as the manifest last recorded them, and as the current binary's embedded framework ships them, it classifies each artifact so the caller can decide what to do. |
|
wizard
Package wizard implements the interactive `cg init --wizard` flow.
|
Package wizard implements the interactive `cg init --wizard` flow. |
|
worktree
Package worktree implements the per-session git-worktree mechanics promoted from the personal-workspace bash helpers (create-session-worktree.sh and friends).
|
Package worktree implements the per-session git-worktree mechanics promoted from the personal-workspace bash helpers (create-session-worktree.sh and friends). |
|
scripts
|
|
|
claudefilehistory
command
Command claudefilehistory writes cmd/claude_file_history_gen.go: the SHA-256 of every version of every framework .claude/ file that any cg release has shipped, plus the version in the working tree.
|
Command claudefilehistory writes cmd/claude_file_history_gen.go: the SHA-256 of every version of every framework .claude/ file that any cg release has shipped, plus the version in the working tree. |
|
Package templates holds the framework content that cg ships: workspace templates, framework notes, the workspace CLAUDE.md, slash commands, skills and hooks.
|
Package templates holds the framework content that cg ships: workspace templates, framework notes, the workspace CLAUDE.md, slash commands, skills and hooks. |
Click to show internal directories.
Click to hide internal directories.