refactor(agents): frontmatter на нативный OpenCode v2

This commit is contained in:
eka
2026-10-30 20:24:37 +05:00
parent 3d231ae233
commit bc89e8e532
6 changed files with 143 additions and 54 deletions
+46 -16
View File
@@ -2,24 +2,54 @@
description: Оркестратор — получает задачу, выбирает профиль, делегирует
сабагентам. Сам код НЕ правит. Координирует выполнение и собирает результат.
mode: primary
temperature: 0.15
request:
body:
temperature: 0.15
steps: 200
color: "#ffd43b"
permission:
task: allow
bash: allow
read: allow
edit: allow
write: allow
websearch: allow
webfetch: allow
todowrite: allow
skill: allow
question: allow
plan_enter: allow
plan_exit: allow
grep: allow
glob: allow
permissions:
- action: subagent
resource: "*"
effect: allow
- action: shell
resource: "*"
effect: allow
- action: read
resource: "*"
effect: allow
- action: edit
resource: "*"
effect: allow
- action: write
resource: "*"
effect: allow
- action: websearch
resource: "*"
effect: allow
- action: webfetch
resource: "*"
effect: allow
- action: todowrite
resource: "*"
effect: allow
- action: skill
resource: "*"
effect: allow
- action: question
resource: "*"
effect: allow
- action: plan_enter
resource: "*"
effect: allow
- action: plan_exit
resource: "*"
effect: allow
- action: grep
resource: "*"
effect: allow
- action: glob
resource: "*"
effect: allow
---
# Orchestrator — оркестратор задач