Documentation
¶
Overview ¶
Package cli implements mivia command handlers.
Index ¶
- Constants
- Variables
- func ActiveCoordinator() (coordinator.Coordinator, bool)
- func Execute(args []string) error
- func FindCoordinator() coordinator.Coordinator
- func FindDispatcher() *runtime.Dispatcher
- func FormatListedRuns(runs []coordinator.RecoveredRun) string
- func FormatResumeConfirmation(info ResumeConfirmationInfo) string
- func FormatResumeError(err error, runID string) string
- func ListInterruptedRuns(ctx context.Context, c coordinator.Coordinator) ([]coordinator.RecoveredRun, error)
- func ParseConfirmResponse(response string) bool
- func ResumeRun(ctx context.Context, c coordinator.Coordinator, d *runtime.Dispatcher, ...) (*cliorchestrate.OrchestrationHandleForTest, error)
- func SetActiveSessionCaller(caller runtime.Caller)
- func SetTUILauncher(fn func(sess *chat.Session, res *config.Resolved, toolsOn bool, ...) error)
- type AgentBinding
- type AgentCatalogRow
- type AgentCatalogView
- type AgentListRow
- type AgentLoadResult
- type AgentSessionContext
- type AgentSessionState
- type AgentSkillScope
- type AgentSurface
- type Binding
- type BridgeDrain
- type BridgeToolEvt
- type ChatBlock
- type ChatBlockEvent
- type ChatBlockKind
- type ChatBlockRender
- type ChatInvocation
- type ChatRenderer
- type ContextDispatcherWiring
- type DialogLayout
- type DialogPrefs
- type KeyScope
- type RailView
- type Rect
- type ResumeConfirmationInfo
- type SchemaMass
- type SessionDispatcherOpts
- type SessionRouting
- type SlashCommand
- type StreamBridge
- type SubagentRun
- type SubagentTracker
- type Terminal
- type ToolRenderItem
- type ToolRow
- type ToolTierPlan
- type TuiFocus
- type WorkGroup
Constants ¶
const ActionAgent = clichat.ActionAgent
ActionAgent re-exports the clichat.ActionAgent constant.
const AnsiBgDark = clichat.AnsiBgDark
AnsiBgDark re-exports the clichat.AnsiBgDark constant.
const AnsiBgDiffAdd = clichat.AnsiBgDiffAdd
AnsiBgDiffAdd re-exports the clichat.AnsiBgDiffAdd constant.
const AnsiBgDiffDel = clichat.AnsiBgDiffDel
AnsiBgDiffDel re-exports the clichat.AnsiBgDiffDel constant.
const AnsiBlue = clichat.AnsiBlue
AnsiBlue re-exports the clichat.AnsiBlue constant.
const AnsiBold = clichat.AnsiBold
AnsiBold re-exports the clichat.AnsiBold constant.
const AnsiBoldEnd = clichat.AnsiBoldEnd
AnsiBoldEnd re-exports the clichat.AnsiBoldEnd constant.
const AnsiCyan = clichat.AnsiCyan
AnsiCyan re-exports the clichat.AnsiCyan constant.
const AnsiDim = clichat.AnsiDim
AnsiDim re-exports the clichat.AnsiDim constant.
const AnsiDimEnd = clichat.AnsiDimEnd
AnsiDimEnd re-exports the clichat.AnsiDimEnd constant.
const AnsiGreen = clichat.AnsiGreen
AnsiGreen re-exports the clichat.AnsiGreen constant.
const AnsiItalic = clichat.AnsiItalic
AnsiItalic re-exports the clichat.AnsiItalic constant.
const AnsiMagenta = clichat.AnsiMagenta
AnsiMagenta re-exports the clichat.AnsiMagenta constant.
const AnsiRed = clichat.AnsiRed
AnsiRed re-exports the clichat.AnsiRed constant.
const AnsiReset = clichat.AnsiReset
AnsiReset re-exports the clichat.AnsiReset constant.
const AnsiYellow = clichat.AnsiYellow
AnsiYellow re-exports the clichat.AnsiYellow constant.
const BrandColorThinking = clichat.BrandColorThinking
BrandColorThinking re-exports the clichat.BrandColorThinking constant.
const ChatBlockAssistant = clichat.ChatBlockAssistant
ChatBlockAssistant re-exports the clichat.ChatBlockAssistant constant.
const ChatBlockDivider = clichat.ChatBlockDivider
ChatBlockDivider re-exports the clichat.ChatBlockDivider constant.
const ChatBlockSystem = clichat.ChatBlockSystem
ChatBlockSystem re-exports the clichat.ChatBlockSystem constant.
const ChatBlockThinking = clichat.ChatBlockThinking
ChatBlockThinking re-exports the clichat.ChatBlockThinking constant.
const ChatBlockTool = clichat.ChatBlockTool
ChatBlockTool re-exports the clichat.ChatBlockTool constant.
const ChatBlockUser = clichat.ChatBlockUser
ChatBlockUser re-exports the clichat.ChatBlockUser constant.
const EffortBusyNotice = clichat.EffortBusyNotice
EffortBusyNotice re-exports the clichat.EffortBusyNotice constant.
const EffortOrchestrationNotice = clichat.EffortOrchestrationNotice
EffortOrchestrationNotice re-exports the clichat.EffortOrchestrationNotice constant.
const EffortUnsetWord = clichat.EffortUnsetWord
EffortUnsetWord re-exports the clichat.EffortUnsetWord constant.
const FocusComposer = clichat.FocusComposer
FocusComposer re-exports the clichat.FocusComposer constant.
const FocusScrollback = clichat.FocusScrollback
FocusScrollback re-exports the clichat.FocusScrollback constant.
const FocusSidebar = clichat.FocusSidebar
FocusSidebar re-exports the clichat.FocusSidebar constant.
const FocusWorkflowsSidebar = clichat.FocusWorkflowsSidebar
FocusWorkflowsSidebar re-exports the clichat.FocusWorkflowsSidebar constant.
const GlyphCheck = clichat.GlyphCheck
GlyphCheck re-exports the clichat.GlyphCheck constant.
const GlyphCross = clichat.GlyphCross
GlyphCross re-exports the clichat.GlyphCross constant.
const GlyphDiamond = clichat.GlyphDiamond
GlyphDiamond re-exports the clichat.GlyphDiamond constant.
const GlyphLozenge = clichat.GlyphLozenge
GlyphLozenge re-exports the clichat.GlyphLozenge constant.
const GlyphTriR = clichat.GlyphTriR
GlyphTriR re-exports the clichat.GlyphTriR constant.
const HandlerDelegate = cliorchestrate.HandlerDelegate
HandlerDelegate re-exports cliorchestrate.HandlerDelegate.
const MaxHistorySize = clichat.MaxHistorySize
MaxHistorySize re-exports the clichat.MaxHistorySize constant.
const MaxThinkingLines = clichat.MaxThinkingLines
MaxThinkingLines re-exports the clichat.MaxThinkingLines constant.
const MinCardWidth = clichat.MinCardWidth
MinCardWidth re-exports the clichat.MinCardWidth constant.
const SessionEffortBusyRefusal = clichat.SessionEffortBusyRefusal
SessionEffortBusyRefusal re-exports the clichat.SessionEffortBusyRefusal constant.
const SkillTurnPreamble = clichat.SkillTurnPreamble
SkillTurnPreamble re-exports the clichat.SkillTurnPreamble constant.
const SlashKindBuiltin = clichat.SlashKindBuiltin
SlashKindBuiltin re-exports the clichat.SlashKindBuiltin constant.
const SlashKindSkill = clichat.SlashKindSkill
SlashKindSkill re-exports the clichat.SlashKindSkill constant.
const SlashSurfacePlain = clichat.SlashSurfacePlain
SlashSurfacePlain re-exports the clichat.SlashSurfacePlain constant.
const SlashSurfaceTUI = clichat.SlashSurfaceTUI
SlashSurfaceTUI re-exports the clichat.SlashSurfaceTUI constant.
const ThemeColorDiffAdd = clichat.ThemeColorDiffAdd
ThemeColorDiffAdd re-exports the clichat.ThemeColorDiffAdd constant.
const ThemeColorDiffDel = clichat.ThemeColorDiffDel
ThemeColorDiffDel re-exports the clichat.ThemeColorDiffDel constant.
const ThemeColorDim = clichat.ThemeColorDim
ThemeColorDim re-exports the clichat.ThemeColorDim constant.
const ToolDispatchTasks = cliorchestrate.ToolDispatchTasks
ToolDispatchTasks re-exports cliorchestrate.ToolDispatchTasks.
const WorkGroupWindowRows = clichat.WorkGroupWindowRows
WorkGroupWindowRows re-exports the clichat.WorkGroupWindowRows constant.
Variables ¶
var ActionKindForTool = clichat.ActionKindForTool
ActionKindForTool re-exports the clichat.ActionKindForTool function.
var AgentBadgeStyle = clichat.AgentBadgeStyle
AgentBadgeStyle re-exports the clichat.AgentBadgeStyle variable.
var AppendCtxSuffix = clichat.AppendCtxSuffix
AppendCtxSuffix re-exports the clichat.AppendCtxSuffix function.
var ApplyChatBlockEvent = clichat.ApplyChatBlockEvent
ApplyChatBlockEvent re-exports the clichat.ApplyChatBlockEvent function.
var ApplyPrivacyPolicy = clichat.ApplyPrivacyPolicy
ApplyPrivacyPolicy re-exports the clichat.ApplyPrivacyPolicy function.
var ApplySessionAgent = clichat.ApplySessionAgent
ApplySessionAgent re-exports the clichat.ApplySessionAgent function.
var ApplyWorkflowStoreRoot = clichat.ApplyWorkflowStoreRoot
ApplyWorkflowStoreRoot re-exports the clichat.ApplyWorkflowStoreRoot function.
var AssistantBubble = clichat.AssistantBubble
AssistantBubble re-exports the clichat.AssistantBubble variable.
var AttachSessionDispatcher = clichat.AttachSessionDispatcher
AttachSessionDispatcher re-exports the clichat.AttachSessionDispatcher function.
var BindManagedWorktreeSessionExpected = clichat.BindManagedWorktreeSessionExpected
BindManagedWorktreeSessionExpected re-exports the clichat.BindManagedWorktreeSessionExpected function.
var BoundedToolText = clichat.BoundedToolText
BoundedToolText re-exports the clichat.BoundedToolText function.
var BrandWorkFrames = clichat.BrandWorkFrames
BrandWorkFrames re-exports the clichat.BrandWorkFrames variable.
var BuildModelBinding = clichat.BuildModelBinding
BuildModelBinding re-exports the clichat.BuildModelBinding function.
var CancellationCanReplaceTurnError = clichat.CancellationCanReplaceTurnError
CancellationCanReplaceTurnError re-exports the clichat.CancellationCanReplaceTurnError function.
var ChatBlockID = clichat.ChatBlockID
ChatBlockID re-exports the clichat.ChatBlockID function.
var ClampWorkGroupScroll = clichat.ClampWorkGroupScroll
ClampWorkGroupScroll re-exports the clichat.ClampWorkGroupScroll function.
var ClassicAgentStatePtr = clichat.ClassicAgentStatePtr
ClassicAgentStatePtr re-exports the clichat.ClassicAgentStatePtr variable.
var ClearSubagentProgress = clichat.ClearSubagentProgress
ClearSubagentProgress re-exports the clichat.ClearSubagentProgress function.
var ClipPreviewLine = clichat.ClipPreviewLine
ClipPreviewLine re-exports the clichat.ClipPreviewLine function.
var CollapseConversations = clichat.CollapseConversations
CollapseConversations re-exports the clichat.CollapseConversations function.
var ColorDiffLine = clichat.ColorDiffLine
ColorDiffLine re-exports the clichat.ColorDiffLine function.
var CompactStructuralOnlyNotice = clichat.CompactStructuralOnlyNotice
CompactStructuralOnlyNotice re-exports the clichat.CompactStructuralOnlyNotice function.
var ConfigureChatWorkspace = clichat.ConfigureChatWorkspace
ConfigureChatWorkspace re-exports the clichat.ConfigureChatWorkspace function.
var ContextDispatcherFor = clichat.ContextDispatcherFor
ContextDispatcherFor re-exports the clichat.ContextDispatcherFor function.
var ContextStorePath = clichat.ContextStorePath
ContextStorePath re-exports the clichat.ContextStorePath function.
var ContextWorkspaceID = clichat.ContextWorkspaceID
ContextWorkspaceID re-exports the clichat.ContextWorkspaceID function.
var CurrentAgentName = clichat.CurrentAgentName
CurrentAgentName re-exports the clichat.CurrentAgentName function.
var DeleteSessionResult = clichat.DeleteSessionResult
DeleteSessionResult re-exports the clichat.DeleteSessionResult function.
var DialogRectFor = clichat.DialogRectFor
DialogRectFor re-exports the clichat.DialogRectFor function.
var DisplaySessionName = clichat.DisplaySessionName
DisplaySessionName re-exports the clichat.DisplaySessionName function.
var EffortDiscardedSuffix = clichat.EffortDiscardedSuffix
EffortDiscardedSuffix re-exports the clichat.EffortDiscardedSuffix function.
var EffortRowName = clichat.EffortRowName
EffortRowName re-exports the clichat.EffortRowName function.
var EmitSubagentProgress = clichat.EmitSubagentProgress
EmitSubagentProgress re-exports the clichat.EmitSubagentProgress function.
var EnableSessionContext = clichat.EnableSessionContext
EnableSessionContext re-exports the clichat.EnableSessionContext function.
var ErrAgentWallClockExceeded = cliagents.ErrAgentWallClockExceeded
ErrAgentWallClockExceeded is re-exported from cliagents for callers inside this package that cannot import cliagents directly (e.g. test files that use the cli package name).
var ErrOrchestrationSwitchActive = cliorchestrate.ErrOrchestrationSwitchActive
ErrOrchestrationSwitchActive re-exports the sentinel from cliorchestrate so callers that import cli can use errors.Is without an extra import. Invariant: both values are the same pointer; errors.Is works across the alias.
var EventPreview = clichat.EventPreview
EventPreview re-exports the clichat.EventPreview function.
var FilterSkillsForScope = clichat.FilterSkillsForScope
FilterSkillsForScope re-exports the clichat.FilterSkillsForScope function.
var FindSlashCommand = clichat.FindSlashCommand
FindSlashCommand re-exports the clichat.FindSlashCommand function.
var FindWorkGroups = clichat.FindWorkGroups
FindWorkGroups re-exports the clichat.FindWorkGroups function.
var FitDialogRow = clichat.FitDialogRow
FitDialogRow re-exports the clichat.FitDialogRow function.
var ForbiddenKeys = clichat.ForbiddenKeys
ForbiddenKeys re-exports the clichat.ForbiddenKeys variable.
var FormatAgentCurrent = clichat.FormatAgentCurrent
FormatAgentCurrent re-exports the clichat.FormatAgentCurrent function.
var FormatAgentSet = clichat.FormatAgentSet
FormatAgentSet re-exports the clichat.FormatAgentSet function.
FormatAgentUnavailable re-exports the clichat.FormatAgentUnavailable function.
var FormatBudgetInvalid = clichat.FormatBudgetInvalid
FormatBudgetInvalid re-exports the clichat.FormatBudgetInvalid function.
var FormatBudgetSet = clichat.FormatBudgetSet
FormatBudgetSet re-exports the clichat.FormatBudgetSet function.
var FormatBudgetSummary = clichat.FormatBudgetSummary
FormatBudgetSummary re-exports the clichat.FormatBudgetSummary function.
var FormatDuration = clichat.FormatDuration
FormatDuration re-exports the clichat.FormatDuration function.
var FormatEffortSet = clichat.FormatEffortSet
FormatEffortSet re-exports the clichat.FormatEffortSet function.
var FormatEffortStatus = clichat.FormatEffortStatus
FormatEffortStatus re-exports the clichat.FormatEffortStatus function.
var FormatEffortSummary = clichat.FormatEffortSummary
FormatEffortSummary re-exports the clichat.FormatEffortSummary function.
var FormatLiveToolWaveSummary = clichat.FormatLiveToolWaveSummary
FormatLiveToolWaveSummary re-exports the clichat.FormatLiveToolWaveSummary function.
var FormatModelSet = clichat.FormatModelSet
FormatModelSet re-exports the clichat.FormatModelSet function.
FormatModelUnavailable re-exports the clichat.FormatModelUnavailable function.
var FormatSessionAge = clichat.FormatSessionAge
FormatSessionAge re-exports the clichat.FormatSessionAge function.
var FormatStepsInvalid = clichat.FormatStepsInvalid
FormatStepsInvalid re-exports the clichat.FormatStepsInvalid function.
var FormatStepsSet = clichat.FormatStepsSet
FormatStepsSet re-exports the clichat.FormatStepsSet function.
var FormatStepsSummary = clichat.FormatStepsSummary
FormatStepsSummary re-exports the clichat.FormatStepsSummary function.
var FormatUserBubbleTime = clichat.FormatUserBubbleTime
FormatUserBubbleTime re-exports the clichat.FormatUserBubbleTime function.
var FormatUserMessageCard = clichat.FormatUserMessageCard
FormatUserMessageCard re-exports the clichat.FormatUserMessageCard function.
var HandleSlash = clichat.HandleSlash
HandleSlash re-exports the clichat.HandleSlash function.
var HandleSlashAgent = clichat.HandleSlashAgent
HandleSlashAgent re-exports the clichat.HandleSlashAgent function.
var HandleSlashEffort = clichat.HandleSlashEffort
HandleSlashEffort re-exports the clichat.HandleSlashEffort function.
var HandleSlashInfo = clichat.HandleSlashInfo
HandleSlashInfo re-exports the clichat.HandleSlashInfo function.
var HandleSlashSessions = clichat.HandleSlashSessions
HandleSlashSessions re-exports the clichat.HandleSlashSessions function.
var HighlightCodeBlock = clichat.HighlightCodeBlock
HighlightCodeBlock re-exports the clichat.HighlightCodeBlock function.
var HydrateChatBlocks = clichat.HydrateChatBlocks
HydrateChatBlocks re-exports the clichat.HydrateChatBlocks function.
var HydrateChatBlocksForView = clichat.HydrateChatBlocksForView
HydrateChatBlocksForView re-exports the clichat.HydrateChatBlocksForView function.
var InjectSkillResourceTool = clichat.InjectSkillResourceTool
InjectSkillResourceTool re-exports the clichat.InjectSkillResourceTool function.
var IsBannerTool = clichat.IsBannerTool
IsBannerTool re-exports the clichat.IsBannerTool function.
var IsEditTool = clichat.IsEditTool
IsEditTool re-exports the clichat.IsEditTool function.
var IsLifecycleStatus = clichat.IsLifecycleStatus
IsLifecycleStatus re-exports the clichat.IsLifecycleStatus function.
var IsLocalSlash = clichat.IsLocalSlash
IsLocalSlash re-exports the clichat.IsLocalSlash function.
var IsWorkStatusBlock = clichat.IsWorkStatusBlock
IsWorkStatusBlock re-exports the clichat.IsWorkStatusBlock function.
var JoinHub = clichat.JoinHub
JoinHub re-exports the clichat.JoinHub function.
var KeyLabel = clichat.KeyLabel
KeyLabel re-exports the clichat.KeyLabel function.
var KeyRegistry = clichat.KeyRegistry
KeyRegistry re-exports the clichat.KeyRegistry variable.
var LatestAutoSaveName = clichat.LatestAutoSaveName
LatestAutoSaveName re-exports the clichat.LatestAutoSaveName function.
var LifecycleStatusFailed = clichat.LifecycleStatusFailed
LifecycleStatusFailed re-exports the clichat.LifecycleStatusFailed function.
var LoadAgentDefinitions = clichat.LoadAgentDefinitions
LoadAgentDefinitions re-exports the clichat.LoadAgentDefinitions function.
var LoadChatSkills = clichat.LoadChatSkills
LoadChatSkills re-exports the clichat.LoadChatSkills function.
var LoadContextSessionResult = clichat.LoadContextSessionResult
LoadContextSessionResult re-exports the clichat.LoadContextSessionResult function.
var LoadSessionResult = clichat.LoadSessionResult
LoadSessionResult re-exports the clichat.LoadSessionResult function.
var LoadSessionSkills = clichat.LoadSessionSkills
LoadSessionSkills re-exports the clichat.LoadSessionSkills function.
var MakeDialogLayout = clichat.MakeDialogLayout
MakeDialogLayout re-exports the clichat.MakeDialogLayout function.
var Max = clichat.Max
Max re-exports the clichat.Max function.
var Min = clichat.Min
Min re-exports the clichat.Min function.
var ModelRestoreNoticeText = clichat.ModelRestoreNoticeText
ModelRestoreNoticeText re-exports the clichat.ModelRestoreNoticeText function.
var ModelSwitchChoices = clichat.ModelSwitchChoices
ModelSwitchChoices re-exports the clichat.ModelSwitchChoices function.
var NewAgentTaskHandler = clichat.NewAgentTaskHandler
NewAgentTaskHandler re-exports the clichat.NewAgentTaskHandler function.
var NewChatInvocationRepositorySessionStorePath = clichat.NewChatInvocationRepositorySessionStorePath
NewChatInvocationRepositorySessionStorePath re-exports the clichat.NewChatInvocationRepositorySessionStorePath function.
var NewChatInvocationWorkspacePath = clichat.NewChatInvocationWorkspacePath
NewChatInvocationWorkspacePath re-exports the clichat.NewChatInvocationWorkspacePath function.
var NewChatRenderer = clichat.NewChatRenderer
NewChatRenderer re-exports the clichat.NewChatRenderer function.
var NewMarkdownWriter = clichat.NewMarkdownWriter
NewMarkdownWriter re-exports the clichat.NewMarkdownWriter function.
var NewSessionDispatcher = clichat.NewSessionDispatcher
NewSessionDispatcher re-exports the clichat.NewSessionDispatcher function.
var NewSessionDispatcherMinimal = clichat.NewSessionDispatcherMinimal
NewSessionDispatcherMinimal re-exports the clichat.NewSessionDispatcherMinimal function.
var NewStreamBridge = clichat.NewStreamBridge
NewStreamBridge re-exports the clichat.NewStreamBridge function.
var NewSubagentTracker = clichat.NewSubagentTracker
NewSubagentTracker re-exports the clichat.NewSubagentTracker function.
var NewTerminal = clichat.NewTerminal
NewTerminal re-exports the clichat.NewTerminal function.
var NewTestTerminal = clichat.NewTestTerminal
NewTestTerminal re-exports the clichat.NewTestTerminal function.
var NewToolRenderItem = clichat.NewToolRenderItem
NewToolRenderItem re-exports the clichat.NewToolRenderItem function.
var OnEventForMultiStep = clichat.OnEventForMultiStep
OnEventForMultiStep re-exports the clichat.OnEventForMultiStep function.
var OpenContextStore = clichat.OpenContextStore
OpenContextStore re-exports the clichat.OpenContextStore function.
var OpenContextStorePath = clichat.OpenContextStorePath
OpenContextStorePath re-exports the clichat.OpenContextStorePath function.
var OpenRepositoryContextStore = clichat.OpenRepositoryContextStore
OpenRepositoryContextStore re-exports the clichat.OpenRepositoryContextStore function.
var OpenWorkflowStore = clichat.OpenWorkflowStore
OpenWorkflowStore re-exports the clichat.OpenWorkflowStore function.
var OrchestrationRepoForDispatcher = clichat.OrchestrationRepoForDispatcher
OrchestrationRepoForDispatcher re-exports the clichat.OrchestrationRepoForDispatcher function.
var OverlayAt = clichat.OverlayAt
OverlayAt re-exports the clichat.OverlayAt function.
var ParseEffortArg = clichat.ParseEffortArg
ParseEffortArg re-exports the clichat.ParseEffortArg function.
var ParseModelArgs = clichat.ParseModelArgs
ParseModelArgs re-exports the clichat.ParseModelArgs function.
var ParseNonNegInt = clichat.ParseNonNegInt
ParseNonNegInt re-exports the clichat.ParseNonNegInt function.
var ParseToolPath = clichat.ParseToolPath
ParseToolPath re-exports the clichat.ParseToolPath function.
var ReadAutosaveStatus = clichat.ReadAutosaveStatus
ReadAutosaveStatus re-exports the clichat.ReadAutosaveStatus function.
var RealToolStarts = clichat.RealToolStarts
RealToolStarts re-exports the clichat.RealToolStarts function.
var RegistryForState = clichat.RegistryForState
RegistryForState re-exports the clichat.RegistryForState function.
var RenderChatBlocks = clichat.RenderChatBlocks
RenderChatBlocks re-exports the clichat.RenderChatBlocks function.
var RenderChatBlocksWithWorkGroups = clichat.RenderChatBlocksWithWorkGroups
RenderChatBlocksWithWorkGroups re-exports the clichat.RenderChatBlocksWithWorkGroups function.
var RenderChatBlocksWithWorkGroupsWindow = clichat.RenderChatBlocksWithWorkGroupsWindow
RenderChatBlocksWithWorkGroupsWindow re-exports the clichat.RenderChatBlocksWithWorkGroupsWindow function.
var RenderDialogFrame = clichat.RenderDialogFrame
RenderDialogFrame re-exports the clichat.RenderDialogFrame function.
var RenderDiffBody = clichat.RenderDiffBody
RenderDiffBody re-exports the clichat.RenderDiffBody function.
var RenderMarkdown = clichat.RenderMarkdown
RenderMarkdown re-exports the clichat.RenderMarkdown function.
var RenderOneChatBlock = clichat.RenderOneChatBlock
RenderOneChatBlock re-exports the clichat.RenderOneChatBlock function.
var RenderReplHelpInline = clichat.RenderReplHelpInline
RenderReplHelpInline re-exports the clichat.RenderReplHelpInline function.
var RenderSkillSlashPrompt = clichat.RenderSkillSlashPrompt
RenderSkillSlashPrompt re-exports the clichat.RenderSkillSlashPrompt function.
var RenderThinkingBlock = clichat.RenderThinkingBlock
RenderThinkingBlock re-exports the clichat.RenderThinkingBlock function.
var ReplHelpContent = clichat.ReplHelpContent
ReplHelpContent re-exports the clichat.ReplHelpContent function.
var RepositorySessionStorePath = clichat.RepositorySessionStorePath
RepositorySessionStorePath re-exports the clichat.RepositorySessionStorePath function.
var RestoreREPLRuntime = clichat.RestoreREPLRuntime
RestoreREPLRuntime re-exports the clichat.RestoreREPLRuntime function.
var ResultLooksLikeDiff = clichat.ResultLooksLikeDiff
ResultLooksLikeDiff re-exports the clichat.ResultLooksLikeDiff function.
var RouteFocusKey = clichat.RouteFocusKey
RouteFocusKey re-exports the clichat.RouteFocusKey function.
var RuneWidth = clichat.RuneWidth
RuneWidth re-exports the clichat.RuneWidth function.
var SafeChatBlockText = clichat.SafeChatBlockText
SafeChatBlockText re-exports the clichat.SafeChatBlockText function.
var SafeEffortError = clichat.SafeEffortError
SafeEffortError re-exports the clichat.SafeEffortError function.
var SaveSessionResult = clichat.SaveSessionResult
SaveSessionResult re-exports the clichat.SaveSessionResult function.
var ScopeComposer = clichat.ScopeComposer
ScopeComposer re-exports the clichat.ScopeComposer variable.
var ScopeDashboard = clichat.ScopeDashboard
ScopeDashboard re-exports the clichat.ScopeDashboard variable.
var ScopeGlobal = clichat.ScopeGlobal
ScopeGlobal re-exports the clichat.ScopeGlobal variable.
var ScopeHistory = clichat.ScopeHistory
ScopeHistory re-exports the clichat.ScopeHistory variable.
var ScopeOverlay = clichat.ScopeOverlay
ScopeOverlay re-exports the clichat.ScopeOverlay variable.
var ScopeQueue = clichat.ScopeQueue
ScopeQueue re-exports the clichat.ScopeQueue variable.
var ScopeScrollback = clichat.ScopeScrollback
ScopeScrollback re-exports the clichat.ScopeScrollback variable.
var ScopeSessions = clichat.ScopeSessions
ScopeSessions re-exports the clichat.ScopeSessions variable.
var ScopeSuggest = clichat.ScopeSuggest
ScopeSuggest re-exports the clichat.ScopeSuggest variable.
var ScopeWelcome = clichat.ScopeWelcome
ScopeWelcome re-exports the clichat.ScopeWelcome variable.
var ScopeWorkflows = clichat.ScopeWorkflows
ScopeWorkflows re-exports the clichat.ScopeWorkflows variable.
var SessionIdentity = clichat.SessionIdentity
SessionIdentity re-exports the clichat.SessionIdentity function.
var SetGlobalBus = clichat.SetGlobalBus
SetGlobalBus re-exports the clichat.SetGlobalBus function.
var SetSubagentProgress = clichat.SetSubagentProgress
SetSubagentProgress re-exports the clichat.SetSubagentProgress function.
var SetupChatSessionContext = clichat.SetupChatSessionContext
SetupChatSessionContext re-exports the clichat.SetupChatSessionContext function.
var SetupRepositorySessionContext = clichat.SetupRepositorySessionContext
SetupRepositorySessionContext re-exports the clichat.SetupRepositorySessionContext function.
var SetupSessionContext = clichat.SetupSessionContext
SetupSessionContext re-exports the clichat.SetupSessionContext function.
var ShortenModel = clichat.ShortenModel
ShortenModel re-exports the clichat.ShortenModel function.
var ShortenWorkspacePath = clichat.ShortenWorkspacePath
ShortenWorkspacePath re-exports the clichat.ShortenWorkspacePath function.
var ShouldCommitInterim = clichat.ShouldCommitInterim
ShouldCommitInterim re-exports the clichat.ShouldCommitInterim function.
var ShouldFollowOutput = clichat.ShouldFollowOutput
ShouldFollowOutput re-exports the clichat.ShouldFollowOutput function.
var SkillScopeFromAgent = clichat.SkillScopeFromAgent
SkillScopeFromAgent re-exports the clichat.SkillScopeFromAgent function.
var SlashCommands = clichat.SlashCommands
SlashCommands re-exports the clichat.SlashCommands function.
var StripANSI = clichat.StripANSI
StripANSI re-exports the clichat.StripANSI function.
var SummarizeToolDetail = clichat.SummarizeToolDetail
SummarizeToolDetail re-exports the clichat.SummarizeToolDetail function.
var SummaryDisabledReason = clichat.SummaryDisabledReason
SummaryDisabledReason re-exports the clichat.SummaryDisabledReason function.
var SwitchModelCommand = clichat.SwitchModelCommand
SwitchModelCommand re-exports the clichat.SwitchModelCommand function.
var TUIDimStyle = clichat.TUIDimStyle
TUIDimStyle re-exports the clichat.TUIDimStyle variable.
var TUIErrorStyle = clichat.TUIErrorStyle
TUIErrorStyle re-exports the clichat.TUIErrorStyle variable.
var TUIHelpContentFor = clichat.TUIHelpContentFor
TUIHelpContentFor re-exports the clichat.TUIHelpContentFor function.
var TUIThinkingStyle = clichat.TUIThinkingStyle
TUIThinkingStyle re-exports the clichat.TUIThinkingStyle variable.
var ToolBatchStatusDetail = clichat.ToolBatchStatusDetail
ToolBatchStatusDetail re-exports the clichat.ToolBatchStatusDetail function.
var ToolDimStyle = clichat.ToolDimStyle
ToolDimStyle re-exports the clichat.ToolDimStyle variable.
var ToolErrStyle = clichat.ToolErrStyle
ToolErrStyle re-exports the clichat.ToolErrStyle variable.
var ToolIconForName = clichat.ToolIconForName
ToolIconForName re-exports the clichat.ToolIconForName function.
var ToolNameStyle = clichat.ToolNameStyle
ToolNameStyle re-exports the clichat.ToolNameStyle variable.
var ToolOkStyle = clichat.ToolOkStyle
ToolOkStyle re-exports the clichat.ToolOkStyle variable.
var ToolPathStyle = clichat.ToolPathStyle
ToolPathStyle re-exports the clichat.ToolPathStyle variable.
var ToolResultFailed = clichat.ToolResultFailed
ToolResultFailed re-exports the clichat.ToolResultFailed function.
var ToolStatusLine = clichat.ToolStatusLine
ToolStatusLine re-exports the clichat.ToolStatusLine function.
var ToolTimeStyle = clichat.ToolTimeStyle
ToolTimeStyle re-exports the clichat.ToolTimeStyle variable.
var ToolWaveCounts = clichat.ToolWaveCounts
ToolWaveCounts re-exports the clichat.ToolWaveCounts function.
var TruncatePreviewUTF8 = clichat.TruncatePreviewUTF8
TruncatePreviewUTF8 re-exports the clichat.TruncatePreviewUTF8 function.
var TruncateToWidth = clichat.TruncateToWidth
TruncateToWidth re-exports the clichat.TruncateToWidth function.
var TuiHelpCommands = clichat.TuiHelpCommands
TuiHelpCommands re-exports the clichat.TuiHelpCommands function.
var UserBubble = clichat.UserBubble
UserBubble re-exports the clichat.UserBubble variable.
var UserLabelStyle = clichat.UserLabelStyle
UserLabelStyle re-exports the clichat.UserLabelStyle variable.
var UserRailStyle = clichat.UserRailStyle
UserRailStyle re-exports the clichat.UserRailStyle variable.
var ValidateKeyRegistry = clichat.ValidateKeyRegistry
ValidateKeyRegistry re-exports the clichat.ValidateKeyRegistry function.
var ValidateWorkspaceRestart = clichat.ValidateWorkspaceRestart
ValidateWorkspaceRestart re-exports the clichat.ValidateWorkspaceRestart function.
var VisibleWidth = clichat.VisibleWidth
VisibleWidth re-exports the clichat.VisibleWidth function.
var VisualLineCount = clichat.VisualLineCount
VisualLineCount re-exports the clichat.VisualLineCount function.
var WorkGroupCollapsedDefault = clichat.WorkGroupCollapsedDefault
WorkGroupCollapsedDefault re-exports the clichat.WorkGroupCollapsedDefault function.
var WrapANSIv2 = clichat.WrapANSIv2
WrapANSIv2 re-exports the clichat.WrapANSIv2 function.
var WrapDisplayRows = clichat.WrapDisplayRows
WrapDisplayRows re-exports the clichat.WrapDisplayRows function.
var WrapDisplayRowsWithSources = clichat.WrapDisplayRowsWithSources
WrapDisplayRowsWithSources re-exports the clichat.WrapDisplayRowsWithSources function.
var WriteAutosaveStatus = clichat.WriteAutosaveStatus
WriteAutosaveStatus re-exports the clichat.WriteAutosaveStatus function.
Functions ¶
func ActiveCoordinator ¶
func ActiveCoordinator() (coordinator.Coordinator, bool)
ActiveCoordinator delegates to cliorchestrate.ActiveCoordinator.
func FindCoordinator ¶
func FindCoordinator() coordinator.Coordinator
FindCoordinator delegates to cliorchestrate.FindCoordinator.
func FindDispatcher ¶
func FindDispatcher() *runtime.Dispatcher
FindDispatcher delegates to cliorchestrate.FindDispatcher.
func FormatListedRuns ¶
func FormatListedRuns(runs []coordinator.RecoveredRun) string
FormatListedRuns delegates to cliorchestrate.FormatListedRuns.
func FormatResumeConfirmation ¶
func FormatResumeConfirmation(info ResumeConfirmationInfo) string
FormatResumeConfirmation delegates to cliorchestrate.FormatResumeConfirmation.
func FormatResumeError ¶
FormatResumeError delegates to cliorchestrate.FormatResumeError.
func ListInterruptedRuns ¶
func ListInterruptedRuns(ctx context.Context, c coordinator.Coordinator) ([]coordinator.RecoveredRun, error)
ListInterruptedRuns delegates to cliorchestrate.ListInterruptedRuns.
func ParseConfirmResponse ¶
ParseConfirmResponse delegates to cliorchestrate.ParseConfirmResponse.
func ResumeRun ¶
func ResumeRun(ctx context.Context, c coordinator.Coordinator, d *runtime.Dispatcher, runID string, repo ledger.LedgerRepository) (*cliorchestrate.OrchestrationHandleForTest, error)
ResumeRun delegates to cliorchestrate.ResumeRun.
func SetActiveSessionCaller ¶
SetActiveSessionCaller delegates to cliorchestrate.SetActiveSessionCaller.
func SetTUILauncher ¶
func SetTUILauncher(fn func(sess *chat.Session, res *config.Resolved, toolsOn bool, agentState *AgentSessionState, resumeSessionName string) error)
SetTUILauncher wires the TUI backend. Called once during process startup, before any command that might launch the TUI runs.
Types ¶
type AgentBinding ¶
type AgentBinding = cliagents.AgentBinding
Type aliases for types moved to internal/cliagents.
type AgentCatalogRow ¶
type AgentCatalogRow = cliagents.AgentCatalogRow
Type aliases for types moved to internal/cliagents.
type AgentCatalogView ¶
type AgentCatalogView = cliagents.AgentCatalogView
Type aliases for types moved to internal/cliagents.
type AgentListRow ¶
type AgentListRow = cliagents.AgentListRow
Type aliases for types moved to internal/cliagents.
type AgentLoadResult ¶
type AgentLoadResult = cliagents.AgentLoadResult
Type aliases for types moved to internal/cliagents.
type AgentSessionContext ¶
type AgentSessionContext = cliagents.AgentSessionContext
Type aliases for types moved to internal/cliagents.
type AgentSessionState ¶
type AgentSessionState = cliagents.AgentSessionState
Type aliases for types moved to internal/cliagents.
type AgentSkillScope ¶
type AgentSkillScope = cliagents.AgentSkillScope
Type aliases for types moved to internal/cliagents.
type AgentSurface ¶
type AgentSurface = cliagents.AgentSurface
AgentSurface is re-exported from cliagents for cross-package test use.
type BridgeDrain ¶
type BridgeDrain = clichat.BridgeDrain
BridgeDrain re-exports the clichat.BridgeDrain type.
type BridgeToolEvt ¶
type BridgeToolEvt = clichat.BridgeToolEvt
BridgeToolEvt re-exports the clichat.BridgeToolEvt type.
type ChatBlockEvent ¶
type ChatBlockEvent = clichat.ChatBlockEvent
ChatBlockEvent re-exports the clichat.ChatBlockEvent type.
type ChatBlockKind ¶
type ChatBlockKind = clichat.ChatBlockKind
ChatBlockKind re-exports the clichat.ChatBlockKind type.
type ChatBlockRender ¶
type ChatBlockRender = clichat.ChatBlockRender
ChatBlockRender re-exports the clichat.ChatBlockRender type.
type ChatInvocation ¶
type ChatInvocation = clichat.ChatInvocation
ChatInvocation re-exports the clichat.ChatInvocation type.
type ChatRenderer ¶
type ChatRenderer = clichat.ChatRenderer
ChatRenderer re-exports the clichat.ChatRenderer type.
type ContextDispatcherWiring ¶
type ContextDispatcherWiring = cliagents.ContextDispatcherWiring
Type aliases for types moved to internal/cliagents.
type DialogLayout ¶
type DialogLayout = clichat.DialogLayout
DialogLayout re-exports the clichat.DialogLayout type.
type DialogPrefs ¶
type DialogPrefs = clichat.DialogPrefs
DialogPrefs re-exports the clichat.DialogPrefs type.
type ResumeConfirmationInfo ¶
type ResumeConfirmationInfo = cliorchestrate.ResumeConfirmationInfo
ResumeConfirmationInfo is the type alias for cliorchestrate.ResumeConfirmationInfo.
type SchemaMass ¶
type SchemaMass = cliagents.SchemaMass
Type aliases for types moved to internal/cliagents.
type SessionDispatcherOpts ¶
type SessionDispatcherOpts = cliagents.SessionDispatcherOpts
Type aliases for types moved to internal/cliagents.
type SessionRouting ¶
type SessionRouting = clichat.SessionRouting
SessionRouting re-exports the clichat.SessionRouting type.
type SlashCommand ¶
type SlashCommand = clichat.SlashCommand
SlashCommand re-exports the clichat.SlashCommand type.
type StreamBridge ¶
type StreamBridge = clichat.StreamBridge
StreamBridge re-exports the clichat.StreamBridge type.
type SubagentRun ¶
type SubagentRun = clichat.SubagentRun
SubagentRun re-exports the clichat.SubagentRun type.
type SubagentTracker ¶
type SubagentTracker = clichat.SubagentTracker
SubagentTracker re-exports the clichat.SubagentTracker type.
type ToolRenderItem ¶
type ToolRenderItem = clichat.ToolRenderItem
ToolRenderItem re-exports the clichat.ToolRenderItem type.
type ToolTierPlan ¶
type ToolTierPlan = cliagents.ToolTierPlan
Type aliases for types moved to internal/cliagents.
Source Files
¶
- auth_shared.go
- cliagents_aliases.go
- cliagents_wiring.go
- clichat_aliases_render.go
- clichat_aliases_repl.go
- clichat_aliases_session.go
- clichat_aliases_stack.go
- clichat_aliases_theme.go
- clichat_wiring.go
- cliworkflow_wiring.go
- cliworktree_wiring.go
- completion.go
- config_cmd.go
- errors.go
- hooks_command.go
- hooks_runner.go
- login.go
- logout.go
- memory_command.go
- memory_store.go
- orchestration_wrappers.go
- register.go
- resume_wrappers.go
- root.go
- setup.go
- stack_command.go
- tui_launcher.go
- verify.go