Skip to content

Fixture/web tools in agents#30

Merged
claude-code-best merged 13 commits into
mainfrom
fixture/web-tools-in-agents
Jun 12, 2026
Merged

Fixture/web tools in agents#30
claude-code-best merged 13 commits into
mainfrom
fixture/web-tools-in-agents

Conversation

@claude-code-best

Copy link
Copy Markdown
Collaborator

No description provided.

KonghaYao and others added 13 commits June 12, 2026 21:37
- 新增 judgment-leverage / snapshot-anchor 两篇博客
- 更新 WRITING_TOPICS.md(+78 行话题)
- blog-writer SKILL.md 小幅调整
Wrap Write tool invoke in tokio::time::timeout(120s). On timeout, return
error message guiding the agent to use append=true for chunked writes,
avoiding LLM-side streaming slowdown for large single-file outputs.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Align with FilesystemMiddleware/TerminalMiddleware pattern of
having collect_tools() delegate to build_tools() for DRY and to
prevent divergence between the two methods.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
WebMiddleware tools were missing from parent_tools, so all subagents
lacked WebFetch and WebSearch. Added via WebMiddleware::build_tools().

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
The /bg command path had its own parent_tools construction that was
also missing WebMiddleware tools. Now aligned with the main builder
path in agent/builder.rs.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
…earch

Replace Bash+npx web-fetch approach with native tools. Add three
research strategies: multi-round progressive, parallel multi-source,
and deep tracing. Structured Markdown output with citations.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
- max_turns -> maxTurns (serde camelCase required)
- Tighten Strategy A fetch counts to stay within max 8 total
- robot.txt -> robots.txt

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Add web-researcher to BUILT_IN_AGENTS array (sorted after verification).
Update test assertions.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Replaced by built-in agent (compiled-in). Old definition used Bash+npx
web-fetch; new one uses native WebFetch/WebSearch tools.

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Web-researcher added as 6th built-in agent. Update test assertions:
- mod_test.rs: built-in count 5→6, total 6→7
- prompt_test.rs: total agent entries 7→8

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Both issues fully implemented and user-verified:
- Subagent: WebFetch/WebSearch now in parent_tools for all 5 paths
- Web-researcher: upgraded to built-in agent with native tools + 3 strategies

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
@claude-code-best claude-code-best merged commit f7050f0 into main Jun 12, 2026
3 checks passed
KonghaYao added a commit that referenced this pull request Jun 14, 2026
删除:
- #1 popup scroll follow, #2 ACP logout, #4 memory growth
- #6 @dir Read injection, #17 subagent memory doubling
- #36 hashline edit, #41 lineedit confusion, #48 lineedit re-read

标记 Fixed (18):
- #10 askuser auto-close, #12 LLM error amnesia, #13 new_thread deadlock
- #18 PermissionRequest bypass, #25 thread-browser table scan
- #30-#34 concurrent bg, config panel, edit tools, panic text
- #38 unknown slash, #42 plugin skills, #44-#45 askuser space/textarea
- #39 global hooks, #40 inline slash, #43 write append
- #46 compact rendering, #52 prompt suggestion

标记 Done (4):
- #14 streaming frame-rate, #15 CPU spike
- #50 coder agent, #51 remove lineedit beta

Still open: 18 (hooks 5, compact 2, sqlite 1, tool offset 1, etc.)

Co-Authored-By: deepseek-v4-pro <deepseek-ai@claude-code-best.win>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants