Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tiddly-gittly/TidGi-Desktop
/ functions
Functions
2,397 in github.com/tiddly-gittly/TidGi-Desktop
⨍
Functions
2,397
◇
Types & classes
645
↓ 525 callers
Method
get
get window, this should not be called in renderer side
src/services/windows/interface.ts:41
↓ 250 callers
Method
log
(level: string, message: string, meta?: Record<string, unknown>)
src/services/native/interface.ts:88
↓ 181 callers
Method
get
(key: K)
src/services/auth/interface.ts:59
↓ 172 callers
Function
useTranslation
()
src/__tests__/__mocks__/react-i18next.ts:27
↓ 143 callers
Function
isWikiWorkspace
(workspace: IWorkspace)
src/services/workspaces/interface.ts:298
↓ 141 callers
Method
set
set window or delete window object by passing undefined (will not close it, only remove reference), this should not be called in renderer side
src/services/windows/interface.ts:75
↓ 118 callers
Method
get
(id: string)
src/services/workspaces/interface.ts:391
↓ 99 callers
Method
delete
* Remove a file path from the index
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:132
↓ 98 callers
Function
callback
(errorMessage?: string)
src/services/htmlWiki/injectHtmlWikiSaverBootstrap.ts:113
↓ 88 callers
Method
has
* Check if a file path exists in the index
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:125
↓ 80 callers
Method
keys
* Iterate over all file paths
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:173
↓ 62 callers
Function
render
(vnode, root)
src/pages/Agent/components/Search/Search.tsx:147
↓ 47 callers
Method
close
* Completely close a window, destroy its all state and WebContentsView. Need more time to restore. Use `hide` if you want to hide it temporarily.
src/services/windows/interface.ts:38
↓ 46 callers
Method
entries
* Iterate over all entries
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:166
↓ 43 callers
Method
open
* Create a new window. Handles setup of window configs. * See `src/services/windows/handleCreateBasicWindow.ts` for `new BrowserWindow` process.
src/services/windows/interface.ts:68
↓ 42 callers
Method
getWorkspacesAsList
()
src/services/workspaces/interface.ts:422
↓ 39 callers
Function
registerCustomComponent
(id: string, component: ComponentType<ICustomItemProps>)
src/windows/Preferences/customComponentRegistry.ts:11
↓ 38 callers
Function
isHtmlWikiWorkspace
(workspace: IWorkspace)
src/services/workspaces/workspacePaths.ts:40
↓ 36 callers
Method
send
(channel: string, payload: unknown)
src/services/libs/i18n/i18next-electron-fs-backend.ts:67
↓ 34 callers
Method
set
(key: K, value: IUserInfos[K])
src/services/auth/interface.ts:71
↓ 34 callers
Method
update
(id: string, workspaceSetting: Partial<IWorkspace>, immediate?: boolean)
src/services/workspaces/interface.ts:460
↓ 33 callers
Method
getView
(workspaceID: string, windowName: WindowNames)
src/services/view/interface.ts:37
↓ 32 callers
Function
render
()
src/services/wiki/hooks.ts:14
↓ 32 callers
Method
values
* Iterate over all file descriptors
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:180
↓ 32 callers
Method
wikiOperationInServer
* Runs wiki related JS script in nodejs server side. * * This will never await if workspaceID isn't exist in user's workspace list. So prefer to
src/services/wiki/interface.ts:87
↓ 31 callers
Method
clear
* Clear all entries from the index
src/services/wiki/plugin/watchFileSystemAdaptor/InverseFilesIndex.ts:152
↓ 30 callers
Function
createAgentFrameworkHooks
()
src/services/agentInstance/tools/index.ts:40
↓ 30 callers
Function
getWikiTestRootPath
(world: ApplicationWorld)
features/supports/paths.ts:101
↓ 30 callers
Function
usePromiseValue
(asyncValue: () => Promise<T>, defaultValue?: AsyncReturnType<typeof asyncValue>, dependency: unknown[] = [])
src/helpers/useServiceValue.ts:11
↓ 29 callers
Function
createWorkerProxy
( worker: Worker, )
src/services/libs/workerAdapter.ts:31
↓ 29 callers
Function
matchToolCalling
(responseText: string)
src/services/agentDefinition/responsePatternUtility.ts:92
↓ 27 callers
Method
remove
(id: string)
src/services/workspaces/interface.ts:450
↓ 27 callers
Method
track
* Track a privacy-safe event. No-ops if analytics disabled or misconfigured. * @param eventName Event name following taxonomy (e.g., 'app.launched'
src/services/analytics/interface.ts:46
↓ 26 callers
Method
create
(newWorkspaceConfig: INewWikiWorkspaceConfig)
src/services/workspaces/interface.ts:390
↓ 25 callers
Function
usePreferenceObservable
()
src/services/preferences/hooks.ts:5
↓ 23 callers
Function
LocalMachineUninstallKey
(subKey: string)
src/services/native/externalApp/win32.ts:72
↓ 23 callers
Method
openDeepLink
* Open a deep link URL programmatically from within the app. * Supports: * - `tidgi://<workspaceId>/#:TiddlerName` — open a tiddler * - `tidg
src/services/deepLink/interface.ts:15
↓ 22 callers
Method
getTiddlerFileInfo
* Main routing logic: determine where a tiddler should be saved based on its tags. * For draft tiddlers, check the original tiddler's tags. *
src/services/wiki/plugin/watchFileSystemAdaptor/FileSystemAdaptor.ts:125
↓ 22 callers
Function
useWorkspaceForm
()
src/windows/EditWorkspace/WorkspaceFormContext.tsx:24
↓ 21 callers
Method
getDatabase
* Get database connection for specific key
src/services/database/interface.ts:71
↓ 21 callers
Function
getWorkspaceByName
(world: ApplicationWorld, workspaceName: string)
features/stepDefinitions/workspaceGroup.ts:69
↓ 20 callers
Function
registerToolDefinition
(definition: ToolDefinition<TConfigSchema, TLLMToolSchemas>)
src/services/agentInstance/tools/toolRegistry.ts:19
↓ 20 callers
Function
renderComponent
(overrides: { value?: string; onChange?: (value: string) => void; label?: string; disabled?: b
src/components/__tests__/KeyboardShortcutRegister.test.tsx:40
↓ 20 callers
Function
showMessage
(message: string, severity: 'success' | 'error' | 'info')
src/windows/Preferences/sections/ExternalAPI/components/ProviderConfig.tsx:117
↓ 19 callers
Function
makeMessage
(overrides: Partial<AgentInstanceMessage>)
src/pages/ChatTabContent/components/MessageRenderer/__tests__/MessageRenderers.test.tsx:52
↓ 19 callers
Method
wikiOperationInBrowser
* Runs wiki related JS script in wiki page to control the wiki. * * Some data may not be available in browser, for example, getTiddlerText will
src/services/wiki/interface.ts:77
↓ 18 callers
Function
createTestMessage
( id: string, role: 'user' | 'assistant' = 'user', duration?: number, )
src/services/agentInstance/utilities/__tests__/messageDurationFilter.test.ts:9
↓ 18 callers
Function
getSettingsPath
(world: ApplicationWorld)
features/supports/paths.ts:94
↓ 18 callers
Function
renderComponent
()
src/pages/Agent/TabContent/TabTypes/__tests__/EditAgentDefinitionContent.test.tsx:90
↓ 18 callers
Method
setHeader
()
src/components/StorageService/__tests__/SearchGithubRepo.test.tsx:32
↓ 17 callers
Method
callWikiIpcServerRoute
* Call wiki worker route methods, and return response. * Methods are copy from core/modules/server/routes , to support the IPC communication betwee
src/services/wiki/interface.ts:19
↓ 17 callers
Function
extractDomain
(fullUrl: string | undefined)
src/helpers/url.ts:1
↓ 17 callers
Method
getAgentDef
* Get a specific agent definition by id. When `id` is omitted, returns the default * agent definition (currently the first agent in the repository
src/services/agentDefinition/interface.ts:113
↓ 17 callers
Method
isCancelled
* Function to check if cancellation has been requested for this task. * Handlers should ideally check this periodically during long-running operati
src/services/agentInstance/agentFrameworks/utilities/type.ts:14
↓ 16 callers
Function
CurrentUserUninstallKey
(subKey: string)
src/services/native/externalApp/win32.ts:70
↓ 16 callers
Function
executeTWJavaScriptWhenIdle
* Execute statement with $tw when idle, so there won't be significant lagging. * Will retry till $tw is not undefined. * @param script js statement
src/services/wiki/wikiOperations/executor/wikiOperationInBrowser.ts:85
↓ 16 callers
Method
getAllTabs
* Get all tabs * @returns List of all tabs
src/services/agentBrowser/interface.ts:24
↓ 16 callers
Method
openURI
* Open a file or URI in the desktop's default manner, or show in file manager. * @param uri File path or URI starts with any scheme. * @param sh
src/services/native/interface.ts:121
↓ 16 callers
Method
realignActiveWorkspace
(id?: string)
src/services/workspacesView/interface.ts:57
↓ 15 callers
Function
equivalentDomain
(domain?: string)
src/helpers/url.ts:16
↓ 15 callers
Method
getView
(workspaceID: string, windowName: WindowNames)
src/services/view/index.ts:73
↓ 14 callers
Method
countWorkspaces
()
src/services/workspaces/interface.ts:389
↓ 14 callers
Function
handleClose
(event: React.MouseEvent)
src/pages/Agent/components/TabBar/TabItem.tsx:151
↓ 14 callers
Method
openPath
* Open a file path, if is a relative path from wiki folder in the wiki folder, it will open it too. * @param filePath relative path from wiki folde
src/services/native/interface.ts:115
↓ 14 callers
Method
saveTiddler
* Save a tiddler to the filesystem * Can be used with callback (legacy) or as async/await
src/services/wiki/plugin/watchFileSystemAdaptor/FileSystemAdaptor.ts:317
↓ 14 callers
Method
saveUserMessage
* Save user message to database * Made public so plugins can use it for message persistence * @param userMessage User message to save
src/services/agentInstance/interface.ts:259
↓ 14 callers
Method
sendMsgToAgent
* Send a message or file to an agent instance, and put response to observables. Persistence and tool calling is handled by the plugins. * @param ag
src/services/agentInstance/interface.ts:174
↓ 14 callers
Method
show
(options: NotificationConstructorOptions)
src/services/notifications/interface.ts:18
↓ 13 callers
Function
getWorkspaceStrategy
(workspace: IWorkspace)
src/services/workspaces/strategies/index.ts:11
↓ 13 callers
Method
insertMenu
( menuID: string, menuItems: DeferredMenuItemConstructorOptions[], afterSubMenu?: string | null,
src/services/menu/interface.ts:49
↓ 13 callers
Method
quit
()
src/services/native/interface.ts:138
↓ 13 callers
Method
updateAgentDef
* Update an existing agent definition. Only the provided fields will be updated. * @param agent Partial agent definition containing the required `i
src/services/agentDefinition/interface.ts:101
↓ 12 callers
Method
deleteTiddler
* Delete a tiddler from the filesystem * Can be used with callback (legacy) or as async/await
src/services/wiki/plugin/watchFileSystemAdaptor/FileSystemAdaptor.ts:391
↓ 12 callers
Method
executeTWJavaScriptWhenIdle
(script: string)
src/services/wiki/wikiOperations/executor/wikiOperationInServer.ts:35
↓ 12 callers
Function
getAssetsFileUrl
(url: string)
src/helpers/url.ts:72
↓ 12 callers
Method
getWindow
(windowType: string = 'main')
features/stepDefinitions/application.ts:196
↓ 12 callers
Method
initialize
()
src/services/git/interface.ts:123
↓ 12 callers
Method
logAPICall
* Log API request/response if debug mode is enabled
src/services/externalAPI/index.ts:217
↓ 12 callers
Function
makeService
()
src/services/deepLink/__tests__/deepLinkPreferences.test.ts:33
↓ 12 callers
Function
registerMessageRenderer
(id: string, registration: Omit<MessageRendererRegistration, 'id'>)
src/pages/ChatTabContent/components/MessageRenderer/index.tsx:16
↓ 12 callers
Function
renderAllSections
()
src/windows/Preferences/__tests__/AllSectionsRendering.test.tsx:177
↓ 12 callers
Function
renderNewWikiForm
(overrides = {})
src/windows/AddWorkspace/__tests__/NewWikiForm.test.tsx:83
↓ 12 callers
Method
setSetting
* Save setting that used by services to same file, will handle data race. * Normally you should use methods on other services instead of this, and
src/services/database/interface.ts:61
↓ 12 callers
Function
validateCucumberArguments
(arguments_: string[])
scripts/run-e2e.ts:64
↓ 12 callers
Function
waitForLogMarker
( world: ApplicationWorld, searchString: string, errorMessage: string, maxWaitMs = CUCUMBER_GLOBAL_TIM
features/stepDefinitions/wiki.ts:60
↓ 11 callers
Function
Wow64LocalMachineUninstallKey
(subKey: string)
src/services/native/externalApp/win32.ts:74
↓ 11 callers
Method
callGitOp
* Generic type-safe proxy method for git operations * Automatically infers parameter types and return types from gitOperations module
src/services/git/interface.ts:153
↓ 11 callers
Method
ensureRepositories
* Ensure repository is initialized
src/services/agentBrowser/index.ts:65
↓ 11 callers
Method
getSync
(id: string)
src/services/workspaces/index.ts:208
↓ 11 callers
Function
isInternalUrl
(url: string, currentInternalUrls: Array<string | undefined>)
src/helpers/url.ts:39
↓ 11 callers
Function
isMessageExpiredForAI
( message: AgentInstanceMessage, currentPosition: number, totalMessages: number, )
src/services/agentInstance/utilities/messageDurationFilter.ts:88
↓ 11 callers
Method
moveWorkspaceToGroup
(workspaceId: string, groupId: string | null, autoDisband?: boolean)
src/services/workspaces/interface.ts:475
↓ 11 callers
Method
notifyGitStateChange
(wikiFolderLocation: string, type: IGitStateChange['type'])
src/services/git/index.ts:88
↓ 11 callers
Function
reportProgress
(message: string, severity: 'success' | 'error' | 'info' = 'info')
src/windows/GitLog/CommitDetailsPanel.tsx:117
↓ 11 callers
Method
setActiveWorkspaceView
* If is main workspace, set workspace to active and load the url. * If is sub workspace, just load url with #tag for its main workspace. * *
src/services/workspacesView/interface.ts:81
↓ 10 callers
Method
addView
Create a WebContentsView, add it to the target BrowserWindow, and load its URL.
src/services/view/interface.ts:45
↓ 10 callers
Method
callGitOp
* Generic type-safe proxy method for git operations * Uses conditional types and mapped types to ensure complete type safety
src/services/git/index.ts:500
↓ 10 callers
Method
createAgent
* Create a new agent instance from a definition * @param agentDefinitionID Agent definition ID, if not provided, will use the default agent * @p
src/services/agentInstance/interface.ts:167
↓ 10 callers
Method
ensureRepositories
* Ensure repositories are initialized
src/services/agentInstance/index.ts:220
↓ 10 callers
Function
evaluateHidden
(hidden: HiddenCondition | undefined, context: IConditionContext)
src/services/preferences/definitions/conditions.ts:109
next →
1–100 of 2,397, ranked by callers