Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + var DemoEngineFactory func() engine.Engine + var DemoGitHubClientFactory func() github.Client + type Context struct + Config config.Configurer + Debug bool + Engine engine.Engine + GitHubClient github.Client + InManagedWorktree bool + Interactive bool + Logger output.Logger + Output output.Output + Quiet bool + RepoRoot string + Verify bool + WorktreeInfo *engine.WorktreeInfo + func GetContext(ctx context.Context, opts GlobalOptions) (*Context, error) + func GetContextWithWriter(ctx context.Context, opts GlobalOptions, writer io.Writer) (*Context, error) + func NewContext(eng engine.Engine, opts ...ContextOption) *Context + func NewContextAuto(ctx context.Context, repoRoot string, opts GlobalOptions) (*Context, error) + func NewContextAutoWithWriter(ctx context.Context, repoRoot string, opts GlobalOptions, writer io.Writer) (*Context, error) + func (c *Context) Absorb() engine.Absorber + func (c *Context) Git() git.Runner + func (c *Context) GitHub() github.Client + func (c *Context) GitHubError() error + func (c *Context) History() engine.StackRewriter + func (c *Context) Info() engine.BranchInfo + func (c *Context) Navigator() engine.StackNavigator + func (c *Context) PR() engine.PRManager + func (c *Context) Reader() engine.BranchReader + func (c *Context) RemoteMetadata() engine.RemoteMetadataManager + func (c *Context) RequireGitHub() (github.Client, error) + func (c *Context) Status() engine.BranchStatus + func (c *Context) Sync() engine.SyncManager + func (c *Context) Undo() engine.UndoManager + func (c *Context) Worktree() engine.WorktreeRegistry + func (c *Context) Writer() engine.BranchWriter + type ContextOption func(*contextOptions) + func WithDebug(debug bool) ContextOption + func WithGlobalOptions(opts GlobalOptions) ContextOption + func WithInteractive(interactive bool) ContextOption + func WithLogger(logger output.Logger) ContextOption + func WithQuiet(quiet bool) ContextOption + func WithRepoRoot(repoRoot string) ContextOption + func WithVerify(verify bool) ContextOption + func WithWriter(writer io.Writer) ContextOption + type GlobalOptions struct + Cwd string + Debug bool + Interactive bool + Quiet bool + Verify bool + func GetDefaultGlobalOptions() GlobalOptions