fix(agents): постмортем-агент — отключены файловые/системные тулы (bash/read/edit/grep/glob/list), чтобы не уходил в timeout; тест: agents/ вместо agent/
Some checks failed
CI / test (push) Failing after 2m0s
CI / build-and-package (amd64, linux) (push) Failing after 1m25s
CI / build-and-package (amd64, windows) (push) Successful in 39s

This commit is contained in:
ki.sagidullin
2026-08-24 13:32:45 +05:00
parent 5b43da4564
commit 9cb174a5d3
2 changed files with 20 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ func TestWriteTo(t *testing.T) {
}
for _, name := range Names {
// opencode ищет агентов в поддиректории agent/ (или agents/) внутри .opencode
p := filepath.Join(dir, "agent", name+".md")
p := filepath.Join(dir, "agents", name+".md")
data, err := os.ReadFile(p)
if err != nil {
t.Fatalf("read %s: %v", p, err)