@robosystems/mcp 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -159,10 +159,8 @@ Once configured, you can ask Claude to:
159
159
  ### Getting Help
160
160
 
161
161
  For support:
162
- - **Documentation**: [https://docs.robosystems.ai](https://docs.robosystems.ai)
163
162
  - **API Reference**: [https://api.robosystems.ai](https://api.robosystems.ai)
164
- - **Issues**: [GitHub Issues](https://github.com/HarbingerFinLab/robosystems-mcp-client/issues)
165
- - **Email**: support@robosystems.ai
163
+ - **Issues**: [GitHub Issues](https://github.com/RoboFinSystems/robosystems-mcp-client/issues)
166
164
 
167
165
  ## Security
168
166
 
@@ -179,5 +177,5 @@ MIT © 2025 Harbinger FinLab
179
177
 
180
178
  ## Related Projects
181
179
 
182
- - [robosystems-sdk](https://www.npmjs.com/package/robosystems-sdk) - JavaScript/TypeScript SDK
183
- - [robosystems-python-sdk](https://pypi.org/project/robosystems-sdk/) - Python SDK
180
+ - [@robosystems/client](https://www.npmjs.com/package/@robosystems/client) - JavaScript/TypeScript Client
181
+ - [robosystems-python-client](https://pypi.org/project/robosystems-client/) - Python Client
@@ -0,0 +1,91 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Create feature branch script using GitHub Actions
5
+ # Creates a new feature/bugfix/hotfix branch from specified base
6
+ # Usage: ./bin/create-feature [feature|bugfix|hotfix|chore|refactor] [branch-name] [base-branch]
7
+
8
+ # Default values
9
+ BRANCH_TYPE=${1:-feature}
10
+ BRANCH_NAME=${2:-}
11
+ BASE_BRANCH=${3:-main}
12
+
13
+ # Validate branch type
14
+ if [[ "$BRANCH_TYPE" != "feature" && "$BRANCH_TYPE" != "bugfix" && "$BRANCH_TYPE" != "hotfix" && "$BRANCH_TYPE" != "chore" && "$BRANCH_TYPE" != "refactor" ]]; then
15
+ echo "❌ Invalid branch type: $BRANCH_TYPE"
16
+ echo "Usage: $0 [feature|bugfix|hotfix|chore|refactor] [branch-name] [base-branch]"
17
+ exit 1
18
+ fi
19
+
20
+ # Check if branch name is provided
21
+ if [ -z "$BRANCH_NAME" ]; then
22
+ echo "❌ Branch name is required"
23
+ echo "Usage: $0 [feature|bugfix|hotfix|chore|refactor] [branch-name] [base-branch]"
24
+ exit 1
25
+ fi
26
+
27
+ # Sanitize branch name
28
+ SANITIZED_NAME=$(echo "$BRANCH_NAME" | sed 's/[^a-zA-Z0-9-]/-/g' | sed 's/--*/-/g' | sed 's/^-//;s/-$//' | tr '[:upper:]' '[:lower:]')
29
+ FULL_BRANCH_NAME="$BRANCH_TYPE/$SANITIZED_NAME"
30
+
31
+ echo "🌿 Creating feature branch..."
32
+ echo "📋 Branch Details:"
33
+ echo " Type: $BRANCH_TYPE"
34
+ echo " Name: $SANITIZED_NAME"
35
+ echo " Full Name: $FULL_BRANCH_NAME"
36
+ echo " Base Branch: $BASE_BRANCH"
37
+ echo ""
38
+
39
+ # Check for uncommitted changes
40
+ if ! git diff --quiet || ! git diff --cached --quiet; then
41
+ echo "⚠️ You have uncommitted changes. Please commit or stash them first."
42
+ echo ""
43
+ echo "Uncommitted files:"
44
+ git status --porcelain
45
+ exit 1
46
+ fi
47
+
48
+ echo "🚀 Triggering GitHub Actions workflow..."
49
+ gh workflow run create-feature.yml \
50
+ --field branch_type="$BRANCH_TYPE" \
51
+ --field branch_name="$BRANCH_NAME" \
52
+ --field base_branch="$BASE_BRANCH"
53
+
54
+ echo "⏳ Waiting for branch to be created..."
55
+
56
+ # Wait for the branch to be created (check every 5 seconds for up to 1 minute)
57
+ MAX_ATTEMPTS=12
58
+ ATTEMPT=1
59
+
60
+ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do
61
+ echo "Attempt $ATTEMPT/$MAX_ATTEMPTS: Checking if branch exists..."
62
+
63
+ # Fetch latest changes from remote
64
+ git fetch origin --quiet
65
+
66
+ # Check if the branch exists on remote
67
+ if git show-ref --verify --quiet refs/remotes/origin/$FULL_BRANCH_NAME; then
68
+ echo "✅ Branch $FULL_BRANCH_NAME found! Checking it out..."
69
+ git checkout -b $FULL_BRANCH_NAME origin/$FULL_BRANCH_NAME 2>/dev/null || git checkout $FULL_BRANCH_NAME
70
+
71
+ echo "🎉 Successfully created and switched to $FULL_BRANCH_NAME"
72
+ echo ""
73
+ echo "📝 Next steps:"
74
+ echo " 1. Make your changes and commit them"
75
+ echo " 2. Push your changes: git push"
76
+ echo " 3. Create a PR when ready: npm run pr:create"
77
+
78
+ exit 0
79
+ fi
80
+
81
+ if [ $ATTEMPT -eq $MAX_ATTEMPTS ]; then
82
+ echo "❌ Timeout: Branch $FULL_BRANCH_NAME was not created after 1 minute"
83
+ echo "Check the GitHub Actions workflow status:"
84
+ echo " gh run list --workflow=create-feature.yml"
85
+ exit 1
86
+ fi
87
+
88
+ echo "Branch not yet available, waiting 5 seconds..."
89
+ sleep 5
90
+ ATTEMPT=$((ATTEMPT + 1))
91
+ done
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@robosystems/mcp",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "MCP client adapter for connecting AI agents to RoboSystems Financial Knowledge Graph API endpoints",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "bin": {
8
- "@robosystems/mcp": "./index.js"
8
+ "@robosystems/mcp": "./index.js",
9
+ "create-feature": "./bin/create-feature"
9
10
  },
10
11
  "files": [
11
12
  "index.js",
@@ -13,7 +14,10 @@
13
14
  "LICENSE"
14
15
  ],
15
16
  "scripts": {
16
- "start": "node index.js"
17
+ "start": "node index.js",
18
+ "feature:create": "./bin/create-feature",
19
+ "release:create": "./bin/create-release",
20
+ "pr:create": "./bin/create-pr"
17
21
  },
18
22
  "keywords": [
19
23
  "mcp",