Documentation
¶
Index ¶
- type App
- func (a *App) CompactSession()
- func (a *App) CurrentAgentCommands(ctx context.Context) map[string]string
- func (a *App) FirstMessage() *string
- func (a *App) NewSession()
- func (a *App) ResolveCommand(ctx context.Context, userInput string) string
- func (a *App) Resume(resumeType runtime.ResumeType)
- func (a *App) ResumeStartOAuth(bool)
- func (a *App) Run(ctx context.Context, cancel context.CancelFunc, message string)
- func (a *App) RunBangCommand(ctx context.Context, command string)
- func (a *App) Session() *session.Session
- func (a *App) Subscribe(ctx context.Context, program *tea.Program)
- func (a *App) Team() *team.Team
- func (a *App) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) CompactSession ¶ added in v1.6.0
func (a *App) CompactSession()
func (*App) CurrentAgentCommands ¶ added in v1.9.1
CurrentAgentCommands returns the commands for the active agent
func (*App) FirstMessage ¶
func (*App) NewSession ¶ added in v1.6.0
func (a *App) NewSession()
func (*App) ResolveCommand ¶ added in v1.9.1
ResolveCommand converts /command to its prompt text
func (*App) Resume ¶
func (a *App) Resume(resumeType runtime.ResumeType)
Resume resumes the runtime with the given confirmation type
func (*App) ResumeStartOAuth ¶ added in v1.5.6
ResumeStartOAuth resumes the runtime with OAuth authorization confirmation
func (*App) RunBangCommand ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.