(dag *dagger.Client, fe idtui.Frontend)
| 131 | } |
| 132 | |
| 133 | func 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 |