From f68699966309e8fc1c68e0118da519bc29429b82 Mon Sep 17 00:00:00 2001 From: Charm <124303983+charmcli@users.noreply.github.com> Date: Sun, 26 Apr 2026 13:26:11 +0000 Subject: [PATCH] chore: auto-update files --- internal/agent/hyper/provider.json | 2 +- schema.json | 32 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/internal/agent/hyper/provider.json b/internal/agent/hyper/provider.json index 77f1bd41c6e37d16e81d7bc0e2fae7ce26d1e05b..031b03c89ff15b33f252db0aac75591e65adce5b 100644 --- a/internal/agent/hyper/provider.json +++ b/internal/agent/hyper/provider.json @@ -65,7 +65,7 @@ "name": "Kimi K2.6", "cost_per_1m_in": 0.8, "cost_per_1m_out": 4, - "cost_per_1m_in_cached": 0.2, + "cost_per_1m_in_cached": 0.25, "cost_per_1m_out_cached": 0, "context_window": 262144, "default_max_tokens": 26214, diff --git a/schema.json b/schema.json index 750e44d7674b46c3afb3874100de2b4545273bf5..f60fd4f5f696f2d5f17aa4d5b2af4d6089336722 100644 --- a/schema.json +++ b/schema.json @@ -89,6 +89,16 @@ "tools": { "$ref": "#/$defs/Tools", "description": "Tool configurations" + }, + "hooks": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/HookConfig" + }, + "type": "array" + }, + "type": "object", + "description": "User-defined shell commands that fire on hook events (e.g. PreToolUse)" } }, "additionalProperties": false, @@ -97,6 +107,28 @@ "tools" ] }, + "HookConfig": { + "properties": { + "matcher": { + "type": "string", + "description": "Regex pattern tested against the tool name. Empty means match all tools." + }, + "command": { + "type": "string", + "description": "Shell command to execute when the hook fires" + }, + "timeout": { + "type": "integer", + "description": "Timeout in seconds for the hook command", + "default": 30 + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "command" + ] + }, "LSPConfig": { "properties": { "disabled": {