feat: optchat
CI / verify (pull_request) Successful in 11s

This commit is contained in:
2026-10-08 08:52:15 +02:00
parent 5edb1b5449
commit 78ba607bd8
14 changed files with 2034 additions and 18 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
set -euo pipefail
selection=()
if (($#)); then
if [[ "$#" -ne 2 || "$1" != "--plugins" || ! "$2" =~ ^(agents|multi-work|quota)(,(agents|multi-work|quota))*$ ]]; then
printf 'Usage: %s [--plugins agents,multi-work,quota]\n' "$0" >&2
if [[ "$#" -ne 2 || "$1" != "--plugins" || ! "$2" =~ ^(agents|multi-work|quota|optchat)(,(agents|multi-work|quota|optchat))*$ ]]; then
printf 'Usage: %s [--plugins agents,multi-work,quota,optchat]\n' "$0" >&2
exit 2
fi
if [[ ",$2," == *,multi-work,* && ",$2," != *,agents,* ]]; then