-
Notifications
You must be signed in to change notification settings - Fork 415
Expand file tree
/
Copy pathschema.json
More file actions
152 lines (152 loc) · 4.92 KB
/
Copy pathschema.json
File metadata and controls
152 lines (152 loc) · 4.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Hyperflow Configuration",
"description": "Multi-provider model configuration for Hyperflow. Lives at ~/.hyperflow/config.json.",
"type": "object",
"properties": {
"activeProvider": {
"description": "Force a specific provider. null = auto-detect at runtime.",
"type": ["string", "null"],
"enum": ["claude-code", "cursor", "opencode", "codex", "antigravity", null],
"default": null
},
"defaults": {
"description": "Global fallback models when a provider doesn't specify one.",
"type": "object",
"properties": {
"thinking": {
"type": "string",
"description": "Default thinking (orchestrator/reviewer/debugger) model.",
"default": "opus-4-7"
},
"worker": {
"type": "string",
"description": "Default worker (implementer/searcher/writer) model.",
"default": "sonnet-4-6"
}
},
"required": ["thinking", "worker"]
},
"providers": {
"description": "Per-provider model configuration.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/providerConfig"
}
},
"security": {
"description": "Security layer configuration. Controls blocked files, commands, and secret detection.",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable or disable the security layer. Default: true.",
"default": true
},
"blockedFiles": {
"description": "Override default blocked file patterns.",
"type": "object",
"properties": {
"add": {
"type": "array",
"items": { "type": "string" },
"description": "Additional file patterns to block."
},
"remove": {
"type": "array",
"items": { "type": "string" },
"description": "Default patterns to unblock."
}
},
"additionalProperties": false
},
"blockedCommands": {
"description": "Override default blocked command patterns.",
"type": "object",
"properties": {
"add": {
"type": "array",
"items": { "type": "string" },
"description": "Additional command patterns to block."
},
"remove": {
"type": "array",
"items": { "type": "string" },
"description": "Default patterns to unblock."
}
},
"additionalProperties": false
},
"secretPatterns": {
"description": "Override default secret detection patterns.",
"type": "object",
"properties": {
"add": {
"type": "array",
"items": { "type": "string" },
"description": "Additional secret patterns to detect."
},
"remove": {
"type": "array",
"items": { "type": "string" },
"description": "Default patterns to stop detecting."
}
},
"additionalProperties": false
},
"allowedFiles": {
"description": "File patterns that are explicitly allowed (not blocked), e.g. .env.example.",
"type": "array",
"items": { "type": "string" }
}
},
"additionalProperties": false
}
},
"required": ["defaults"],
"$defs": {
"providerConfig": {
"type": "object",
"properties": {
"models": {
"description": "Available models for the install picker. Updated by hybrid fetch.",
"type": "object",
"properties": {
"thinking": {
"type": "array",
"items": { "type": "string" }
},
"worker": {
"type": "array",
"items": { "type": "string" }
}
}
},
"thinking": {
"type": "string",
"description": "Currently selected thinking model for this provider."
},
"worker": {
"type": "string",
"description": "Currently selected worker model for this provider."
},
"roles": {
"description": "Per-role model overrides. Key = role name, value = model ID.",
"type": "object",
"properties": {
"orchestrator": { "type": "string" },
"reviewer": { "type": "string" },
"debugger": { "type": "string" },
"decision-maker": { "type": "string" },
"brainstormer": { "type": "string" },
"implementer": { "type": "string" },
"searcher": { "type": "string" },
"writer": { "type": "string" }
},
"additionalProperties": false
}
},
"required": ["thinking", "worker"]
}
}
}