diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 03:43:25 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 03:43:25 +0300 |
| commit | 38f3b290deed3008b52c11589a1048b227702894 (patch) | |
| tree | 4cc3e9ef6a4e35f4de493cfd1e783cb3f7e2c5b1 /website/agent-detection/opencode.toml | |
| parent | 350e8c7e4685b12546b145bc5476eb9c3de99751 (diff) | |
chore: publish agent detection manifests
Diffstat (limited to 'website/agent-detection/opencode.toml')
| -rw-r--r-- | website/agent-detection/opencode.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/website/agent-detection/opencode.toml b/website/agent-detection/opencode.toml new file mode 100644 index 00000000..52452383 --- /dev/null +++ b/website/agent-detection/opencode.toml @@ -0,0 +1,37 @@ +id = "opencode" +version = "2026.06.10.1" +min_engine_version = 1 +updated_at = "2026-06-10T00:00:00Z" +aliases = ["open-code", "herdr:opencode"] + +[[rules]] +id = "permission_required" +state = "blocked" +priority = 300 +region = "whole_recent" +visible_blocker = true +any = [ + { contains = ["△ Permission required"] }, + { contains = ["esc dismiss"], any = [{ contains = ["enter confirm"] }, { contains = ["enter submit"] }, { contains = ["enter toggle"] }], all = [{ any = [{ contains = ["↑↓ select"] }, { contains = ["⇆ tab"] }] }] }, +] + +[[rules]] +id = "interrupt_hint_working" +state = "working" +priority = 110 +region = "whole_recent" +visible_working = true +any = [ + { contains = ["esc to interrupt"] }, + { contains = ["ctrl+c to interrupt"] }, + { contains = ["press esc to interrupt"] }, + { line_regex = ['(?i).*opencode.*esc (again to )?interrupt'] }, +] + +[[rules]] +id = "progress_bar_working" +state = "working" +priority = 100 +region = "whole_recent" +visible_working = true +regex = ['(■|⬝){4,}'] |
