Skip to content

Custom tool loading crashes on transient dependency install failures #13784

@sauerdaniel

Description

@sauerdaniel

Problem

  1. Config.waitForDependencies() runs bun install once and silently swallows failures. On Windows, transient file locks can cause this to fail.
  2. ToolRegistry.getCustom() directly imports each tool module without isolation — one broken custom tool crashes loading for all custom tools.

Expected behavior

  • Transient dependency install failures should be retried before giving up
  • A broken custom tool module should not prevent other tools from loading

Environment

  • Primarily affects Windows (file lock contention during bun install)
  • Also affects any environment where a custom tool module has a syntax/runtime error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions