File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const props = defineProps({
2828 agentId: { type: String , required: true },
2929 cmd: { type: String , required: true },
3030 shell: { type: String , required: true },
31+ custom_shell: { type: String , required: false },
3132 timeout: { type: Number , default: 10 },
3233});
3334
@@ -77,7 +78,7 @@ onMounted(() => {
7778 cmd: props .cmd ,
7879 timeout: props .timeout ,
7980 run_as_user: false ,
80- custom_shell: " " ,
81+ custom_shell: props . custom_shell ,
8182 stream: true ,
8283 cmd_id: cmdId ,
8384 }),
Original file line number Diff line number Diff line change 123123 :agent-id =" agent.agent_id"
124124 :cmd =" streamCmd"
125125 :shell =" state.shell"
126+ :custom_shell =" state.custom_shell"
126127 :timeout =" state.timeout"
127128 @updateOutput =" (val) => (streamOutput = val)"
128129 @streamLoaded =" loading = false"
You can’t perform that action at this time.
0 commit comments