Skip to content

Jyl/feat/tools multi file read#12794

Closed
YunlongJ wants to merge 20 commits intoanomalyco:devfrom
YunlongJ:jyl/feat/tools_multi_file_read
Closed

Jyl/feat/tools multi file read#12794
YunlongJ wants to merge 20 commits intoanomalyco:devfrom
YunlongJ:jyl/feat/tools_multi_file_read

Conversation

@YunlongJ
Copy link

@YunlongJ YunlongJ commented Feb 9, 2026

What does this PR do?

add multi read

How did you verify your code works?

jyl and others added 20 commits February 3, 2026 22:27
Parallelize independent I/O operations in Config.state() and Provider.state()
to reduce startup time:
- Config: parallel load well-known, global, custom, project configs
- Config: parallel process directories for commands/agents/modes/plugins
- Provider: parallel load Config, ModelsDev, Env, Auth, Plugins
- ToolRegistry: cache initialized tools by tool:agent key to avoid
  repeated init() calls during agent loops
- LLM.stream: cache provider/auth lookups by providerID
Previously the parser was using a sync lazy() wrapper which could
cause issues when the async import/wasm loading wasn't properly awaited.
- Add parallel_execution and max_parallel_tools config options
- Implement ToolDependency.analyze() for path-based dependency detection
- Add executeToolsParallel() for leveled parallel execution
- Add ToolResultCache for caching tool execution results
- Detect conflicts between read/edit/write/bash tools by path
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Hey! Your PR title Jyl/feat/tools multi file read doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

The following comment was made by an LLM, it may be inaccurate:

Found a potential duplicate:

PR #9656: feat(opencode): trigger compaction earlier and add multi-file read

This appears to be a duplicate or very closely related feature. You may want to check if PR #9656 was already merged or if there's additional work needed on this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant