抽屉优化
This commit is contained in:
1 parent
7234874797
commit
d968727460
14 files changed
+669
-154
No files matched your search
@@ -2935,6 +2935,7 @@ export const tools: Tool[] = [
|
||||
agents: ["worker", "mainagent"],
|
||||
enabled: true,
|
||||
kind: "builtin",
|
||||
calls: 1842,
|
||||
},
|
||||
{
|
||||
key: "report_finding",
|
||||
@@ -2953,6 +2954,7 @@ export const tools: Tool[] = [
|
||||
agents: ["worker"],
|
||||
enabled: true,
|
||||
kind: "builtin",
|
||||
calls: 96,
|
||||
},
|
||||
{
|
||||
key: "upsert_asset",
|
||||
@@ -2962,6 +2964,7 @@ export const tools: Tool[] = [
|
||||
agents: ["worker"],
|
||||
enabled: true,
|
||||
kind: "builtin",
|
||||
calls: 417,
|
||||
},
|
||||
{
|
||||
key: "list_goals",
|
||||
@@ -2971,6 +2974,7 @@ export const tools: Tool[] = [
|
||||
agents: ["planner"],
|
||||
enabled: true,
|
||||
kind: "builtin",
|
||||
calls: 238,
|
||||
},
|
||||
{
|
||||
key: "nuclei_scan",
|
||||
@@ -2985,6 +2989,7 @@ export const tools: Tool[] = [
|
||||
enabled: true,
|
||||
kind: "command",
|
||||
exec: { command: "nuclei", args: ["-u", "{{target}}"] },
|
||||
calls: 31,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -935,6 +935,7 @@ export interface Tool {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
exec?: Record<string, any>; // 自定义工具执行规格(kind!=builtin)
|
||||
deferred?: boolean; // schema 延迟(SearchExtraTools/ExecuteExtraTool)
|
||||
calls?: number; // persistent runtime invocation count (older APIs may omit it)
|
||||
}
|
||||
|
||||
// ---- Stats ----
|
||||
|
||||
Reference in new issue
Block a user