app

package
v2026.1024.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 47 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type DesktopBridge

type DesktopBridge struct{}

DesktopBridge gives the Wails UI direct access to user-owned Solomon data. Vite middleware is only available to the browser development server, while a Wails WebView is served from wails.localhost.

func (DesktopBridge) AtMentionSuggestions

func (DesktopBridge) AtMentionSuggestions(entries []desktopAtMentionEntry, query string) []desktopAtMentionSuggestion

AtMentionSuggestions lets virtual GUI folders (such as test chats) use the terminal's matching and tag-shortening implementation without duplicating it in TypeScript.

func (DesktopBridge) CheckoutHomeDirectoryBranch

func (DesktopBridge) CheckoutHomeDirectoryBranch(relativePath, branch string) (desktopProjectBranches, error)

func (DesktopBridge) CheckoutProjectBranch

func (DesktopBridge) CheckoutProjectBranch(projectID, branch string) (desktopProjectBranches, error)

func (DesktopBridge) ConnectProvider

func (DesktopBridge) ConnectProvider(request desktopConnectProviderRequest) (desktopModelChoice, error)

ConnectProvider delegates provider setup to Solomon's existing connect command flow, including authentication, model discovery, validation, and config persistence.

func (DesktopBridge) CustomizationMcps

func (DesktopBridge) CustomizationMcps() ([]desktopCatalogItem, error)

func (DesktopBridge) CustomizationPromptTemplate

func (DesktopBridge) CustomizationPromptTemplate(id string) (desktopPromptTemplate, error)

func (DesktopBridge) CustomizationPromptTemplates

func (DesktopBridge) CustomizationPromptTemplates() ([]desktopCatalogItem, error)

func (DesktopBridge) CustomizationRules

func (DesktopBridge) CustomizationRules() ([]desktopRule, error)

func (DesktopBridge) CustomizationSkills

func (DesktopBridge) CustomizationSkills() ([]desktopCatalogItem, error)

func (DesktopBridge) CustomizationSubagents

func (DesktopBridge) CustomizationSubagents() ([]desktopCatalogItem, error)

func (DesktopBridge) DeleteCustomizationRule

func (DesktopBridge) DeleteCustomizationRule(ruleID int) ([]desktopRule, error)

func (DesktopBridge) DeleteCustomizationSubagent

func (DesktopBridge) DeleteCustomizationSubagent(id string) ([]desktopCatalogItem, error)

func (DesktopBridge) HomeDirectoryBranches

func (DesktopBridge) HomeDirectoryBranches(relativePath string) (desktopProjectBranches, error)

func (DesktopBridge) HomeDirectoryEntries

func (DesktopBridge) HomeDirectoryEntries(relativePath string) ([]desktopProjectDirectoryEntry, error)

HomeDirectoryEntries returns one directory level below the user's home directory. The requested path is constrained to that home directory.

func (DesktopBridge) HomeDirectoryWorktrees

func (DesktopBridge) HomeDirectoryWorktrees(relativePath string) (desktopProjectWorktrees, error)

func (DesktopBridge) ModelCatalog

func (DesktopBridge) ModelCatalog() (desktopModelCatalog, error)

func (DesktopBridge) ProjectAtMentionSuggestions

func (DesktopBridge) ProjectAtMentionSuggestions(projectID, query string) ([]desktopAtMentionSuggestion, error)

ProjectAtMentionSuggestions delegates matching and tag shortening to the same atmention package used by Solomon's terminal editor.

func (DesktopBridge) ProjectBranches

func (DesktopBridge) ProjectBranches(projectID string) (desktopProjectBranches, error)

func (DesktopBridge) ProjectDirectoryEntries

func (DesktopBridge) ProjectDirectoryEntries(projectID, relativePath string) ([]desktopProjectDirectoryEntry, error)

ProjectDirectoryEntries returns one directory level from a registered project. The relative path is constrained to the project root before it is read.

func (DesktopBridge) ProjectGitHistory

func (DesktopBridge) ProjectGitHistory(projectID string) (desktopProjectGitHistory, error)

ProjectGitHistory returns the latest commits for one registered project.

