pkg/

directory
v0.0.0-...-0a992e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT

Directories

Path Synopsis
cg
Package cg assembles the full `cg` command tree: the capture-run model's own subcommands (package model), the MCP server (package mcp), and the approval-rules subcommands (package approvecmd).
Package cg assembles the full `cg` command tree: the capture-run model's own subcommands (package model), the MCP server (package mcp), and the approval-rules subcommands (package approvecmd).
approve
Package approve implements the cg_run approval gate: a layered YAML rules file, a load-once config store, and an argv-native matcher that decides whether a command runs, is refused, or needs an interactive prompt.
Package approve implements the cg_run approval gate: a layered YAML rules file, a load-once config store, and an argv-native matcher that decides whether a command runs, is refused, or needs an interactive prompt.
approvecmd
Package approvecmd implements the `cg check` and `cg lint` subcommands.
Package approvecmd implements the `cg check` and `cg lint` subcommands.
mcp
Package mcp implements `cg mcp`, a stdio MCP server that exposes cg's capture-run model as native MCP tools.
Package mcp implements `cg mcp`, a stdio MCP server that exposes cg's capture-run model as native MCP tools.
model
Package model implements cg's capture-run domain: the on-disk model for runs and pools (meta, start, debug, and pool manifest records), execution (RunSupervised, PoolSupervised, and the supervise-run/supervise-pool commands that back them), resolution and locking, notes, grep, prune, and the `cg run` annotator.
Package model implements cg's capture-run domain: the on-disk model for runs and pools (meta, start, debug, and pool manifest records), execution (RunSupervised, PoolSupervised, and the supervise-run/supervise-pool commands that back them), resolution and locking, notes, grep, prune, and the `cg run` annotator.
enc
varsel
Emoji Encoder implementation from https://github.com/paulgb/emoji-encoder/blob/main/app/encoding.ts
Emoji Encoder implementation from https://github.com/paulgb/emoji-encoder/blob/main/app/encoding.ts
Package shast parses shell command strings with mvdan.cc/sh/v3/syntax and exposes the result as JSON, since that package has no JSON marshaling of its own and a naive encoding/json pass over it loses position info and every interface field's concrete type.
Package shast parses shell command strings with mvdan.cc/sh/v3/syntax and exposes the result as JSON, since that package has no JSON marshaling of its own and a naive encoding/json pass over it loses position info and every interface field's concrete type.
ui
hcl2any
Package hcl2any is a version of github.com/hashicorp/hcl/cmd/hcldec that doesn't require a schema to decode HCL2 files.
Package hcl2any is a version of github.com/hashicorp/hcl/cmd/hcldec that doesn't require a schema to decode HCL2 files.
uni

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL