Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Dicklesworthstone/slb
/ types & classes
Types & classes
251 in github.com/Dicklesworthstone/slb
⨍
Functions
2,558
◇
Types & classes
251
↓ 55 callers
TypeAlias
Format
Format represents the output format.
internal/output/output.go:16
↓ 40 callers
TypeAlias
RiskTier
RiskTier represents the risk classification of a command.
internal/db/enums.go:7
↓ 8 callers
TypeAlias
RequestStatus
RequestStatus represents the current state of a request.
internal/db/enums.go:43
↓ 5 callers
TypeAlias
stringAddr
internal/daemon/client_test.go:951
↓ 4 callers
TypeAlias
Decision
Decision represents an approval or rejection decision.
internal/db/enums.go:97
↓ 4 callers
FuncType
DesktopNotifierFunc
func(title, message string) error
internal/daemon/notifications.go:60
↓ 2 callers
TypeAlias
FlavorName
FlavorName represents a Catppuccin flavor.
internal/tui/theme/theme.go:44
↓ 2 callers
TypeAlias
RateLimitAction
RateLimitAction determines what to do when limits are exceeded.
internal/core/ratelimit.go:12
↓ 1 callers
TypeAlias
DaemonStatus
DaemonStatus represents the current state of the daemon.
internal/daemon/client.go:25
↓ 1 callers
TypeAlias
SpinnerStyle
SpinnerStyle defines different spinner animation styles.
internal/tui/components/spinner.go:11
↓ 1 callers
TypeAlias
TimeoutAction
TimeoutAction defines what happens when a request times out.
internal/daemon/timeout.go:19
↓ 1 callers
TypeAlias
tickMsg
tickMsg is sent periodically to update the dashboard.
internal/tui/dashboard/model.go:107
↓ 1 callers
TypeAlias
valueKind
Helpers for env + parsing ---------------------------------------------------
internal/config/loader.go:444
Struct
ActivityItem
ActivityItem represents a recent activity entry.
internal/tui/dashboard/model.go:56
Struct
Agent
Agent represents an integrated agent.
internal/integrations/integrations.go:17
Struct
AgentCard
AgentCard renders an agent as a styled card.
internal/tui/components/agentcard.go:36
Struct
AgentData
AgentData holds agent display information.
internal/tui/dashboard/model.go:39
Struct
AgentInfo
AgentInfo holds information about an agent for display.
internal/tui/components/agentcard.go:25
Struct
AgentMailClient
AgentMailClient sends notifications via the Agent Mail MCP CLI if available. This is a best-effort integration; failures are logged and do not block w
internal/integrations/agentmail.go:23
TypeAlias
AgentStatus
AgentStatus represents the status of an agent.
internal/tui/components/agentcard.go:15
TypeAlias
AgentType
AgentType represents a supported agent type.
internal/integrations/integrations.go:6
Struct
AgentsConfig
AgentsConfig holds agent-specific allow/deny lists.
internal/config/config.go:95
TypeAlias
Alias
internal/db/types.go:232
Struct
ApproveKeyMap
ApproveKeyMap defines keybindings for the approval form.
internal/tui/request/approve.go:18
Struct
ApproveModel
ApproveModel is the Bubble Tea model for the approval form.
internal/tui/request/approve.go:43
Struct
Attachment
Attachment represents additional context attached to a request.
internal/db/types.go:67
Struct
AttachmentConfig
AttachmentConfig holds configuration for attachment handling.
internal/core/attachments.go:25
Struct
AttachmentError
AttachmentError represents an attachment processing error.
internal/core/attachments.go:51
Struct
AttachmentFlags
AttachmentFlags holds the attachment-related CLI flags.
internal/cli/attachments.go:13
TypeAlias
AttachmentType
AttachmentType represents the type of attachment.
internal/db/enums.go:115
Struct
AutoApproveDecision
AutoApproveDecision encapsulates the result of the auto-approve decision. This is returned by the pure decision function for testability.
internal/cli/watch.go:336
Struct
BrowserKeyMap
BrowserKeyMap defines keybindings for the history browser.
internal/tui/history/browser.go:27
Struct
CancelResult
CancelResult holds the result of running a function with cancellation.
internal/testutil/context.go:10
Struct
ClaudeHook
internal/integrations/claudehooks.go:19
Struct
ClaudeHooks
internal/integrations/claudehooks.go:15
Struct
ClaudeHooksFile
ClaudeHooksFile is the .claude/hooks.json schema we manage.
internal/integrations/claudehooks.go:11
Struct
ClaudeOnBlock
internal/integrations/claudehooks.go:26
Struct
Client
Client provides methods to interact with the daemon.
internal/daemon/client.go:51
FuncType
ClientOption
ClientOption configures a Client.
internal/daemon/client.go:58
Struct
Column
Column defines a table column.
internal/tui/components/table.go:12
Struct
CommandBox
CommandBox renders a command in a styled box.
internal/tui/components/commandbox.go:13
Struct
CommandCall
CommandCall records a single command invocation.
internal/testutil/executor.go:65
Interface
CommandExecutor
CommandExecutor abstracts command execution for testing. Production code can use RealExecutor, while tests can use MockExecutor.
internal/testutil/executor.go:31
Struct
CommandResult
CommandResult holds the result of running a command.
internal/core/command.go:18
Struct
CommandSequenceMock
CommandSequenceMock returns different outputs for sequential calls. Useful for testing retry logic or multi-step command sequences.
internal/testutil/executor.go:191
Struct
CommandSpec
CommandSpec represents the command to be executed.
internal/db/types.go:37
Struct
Config
Note: Additional imports will be added as needed during implementation. Config is the top-level configuration structure.
internal/config/config.go:8
TypeAlias
ConflictResolution
ConflictResolution specifies how to handle conflicting reviews.
internal/core/review.go:26
Struct
CreateRequestOptions
CreateRequestOptions holds the options for creating a new request.
internal/core/request.go:17
Struct
CreateRequestResult
CreateRequestResult holds the result of creating a request.
internal/core/request.go:37
TypeAlias
CursorRulesMode
CursorRulesMode determines how the section is applied to an existing `.cursorrules`.
internal/integrations/cursor.go:75
Struct
DB
DB wraps the SQLite database connection.
internal/db/db.go:17
Struct
DaemonConfig
DaemonConfig holds daemon process settings.
internal/config/config.go:37
TypeAlias
DaemonStatus
DaemonStatus represents the daemon connection status.
internal/tui/dashboard/model.go:30
Struct
DaemonStatusInfo
DaemonStatusInfo contains daemon status information.
internal/daemon/ipc_client.go:163
Struct
DefaultWebhookNotifier
DefaultWebhookNotifier is the default implementation of WebhookNotifier.
internal/daemon/notifications.go:79
Interface
DesktopNotifier
internal/daemon/notifications.go:56
Struct
DetailKeyMap
DetailKeyMap defines keybindings for the detail view.
internal/tui/request/detail.go:21
TypeAlias
DetailMode
DetailMode represents the current view mode.
internal/tui/request/detail.go:86
Struct
DetailModel
DetailModel is the Bubble Tea model for request detail view.
internal/tui/request/detail.go:98
Struct
DifferentModelEscalationStatus
DifferentModelEscalationStatus contains information about whether a request should be escalated due to no different-model reviewers being available.
internal/core/review.go:411
Struct
DifferentModelStatus
DifferentModelStatus provides information about available different-model reviewers.
internal/db/sessions.go:286
Struct
DryRunResult
DryRunResult contains the results of a dry run.
internal/db/types.go:77
Struct
E2EEnvironment
E2EEnvironment is the test environment for E2E tests. It provides an isolated project directory with: - SQLite database (migrated) - Git repository (
tests/e2e/harness/harness.go:28
Struct
Error
Error represents a JSON-RPC error.
internal/daemon/ipc.go:36
Struct
ErrorPayload
ErrorPayload is the canonical JSON error shape.
internal/output/json.go:9
Struct
Event
Event represents a daemon event sent to subscribers.
internal/daemon/ipc.go:121
Struct
ExecuteOptions
ExecuteOptions holds parameters for command execution.
internal/core/execute.go:31
Struct
Execution
Execution contains information about command execution.
internal/db/types.go:85
Struct
ExecutionDecision
ExecutionDecision represents the result of evaluating whether a request should be executed. This is returned by the pure evaluation function for testa
internal/cli/run.go:334
Struct
ExecutionOutcome
ExecutionOutcome represents the result and feedback for an executed request.
internal/db/outcomes.go:14
Struct
ExecutionResult
ExecutionResult holds the result of command execution.
internal/core/execute.go:53
Struct
Executor
Executor handles command execution with validation.
internal/core/execute.go:71
Struct
FeatureAvailability
FeatureAvailability describes which features are available in current mode.
internal/daemon/client.go:434
Struct
FilesystemRollbackData
internal/core/rollback.go:71
Struct
FilesystemRoot
internal/core/rollback.go:79
Struct
Filters
Filters represents the current filter state.
internal/tui/history/filters.go:33
TypeAlias
FocusPanel
FocusPanel identifies which panel has focus.
internal/tui/dashboard/model.go:21
Struct
GeneralConfig
GeneralConfig holds core behavior knobs.
internal/config/config.go:20
Struct
GitRollbackData
internal/core/rollback.go:84
Struct
Gradient
Gradient represents a color gradient for text.
internal/tui/styles/gradients.go:10
Struct
Harness
Harness is a lightweight integration test environment. It provisions a temp project directory with a `.slb/state.db` and keeps cleanup automatic via
internal/testutil/integration.go:17
Struct
HistoryConfig
HistoryConfig holds history/audit persistence settings.
internal/config/config.go:63
Struct
HistoryRepo
HistoryRepo is an optional separate Git repo used as an audit trail. It stores JSON snapshots of requests, reviews, executions, and pattern changes i
internal/git/history.go:18
Struct
HistoryRow
HistoryRow represents a single row in the history table.
internal/tui/history/browser.go:97
Struct
HookHealthResult
HookHealthResult is the result of a hook health check.
internal/daemon/hook_query.go:146
Struct
HookQueryParams
HookQueryParams are parameters for the hook_query method.
internal/daemon/hook_query.go:14
Struct
HookQueryResult
HookQueryResult is the result of a hook query.
internal/daemon/hook_query.go:21
Struct
IPCClient
IPCClient provides methods to communicate with the daemon via IPC.
internal/daemon/ipc_client.go:18
Struct
IPCServer
IPCServer handles Unix socket IPC for the daemon.
internal/daemon/ipc.go:84
Struct
IconSet
IconSet defines a set of icons for the TUI.
internal/tui/icons/icons.go:10
Struct
IntegrationsConfig
IntegrationsConfig holds external integration toggles.
internal/config/config.go:88
Struct
Justification
Justification provides the reasoning for a command request.
internal/db/types.go:55
Struct
KeyMap
KeyMap defines the keybindings for the dashboard.
internal/tui/dashboard/keybindings.go:7
Struct
KubernetesRollbackData
internal/core/rollback.go:94
Struct
LoadOptions
LoadOptions controls configuration loading.
internal/config/loader.go:16
Struct
LogBuffer
LogBuffer is a test buffer that captures log output.
tests/e2e/harness/logging.go:103
Struct
LogEntry
LogEntry is a single log entry.
tests/e2e/harness/logging.go:108
Struct
LoggerOptions
LoggerOptions configures the logger.
internal/utils/log.go:15
Struct
MatchResult
MatchResult contains the result of pattern matching.
internal/core/patterns.go:31
next →
1–100 of 251, ranked by callers