From 46a6ebc9dd94d60b66adcd0912cee781acfb29f8 Mon Sep 17 00:00:00 2001 From: Frederico Castro Date: Sat, 28 Feb 2026 02:06:40 -0300 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9-preencher=20diret=C3=B3rio=20de=20trab?= =?UTF-8?q?alho=20dos=20agentes=20com=20/home/projetos/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.html | 2 +- public/js/components/agents.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/app.html b/public/app.html index 6f6c306..e3b5f12 100644 --- a/public/app.html +++ b/public/app.html @@ -808,7 +808,7 @@ class="input" id="agent-workdir" name="workdir" - placeholder="/home/fred/projetos" + value="/home/projetos/" autocomplete="off" /> diff --git a/public/js/components/agents.js b/public/js/components/agents.js index 517f6b0..086b5ff 100644 --- a/public/js/components/agents.js +++ b/public/js/components/agents.js @@ -180,6 +180,9 @@ const AgentsUI = { const maxTurns = document.getElementById('agent-max-turns'); if (maxTurns) maxTurns.value = '0'; + const workdir = document.getElementById('agent-workdir'); + if (workdir) workdir.value = '/home/projetos/'; + const permissionMode = document.getElementById('agent-permission-mode'); if (permissionMode) permissionMode.value = '';