Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApprovalBridge ¶
type ApprovalBridge struct {
RequestCh chan ApprovalRequest
// contains filtered or unexported fields
}
func NewApprovalBridge ¶
func NewApprovalBridge() *ApprovalBridge
func (*ApprovalBridge) Done ¶
func (b *ApprovalBridge) Done() <-chan struct{}
func (*ApprovalBridge) RequestApproval ¶
func (b *ApprovalBridge) RequestApproval(toolName string, args json.RawMessage, preview string) (bool, error)
func (*ApprovalBridge) Respond ¶
func (b *ApprovalBridge) Respond()
type ApprovalRequest ¶
type ApprovalRequest struct {
ToolName string
Args json.RawMessage
Preview string
ReplyCh chan bool
}
type ChatMessage ¶
Click to show internal directories.
Click to hide internal directories.