-
Install web-terminal in your cluster. Login using oc as cluster-admin.
curl -Ls https://raw.githubusercontent.com/eformat/web-terminal/refs/heads/main/web-terminal-all-in-one.sh | bash -s -
Select
>_ OpenShift command linein top right of OpenShift UI. -
Initialze default terminal by hitting
Start. -
Wait for the custom image to download and start a pod in the
openshift-terminalnamespace. You should see the following prompt: -
Install
cline. We are going to run this cline agent demo.npm i cline
-
Put cline on path.
echo 'export PATH=$HOME/node_modules/.bin:$PATH' >> ~/.bashrc bash
-
Login to GitHub with a token.
export GH_TOKEN=ghp_<redacted your token> gh auth login
-
You will need an LLM or hosted service to connect to. See
cline auth --helpcline auth -p openai-compatible -k $TOKEN -m $MODEL_ID -b $HOST/v1
-
Test a yolo prompt.
cline -y "What is the root cause of this issue? Give me a detailed anaylsis. Use gh client, then parse the issue details from the html: https://github.com/eformat/sno-for-100/issues/13" -m act



