MCPcopy Index your code
hub / github.com/dagger/dagger / newShellCallHandler

Function newShellCallHandler

cmd/dagger/shell.go:133–146  ·  view source on GitHub ↗
(dag *dagger.Client, fe idtui.Frontend)

Source from the content-addressed store, hash-verified

131}
132
133func newShellCallHandler(dag *dagger.Client, fe idtui.Frontend) *shellCallHandler {
134 ref, _ := getExplicitModuleSourceRef()
135 if ref == "" {
136 ref = moduleURLDefault
137 }
138 return &shellCallHandler{
139 dag: dag,
140 llmModel: llmModel,
141 mode: modeShell,
142 noModule: moduleNoURL,
143 moduleURL: ref,
144 frontend: fe,
145 }
146}
147
148// Debug prints to stderr internal command handler state and workflow that
149// can be helpful while developing the shell or even troubhleshooting, and

Callers 4

TestShellAutocompleteMethod · 0.85
shell.goFile · 0.85
TestLLMFileSyncingMethod · 0.85

Calls 1

Tested by 2

TestShellAutocompleteMethod · 0.68
TestLLMFileSyncingMethod · 0.68