MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / runOnce

Method runOnce

internal/ui/program.go:509–514  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

507}
508
509func (m harness) runOnce(text string) tea.Cmd {
510 return func() tea.Msg {
511 err := m.runner(context.Background(), text)
512 return agentDoneMsg{err: err}
513 }
514}
515
516// layout recomputes viewport widths/heights from the current window size.
517// In any modal state (debug detail OR approval-with-diff) the debug

Callers 1

updateInputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected