Documentation
¶
Index ¶
- type App
- func (a *App) CompactSession()
- func (a *App) CurrentAgentCommands(ctx context.Context) map[string]string
- func (a *App) CurrentWelcomeMessage(ctx context.Context) string
- func (a *App) EmitStartupInfo(ctx context.Context, events chan runtime.Event)
- func (a *App) FirstMessage() *string
- func (a *App) NewSession()
- func (a *App) PlainTextTranscript() string
- func (a *App) ResolveCommand(ctx context.Context, userInput string) string
- func (a *App) Resume(resumeType runtime.ResumeType)
- func (a *App) ResumeElicitation(ctx context.Context, action tools.ElicitationAction, content map[string]any) error
- 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)
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) CurrentWelcomeMessage ¶ added in v1.9.11
CurrentWelcomeMessage returns the welcome message for the active agent
func (*App) EmitStartupInfo ¶ added in v1.9.14
EmitStartupInfo emits initial agent, team, and toolset information to the provided channel
func (*App) FirstMessage ¶
func (*App) NewSession ¶ added in v1.6.0
func (a *App) NewSession()
func (*App) PlainTextTranscript ¶ added in v1.9.8
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) ResumeElicitation ¶ added in v1.9.14
func (a *App) ResumeElicitation(ctx context.Context, action tools.ElicitationAction, content map[string]any) error
ResumeElicitation resumes an elicitation request with the given action and content
func (*App) RunBangCommand ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.