feat(athena): add non-interactive fields to override schema
Extend AthenaOverrideConfigSchema with non_interactive_mode, non_interactive_members, non_interactive_member_list. Replace Record<string, unknown> casts with proper typed access. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -5273,6 +5273,28 @@
|
|||||||
"members"
|
"members"
|
||||||
],
|
],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"non_interactive_mode": {
|
||||||
|
"default": "delegation",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"delegation",
|
||||||
|
"solo"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"non_interactive_members": {
|
||||||
|
"default": "all",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"all",
|
||||||
|
"custom"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"non_interactive_member_list": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ export const AgentOverrideConfigSchema = z.object({
|
|||||||
|
|
||||||
export const AthenaOverrideConfigSchema = AgentOverrideConfigSchema.extend({
|
export const AthenaOverrideConfigSchema = AgentOverrideConfigSchema.extend({
|
||||||
council: AthenaConfigSchema.shape.council.optional(),
|
council: AthenaConfigSchema.shape.council.optional(),
|
||||||
|
non_interactive_mode: AthenaConfigSchema.shape.non_interactive_mode,
|
||||||
|
non_interactive_members: AthenaConfigSchema.shape.non_interactive_members,
|
||||||
|
non_interactive_member_list: AthenaConfigSchema.shape.non_interactive_member_list,
|
||||||
})
|
})
|
||||||
|
|
||||||
export const AgentOverridesSchema = z.object({
|
export const AgentOverridesSchema = z.object({
|
||||||
|
|||||||
Reference in New Issue
Block a user