MCPcopy Index your code

hub / github.com/dagger/container-use / functions

Functions323 in github.com/dagger/container-use

↓ 2 callersFunctiongetContainerUseRemote
(ctx context.Context, repo string)
repository/git.go:70
↓ 2 callersMethodgetRepoPath
getRepoPath returns the path for storing repository data
repository/repository.go:63
↓ 2 callersFunctiongetSupportedAgents
getSupportedAgents returns agents that are supported on the current platform
cmd/container-use/agent/configure_ui.go:49
↓ 2 callersFunctiongetToolVersion
getToolVersion runs a command and returns its version output
cmd/container-use/version.go:157
↓ 2 callersMethodgetWorktree
getWorktree gets or recreates a worktree for an existing environment. It assumes the environment branch already exists in the forkRepo and will fail i
repository/git.go:165
↓ 2 callersFunctionhandleDockerDaemonError
handleDockerDaemonError prints a helpful error message for Docker daemon issues
cmd/container-use/docker_errors.go:38
↓ 2 callersFunctioninitializeDaggerOnce
initializeDaggerOnce initializes Dagger client once for all tests
environment/integration/helpers.go:155
↓ 2 callersFunctionnewRepositoryTool
(name string, description string, args ...mcp.ToolOption)
mcpserver/args.go:19
↓ 2 callersMethodpropagateGitNotes
(ctx context.Context, ref string)
repository/git.go:277
↓ 2 callersMethodpropagateToWorktree
(ctx context.Context, env *environment.Environment, explanation string)
repository/git.go:211
↓ 2 callersMethodrevisionRange
(ctx context.Context, env *environment.EnvironmentInfo)
repository/git.go:378
↓ 2 callersFunctionrunGitLogWindows
runGitLogWindows executes the git log command with output matching Unix watch format
cmd/container-use/watch_windows.go:67
↓ 2 callersFunctionrunRepositoryContentionTest
runRepositoryContentionTest runs the core repository contention test logic
cmd/container-use/stdio_test.go:246
↓ 2 callersFunctionselectAgent
Add agents here
cmd/container-use/agent/configure.go:74
↓ 2 callersMethodstartService
(ctx context.Context, cfg *ServiceConfig)
environment/service.go:42
↓ 2 callersFunctiontools
(prefix string)
cmd/container-use/agent/configure.go:169
↓ 2 callersMethodupdateCodexConfig
(config map[string]any)
cmd/container-use/agent/configure_codex.go:70
↓ 2 callersMethodupdateGooseConfig
(config map[string]any)
cmd/container-use/agent/configure_goose.go:84
↓ 2 callersMethodupdateMcpConfig
(config MCPServersConfig)
cmd/container-use/agent/configure_q.go:64
↓ 2 callersMethodupdateMcpConfig
(config MCPServersConfig)
cmd/container-use/agent/configure_cursor.go:63
↓ 2 callersMethodupdateSettingsLocal
(config ClaudeSettingsLocal)
cmd/container-use/agent/configure_claude.go:77
↓ 2 callersFunctionwriteFile
writeFile creates a file with the given content
cmd/container-use/main_suite_test.go:70
↓ 1 callersMethodAddService
(ctx context.Context, explanation string, cfg *ServiceConfig)
environment/service.go:121
↓ 1 callersMethodCheckoutBranchInSourceRepo
CheckoutBranchInSourceRepo checks out an existing branch in the source repo
environment/integration/helpers.go:353
↓ 1 callersMethodCheckpoint
(ctx context.Context, target string)
environment/environment.go:392
↓ 1 callersMethodCorruptWorktree
CorruptWorktree simulates worktree corruption for recovery testing
environment/integration/helpers.go:323
↓ 1 callersMethodCreateBranchInSourceRepo
CreateBranchInSourceRepo creates and checks out a new branch in the source repo
environment/integration/helpers.go:348
↓ 1 callersMethodCreateEnvironment
CreateEnvironment creates a new environment via MCP
cmd/container-use/stdio_test.go:89
↓ 1 callersFunctionEnvironmentToCallResult
(env *environment.Environment)
mcpserver/tools.go:230
↓ 1 callersMethodFileDelete
(ctx context.Context, explanation, targetFile string)
environment/filesystem.go:126
↓ 1 callersMethodFileEdit
(ctx context.Context, explanation, targetFile, search, replace, matchID string)
environment/filesystem.go:51
↓ 1 callersMethodFileList
(ctx context.Context, path string)
environment/filesystem.go:135
↓ 1 callersMethodFileRead
(ctx context.Context, targetFile string, shouldReadEntireFile bool, startLineOneIndexedInclusive int, endLineO
environment/filesystem.go:12
↓ 1 callersMethodFileRead
FileRead reads a file from an environment via MCP
cmd/container-use/stdio_test.go:129
↓ 1 callersMethodFileWrite
(ctx context.Context, explanation, targetFile, contents string)
environment/filesystem.go:42
↓ 1 callersMethodFileWrite
FileWrite writes a file to an environment via MCP
cmd/container-use/stdio_test.go:157
↓ 1 callersFunctionInitialModel
InitialModel creates the initial model for agent selection
cmd/container-use/agent/configure_ui.go:71
↓ 1 callersMethodIsDirty
(ctx context.Context)
repository/git.go:523
↓ 1 callersFunctionLoad
(ctx context.Context, dag *dagger.Client, id string, state []byte, worktree string)
environment/environment.go:73
↓ 1 callersFunctionNew
(ctx context.Context, dag *dagger.Client, id, title string, config *EnvironmentConfig, initialSourceDir *dagge
environment/environment.go:34
↓ 1 callersFunctionNewUserActions
(t *testing.T, repo *repository.Repository, dag *dagger.Client)
environment/integration/helpers.go:187
↓ 1 callersMethodPop
()
environment/note.go:50
↓ 1 callersFunctionRunAgentSelector
RunAgentSelector runs the interactive agent selector and returns the selected agent key
cmd/container-use/agent/configure_ui.go:199
↓ 1 callersMethodRunBackground
(ctx context.Context, command, shell string, ports []int, useEntrypoint bool)
environment/environment.go:281
↓ 1 callersFunctionRunStdioServer
(ctx context.Context, dag *dagger.Client, singleTenant bool)
mcpserver/tools.go:104
↓ 1 callersMethodTerminal
(ctx context.Context)
environment/environment.go:359
↓ 1 callersFunctionTools
()
mcpserver/tools.go:151
↓ 1 callersMethodWithDirectAccess
WithDirectAccess adds direct filesystem access for edge case testing
environment/integration/helpers.go:197
↓ 1 callersMethodaddFilesFromUntrackedDirectory
(ctx context.Context, worktreePath, dirName string)
repository/git.go:536
↓ 1 callersMethodaddGitNote
(ctx context.Context, env *environment.Environment, note string)
repository/git.go:342
↓ 1 callersFunctioncheckRuntime
checkRuntime checks if a specific runtime is available
cmd/container-use/version.go:118
↓ 1 callersFunctioncreateEnvironmentAddServiceTool
(singleTenant bool)
mcpserver/tools.go:870
↓ 1 callersFunctioncreateEnvironmentCheckpointTool
(singleTenant bool)
mcpserver/tools.go:836
↓ 1 callersFunctioncreateEnvironmentConfigTool
(singleTenant bool)
mcpserver/tools.go:401
↓ 1 callersFunctioncreateEnvironmentCreateTool
(singleTenant bool)
mcpserver/tools.go:272
↓ 1 callersFunctioncreateEnvironmentFileDeleteTool
(singleTenant bool)
mcpserver/tools.go:799
↓ 1 callersFunctioncreateEnvironmentFileEditTool
(singleTenant bool)
mcpserver/tools.go:692
↓ 1 callersFunctioncreateEnvironmentFileListTool
(singleTenant bool)
mcpserver/tools.go:658
↓ 1 callersFunctioncreateEnvironmentFileReadTool
(singleTenant bool)
mcpserver/tools.go:611
↓ 1 callersFunctioncreateEnvironmentFileWriteTool
(singleTenant bool)
mcpserver/tools.go:754
↓ 1 callersFunctioncreateEnvironmentListTool
(_ bool)
mcpserver/tools.go:487
↓ 1 callersFunctioncreateEnvironmentOpenTool
()
mcpserver/tools.go:246
↓ 1 callersFunctioncreateEnvironmentRunCmdTool
(singleTenant bool)
mcpserver/tools.go:521
↓ 1 callersFunctioncreateEnvironmentUpdateMetadataTool
(singleTenant bool)
mcpserver/tools.go:365
↓ 1 callersMethodcreateInitialCommit
createInitialCommit creates an empty commit with the environment creation message - this prevents multiple environments from overwriting the container
repository/git.go:205
↓ 1 callersFunctioncreateSafePathFromAbsolute
createSafePathFromAbsolute converts an absolute path to a safe relative path component This handles Windows drive letters and special characters that
repository/git.go:634
↓ 1 callersMethodcurrentUserBranch
(ctx context.Context)
repository/git.go:357
↓ 1 callersMethoddeleteLocalRemoteBranch
(id string)
repository/git.go:98
↓ 1 callersMethoddeleteWorktree
(id string)
repository/git.go:89
↓ 1 callersFunctiondetectContainerRuntime
detectContainerRuntime finds the first available container runtime
cmd/container-use/version.go:97
↓ 1 callersFunctiondumpStacks
()
cmd/container-use/signal_unix.go:27
↓ 1 callersMethodeditMcpConfig
()
cmd/container-use/agent/configure.go:68
↓ 1 callersMethodeditRules
()
cmd/container-use/agent/configure.go:69
↓ 1 callersMethodensureFork
(ctx context.Context)
repository/repository.go:127
↓ 1 callersMethodensureUserRemote
(ctx context.Context)
repository/repository.go:148
↓ 1 callersFunctionenvironmentResponseFromEnv
(env *environment.Environment)
mcpserver/tools.go:208
↓ 1 callersFunctionexecDaggerRun
(daggerBin string, args []string, env []string)
cmd/container-use/terminal_unix.go:9
↓ 1 callersMethodexportEnvironment
(ctx context.Context, env *environment.Environment)
repository/git.go:256
↓ 1 callersFunctionextractVersion
extractVersion finds a version number in the output
cmd/container-use/version.go:149
↓ 1 callersFunctionfindScpLikeComponents
findScpLikeComponents returns the user, host, port and path of the given SCP-like URL.
repository/git.go:702
↓ 1 callersFunctiongenerateHelpText
(shell string)
cmd/container-use/completion_override.go:74
↓ 1 callersFunctiongetBuildInfoFromBinary
()
cmd/container-use/version.go:184
↓ 1 callersFunctiongetDefaultConfigPath
getDefaultConfigPath returns the default configuration path for the current OS
repository/repository.go:29
↓ 1 callersFunctiongetMatchContext
getMatchContext returns the context around a match (3 lines before and after)
environment/filesystem.go:155
↓ 1 callersFunctiongetNotifySignals
getNotifySignals returns Unix-compatible signals for MCP server
mcpserver/signals_unix.go:11
↓ 1 callersFunctiongetNotifySignals
getNotifySignals returns Unix-compatible signals
cmd/container-use/signals_unix.go:11
↓ 1 callersMethodgetWorktreePath
getWorktreePath returns the path for storing worktrees
repository/repository.go:68
↓ 1 callersFunctionhandleSIGUSR
(sigusrCh <-chan os.Signal)
cmd/container-use/signal_unix.go:19
↓ 1 callersFunctionhashString
hashString creates a simple hash of a string for use in filenames
repository/flock.go:145
↓ 1 callersMethodinitializeWorktree
initializeWorktree initializes a new worktree for environment creation. It pushes the specified gitRef to create a new branch with the given id, then
repository/git.go:121
↓ 1 callersFunctioninteractiveConfiguration
()
cmd/container-use/agent/configure.go:48
↓ 1 callersMethodisDescendantOfCommit
isDescendantOfCommit checks if the environment is a descendant of the given commit using git merge-base --is-ancestor which is the canonical way to ch
repository/repository.go:354
↓ 1 callersFunctionmarshalEnvironmentInfo
(envInfo *environment.EnvironmentInfo)
mcpserver/tools.go:222
↓ 1 callersFunctionmatchesScpLike
matchesScpLike returns true if the given string matches an SCP-like format scheme.
repository/git.go:696
↓ 1 callersFunctionmatchesURLScheme
matchesURLScheme returns true if the given string matches a URL-like format scheme.
repository/git.go:690
↓ 1 callersMethodmergeBase
(ctx context.Context, env *environment.EnvironmentInfo)
repository/git.go:361
↓ 1 callersFunctionmigrateLegacyState
(state []byte)
environment/state.go:34
↓ 1 callersMethodnormalizeForkPath
(ctx context.Context, repo string)
repository/git.go:609
↓ 1 callersFunctionnormalizeGitURL
(endpoint string)
repository/git.go:655
↓ 1 callersFunctionnormalizeSCPLike
(endpoint string)
repository/git.go:678
← previousnext →101–200 of 323, ranked by callers