Commit c3f7967
authored
Feature/docker support (#2)
* feat: add Docker support with path validation fix
- Add Dockerfile with multi-stage Bun build on Debian
- Optimize .dockerignore for smaller build context
- Fix path resolution bug that caused ENOENT errors (PR cyanheads#33)
* ci: add GHCR Docker image build workflow
- Build and push to ghcr.io on main branch push
- Multi-platform support (amd64, arm64)
- Semantic versioning tags on release
- Manual trigger with custom tag support
* fix(clone): run git clone from parent directory to avoid ENOENT
Resolves issue where clone failed with 'posix_spawn git' error because
the target directory doesn't exist yet. Now clones from parent dir.
Ref: cyanheads#33
* feat(clone): enhance URL validation for repository cloning
Updated the input schema to enforce a minimum length for the repository URL and clarified the supported URL formats (HTTPS and SSH) in the description. This improves user guidance and input validation for the git clone tool.File tree
2 files changed
+19
-4
lines changed- src
- mcp-server/tools/definitions
- services/git/providers/cli/operations/core
2 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
51 | | - | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
55 | | - | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
| |||
0 commit comments