67 lines
3.4 KiB
JSON
67 lines
3.4 KiB
JSON
{
|
|
"comment": "Data for sisi/discovery.py: what a host's capability listing and delegation tool look like, which flags switch off approvals, which names are never tools, and which names hint at an agent tool. Names of tools and hosts live here, never in code. Paths are dotted keys into the tool's JSON.",
|
|
"hosts": [
|
|
{
|
|
"host": "t3-code",
|
|
"capability_tool": "^mcp__t3-code__orchestrator_capabilities$",
|
|
"delegation_tool": "^mcp__t3-code__delegate_task$",
|
|
"capability": {
|
|
"providers": "providers",
|
|
"provider": "providerInstanceId",
|
|
"kind": "driverKind",
|
|
"name": "displayName",
|
|
"models": "models",
|
|
"model": "id",
|
|
"label": "label",
|
|
"usable": "canRunChildTask",
|
|
"constraints": "constraints"
|
|
},
|
|
"delegation": {
|
|
"tool_name": "delegate_task",
|
|
"provider": "target.providerInstanceId",
|
|
"model": "target.model"
|
|
}
|
|
}
|
|
],
|
|
"blocking_constraint_words": ["disabled", "unavailable", "not installed", "not authenticated", "not signed in", "unsupported"],
|
|
"approval_bypass_patterns": [
|
|
"^--?dangerous",
|
|
"^--?yolo$",
|
|
"^--?always-approve$",
|
|
"^--?auto-approve",
|
|
"^--?allow-all",
|
|
"^--?skip-permissions",
|
|
"^--?no-sandbox",
|
|
"^--?bypass",
|
|
"^--?full-auto$",
|
|
"^--?force$",
|
|
"^--?auto$",
|
|
"^-y$",
|
|
"^--?yes$",
|
|
"^--?no-?confirm",
|
|
"^--?approval(-mode)?[=:]?(yolo|never|none|off)$",
|
|
"^(yolo|never|danger-full-access|bypass)$",
|
|
"^--?sandbox[=:]?(off|false|none|disabled|danger-full-access)$"
|
|
],
|
|
"not_a_tool": ["sh", "bash", "zsh", "fish", "dash", "ksh", "csh", "tcsh", "env", "sudo", "doas", "su", "xargs",
|
|
"python", "python3", "perl", "ruby", "node", "deno", "bun", "php", "lua", "awk", "sed", "eval",
|
|
"exec", "nohup", "timeout", "time", "watch", "cmd", "powershell", "pwsh"],
|
|
"agent_name_hints": ["agent", "code", "coder", "copilot", "pilot", "assist", "ai", "llm", "gpt", "chat", "claw", "gen", "mind", "brain"],
|
|
"driver_format_help": {
|
|
"name": "short id of the tool, lowercase letters, digits, dot, dash, underscore",
|
|
"exe": "the command name as found on PATH (a bare name, no slash); must be the tool itself, never a shell or interpreter",
|
|
"run": "argument list that runs ONE task without interaction; first item is exe; exactly one item is the whole token {prompt}; other whole-token placeholders allowed: {model_flag} {effort_flag} {cwd_flag} {cwd}",
|
|
"list": "argument list that prints the model names one per line, or null",
|
|
"list_kind": "\"lines\"",
|
|
"model_flag": "the flag that chooses a model (for {model_flag}), or null",
|
|
"effort_flag": "the flag that chooses reasoning effort (for {effort_flag}), or null",
|
|
"cwd_flag": "the flag that sets the working folder (for {cwd_flag}), or null",
|
|
"plan": "\"free\", \"flat\" (a subscription with an allowance) or \"per-use\"; null when unknown",
|
|
"auth_signatures": "lowercase phrases its output contains when it is not logged in (6 to 80 characters each)",
|
|
"limit_signatures": "lowercase phrases its output contains when a quota or rate limit is hit",
|
|
"tokens_regex": "a regular expression with ONE group that captures the total token count from its output, or null",
|
|
"approvals_off_reason": "only when the tool cannot run without a flag that switches off approvals or its sandbox: say why",
|
|
"notes": "anything the next reader needs, one short paragraph"
|
|
}
|
|
}
|