feat(instructions): layer instance, organisation, workflow and repository instructions into every agent stage

This commit is contained in:
sam committed 2026-10-17 23:42:39 +11:00
1 parent 3ec7a60aa9
commit a6eb136f66
26 files changed
+1021 -662

No files matched your search

+12
View File
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
import { NativeSelect, NativeSelectOption } from "@/components/ui/native-select";
import { computed, ref, onMounted } from "vue";
import { Plus, Trash2, X } from "@lucide/vue";
@@ -163,6 +164,17 @@ function setNeeds(next: { captures?: boolean; gate_retries?: number }): void {
</p>
</section>
<section class="space-y-1.5">
<label for="workflow-instructions" class="text-xs font-medium text-muted-foreground">Instructions</label>
<Textarea
id="workflow-instructions"
:model-value="text('instructions')"
:rows="5"
class="font-mono text-[13px]"
@change="set('instructions', ($event.target as HTMLTextAreaElement).value)"
/>
</section>
<section class="space-y-1.5">
<div class="text-xs font-medium text-muted-foreground">Runs as</div>
<div class="divide-y divide-border rounded-md border border-border">