fix(quota): exclude agents from quota rules and usage records (#325)

* fix(quota): exclude agents from quota rules and usage records

* refactor(quota): remove agent_skill_call_count resource type and related logic

* chore(db): replace manual migration with prisma-generated migration
This commit is contained in:
Yiling-J
2026-08-18 11:56:03 +08:00
committed by GitHub
parent f806272c06
commit 8a75d015a1
22 changed files with 127 additions and 318 deletions
-3
View File
@@ -1071,7 +1071,6 @@
"quota_resource": "Resource",
"quota_resource_agent_total_tokens": "AI Tokens",
"quota_resource_agent_cost": "AI Cost ($)",
"quota_resource_agent_skill_call_count": "Skill Calls",
"quota_resource_agent_mcp_call_count": "MCP Server Calls",
"quota_resource_agent_bash_call_count": "Agent Bash Calls",
"quota_resource_agent_tool_call_count": "Agent Tool Calls",
@@ -1120,14 +1119,12 @@
"select_members": "Select Members",
"select_role": "Select Role",
"select_user": "Select User",
"select_skill": "Select Skill",
"select_mcp_server": "Select MCP Server",
"select_tool": "Select Tool",
"custom_id": "Custom ID",
"enter_custom_id": "Enter custom ID",
"bash_command_pattern": "Bash Match Wildcard",
"bash_command_pattern_placeholder": "e.g. * or npm*",
"enter_skill_id": "Enter Skill ID",
"enter_mcp_id": "Enter MCP Server ID",
"quota_bash_hint": "Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",
"quota_tool_hint": "Select a specific agent tool to configure its quota limit"