commands

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewAgentsCmd

func NewAgentsCmd(rootOpts *RootOptions) *cobra.Command

func NewAuthCmd

func NewAuthCmd() *cobra.Command

func NewAutoImplementationSummaryCmd added in v0.2.1

func NewAutoImplementationSummaryCmd() *cobra.Command

NewAutoImplementationSummaryCmd creates the hidden _auto-implementation-summary command. It is spawned as a detached background process by the worker when automations.implementation_summary is enabled and the implementation spans 2+ repos.

func NewAutoPlaybookCmd

func NewAutoPlaybookCmd() *cobra.Command

NewAutoPlaybookCmd creates the hidden _auto-playbook command.

func NewBlameCmd

func NewBlameCmd(rootOpts *RootOptions) *cobra.Command

func NewCaptureCmd

func NewCaptureCmd() *cobra.Command

NewCaptureCmd creates the `semantica capture <provider> <event-name>` command. This command is used by provider hook configurations and is not intended for interactive use.

func NewCheckpointCmd

func NewCheckpointCmd(rootOpts *RootOptions) *cobra.Command

func NewConnectCmd

func NewConnectCmd(rootOpts *RootOptions) *cobra.Command

func NewDisableCmd

func NewDisableCmd(rootOpts *RootOptions) *cobra.Command

func NewDisconnectCmd

func NewDisconnectCmd(rootOpts *RootOptions) *cobra.Command

func NewDoctorCmd added in v0.3.9

func NewDoctorCmd(rootOpts *RootOptions) *cobra.Command

NewDoctorCmd builds the `semantica doctor` command. It runs a suite of read-only diagnostic checks against the local install and the current repo, then renders a report and exits with a status code matching the worst result (0 ok, 1 warn, 2 fail).

func NewEnableCmd

func NewEnableCmd(rootOpts *RootOptions) *cobra.Command

func NewExplainCmd

func NewExplainCmd(rootOpts *RootOptions) *cobra.Command

func NewGeneratePlaybookCmd

func NewGeneratePlaybookCmd() *cobra.Command

NewGeneratePlaybookCmd creates the hidden _generate-playbook command. It is spawned as a detached background process by explain --generate.

func NewHandoffCmd added in v0.4.0

func NewHandoffCmd(rootOpts *RootOptions) *cobra.Command

NewHandoffCmd builds the `semantica handoff` command tree. `--write` assembles the bundle on disk; the `continue` subcommand launches a fresh agent session preloaded with the bundle path so the user can pick up where they left off without retyping the original prompt.

func NewHookCmd

func NewHookCmd(rootOpts *RootOptions) *cobra.Command

func NewHookCommitMsgCmd

func NewHookCommitMsgCmd(rootOpts *RootOptions) *cobra.Command

func NewHookIntentGapUploadCmd added in v0.5.4

func NewHookIntentGapUploadCmd(rootOpts *RootOptions) *cobra.Command

NewHookIntentGapUploadCmd is the detached worker spawned by the pre-push hook. It is hidden because it is an internal entrypoint.

Output is redirected by the spawning hook, and the command returns nil so worker failures never affect the parent hook's exit code. Errors that occur before .semantica is available are written to stderr, which the spawning hook captures in the worker log.

func NewHookPostCommitCmd

func NewHookPostCommitCmd(rootOpts *RootOptions) *cobra.Command

func NewHookPreCommitCmd

func NewHookPreCommitCmd(rootOpts *RootOptions) *cobra.Command

func NewHookPrePushCmd added in v0.5.4

func NewHookPrePushCmd(rootOpts *RootOptions) *cobra.Command

NewHookPrePushCmd handles git's pre-push hook without blocking the push. Decisions are logged for doctor instead of returned to git.

func NewImplementationsCmd added in v0.2.0

func NewImplementationsCmd(rootOpts *RootOptions) *cobra.Command

func NewIntentGapCmd added in v0.5.4

func NewIntentGapCmd(rootOpts *RootOptions) *cobra.Command

NewIntentGapCmd creates the intent-gap command group.

func NewLauncherCmd added in v0.3.6

func NewLauncherCmd(rootOpts *RootOptions) *cobra.Command

NewLauncherCmd returns the launcher management command.

func NewListCmd

func NewListCmd(rootOpts *RootOptions) *cobra.Command

func NewRewindCmd

func NewRewindCmd(rootOpts *RootOptions) *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

func NewSessionsCmd

func NewSessionsCmd(rootOpts *RootOptions) *cobra.Command

func NewSetCmd

func NewSetCmd(rootOpts *RootOptions) *cobra.Command

func NewShowCmd

func NewShowCmd(rootOpts *RootOptions) *cobra.Command

func NewSkillsCmd added in v0.4.0

func NewSkillsCmd(rootOpts *RootOptions) *cobra.Command

NewSkillsCmd builds the `semantica skills` command tree. The visible subcommands (`install`, `uninstall`) provision and remove SKILL.md files in detected agent skills directories; the hidden subcommands (`handoff`, plus future skill-specific commands) back the SKILL.md bodies themselves. Hidden subcommands stay reachable: cobra's hidden flag only affects help output, so SKILL.md invocations resolve as expected.

func NewStatusCmd

func NewStatusCmd(rootOpts *RootOptions) *cobra.Command

func NewSuggestCmd

func NewSuggestCmd(rootOpts *RootOptions) *cobra.Command

func NewTidyCmd

func NewTidyCmd(rootOpts *RootOptions) *cobra.Command

func NewTranscriptsCmd

func NewTranscriptsCmd(rootOpts *RootOptions) *cobra.Command

func NewWorkerCmd

func NewWorkerCmd(rootOpts *RootOptions) *cobra.Command

func NewWorkerDrainCmd added in v0.3.6

func NewWorkerDrainCmd(rootOpts *RootOptions) *cobra.Command

NewWorkerDrainCmd returns the hidden launchd entry point that drains pending markers across active repositories.

func NewWorkerRunCmd

func NewWorkerRunCmd(rootOpts *RootOptions) *cobra.Command

func NewWorkspaceCmd

func NewWorkspaceCmd() *cobra.Command

NewWorkspaceCmd creates the `semantica workspace` command group.

Types

type RootOptions

type RootOptions struct {
	RepoPath string // optional override (default: cwd)
}

Jump to

Keyboard shortcuts

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