Commit Graph

656 Commits

Author SHA1 Message Date
Peter M. Elias
dac0b7cc34 fix: use buildUrl utility in issues module 2025-01-13 11:53:22 -08:00
Peter M. Elias
10f0aec693 fix: use buildUrl utility in commits module 2025-01-13 11:53:22 -08:00
Peter M. Elias
3e1b3caaec fix: resolve typescript errors and add buildUrl utility
- Fix headers type assertion issue
- Add buildUrl utility function for URL parameter handling
2025-01-13 11:53:22 -08:00
Peter M. Elias
272e26935b feat: add GitHub error handling to MCP server
- Import GitHubError types
- Add error formatting utility
- Update error handling in request handler
2025-01-13 11:53:22 -08:00
Peter M. Elias
10bd24dd02 feat: enhance pull request operations with validation and error handling
- Add branch existence validation
- Add duplicate PR check
- Add comprehensive error handling
- Improve type safety with zod transforms
- Add input sanitization
2025-01-13 11:53:22 -08:00
Peter M. Elias
ff2f2c5347 feat: enhance GitHub request utilities with error handling 2025-01-13 11:53:22 -08:00
Peter M. Elias
fb421b4837 feat: add GitHub API error handling utilities 2025-01-13 11:53:22 -08:00
Peter M. Elias
e921c2725c fix: restore proper runServer function closure 2025-01-13 11:53:22 -08:00
Peter M. Elias
b8b7c1b784 refactor: update pull request handler to use new parameter style 2025-01-13 11:53:22 -08:00
Peter M. Elias
42872be9a2 refactor: remove documentation and comments 2025-01-13 11:53:22 -08:00
Peter M. Elias
835be7f855 refactor: improve pull request schemas and validation
- Add proper state enum validation
- Add title and body length validation
- Consolidate request schemas
- Add consistent parameter handling
- Improve type safety
- Add proper JSDoc documentation
2025-01-13 11:53:22 -08:00
Peter M Elias
7c72d987f9 cleanup 2025-01-13 11:53:22 -08:00
Peter M. Elias
a79ec67d9c Add missing GitHubListCommitsSchema and GitHubSearchResponseSchema to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
0b3359fbf9 Add missing issue-related schemas to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
4ec840cb4a Add GitHubIssueAssigneeSchema to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
6b9e983407 Add GitHubPullRequestSchema and related schemas to pulls module 2025-01-13 11:53:22 -08:00
Peter M. Elias
9f43900170 Add GitHubCreateUpdateFileResponseSchema to files module 2025-01-13 11:53:22 -08:00
Peter M. Elias
b4e5754c65 Remove schemas.ts as schemas are now in operation modules 2025-01-13 11:53:22 -08:00
Peter M. Elias
83909ddf95 Refactor index.ts to use modular operation files 2025-01-13 11:53:22 -08:00
Peter M. Elias
f8915fe9aa Add commits operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
7a89bd5f08 Add search operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
6fdfeebdbe Add pull request operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
d751289f9c Add branches operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
2218a0f442 Add issues operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
ee874d7b5b Add file operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
150e9cc560 Add repository operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
ca2c6f9324 Add common utilities for GitHub API requests 2025-01-13 11:53:22 -08:00
Peter M. Elias
534b90cfe0 Add common type definitions 2025-01-13 11:53:22 -08:00
Peter M Elias
0ecd2049ab more 'fixes' 2025-01-13 11:53:22 -08:00
Peter M Elias
f4122ff231 more fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
d9ae0911b9 more schema fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
a56242dfdc more schema fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
90265c27d2 schema tweaks 2025-01-13 11:53:22 -08:00
Peter M Elias
59b831f326 fix github getfilecontent zod schema to match readme spec 2025-01-13 11:53:22 -08:00
Peter M Elias
cecd241500 fix github PR schemas 2025-01-13 11:53:22 -08:00
GongRzhe
9c2059a1b7 Merge branch 'main' into main 2025-01-13 11:21:34 +08:00
Aleksey Zhukov
ebecd590e2 Update error handling to use ErrorData consistently
Also:
Updated mcp dependency from 1.0.0 to 1.1.3

This aligns with MCP's error handling patterns and provides better
structured error information.
2025-01-10 21:53:57 +01:00
Alexandros Pappas
b0237b1e28 Merge branch 'main' into feat/add-start-scripts-everything-server 2025-01-10 18:10:28 +01:00
Philippe Charrière
c2b4f71c0f Merge branch 'main' into patch-1 2025-01-10 15:36:34 +01:00
Justin Spahr-Summers
6ec4dff99a Add tool to list existing PR reviews 2025-01-10 13:53:13 +00:00
Justin Spahr-Summers
a47abf5cce Add support for listing PR comments 2025-01-10 13:47:46 +00:00
Justin Spahr-Summers
ac7592f71a Support updating PR branches 2025-01-10 12:57:39 +00:00
Justin Spahr-Summers
f42cf77d57 Don't use old toolResult format 2025-01-10 12:57:38 +00:00
Justin Spahr-Summers
353fbb8d0a Add reading PR files and status, merging PRs 2025-01-10 12:57:38 +00:00
Justin Spahr-Summers
9e25ffd599 Add support for listing, reading, and reviewing PRs 2025-01-10 12:57:38 +00:00
TerminalMan
ae0197e374 fix sampling 2025-01-08 20:16:10 +00:00
interrobot
71f0b3c039 Merge branch 'main' into windows-default-encoding-fix 2025-01-06 21:19:39 -05:00
Josh Cannon
7fd318d2ce hint period 2025-01-06 13:38:17 -06:00
s2005
98d983a996 Merge branch 'main' into feature/memory-improvements 2025-01-05 14:38:53 +01:00
erdnax123
87c9f43877 Merge branch 'main' into erdnax123-patch-2 2025-01-02 13:03:39 -03:00