(callID)
| 42 | }) |
| 43 | }, |
| 44 | getCurrentShell(callID) { |
| 45 | return Effect.sync(() => { |
| 46 | const index = activeShellIndex(callID) |
| 47 | if (index < 0) return |
| 48 | const shell = state.messages[index] |
| 49 | return shell?.type === "shell" ? shell : undefined |
| 50 | }) |
| 51 | }, |
| 52 | updateAssistant(assistant) { |
| 53 | return Effect.sync(() => { |
| 54 | const index = assistantIndex(assistant.id) |
nothing calls this directly
no test coverage detected