on main help sign in
chore: auto-update files
f686999Charm
internal/agent/hyper/provider.json+1−1
@@ -65,7 +65,7 @@
65 "name": "Kimi K2.6",
65 "name": "Kimi K2.6",
66 "cost_per_1m_in": 0.8,
66 "cost_per_1m_in": 0.8,
67 "cost_per_1m_out": 4,
67 "cost_per_1m_out": 4,
68− "cost_per_1m_in_cached": 0.2,
68+ "cost_per_1m_in_cached": 0.25,
69 "cost_per_1m_out_cached": 0,
69 "cost_per_1m_out_cached": 0,
70 "context_window": 262144,
70 "context_window": 262144,
71 "default_max_tokens": 26214,
71 "default_max_tokens": 26214,
schema.json+32
@@ -89,6 +89,16 @@
89 "tools": {
89 "tools": {
90 "$ref": "#/$defs/Tools",
90 "$ref": "#/$defs/Tools",
91 "description": "Tool configurations"
91 "description": "Tool configurations"
92+ },
93+ "hooks": {
94+ "additionalProperties": {
95+ "items": {
96+ "$ref": "#/$defs/HookConfig"
97+ },
98+ "type": "array"
99+ },
100+ "type": "object",
101+ "description": "User-defined shell commands that fire on hook events (e.g. PreToolUse)"
92 }
102 }
93 },
103 },
94 "additionalProperties": false,
104 "additionalProperties": false,
@@ -97,6 +107,28 @@
97 "tools"
107 "tools"
98 ]
108 ]
99 },
109 },
110+ "HookConfig": {
111+ "properties": {
112+ "matcher": {
113+ "type": "string",
114+ "description": "Regex pattern tested against the tool name. Empty means match all tools."
115+ },
116+ "command": {
117+ "type": "string",
118+ "description": "Shell command to execute when the hook fires"
119+ },
120+ "timeout": {
121+ "type": "integer",
122+ "description": "Timeout in seconds for the hook command",
123+ "default": 30
124+ }
125+ },
126+ "additionalProperties": false,
127+ "type": "object",
128+ "required": [
129+ "command"
130+ ]
131+ },
100 "LSPConfig": {
132 "LSPConfig": {
101 "properties": {
133 "properties": {
102 "disabled": {
134 "disabled": {