clarification

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright 2026 Teradata

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	ClarificationDialogID dialogs.DialogID = "clarification"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClarificationDialogCmp

type ClarificationDialogCmp interface {
	dialogs.DialogModel
}

ClarificationDialogCmp is the interface for the clarification dialog

func NewClarificationDialogCmp

func NewClarificationDialogCmp(question *metaagent.Question, c *client.Client, sessionID, agentID string, rpcTimeoutSeconds int) ClarificationDialogCmp

NewClarificationDialogCmp creates a new clarification dialog For remote TUI clients, provide client/sessionID/agentID for RPC-based answering For local/console mode, pass nil client and use question.AnswerChan rpcTimeoutSeconds: RPC timeout in seconds (0 = use default of 5s)

type KeyMap

type KeyMap struct {
	Submit key.Binding
	Cancel key.Binding
}

KeyMap defines the keybindings for the clarification dialog

func DefaultKeyMap

func DefaultKeyMap() KeyMap

DefaultKeyMap returns the default keybindings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL