|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://blocksense.dev/schemas/agents-workflow/config.schema.json", |
| 4 | + "title": "Agents-Workflow Configuration", |
| 5 | + "type": "object", |
| 6 | + "additionalProperties": false, |
| 7 | + "$defs": { |
| 8 | + "LogLevel": { "type": "string", "enum": ["debug", "info", "warn", "error"] }, |
| 9 | + "Mode": { "type": "string", "enum": ["auto", "local", "rest"] }, |
| 10 | + "Multiplexer": { "type": "string", "enum": ["tmux", "zellij", "screen"] }, |
| 11 | + "Vcs": { "type": "string", "enum": ["git", "hg", "bzr", "fossil"] }, |
| 12 | + "DevEnv": { "type": "string", "enum": ["nix", "spack", "bazel", "none", "no", "custom"] }, |
| 13 | + "TaskRunner": { "type": "string", "enum": ["just", "make"] }, |
| 14 | + "AgentName": { |
| 15 | + "type": "string", |
| 16 | + "enum": [ |
| 17 | + "generic", |
| 18 | + "codex", |
| 19 | + "copilot", |
| 20 | + "claude", |
| 21 | + "gemini", |
| 22 | + "cursor", |
| 23 | + "windsurf", |
| 24 | + "zed", |
| 25 | + "cline", |
| 26 | + "roo", |
| 27 | + "jetbrains", |
| 28 | + "openhands" |
| 29 | + ] |
| 30 | + }, |
| 31 | + "SupportedAgents": { |
| 32 | + "oneOf": [ |
| 33 | + { "type": "string", "const": "all" }, |
| 34 | + { "type": "array", "items": { "$ref": "#/$defs/AgentName" }, "uniqueItems": true } |
| 35 | + ] |
| 36 | + }, |
| 37 | + "YesNo": { "type": "boolean" }, |
| 38 | + "Uri": { "type": "string", "format": "uri" } |
| 39 | + }, |
| 40 | + "properties": { |
| 41 | + "tui": { |
| 42 | + "type": "object", |
| 43 | + "additionalProperties": false, |
| 44 | + "properties": { |
| 45 | + "defaultMode": { "$ref": "#/$defs/Mode" } |
| 46 | + } |
| 47 | + }, |
| 48 | + "terminal": { |
| 49 | + "type": "object", |
| 50 | + "additionalProperties": false, |
| 51 | + "properties": { |
| 52 | + "multiplexer": { "$ref": "#/$defs/Multiplexer" } |
| 53 | + } |
| 54 | + }, |
| 55 | + "editor": { |
| 56 | + "type": "object", |
| 57 | + "additionalProperties": false, |
| 58 | + "properties": { |
| 59 | + "default": { "type": "string", "minLength": 1 } |
| 60 | + } |
| 61 | + }, |
| 62 | + "network": { |
| 63 | + "type": "object", |
| 64 | + "additionalProperties": false, |
| 65 | + "properties": { |
| 66 | + "apiUrl": { "$ref": "#/$defs/Uri" } |
| 67 | + } |
| 68 | + }, |
| 69 | + "browserAutomation": { |
| 70 | + "type": "object", |
| 71 | + "additionalProperties": false, |
| 72 | + "properties": { |
| 73 | + "enabled": { "type": "boolean" }, |
| 74 | + "profile": { "type": "string" }, |
| 75 | + "chatgptUsername": { "type": "string" } |
| 76 | + } |
| 77 | + }, |
| 78 | + "codex": { |
| 79 | + "type": "object", |
| 80 | + "additionalProperties": false, |
| 81 | + "properties": { |
| 82 | + "workspace": { "type": "string" } |
| 83 | + } |
| 84 | + }, |
| 85 | + "repo": { |
| 86 | + "type": "object", |
| 87 | + "additionalProperties": false, |
| 88 | + "properties": { |
| 89 | + "supportedAgents": { "$ref": "#/$defs/SupportedAgents" }, |
| 90 | + "init": { |
| 91 | + "type": "object", |
| 92 | + "additionalProperties": false, |
| 93 | + "properties": { |
| 94 | + "vcs": { "$ref": "#/$defs/Vcs" }, |
| 95 | + "devenv": { "$ref": "#/$defs/DevEnv" }, |
| 96 | + "devcontainer": { "$ref": "#/$defs/YesNo" }, |
| 97 | + "direnv": { "$ref": "#/$defs/YesNo" }, |
| 98 | + "taskRunner": { "$ref": "#/$defs/TaskRunner" } |
| 99 | + } |
| 100 | + } |
| 101 | + } |
| 102 | + }, |
| 103 | + "logLevel": { "$ref": "#/$defs/LogLevel" }, |
| 104 | + "mode": { "$ref": "#/$defs/Mode" } |
| 105 | + } |
| 106 | +} |
| 107 | + |
0 commit comments