test(snapshot): refresh fixtures for the 10-query web_search default

This commit is contained in:
imccyu
2026-11-03 12:13:05 +08:00
parent aa4774e685
commit a3f6f94c1e
6 changed files with 12 additions and 12 deletions
@@ -811,7 +811,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -795,7 +795,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -1744,7 +1744,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -2692,7 +2692,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -3640,7 +3640,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -4588,7 +4588,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -511,7 +511,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -1160,7 +1160,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -370,7 +370,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -511,7 +511,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -1160,7 +1160,7 @@
"properties": {
"queries": {
"type": "array",
"description": "1–4 search queries; their results are merged.",
"description": "1–10 search queries; their results are merged.",
"items": {
"type": "string"
}
@@ -230,7 +230,7 @@ interface ToolArgsMap {
} & Record<string, JsonValue>;
/** Search the web for current information. Returns an optional summary answer and a list of source URLs. */
web_search: {
/** 1–4 search queries; their results are merged. */
/** 1–10 search queries; their results are merged. */
queries: string[];
} & Record<string, JsonValue>;
/** Run a JavaScript workflow script that orchestrates subagents at scale. Use this for work that fans out across many independent pieces — an audit over many files, a migration, multi-angle research, adversarial verification of findings — where you write the orchestration as a script instead of delegating turn by turn. Script-body hooks: - `agent(prompt, opts?): Promise<any>` — run one subagent to completion. Without `opts.schema` it resolves to the child's final text; with `opts.schema` (an object-rooted JSON Schema using ONLY type/properties/required/additionalProperties/items/enum/const/oneOf) it resolves to the validated object. Resolves `null` when the child fails (filter with `.filter(Boolean)`). Other opts: `label` (display), `phase` (progress group), and independent `provider`/`model` LLM target overrides. - `pipeline(items, ...stages): Promise<any[]>` — run each item through the stages independently with NO barrier between stages (prefer this for multi-stage work). Each stage receives `(prev, item, index)`. A stage throw drops that ITEM to `null` and skips its remaining stages. - `parallel(thunks): Promise<any[]>` — run zero-argument functions concurrently and await ALL of them (a barrier; use only when a stage genuinely needs every prior result together). A throwing thunk resolves to `null`. - `phase(title)` — start a progress phase; `log(message)` — narrate progress; `args` — the tool call's `args` input, verbatim. Misused hooks (bad arguments, unknown options, unsupported schemas, tripped caps) end the whole script instead of producing `null`. The script has no filesystem, network, timer, or Node.js APIs; the agents do the work. */