Skip to content

refactor: modularize tools into individual modules with build-time definitions#356

Merged
dcramer merged 7 commits into
mainfrom
ref-tool-module
Jul 8, 2025
Merged

refactor: modularize tools into individual modules with build-time definitions#356
dcramer merged 7 commits into
mainfrom
ref-tool-module

infer types

c4cbbc2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 8, 2025 in 1s

75.73% of diff hit (target 59.70%)

View this Pull Request on Codecov

75.73% of diff hit (target 59.70%)

Annotations

Check warning on line 15 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L12-L15

Added lines #L12 - L15 were not covered by tests

Check warning on line 20 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L19-L20

Added lines #L19 - L20 were not covered by tests

Check warning on line 23 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L23

Added line #L23 was not covered by tests

Check warning on line 31 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L28-L31

Added lines #L28 - L31 were not covered by tests

Check warning on line 33 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L33

Added line #L33 was not covered by tests

Check warning on line 41 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L36-L41

Added lines #L36 - L41 were not covered by tests

Check warning on line 44 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 50 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L49-L50

Added lines #L49 - L50 were not covered by tests

Check warning on line 54 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 59 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L56-L59

Added lines #L56 - L59 were not covered by tests

Check warning on line 61 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L61

Added line #L61 was not covered by tests

Check warning on line 69 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L67-L69

Added lines #L67 - L69 were not covered by tests

Check warning on line 74 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L72-L74

Added lines #L72 - L74 were not covered by tests

Check warning on line 82 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L76-L82

Added lines #L76 - L82 were not covered by tests

Check warning on line 89 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L87-L89

Added lines #L87 - L89 were not covered by tests

Check warning on line 91 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L91

Added line #L91 was not covered by tests

Check warning on line 97 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L94-L97

Added lines #L94 - L97 were not covered by tests

Check warning on line 102 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L100-L102

Added lines #L100 - L102 were not covered by tests

Check warning on line 106 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 131 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L131

Added line #L131 was not covered by tests

Check warning on line 136 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L133-L136

Added lines #L133 - L136 were not covered by tests

Check warning on line 148 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L139-L148

Added lines #L139 - L148 were not covered by tests

Check warning on line 153 in packages/mcp-server/scripts/generate-tool-definitions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/scripts/generate-tool-definitions.ts#L151-L153

Added lines #L151 - L153 were not covered by tests

Check warning on line 31 in packages/mcp-server/src/server.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/src/server.ts#L31

Added line #L31 was not covered by tests

Check warning on line 155 in packages/mcp-server/src/server.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mcp-server/src/server.ts#L130-L155

Added lines #L130 - L155 were not covered by tests