MCPcopy Index your code

hub / github.com/Nutlope/aicommits / functions

Functions109 in github.com/Nutlope/aicommits

↓ 46 callersFunctiongit
(command: string, args?: string[], options?: Options)
tests/utils.ts:34
↓ 23 callersFunctioncreateFixture
(source?: string | FileTree)
tests/utils.ts:51
↓ 18 callersFunctioncreateGit
(cwd: string)
tests/utils.ts:33
↓ 15 callersFunctiongetDiff
(diffName: string)
tests/utils.ts:72
↓ 11 callersFunctionrunGenerateCommitMessage
( gitDiff: string, configOverrides: Partial<ValidConfig> = {} )
tests/specs/openai/index.ts:133
↓ 10 callersFunctionparseAssert
(name: string, condition: boolean, message: string)
src/utils/config-types.ts:17
↓ 8 callersMethodgetApiKey
()
src/feature/providers/base.ts:103
↓ 8 callersMethodgetBaseUrl
()
src/feature/providers/base.ts:107
↓ 7 callersFunctiongenerateCommitMessage
({ baseUrl, apiKey, model, locale, diff, completions, maxLength, type, timeout, customPrompt, heade
src/utils/openai.ts:99
↓ 7 callersFunctiongetConfig
( cliConfig?: RawConfig, envConfig?: RawConfig, suppressErrors?: boolean )
src/utils/config-runtime.ts:53
↓ 6 callersFunctiongetProvider
(config: ValidConfig)
src/feature/providers/index.ts:9
↓ 5 callersFunctiongenerateCommitMessage
( type: 'plain' | 'conventional' | 'conventional+body' | 'gitmoji' | 'subject+body', )
vscode-extension/src/extension.ts:265
↓ 5 callersFunctionisInteractive
()
src/utils/headless.ts:3
↓ 4 callersFunctionisHeadless
()
src/utils/headless.ts:1
↓ 4 callersFunctionsetConfigs
(keyValues: [key: string, value: string][])
src/utils/config-runtime.ts:97
↓ 4 callersMethodvalidateConfig
()
src/feature/providers/base.ts:126
↓ 3 callersFunctionassertGitRepo
()
src/utils/git.ts:4
↓ 3 callersFunctionfileExists
(filePath: string)
src/utils/fs.ts:4
↓ 3 callersFunctiongenerateCommitDescription
({ baseUrl, apiKey, model, locale, title, diff, timeout, maxLength, customPrompt, headers, }: Genera
src/utils/openai.ts:305
↓ 3 callersFunctiongetConfigPath
()
src/utils/config-runtime.ts:41
↓ 3 callersMethodgetDefaultModel
()
src/feature/providers/base.ts:114
↓ 3 callersFunctionhasOwn
(object: unknown, key: PropertyKey)
src/utils/config-types.ts:14
↓ 3 callersFunctionrunGenerateCommitMessage
( gitDiff: string, configOverrides: Partial<ValidConfig> = {}, )
tests/specs/togetherai/index.ts:55
↓ 3 callersFunctionsanitizeMessage
(message: string)
src/utils/openai.ts:31
↓ 2 callersFunctionCURRENT_LABEL_FORMAT
(model: string)
src/utils/constants.ts:2
↓ 2 callersFunctionattemptGeneration
()
src/commands/aicommits.ts:126
↓ 2 callersFunctioncheckAndAutoUpdate
( options: AutoUpdateOptions )
src/utils/auto-update.ts:129
↓ 2 callersFunctiondeduplicateMessages
(array: string[])
src/utils/openai.ts:55
↓ 2 callersFunctionextractResponseFromReasoning
(message: string)
src/utils/openai.ts:17
↓ 2 callersFunctionfetchModels
( options: FetchModelsOptions, )
src/feature/models.ts:78
↓ 2 callersFunctiongetCacheDir
()
src/feature/models.ts:24
↓ 2 callersFunctiongetCachePath
(key: string)
src/feature/models.ts:46
↓ 2 callersMethodgetDefinition
()
src/feature/providers/base.ts:34
↓ 2 callersFunctiongetDetectedMessage
(files: string[])
src/utils/git.ts:108
↓ 2 callersMethodgetHeaders
()
src/feature/providers/base.ts:122
↓ 2 callersFunctiongetStagedDiff
(excludeFiles?: string[])
src/utils/git.ts:40
↓ 2 callersFunctionhandleCliError
(error: unknown)
src/utils/error.ts:9
↓ 2 callersFunctioninstallCli
()
vscode-extension/src/extension.ts:228
↓ 2 callersFunctionisCliInstalled
()
vscode-extension/src/extension.ts:208
↓ 2 callersFunctionisLockFile
(file: string)
src/utils/git.ts:27
↓ 2 callersFunctionopenSetupTerminal
()
vscode-extension/src/extension.ts:349
↓ 2 callersFunctionparseVersion
(version: string)
vscode-extension/src/extension.ts:121
↓ 2 callersFunctionparseVersion
(version: string)
src/utils/auto-update.ts:14
↓ 2 callersFunctionreadConfigFile
()
src/utils/config-runtime.ts:43
↓ 2 callersFunctionselectModel
( baseUrl: string, apiKey: string, currentModel?: string, providerDef?: ProviderDef, providerName?: strin
src/feature/models.ts:278
↓ 2 callersFunctionshortenCommitMessage
( provider: any, model: string, message: string, maxLength: number, timeout: number )
src/utils/openai.ts:57
↓ 2 callersFunctionshouldLogDebug
()
src/utils/openai.ts:9
↓ 1 callersFunctioncheckCliOnActivation
()
vscode-extension/src/extension.ts:71
↓ 1 callersFunctioncheckForCliUpdate
()
vscode-extension/src/extension.ts:156
↓ 1 callersFunctioncheckIfGlobalInstallation
(packageName: string)
src/utils/auto-update.ts:97
↓ 1 callersFunctioncombineCommitMessages
({ messages, baseUrl, apiKey, model, locale, maxLength, type, timeout, customPrompt, headers, }: Com
src/utils/openai.ts:392
↓ 1 callersFunctioncommitWithMessage
(repo: any, message: string)
vscode-extension/src/extension.ts:424
↓ 1 callersFunctioncompareVersions
(v1: string, v2: string)
vscode-extension/src/extension.ts:142
↓ 1 callersFunctioncompareVersions
(v1: string, v2: string)
src/utils/auto-update.ts:45
↓ 1 callersFunctioncreateAicommits
(fixture: FsFixture)
tests/utils.ts:12
↓ 1 callersFunctiondetectPackageManager
(distTag: string)
src/commands/update.ts:31
↓ 1 callersFunctiondetectProvider
( baseUrl?: string, apiKey?: string )
src/utils/config-runtime.ts:21
↓ 1 callersFunctionensureCliInstalled
()
vscode-extension/src/extension.ts:243
↓ 1 callersFunctionfetchAndFilterModels
( baseUrl: string, apiKey: string, providerDef?: ProviderDef, )
src/feature/models.ts:122
↓ 1 callersFunctionfetchLatestVersion
(distTag: string)
vscode-extension/src/extension.ts:103
↓ 1 callersFunctionfetchLatestVersion
( packageName: string, distTag: string )
src/utils/auto-update.ts:71
↓ 1 callersFunctiongenerateDescriptionPrompt
( locale: string, maxLength: number, customPrompt?: string )
src/utils/prompt.ts:158
↓ 1 callersFunctiongeneratePrompt
( locale: string, maxLength: number, type: CommitType, customPrompt?: string )
src/utils/prompt.ts:134
↓ 1 callersFunctiongetAvailableProviders
()
src/feature/providers/index.ts:15
↓ 1 callersFunctiongetCacheKey
(baseUrl: string)
src/feature/models.ts:40
↓ 1 callersFunctiongetCliVersion
()
vscode-extension/src/extension.ts:91
↓ 1 callersFunctiongetCommitMessage
( messages: string[], skipConfirm: boolean )
src/utils/commit-helpers.ts:18
↓ 1 callersFunctiongetDefaultBaseUrl
()
src/utils/config-runtime.ts:16
↓ 1 callersFunctiongetDistTag
(version: string)
src/commands/update.ts:19
↓ 1 callersFunctiongetLatestVersion
(distTag: string)
src/commands/update.ts:85
↓ 1 callersFunctiongetPrUrl
( provider: GitProvider, owner: string, repo: string, defaultBranch: string, currentBranch: string, titl
src/commands/pr.ts:48
↓ 1 callersFunctiongetProviderBaseUrl
(providerName: string)
src/feature/providers/index.ts:22
↓ 1 callersFunctiongetStagedDiffForFiles
(files: string[], excludeFiles?: string[])
src/utils/git.ts:88
↓ 1 callersFunctionhandleCommandError
(error: unknown)
src/utils/error.ts:24
↓ 1 callersFunctionhandleCustom
(text: any)
src/feature/models.ts:264
↓ 1 callersFunctionhandleSearch
( models: string[], select: any, text: any, isCancel: any, )
src/feature/models.ts:223
↓ 1 callersFunctionopenTerminal
(command: string)
vscode-extension/src/extension.ts:362
↓ 1 callersFunctionparseRemoteUrl
(remoteUrl: string)
src/commands/pr.ts:22
↓ 1 callersFunctionprepareModelOptions
( models: string[], currentModel?: string, providerDef?: ProviderDef, )
src/feature/models.ts:152
↓ 1 callersFunctionreadCache
(key: string)
src/feature/models.ts:49
↓ 1 callersFunctionrunBackgroundUpdate
( packageName: string, distTag: string )
src/utils/auto-update.ts:107
↓ 1 callersFunctionrunCli
( cliPath: string, args: string[], cwd: string, timeout: number, )
vscode-extension/src/extension.ts:375
↓ 1 callersFunctionsanitizeDescription
(message: string)
src/utils/openai.ts:47
↓ 1 callersMethodsetup
()
src/feature/providers/base.ts:38
↓ 1 callersFunctionsleep
(ms: number)
src/utils/commit-helpers.ts:4
↓ 1 callersFunctionspecifyCommitFormat
(type: CommitType)
src/utils/prompt.ts:10
↓ 1 callersFunctionwrapLine
(line: string, maxLength: number)
src/utils/openai.ts:278
↓ 1 callersFunctionwriteCache
(key: string, entry: CacheEntry)
src/feature/models.ts:60
Function'max-length'
(maxLength?: string)
src/utils/config-types.ts:86
FunctionOPENAI_API_KEY
(key?: string)
src/utils/config-types.ts:24
FunctionOPENAI_BASE_URL
(key?: string)
src/utils/config-types.ts:27
FunctionOPENAI_MODEL
(key?: string)
src/utils/config-types.ts:30
FunctionPREFERRED_LABEL_FORMAT
(model: string)
src/utils/constants.ts:3
Functionactivate
(context: vscode.ExtensionContext)
vscode-extension/src/extension.ts:13
Methodconstructor
(def: ProviderDef, config: ValidConfig)
src/feature/providers/base.ts:21
FunctioncopyToClipboard
(message: string)
src/utils/clipboard.ts:9
Functiondeactivate
()
vscode-extension/src/extension.ts:435
MethoddisplayName
()
src/feature/providers/base.ts:30
FunctionexcludeFromDiff
(path: string)
src/utils/git.ts:18
Functiongenerate
(count?: string)
src/utils/config-types.ts:45
next →1–100 of 109, ranked by callers