mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 17:50:12 -04:00
feat(protocol): add authored runtime and team configs
This commit is contained in:
parent
7f0892d67b
commit
84882d3b9c
6 changed files with 1274 additions and 0 deletions
162
schemas/agent-runtime.schema.json
Normal file
162
schemas/agent-runtime.schema.json
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://example.com/schemas/agent-runtime.schema.json",
|
||||
"title": "Agent Runtime Config",
|
||||
"description": "Portable runtime policy for deriving tool-specific AI harness configuration.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"version",
|
||||
"model",
|
||||
"runtime",
|
||||
"safety"
|
||||
],
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"const": 1
|
||||
},
|
||||
"model": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"class",
|
||||
"reasoning"
|
||||
],
|
||||
"properties": {
|
||||
"class": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"fast",
|
||||
"balanced",
|
||||
"powerful"
|
||||
],
|
||||
"description": "Portable model tier. Adapters map this to provider-specific model names."
|
||||
},
|
||||
"reasoning": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"max"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"filesystem",
|
||||
"approval",
|
||||
"network_access",
|
||||
"tools"
|
||||
],
|
||||
"properties": {
|
||||
"filesystem": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"read-only",
|
||||
"workspace-write"
|
||||
]
|
||||
},
|
||||
"approval": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"manual",
|
||||
"guarded-auto",
|
||||
"full-auto"
|
||||
],
|
||||
"description": "Portable approval intent. Adapters degrade where exact behavior is unavailable."
|
||||
},
|
||||
"network_access": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"tools": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"shell",
|
||||
"read",
|
||||
"edit",
|
||||
"write",
|
||||
"glob",
|
||||
"grep",
|
||||
"web_fetch",
|
||||
"web_search"
|
||||
]
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"safety": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"protected_paths",
|
||||
"dangerous_shell_commands"
|
||||
],
|
||||
"properties": {
|
||||
"protected_paths": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"dangerous_shell_commands": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"ask"
|
||||
],
|
||||
"properties": {
|
||||
"ask": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"targets": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"claude": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"claude_md_excludes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"codex": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"approval_policy": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"on-request",
|
||||
"untrusted",
|
||||
"never"
|
||||
]
|
||||
},
|
||||
"network_access": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue