summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html27
1 files changed, 22 insertions, 5 deletions
diff --git a/web/index.html b/web/index.html
index 842c272..a2800b0 100644
--- a/web/index.html
+++ b/web/index.html
@@ -52,23 +52,24 @@
<form id="task-form" method="dialog">
<h2>New Task</h2>
<div class="elaborate-section">
- <label>Describe what you want Claude to do
+ <label>Describe what you want the agent to do
<textarea id="elaborate-prompt" rows="3"
placeholder="e.g. run tests with race detector and check coverage"></textarea>
</label>
<button type="button" id="btn-elaborate" class="btn-secondary">
Draft with AI ✦
</button>
- <p class="elaborate-hint">Claude will fill in the form fields below. You can edit before submitting.</p>
+ <p class="elaborate-hint">AI will fill in the form fields below. You can edit before submitting.</p>
</div>
<hr class="form-divider">
<label>Project
<select name="project_dir" id="project-select">
<option value="/workspace/claudomator" selected>/workspace/claudomator</option>
+ <option value="__new__">Create new project…</option>
</select>
</label>
<div id="new-project-row" hidden>
- <label>New project path <input id="new-project-input" placeholder="/workspace/my-project"></label>
+ <label>New Project Path <input id="new-project-input" placeholder="/workspace/my-new-app"></label>
</div>
<label>Name <input name="name" required></label>
<label>Instructions <textarea name="instructions" rows="6" required></textarea></label>
@@ -78,7 +79,15 @@
</button>
<div id="validate-result" hidden></div>
</div>
- <label>Model <input name="model" value="sonnet"></label>
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
+ <label>Agent Type
+ <select name="type">
+ <option value="claude" selected>Claude</option>
+ <option value="gemini">Gemini</option>
+ </select>
+ </label>
+ <label>Model <input name="model" value="sonnet" placeholder="e.g. sonnet, gemini-2.0-flash"></label>
+ </div>
<label>Max Budget (USD) <input name="max_budget_usd" type="number" step="0.01" value="1.00"></label>
<label>Timeout <input name="timeout" value="15m"></label>
<label>Priority
@@ -100,7 +109,15 @@
<h2>New Template</h2>
<label>Name <input name="name" required></label>
<label>Description <textarea name="description" rows="2"></textarea></label>
- <label>Model <input name="model" value="sonnet"></label>
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
+ <label>Agent Type
+ <select name="type">
+ <option value="claude" selected>Claude</option>
+ <option value="gemini">Gemini</option>
+ </select>
+ </label>
+ <label>Model <input name="model" value="sonnet" placeholder="e.g. sonnet, gemini-2.0-flash"></label>
+ </div>
<label>Instructions <textarea name="instructions" rows="6" required></textarea></label>
<label>Project Directory <input name="project_dir" placeholder="/path/to/repo"></label>
<label>Max Budget (USD) <input name="max_budget_usd" type="number" step="0.01" value="1.00"></label>