Skip to content

Commit cd764a4

Browse files
authored
Merge branch 'main' into main
2 parents 7ab055a + 28a3132 commit cd764a4

7 files changed

Lines changed: 60 additions & 38 deletions

File tree

.github/workflows/claude.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Run Claude Code
3434
id: claude
35-
uses: anthropics/claude-code-action@beta
35+
uses: anthropics/claude-code-action@v1
3636
with:
3737
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3838

@@ -42,10 +42,7 @@ jobs:
4242
4343
# Trigger when assigned to an issue
4444
assignee_trigger: "claude"
45-
46-
# Allow Claude to run bash
47-
# This should be safe given the repo is already public
48-
allowed_tools: "Bash"
49-
50-
custom_instructions: |
51-
If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block.
45+
46+
claude_args: |
47+
--allowedTools Bash
48+
--system-prompt "If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block."

.github/workflows/typescript.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,9 @@ jobs:
4141
working-directory: src/${{ matrix.package }}
4242
run: npm ci
4343

44-
- name: Check if tests exist
45-
id: check-tests
46-
working-directory: src/${{ matrix.package }}
47-
run: |
48-
if npm run test --silent 2>/dev/null; then
49-
echo "has-tests=true" >> $GITHUB_OUTPUT
50-
else
51-
echo "has-tests=false" >> $GITHUB_OUTPUT
52-
fi
53-
continue-on-error: true
54-
5544
- name: Run tests
56-
if: steps.check-tests.outputs.has-tests == 'true'
5745
working-directory: src/${{ matrix.package }}
58-
run: npm test
46+
run: npm test --if-present
5947

6048
build:
6149
needs: [detect-packages, test]

README.md

Lines changed: 33 additions & 7 deletions
Large diffs are not rendered by default.

src/filesystem/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
},
99
"include": [
1010
"./**/*.ts"
11+
],
12+
"exclude": [
13+
"**/__tests__/**",
14+
"**/*.test.ts",
15+
"**/*.spec.ts"
1116
]
1217
}

src/git/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Please note that mcp-server-git is currently in early development. The functiona
7070
- Inputs:
7171
- `repo_path` (string): Path to Git repository
7272
- `branch_name` (string): Name of the new branch
73-
- `start_point` (string, optional): Starting point for the new branch
73+
- `base_branch` (string, optional): Base branch to create from (defaults to current branch)
7474
- Returns: Confirmation of branch creation
7575
10. `git_checkout`
7676
- Switches branches

src/git/tests/test_server.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
from pathlib import Path
33
import git
4-
from mcp_server_git.server import git_checkout, git_branch, git_add
4+
from mcp_server_git.server import git_checkout, git_branch, git_add, git_status
55
import shutil
66

77
@pytest.fixture
@@ -91,3 +91,9 @@ def test_git_add_specific_files(test_repository):
9191
assert "file1.txt" in staged_files
9292
assert "file2.txt" not in staged_files
9393
assert result == "Files staged successfully"
94+
95+
def test_git_status(test_repository):
96+
result = git_status(test_repository)
97+
98+
assert result is not None
99+
assert "On branch" in result or "branch" in result.lower()

src/sequentialthinking/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ Parameters explained:
4444
* Changes in approach
4545
* Hypothesis generation
4646
* Hypothesis verification
47-
- next_thought_needed: True if you need more thinking, even if at what seemed like the end
48-
- thought_number: Current number in sequence (can go beyond initial total if needed)
49-
- total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)
50-
- is_revision: A boolean indicating if this thought revises previous thinking
51-
- revises_thought: If is_revision is true, which thought number is being reconsidered
52-
- branch_from_thought: If branching, which thought number is the branching point
53-
- branch_id: Identifier for the current branch (if any)
54-
- needs_more_thoughts: If reaching end but realizing more thoughts needed
47+
- nextThoughtNeeded: True if you need more thinking, even if at what seemed like the end
48+
- thoughtNumber: Current number in sequence (can go beyond initial total if needed)
49+
- totalThoughts: Current estimate of thoughts needed (can be adjusted up/down)
50+
- isRevision: A boolean indicating if this thought revises previous thinking
51+
- revisesThought: If is_revision is true, which thought number is being reconsidered
52+
- branchFromThought: If branching, which thought number is the branching point
53+
- branchId: Identifier for the current branch (if any)
54+
- needsMoreThoughts: If reaching end but realizing more thoughts needed
5555
5656
You should:
5757
1. Start with an initial estimate of needed thoughts, but be ready to adjust

0 commit comments

Comments
 (0)