Commit fb89dd8
committed
refactor: replace background tools with scoped resource trackers
This commit replaces the global background tools approach with individual
resource trackers (AgentTracker, ShellTracker, and BrowserTracker) that are
scoped to each agent instance. This improves encapsulation and resource
management by ensuring that each agent is responsible for its own resources.
- Remove backgroundTools.ts and related files
- Refactor resource trackers to be scoped to the agent
- Add cleanup methods to each tracker
- Update tool implementations to use the new trackers
Closes #3051 parent f037f14 commit fb89dd8
File tree
33 files changed
+361
-864
lines changed- packages
- agent
- src
- core
- tools
- browser
- interaction
- system
- cli
- src
- commands
- utils
33 files changed
+361
-864
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments