{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.14.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package wconfig\n\n## Constants\n\n```go\nconst (\n\tConfigKey_AppClear                      = \"app:*\"\n\tConfigKey_AppGlobalHotkey               = \"app:globalhotkey\"\n\tConfigKey_AppDismissArchitectureWarning = \"app:dismissarchitecturewarning\"\n\tConfigKey_AppDefaultNewBlock            = \"app:defaultnewblock\"\n\tConfigKey_AppShowOverlayBlockNums       = \"app:showoverlayblocknums\"\n\tConfigKey_AppCtrlVPaste                 = \"app:ctrlvpaste\"\n\tConfigKey_AppConfirmQuit                = \"app:confirmquit\"\n\tConfigKey_AppHideAiButton               = \"app:hideaibutton\"\n\tConfigKey_AppDisableCtrlShiftArrows     = \"app:disablectrlshiftarrows\"\n\tConfigKey_AppDisableCtrlShiftDisplay    = \"app:disablectrlshiftdisplay\"\n\tConfigKey_AppFocusFollowsCursor         = \"app:focusfollowscursor\"\n\tConfigKey_AppTabBar                     = \"app:tabbar\"\n\n\tConfigKey_FeatureWaveAppBuilder = \"feature:waveappbuilder\"\n\n\tConfigKey_AiClear         = \"ai:*\"\n\tConfigKey_AiPreset        = \"ai:preset\"\n\tConfigKey_AiApiType       = \"ai:apitype\"\n\tConfigKey_AiBaseURL       = \"ai:baseurl\"\n\tConfigKey_AiApiToken      = \"ai:apitoken\"\n\tConfigKey_AiName          = \"ai:name\"\n\tConfigKey_AiModel         = \"ai:model\"\n\tConfigKey_AiOrgID         = \"ai:orgid\"\n\tConfigKey_AIApiVersion    = \"ai:apiversion\"\n\tConfigKey_AiMaxTokens     = \"ai:maxtokens\"\n\tConfigKey_AiTimeoutMs     = \"ai:timeoutms\"\n\tConfigKey_AiProxyUrl      = \"ai:proxyurl\"\n\tConfigKey_AiFontSize      = \"ai:fontsize\"\n\tConfigKey_AiFixedFontSize = \"ai:fixedfontsize\"\n\n\tConfigKey_WaveAiShowCloudModes = \"waveai:showcloudmodes\"\n\tConfigKey_WaveAiDefaultMode    = \"waveai:defaultmode\"\n\n\tConfigKey_TermClear                  = \"term:*\"\n\tConfigKey_TermFontSize               = \"term:fontsize\"\n\tConfigKey_TermFontFamily             = \"term:fontfamily\"\n\tConfigKey_TermTheme                  = \"term:theme\"\n\tConfigKey_TermDisableWebGl           = \"term:disablewebgl\"\n\tConfigKey_TermLocalShellPath         = \"term:localshellpath\"\n\tConfigKey_TermLocalShellOpts         = \"term:localshellopts\"\n\tConfigKey_TermGitBashPath            = \"term:gitbashpath\"\n\tConfigKey_TermScrollback             = \"term:scrollback\"\n\tConfigKey_TermCopyOnSelect           = \"term:copyonselect\"\n\tConfigKey_TermTransparency           = \"term:transparency\"\n\tConfigKey_TermAllowBracketedPaste    = \"term:allowbracketedpaste\"\n\tConfigKey_TermShiftEnterNewline      = \"term:shiftenternewline\"\n\tConfigKey_TermMacOptionIsMeta        = \"term:macoptionismeta\"\n\tConfigKey_TermCursor                 = \"term:cursor\"\n\tConfigKey_TermCursorBlink            = \"term:cursorblink\"\n\tConfigKey_TermBellSound              = \"term:bellsound\"\n\tConfigKey_TermBellIndicator          = \"term:bellindicator\"\n\tConfigKey_TermOsc52                  = \"term:osc52\"\n\tConfigKey_TermDurable                = \"term:durable\"\n\tConfigKey_TermShowSplitButtons       = \"term:showsplitbuttons\"\n\tConfigKey_TermTrimTrailingWhitespace = \"term:trimtrailingwhitespace\"\n\n\tConfigKey_EditorMinimapEnabled      = \"editor:minimapenabled\"\n\tConfigKey_EditorStickyScrollEnabled = \"editor:stickyscrollenabled\"\n\tConfigKey_EditorWordWrap            = \"editor:wordwrap\"\n\tConfigKey_EditorFontSize            = \"editor:fontsize\"\n\tConfigKey_EditorInlineDiff          = \"editor:inlinediff\"\n\n\tConfigKey_WebClear               = \"web:*\"\n\tConfigKey_WebOpenLinksInternally = \"web:openlinksinternally\"\n\tConfigKey_WebDefaultUrl          = \"web:defaulturl\"\n\tConfigKey_WebDefaultSearch       = \"web:defaultsearch\"\n\n\tConfigKey_AutoUpdateClear         = \"autoupdate:*\"\n\tConfigKey_AutoUpdateEnabled       = \"autoupdate:enabled\"\n\tConfigKey_AutoUpdateIntervalMs    = \"autoupdate:intervalms\"\n\tConfigKey_AutoUpdateInstallOnQuit = \"autoupdate:installonquit\"\n\tConfigKey_AutoUpdateChannel       = \"autoupdate:channel\"\n\n\tConfigKey_MarkdownFontSize      = \"markdown:fontsize\"\n\tConfigKey_MarkdownFixedFontSize = \"markdown:fixedfontsize\"\n\n\tConfigKey_PreviewShowHiddenFiles = \"preview:showhiddenfiles\"\n\tConfigKey_PreviewDefaultSort     = \"preview:defaultsort\"\n\n\tConfigKey_TabPreset       = \"tab:preset\"\n\tConfigKey_TabConfirmClose = \"tab:confirmclose\"\n\tConfigKey_TabBackground   = \"tab:background\"\n\n\tConfigKey_WidgetClear    = \"widget:*\"\n\tConfigKey_WidgetShowHelp = \"widget:showhelp\"\n\n\tConfigKey_WindowClear                         = \"window:*\"\n\tConfigKey_WindowFullscreenOnLaunch            = \"window:fullscreenonlaunch\"\n\tConfigKey_WindowTransparent                   = \"window:transparent\"\n\tConfigKey_WindowBlur                          = \"window:blur\"\n\tConfigKey_WindowOpacity                       = \"window:opacity\"\n\tConfigKey_WindowBgColor                       = \"window:bgcolor\"\n\tConfigKey_WindowReducedMotion                 = \"window:reducedmotion\"\n\tConfigKey_WindowTileGapSize                   = \"window:tilegapsize\"\n\tConfigKey_WindowShowMenuBar                   = \"window:showmenubar\"\n\tConfigKey_WindowNativeTitleBar                = \"window:nativetitlebar\"\n\tConfigKey_WindowDisableHardwareAcceleration   = \"window:disablehardwareacceleration\"\n\tConfigKey_WindowMaxTabCacheSize               = \"window:maxtabcachesize\"\n\tConfigKey_WindowMagnifiedBlockOpacity         = \"window:magnifiedblockopacity\"\n\tConfigKey_WindowMagnifiedBlockSize            = \"window:magnifiedblocksize\"\n\tConfigKey_WindowMagnifiedBlockBlurPrimaryPx   = \"window:magnifiedblockblurprimarypx\"\n\tConfigKey_WindowMagnifiedBlockBlurSecondaryPx = \"window:magnifiedblockblursecondarypx\"\n\tConfigKey_WindowConfirmClose                  = \"window:confirmclose\"\n\tConfigKey_WindowSaveLastWindow                = \"window:savelastwindow\"\n\tConfigKey_WindowDimensions                    = \"window:dimensions\"\n\tConfigKey_WindowZoom                          = \"window:zoom\"\n\n\tConfigKey_TelemetryClear   = \"telemetry:*\"\n\tConfigKey_TelemetryEnabled = \"telemetry:enabled\"\n\n\tConfigKey_ConnClear                = \"conn:*\"\n\tConfigKey_ConnAskBeforeWshInstall  = \"conn:askbeforewshinstall\"\n\tConfigKey_ConnWshEnabled           = \"conn:wshenabled\"\n\tConfigKey_ConnLocalHostnameDisplay = \"conn:localhostdisplayname\"\n\n\tConfigKey_DebugClear               = \"debug:*\"\n\tConfigKey_DebugPprofPort           = \"debug:pprofport\"\n\tConfigKey_DebugPprofMemProfileRate = \"debug:pprofmemprofilerate\"\n\tConfigKey_DebugWebGlStatus         = \"debug:webglstatus\"\n\n\tConfigKey_TsunamiClear          = \"tsunami:*\"\n\tConfigKey_TsunamiScaffoldPath   = \"tsunami:scaffoldpath\"\n\tConfigKey_TsunamiSdkReplacePath = \"tsunami:sdkreplacepath\"\n\tConfigKey_TsunamiSdkVersion     = \"tsunami:sdkversion\"\n\tConfigKey_TsunamiGoPath         = \"tsunami:gopath\"\n)\n```\n\n```go\nconst AnySchema = `\n{\n  \"type\": \"object\",\n  \"additionalProperties\": true\n}\n`\n```\n\n```go\nconst ConnectionsFile = \"connections.json\"\n```\n\n```go\nconst ProfilesFile = \"profiles.json\"\n```\n\n```go\nconst SettingsFile = \"settings.json\"\n```\n\n## Functions\n\n```go\nfunc CountCustomSettings() int\n```\nCountCustomSettings returns the number of settings in the user's settings file. This excludes telemetry:enabled and autoupdate:channel which don't count as customizations.\n\n```go\nfunc DefaultBoolPtr(arg *bool, def bool) bool\n```\n\n```go\nfunc GetConfigSubdirs() []string\n```\n\n```go\nfunc MigratePresetsBackgrounds()\n```\n\n```go\nfunc SetBaseConfigValue(toMerge waveobj.MetaMapType) error\n```\n\n```go\nfunc SetConnectionsConfigValue(connName string, toMerge waveobj.MetaMapType) error\n```\n\n```go\nfunc SortFileNameDescend(files []fs.DirEntry)\n```\n\n```go\nfunc WriteWaveHomeConfigFile(fileName string, m waveobj.MetaMapType) error\n```\n\n## Types\n\n```go\ntype AIModeConfigType struct {\n\tDisplayName        string   `json:\"display:name\"`\n\tDisplayOrder       float64  `json:\"display:order,omitempty\"`\n\tDisplayIcon        string   `json:\"display:icon,omitempty\"`\n\tDisplayDescription string   `json:\"display:description,omitempty\"`\n\tProvider           string   `json:\"ai:provider,omitempty\" jsonschema:\"enum=wave,enum=google,enum=groq,enum=openrouter,enum=nanogpt,enum=openai,enum=azure,enum=azure-legacy,enum=custom\"`\n\tAPIType            string   `json:\"ai:apitype,omitempty\" jsonschema:\"enum=google-gemini,enum=openai-responses,enum=openai-chat\"`\n\tModel              string   `json:\"ai:model,omitempty\"`\n\tThinkingLevel      string   `json:\"ai:thinkinglevel,omitempty\" jsonschema:\"enum=low,enum=medium,enum=high\"`\n\tVerbosity          string   `json:\"ai:verbosity,omitempty\" jsonschema:\"enum=low,enum=medium,enum=high,description=Text verbosity level (OpenAI Responses API only)\"`\n\tEndpoint           string   `json:\"ai:endpoint,omitempty\"`\n\tProxyURL           string   `json:\"ai:proxyurl,omitempty\"`\n\tAzureAPIVersion    string   `json:\"ai:azureapiversion,omitempty\"`\n\tAPIToken           string   `json:\"ai:apitoken,omitempty\"`\n\tAPITokenSecretName string   `json:\"ai:apitokensecretname,omitempty\"`\n\tAzureResourceName  string   `json:\"ai:azureresourcename,omitempty\"`\n\tAzureDeployment    string   `json:\"ai:azuredeployment,omitempty\"`\n\tCapabilities       []string `json:\"ai:capabilities,omitempty\" jsonschema:\"enum=pdfs,enum=images,enum=tools\"`\n\tSwitchCompat       []string `json:\"ai:switchcompat,omitempty\"`\n\tWaveAICloud        bool     `json:\"waveai:cloud,omitempty\"`\n\tWaveAIPremium      bool     `json:\"waveai:premium,omitempty\"`\n}\n```\nWave AI panel mode configuration (NEW)\n\n```go\ntype AIModeConfigUpdate struct {\n\tConfigs map[string]AIModeConfigType `json:\"configs\"`\n}\n```\n\n```go\ntype AiSettingsType struct {\n\tAiClear         bool    `json:\"ai:*,omitempty\"`\n\tAiPreset        string  `json:\"ai:preset,omitempty\"`\n\tAiApiType       string  `json:\"ai:apitype,omitempty\"`\n\tAiBaseURL       string  `json:\"ai:baseurl,omitempty\"`\n\tAiApiToken      string  `json:\"ai:apitoken,omitempty\"`\n\tAiName          string  `json:\"ai:name,omitempty\"`\n\tAiModel         string  `json:\"ai:model,omitempty\"`\n\tAiOrgID         string  `json:\"ai:orgid,omitempty\"`\n\tAIApiVersion    string  `json:\"ai:apiversion,omitempty\"`\n\tAiMaxTokens     float64 `json:\"ai:maxtokens,omitempty\"`\n\tAiTimeoutMs     float64 `json:\"ai:timeoutms,omitempty\"`\n\tAiProxyUrl      string  `json:\"ai:proxyurl,omitempty\"`\n\tAiFontSize      float64 `json:\"ai:fontsize,omitempty\"`\n\tAiFixedFontSize float64 `json:\"ai:fixedfontsize,omitempty\"`\n\tDisplayName     string  `json:\"display:name,omitempty\"`\n\tDisplayOrder    float64 `json:\"display:order,omitempty\"`\n}\n```\nold AI Widget presets (deprecated)\n\n```go\nfunc MergeAiSettings(settings ...*AiSettingsType) *AiSettingsType\n```\n\n```go\ntype BackgroundConfigType struct {\n\tBg                  string  `json:\"bg,omitempty\" jsonschema_description:\"CSS background property value\"`\n\tBgOpacity           float64 `json:\"bg:opacity,omitempty\" jsonschema_description:\"Background opacity (0.0-1.0)\"`\n\tBgBlendMode         string  `json:\"bg:blendmode,omitempty\" jsonschema_description:\"CSS background-blend-mode property value\"`\n\tBgBorderColor       string  `json:\"bg:bordercolor,omitempty\" jsonschema_description:\"Block frame border color\"`\n\tBgActiveBorderColor string  `json:\"bg:activebordercolor,omitempty\" jsonschema_description:\"Block frame focused border color\"`\n\tDisplayName         string  `json:\"display:name\" jsonschema_description:\"The name shown in the context menu\"`\n\tDisplayOrder        float64 `json:\"display:order,omitempty\" jsonschema_description:\"Determines the order of the background in the context menu\"`\n}\n```\n\n```go\ntype ConfigError struct {\n\tFile string `json:\"file\"`\n\tErr  string `json:\"err\"`\n}\n```\n\n```go\nfunc ReadDefaultsConfigFile(fileName string) (waveobj.MetaMapType, []ConfigError)\n```\n\n```go\nfunc ReadWaveHomeConfigFile(fileName string) (waveobj.MetaMapType, []ConfigError)\n```\n\n```go\ntype ConfigUpdateHandler func(FullConfigType)\n```\n\n```go\ntype ConnKeywords struct {\n\tConnWshEnabled          *bool  `json:\"conn:wshenabled,omitempty\"`\n\tConnAskBeforeWshInstall *bool  `json:\"conn:askbeforewshinstall,omitempty\"`\n\tConnWshPath             string `json:\"conn:wshpath,omitempty\"`\n\tConnShellPath           string `json:\"conn:shellpath,omitempty\"`\n\tConnIgnoreSshConfig     *bool  `json:\"conn:ignoresshconfig,omitempty\"`\n\n\tDisplayHidden *bool   `json:\"display:hidden,omitempty\"`\n\tDisplayOrder  float32 `json:\"display:order,omitempty\"`\n\n\tTermClear      bool    `json:\"term:*,omitempty\"`\n\tTermFontSize   float64 `json:\"term:fontsize,omitempty\"`\n\tTermFontFamily string  `json:\"term:fontfamily,omitempty\"`\n\tTermTheme      string  `json:\"term:theme,omitempty\"`\n\tTermDurable    *bool   `json:\"term:durable,omitempty\"`\n\n\tCmdEnv            map[string]string `json:\"cmd:env,omitempty\"`\n\tCmdInitScript     string            `json:\"cmd:initscript,omitempty\"`\n\tCmdInitScriptSh   string            `json:\"cmd:initscript.sh,omitempty\"`\n\tCmdInitScriptBash string            `json:\"cmd:initscript.bash,omitempty\"`\n\tCmdInitScriptZsh  string            `json:\"cmd:initscript.zsh,omitempty\"`\n\tCmdInitScriptPwsh string            `json:\"cmd:initscript.pwsh,omitempty\"`\n\tCmdInitScriptFish string            `json:\"cmd:initscript.fish,omitempty\"`\n\n\tSshUser                         *string  `json:\"ssh:user,omitempty\"`\n\tSshHostName                     *string  `json:\"ssh:hostname,omitempty\"`\n\tSshPort                         *string  `json:\"ssh:port,omitempty\"`\n\tSshIdentityFile                 []string `json:\"ssh:identityfile,omitempty\"`\n\tSshPasswordSecretName           *string  `json:\"ssh:passwordsecretname,omitempty\"`\n\tSshBatchMode                    *bool    `json:\"ssh:batchmode,omitempty\"`\n\tSshPubkeyAuthentication         *bool    `json:\"ssh:pubkeyauthentication,omitempty\"`\n\tSshPasswordAuthentication       *bool    `json:\"ssh:passwordauthentication,omitempty\"`\n\tSshKbdInteractiveAuthentication *bool    `json:\"ssh:kbdinteractiveauthentication,omitempty\"`\n\tSshPreferredAuthentications     []string `json:\"ssh:preferredauthentications,omitempty\"`\n\tSshAddKeysToAgent               *bool    `json:\"ssh:addkeystoagent,omitempty\"`\n\tSshIdentityAgent                *string  `json:\"ssh:identityagent,omitempty\"`\n\tSshIdentitiesOnly               *bool    `json:\"ssh:identitiesonly,omitempty\"`\n\tSshProxyJump                    []string `json:\"ssh:proxyjump,omitempty\"`\n\tSshUserKnownHostsFile           []string `json:\"ssh:userknownhostsfile,omitempty\"`\n\tSshGlobalKnownHostsFile         []string `json:\"ssh:globalknownhostsfile,omitempty\"`\n}\n```\n\n```go\ntype FullConfigType struct {\n\tSettings       SettingsType                    `json:\"settings\" merge:\"meta\"`\n\tMimeTypes      map[string]MimeTypeConfigType   `json:\"mimetypes\"`\n\tDefaultWidgets map[string]WidgetConfigType     `json:\"defaultwidgets\"`\n\tWidgets        map[string]WidgetConfigType     `json:\"widgets\"`\n\tPresets        map[string]waveobj.MetaMapType  `json:\"presets\"`\n\tBackgrounds    map[string]BackgroundConfigType `json:\"backgrounds\"`\n\tTermThemes     map[string]TermThemeType        `json:\"termthemes\"`\n\tConnections    map[string]ConnKeywords         `json:\"connections\"`\n\tBookmarks      map[string]WebBookmark          `json:\"bookmarks\"`\n\tWaveAIModes    map[string]AIModeConfigType     `json:\"waveai\"`\n\tConfigErrors   []ConfigError                   `json:\"configerrors\" configfile:\"-\"`\n\tVersion        string                          `json:\"version\" configfile:\"-\"`\n\tBuildTime      string                          `json:\"buildtime\" configfile:\"-\"`\n}\n```\n\n```go\nfunc ReadFullConfig() FullConfigType\n```\nthis function should only be called by the wconfig code. in golang code, the best way to get the current config is via the watcher -- wconfig.GetWatcher().GetFullConfig()\n\n```go\nfunc (fc *FullConfigType) CountCustomAIModes() int\n```\nCountCustomAIModes returns the number of custom AI modes the user has defined. Custom AI modes are identified as modes that don't start with \"waveai@\".\n\n```go\nfunc (fc *FullConfigType) CountCustomAIPresets() int\n```\nCountCustomAIPresets returns the number of custom AI presets the user has defined. Custom AI presets are identified as presets that start with \"ai@\" but aren't \"ai@global\" or \"ai@wave\".\n\n```go\nfunc (fc *FullConfigType) CountCustomWidgets() int\n```\nCountCustomWidgets returns the number of custom widgets the user has defined. Custom widgets are identified as widgets whose ID doesn't start with \"defwidget@\".\n\n```go\ntype MimeTypeConfigType struct {\n\tIcon  string `json:\"icon\"`\n\tColor string `json:\"color\"`\n}\n```\n\n```go\ntype SettingsType struct {\n\tAppClear                      bool   `json:\"app:*,omitempty\"`\n\tAppGlobalHotkey               string `json:\"app:globalhotkey,omitempty\"`\n\tAppDismissArchitectureWarning bool   `json:\"app:dismissarchitecturewarning,omitempty\"`\n\tAppDefaultNewBlock            string `json:\"app:defaultnewblock,omitempty\"`\n\tAppShowOverlayBlockNums       *bool  `json:\"app:showoverlayblocknums,omitempty\"`\n\tAppCtrlVPaste                 *bool  `json:\"app:ctrlvpaste,omitempty\"`\n\tAppConfirmQuit                *bool  `json:\"app:confirmquit,omitempty\"`\n\tAppHideAiButton               bool   `json:\"app:hideaibutton,omitempty\"`\n\tAppDisableCtrlShiftArrows     bool   `json:\"app:disablectrlshiftarrows,omitempty\"`\n\tAppDisableCtrlShiftDisplay    bool   `json:\"app:disablectrlshiftdisplay,omitempty\"`\n\tAppFocusFollowsCursor         string `json:\"app:focusfollowscursor,omitempty\" jsonschema:\"enum=off,enum=on,enum=term\"`\n\tAppTabBar                     string `json:\"app:tabbar,omitempty\" jsonschema:\"enum=top,enum=left\"`\n\n\tFeatureWaveAppBuilder bool `json:\"feature:waveappbuilder,omitempty\"`\n\n\tAiClear         bool    `json:\"ai:*,omitempty\"`\n\tAiPreset        string  `json:\"ai:preset,omitempty\"`\n\tAiApiType       string  `json:\"ai:apitype,omitempty\"`\n\tAiBaseURL       string  `json:\"ai:baseurl,omitempty\"`\n\tAiApiToken      string  `json:\"ai:apitoken,omitempty\"`\n\tAiName          string  `json:\"ai:name,omitempty\"`\n\tAiModel         string  `json:\"ai:model,omitempty\"`\n\tAiOrgID         string  `json:\"ai:orgid,omitempty\"`\n\tAIApiVersion    string  `json:\"ai:apiversion,omitempty\"`\n\tAiMaxTokens     float64 `json:\"ai:maxtokens,omitempty\"`\n\tAiTimeoutMs     float64 `json:\"ai:timeoutms,omitempty\"`\n\tAiProxyUrl      string  `json:\"ai:proxyurl,omitempty\"`\n\tAiFontSize      float64 `json:\"ai:fontsize,omitempty\"`\n\tAiFixedFontSize float64 `json:\"ai:fixedfontsize,omitempty\"`\n\n\tWaveAiShowCloudModes bool   `json:\"waveai:showcloudmodes,omitempty\"`\n\tWaveAiDefaultMode    string `json:\"waveai:defaultmode,omitempty\"`\n\n\tTermClear                  bool     `json:\"term:*,omitempty\"`\n\tTermFontSize               float64  `json:\"term:fontsize,omitempty\"`\n\tTermFontFamily             string   `json:\"term:fontfamily,omitempty\"`\n\tTermTheme                  string   `json:\"term:theme,omitempty\"`\n\tTermDisableWebGl           bool     `json:\"term:disablewebgl,omitempty\"`\n\tTermLocalShellPath         string   `json:\"term:localshellpath,omitempty\"`\n\tTermLocalShellOpts         []string `json:\"term:localshellopts,omitempty\"`\n\tTermGitBashPath            string   `json:\"term:gitbashpath,omitempty\"`\n\tTermScrollback             *int64   `json:\"term:scrollback,omitempty\"`\n\tTermCopyOnSelect           *bool    `json:\"term:copyonselect,omitempty\"`\n\tTermTransparency           *float64 `json:\"term:transparency,omitempty\"`\n\tTermAllowBracketedPaste    *bool    `json:\"term:allowbracketedpaste,omitempty\"`\n\tTermShiftEnterNewline      *bool    `json:\"term:shiftenternewline,omitempty\"`\n\tTermMacOptionIsMeta        *bool    `json:\"term:macoptionismeta,omitempty\"`\n\tTermCursor                 string   `json:\"term:cursor,omitempty\"`\n\tTermCursorBlink            *bool    `json:\"term:cursorblink,omitempty\"`\n\tTermBellSound              *bool    `json:\"term:bellsound,omitempty\"`\n\tTermBellIndicator          *bool    `json:\"term:bellindicator,omitempty\"`\n\tTermOsc52                  string   `json:\"term:osc52,omitempty\" jsonschema:\"enum=focus,enum=always\"`\n\tTermDurable                *bool    `json:\"term:durable,omitempty\"`\n\tTermShowSplitButtons       bool     `json:\"term:showsplitbuttons,omitempty\"`\n\tTermTrimTrailingWhitespace *bool    `json:\"term:trimtrailingwhitespace,omitempty\"`\n\n\tEditorMinimapEnabled      bool    `json:\"editor:minimapenabled,omitempty\"`\n\tEditorStickyScrollEnabled bool    `json:\"editor:stickyscrollenabled,omitempty\"`\n\tEditorWordWrap            bool    `json:\"editor:wordwrap,omitempty\"`\n\tEditorFontSize            float64 `json:\"editor:fontsize,omitempty\"`\n\tEditorInlineDiff          bool    `json:\"editor:inlinediff,omitempty\"`\n\n\tWebClear               bool   `json:\"web:*,omitempty\"`\n\tWebOpenLinksInternally bool   `json:\"web:openlinksinternally,omitempty\"`\n\tWebDefaultUrl          string `json:\"web:defaulturl,omitempty\"`\n\tWebDefaultSearch       string `json:\"web:defaultsearch,omitempty\"`\n\n\tAutoUpdateClear         bool    `json:\"autoupdate:*,omitempty\"`\n\tAutoUpdateEnabled       bool    `json:\"autoupdate:enabled,omitempty\"`\n\tAutoUpdateIntervalMs    float64 `json:\"autoupdate:intervalms,omitempty\"`\n\tAutoUpdateInstallOnQuit bool    `json:\"autoupdate:installonquit,omitempty\"`\n\tAutoUpdateChannel       string  `json:\"autoupdate:channel,omitempty\"`\n\n\tMarkdownFontSize      float64 `json:\"markdown:fontsize,omitempty\"`\n\tMarkdownFixedFontSize float64 `json:\"markdown:fixedfontsize,omitempty\"`\n\n\tPreviewShowHiddenFiles *bool  `json:\"preview:showhiddenfiles,omitempty\"`\n\tPreviewDefaultSort     string `json:\"preview:defaultsort,omitempty\" jsonschema:\"enum=name,enum=modtime\"`\n\n\tTabPreset       string `json:\"tab:preset,omitempty\"`\n\tTabConfirmClose bool   `json:\"tab:confirmclose,omitempty\"`\n\tTabBackground   string `json:\"tab:background,omitempty\"`\n\n\tWidgetClear    bool  `json:\"widget:*,omitempty\"`\n\tWidgetShowHelp *bool `json:\"widget:showhelp,omitempty\"`\n\n\tWindowClear                         bool     `json:\"window:*,omitempty\"`\n\tWindowFullscreenOnLaunch            bool     `json:\"window:fullscreenonlaunch,omitempty\"`\n\tWindowTransparent                   bool     `json:\"window:transparent,omitempty\"`\n\tWindowBlur                          bool     `json:\"window:blur,omitempty\"`\n\tWindowOpacity                       *float64 `json:\"window:opacity,omitempty\"`\n\tWindowBgColor                       string   `json:\"window:bgcolor,omitempty\"`\n\tWindowReducedMotion                 bool     `json:\"window:reducedmotion,omitempty\"`\n\tWindowTileGapSize                   *int64   `json:\"window:tilegapsize,omitempty\"`\n\tWindowShowMenuBar                   bool     `json:\"window:showmenubar,omitempty\"`\n\tWindowNativeTitleBar                bool     `json:\"window:nativetitlebar,omitempty\"`\n\tWindowDisableHardwareAcceleration   bool     `json:\"window:disablehardwareacceleration,omitempty\"`\n\tWindowMaxTabCacheSize               int      `json:\"window:maxtabcachesize,omitempty\"`\n\tWindowMagnifiedBlockOpacity         *float64 `json:\"window:magnifiedblockopacity,omitempty\"`\n\tWindowMagnifiedBlockSize            *float64 `json:\"window:magnifiedblocksize,omitempty\"`\n\tWindowMagnifiedBlockBlurPrimaryPx   *int64   `json:\"window:magnifiedblockblurprimarypx,omitempty\"`\n\tWindowMagnifiedBlockBlurSecondaryPx *int64   `json:\"window:magnifiedblockblursecondarypx,omitempty\"`\n\tWindowConfirmClose                  bool     `json:\"window:confirmclose,omitempty\"`\n\tWindowSaveLastWindow                bool     `json:\"window:savelastwindow,omitempty\"`\n\tWindowDimensions                    string   `json:\"window:dimensions,omitempty\"`\n\tWindowZoom                          *float64 `json:\"window:zoom,omitempty\"`\n\n\tTelemetryClear   bool `json:\"telemetry:*,omitempty\"`\n\tTelemetryEnabled bool `json:\"telemetry:enabled,omitempty\"`\n\n\tConnClear                bool    `json:\"conn:*,omitempty\"`\n\tConnAskBeforeWshInstall  *bool   `json:\"conn:askbeforewshinstall,omitempty\"`\n\tConnWshEnabled           bool    `json:\"conn:wshenabled,omitempty\"`\n\tConnLocalHostnameDisplay *string `json:\"conn:localhostdisplayname,omitempty\"`\n\n\tDebugClear               bool `json:\"debug:*,omitempty\"`\n\tDebugPprofPort           *int `json:\"debug:pprofport,omitempty\"`\n\tDebugPprofMemProfileRate *int `json:\"debug:pprofmemprofilerate,omitempty\"`\n\tDebugWebGlStatus         bool `json:\"debug:webglstatus,omitempty\"`\n\n\tTsunamiClear          bool   `json:\"tsunami:*,omitempty\"`\n\tTsunamiScaffoldPath   string `json:\"tsunami:scaffoldpath,omitempty\"`\n\tTsunamiSdkReplacePath string `json:\"tsunami:sdkreplacepath,omitempty\"`\n\tTsunamiSdkVersion     string `json:\"tsunami:sdkversion,omitempty\"`\n\tTsunamiGoPath         string `json:\"tsunami:gopath,omitempty\"`\n}\n```\n\n```go\nfunc (s *SettingsType) GetAiSettings() *AiSettingsType\n```\n\n```go\ntype TermThemeType struct {\n\tDisplayName         string  `json:\"display:name\"`\n\tDisplayOrder        float64 `json:\"display:order\"`\n\tBlack               string  `json:\"black\"`\n\tRed                 string  `json:\"red\"`\n\tGreen               string  `json:\"green\"`\n\tYellow              string  `json:\"yellow\"`\n\tBlue                string  `json:\"blue\"`\n\tMagenta             string  `json:\"magenta\"`\n\tCyan                string  `json:\"cyan\"`\n\tWhite               string  `json:\"white\"`\n\tBrightBlack         string  `json:\"brightBlack\"`\n\tBrightRed           string  `json:\"brightRed\"`\n\tBrightGreen         string  `json:\"brightGreen\"`\n\tBrightYellow        string  `json:\"brightYellow\"`\n\tBrightBlue          string  `json:\"brightBlue\"`\n\tBrightMagenta       string  `json:\"brightMagenta\"`\n\tBrightCyan          string  `json:\"brightCyan\"`\n\tBrightWhite         string  `json:\"brightWhite\"`\n\tGray                string  `json:\"gray\"`\n\tCmdText             string  `json:\"cmdtext\"`\n\tForeground          string  `json:\"foreground\"`\n\tSelectionBackground string  `json:\"selectionBackground\"`\n\tBackground          string  `json:\"background\"`\n\tCursor              string  `json:\"cursor\"`\n}\n```\n\n```go\ntype Watcher struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc GetWatcher() *Watcher\n```\nGetWatcher returns the singleton instance of the Watcher\n\n```go\nfunc (w *Watcher) Close()\n```\n\n```go\nfunc (w *Watcher) GetFullConfig() FullConfigType\n```\n\n```go\nfunc (w *Watcher) RegisterUpdateHandler(handler ConfigUpdateHandler)\n```\n\n```go\nfunc (w *Watcher) Start()\n```\n\n```go\ntype WatcherUpdate struct {\n\tFullConfig FullConfigType `json:\"fullconfig\"`\n}\n```\n\n```go\ntype WebBookmark struct {\n\tUrl          string  `json:\"url\"`\n\tTitle        string  `json:\"title,omitempty\"`\n\tIcon         string  `json:\"icon,omitempty\"`\n\tIconColor    string  `json:\"iconcolor,omitempty\"`\n\tIconUrl      string  `json:\"iconurl,omitempty\"`\n\tDisplayOrder float64 `json:\"display:order,omitempty\"`\n}\n```\n\n```go\ntype WidgetConfigType struct {\n\tDisplayOrder  float64          `json:\"display:order,omitempty\"`\n\tDisplayHidden bool             `json:\"display:hidden,omitempty\"`\n\tIcon          string           `json:\"icon,omitempty\"`\n\tColor         string           `json:\"color,omitempty\"`\n\tLabel         string           `json:\"label,omitempty\"`\n\tDescription   string           `json:\"description,omitempty\"`\n\tWorkspaces    []string         `json:\"workspaces,omitempty\"`\n\tMagnified     bool             `json:\"magnified,omitempty\"`\n\tBlockDef      waveobj.BlockDef `json:\"blockdef\"`\n}\n```\n\n","path":"github.com/wavetermdev/waveterm/pkg/wconfig","name":"wconfig","synopsis":"","isRedistributable":true}