func (DesktopBridge) ProjectGitStatus

func (DesktopBridge) ProjectGitStatus(projectID string) (desktopProjectGitStatus, error)

ProjectGitStatus returns the staged and unstaged files for one registered project.

func (DesktopBridge) ProjectRemovalInfo

func (DesktopBridge) ProjectRemovalInfo(projectID string) (desktopProjectRemovalInfo, error)

func (DesktopBridge) ProjectResearch

func (DesktopBridge) ProjectResearch(projectID string) ([]research.JobRecord, error)

ProjectResearch returns deep-research jobs persisted for one registered project.

func (DesktopBridge) ProjectResearchReport

func (DesktopBridge) ProjectResearchReport(projectID, researchID string) (string, error)

func (DesktopBridge) ProjectSidebarData

func (DesktopBridge) ProjectSidebarData() (desktopSidebarData, error)

func (DesktopBridge) ProjectWorktrees

func (DesktopBridge) ProjectWorktrees(projectID string) (desktopProjectWorktrees, error)

func (DesktopBridge) RemoveProjectFromDisk

func (DesktopBridge) RemoveProjectFromDisk(projectID string) error

RemoveProjectFromDisk unregisters a project and permanently deletes its Solomon project data, including chats.

func (DesktopBridge) RemoveProjectFromSidebar

func (DesktopBridge) RemoveProjectFromSidebar(projectID string) error

RemoveProjectFromSidebar unregisters a project while keeping its on-disk Solomon data intact.

func (DesktopBridge) ReorderCustomizationRules

func (DesktopBridge) ReorderCustomizationRules(ruleIDs []int) ([]desktopRule, error)

func (DesktopBridge) ResetCustomizationPromptTemplate

func (DesktopBridge) ResetCustomizationPromptTemplate(id string) (desktopPromptTemplate, error)

func (DesktopBridge) RolesTable

func (DesktopBridge) RolesTable() (desktopRolesTable, error)

func (DesktopBridge) SaveCurrentModel

func (DesktopBridge) SaveCurrentModel(providerName, modelID string) (desktopModelChoice, error)

func (DesktopBridge) SaveFastMode

func (DesktopBridge) SaveFastMode(enabled bool) (bool, error)

func (DesktopBridge) SaveReasoningEffort

func (DesktopBridge) SaveReasoningEffort(effort string) (string, error)

func (DesktopBridge) SaveRolesTable

func (DesktopBridge) SaveRolesTable(characteristics []string) (desktopRolesTable, error)

func (DesktopBridge) SaveUserName

func (DesktopBridge) SaveUserName(userName string) (string, error)

func (DesktopBridge) SetModelEnabled

func (DesktopBridge) SetModelEnabled(providerName, modelID string, enabled bool) (desktopModelVisibility, error)

func (DesktopBridge) UpdateCustomizationPromptTemplate

func (DesktopBridge) UpdateCustomizationPromptTemplate(id string, content string) (desktopPromptTemplate, error)

func (DesktopBridge) UpdateCustomizationRule

func (DesktopBridge) UpdateCustomizationRule(ruleID int, text string) ([]desktopRule, error)

func (DesktopBridge) UpdateCustomizationSubagent

func (DesktopBridge) UpdateCustomizationSubagent(id string, detail string, scores []desktopScorePatch) ([]desktopCatalogItem, error)

type ServerBridge

type ServerBridge struct {
	// contains filtered or unexported fields
}

ServerBridge exposes the loopback API gateway to the native WebView. The gateway forwards requests and streams to the daemon discovered in state.

func (ServerBridge) ClipboardImage

func (b ServerBridge) ClipboardImage() (string, error)

ClipboardImage is invoked only by a paste action in the native composer.

func (ServerBridge) DaemonRunning

func (b ServerBridge) DaemonRunning() bool

func (ServerBridge) SetDaemonEnabled

func (b ServerBridge) SetDaemonEnabled(enabled bool) (bool, error)

This binding stays available when the HTTP daemon is down.

func (ServerBridge) URL

func (b ServerBridge) URL() string

Jump to

Keyboard shortcuts

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